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.71 for xf86-video-ast 1.1.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='xf86-video-ast'
    624 PACKAGE_TARNAME='xf86-video-ast'
    625 PACKAGE_VERSION='1.1.6'
    626 PACKAGE_STRING='xf86-video-ast 1.1.6'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 DRIVER_NAME
    668 moduledir
    669 XAA_FALSE
    670 XAA_TRUE
    671 XSERVER_LIBPCIACCESS_FALSE
    672 XSERVER_LIBPCIACCESS_TRUE
    673 PCIACCESS_LIBS
    674 PCIACCESS_CFLAGS
    675 XORG_LIBS
    676 XORG_CFLAGS
    677 LT_SYS_LIBRARY_PATH
    678 OTOOL64
    679 OTOOL
    680 LIPO
    681 NMEDIT
    682 DSYMUTIL
    683 MANIFEST_TOOL
    684 RANLIB
    685 ac_ct_AR
    686 AR
    687 DLLTOOL
    688 OBJDUMP
    689 FILECMD
    690 LN_S
    691 NM
    692 ac_ct_DUMPBIN
    693 DUMPBIN
    694 LD
    695 FGREP
    696 EGREP
    697 GREP
    698 LIBTOOL
    699 MAN_SUBSTS
    700 XORG_MAN_PAGE
    701 ADMIN_MAN_DIR
    702 DRIVER_MAN_DIR
    703 MISC_MAN_DIR
    704 FILE_MAN_DIR
    705 LIB_MAN_DIR
    706 APP_MAN_DIR
    707 ADMIN_MAN_SUFFIX
    708 DRIVER_MAN_SUFFIX
    709 MISC_MAN_SUFFIX
    710 FILE_MAN_SUFFIX
    711 LIB_MAN_SUFFIX
    712 APP_MAN_SUFFIX
    713 SED
    714 host_os
    715 host_vendor
    716 host_cpu
    717 host
    718 build_os
    719 build_vendor
    720 build_cpu
    721 build
    722 INSTALL_CMD
    723 PKG_CONFIG_LIBDIR
    724 PKG_CONFIG_PATH
    725 PKG_CONFIG
    726 CHANGELOG_CMD
    727 STRICT_CFLAGS
    728 CWARNFLAGS
    729 BASE_CFLAGS
    730 am__fastdepCC_FALSE
    731 am__fastdepCC_TRUE
    732 CCDEPMODE
    733 am__nodep
    734 AMDEPBACKSLASH
    735 AMDEP_FALSE
    736 AMDEP_TRUE
    737 am__include
    738 DEPDIR
    739 OBJEXT
    740 EXEEXT
    741 ac_ct_CC
    742 CPPFLAGS
    743 LDFLAGS
    744 CFLAGS
    745 CC
    746 AM_BACKSLASH
    747 AM_DEFAULT_VERBOSITY
    748 AM_DEFAULT_V
    749 AM_V
    750 CSCOPE
    751 ETAGS
    752 CTAGS
    753 am__untar
    754 am__tar
    755 AMTAR
    756 am__leading_dot
    757 SET_MAKE
    758 AWK
    759 mkdir_p
    760 MKDIR_P
    761 INSTALL_STRIP_PROGRAM
    762 STRIP
    763 install_sh
    764 MAKEINFO
    765 AUTOHEADER
    766 AUTOMAKE
    767 AUTOCONF
    768 ACLOCAL
    769 VERSION
    770 PACKAGE
    771 CYGPATH_W
    772 am__isrc
    773 INSTALL_DATA
    774 INSTALL_SCRIPT
    775 INSTALL_PROGRAM
    776 target_alias
    777 host_alias
    778 build_alias
    779 LIBS
    780 ECHO_T
    781 ECHO_N
    782 ECHO_C
    783 DEFS
    784 mandir
    785 localedir
    786 libdir
    787 psdir
    788 pdfdir
    789 dvidir
    790 htmldir
    791 infodir
    792 docdir
    793 oldincludedir
    794 includedir
    795 runstatedir
    796 localstatedir
    797 sharedstatedir
    798 sysconfdir
    799 datadir
    800 datarootdir
    801 libexecdir
    802 sbindir
    803 bindir
    804 program_transform_name
    805 prefix
    806 exec_prefix
    807 PACKAGE_URL
    808 PACKAGE_BUGREPORT
    809 PACKAGE_STRING
    810 PACKAGE_VERSION
    811 PACKAGE_TARNAME
    812 PACKAGE_NAME
    813 PATH_SEPARATOR
    814 SHELL
    815 am__quote'
    816 ac_subst_files=''
    817 ac_user_opts='
    818 enable_option_checking
    819 enable_silent_rules
    820 enable_dependency_tracking
    821 enable_selective_werror
    822 enable_strict_compilation
    823 enable_static
    824 enable_shared
    825 with_pic
    826 enable_fast_install
    827 with_aix_soname
    828 with_gnu_ld
    829 with_sysroot
    830 enable_libtool_lock
    831 with_xorg_module_dir
    832 enable_xaa
    833 '
    834       ac_precious_vars='build_alias
    835 host_alias
    836 target_alias
    837 CC
    838 CFLAGS
    839 LDFLAGS
    840 LIBS
    841 CPPFLAGS
    842 PKG_CONFIG
    843 PKG_CONFIG_PATH
    844 PKG_CONFIG_LIBDIR
    845 LT_SYS_LIBRARY_PATH
    846 XORG_CFLAGS
    847 XORG_LIBS
    848 PCIACCESS_CFLAGS
    849 PCIACCESS_LIBS'
    850 
    851 
    852 # Initialize some variables set by options.
    853 ac_init_help=
    854 ac_init_version=false
    855 ac_unrecognized_opts=
    856 ac_unrecognized_sep=
    857 # The variables have the same names as the options, with
    858 # dashes changed to underlines.
    859 cache_file=/dev/null
    860 exec_prefix=NONE
    861 no_create=
    862 no_recursion=
    863 prefix=NONE
    864 program_prefix=NONE
    865 program_suffix=NONE
    866 program_transform_name=s,x,x,
    867 silent=
    868 site=
    869 srcdir=
    870 verbose=
    871 x_includes=NONE
    872 x_libraries=NONE
    873 
    874 # Installation directory options.
    875 # These are left unexpanded so users can "make install exec_prefix=/foo"
    876 # and all the variables that are supposed to be based on exec_prefix
    877 # by default will actually change.
    878 # Use braces instead of parens because sh, perl, etc. also accept them.
    879 # (The list follows the same order as the GNU Coding Standards.)
    880 bindir='${exec_prefix}/bin'
    881 sbindir='${exec_prefix}/sbin'
    882 libexecdir='${exec_prefix}/libexec'
    883 datarootdir='${prefix}/share'
    884 datadir='${datarootdir}'
    885 sysconfdir='${prefix}/etc'
    886 sharedstatedir='${prefix}/com'
    887 localstatedir='${prefix}/var'
    888 runstatedir='${localstatedir}/run'
    889 includedir='${prefix}/include'
    890 oldincludedir='/usr/include'
    891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    892 infodir='${datarootdir}/info'
    893 htmldir='${docdir}'
    894 dvidir='${docdir}'
    895 pdfdir='${docdir}'
    896 psdir='${docdir}'
    897 libdir='${exec_prefix}/lib'
    898 localedir='${datarootdir}/locale'
    899 mandir='${datarootdir}/man'
    900 
    901 ac_prev=
    902 ac_dashdash=
    903 for ac_option
    904 do
    905   # If the previous option needs an argument, assign it.
    906   if test -n "$ac_prev"; then
    907     eval $ac_prev=\$ac_option
    908     ac_prev=
    909     continue
    910   fi
    911 
    912   case $ac_option in
    913   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    914   *=)   ac_optarg= ;;
    915   *)    ac_optarg=yes ;;
    916   esac
    917 
    918   case $ac_dashdash$ac_option in
    919   --)
    920     ac_dashdash=yes ;;
    921 
    922   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    923     ac_prev=bindir ;;
    924   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    925     bindir=$ac_optarg ;;
    926 
    927   -build | --build | --buil | --bui | --bu)
    928     ac_prev=build_alias ;;
    929   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    930     build_alias=$ac_optarg ;;
    931 
    932   -cache-file | --cache-file | --cache-fil | --cache-fi \
    933   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    934     ac_prev=cache_file ;;
    935   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    936   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    937     cache_file=$ac_optarg ;;
    938 
    939   --config-cache | -C)
    940     cache_file=config.cache ;;
    941 
    942   -datadir | --datadir | --datadi | --datad)
    943     ac_prev=datadir ;;
    944   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    945     datadir=$ac_optarg ;;
    946 
    947   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    948   | --dataroo | --dataro | --datar)
    949     ac_prev=datarootdir ;;
    950   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    951   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    952     datarootdir=$ac_optarg ;;
    953 
    954   -disable-* | --disable-*)
    955     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    956     # Reject names that are not valid shell variable names.
    957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    959     ac_useropt_orig=$ac_useropt
    960     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    961     case $ac_user_opts in
    962       *"
    963 "enable_$ac_useropt"
    964 "*) ;;
    965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    966 	 ac_unrecognized_sep=', ';;
    967     esac
    968     eval enable_$ac_useropt=no ;;
    969 
    970   -docdir | --docdir | --docdi | --doc | --do)
    971     ac_prev=docdir ;;
    972   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    973     docdir=$ac_optarg ;;
    974 
    975   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    976     ac_prev=dvidir ;;
    977   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    978     dvidir=$ac_optarg ;;
    979 
    980   -enable-* | --enable-*)
    981     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    982     # Reject names that are not valid shell variable names.
    983     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    984       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    985     ac_useropt_orig=$ac_useropt
    986     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    987     case $ac_user_opts in
    988       *"
    989 "enable_$ac_useropt"
    990 "*) ;;
    991       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    992 	 ac_unrecognized_sep=', ';;
    993     esac
    994     eval enable_$ac_useropt=\$ac_optarg ;;
    995 
    996   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    997   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    998   | --exec | --exe | --ex)
    999     ac_prev=exec_prefix ;;
   1000   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1001   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1002   | --exec=* | --exe=* | --ex=*)
   1003     exec_prefix=$ac_optarg ;;
   1004 
   1005   -gas | --gas | --ga | --g)
   1006     # Obsolete; use --with-gas.
   1007     with_gas=yes ;;
   1008 
   1009   -help | --help | --hel | --he | -h)
   1010     ac_init_help=long ;;
   1011   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1012     ac_init_help=recursive ;;
   1013   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1014     ac_init_help=short ;;
   1015 
   1016   -host | --host | --hos | --ho)
   1017     ac_prev=host_alias ;;
   1018   -host=* | --host=* | --hos=* | --ho=*)
   1019     host_alias=$ac_optarg ;;
   1020 
   1021   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1022     ac_prev=htmldir ;;
   1023   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1024   | --ht=*)
   1025     htmldir=$ac_optarg ;;
   1026 
   1027   -includedir | --includedir | --includedi | --included | --include \
   1028   | --includ | --inclu | --incl | --inc)
   1029     ac_prev=includedir ;;
   1030   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1031   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1032     includedir=$ac_optarg ;;
   1033 
   1034   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1035     ac_prev=infodir ;;
   1036   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1037     infodir=$ac_optarg ;;
   1038 
   1039   -libdir | --libdir | --libdi | --libd)
   1040     ac_prev=libdir ;;
   1041   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1042     libdir=$ac_optarg ;;
   1043 
   1044   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1045   | --libexe | --libex | --libe)
   1046     ac_prev=libexecdir ;;
   1047   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1048   | --libexe=* | --libex=* | --libe=*)
   1049     libexecdir=$ac_optarg ;;
   1050 
   1051   -localedir | --localedir | --localedi | --localed | --locale)
   1052     ac_prev=localedir ;;
   1053   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1054     localedir=$ac_optarg ;;
   1055 
   1056   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1057   | --localstate | --localstat | --localsta | --localst | --locals)
   1058     ac_prev=localstatedir ;;
   1059   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1060   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1061     localstatedir=$ac_optarg ;;
   1062 
   1063   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1064     ac_prev=mandir ;;
   1065   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1066     mandir=$ac_optarg ;;
   1067 
   1068   -nfp | --nfp | --nf)
   1069     # Obsolete; use --without-fp.
   1070     with_fp=no ;;
   1071 
   1072   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1073   | --no-cr | --no-c | -n)
   1074     no_create=yes ;;
   1075 
   1076   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1077   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1078     no_recursion=yes ;;
   1079 
   1080   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1081   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1082   | --oldin | --oldi | --old | --ol | --o)
   1083     ac_prev=oldincludedir ;;
   1084   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1085   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1086   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1087     oldincludedir=$ac_optarg ;;
   1088 
   1089   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1090     ac_prev=prefix ;;
   1091   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1092     prefix=$ac_optarg ;;
   1093 
   1094   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1095   | --program-pre | --program-pr | --program-p)
   1096     ac_prev=program_prefix ;;
   1097   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1098   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1099     program_prefix=$ac_optarg ;;
   1100 
   1101   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1102   | --program-suf | --program-su | --program-s)
   1103     ac_prev=program_suffix ;;
   1104   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1105   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1106     program_suffix=$ac_optarg ;;
   1107 
   1108   -program-transform-name | --program-transform-name \
   1109   | --program-transform-nam | --program-transform-na \
   1110   | --program-transform-n | --program-transform- \
   1111   | --program-transform | --program-transfor \
   1112   | --program-transfo | --program-transf \
   1113   | --program-trans | --program-tran \
   1114   | --progr-tra | --program-tr | --program-t)
   1115     ac_prev=program_transform_name ;;
   1116   -program-transform-name=* | --program-transform-name=* \
   1117   | --program-transform-nam=* | --program-transform-na=* \
   1118   | --program-transform-n=* | --program-transform-=* \
   1119   | --program-transform=* | --program-transfor=* \
   1120   | --program-transfo=* | --program-transf=* \
   1121   | --program-trans=* | --program-tran=* \
   1122   | --progr-tra=* | --program-tr=* | --program-t=*)
   1123     program_transform_name=$ac_optarg ;;
   1124 
   1125   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1126     ac_prev=pdfdir ;;
   1127   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1128     pdfdir=$ac_optarg ;;
   1129 
   1130   -psdir | --psdir | --psdi | --psd | --ps)
   1131     ac_prev=psdir ;;
   1132   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1133     psdir=$ac_optarg ;;
   1134 
   1135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1136   | -silent | --silent | --silen | --sile | --sil)
   1137     silent=yes ;;
   1138 
   1139   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1140   | --runstate | --runstat | --runsta | --runst | --runs \
   1141   | --run | --ru | --r)
   1142     ac_prev=runstatedir ;;
   1143   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1144   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1145   | --run=* | --ru=* | --r=*)
   1146     runstatedir=$ac_optarg ;;
   1147 
   1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1149     ac_prev=sbindir ;;
   1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1151   | --sbi=* | --sb=*)
   1152     sbindir=$ac_optarg ;;
   1153 
   1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1156   | --sharedst | --shareds | --shared | --share | --shar \
   1157   | --sha | --sh)
   1158     ac_prev=sharedstatedir ;;
   1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1162   | --sha=* | --sh=*)
   1163     sharedstatedir=$ac_optarg ;;
   1164 
   1165   -site | --site | --sit)
   1166     ac_prev=site ;;
   1167   -site=* | --site=* | --sit=*)
   1168     site=$ac_optarg ;;
   1169 
   1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1171     ac_prev=srcdir ;;
   1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1173     srcdir=$ac_optarg ;;
   1174 
   1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1176   | --syscon | --sysco | --sysc | --sys | --sy)
   1177     ac_prev=sysconfdir ;;
   1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1180     sysconfdir=$ac_optarg ;;
   1181 
   1182   -target | --target | --targe | --targ | --tar | --ta | --t)
   1183     ac_prev=target_alias ;;
   1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1185     target_alias=$ac_optarg ;;
   1186 
   1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1188     verbose=yes ;;
   1189 
   1190   -version | --version | --versio | --versi | --vers | -V)
   1191     ac_init_version=: ;;
   1192 
   1193   -with-* | --with-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=\$ac_optarg ;;
   1208 
   1209   -without-* | --without-*)
   1210     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1211     # Reject names that are not valid shell variable names.
   1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1213       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1214     ac_useropt_orig=$ac_useropt
   1215     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1216     case $ac_user_opts in
   1217       *"
   1218 "with_$ac_useropt"
   1219 "*) ;;
   1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1221 	 ac_unrecognized_sep=', ';;
   1222     esac
   1223     eval with_$ac_useropt=no ;;
   1224 
   1225   --x)
   1226     # Obsolete; use --with-x.
   1227     with_x=yes ;;
   1228 
   1229   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1230   | --x-incl | --x-inc | --x-in | --x-i)
   1231     ac_prev=x_includes ;;
   1232   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1233   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1234     x_includes=$ac_optarg ;;
   1235 
   1236   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1237   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1238     ac_prev=x_libraries ;;
   1239   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1240   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1241     x_libraries=$ac_optarg ;;
   1242 
   1243   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1244 Try \`$0 --help' for more information"
   1245     ;;
   1246 
   1247   *=*)
   1248     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1249     # Reject names that are not valid shell variable names.
   1250     case $ac_envvar in #(
   1251       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1252       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1253     esac
   1254     eval $ac_envvar=\$ac_optarg
   1255     export $ac_envvar ;;
   1256 
   1257   *)
   1258     # FIXME: should be removed in autoconf 3.0.
   1259     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1260     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1261       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1262     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1263     ;;
   1264 
   1265   esac
   1266 done
   1267 
   1268 if test -n "$ac_prev"; then
   1269   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1270   as_fn_error $? "missing argument to $ac_option"
   1271 fi
   1272 
   1273 if test -n "$ac_unrecognized_opts"; then
   1274   case $enable_option_checking in
   1275     no) ;;
   1276     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1277     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1278   esac
   1279 fi
   1280 
   1281 # Check all directory arguments for consistency.
   1282 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1283 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1284 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1285 		libdir localedir mandir runstatedir
   1286 do
   1287   eval ac_val=\$$ac_var
   1288   # Remove trailing slashes.
   1289   case $ac_val in
   1290     */ )
   1291       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1292       eval $ac_var=\$ac_val;;
   1293   esac
   1294   # Be sure to have absolute directory names.
   1295   case $ac_val in
   1296     [\\/$]* | ?:[\\/]* )  continue;;
   1297     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1298   esac
   1299   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1300 done
   1301 
   1302 # There might be people who depend on the old broken behavior: `$host'
   1303 # used to hold the argument of --host etc.
   1304 # FIXME: To remove some day.
   1305 build=$build_alias
   1306 host=$host_alias
   1307 target=$target_alias
   1308 
   1309 # FIXME: To remove some day.
   1310 if test "x$host_alias" != x; then
   1311   if test "x$build_alias" = x; then
   1312     cross_compiling=maybe
   1313   elif test "x$build_alias" != "x$host_alias"; then
   1314     cross_compiling=yes
   1315   fi
   1316 fi
   1317 
   1318 ac_tool_prefix=
   1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1320 
   1321 test "$silent" = yes && exec 6>/dev/null
   1322 
   1323 
   1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1325 ac_ls_di=`ls -di .` &&
   1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1327   as_fn_error $? "working directory cannot be determined"
   1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1329   as_fn_error $? "pwd does not report name of working directory"
   1330 
   1331 
   1332 # Find the source files, if location was not specified.
   1333 if test -z "$srcdir"; then
   1334   ac_srcdir_defaulted=yes
   1335   # Try the directory containing this script, then the parent directory.
   1336   ac_confdir=`$as_dirname -- "$as_myself" ||
   1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1338 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1339 	 X"$as_myself" : 'X\(//\)$' \| \
   1340 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1341 printf "%s\n" X"$as_myself" |
   1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)[^/].*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\).*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  s/.*/./; q'`
   1359   srcdir=$ac_confdir
   1360   if test ! -r "$srcdir/$ac_unique_file"; then
   1361     srcdir=..
   1362   fi
   1363 else
   1364   ac_srcdir_defaulted=no
   1365 fi
   1366 if test ! -r "$srcdir/$ac_unique_file"; then
   1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1369 fi
   1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1371 ac_abs_confdir=`(
   1372 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1373 	pwd)`
   1374 # When building in place, set srcdir=.
   1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1376   srcdir=.
   1377 fi
   1378 # Remove unnecessary trailing slashes from srcdir.
   1379 # Double slashes in file names in object file debugging info
   1380 # mess up M-x gdb in Emacs.
   1381 case $srcdir in
   1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1383 esac
   1384 for ac_var in $ac_precious_vars; do
   1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1386   eval ac_env_${ac_var}_value=\$${ac_var}
   1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1389 done
   1390 
   1391 #
   1392 # Report the --help message.
   1393 #
   1394 if test "$ac_init_help" = "long"; then
   1395   # Omit some internal or obsolete options to make the list less imposing.
   1396   # This message is too long to be a string in the A/UX 3.1 sh.
   1397   cat <<_ACEOF
   1398 \`configure' configures xf86-video-ast 1.1.6 to adapt to many kinds of systems.
   1399 
   1400 Usage: $0 [OPTION]... [VAR=VALUE]...
   1401 
   1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1404 
   1405 Defaults for the options are specified in brackets.
   1406 
   1407 Configuration:
   1408   -h, --help              display this help and exit
   1409       --help=short        display options specific to this package
   1410       --help=recursive    display the short help of all the included packages
   1411   -V, --version           display version information and exit
   1412   -q, --quiet, --silent   do not print \`checking ...' messages
   1413       --cache-file=FILE   cache test results in FILE [disabled]
   1414   -C, --config-cache      alias for \`--cache-file=config.cache'
   1415   -n, --no-create         do not create output files
   1416       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1417 
   1418 Installation directories:
   1419   --prefix=PREFIX         install architecture-independent files in PREFIX
   1420                           [$ac_default_prefix]
   1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1422                           [PREFIX]
   1423 
   1424 By default, \`make install' will install all the files in
   1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1427 for instance \`--prefix=\$HOME'.
   1428 
   1429 For better control, use the options below.
   1430 
   1431 Fine tuning of the installation directories:
   1432   --bindir=DIR            user executables [EPREFIX/bin]
   1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1438   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1439   --libdir=DIR            object code libraries [EPREFIX/lib]
   1440   --includedir=DIR        C header files [PREFIX/include]
   1441   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1442   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1443   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1444   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1445   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1446   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1447   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-ast]
   1448   --htmldir=DIR           html documentation [DOCDIR]
   1449   --dvidir=DIR            dvi documentation [DOCDIR]
   1450   --pdfdir=DIR            pdf documentation [DOCDIR]
   1451   --psdir=DIR             ps documentation [DOCDIR]
   1452 _ACEOF
   1453 
   1454   cat <<\_ACEOF
   1455 
   1456 Program names:
   1457   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1458   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1459   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1460 
   1461 System types:
   1462   --build=BUILD     configure for building on BUILD [guessed]
   1463   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of xf86-video-ast 1.1.6:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-option-checking  ignore unrecognized --enable/--with options
   1475   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1476   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1477   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1478   --disable-silent-rules  verbose build output (undo: "make V=0")
   1479   --enable-dependency-tracking
   1480                           do not reject slow dependency extractors
   1481   --disable-dependency-tracking
   1482                           speeds up one-time build
   1483   --disable-selective-werror
   1484                           Turn off selective compiler errors. (default:
   1485                           enabled)
   1486   --enable-strict-compilation
   1487                           Enable all warnings from compiler and make them
   1488                           errors (default: disabled)
   1489   --enable-static[=PKGS]  build static libraries [default=no]
   1490   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1491   --enable-fast-install[=PKGS]
   1492                           optimize for fast installation [default=yes]
   1493   --disable-libtool-lock  avoid locking (might break parallel builds)
   1494   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1495                           [default=auto]
   1496 
   1497 Optional Packages:
   1498   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1499   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1500   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1501                           both]
   1502   --with-aix-soname=aix|svr4|both
   1503                           shared library versioning (aka "SONAME") variant to
   1504                           provide on AIX, [default=aix].
   1505   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1506   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1507                           compiler's sysroot if not specified).
   1508   --with-xorg-module-dir=DIR
   1509                           Default xorg module directory
   1510                           [[default=$libdir/xorg/modules]]
   1511 
   1512 Some influential environment variables:
   1513   CC          C compiler command
   1514   CFLAGS      C compiler flags
   1515   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1516               nonstandard directory <lib dir>
   1517   LIBS        libraries to pass to the linker, e.g. -l<library>
   1518   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1519               you have headers in a nonstandard directory <include dir>
   1520   PKG_CONFIG  path to pkg-config utility
   1521   PKG_CONFIG_PATH
   1522               directories to add to pkg-config's search path
   1523   PKG_CONFIG_LIBDIR
   1524               path overriding pkg-config's built-in search path
   1525   LT_SYS_LIBRARY_PATH
   1526               User-defined run-time library search path.
   1527   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1528   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1529   PCIACCESS_CFLAGS
   1530               C compiler flags for PCIACCESS, overriding pkg-config
   1531   PCIACCESS_LIBS
   1532               linker flags for PCIACCESS, overriding pkg-config
   1533 
   1534 Use these variables to override the choices made by `configure' or to help
   1535 it to find libraries and programs with nonstandard names/locations.
   1536 
   1537 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/issues>.
   1538 _ACEOF
   1539 ac_status=$?
   1540 fi
   1541 
   1542 if test "$ac_init_help" = "recursive"; then
   1543   # If there are subdirs, report their specific --help.
   1544   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1545     test -d "$ac_dir" ||
   1546       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1547       continue
   1548     ac_builddir=.
   1549 
   1550 case "$ac_dir" in
   1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1552 *)
   1553   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1554   # A ".." for each directory in $ac_dir_suffix.
   1555   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1556   case $ac_top_builddir_sub in
   1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1559   esac ;;
   1560 esac
   1561 ac_abs_top_builddir=$ac_pwd
   1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1563 # for backward compatibility:
   1564 ac_top_builddir=$ac_top_build_prefix
   1565 
   1566 case $srcdir in
   1567   .)  # We are building in place.
   1568     ac_srcdir=.
   1569     ac_top_srcdir=$ac_top_builddir_sub
   1570     ac_abs_top_srcdir=$ac_pwd ;;
   1571   [\\/]* | ?:[\\/]* )  # Absolute name.
   1572     ac_srcdir=$srcdir$ac_dir_suffix;
   1573     ac_top_srcdir=$srcdir
   1574     ac_abs_top_srcdir=$srcdir ;;
   1575   *) # Relative name.
   1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1579 esac
   1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1581 
   1582     cd "$ac_dir" || { ac_status=$?; continue; }
   1583     # Check for configure.gnu first; this name is used for a wrapper for
   1584     # Metaconfig's "Configure" on case-insensitive file systems.
   1585     if test -f "$ac_srcdir/configure.gnu"; then
   1586       echo &&
   1587       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1588     elif test -f "$ac_srcdir/configure"; then
   1589       echo &&
   1590       $SHELL "$ac_srcdir/configure" --help=recursive
   1591     else
   1592       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1593     fi || ac_status=$?
   1594     cd "$ac_pwd" || { ac_status=$?; break; }
   1595   done
   1596 fi
   1597 
   1598 test -n "$ac_init_help" && exit $ac_status
   1599 if $ac_init_version; then
   1600   cat <<\_ACEOF
   1601 xf86-video-ast configure 1.1.6
   1602 generated by GNU Autoconf 2.71
   1603 
   1604 Copyright (C) 2021 Free Software Foundation, Inc.
   1605 This configure script is free software; the Free Software Foundation
   1606 gives unlimited permission to copy, distribute and modify it.
   1607 _ACEOF
   1608   exit
   1609 fi
   1610 
   1611 ## ------------------------ ##
   1612 ## Autoconf initialization. ##
   1613 ## ------------------------ ##
   1614 
   1615 # ac_fn_c_try_compile LINENO
   1616 # --------------------------
   1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1618 ac_fn_c_try_compile ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   rm -f conftest.$ac_objext conftest.beam
   1622   if { { ac_try="$ac_compile"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 printf "%s\n" "$ac_try_echo"; } >&5
   1629   (eval "$ac_compile") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } && {
   1638 	 test -z "$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        } && test -s conftest.$ac_objext
   1641 then :
   1642   ac_retval=0
   1643 else $as_nop
   1644   printf "%s\n" "$as_me: failed program was:" >&5
   1645 sed 's/^/| /' conftest.$ac_ext >&5
   1646 
   1647 	ac_retval=1
   1648 fi
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650   as_fn_set_status $ac_retval
   1651 
   1652 } # ac_fn_c_try_compile
   1653 
   1654 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1655 # ------------------------------------------------------------------
   1656 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1657 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1658 ac_fn_check_decl ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1663 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1664 if eval test \${$3+y}
   1665 then :
   1666   printf %s "(cached) " >&6
   1667 else $as_nop
   1668   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1669   eval ac_save_FLAGS=\$$6
   1670   as_fn_append $6 " $5"
   1671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1672 /* end confdefs.h.  */
   1673 $4
   1674 int
   1675 main (void)
   1676 {
   1677 #ifndef $as_decl_name
   1678 #ifdef __cplusplus
   1679   (void) $as_decl_use;
   1680 #else
   1681   (void) $as_decl_name;
   1682 #endif
   1683 #endif
   1684 
   1685   ;
   1686   return 0;
   1687 }
   1688 _ACEOF
   1689 if ac_fn_c_try_compile "$LINENO"
   1690 then :
   1691   eval "$3=yes"
   1692 else $as_nop
   1693   eval "$3=no"
   1694 fi
   1695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1696   eval $6=\$ac_save_FLAGS
   1697 
   1698 fi
   1699 eval ac_res=\$$3
   1700 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1701 printf "%s\n" "$ac_res" >&6; }
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703 
   1704 } # ac_fn_check_decl
   1705 
   1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1707 # -------------------------------------------------------
   1708 # Tests whether HEADER exists and can be compiled using the include files in
   1709 # INCLUDES, setting the cache variable VAR accordingly.
   1710 ac_fn_c_check_header_compile ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1714 printf %s "checking for $2... " >&6; }
   1715 if eval test \${$3+y}
   1716 then :
   1717   printf %s "(cached) " >&6
   1718 else $as_nop
   1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 $4
   1722 #include <$2>
   1723 _ACEOF
   1724 if ac_fn_c_try_compile "$LINENO"
   1725 then :
   1726   eval "$3=yes"
   1727 else $as_nop
   1728   eval "$3=no"
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 printf "%s\n" "$ac_res" >&6; }
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736 
   1737 } # ac_fn_c_check_header_compile
   1738 
   1739 # ac_fn_c_try_link LINENO
   1740 # -----------------------
   1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1742 ac_fn_c_try_link ()
   1743 {
   1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1745   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1746   if { { ac_try="$ac_link"
   1747 case "(($ac_try" in
   1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1749   *) ac_try_echo=$ac_try;;
   1750 esac
   1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1752 printf "%s\n" "$ac_try_echo"; } >&5
   1753   (eval "$ac_link") 2>conftest.err
   1754   ac_status=$?
   1755   if test -s conftest.err; then
   1756     grep -v '^ *+' conftest.err >conftest.er1
   1757     cat conftest.er1 >&5
   1758     mv -f conftest.er1 conftest.err
   1759   fi
   1760   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1761   test $ac_status = 0; } && {
   1762 	 test -z "$ac_c_werror_flag" ||
   1763 	 test ! -s conftest.err
   1764        } && test -s conftest$ac_exeext && {
   1765 	 test "$cross_compiling" = yes ||
   1766 	 test -x conftest$ac_exeext
   1767        }
   1768 then :
   1769   ac_retval=0
   1770 else $as_nop
   1771   printf "%s\n" "$as_me: failed program was:" >&5
   1772 sed 's/^/| /' conftest.$ac_ext >&5
   1773 
   1774 	ac_retval=1
   1775 fi
   1776   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1777   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1778   # interfere with the next link command; also delete a directory that is
   1779   # left behind by Apple's compiler.  We do this before executing the actions.
   1780   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782   as_fn_set_status $ac_retval
   1783 
   1784 } # ac_fn_c_try_link
   1785 
   1786 # ac_fn_c_check_func LINENO FUNC VAR
   1787 # ----------------------------------
   1788 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1789 ac_fn_c_check_func ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 printf %s "checking for $2... " >&6; }
   1794 if eval test \${$3+y}
   1795 then :
   1796   printf %s "(cached) " >&6
   1797 else $as_nop
   1798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1802 #define $2 innocuous_$2
   1803 
   1804 /* System header to define __stub macros and hopefully few prototypes,
   1805    which can conflict with char $2 (); below.  */
   1806 
   1807 #include <limits.h>
   1808 #undef $2
   1809 
   1810 /* Override any GCC internal prototype to avoid an error.
   1811    Use char because int might match the return type of a GCC
   1812    builtin and then its argument prototype would still apply.  */
   1813 #ifdef __cplusplus
   1814 extern "C"
   1815 #endif
   1816 char $2 ();
   1817 /* The GNU C library defines this for functions which it implements
   1818     to always fail with ENOSYS.  Some functions are actually named
   1819     something starting with __ and the normal name is an alias.  */
   1820 #if defined __stub_$2 || defined __stub___$2
   1821 choke me
   1822 #endif
   1823 
   1824 int
   1825 main (void)
   1826 {
   1827 return $2 ();
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_link "$LINENO"
   1833 then :
   1834   eval "$3=yes"
   1835 else $as_nop
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1839     conftest$ac_exeext conftest.$ac_ext
   1840 fi
   1841 eval ac_res=\$$3
   1842 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1843 printf "%s\n" "$ac_res" >&6; }
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845 
   1846 } # ac_fn_c_check_func
   1847 ac_configure_args_raw=
   1848 for ac_arg
   1849 do
   1850   case $ac_arg in
   1851   *\'*)
   1852     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1853   esac
   1854   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1855 done
   1856 
   1857 case $ac_configure_args_raw in
   1858   *$as_nl*)
   1859     ac_safe_unquote= ;;
   1860   *)
   1861     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1862     ac_unsafe_a="$ac_unsafe_z#~"
   1863     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1864     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1865 esac
   1866 
   1867 cat >config.log <<_ACEOF
   1868 This file contains any messages produced by compilers while
   1869 running configure, to aid debugging if configure makes a mistake.
   1870 
   1871 It was created by xf86-video-ast $as_me 1.1.6, which was
   1872 generated by GNU Autoconf 2.71.  Invocation command line was
   1873 
   1874   $ $0$ac_configure_args_raw
   1875 
   1876 _ACEOF
   1877 exec 5>>config.log
   1878 {
   1879 cat <<_ASUNAME
   1880 ## --------- ##
   1881 ## Platform. ##
   1882 ## --------- ##
   1883 
   1884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1889 
   1890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1891 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1892 
   1893 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1894 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1896 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1897 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1898 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1899 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1900 
   1901 _ASUNAME
   1902 
   1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1904 for as_dir in $PATH
   1905 do
   1906   IFS=$as_save_IFS
   1907   case $as_dir in #(((
   1908     '') as_dir=./ ;;
   1909     */) ;;
   1910     *) as_dir=$as_dir/ ;;
   1911   esac
   1912     printf "%s\n" "PATH: $as_dir"
   1913   done
   1914 IFS=$as_save_IFS
   1915 
   1916 } >&5
   1917 
   1918 cat >&5 <<_ACEOF
   1919 
   1920 
   1921 ## ----------- ##
   1922 ## Core tests. ##
   1923 ## ----------- ##
   1924 
   1925 _ACEOF
   1926 
   1927 
   1928 # Keep a trace of the command line.
   1929 # Strip out --no-create and --no-recursion so they do not pile up.
   1930 # Strip out --silent because we don't want to record it for future runs.
   1931 # Also quote any args containing shell meta-characters.
   1932 # Make two passes to allow for proper duplicate-argument suppression.
   1933 ac_configure_args=
   1934 ac_configure_args0=
   1935 ac_configure_args1=
   1936 ac_must_keep_next=false
   1937 for ac_pass in 1 2
   1938 do
   1939   for ac_arg
   1940   do
   1941     case $ac_arg in
   1942     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1943     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1944     | -silent | --silent | --silen | --sile | --sil)
   1945       continue ;;
   1946     *\'*)
   1947       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1948     esac
   1949     case $ac_pass in
   1950     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1951     2)
   1952       as_fn_append ac_configure_args1 " '$ac_arg'"
   1953       if test $ac_must_keep_next = true; then
   1954 	ac_must_keep_next=false # Got value, back to normal.
   1955       else
   1956 	case $ac_arg in
   1957 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1958 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1959 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1960 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1961 	    case "$ac_configure_args0 " in
   1962 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1963 	    esac
   1964 	    ;;
   1965 	  -* ) ac_must_keep_next=true ;;
   1966 	esac
   1967       fi
   1968       as_fn_append ac_configure_args " '$ac_arg'"
   1969       ;;
   1970     esac
   1971   done
   1972 done
   1973 { ac_configure_args0=; unset ac_configure_args0;}
   1974 { ac_configure_args1=; unset ac_configure_args1;}
   1975 
   1976 # When interrupted or exit'd, cleanup temporary files, and complete
   1977 # config.log.  We remove comments because anyway the quotes in there
   1978 # would cause problems or look ugly.
   1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1981 trap 'exit_status=$?
   1982   # Sanitize IFS.
   1983   IFS=" ""	$as_nl"
   1984   # Save into config.log some information that might help in debugging.
   1985   {
   1986     echo
   1987 
   1988     printf "%s\n" "## ---------------- ##
   1989 ## Cache variables. ##
   1990 ## ---------------- ##"
   1991     echo
   1992     # The following way of writing the cache mishandles newlines in values,
   1993 (
   1994   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1995     eval ac_val=\$$ac_var
   1996     case $ac_val in #(
   1997     *${as_nl}*)
   1998       case $ac_var in #(
   1999       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2000 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2001       esac
   2002       case $ac_var in #(
   2003       _ | IFS | as_nl) ;; #(
   2004       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2005       *) { eval $ac_var=; unset $ac_var;} ;;
   2006       esac ;;
   2007     esac
   2008   done
   2009   (set) 2>&1 |
   2010     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2011     *${as_nl}ac_space=\ *)
   2012       sed -n \
   2013 	"s/'\''/'\''\\\\'\'''\''/g;
   2014 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2015       ;; #(
   2016     *)
   2017       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2018       ;;
   2019     esac |
   2020     sort
   2021 )
   2022     echo
   2023 
   2024     printf "%s\n" "## ----------------- ##
   2025 ## Output variables. ##
   2026 ## ----------------- ##"
   2027     echo
   2028     for ac_var in $ac_subst_vars
   2029     do
   2030       eval ac_val=\$$ac_var
   2031       case $ac_val in
   2032       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2033       esac
   2034       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2035     done | sort
   2036     echo
   2037 
   2038     if test -n "$ac_subst_files"; then
   2039       printf "%s\n" "## ------------------- ##
   2040 ## File substitutions. ##
   2041 ## ------------------- ##"
   2042       echo
   2043       for ac_var in $ac_subst_files
   2044       do
   2045 	eval ac_val=\$$ac_var
   2046 	case $ac_val in
   2047 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2048 	esac
   2049 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2050       done | sort
   2051       echo
   2052     fi
   2053 
   2054     if test -s confdefs.h; then
   2055       printf "%s\n" "## ----------- ##
   2056 ## confdefs.h. ##
   2057 ## ----------- ##"
   2058       echo
   2059       cat confdefs.h
   2060       echo
   2061     fi
   2062     test "$ac_signal" != 0 &&
   2063       printf "%s\n" "$as_me: caught signal $ac_signal"
   2064     printf "%s\n" "$as_me: exit $exit_status"
   2065   } >&5
   2066   rm -f core *.core core.conftest.* &&
   2067     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2068     exit $exit_status
   2069 ' 0
   2070 for ac_signal in 1 2 13 15; do
   2071   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2072 done
   2073 ac_signal=0
   2074 
   2075 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2076 rm -f -r conftest* confdefs.h
   2077 
   2078 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2079 
   2080 # Predefined preprocessor variables.
   2081 
   2082 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2083 
   2084 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2085 
   2086 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2091 
   2092 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2093 
   2094 
   2095 # Let the site file select an alternate cache file if it wants to.
   2096 # Prefer an explicitly selected file to automatically selected ones.
   2097 if test -n "$CONFIG_SITE"; then
   2098   ac_site_files="$CONFIG_SITE"
   2099 elif test "x$prefix" != xNONE; then
   2100   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2101 else
   2102   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2103 fi
   2104 
   2105 for ac_site_file in $ac_site_files
   2106 do
   2107   case $ac_site_file in #(
   2108   */*) :
   2109      ;; #(
   2110   *) :
   2111     ac_site_file=./$ac_site_file ;;
   2112 esac
   2113   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2114     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2115 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2116     sed 's/^/| /' "$ac_site_file" >&5
   2117     . "$ac_site_file" \
   2118       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2119 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2120 as_fn_error $? "failed to load site script $ac_site_file
   2121 See \`config.log' for more details" "$LINENO" 5; }
   2122   fi
   2123 done
   2124 
   2125 if test -r "$cache_file"; then
   2126   # Some versions of bash will fail to source /dev/null (special files
   2127   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2128   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2129     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2130 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2131     case $cache_file in
   2132       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2133       *)                      . "./$cache_file";;
   2134     esac
   2135   fi
   2136 else
   2137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2138 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2139   >$cache_file
   2140 fi
   2141 
   2142 # Test code for whether the C compiler supports C89 (global declarations)
   2143 ac_c_conftest_c89_globals='
   2144 /* Does the compiler advertise C89 conformance?
   2145    Do not test the value of __STDC__, because some compilers set it to 0
   2146    while being otherwise adequately conformant. */
   2147 #if !defined __STDC__
   2148 # error "Compiler does not advertise C89 conformance"
   2149 #endif
   2150 
   2151 #include <stddef.h>
   2152 #include <stdarg.h>
   2153 struct stat;
   2154 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2155 struct buf { int x; };
   2156 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2157 static char *e (p, i)
   2158      char **p;
   2159      int i;
   2160 {
   2161   return p[i];
   2162 }
   2163 static char *f (char * (*g) (char **, int), char **p, ...)
   2164 {
   2165   char *s;
   2166   va_list v;
   2167   va_start (v,p);
   2168   s = g (p, va_arg (v,int));
   2169   va_end (v);
   2170   return s;
   2171 }
   2172 
   2173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2174    function prototypes and stuff, but not \xHH hex character constants.
   2175    These do not provoke an error unfortunately, instead are silently treated
   2176    as an "x".  The following induces an error, until -std is added to get
   2177    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2178    array size at least.  It is necessary to write \x00 == 0 to get something
   2179    that is true only with -std.  */
   2180 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2181 
   2182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2183    inside strings and character constants.  */
   2184 #define FOO(x) '\''x'\''
   2185 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2186 
   2187 int test (int i, double x);
   2188 struct s1 {int (*f) (int a);};
   2189 struct s2 {int (*f) (double a);};
   2190 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2191                int, int);'
   2192 
   2193 # Test code for whether the C compiler supports C89 (body of main).
   2194 ac_c_conftest_c89_main='
   2195 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2196 '
   2197 
   2198 # Test code for whether the C compiler supports C99 (global declarations)
   2199 ac_c_conftest_c99_globals='
   2200 // Does the compiler advertise C99 conformance?
   2201 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2202 # error "Compiler does not advertise C99 conformance"
   2203 #endif
   2204 
   2205 #include <stdbool.h>
   2206 extern int puts (const char *);
   2207 extern int printf (const char *, ...);
   2208 extern int dprintf (int, const char *, ...);
   2209 extern void *malloc (size_t);
   2210 
   2211 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2212 // dprintf is used instead of fprintf to avoid needing to declare
   2213 // FILE and stderr.
   2214 #define debug(...) dprintf (2, __VA_ARGS__)
   2215 #define showlist(...) puts (#__VA_ARGS__)
   2216 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2217 static void
   2218 test_varargs_macros (void)
   2219 {
   2220   int x = 1234;
   2221   int y = 5678;
   2222   debug ("Flag");
   2223   debug ("X = %d\n", x);
   2224   showlist (The first, second, and third items.);
   2225   report (x>y, "x is %d but y is %d", x, y);
   2226 }
   2227 
   2228 // Check long long types.
   2229 #define BIG64 18446744073709551615ull
   2230 #define BIG32 4294967295ul
   2231 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2232 #if !BIG_OK
   2233   #error "your preprocessor is broken"
   2234 #endif
   2235 #if BIG_OK
   2236 #else
   2237   #error "your preprocessor is broken"
   2238 #endif
   2239 static long long int bignum = -9223372036854775807LL;
   2240 static unsigned long long int ubignum = BIG64;
   2241 
   2242 struct incomplete_array
   2243 {
   2244   int datasize;
   2245   double data[];
   2246 };
   2247 
   2248 struct named_init {
   2249   int number;
   2250   const wchar_t *name;
   2251   double average;
   2252 };
   2253 
   2254 typedef const char *ccp;
   2255 
   2256 static inline int
   2257 test_restrict (ccp restrict text)
   2258 {
   2259   // See if C++-style comments work.
   2260   // Iterate through items via the restricted pointer.
   2261   // Also check for declarations in for loops.
   2262   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2263     continue;
   2264   return 0;
   2265 }
   2266 
   2267 // Check varargs and va_copy.
   2268 static bool
   2269 test_varargs (const char *format, ...)
   2270 {
   2271   va_list args;
   2272   va_start (args, format);
   2273   va_list args_copy;
   2274   va_copy (args_copy, args);
   2275 
   2276   const char *str = "";
   2277   int number = 0;
   2278   float fnumber = 0;
   2279 
   2280   while (*format)
   2281     {
   2282       switch (*format++)
   2283 	{
   2284 	case '\''s'\'': // string
   2285 	  str = va_arg (args_copy, const char *);
   2286 	  break;
   2287 	case '\''d'\'': // int
   2288 	  number = va_arg (args_copy, int);
   2289 	  break;
   2290 	case '\''f'\'': // float
   2291 	  fnumber = va_arg (args_copy, double);
   2292 	  break;
   2293 	default:
   2294 	  break;
   2295 	}
   2296     }
   2297   va_end (args_copy);
   2298   va_end (args);
   2299 
   2300   return *str && number && fnumber;
   2301 }
   2302 '
   2303 
   2304 # Test code for whether the C compiler supports C99 (body of main).
   2305 ac_c_conftest_c99_main='
   2306   // Check bool.
   2307   _Bool success = false;
   2308   success |= (argc != 0);
   2309 
   2310   // Check restrict.
   2311   if (test_restrict ("String literal") == 0)
   2312     success = true;
   2313   char *restrict newvar = "Another string";
   2314 
   2315   // Check varargs.
   2316   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2317   test_varargs_macros ();
   2318 
   2319   // Check flexible array members.
   2320   struct incomplete_array *ia =
   2321     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2322   ia->datasize = 10;
   2323   for (int i = 0; i < ia->datasize; ++i)
   2324     ia->data[i] = i * 1.234;
   2325 
   2326   // Check named initializers.
   2327   struct named_init ni = {
   2328     .number = 34,
   2329     .name = L"Test wide string",
   2330     .average = 543.34343,
   2331   };
   2332 
   2333   ni.number = 58;
   2334 
   2335   int dynamic_array[ni.number];
   2336   dynamic_array[0] = argv[0][0];
   2337   dynamic_array[ni.number - 1] = 543;
   2338 
   2339   // work around unused variable warnings
   2340   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2341 	 || dynamic_array[ni.number - 1] != 543);
   2342 '
   2343 
   2344 # Test code for whether the C compiler supports C11 (global declarations)
   2345 ac_c_conftest_c11_globals='
   2346 // Does the compiler advertise C11 conformance?
   2347 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2348 # error "Compiler does not advertise C11 conformance"
   2349 #endif
   2350 
   2351 // Check _Alignas.
   2352 char _Alignas (double) aligned_as_double;
   2353 char _Alignas (0) no_special_alignment;
   2354 extern char aligned_as_int;
   2355 char _Alignas (0) _Alignas (int) aligned_as_int;
   2356 
   2357 // Check _Alignof.
   2358 enum
   2359 {
   2360   int_alignment = _Alignof (int),
   2361   int_array_alignment = _Alignof (int[100]),
   2362   char_alignment = _Alignof (char)
   2363 };
   2364 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2365 
   2366 // Check _Noreturn.
   2367 int _Noreturn does_not_return (void) { for (;;) continue; }
   2368 
   2369 // Check _Static_assert.
   2370 struct test_static_assert
   2371 {
   2372   int x;
   2373   _Static_assert (sizeof (int) <= sizeof (long int),
   2374                   "_Static_assert does not work in struct");
   2375   long int y;
   2376 };
   2377 
   2378 // Check UTF-8 literals.
   2379 #define u8 syntax error!
   2380 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2381 
   2382 // Check duplicate typedefs.
   2383 typedef long *long_ptr;
   2384 typedef long int *long_ptr;
   2385 typedef long_ptr long_ptr;
   2386 
   2387 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2388 struct anonymous
   2389 {
   2390   union {
   2391     struct { int i; int j; };
   2392     struct { int k; long int l; } w;
   2393   };
   2394   int m;
   2395 } v1;
   2396 '
   2397 
   2398 # Test code for whether the C compiler supports C11 (body of main).
   2399 ac_c_conftest_c11_main='
   2400   _Static_assert ((offsetof (struct anonymous, i)
   2401 		   == offsetof (struct anonymous, w.k)),
   2402 		  "Anonymous union alignment botch");
   2403   v1.i = 2;
   2404   v1.w.k = 5;
   2405   ok |= v1.i != 5;
   2406 '
   2407 
   2408 # Test code for whether the C compiler supports C11 (complete).
   2409 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2410 ${ac_c_conftest_c99_globals}
   2411 ${ac_c_conftest_c11_globals}
   2412 
   2413 int
   2414 main (int argc, char **argv)
   2415 {
   2416   int ok = 0;
   2417   ${ac_c_conftest_c89_main}
   2418   ${ac_c_conftest_c99_main}
   2419   ${ac_c_conftest_c11_main}
   2420   return ok;
   2421 }
   2422 "
   2423 
   2424 # Test code for whether the C compiler supports C99 (complete).
   2425 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2426 ${ac_c_conftest_c99_globals}
   2427 
   2428 int
   2429 main (int argc, char **argv)
   2430 {
   2431   int ok = 0;
   2432   ${ac_c_conftest_c89_main}
   2433   ${ac_c_conftest_c99_main}
   2434   return ok;
   2435 }
   2436 "
   2437 
   2438 # Test code for whether the C compiler supports C89 (complete).
   2439 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2440 
   2441 int
   2442 main (int argc, char **argv)
   2443 {
   2444   int ok = 0;
   2445   ${ac_c_conftest_c89_main}
   2446   return ok;
   2447 }
   2448 "
   2449 
   2450 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2451 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2452 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2453 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2454 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2455 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2456 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2457 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2458 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2459 
   2460 # Auxiliary files required by this configure script.
   2461 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2462 
   2463 # Locations in which to look for auxiliary files.
   2464 ac_aux_dir_candidates="${srcdir}/."
   2465 
   2466 # Search for a directory containing all of the required auxiliary files,
   2467 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2468 # If we don't find one directory that contains all the files we need,
   2469 # we report the set of missing files from the *first* directory in
   2470 # $ac_aux_dir_candidates and give up.
   2471 ac_missing_aux_files=""
   2472 ac_first_candidate=:
   2473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 as_found=false
   2476 for as_dir in $ac_aux_dir_candidates
   2477 do
   2478   IFS=$as_save_IFS
   2479   case $as_dir in #(((
   2480     '') as_dir=./ ;;
   2481     */) ;;
   2482     *) as_dir=$as_dir/ ;;
   2483   esac
   2484   as_found=:
   2485 
   2486   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2487   ac_aux_dir_found=yes
   2488   ac_install_sh=
   2489   for ac_aux in $ac_aux_files
   2490   do
   2491     # As a special case, if "install-sh" is required, that requirement
   2492     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2493     # and $ac_install_sh is set appropriately for whichever one is found.
   2494     if test x"$ac_aux" = x"install-sh"
   2495     then
   2496       if test -f "${as_dir}install-sh"; then
   2497         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2498         ac_install_sh="${as_dir}install-sh -c"
   2499       elif test -f "${as_dir}install.sh"; then
   2500         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2501         ac_install_sh="${as_dir}install.sh -c"
   2502       elif test -f "${as_dir}shtool"; then
   2503         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2504         ac_install_sh="${as_dir}shtool install -c"
   2505       else
   2506         ac_aux_dir_found=no
   2507         if $ac_first_candidate; then
   2508           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2509         else
   2510           break
   2511         fi
   2512       fi
   2513     else
   2514       if test -f "${as_dir}${ac_aux}"; then
   2515         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2516       else
   2517         ac_aux_dir_found=no
   2518         if $ac_first_candidate; then
   2519           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2520         else
   2521           break
   2522         fi
   2523       fi
   2524     fi
   2525   done
   2526   if test "$ac_aux_dir_found" = yes; then
   2527     ac_aux_dir="$as_dir"
   2528     break
   2529   fi
   2530   ac_first_candidate=false
   2531 
   2532   as_found=false
   2533 done
   2534 IFS=$as_save_IFS
   2535 if $as_found
   2536 then :
   2537 
   2538 else $as_nop
   2539   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2540 fi
   2541 
   2542 
   2543 # These three variables are undocumented and unsupported,
   2544 # and are intended to be withdrawn in a future Autoconf release.
   2545 # They can cause serious problems if a builder's source tree is in a directory
   2546 # whose full name contains unusual characters.
   2547 if test -f "${ac_aux_dir}config.guess"; then
   2548   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2549 fi
   2550 if test -f "${ac_aux_dir}config.sub"; then
   2551   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2552 fi
   2553 if test -f "$ac_aux_dir/configure"; then
   2554   ac_configure="$SHELL ${ac_aux_dir}configure"
   2555 fi
   2556 
   2557 # Check that the precious variables saved in the cache have kept the same
   2558 # value.
   2559 ac_cache_corrupted=false
   2560 for ac_var in $ac_precious_vars; do
   2561   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2562   eval ac_new_set=\$ac_env_${ac_var}_set
   2563   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2564   eval ac_new_val=\$ac_env_${ac_var}_value
   2565   case $ac_old_set,$ac_new_set in
   2566     set,)
   2567       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2568 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2569       ac_cache_corrupted=: ;;
   2570     ,set)
   2571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2572 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2573       ac_cache_corrupted=: ;;
   2574     ,);;
   2575     *)
   2576       if test "x$ac_old_val" != "x$ac_new_val"; then
   2577 	# differences in whitespace do not lead to failure.
   2578 	ac_old_val_w=`echo x $ac_old_val`
   2579 	ac_new_val_w=`echo x $ac_new_val`
   2580 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2581 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2582 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2583 	  ac_cache_corrupted=:
   2584 	else
   2585 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2586 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2587 	  eval $ac_var=\$ac_old_val
   2588 	fi
   2589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2590 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2592 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2593       fi;;
   2594   esac
   2595   # Pass precious variables to config.status.
   2596   if test "$ac_new_set" = set; then
   2597     case $ac_new_val in
   2598     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2599     *) ac_arg=$ac_var=$ac_new_val ;;
   2600     esac
   2601     case " $ac_configure_args " in
   2602       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2603       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2604     esac
   2605   fi
   2606 done
   2607 if $ac_cache_corrupted; then
   2608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2609 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2611 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2612   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2613 	    and start over" "$LINENO" 5
   2614 fi
   2615 ## -------------------- ##
   2616 ## Main body of script. ##
   2617 ## -------------------- ##
   2618 
   2619 ac_ext=c
   2620 ac_cpp='$CPP $CPPFLAGS'
   2621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2624 
   2625 
   2626 
   2627 ac_config_headers="$ac_config_headers config.h"
   2628 
   2629 
   2630 
   2631 # Initialize Automake
   2632 am__api_version='1.16'
   2633 
   2634 
   2635 
   2636   # Find a good install program.  We prefer a C program (faster),
   2637 # so one script is as good as another.  But avoid the broken or
   2638 # incompatible versions:
   2639 # SysV /etc/install, /usr/sbin/install
   2640 # SunOS /usr/etc/install
   2641 # IRIX /sbin/install
   2642 # AIX /bin/install
   2643 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2644 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2645 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2646 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2647 # OS/2's system install, which has a completely different semantic
   2648 # ./install, which can be erroneously created by make from ./install.sh.
   2649 # Reject install programs that cannot install multiple files.
   2650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2651 printf %s "checking for a BSD-compatible install... " >&6; }
   2652 if test -z "$INSTALL"; then
   2653 if test ${ac_cv_path_install+y}
   2654 then :
   2655   printf %s "(cached) " >&6
   2656 else $as_nop
   2657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2658 for as_dir in $PATH
   2659 do
   2660   IFS=$as_save_IFS
   2661   case $as_dir in #(((
   2662     '') as_dir=./ ;;
   2663     */) ;;
   2664     *) as_dir=$as_dir/ ;;
   2665   esac
   2666     # Account for fact that we put trailing slashes in our PATH walk.
   2667 case $as_dir in #((
   2668   ./ | /[cC]/* | \
   2669   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2670   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2671   /usr/ucb/* ) ;;
   2672   *)
   2673     # OSF1 and SCO ODT 3.0 have their own names for install.
   2674     # Don't use installbsd from OSF since it installs stuff as root
   2675     # by default.
   2676     for ac_prog in ginstall scoinst install; do
   2677       for ac_exec_ext in '' $ac_executable_extensions; do
   2678 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2679 	  if test $ac_prog = install &&
   2680 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2681 	    # AIX install.  It has an incompatible calling convention.
   2682 	    :
   2683 	  elif test $ac_prog = install &&
   2684 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2685 	    # program-specific install script used by HP pwplus--don't use.
   2686 	    :
   2687 	  else
   2688 	    rm -rf conftest.one conftest.two conftest.dir
   2689 	    echo one > conftest.one
   2690 	    echo two > conftest.two
   2691 	    mkdir conftest.dir
   2692 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2693 	      test -s conftest.one && test -s conftest.two &&
   2694 	      test -s conftest.dir/conftest.one &&
   2695 	      test -s conftest.dir/conftest.two
   2696 	    then
   2697 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2698 	      break 3
   2699 	    fi
   2700 	  fi
   2701 	fi
   2702       done
   2703     done
   2704     ;;
   2705 esac
   2706 
   2707   done
   2708 IFS=$as_save_IFS
   2709 
   2710 rm -rf conftest.one conftest.two conftest.dir
   2711 
   2712 fi
   2713   if test ${ac_cv_path_install+y}; then
   2714     INSTALL=$ac_cv_path_install
   2715   else
   2716     # As a last resort, use the slow shell script.  Don't cache a
   2717     # value for INSTALL within a source directory, because that will
   2718     # break other packages using the cache if that directory is
   2719     # removed, or if the value is a relative name.
   2720     INSTALL=$ac_install_sh
   2721   fi
   2722 fi
   2723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2724 printf "%s\n" "$INSTALL" >&6; }
   2725 
   2726 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2727 # It thinks the first close brace ends the variable substitution.
   2728 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2729 
   2730 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2731 
   2732 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2733 
   2734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2735 printf %s "checking whether build environment is sane... " >&6; }
   2736 # Reject unsafe characters in $srcdir or the absolute working directory
   2737 # name.  Accept space and tab only in the latter.
   2738 am_lf='
   2739 '
   2740 case `pwd` in
   2741   *[\\\"\#\$\&\'\`$am_lf]*)
   2742     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2743 esac
   2744 case $srcdir in
   2745   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2746     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2747 esac
   2748 
   2749 # Do 'set' in a subshell so we don't clobber the current shell's
   2750 # arguments.  Must try -L first in case configure is actually a
   2751 # symlink; some systems play weird games with the mod time of symlinks
   2752 # (eg FreeBSD returns the mod time of the symlink's containing
   2753 # directory).
   2754 if (
   2755    am_has_slept=no
   2756    for am_try in 1 2; do
   2757      echo "timestamp, slept: $am_has_slept" > conftest.file
   2758      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2759      if test "$*" = "X"; then
   2760 	# -L didn't work.
   2761 	set X `ls -t "$srcdir/configure" conftest.file`
   2762      fi
   2763      if test "$*" != "X $srcdir/configure conftest.file" \
   2764 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2765 
   2766 	# If neither matched, then we have a broken ls.  This can happen
   2767 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2768 	# broken ls alias from the environment.  This has actually
   2769 	# happened.  Such a system could not be considered "sane".
   2770 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2771   alias in your environment" "$LINENO" 5
   2772      fi
   2773      if test "$2" = conftest.file || test $am_try -eq 2; then
   2774        break
   2775      fi
   2776      # Just in case.
   2777      sleep 1
   2778      am_has_slept=yes
   2779    done
   2780    test "$2" = conftest.file
   2781    )
   2782 then
   2783    # Ok.
   2784    :
   2785 else
   2786    as_fn_error $? "newly created file is older than distributed files!
   2787 Check your system clock" "$LINENO" 5
   2788 fi
   2789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2790 printf "%s\n" "yes" >&6; }
   2791 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2792 # generated files are strictly newer.
   2793 am_sleep_pid=
   2794 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2795   ( sleep 1 ) &
   2796   am_sleep_pid=$!
   2797 fi
   2798 
   2799 rm -f conftest.file
   2800 
   2801 test "$program_prefix" != NONE &&
   2802   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2803 # Use a double $ so make ignores it.
   2804 test "$program_suffix" != NONE &&
   2805   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2806 # Double any \ or $.
   2807 # By default was `s,x,x', remove it if useless.
   2808 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2809 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2810 
   2811 
   2812 # Expand $ac_aux_dir to an absolute path.
   2813 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2814 
   2815 
   2816   if test x"${MISSING+set}" != xset; then
   2817   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2818 fi
   2819 # Use eval to expand $SHELL
   2820 if eval "$MISSING --is-lightweight"; then
   2821   am_missing_run="$MISSING "
   2822 else
   2823   am_missing_run=
   2824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2825 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2826 fi
   2827 
   2828 if test x"${install_sh+set}" != xset; then
   2829   case $am_aux_dir in
   2830   *\ * | *\	*)
   2831     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2832   *)
   2833     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2834   esac
   2835 fi
   2836 
   2837 # Installed binaries are usually stripped using 'strip' when the user
   2838 # run "make install-strip".  However 'strip' might not be the right
   2839 # tool to use in cross-compilation environments, therefore Automake
   2840 # will honor the 'STRIP' environment variable to overrule this program.
   2841 if test "$cross_compiling" != no; then
   2842   if test -n "$ac_tool_prefix"; then
   2843   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2844 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2846 printf %s "checking for $ac_word... " >&6; }
   2847 if test ${ac_cv_prog_STRIP+y}
   2848 then :
   2849   printf %s "(cached) " >&6
   2850 else $as_nop
   2851   if test -n "$STRIP"; then
   2852   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2853 else
   2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2855 for as_dir in $PATH
   2856 do
   2857   IFS=$as_save_IFS
   2858   case $as_dir in #(((
   2859     '') as_dir=./ ;;
   2860     */) ;;
   2861     *) as_dir=$as_dir/ ;;
   2862   esac
   2863     for ac_exec_ext in '' $ac_executable_extensions; do
   2864   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2865     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2866     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2867     break 2
   2868   fi
   2869 done
   2870   done
   2871 IFS=$as_save_IFS
   2872 
   2873 fi
   2874 fi
   2875 STRIP=$ac_cv_prog_STRIP
   2876 if test -n "$STRIP"; then
   2877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2878 printf "%s\n" "$STRIP" >&6; }
   2879 else
   2880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2881 printf "%s\n" "no" >&6; }
   2882 fi
   2883 
   2884 
   2885 fi
   2886 if test -z "$ac_cv_prog_STRIP"; then
   2887   ac_ct_STRIP=$STRIP
   2888   # Extract the first word of "strip", so it can be a program name with args.
   2889 set dummy strip; ac_word=$2
   2890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2891 printf %s "checking for $ac_word... " >&6; }
   2892 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2893 then :
   2894   printf %s "(cached) " >&6
   2895 else $as_nop
   2896   if test -n "$ac_ct_STRIP"; then
   2897   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2898 else
   2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2900 for as_dir in $PATH
   2901 do
   2902   IFS=$as_save_IFS
   2903   case $as_dir in #(((
   2904     '') as_dir=./ ;;
   2905     */) ;;
   2906     *) as_dir=$as_dir/ ;;
   2907   esac
   2908     for ac_exec_ext in '' $ac_executable_extensions; do
   2909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2910     ac_cv_prog_ac_ct_STRIP="strip"
   2911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2912     break 2
   2913   fi
   2914 done
   2915   done
   2916 IFS=$as_save_IFS
   2917 
   2918 fi
   2919 fi
   2920 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2921 if test -n "$ac_ct_STRIP"; then
   2922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2923 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2924 else
   2925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2926 printf "%s\n" "no" >&6; }
   2927 fi
   2928 
   2929   if test "x$ac_ct_STRIP" = x; then
   2930     STRIP=":"
   2931   else
   2932     case $cross_compiling:$ac_tool_warned in
   2933 yes:)
   2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2936 ac_tool_warned=yes ;;
   2937 esac
   2938     STRIP=$ac_ct_STRIP
   2939   fi
   2940 else
   2941   STRIP="$ac_cv_prog_STRIP"
   2942 fi
   2943 
   2944 fi
   2945 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2946 
   2947 
   2948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2949 printf %s "checking for a race-free mkdir -p... " >&6; }
   2950 if test -z "$MKDIR_P"; then
   2951   if test ${ac_cv_path_mkdir+y}
   2952 then :
   2953   printf %s "(cached) " >&6
   2954 else $as_nop
   2955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2956 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2957 do
   2958   IFS=$as_save_IFS
   2959   case $as_dir in #(((
   2960     '') as_dir=./ ;;
   2961     */) ;;
   2962     *) as_dir=$as_dir/ ;;
   2963   esac
   2964     for ac_prog in mkdir gmkdir; do
   2965 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2966 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2967 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2968 	     'mkdir ('*'coreutils) '* | \
   2969 	     'BusyBox '* | \
   2970 	     'mkdir (fileutils) '4.1*)
   2971 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2972 	       break 3;;
   2973 	   esac
   2974 	 done
   2975        done
   2976   done
   2977 IFS=$as_save_IFS
   2978 
   2979 fi
   2980 
   2981   test -d ./--version && rmdir ./--version
   2982   if test ${ac_cv_path_mkdir+y}; then
   2983     MKDIR_P="$ac_cv_path_mkdir -p"
   2984   else
   2985     # As a last resort, use the slow shell script.  Don't cache a
   2986     # value for MKDIR_P within a source directory, because that will
   2987     # break other packages using the cache if that directory is
   2988     # removed, or if the value is a relative name.
   2989     MKDIR_P="$ac_install_sh -d"
   2990   fi
   2991 fi
   2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2993 printf "%s\n" "$MKDIR_P" >&6; }
   2994 
   2995 for ac_prog in gawk mawk nawk awk
   2996 do
   2997   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2998 set dummy $ac_prog; ac_word=$2
   2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3000 printf %s "checking for $ac_word... " >&6; }
   3001 if test ${ac_cv_prog_AWK+y}
   3002 then :
   3003   printf %s "(cached) " >&6
   3004 else $as_nop
   3005   if test -n "$AWK"; then
   3006   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3007 else
   3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3009 for as_dir in $PATH
   3010 do
   3011   IFS=$as_save_IFS
   3012   case $as_dir in #(((
   3013     '') as_dir=./ ;;
   3014     */) ;;
   3015     *) as_dir=$as_dir/ ;;
   3016   esac
   3017     for ac_exec_ext in '' $ac_executable_extensions; do
   3018   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3019     ac_cv_prog_AWK="$ac_prog"
   3020     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3021     break 2
   3022   fi
   3023 done
   3024   done
   3025 IFS=$as_save_IFS
   3026 
   3027 fi
   3028 fi
   3029 AWK=$ac_cv_prog_AWK
   3030 if test -n "$AWK"; then
   3031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3032 printf "%s\n" "$AWK" >&6; }
   3033 else
   3034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3035 printf "%s\n" "no" >&6; }
   3036 fi
   3037 
   3038 
   3039   test -n "$AWK" && break
   3040 done
   3041 
   3042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3043 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3044 set x ${MAKE-make}
   3045 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3046 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3047 then :
   3048   printf %s "(cached) " >&6
   3049 else $as_nop
   3050   cat >conftest.make <<\_ACEOF
   3051 SHELL = /bin/sh
   3052 all:
   3053 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3054 _ACEOF
   3055 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3057   *@@@%%%=?*=@@@%%%*)
   3058     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3059   *)
   3060     eval ac_cv_prog_make_${ac_make}_set=no;;
   3061 esac
   3062 rm -f conftest.make
   3063 fi
   3064 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3066 printf "%s\n" "yes" >&6; }
   3067   SET_MAKE=
   3068 else
   3069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 printf "%s\n" "no" >&6; }
   3071   SET_MAKE="MAKE=${MAKE-make}"
   3072 fi
   3073 
   3074 rm -rf .tst 2>/dev/null
   3075 mkdir .tst 2>/dev/null
   3076 if test -d .tst; then
   3077   am__leading_dot=.
   3078 else
   3079   am__leading_dot=_
   3080 fi
   3081 rmdir .tst 2>/dev/null
   3082 
   3083 # Check whether --enable-silent-rules was given.
   3084 if test ${enable_silent_rules+y}
   3085 then :
   3086   enableval=$enable_silent_rules;
   3087 fi
   3088 
   3089 case $enable_silent_rules in # (((
   3090   yes) AM_DEFAULT_VERBOSITY=0;;
   3091    no) AM_DEFAULT_VERBOSITY=1;;
   3092     *) AM_DEFAULT_VERBOSITY=1;;
   3093 esac
   3094 am_make=${MAKE-make}
   3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3096 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3097 if test ${am_cv_make_support_nested_variables+y}
   3098 then :
   3099   printf %s "(cached) " >&6
   3100 else $as_nop
   3101   if printf "%s\n" 'TRUE=$(BAR$(V))
   3102 BAR0=false
   3103 BAR1=true
   3104 V=1
   3105 am__doit:
   3106 	@$(TRUE)
   3107 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3108   am_cv_make_support_nested_variables=yes
   3109 else
   3110   am_cv_make_support_nested_variables=no
   3111 fi
   3112 fi
   3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3114 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3115 if test $am_cv_make_support_nested_variables = yes; then
   3116     AM_V='$(V)'
   3117   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3118 else
   3119   AM_V=$AM_DEFAULT_VERBOSITY
   3120   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3121 fi
   3122 AM_BACKSLASH='\'
   3123 
   3124 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3125   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3126   # is not polluted with repeated "-I."
   3127   am__isrc=' -I$(srcdir)'
   3128   # test to see if srcdir already configured
   3129   if test -f $srcdir/config.status; then
   3130     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3131   fi
   3132 fi
   3133 
   3134 # test whether we have cygpath
   3135 if test -z "$CYGPATH_W"; then
   3136   if (cygpath --version) >/dev/null 2>/dev/null; then
   3137     CYGPATH_W='cygpath -w'
   3138   else
   3139     CYGPATH_W=echo
   3140   fi
   3141 fi
   3142 
   3143 
   3144 # Define the identity of the package.
   3145  PACKAGE='xf86-video-ast'
   3146  VERSION='1.1.6'
   3147 
   3148 
   3149 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3150 
   3151 
   3152 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3153 
   3154 # Some tools Automake needs.
   3155 
   3156 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3157 
   3158 
   3159 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3160 
   3161 
   3162 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3163 
   3164 
   3165 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3166 
   3167 
   3168 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3169 
   3170 # For better backward compatibility.  To be removed once Automake 1.9.x
   3171 # dies out for good.  For more background, see:
   3172 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3173 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3174 mkdir_p='$(MKDIR_P)'
   3175 
   3176 # We need awk for the "check" target (and possibly the TAP driver).  The
   3177 # system "awk" is bad on some platforms.
   3178 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3179 # in the wild :-(  We should find a proper way to deprecate it ...
   3180 AMTAR='$${TAR-tar}'
   3181 
   3182 
   3183 # We'll loop over all known methods to create a tar archive until one works.
   3184 _am_tools='gnutar  pax cpio none'
   3185 
   3186 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3187 
   3188 
   3189 
   3190 
   3191 
   3192 # Variables for tags utilities; see am/tags.am
   3193 if test -z "$CTAGS"; then
   3194   CTAGS=ctags
   3195 fi
   3196 
   3197 if test -z "$ETAGS"; then
   3198   ETAGS=etags
   3199 fi
   3200 
   3201 if test -z "$CSCOPE"; then
   3202   CSCOPE=cscope
   3203 fi
   3204 
   3205 
   3206 
   3207 # POSIX will say in a future version that running "rm -f" with no argument
   3208 # is OK; and we want to be able to make that assumption in our Makefile
   3209 # recipes.  So use an aggressive probe to check that the usage we want is
   3210 # actually supported "in the wild" to an acceptable degree.
   3211 # See automake bug#10828.
   3212 # To make any issue more visible, cause the running configure to be aborted
   3213 # by default if the 'rm' program in use doesn't match our expectations; the
   3214 # user can still override this though.
   3215 if rm -f && rm -fr && rm -rf; then : OK; else
   3216   cat >&2 <<'END'
   3217 Oops!
   3218 
   3219 Your 'rm' program seems unable to run without file operands specified
   3220 on the command line, even when the '-f' option is present.  This is contrary
   3221 to the behaviour of most rm programs out there, and not conforming with
   3222 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3223 
   3224 Please tell bug-automake@gnu.org about your system, including the value
   3225 of your $PATH and any error possibly output before this message.  This
   3226 can help us improve future automake versions.
   3227 
   3228 END
   3229   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3230     echo 'Configuration will proceed anyway, since you have set the' >&2
   3231     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3232     echo >&2
   3233   else
   3234     cat >&2 <<'END'
   3235 Aborting the configuration process, to ensure you take notice of the issue.
   3236 
   3237 You can download and install GNU coreutils to get an 'rm' implementation
   3238 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3239 
   3240 If you want to complete the configuration process using your problematic
   3241 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3242 to "yes", and re-run configure.
   3243 
   3244 END
   3245     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3246   fi
   3247 fi
   3248 
   3249 
   3250 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   3251 
   3252 
   3253 
   3254 
   3255 
   3256 
   3257 
   3258 
   3259 
   3260 
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 DEPDIR="${am__leading_dot}deps"
   3272 
   3273 ac_config_commands="$ac_config_commands depfiles"
   3274 
   3275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3276 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3277 cat > confinc.mk << 'END'
   3278 am__doit:
   3279 	@echo this is the am__doit target >confinc.out
   3280 .PHONY: am__doit
   3281 END
   3282 am__include="#"
   3283 am__quote=
   3284 # BSD make does it like this.
   3285 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3286 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3287 echo 'include confinc.mk # ignored' > confmf.GNU
   3288 _am_result=no
   3289 for s in GNU BSD; do
   3290   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3291    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3292    ac_status=$?
   3293    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3294    (exit $ac_status); }
   3295   case $?:`cat confinc.out 2>/dev/null` in #(
   3296   '0:this is the am__doit target') :
   3297     case $s in #(
   3298   BSD) :
   3299     am__include='.include' am__quote='"' ;; #(
   3300   *) :
   3301     am__include='include' am__quote='' ;;
   3302 esac ;; #(
   3303   *) :
   3304      ;;
   3305 esac
   3306   if test "$am__include" != "#"; then
   3307     _am_result="yes ($s style)"
   3308     break
   3309   fi
   3310 done
   3311 rm -f confinc.* confmf.*
   3312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3313 printf "%s\n" "${_am_result}" >&6; }
   3314 
   3315 # Check whether --enable-dependency-tracking was given.
   3316 if test ${enable_dependency_tracking+y}
   3317 then :
   3318   enableval=$enable_dependency_tracking;
   3319 fi
   3320 
   3321 if test "x$enable_dependency_tracking" != xno; then
   3322   am_depcomp="$ac_aux_dir/depcomp"
   3323   AMDEPBACKSLASH='\'
   3324   am__nodep='_no'
   3325 fi
   3326  if test "x$enable_dependency_tracking" != xno; then
   3327   AMDEP_TRUE=
   3328   AMDEP_FALSE='#'
   3329 else
   3330   AMDEP_TRUE='#'
   3331   AMDEP_FALSE=
   3332 fi
   3333 
   3334 
   3335 ac_ext=c
   3336 ac_cpp='$CPP $CPPFLAGS'
   3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3340 if test -n "$ac_tool_prefix"; then
   3341   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3342 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3344 printf %s "checking for $ac_word... " >&6; }
   3345 if test ${ac_cv_prog_CC+y}
   3346 then :
   3347   printf %s "(cached) " >&6
   3348 else $as_nop
   3349   if test -n "$CC"; then
   3350   ac_cv_prog_CC="$CC" # Let the user override the test.
   3351 else
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   case $as_dir in #(((
   3357     '') as_dir=./ ;;
   3358     */) ;;
   3359     *) as_dir=$as_dir/ ;;
   3360   esac
   3361     for ac_exec_ext in '' $ac_executable_extensions; do
   3362   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3363     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3364     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3365     break 2
   3366   fi
   3367 done
   3368   done
   3369 IFS=$as_save_IFS
   3370 
   3371 fi
   3372 fi
   3373 CC=$ac_cv_prog_CC
   3374 if test -n "$CC"; then
   3375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3376 printf "%s\n" "$CC" >&6; }
   3377 else
   3378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3379 printf "%s\n" "no" >&6; }
   3380 fi
   3381 
   3382 
   3383 fi
   3384 if test -z "$ac_cv_prog_CC"; then
   3385   ac_ct_CC=$CC
   3386   # Extract the first word of "gcc", so it can be a program name with args.
   3387 set dummy gcc; ac_word=$2
   3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3389 printf %s "checking for $ac_word... " >&6; }
   3390 if test ${ac_cv_prog_ac_ct_CC+y}
   3391 then :
   3392   printf %s "(cached) " >&6
   3393 else $as_nop
   3394   if test -n "$ac_ct_CC"; then
   3395   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3396 else
   3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3398 for as_dir in $PATH
   3399 do
   3400   IFS=$as_save_IFS
   3401   case $as_dir in #(((
   3402     '') as_dir=./ ;;
   3403     */) ;;
   3404     *) as_dir=$as_dir/ ;;
   3405   esac
   3406     for ac_exec_ext in '' $ac_executable_extensions; do
   3407   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3408     ac_cv_prog_ac_ct_CC="gcc"
   3409     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3410     break 2
   3411   fi
   3412 done
   3413   done
   3414 IFS=$as_save_IFS
   3415 
   3416 fi
   3417 fi
   3418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3419 if test -n "$ac_ct_CC"; then
   3420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3421 printf "%s\n" "$ac_ct_CC" >&6; }
   3422 else
   3423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3424 printf "%s\n" "no" >&6; }
   3425 fi
   3426 
   3427   if test "x$ac_ct_CC" = x; then
   3428     CC=""
   3429   else
   3430     case $cross_compiling:$ac_tool_warned in
   3431 yes:)
   3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3434 ac_tool_warned=yes ;;
   3435 esac
   3436     CC=$ac_ct_CC
   3437   fi
   3438 else
   3439   CC="$ac_cv_prog_CC"
   3440 fi
   3441 
   3442 if test -z "$CC"; then
   3443           if test -n "$ac_tool_prefix"; then
   3444     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3445 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3447 printf %s "checking for $ac_word... " >&6; }
   3448 if test ${ac_cv_prog_CC+y}
   3449 then :
   3450   printf %s "(cached) " >&6
   3451 else $as_nop
   3452   if test -n "$CC"; then
   3453   ac_cv_prog_CC="$CC" # Let the user override the test.
   3454 else
   3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3456 for as_dir in $PATH
   3457 do
   3458   IFS=$as_save_IFS
   3459   case $as_dir in #(((
   3460     '') as_dir=./ ;;
   3461     */) ;;
   3462     *) as_dir=$as_dir/ ;;
   3463   esac
   3464     for ac_exec_ext in '' $ac_executable_extensions; do
   3465   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3466     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3467     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3468     break 2
   3469   fi
   3470 done
   3471   done
   3472 IFS=$as_save_IFS
   3473 
   3474 fi
   3475 fi
   3476 CC=$ac_cv_prog_CC
   3477 if test -n "$CC"; then
   3478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3479 printf "%s\n" "$CC" >&6; }
   3480 else
   3481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3482 printf "%s\n" "no" >&6; }
   3483 fi
   3484 
   3485 
   3486   fi
   3487 fi
   3488 if test -z "$CC"; then
   3489   # Extract the first word of "cc", so it can be a program name with args.
   3490 set dummy 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 $as_nop
   3497   if test -n "$CC"; then
   3498   ac_cv_prog_CC="$CC" # Let the user override the test.
   3499 else
   3500   ac_prog_rejected=no
   3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3502 for as_dir in $PATH
   3503 do
   3504   IFS=$as_save_IFS
   3505   case $as_dir in #(((
   3506     '') as_dir=./ ;;
   3507     */) ;;
   3508     *) as_dir=$as_dir/ ;;
   3509   esac
   3510     for ac_exec_ext in '' $ac_executable_extensions; do
   3511   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3512     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3513        ac_prog_rejected=yes
   3514        continue
   3515      fi
   3516     ac_cv_prog_CC="cc"
   3517     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3518     break 2
   3519   fi
   3520 done
   3521   done
   3522 IFS=$as_save_IFS
   3523 
   3524 if test $ac_prog_rejected = yes; then
   3525   # We found a bogon in the path, so make sure we never use it.
   3526   set dummy $ac_cv_prog_CC
   3527   shift
   3528   if test $# != 0; then
   3529     # We chose a different compiler from the bogus one.
   3530     # However, it has the same basename, so the bogon will be chosen
   3531     # first if we set CC to just the basename; use the full file name.
   3532     shift
   3533     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3534   fi
   3535 fi
   3536 fi
   3537 fi
   3538 CC=$ac_cv_prog_CC
   3539 if test -n "$CC"; then
   3540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3541 printf "%s\n" "$CC" >&6; }
   3542 else
   3543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3544 printf "%s\n" "no" >&6; }
   3545 fi
   3546 
   3547 
   3548 fi
   3549 if test -z "$CC"; then
   3550   if test -n "$ac_tool_prefix"; then
   3551   for ac_prog in cl.exe
   3552   do
   3553     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3556 printf %s "checking for $ac_word... " >&6; }
   3557 if test ${ac_cv_prog_CC+y}
   3558 then :
   3559   printf %s "(cached) " >&6
   3560 else $as_nop
   3561   if test -n "$CC"; then
   3562   ac_cv_prog_CC="$CC" # Let the user override the test.
   3563 else
   3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3565 for as_dir in $PATH
   3566 do
   3567   IFS=$as_save_IFS
   3568   case $as_dir in #(((
   3569     '') as_dir=./ ;;
   3570     */) ;;
   3571     *) as_dir=$as_dir/ ;;
   3572   esac
   3573     for ac_exec_ext in '' $ac_executable_extensions; do
   3574   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3575     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3576     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3577     break 2
   3578   fi
   3579 done
   3580   done
   3581 IFS=$as_save_IFS
   3582 
   3583 fi
   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     test -n "$CC" && break
   3596   done
   3597 fi
   3598 if test -z "$CC"; then
   3599   ac_ct_CC=$CC
   3600   for ac_prog in cl.exe
   3601 do
   3602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3603 set dummy $ac_prog; ac_word=$2
   3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3605 printf %s "checking for $ac_word... " >&6; }
   3606 if test ${ac_cv_prog_ac_ct_CC+y}
   3607 then :
   3608   printf %s "(cached) " >&6
   3609 else $as_nop
   3610   if test -n "$ac_ct_CC"; then
   3611   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3612 else
   3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3614 for as_dir in $PATH
   3615 do
   3616   IFS=$as_save_IFS
   3617   case $as_dir in #(((
   3618     '') as_dir=./ ;;
   3619     */) ;;
   3620     *) as_dir=$as_dir/ ;;
   3621   esac
   3622     for ac_exec_ext in '' $ac_executable_extensions; do
   3623   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3624     ac_cv_prog_ac_ct_CC="$ac_prog"
   3625     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3626     break 2
   3627   fi
   3628 done
   3629   done
   3630 IFS=$as_save_IFS
   3631 
   3632 fi
   3633 fi
   3634 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3635 if test -n "$ac_ct_CC"; then
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3637 printf "%s\n" "$ac_ct_CC" >&6; }
   3638 else
   3639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3640 printf "%s\n" "no" >&6; }
   3641 fi
   3642 
   3643 
   3644   test -n "$ac_ct_CC" && break
   3645 done
   3646 
   3647   if test "x$ac_ct_CC" = x; then
   3648     CC=""
   3649   else
   3650     case $cross_compiling:$ac_tool_warned in
   3651 yes:)
   3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3653 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3654 ac_tool_warned=yes ;;
   3655 esac
   3656     CC=$ac_ct_CC
   3657   fi
   3658 fi
   3659 
   3660 fi
   3661 if test -z "$CC"; then
   3662   if test -n "$ac_tool_prefix"; then
   3663   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3664 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3666 printf %s "checking for $ac_word... " >&6; }
   3667 if test ${ac_cv_prog_CC+y}
   3668 then :
   3669   printf %s "(cached) " >&6
   3670 else $as_nop
   3671   if test -n "$CC"; then
   3672   ac_cv_prog_CC="$CC" # Let the user override the test.
   3673 else
   3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3675 for as_dir in $PATH
   3676 do
   3677   IFS=$as_save_IFS
   3678   case $as_dir in #(((
   3679     '') as_dir=./ ;;
   3680     */) ;;
   3681     *) as_dir=$as_dir/ ;;
   3682   esac
   3683     for ac_exec_ext in '' $ac_executable_extensions; do
   3684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3685     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3687     break 2
   3688   fi
   3689 done
   3690   done
   3691 IFS=$as_save_IFS
   3692 
   3693 fi
   3694 fi
   3695 CC=$ac_cv_prog_CC
   3696 if test -n "$CC"; then
   3697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3698 printf "%s\n" "$CC" >&6; }
   3699 else
   3700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3701 printf "%s\n" "no" >&6; }
   3702 fi
   3703 
   3704 
   3705 fi
   3706 if test -z "$ac_cv_prog_CC"; then
   3707   ac_ct_CC=$CC
   3708   # Extract the first word of "clang", so it can be a program name with args.
   3709 set dummy clang; ac_word=$2
   3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3711 printf %s "checking for $ac_word... " >&6; }
   3712 if test ${ac_cv_prog_ac_ct_CC+y}
   3713 then :
   3714   printf %s "(cached) " >&6
   3715 else $as_nop
   3716   if test -n "$ac_ct_CC"; then
   3717   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3718 else
   3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3720 for as_dir in $PATH
   3721 do
   3722   IFS=$as_save_IFS
   3723   case $as_dir in #(((
   3724     '') as_dir=./ ;;
   3725     */) ;;
   3726     *) as_dir=$as_dir/ ;;
   3727   esac
   3728     for ac_exec_ext in '' $ac_executable_extensions; do
   3729   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3730     ac_cv_prog_ac_ct_CC="clang"
   3731     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3732     break 2
   3733   fi
   3734 done
   3735   done
   3736 IFS=$as_save_IFS
   3737 
   3738 fi
   3739 fi
   3740 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3741 if test -n "$ac_ct_CC"; then
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3743 printf "%s\n" "$ac_ct_CC" >&6; }
   3744 else
   3745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3746 printf "%s\n" "no" >&6; }
   3747 fi
   3748 
   3749   if test "x$ac_ct_CC" = x; then
   3750     CC=""
   3751   else
   3752     case $cross_compiling:$ac_tool_warned in
   3753 yes:)
   3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3756 ac_tool_warned=yes ;;
   3757 esac
   3758     CC=$ac_ct_CC
   3759   fi
   3760 else
   3761   CC="$ac_cv_prog_CC"
   3762 fi
   3763 
   3764 fi
   3765 
   3766 
   3767 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3768 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3769 as_fn_error $? "no acceptable C compiler found in \$PATH
   3770 See \`config.log' for more details" "$LINENO" 5; }
   3771 
   3772 # Provide some information about the compiler.
   3773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3774 set X $ac_compile
   3775 ac_compiler=$2
   3776 for ac_option in --version -v -V -qversion -version; do
   3777   { { ac_try="$ac_compiler $ac_option >&5"
   3778 case "(($ac_try" in
   3779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3780   *) ac_try_echo=$ac_try;;
   3781 esac
   3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3783 printf "%s\n" "$ac_try_echo"; } >&5
   3784   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3785   ac_status=$?
   3786   if test -s conftest.err; then
   3787     sed '10a\
   3788 ... rest of stderr output deleted ...
   3789          10q' conftest.err >conftest.er1
   3790     cat conftest.er1 >&5
   3791   fi
   3792   rm -f conftest.er1 conftest.err
   3793   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3794   test $ac_status = 0; }
   3795 done
   3796 
   3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3798 /* end confdefs.h.  */
   3799 
   3800 int
   3801 main (void)
   3802 {
   3803 
   3804   ;
   3805   return 0;
   3806 }
   3807 _ACEOF
   3808 ac_clean_files_save=$ac_clean_files
   3809 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3810 # Try to create an executable without -o first, disregard a.out.
   3811 # It will help us diagnose broken compilers, and finding out an intuition
   3812 # of exeext.
   3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3814 printf %s "checking whether the C compiler works... " >&6; }
   3815 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3816 
   3817 # The possible output files:
   3818 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3819 
   3820 ac_rmfiles=
   3821 for ac_file in $ac_files
   3822 do
   3823   case $ac_file in
   3824     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3825     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3826   esac
   3827 done
   3828 rm -f $ac_rmfiles
   3829 
   3830 if { { ac_try="$ac_link_default"
   3831 case "(($ac_try" in
   3832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3833   *) ac_try_echo=$ac_try;;
   3834 esac
   3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3836 printf "%s\n" "$ac_try_echo"; } >&5
   3837   (eval "$ac_link_default") 2>&5
   3838   ac_status=$?
   3839   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3840   test $ac_status = 0; }
   3841 then :
   3842   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3843 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3844 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3845 # so that the user can short-circuit this test for compilers unknown to
   3846 # Autoconf.
   3847 for ac_file in $ac_files ''
   3848 do
   3849   test -f "$ac_file" || continue
   3850   case $ac_file in
   3851     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3852 	;;
   3853     [ab].out )
   3854 	# We found the default executable, but exeext='' is most
   3855 	# certainly right.
   3856 	break;;
   3857     *.* )
   3858 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3859 	then :; else
   3860 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3861 	fi
   3862 	# We set ac_cv_exeext here because the later test for it is not
   3863 	# safe: cross compilers may not add the suffix if given an `-o'
   3864 	# argument, so we may need to know it at that point already.
   3865 	# Even if this section looks crufty: it has the advantage of
   3866 	# actually working.
   3867 	break;;
   3868     * )
   3869 	break;;
   3870   esac
   3871 done
   3872 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3873 
   3874 else $as_nop
   3875   ac_file=''
   3876 fi
   3877 if test -z "$ac_file"
   3878 then :
   3879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3880 printf "%s\n" "no" >&6; }
   3881 printf "%s\n" "$as_me: failed program was:" >&5
   3882 sed 's/^/| /' conftest.$ac_ext >&5
   3883 
   3884 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3885 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3886 as_fn_error 77 "C compiler cannot create executables
   3887 See \`config.log' for more details" "$LINENO" 5; }
   3888 else $as_nop
   3889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3890 printf "%s\n" "yes" >&6; }
   3891 fi
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3893 printf %s "checking for C compiler default output file name... " >&6; }
   3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3895 printf "%s\n" "$ac_file" >&6; }
   3896 ac_exeext=$ac_cv_exeext
   3897 
   3898 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3899 ac_clean_files=$ac_clean_files_save
   3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3901 printf %s "checking for suffix of executables... " >&6; }
   3902 if { { ac_try="$ac_link"
   3903 case "(($ac_try" in
   3904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3905   *) ac_try_echo=$ac_try;;
   3906 esac
   3907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3908 printf "%s\n" "$ac_try_echo"; } >&5
   3909   (eval "$ac_link") 2>&5
   3910   ac_status=$?
   3911   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3912   test $ac_status = 0; }
   3913 then :
   3914   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3915 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3916 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3917 # `rm'.
   3918 for ac_file in conftest.exe conftest conftest.*; do
   3919   test -f "$ac_file" || continue
   3920   case $ac_file in
   3921     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3922     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3923 	  break;;
   3924     * ) break;;
   3925   esac
   3926 done
   3927 else $as_nop
   3928   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3929 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3930 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3931 See \`config.log' for more details" "$LINENO" 5; }
   3932 fi
   3933 rm -f conftest conftest$ac_cv_exeext
   3934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3935 printf "%s\n" "$ac_cv_exeext" >&6; }
   3936 
   3937 rm -f conftest.$ac_ext
   3938 EXEEXT=$ac_cv_exeext
   3939 ac_exeext=$EXEEXT
   3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3941 /* end confdefs.h.  */
   3942 #include <stdio.h>
   3943 int
   3944 main (void)
   3945 {
   3946 FILE *f = fopen ("conftest.out", "w");
   3947  return ferror (f) || fclose (f) != 0;
   3948 
   3949   ;
   3950   return 0;
   3951 }
   3952 _ACEOF
   3953 ac_clean_files="$ac_clean_files conftest.out"
   3954 # Check that the compiler produces executables we can run.  If not, either
   3955 # the compiler is broken, or we cross compile.
   3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3957 printf %s "checking whether we are cross compiling... " >&6; }
   3958 if test "$cross_compiling" != yes; then
   3959   { { ac_try="$ac_link"
   3960 case "(($ac_try" in
   3961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3962   *) ac_try_echo=$ac_try;;
   3963 esac
   3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3965 printf "%s\n" "$ac_try_echo"; } >&5
   3966   (eval "$ac_link") 2>&5
   3967   ac_status=$?
   3968   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3969   test $ac_status = 0; }
   3970   if { ac_try='./conftest$ac_cv_exeext'
   3971   { { case "(($ac_try" in
   3972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3973   *) ac_try_echo=$ac_try;;
   3974 esac
   3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3976 printf "%s\n" "$ac_try_echo"; } >&5
   3977   (eval "$ac_try") 2>&5
   3978   ac_status=$?
   3979   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3980   test $ac_status = 0; }; }; then
   3981     cross_compiling=no
   3982   else
   3983     if test "$cross_compiling" = maybe; then
   3984 	cross_compiling=yes
   3985     else
   3986 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3987 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3988 as_fn_error 77 "cannot run C compiled programs.
   3989 If you meant to cross compile, use \`--host'.
   3990 See \`config.log' for more details" "$LINENO" 5; }
   3991     fi
   3992   fi
   3993 fi
   3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3995 printf "%s\n" "$cross_compiling" >&6; }
   3996 
   3997 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3998 ac_clean_files=$ac_clean_files_save
   3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4000 printf %s "checking for suffix of object files... " >&6; }
   4001 if test ${ac_cv_objext+y}
   4002 then :
   4003   printf %s "(cached) " >&6
   4004 else $as_nop
   4005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4006 /* end confdefs.h.  */
   4007 
   4008 int
   4009 main (void)
   4010 {
   4011 
   4012   ;
   4013   return 0;
   4014 }
   4015 _ACEOF
   4016 rm -f conftest.o conftest.obj
   4017 if { { ac_try="$ac_compile"
   4018 case "(($ac_try" in
   4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4020   *) ac_try_echo=$ac_try;;
   4021 esac
   4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4023 printf "%s\n" "$ac_try_echo"; } >&5
   4024   (eval "$ac_compile") 2>&5
   4025   ac_status=$?
   4026   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4027   test $ac_status = 0; }
   4028 then :
   4029   for ac_file in conftest.o conftest.obj conftest.*; do
   4030   test -f "$ac_file" || continue;
   4031   case $ac_file in
   4032     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4033     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4034        break;;
   4035   esac
   4036 done
   4037 else $as_nop
   4038   printf "%s\n" "$as_me: failed program was:" >&5
   4039 sed 's/^/| /' conftest.$ac_ext >&5
   4040 
   4041 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4042 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4043 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4044 See \`config.log' for more details" "$LINENO" 5; }
   4045 fi
   4046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4047 fi
   4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4049 printf "%s\n" "$ac_cv_objext" >&6; }
   4050 OBJEXT=$ac_cv_objext
   4051 ac_objext=$OBJEXT
   4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4053 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4054 if test ${ac_cv_c_compiler_gnu+y}
   4055 then :
   4056   printf %s "(cached) " >&6
   4057 else $as_nop
   4058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4059 /* end confdefs.h.  */
   4060 
   4061 int
   4062 main (void)
   4063 {
   4064 #ifndef __GNUC__
   4065        choke me
   4066 #endif
   4067 
   4068   ;
   4069   return 0;
   4070 }
   4071 _ACEOF
   4072 if ac_fn_c_try_compile "$LINENO"
   4073 then :
   4074   ac_compiler_gnu=yes
   4075 else $as_nop
   4076   ac_compiler_gnu=no
   4077 fi
   4078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4080 
   4081 fi
   4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4083 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4085 
   4086 if test $ac_compiler_gnu = yes; then
   4087   GCC=yes
   4088 else
   4089   GCC=
   4090 fi
   4091 ac_test_CFLAGS=${CFLAGS+y}
   4092 ac_save_CFLAGS=$CFLAGS
   4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4094 printf %s "checking whether $CC accepts -g... " >&6; }
   4095 if test ${ac_cv_prog_cc_g+y}
   4096 then :
   4097   printf %s "(cached) " >&6
   4098 else $as_nop
   4099   ac_save_c_werror_flag=$ac_c_werror_flag
   4100    ac_c_werror_flag=yes
   4101    ac_cv_prog_cc_g=no
   4102    CFLAGS="-g"
   4103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4104 /* end confdefs.h.  */
   4105 
   4106 int
   4107 main (void)
   4108 {
   4109 
   4110   ;
   4111   return 0;
   4112 }
   4113 _ACEOF
   4114 if ac_fn_c_try_compile "$LINENO"
   4115 then :
   4116   ac_cv_prog_cc_g=yes
   4117 else $as_nop
   4118   CFLAGS=""
   4119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4120 /* end confdefs.h.  */
   4121 
   4122 int
   4123 main (void)
   4124 {
   4125 
   4126   ;
   4127   return 0;
   4128 }
   4129 _ACEOF
   4130 if ac_fn_c_try_compile "$LINENO"
   4131 then :
   4132 
   4133 else $as_nop
   4134   ac_c_werror_flag=$ac_save_c_werror_flag
   4135 	 CFLAGS="-g"
   4136 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4137 /* end confdefs.h.  */
   4138 
   4139 int
   4140 main (void)
   4141 {
   4142 
   4143   ;
   4144   return 0;
   4145 }
   4146 _ACEOF
   4147 if ac_fn_c_try_compile "$LINENO"
   4148 then :
   4149   ac_cv_prog_cc_g=yes
   4150 fi
   4151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4152 fi
   4153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4154 fi
   4155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4156    ac_c_werror_flag=$ac_save_c_werror_flag
   4157 fi
   4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4159 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4160 if test $ac_test_CFLAGS; then
   4161   CFLAGS=$ac_save_CFLAGS
   4162 elif test $ac_cv_prog_cc_g = yes; then
   4163   if test "$GCC" = yes; then
   4164     CFLAGS="-g -O2"
   4165   else
   4166     CFLAGS="-g"
   4167   fi
   4168 else
   4169   if test "$GCC" = yes; then
   4170     CFLAGS="-O2"
   4171   else
   4172     CFLAGS=
   4173   fi
   4174 fi
   4175 ac_prog_cc_stdc=no
   4176 if test x$ac_prog_cc_stdc = xno
   4177 then :
   4178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4179 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4180 if test ${ac_cv_prog_cc_c11+y}
   4181 then :
   4182   printf %s "(cached) " >&6
   4183 else $as_nop
   4184   ac_cv_prog_cc_c11=no
   4185 ac_save_CC=$CC
   4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4187 /* end confdefs.h.  */
   4188 $ac_c_conftest_c11_program
   4189 _ACEOF
   4190 for ac_arg in '' -std=gnu11
   4191 do
   4192   CC="$ac_save_CC $ac_arg"
   4193   if ac_fn_c_try_compile "$LINENO"
   4194 then :
   4195   ac_cv_prog_cc_c11=$ac_arg
   4196 fi
   4197 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4198   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4199 done
   4200 rm -f conftest.$ac_ext
   4201 CC=$ac_save_CC
   4202 fi
   4203 
   4204 if test "x$ac_cv_prog_cc_c11" = xno
   4205 then :
   4206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4207 printf "%s\n" "unsupported" >&6; }
   4208 else $as_nop
   4209   if test "x$ac_cv_prog_cc_c11" = x
   4210 then :
   4211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4212 printf "%s\n" "none needed" >&6; }
   4213 else $as_nop
   4214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4215 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4216      CC="$CC $ac_cv_prog_cc_c11"
   4217 fi
   4218   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4219   ac_prog_cc_stdc=c11
   4220 fi
   4221 fi
   4222 if test x$ac_prog_cc_stdc = xno
   4223 then :
   4224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4225 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4226 if test ${ac_cv_prog_cc_c99+y}
   4227 then :
   4228   printf %s "(cached) " >&6
   4229 else $as_nop
   4230   ac_cv_prog_cc_c99=no
   4231 ac_save_CC=$CC
   4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4233 /* end confdefs.h.  */
   4234 $ac_c_conftest_c99_program
   4235 _ACEOF
   4236 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4237 do
   4238   CC="$ac_save_CC $ac_arg"
   4239   if ac_fn_c_try_compile "$LINENO"
   4240 then :
   4241   ac_cv_prog_cc_c99=$ac_arg
   4242 fi
   4243 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4244   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4245 done
   4246 rm -f conftest.$ac_ext
   4247 CC=$ac_save_CC
   4248 fi
   4249 
   4250 if test "x$ac_cv_prog_cc_c99" = xno
   4251 then :
   4252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4253 printf "%s\n" "unsupported" >&6; }
   4254 else $as_nop
   4255   if test "x$ac_cv_prog_cc_c99" = x
   4256 then :
   4257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4258 printf "%s\n" "none needed" >&6; }
   4259 else $as_nop
   4260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4261 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4262      CC="$CC $ac_cv_prog_cc_c99"
   4263 fi
   4264   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4265   ac_prog_cc_stdc=c99
   4266 fi
   4267 fi
   4268 if test x$ac_prog_cc_stdc = xno
   4269 then :
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4271 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4272 if test ${ac_cv_prog_cc_c89+y}
   4273 then :
   4274   printf %s "(cached) " >&6
   4275 else $as_nop
   4276   ac_cv_prog_cc_c89=no
   4277 ac_save_CC=$CC
   4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 $ac_c_conftest_c89_program
   4281 _ACEOF
   4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4283 do
   4284   CC="$ac_save_CC $ac_arg"
   4285   if ac_fn_c_try_compile "$LINENO"
   4286 then :
   4287   ac_cv_prog_cc_c89=$ac_arg
   4288 fi
   4289 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4290   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4291 done
   4292 rm -f conftest.$ac_ext
   4293 CC=$ac_save_CC
   4294 fi
   4295 
   4296 if test "x$ac_cv_prog_cc_c89" = xno
   4297 then :
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4299 printf "%s\n" "unsupported" >&6; }
   4300 else $as_nop
   4301   if test "x$ac_cv_prog_cc_c89" = x
   4302 then :
   4303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4304 printf "%s\n" "none needed" >&6; }
   4305 else $as_nop
   4306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4307 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4308      CC="$CC $ac_cv_prog_cc_c89"
   4309 fi
   4310   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4311   ac_prog_cc_stdc=c89
   4312 fi
   4313 fi
   4314 
   4315 ac_ext=c
   4316 ac_cpp='$CPP $CPPFLAGS'
   4317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4320 
   4321 
   4322   ac_ext=c
   4323 ac_cpp='$CPP $CPPFLAGS'
   4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4328 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4329 if test ${am_cv_prog_cc_c_o+y}
   4330 then :
   4331   printf %s "(cached) " >&6
   4332 else $as_nop
   4333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 
   4336 int
   4337 main (void)
   4338 {
   4339 
   4340   ;
   4341   return 0;
   4342 }
   4343 _ACEOF
   4344   # Make sure it works both with $CC and with simple cc.
   4345   # Following AC_PROG_CC_C_O, we do the test twice because some
   4346   # compilers refuse to overwrite an existing .o file with -o,
   4347   # though they will create one.
   4348   am_cv_prog_cc_c_o=yes
   4349   for am_i in 1 2; do
   4350     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4351    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4352    ac_status=$?
   4353    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4354    (exit $ac_status); } \
   4355          && test -f conftest2.$ac_objext; then
   4356       : OK
   4357     else
   4358       am_cv_prog_cc_c_o=no
   4359       break
   4360     fi
   4361   done
   4362   rm -f core conftest*
   4363   unset am_i
   4364 fi
   4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4366 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4367 if test "$am_cv_prog_cc_c_o" != yes; then
   4368    # Losing compiler, so override with the script.
   4369    # FIXME: It is wrong to rewrite CC.
   4370    # But if we don't then we get into trouble of one sort or another.
   4371    # A longer-term fix would be to have automake use am__CC in this case,
   4372    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4373    CC="$am_aux_dir/compile $CC"
   4374 fi
   4375 ac_ext=c
   4376 ac_cpp='$CPP $CPPFLAGS'
   4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4380 
   4381 
   4382 depcc="$CC"   am_compiler_list=
   4383 
   4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4385 printf %s "checking dependency style of $depcc... " >&6; }
   4386 if test ${am_cv_CC_dependencies_compiler_type+y}
   4387 then :
   4388   printf %s "(cached) " >&6
   4389 else $as_nop
   4390   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4391   # We make a subdir and do the tests there.  Otherwise we can end up
   4392   # making bogus files that we don't know about and never remove.  For
   4393   # instance it was reported that on HP-UX the gcc test will end up
   4394   # making a dummy file named 'D' -- because '-MD' means "put the output
   4395   # in D".
   4396   rm -rf conftest.dir
   4397   mkdir conftest.dir
   4398   # Copy depcomp to subdir because otherwise we won't find it if we're
   4399   # using a relative directory.
   4400   cp "$am_depcomp" conftest.dir
   4401   cd conftest.dir
   4402   # We will build objects and dependencies in a subdirectory because
   4403   # it helps to detect inapplicable dependency modes.  For instance
   4404   # both Tru64's cc and ICC support -MD to output dependencies as a
   4405   # side effect of compilation, but ICC will put the dependencies in
   4406   # the current directory while Tru64 will put them in the object
   4407   # directory.
   4408   mkdir sub
   4409 
   4410   am_cv_CC_dependencies_compiler_type=none
   4411   if test "$am_compiler_list" = ""; then
   4412      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4413   fi
   4414   am__universal=false
   4415   case " $depcc " in #(
   4416      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4417      esac
   4418 
   4419   for depmode in $am_compiler_list; do
   4420     # Setup a source with many dependencies, because some compilers
   4421     # like to wrap large dependency lists on column 80 (with \), and
   4422     # we should not choose a depcomp mode which is confused by this.
   4423     #
   4424     # We need to recreate these files for each test, as the compiler may
   4425     # overwrite some of them when testing with obscure command lines.
   4426     # This happens at least with the AIX C compiler.
   4427     : > sub/conftest.c
   4428     for i in 1 2 3 4 5 6; do
   4429       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4430       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4431       # Solaris 10 /bin/sh.
   4432       echo '/* dummy */' > sub/conftst$i.h
   4433     done
   4434     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4435 
   4436     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4437     # mode.  It turns out that the SunPro C++ compiler does not properly
   4438     # handle '-M -o', and we need to detect this.  Also, some Intel
   4439     # versions had trouble with output in subdirs.
   4440     am__obj=sub/conftest.${OBJEXT-o}
   4441     am__minus_obj="-o $am__obj"
   4442     case $depmode in
   4443     gcc)
   4444       # This depmode causes a compiler race in universal mode.
   4445       test "$am__universal" = false || continue
   4446       ;;
   4447     nosideeffect)
   4448       # After this tag, mechanisms are not by side-effect, so they'll
   4449       # only be used when explicitly requested.
   4450       if test "x$enable_dependency_tracking" = xyes; then
   4451 	continue
   4452       else
   4453 	break
   4454       fi
   4455       ;;
   4456     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4457       # This compiler won't grok '-c -o', but also, the minuso test has
   4458       # not run yet.  These depmodes are late enough in the game, and
   4459       # so weak that their functioning should not be impacted.
   4460       am__obj=conftest.${OBJEXT-o}
   4461       am__minus_obj=
   4462       ;;
   4463     none) break ;;
   4464     esac
   4465     if depmode=$depmode \
   4466        source=sub/conftest.c object=$am__obj \
   4467        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4468        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4469          >/dev/null 2>conftest.err &&
   4470        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4471        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4472        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4473        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4474       # icc doesn't choke on unknown options, it will just issue warnings
   4475       # or remarks (even with -Werror).  So we grep stderr for any message
   4476       # that says an option was ignored or not supported.
   4477       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4478       #   icc: Command line warning: ignoring option '-M'; no argument required
   4479       # The diagnosis changed in icc 8.0:
   4480       #   icc: Command line remark: option '-MP' not supported
   4481       if (grep 'ignoring option' conftest.err ||
   4482           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4483         am_cv_CC_dependencies_compiler_type=$depmode
   4484         break
   4485       fi
   4486     fi
   4487   done
   4488 
   4489   cd ..
   4490   rm -rf conftest.dir
   4491 else
   4492   am_cv_CC_dependencies_compiler_type=none
   4493 fi
   4494 
   4495 fi
   4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4497 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4498 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4499 
   4500  if
   4501   test "x$enable_dependency_tracking" != xno \
   4502   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4503   am__fastdepCC_TRUE=
   4504   am__fastdepCC_FALSE='#'
   4505 else
   4506   am__fastdepCC_TRUE='#'
   4507   am__fastdepCC_FALSE=
   4508 fi
   4509 
   4510 
   4511 
   4512 
   4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4514 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4515 if test ${ac_cv_c_undeclared_builtin_options+y}
   4516 then :
   4517   printf %s "(cached) " >&6
   4518 else $as_nop
   4519   ac_save_CFLAGS=$CFLAGS
   4520    ac_cv_c_undeclared_builtin_options='cannot detect'
   4521    for ac_arg in '' -fno-builtin; do
   4522      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4523      # This test program should *not* compile successfully.
   4524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4525 /* end confdefs.h.  */
   4526 
   4527 int
   4528 main (void)
   4529 {
   4530 (void) strchr;
   4531   ;
   4532   return 0;
   4533 }
   4534 _ACEOF
   4535 if ac_fn_c_try_compile "$LINENO"
   4536 then :
   4537 
   4538 else $as_nop
   4539   # This test program should compile successfully.
   4540         # No library function is consistently available on
   4541         # freestanding implementations, so test against a dummy
   4542         # declaration.  Include always-available headers on the
   4543         # off chance that they somehow elicit warnings.
   4544         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4545 /* end confdefs.h.  */
   4546 #include <float.h>
   4547 #include <limits.h>
   4548 #include <stdarg.h>
   4549 #include <stddef.h>
   4550 extern void ac_decl (int, char *);
   4551 
   4552 int
   4553 main (void)
   4554 {
   4555 (void) ac_decl (0, (char *) 0);
   4556   (void) ac_decl;
   4557 
   4558   ;
   4559   return 0;
   4560 }
   4561 _ACEOF
   4562 if ac_fn_c_try_compile "$LINENO"
   4563 then :
   4564   if test x"$ac_arg" = x
   4565 then :
   4566   ac_cv_c_undeclared_builtin_options='none needed'
   4567 else $as_nop
   4568   ac_cv_c_undeclared_builtin_options=$ac_arg
   4569 fi
   4570           break
   4571 fi
   4572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4573 fi
   4574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4575     done
   4576     CFLAGS=$ac_save_CFLAGS
   4577 
   4578 fi
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4580 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4581   case $ac_cv_c_undeclared_builtin_options in #(
   4582   'cannot detect') :
   4583     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4584 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4585 as_fn_error $? "cannot make $CC report undeclared builtins
   4586 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4587   'none needed') :
   4588     ac_c_undeclared_builtin_options='' ;; #(
   4589   *) :
   4590     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4591 esac
   4592 
   4593 ac_header= ac_cache=
   4594 for ac_item in $ac_header_c_list
   4595 do
   4596   if test $ac_cache; then
   4597     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4598     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4599       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4600     fi
   4601     ac_header= ac_cache=
   4602   elif test $ac_header; then
   4603     ac_cache=$ac_item
   4604   else
   4605     ac_header=$ac_item
   4606   fi
   4607 done
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4617 then :
   4618 
   4619 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4620 
   4621 fi
   4622 
   4623 
   4624 
   4625 
   4626 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4627 if test "x$ac_cv_have_decl___clang__" = xyes
   4628 then :
   4629   CLANGCC="yes"
   4630 else $as_nop
   4631   CLANGCC="no"
   4632 fi
   4633 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4634 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4635 then :
   4636   INTELCC="yes"
   4637 else $as_nop
   4638   INTELCC="no"
   4639 fi
   4640 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4641 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4642 then :
   4643   SUNCC="yes"
   4644 else $as_nop
   4645   SUNCC="no"
   4646 fi
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4656 	if test -n "$ac_tool_prefix"; then
   4657   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4658 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4660 printf %s "checking for $ac_word... " >&6; }
   4661 if test ${ac_cv_path_PKG_CONFIG+y}
   4662 then :
   4663   printf %s "(cached) " >&6
   4664 else $as_nop
   4665   case $PKG_CONFIG in
   4666   [\\/]* | ?:[\\/]*)
   4667   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4668   ;;
   4669   *)
   4670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4671 for as_dir in $PATH
   4672 do
   4673   IFS=$as_save_IFS
   4674   case $as_dir in #(((
   4675     '') as_dir=./ ;;
   4676     */) ;;
   4677     *) as_dir=$as_dir/ ;;
   4678   esac
   4679     for ac_exec_ext in '' $ac_executable_extensions; do
   4680   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4681     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4682     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4683     break 2
   4684   fi
   4685 done
   4686   done
   4687 IFS=$as_save_IFS
   4688 
   4689   ;;
   4690 esac
   4691 fi
   4692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4693 if test -n "$PKG_CONFIG"; then
   4694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4695 printf "%s\n" "$PKG_CONFIG" >&6; }
   4696 else
   4697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4698 printf "%s\n" "no" >&6; }
   4699 fi
   4700 
   4701 
   4702 fi
   4703 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4704   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4705   # Extract the first word of "pkg-config", so it can be a program name with args.
   4706 set dummy pkg-config; ac_word=$2
   4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4708 printf %s "checking for $ac_word... " >&6; }
   4709 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4710 then :
   4711   printf %s "(cached) " >&6
   4712 else $as_nop
   4713   case $ac_pt_PKG_CONFIG in
   4714   [\\/]* | ?:[\\/]*)
   4715   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4716   ;;
   4717   *)
   4718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4719 for as_dir in $PATH
   4720 do
   4721   IFS=$as_save_IFS
   4722   case $as_dir in #(((
   4723     '') as_dir=./ ;;
   4724     */) ;;
   4725     *) as_dir=$as_dir/ ;;
   4726   esac
   4727     for ac_exec_ext in '' $ac_executable_extensions; do
   4728   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4729     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4730     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4731     break 2
   4732   fi
   4733 done
   4734   done
   4735 IFS=$as_save_IFS
   4736 
   4737   ;;
   4738 esac
   4739 fi
   4740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4741 if test -n "$ac_pt_PKG_CONFIG"; then
   4742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4743 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4744 else
   4745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4746 printf "%s\n" "no" >&6; }
   4747 fi
   4748 
   4749   if test "x$ac_pt_PKG_CONFIG" = x; then
   4750     PKG_CONFIG=""
   4751   else
   4752     case $cross_compiling:$ac_tool_warned in
   4753 yes:)
   4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4756 ac_tool_warned=yes ;;
   4757 esac
   4758     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4759   fi
   4760 else
   4761   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4762 fi
   4763 
   4764 fi
   4765 if test -n "$PKG_CONFIG"; then
   4766 	_pkg_min_version=0.9.0
   4767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4768 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4769 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4771 printf "%s\n" "yes" >&6; }
   4772 	else
   4773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4774 printf "%s\n" "no" >&6; }
   4775 		PKG_CONFIG=""
   4776 	fi
   4777 fi
   4778 
   4779 
   4780   # Make sure we can run config.sub.
   4781 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4782   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4783 
   4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4785 printf %s "checking build system type... " >&6; }
   4786 if test ${ac_cv_build+y}
   4787 then :
   4788   printf %s "(cached) " >&6
   4789 else $as_nop
   4790   ac_build_alias=$build_alias
   4791 test "x$ac_build_alias" = x &&
   4792   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4793 test "x$ac_build_alias" = x &&
   4794   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4795 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4796   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4797 
   4798 fi
   4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4800 printf "%s\n" "$ac_cv_build" >&6; }
   4801 case $ac_cv_build in
   4802 *-*-*) ;;
   4803 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4804 esac
   4805 build=$ac_cv_build
   4806 ac_save_IFS=$IFS; IFS='-'
   4807 set x $ac_cv_build
   4808 shift
   4809 build_cpu=$1
   4810 build_vendor=$2
   4811 shift; shift
   4812 # Remember, the first character of IFS is used to create $*,
   4813 # except with old shells:
   4814 build_os=$*
   4815 IFS=$ac_save_IFS
   4816 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4817 
   4818 
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4820 printf %s "checking host system type... " >&6; }
   4821 if test ${ac_cv_host+y}
   4822 then :
   4823   printf %s "(cached) " >&6
   4824 else $as_nop
   4825   if test "x$host_alias" = x; then
   4826   ac_cv_host=$ac_cv_build
   4827 else
   4828   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4829     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4830 fi
   4831 
   4832 fi
   4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4834 printf "%s\n" "$ac_cv_host" >&6; }
   4835 case $ac_cv_host in
   4836 *-*-*) ;;
   4837 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4838 esac
   4839 host=$ac_cv_host
   4840 ac_save_IFS=$IFS; IFS='-'
   4841 set x $ac_cv_host
   4842 shift
   4843 host_cpu=$1
   4844 host_vendor=$2
   4845 shift; shift
   4846 # Remember, the first character of IFS is used to create $*,
   4847 # except with old shells:
   4848 host_os=$*
   4849 IFS=$ac_save_IFS
   4850 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4851 
   4852 
   4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4854 printf %s "checking for a sed that does not truncate output... " >&6; }
   4855 if test ${ac_cv_path_SED+y}
   4856 then :
   4857   printf %s "(cached) " >&6
   4858 else $as_nop
   4859             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4860      for ac_i in 1 2 3 4 5 6 7; do
   4861        ac_script="$ac_script$as_nl$ac_script"
   4862      done
   4863      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4864      { ac_script=; unset ac_script;}
   4865      if test -z "$SED"; then
   4866   ac_path_SED_found=false
   4867   # Loop through the user's path and test for each of PROGNAME-LIST
   4868   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4869 for as_dir in $PATH
   4870 do
   4871   IFS=$as_save_IFS
   4872   case $as_dir in #(((
   4873     '') as_dir=./ ;;
   4874     */) ;;
   4875     *) as_dir=$as_dir/ ;;
   4876   esac
   4877     for ac_prog in sed gsed
   4878    do
   4879     for ac_exec_ext in '' $ac_executable_extensions; do
   4880       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4881       as_fn_executable_p "$ac_path_SED" || continue
   4882 # Check for GNU ac_path_SED and select it if it is found.
   4883   # Check for GNU $ac_path_SED
   4884 case `"$ac_path_SED" --version 2>&1` in
   4885 *GNU*)
   4886   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4887 *)
   4888   ac_count=0
   4889   printf %s 0123456789 >"conftest.in"
   4890   while :
   4891   do
   4892     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4893     mv "conftest.tmp" "conftest.in"
   4894     cp "conftest.in" "conftest.nl"
   4895     printf "%s\n" '' >> "conftest.nl"
   4896     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4897     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4898     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4899     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4900       # Best one so far, save it but keep looking for a better one
   4901       ac_cv_path_SED="$ac_path_SED"
   4902       ac_path_SED_max=$ac_count
   4903     fi
   4904     # 10*(2^10) chars as input seems more than enough
   4905     test $ac_count -gt 10 && break
   4906   done
   4907   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4908 esac
   4909 
   4910       $ac_path_SED_found && break 3
   4911     done
   4912   done
   4913   done
   4914 IFS=$as_save_IFS
   4915   if test -z "$ac_cv_path_SED"; then
   4916     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4917   fi
   4918 else
   4919   ac_cv_path_SED=$SED
   4920 fi
   4921 
   4922 fi
   4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4924 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4925  SED="$ac_cv_path_SED"
   4926   rm -f conftest.sed
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 # Check whether --enable-selective-werror was given.
   4934 if test ${enable_selective_werror+y}
   4935 then :
   4936   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4937 else $as_nop
   4938   SELECTIVE_WERROR=yes
   4939 fi
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4946 if test "x$SUNCC" = "xyes"; then
   4947     BASE_CFLAGS="-v"
   4948 else
   4949     BASE_CFLAGS=""
   4950 fi
   4951 
   4952 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 xorg_testset_save_CFLAGS="$CFLAGS"
   4967 
   4968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4973 then :
   4974   printf %s "(cached) " >&6
   4975 else $as_nop
   4976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4977 /* end confdefs.h.  */
   4978 int i;
   4979 _ACEOF
   4980 if ac_fn_c_try_compile "$LINENO"
   4981 then :
   4982   xorg_cv_cc_flag_unknown_warning_option=yes
   4983 else $as_nop
   4984   xorg_cv_cc_flag_unknown_warning_option=no
   4985 fi
   4986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4987 fi
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4991 	CFLAGS="$xorg_testset_save_CFLAGS"
   4992 fi
   4993 
   4994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4997 	fi
   4998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5002 then :
   5003   printf %s "(cached) " >&6
   5004 else $as_nop
   5005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 int i;
   5008 _ACEOF
   5009 if ac_fn_c_try_compile "$LINENO"
   5010 then :
   5011   xorg_cv_cc_flag_unused_command_line_argument=yes
   5012 else $as_nop
   5013   xorg_cv_cc_flag_unused_command_line_argument=no
   5014 fi
   5015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5016 fi
   5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5020 	CFLAGS="$xorg_testset_save_CFLAGS"
   5021 fi
   5022 
   5023 found="no"
   5024 
   5025 	if test $found = "no" ; then
   5026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5028 		fi
   5029 
   5030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5032 		fi
   5033 
   5034 		CFLAGS="$CFLAGS -Wall"
   5035 
   5036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5037 printf %s "checking if $CC supports -Wall... " >&6; }
   5038 		cacheid=xorg_cv_cc_flag__Wall
   5039 		if eval test \${$cacheid+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else $as_nop
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 int
   5047 main (void)
   5048 {
   5049 
   5050   ;
   5051   return 0;
   5052 }
   5053 _ACEOF
   5054 if ac_fn_c_try_link "$LINENO"
   5055 then :
   5056   eval $cacheid=yes
   5057 else $as_nop
   5058   eval $cacheid=no
   5059 fi
   5060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5061     conftest$ac_exeext conftest.$ac_ext
   5062 fi
   5063 
   5064 
   5065 		CFLAGS="$xorg_testset_save_CFLAGS"
   5066 
   5067 		eval supported=\$$cacheid
   5068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5069 printf "%s\n" "$supported" >&6; }
   5070 		if test "$supported" = "yes" ; then
   5071 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5072 			found="yes"
   5073 		fi
   5074 	fi
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 xorg_testset_save_CFLAGS="$CFLAGS"
   5091 
   5092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5097 then :
   5098   printf %s "(cached) " >&6
   5099 else $as_nop
   5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 int i;
   5103 _ACEOF
   5104 if ac_fn_c_try_compile "$LINENO"
   5105 then :
   5106   xorg_cv_cc_flag_unknown_warning_option=yes
   5107 else $as_nop
   5108   xorg_cv_cc_flag_unknown_warning_option=no
   5109 fi
   5110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5111 fi
   5112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5115 	CFLAGS="$xorg_testset_save_CFLAGS"
   5116 fi
   5117 
   5118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5121 	fi
   5122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5126 then :
   5127   printf %s "(cached) " >&6
   5128 else $as_nop
   5129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5130 /* end confdefs.h.  */
   5131 int i;
   5132 _ACEOF
   5133 if ac_fn_c_try_compile "$LINENO"
   5134 then :
   5135   xorg_cv_cc_flag_unused_command_line_argument=yes
   5136 else $as_nop
   5137   xorg_cv_cc_flag_unused_command_line_argument=no
   5138 fi
   5139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5140 fi
   5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5144 	CFLAGS="$xorg_testset_save_CFLAGS"
   5145 fi
   5146 
   5147 found="no"
   5148 
   5149 	if test $found = "no" ; then
   5150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5152 		fi
   5153 
   5154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5156 		fi
   5157 
   5158 		CFLAGS="$CFLAGS -Wpointer-arith"
   5159 
   5160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5161 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5162 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5163 		if eval test \${$cacheid+y}
   5164 then :
   5165   printf %s "(cached) " >&6
   5166 else $as_nop
   5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5168 /* end confdefs.h.  */
   5169 int i;
   5170 int
   5171 main (void)
   5172 {
   5173 
   5174   ;
   5175   return 0;
   5176 }
   5177 _ACEOF
   5178 if ac_fn_c_try_link "$LINENO"
   5179 then :
   5180   eval $cacheid=yes
   5181 else $as_nop
   5182   eval $cacheid=no
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5185     conftest$ac_exeext conftest.$ac_ext
   5186 fi
   5187 
   5188 
   5189 		CFLAGS="$xorg_testset_save_CFLAGS"
   5190 
   5191 		eval supported=\$$cacheid
   5192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5193 printf "%s\n" "$supported" >&6; }
   5194 		if test "$supported" = "yes" ; then
   5195 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5196 			found="yes"
   5197 		fi
   5198 	fi
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 xorg_testset_save_CFLAGS="$CFLAGS"
   5215 
   5216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5221 then :
   5222   printf %s "(cached) " >&6
   5223 else $as_nop
   5224   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_unknown_warning_option=yes
   5231 else $as_nop
   5232   xorg_cv_cc_flag_unknown_warning_option=no
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5235 fi
   5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5239 	CFLAGS="$xorg_testset_save_CFLAGS"
   5240 fi
   5241 
   5242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5245 	fi
   5246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5250 then :
   5251   printf %s "(cached) " >&6
   5252 else $as_nop
   5253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5254 /* end confdefs.h.  */
   5255 int i;
   5256 _ACEOF
   5257 if ac_fn_c_try_compile "$LINENO"
   5258 then :
   5259   xorg_cv_cc_flag_unused_command_line_argument=yes
   5260 else $as_nop
   5261   xorg_cv_cc_flag_unused_command_line_argument=no
   5262 fi
   5263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5264 fi
   5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5266 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5268 	CFLAGS="$xorg_testset_save_CFLAGS"
   5269 fi
   5270 
   5271 found="no"
   5272 
   5273 	if test $found = "no" ; then
   5274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5276 		fi
   5277 
   5278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5280 		fi
   5281 
   5282 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5283 
   5284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5285 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5286 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5287 		if eval test \${$cacheid+y}
   5288 then :
   5289   printf %s "(cached) " >&6
   5290 else $as_nop
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 int
   5295 main (void)
   5296 {
   5297 
   5298   ;
   5299   return 0;
   5300 }
   5301 _ACEOF
   5302 if ac_fn_c_try_link "$LINENO"
   5303 then :
   5304   eval $cacheid=yes
   5305 else $as_nop
   5306   eval $cacheid=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5309     conftest$ac_exeext conftest.$ac_ext
   5310 fi
   5311 
   5312 
   5313 		CFLAGS="$xorg_testset_save_CFLAGS"
   5314 
   5315 		eval supported=\$$cacheid
   5316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5317 printf "%s\n" "$supported" >&6; }
   5318 		if test "$supported" = "yes" ; then
   5319 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5320 			found="yes"
   5321 		fi
   5322 	fi
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 xorg_testset_save_CFLAGS="$CFLAGS"
   5339 
   5340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5345 then :
   5346   printf %s "(cached) " >&6
   5347 else $as_nop
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 _ACEOF
   5352 if ac_fn_c_try_compile "$LINENO"
   5353 then :
   5354   xorg_cv_cc_flag_unknown_warning_option=yes
   5355 else $as_nop
   5356   xorg_cv_cc_flag_unknown_warning_option=no
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5359 fi
   5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5363 	CFLAGS="$xorg_testset_save_CFLAGS"
   5364 fi
   5365 
   5366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5369 	fi
   5370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5374 then :
   5375   printf %s "(cached) " >&6
   5376 else $as_nop
   5377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5378 /* end confdefs.h.  */
   5379 int i;
   5380 _ACEOF
   5381 if ac_fn_c_try_compile "$LINENO"
   5382 then :
   5383   xorg_cv_cc_flag_unused_command_line_argument=yes
   5384 else $as_nop
   5385   xorg_cv_cc_flag_unused_command_line_argument=no
   5386 fi
   5387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5388 fi
   5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5390 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5392 	CFLAGS="$xorg_testset_save_CFLAGS"
   5393 fi
   5394 
   5395 found="no"
   5396 
   5397 	if test $found = "no" ; then
   5398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 		fi
   5401 
   5402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5404 		fi
   5405 
   5406 		CFLAGS="$CFLAGS -Wformat=2"
   5407 
   5408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5409 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5410 		cacheid=xorg_cv_cc_flag__Wformat_2
   5411 		if eval test \${$cacheid+y}
   5412 then :
   5413   printf %s "(cached) " >&6
   5414 else $as_nop
   5415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5416 /* end confdefs.h.  */
   5417 int i;
   5418 int
   5419 main (void)
   5420 {
   5421 
   5422   ;
   5423   return 0;
   5424 }
   5425 _ACEOF
   5426 if ac_fn_c_try_link "$LINENO"
   5427 then :
   5428   eval $cacheid=yes
   5429 else $as_nop
   5430   eval $cacheid=no
   5431 fi
   5432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5433     conftest$ac_exeext conftest.$ac_ext
   5434 fi
   5435 
   5436 
   5437 		CFLAGS="$xorg_testset_save_CFLAGS"
   5438 
   5439 		eval supported=\$$cacheid
   5440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5441 printf "%s\n" "$supported" >&6; }
   5442 		if test "$supported" = "yes" ; then
   5443 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5444 			found="yes"
   5445 		fi
   5446 	fi
   5447 
   5448 	if test $found = "no" ; then
   5449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5451 		fi
   5452 
   5453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5455 		fi
   5456 
   5457 		CFLAGS="$CFLAGS -Wformat"
   5458 
   5459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5460 printf %s "checking if $CC supports -Wformat... " >&6; }
   5461 		cacheid=xorg_cv_cc_flag__Wformat
   5462 		if eval test \${$cacheid+y}
   5463 then :
   5464   printf %s "(cached) " >&6
   5465 else $as_nop
   5466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5467 /* end confdefs.h.  */
   5468 int i;
   5469 int
   5470 main (void)
   5471 {
   5472 
   5473   ;
   5474   return 0;
   5475 }
   5476 _ACEOF
   5477 if ac_fn_c_try_link "$LINENO"
   5478 then :
   5479   eval $cacheid=yes
   5480 else $as_nop
   5481   eval $cacheid=no
   5482 fi
   5483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5484     conftest$ac_exeext conftest.$ac_ext
   5485 fi
   5486 
   5487 
   5488 		CFLAGS="$xorg_testset_save_CFLAGS"
   5489 
   5490 		eval supported=\$$cacheid
   5491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5492 printf "%s\n" "$supported" >&6; }
   5493 		if test "$supported" = "yes" ; then
   5494 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5495 			found="yes"
   5496 		fi
   5497 	fi
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 xorg_testset_save_CFLAGS="$CFLAGS"
   5516 
   5517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5520 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5521 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5522 then :
   5523   printf %s "(cached) " >&6
   5524 else $as_nop
   5525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5526 /* end confdefs.h.  */
   5527 int i;
   5528 _ACEOF
   5529 if ac_fn_c_try_compile "$LINENO"
   5530 then :
   5531   xorg_cv_cc_flag_unknown_warning_option=yes
   5532 else $as_nop
   5533   xorg_cv_cc_flag_unknown_warning_option=no
   5534 fi
   5535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5536 fi
   5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5540 	CFLAGS="$xorg_testset_save_CFLAGS"
   5541 fi
   5542 
   5543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 	fi
   5547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else $as_nop
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"
   5559 then :
   5560   xorg_cv_cc_flag_unused_command_line_argument=yes
   5561 else $as_nop
   5562   xorg_cv_cc_flag_unused_command_line_argument=no
   5563 fi
   5564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5565 fi
   5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5567 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5569 	CFLAGS="$xorg_testset_save_CFLAGS"
   5570 fi
   5571 
   5572 found="no"
   5573 
   5574 	if test $found = "no" ; then
   5575 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5577 		fi
   5578 
   5579 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5581 		fi
   5582 
   5583 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5584 
   5585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5586 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5587 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5588 		if eval test \${$cacheid+y}
   5589 then :
   5590   printf %s "(cached) " >&6
   5591 else $as_nop
   5592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5593 /* end confdefs.h.  */
   5594 int i;
   5595 int
   5596 main (void)
   5597 {
   5598 
   5599   ;
   5600   return 0;
   5601 }
   5602 _ACEOF
   5603 if ac_fn_c_try_link "$LINENO"
   5604 then :
   5605   eval $cacheid=yes
   5606 else $as_nop
   5607   eval $cacheid=no
   5608 fi
   5609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5610     conftest$ac_exeext conftest.$ac_ext
   5611 fi
   5612 
   5613 
   5614 		CFLAGS="$xorg_testset_save_CFLAGS"
   5615 
   5616 		eval supported=\$$cacheid
   5617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5618 printf "%s\n" "$supported" >&6; }
   5619 		if test "$supported" = "yes" ; then
   5620 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5621 			found="yes"
   5622 		fi
   5623 	fi
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 xorg_testset_save_CFLAGS="$CFLAGS"
   5640 
   5641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5644 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5645 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5646 then :
   5647   printf %s "(cached) " >&6
   5648 else $as_nop
   5649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5650 /* end confdefs.h.  */
   5651 int i;
   5652 _ACEOF
   5653 if ac_fn_c_try_compile "$LINENO"
   5654 then :
   5655   xorg_cv_cc_flag_unknown_warning_option=yes
   5656 else $as_nop
   5657   xorg_cv_cc_flag_unknown_warning_option=no
   5658 fi
   5659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5660 fi
   5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5662 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5664 	CFLAGS="$xorg_testset_save_CFLAGS"
   5665 fi
   5666 
   5667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5670 	fi
   5671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5673 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5674 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5675 then :
   5676   printf %s "(cached) " >&6
   5677 else $as_nop
   5678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5679 /* end confdefs.h.  */
   5680 int i;
   5681 _ACEOF
   5682 if ac_fn_c_try_compile "$LINENO"
   5683 then :
   5684   xorg_cv_cc_flag_unused_command_line_argument=yes
   5685 else $as_nop
   5686   xorg_cv_cc_flag_unused_command_line_argument=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5689 fi
   5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5693 	CFLAGS="$xorg_testset_save_CFLAGS"
   5694 fi
   5695 
   5696 found="no"
   5697 
   5698 	if test $found = "no" ; then
   5699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5701 		fi
   5702 
   5703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5705 		fi
   5706 
   5707 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5708 
   5709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5710 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5711 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5712 		if eval test \${$cacheid+y}
   5713 then :
   5714   printf %s "(cached) " >&6
   5715 else $as_nop
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 int
   5720 main (void)
   5721 {
   5722 
   5723   ;
   5724   return 0;
   5725 }
   5726 _ACEOF
   5727 if ac_fn_c_try_link "$LINENO"
   5728 then :
   5729   eval $cacheid=yes
   5730 else $as_nop
   5731   eval $cacheid=no
   5732 fi
   5733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5734     conftest$ac_exeext conftest.$ac_ext
   5735 fi
   5736 
   5737 
   5738 		CFLAGS="$xorg_testset_save_CFLAGS"
   5739 
   5740 		eval supported=\$$cacheid
   5741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5742 printf "%s\n" "$supported" >&6; }
   5743 		if test "$supported" = "yes" ; then
   5744 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5745 			found="yes"
   5746 		fi
   5747 	fi
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 xorg_testset_save_CFLAGS="$CFLAGS"
   5764 
   5765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5768 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5769 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5770 then :
   5771   printf %s "(cached) " >&6
   5772 else $as_nop
   5773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5774 /* end confdefs.h.  */
   5775 int i;
   5776 _ACEOF
   5777 if ac_fn_c_try_compile "$LINENO"
   5778 then :
   5779   xorg_cv_cc_flag_unknown_warning_option=yes
   5780 else $as_nop
   5781   xorg_cv_cc_flag_unknown_warning_option=no
   5782 fi
   5783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5784 fi
   5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5786 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5788 	CFLAGS="$xorg_testset_save_CFLAGS"
   5789 fi
   5790 
   5791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 	fi
   5795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5796 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5797 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5798 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5799 then :
   5800   printf %s "(cached) " >&6
   5801 else $as_nop
   5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5803 /* end confdefs.h.  */
   5804 int i;
   5805 _ACEOF
   5806 if ac_fn_c_try_compile "$LINENO"
   5807 then :
   5808   xorg_cv_cc_flag_unused_command_line_argument=yes
   5809 else $as_nop
   5810   xorg_cv_cc_flag_unused_command_line_argument=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5813 fi
   5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5815 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 found="no"
   5821 
   5822 	if test $found = "no" ; then
   5823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5825 		fi
   5826 
   5827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 		fi
   5830 
   5831 		CFLAGS="$CFLAGS -Wnested-externs"
   5832 
   5833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5834 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5835 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5836 		if eval test \${$cacheid+y}
   5837 then :
   5838   printf %s "(cached) " >&6
   5839 else $as_nop
   5840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 int
   5844 main (void)
   5845 {
   5846 
   5847   ;
   5848   return 0;
   5849 }
   5850 _ACEOF
   5851 if ac_fn_c_try_link "$LINENO"
   5852 then :
   5853   eval $cacheid=yes
   5854 else $as_nop
   5855   eval $cacheid=no
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5858     conftest$ac_exeext conftest.$ac_ext
   5859 fi
   5860 
   5861 
   5862 		CFLAGS="$xorg_testset_save_CFLAGS"
   5863 
   5864 		eval supported=\$$cacheid
   5865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5866 printf "%s\n" "$supported" >&6; }
   5867 		if test "$supported" = "yes" ; then
   5868 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5869 			found="yes"
   5870 		fi
   5871 	fi
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 xorg_testset_save_CFLAGS="$CFLAGS"
   5888 
   5889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5892 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5893 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5894 then :
   5895   printf %s "(cached) " >&6
   5896 else $as_nop
   5897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5898 /* end confdefs.h.  */
   5899 int i;
   5900 _ACEOF
   5901 if ac_fn_c_try_compile "$LINENO"
   5902 then :
   5903   xorg_cv_cc_flag_unknown_warning_option=yes
   5904 else $as_nop
   5905   xorg_cv_cc_flag_unknown_warning_option=no
   5906 fi
   5907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5908 fi
   5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5910 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5912 	CFLAGS="$xorg_testset_save_CFLAGS"
   5913 fi
   5914 
   5915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5918 	fi
   5919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5921 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5922 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5923 then :
   5924   printf %s "(cached) " >&6
   5925 else $as_nop
   5926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5927 /* end confdefs.h.  */
   5928 int i;
   5929 _ACEOF
   5930 if ac_fn_c_try_compile "$LINENO"
   5931 then :
   5932   xorg_cv_cc_flag_unused_command_line_argument=yes
   5933 else $as_nop
   5934   xorg_cv_cc_flag_unused_command_line_argument=no
   5935 fi
   5936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5937 fi
   5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5939 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5941 	CFLAGS="$xorg_testset_save_CFLAGS"
   5942 fi
   5943 
   5944 found="no"
   5945 
   5946 	if test $found = "no" ; then
   5947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 		fi
   5950 
   5951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5953 		fi
   5954 
   5955 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5956 
   5957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5958 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5959 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5960 		if eval test \${$cacheid+y}
   5961 then :
   5962   printf %s "(cached) " >&6
   5963 else $as_nop
   5964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5965 /* end confdefs.h.  */
   5966 int i;
   5967 int
   5968 main (void)
   5969 {
   5970 
   5971   ;
   5972   return 0;
   5973 }
   5974 _ACEOF
   5975 if ac_fn_c_try_link "$LINENO"
   5976 then :
   5977   eval $cacheid=yes
   5978 else $as_nop
   5979   eval $cacheid=no
   5980 fi
   5981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5982     conftest$ac_exeext conftest.$ac_ext
   5983 fi
   5984 
   5985 
   5986 		CFLAGS="$xorg_testset_save_CFLAGS"
   5987 
   5988 		eval supported=\$$cacheid
   5989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5990 printf "%s\n" "$supported" >&6; }
   5991 		if test "$supported" = "yes" ; then
   5992 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5993 			found="yes"
   5994 		fi
   5995 	fi
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 xorg_testset_save_CFLAGS="$CFLAGS"
   6012 
   6013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6016 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6017 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6018 then :
   6019   printf %s "(cached) " >&6
   6020 else $as_nop
   6021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6022 /* end confdefs.h.  */
   6023 int i;
   6024 _ACEOF
   6025 if ac_fn_c_try_compile "$LINENO"
   6026 then :
   6027   xorg_cv_cc_flag_unknown_warning_option=yes
   6028 else $as_nop
   6029   xorg_cv_cc_flag_unknown_warning_option=no
   6030 fi
   6031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6032 fi
   6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6034 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6036 	CFLAGS="$xorg_testset_save_CFLAGS"
   6037 fi
   6038 
   6039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6042 	fi
   6043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6045 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6046 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6047 then :
   6048   printf %s "(cached) " >&6
   6049 else $as_nop
   6050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6051 /* end confdefs.h.  */
   6052 int i;
   6053 _ACEOF
   6054 if ac_fn_c_try_compile "$LINENO"
   6055 then :
   6056   xorg_cv_cc_flag_unused_command_line_argument=yes
   6057 else $as_nop
   6058   xorg_cv_cc_flag_unused_command_line_argument=no
   6059 fi
   6060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6061 fi
   6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6063 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6065 	CFLAGS="$xorg_testset_save_CFLAGS"
   6066 fi
   6067 
   6068 found="no"
   6069 
   6070 	if test $found = "no" ; then
   6071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6073 		fi
   6074 
   6075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6077 		fi
   6078 
   6079 		CFLAGS="$CFLAGS -Wold-style-definition"
   6080 
   6081 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6082 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6083 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6084 		if eval test \${$cacheid+y}
   6085 then :
   6086   printf %s "(cached) " >&6
   6087 else $as_nop
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 int
   6092 main (void)
   6093 {
   6094 
   6095   ;
   6096   return 0;
   6097 }
   6098 _ACEOF
   6099 if ac_fn_c_try_link "$LINENO"
   6100 then :
   6101   eval $cacheid=yes
   6102 else $as_nop
   6103   eval $cacheid=no
   6104 fi
   6105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6106     conftest$ac_exeext conftest.$ac_ext
   6107 fi
   6108 
   6109 
   6110 		CFLAGS="$xorg_testset_save_CFLAGS"
   6111 
   6112 		eval supported=\$$cacheid
   6113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6114 printf "%s\n" "$supported" >&6; }
   6115 		if test "$supported" = "yes" ; then
   6116 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6117 			found="yes"
   6118 		fi
   6119 	fi
   6120 
   6121 	if test $found = "no" ; then
   6122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 		fi
   6125 
   6126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6128 		fi
   6129 
   6130 		CFLAGS="$CFLAGS -fd"
   6131 
   6132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6133 printf %s "checking if $CC supports -fd... " >&6; }
   6134 		cacheid=xorg_cv_cc_flag__fd
   6135 		if eval test \${$cacheid+y}
   6136 then :
   6137   printf %s "(cached) " >&6
   6138 else $as_nop
   6139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6140 /* end confdefs.h.  */
   6141 int i;
   6142 int
   6143 main (void)
   6144 {
   6145 
   6146   ;
   6147   return 0;
   6148 }
   6149 _ACEOF
   6150 if ac_fn_c_try_link "$LINENO"
   6151 then :
   6152   eval $cacheid=yes
   6153 else $as_nop
   6154   eval $cacheid=no
   6155 fi
   6156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6157     conftest$ac_exeext conftest.$ac_ext
   6158 fi
   6159 
   6160 
   6161 		CFLAGS="$xorg_testset_save_CFLAGS"
   6162 
   6163 		eval supported=\$$cacheid
   6164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6165 printf "%s\n" "$supported" >&6; }
   6166 		if test "$supported" = "yes" ; then
   6167 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6168 			found="yes"
   6169 		fi
   6170 	fi
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 xorg_testset_save_CFLAGS="$CFLAGS"
   6187 
   6188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6191 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6192 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else $as_nop
   6196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"
   6201 then :
   6202   xorg_cv_cc_flag_unknown_warning_option=yes
   6203 else $as_nop
   6204   xorg_cv_cc_flag_unknown_warning_option=no
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6207 fi
   6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6209 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6211 	CFLAGS="$xorg_testset_save_CFLAGS"
   6212 fi
   6213 
   6214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6217 	fi
   6218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6219 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6220 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6221 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6222 then :
   6223   printf %s "(cached) " >&6
   6224 else $as_nop
   6225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6226 /* end confdefs.h.  */
   6227 int i;
   6228 _ACEOF
   6229 if ac_fn_c_try_compile "$LINENO"
   6230 then :
   6231   xorg_cv_cc_flag_unused_command_line_argument=yes
   6232 else $as_nop
   6233   xorg_cv_cc_flag_unused_command_line_argument=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6236 fi
   6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6238 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6240 	CFLAGS="$xorg_testset_save_CFLAGS"
   6241 fi
   6242 
   6243 found="no"
   6244 
   6245 	if test $found = "no" ; then
   6246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 		fi
   6249 
   6250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6252 		fi
   6253 
   6254 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6255 
   6256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6257 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6258 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6259 		if eval test \${$cacheid+y}
   6260 then :
   6261   printf %s "(cached) " >&6
   6262 else $as_nop
   6263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6264 /* end confdefs.h.  */
   6265 int i;
   6266 int
   6267 main (void)
   6268 {
   6269 
   6270   ;
   6271   return 0;
   6272 }
   6273 _ACEOF
   6274 if ac_fn_c_try_link "$LINENO"
   6275 then :
   6276   eval $cacheid=yes
   6277 else $as_nop
   6278   eval $cacheid=no
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6281     conftest$ac_exeext conftest.$ac_ext
   6282 fi
   6283 
   6284 
   6285 		CFLAGS="$xorg_testset_save_CFLAGS"
   6286 
   6287 		eval supported=\$$cacheid
   6288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6289 printf "%s\n" "$supported" >&6; }
   6290 		if test "$supported" = "yes" ; then
   6291 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6292 			found="yes"
   6293 		fi
   6294 	fi
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 # This chunk adds additional warnings that could catch undesired effects.
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 xorg_testset_save_CFLAGS="$CFLAGS"
   6315 
   6316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6321 then :
   6322   printf %s "(cached) " >&6
   6323 else $as_nop
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 int i;
   6327 _ACEOF
   6328 if ac_fn_c_try_compile "$LINENO"
   6329 then :
   6330   xorg_cv_cc_flag_unknown_warning_option=yes
   6331 else $as_nop
   6332   xorg_cv_cc_flag_unknown_warning_option=no
   6333 fi
   6334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6335 fi
   6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6339 	CFLAGS="$xorg_testset_save_CFLAGS"
   6340 fi
   6341 
   6342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 	fi
   6346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6350 then :
   6351   printf %s "(cached) " >&6
   6352 else $as_nop
   6353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6354 /* end confdefs.h.  */
   6355 int i;
   6356 _ACEOF
   6357 if ac_fn_c_try_compile "$LINENO"
   6358 then :
   6359   xorg_cv_cc_flag_unused_command_line_argument=yes
   6360 else $as_nop
   6361   xorg_cv_cc_flag_unused_command_line_argument=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6364 fi
   6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6366 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6368 	CFLAGS="$xorg_testset_save_CFLAGS"
   6369 fi
   6370 
   6371 found="no"
   6372 
   6373 	if test $found = "no" ; then
   6374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6376 		fi
   6377 
   6378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6380 		fi
   6381 
   6382 		CFLAGS="$CFLAGS -Wunused"
   6383 
   6384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6385 printf %s "checking if $CC supports -Wunused... " >&6; }
   6386 		cacheid=xorg_cv_cc_flag__Wunused
   6387 		if eval test \${$cacheid+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else $as_nop
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 int
   6395 main (void)
   6396 {
   6397 
   6398   ;
   6399   return 0;
   6400 }
   6401 _ACEOF
   6402 if ac_fn_c_try_link "$LINENO"
   6403 then :
   6404   eval $cacheid=yes
   6405 else $as_nop
   6406   eval $cacheid=no
   6407 fi
   6408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6409     conftest$ac_exeext conftest.$ac_ext
   6410 fi
   6411 
   6412 
   6413 		CFLAGS="$xorg_testset_save_CFLAGS"
   6414 
   6415 		eval supported=\$$cacheid
   6416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6417 printf "%s\n" "$supported" >&6; }
   6418 		if test "$supported" = "yes" ; then
   6419 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6420 			found="yes"
   6421 		fi
   6422 	fi
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 xorg_testset_save_CFLAGS="$CFLAGS"
   6439 
   6440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6443 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6444 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6445 then :
   6446   printf %s "(cached) " >&6
   6447 else $as_nop
   6448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6449 /* end confdefs.h.  */
   6450 int i;
   6451 _ACEOF
   6452 if ac_fn_c_try_compile "$LINENO"
   6453 then :
   6454   xorg_cv_cc_flag_unknown_warning_option=yes
   6455 else $as_nop
   6456   xorg_cv_cc_flag_unknown_warning_option=no
   6457 fi
   6458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6459 fi
   6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6463 	CFLAGS="$xorg_testset_save_CFLAGS"
   6464 fi
   6465 
   6466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6469 	fi
   6470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6474 then :
   6475   printf %s "(cached) " >&6
   6476 else $as_nop
   6477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6478 /* end confdefs.h.  */
   6479 int i;
   6480 _ACEOF
   6481 if ac_fn_c_try_compile "$LINENO"
   6482 then :
   6483   xorg_cv_cc_flag_unused_command_line_argument=yes
   6484 else $as_nop
   6485   xorg_cv_cc_flag_unused_command_line_argument=no
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6488 fi
   6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6490 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6492 	CFLAGS="$xorg_testset_save_CFLAGS"
   6493 fi
   6494 
   6495 found="no"
   6496 
   6497 	if test $found = "no" ; then
   6498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6500 		fi
   6501 
   6502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6504 		fi
   6505 
   6506 		CFLAGS="$CFLAGS -Wuninitialized"
   6507 
   6508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6509 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6510 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6511 		if eval test \${$cacheid+y}
   6512 then :
   6513   printf %s "(cached) " >&6
   6514 else $as_nop
   6515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 int
   6519 main (void)
   6520 {
   6521 
   6522   ;
   6523   return 0;
   6524 }
   6525 _ACEOF
   6526 if ac_fn_c_try_link "$LINENO"
   6527 then :
   6528   eval $cacheid=yes
   6529 else $as_nop
   6530   eval $cacheid=no
   6531 fi
   6532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6533     conftest$ac_exeext conftest.$ac_ext
   6534 fi
   6535 
   6536 
   6537 		CFLAGS="$xorg_testset_save_CFLAGS"
   6538 
   6539 		eval supported=\$$cacheid
   6540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6541 printf "%s\n" "$supported" >&6; }
   6542 		if test "$supported" = "yes" ; then
   6543 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6544 			found="yes"
   6545 		fi
   6546 	fi
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 xorg_testset_save_CFLAGS="$CFLAGS"
   6563 
   6564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6569 then :
   6570   printf %s "(cached) " >&6
   6571 else $as_nop
   6572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 _ACEOF
   6576 if ac_fn_c_try_compile "$LINENO"
   6577 then :
   6578   xorg_cv_cc_flag_unknown_warning_option=yes
   6579 else $as_nop
   6580   xorg_cv_cc_flag_unknown_warning_option=no
   6581 fi
   6582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6583 fi
   6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6585 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6587 	CFLAGS="$xorg_testset_save_CFLAGS"
   6588 fi
   6589 
   6590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 	fi
   6594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6596 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6597 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6598 then :
   6599   printf %s "(cached) " >&6
   6600 else $as_nop
   6601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6602 /* end confdefs.h.  */
   6603 int i;
   6604 _ACEOF
   6605 if ac_fn_c_try_compile "$LINENO"
   6606 then :
   6607   xorg_cv_cc_flag_unused_command_line_argument=yes
   6608 else $as_nop
   6609   xorg_cv_cc_flag_unused_command_line_argument=no
   6610 fi
   6611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6612 fi
   6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6614 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6616 	CFLAGS="$xorg_testset_save_CFLAGS"
   6617 fi
   6618 
   6619 found="no"
   6620 
   6621 	if test $found = "no" ; then
   6622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6624 		fi
   6625 
   6626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6628 		fi
   6629 
   6630 		CFLAGS="$CFLAGS -Wshadow"
   6631 
   6632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6633 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6634 		cacheid=xorg_cv_cc_flag__Wshadow
   6635 		if eval test \${$cacheid+y}
   6636 then :
   6637   printf %s "(cached) " >&6
   6638 else $as_nop
   6639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6640 /* end confdefs.h.  */
   6641 int i;
   6642 int
   6643 main (void)
   6644 {
   6645 
   6646   ;
   6647   return 0;
   6648 }
   6649 _ACEOF
   6650 if ac_fn_c_try_link "$LINENO"
   6651 then :
   6652   eval $cacheid=yes
   6653 else $as_nop
   6654   eval $cacheid=no
   6655 fi
   6656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6657     conftest$ac_exeext conftest.$ac_ext
   6658 fi
   6659 
   6660 
   6661 		CFLAGS="$xorg_testset_save_CFLAGS"
   6662 
   6663 		eval supported=\$$cacheid
   6664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6665 printf "%s\n" "$supported" >&6; }
   6666 		if test "$supported" = "yes" ; then
   6667 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6668 			found="yes"
   6669 		fi
   6670 	fi
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 xorg_testset_save_CFLAGS="$CFLAGS"
   6687 
   6688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6693 then :
   6694   printf %s "(cached) " >&6
   6695 else $as_nop
   6696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6697 /* end confdefs.h.  */
   6698 int i;
   6699 _ACEOF
   6700 if ac_fn_c_try_compile "$LINENO"
   6701 then :
   6702   xorg_cv_cc_flag_unknown_warning_option=yes
   6703 else $as_nop
   6704   xorg_cv_cc_flag_unknown_warning_option=no
   6705 fi
   6706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6707 fi
   6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6709 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6711 	CFLAGS="$xorg_testset_save_CFLAGS"
   6712 fi
   6713 
   6714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6717 	fi
   6718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6720 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6721 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6722 then :
   6723   printf %s "(cached) " >&6
   6724 else $as_nop
   6725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 int i;
   6728 _ACEOF
   6729 if ac_fn_c_try_compile "$LINENO"
   6730 then :
   6731   xorg_cv_cc_flag_unused_command_line_argument=yes
   6732 else $as_nop
   6733   xorg_cv_cc_flag_unused_command_line_argument=no
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6736 fi
   6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6738 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6740 	CFLAGS="$xorg_testset_save_CFLAGS"
   6741 fi
   6742 
   6743 found="no"
   6744 
   6745 	if test $found = "no" ; then
   6746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 		fi
   6749 
   6750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6752 		fi
   6753 
   6754 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6755 
   6756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6757 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6758 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6759 		if eval test \${$cacheid+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else $as_nop
   6763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 int
   6767 main (void)
   6768 {
   6769 
   6770   ;
   6771   return 0;
   6772 }
   6773 _ACEOF
   6774 if ac_fn_c_try_link "$LINENO"
   6775 then :
   6776   eval $cacheid=yes
   6777 else $as_nop
   6778   eval $cacheid=no
   6779 fi
   6780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6781     conftest$ac_exeext conftest.$ac_ext
   6782 fi
   6783 
   6784 
   6785 		CFLAGS="$xorg_testset_save_CFLAGS"
   6786 
   6787 		eval supported=\$$cacheid
   6788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6789 printf "%s\n" "$supported" >&6; }
   6790 		if test "$supported" = "yes" ; then
   6791 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6792 			found="yes"
   6793 		fi
   6794 	fi
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 xorg_testset_save_CFLAGS="$CFLAGS"
   6811 
   6812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6815 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6816 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6817 then :
   6818   printf %s "(cached) " >&6
   6819 else $as_nop
   6820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6821 /* end confdefs.h.  */
   6822 int i;
   6823 _ACEOF
   6824 if ac_fn_c_try_compile "$LINENO"
   6825 then :
   6826   xorg_cv_cc_flag_unknown_warning_option=yes
   6827 else $as_nop
   6828   xorg_cv_cc_flag_unknown_warning_option=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6831 fi
   6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6833 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6835 	CFLAGS="$xorg_testset_save_CFLAGS"
   6836 fi
   6837 
   6838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 	fi
   6842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6844 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6845 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6846 then :
   6847   printf %s "(cached) " >&6
   6848 else $as_nop
   6849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6850 /* end confdefs.h.  */
   6851 int i;
   6852 _ACEOF
   6853 if ac_fn_c_try_compile "$LINENO"
   6854 then :
   6855   xorg_cv_cc_flag_unused_command_line_argument=yes
   6856 else $as_nop
   6857   xorg_cv_cc_flag_unused_command_line_argument=no
   6858 fi
   6859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6860 fi
   6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6862 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6864 	CFLAGS="$xorg_testset_save_CFLAGS"
   6865 fi
   6866 
   6867 found="no"
   6868 
   6869 	if test $found = "no" ; then
   6870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6872 		fi
   6873 
   6874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6876 		fi
   6877 
   6878 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6879 
   6880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6881 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6882 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6883 		if eval test \${$cacheid+y}
   6884 then :
   6885   printf %s "(cached) " >&6
   6886 else $as_nop
   6887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6888 /* end confdefs.h.  */
   6889 int i;
   6890 int
   6891 main (void)
   6892 {
   6893 
   6894   ;
   6895   return 0;
   6896 }
   6897 _ACEOF
   6898 if ac_fn_c_try_link "$LINENO"
   6899 then :
   6900   eval $cacheid=yes
   6901 else $as_nop
   6902   eval $cacheid=no
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6905     conftest$ac_exeext conftest.$ac_ext
   6906 fi
   6907 
   6908 
   6909 		CFLAGS="$xorg_testset_save_CFLAGS"
   6910 
   6911 		eval supported=\$$cacheid
   6912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6913 printf "%s\n" "$supported" >&6; }
   6914 		if test "$supported" = "yes" ; then
   6915 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6916 			found="yes"
   6917 		fi
   6918 	fi
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 xorg_testset_save_CFLAGS="$CFLAGS"
   6935 
   6936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6938 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6939 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6940 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6941 then :
   6942   printf %s "(cached) " >&6
   6943 else $as_nop
   6944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6945 /* end confdefs.h.  */
   6946 int i;
   6947 _ACEOF
   6948 if ac_fn_c_try_compile "$LINENO"
   6949 then :
   6950   xorg_cv_cc_flag_unknown_warning_option=yes
   6951 else $as_nop
   6952   xorg_cv_cc_flag_unknown_warning_option=no
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6955 fi
   6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6957 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6959 	CFLAGS="$xorg_testset_save_CFLAGS"
   6960 fi
   6961 
   6962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6965 	fi
   6966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6968 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6969 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6970 then :
   6971   printf %s "(cached) " >&6
   6972 else $as_nop
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 _ACEOF
   6977 if ac_fn_c_try_compile "$LINENO"
   6978 then :
   6979   xorg_cv_cc_flag_unused_command_line_argument=yes
   6980 else $as_nop
   6981   xorg_cv_cc_flag_unused_command_line_argument=no
   6982 fi
   6983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6984 fi
   6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6986 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6988 	CFLAGS="$xorg_testset_save_CFLAGS"
   6989 fi
   6990 
   6991 found="no"
   6992 
   6993 	if test $found = "no" ; then
   6994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6996 		fi
   6997 
   6998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7000 		fi
   7001 
   7002 		CFLAGS="$CFLAGS -Wredundant-decls"
   7003 
   7004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7005 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7006 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7007 		if eval test \${$cacheid+y}
   7008 then :
   7009   printf %s "(cached) " >&6
   7010 else $as_nop
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 int
   7015 main (void)
   7016 {
   7017 
   7018   ;
   7019   return 0;
   7020 }
   7021 _ACEOF
   7022 if ac_fn_c_try_link "$LINENO"
   7023 then :
   7024   eval $cacheid=yes
   7025 else $as_nop
   7026   eval $cacheid=no
   7027 fi
   7028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7029     conftest$ac_exeext conftest.$ac_ext
   7030 fi
   7031 
   7032 
   7033 		CFLAGS="$xorg_testset_save_CFLAGS"
   7034 
   7035 		eval supported=\$$cacheid
   7036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7037 printf "%s\n" "$supported" >&6; }
   7038 		if test "$supported" = "yes" ; then
   7039 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7040 			found="yes"
   7041 		fi
   7042 	fi
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 xorg_testset_save_CFLAGS="$CFLAGS"
   7059 
   7060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7063 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7064 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7065 then :
   7066   printf %s "(cached) " >&6
   7067 else $as_nop
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 _ACEOF
   7072 if ac_fn_c_try_compile "$LINENO"
   7073 then :
   7074   xorg_cv_cc_flag_unknown_warning_option=yes
   7075 else $as_nop
   7076   xorg_cv_cc_flag_unknown_warning_option=no
   7077 fi
   7078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7079 fi
   7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7081 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7083 	CFLAGS="$xorg_testset_save_CFLAGS"
   7084 fi
   7085 
   7086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7089 	fi
   7090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7092 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7093 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7094 then :
   7095   printf %s "(cached) " >&6
   7096 else $as_nop
   7097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7098 /* end confdefs.h.  */
   7099 int i;
   7100 _ACEOF
   7101 if ac_fn_c_try_compile "$LINENO"
   7102 then :
   7103   xorg_cv_cc_flag_unused_command_line_argument=yes
   7104 else $as_nop
   7105   xorg_cv_cc_flag_unused_command_line_argument=no
   7106 fi
   7107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7108 fi
   7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7110 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7111 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7112 	CFLAGS="$xorg_testset_save_CFLAGS"
   7113 fi
   7114 
   7115 found="no"
   7116 
   7117 	if test $found = "no" ; then
   7118 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7120 		fi
   7121 
   7122 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7124 		fi
   7125 
   7126 		CFLAGS="$CFLAGS -Wlogical-op"
   7127 
   7128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7129 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7130 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7131 		if eval test \${$cacheid+y}
   7132 then :
   7133   printf %s "(cached) " >&6
   7134 else $as_nop
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 int
   7139 main (void)
   7140 {
   7141 
   7142   ;
   7143   return 0;
   7144 }
   7145 _ACEOF
   7146 if ac_fn_c_try_link "$LINENO"
   7147 then :
   7148   eval $cacheid=yes
   7149 else $as_nop
   7150   eval $cacheid=no
   7151 fi
   7152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7153     conftest$ac_exeext conftest.$ac_ext
   7154 fi
   7155 
   7156 
   7157 		CFLAGS="$xorg_testset_save_CFLAGS"
   7158 
   7159 		eval supported=\$$cacheid
   7160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7161 printf "%s\n" "$supported" >&6; }
   7162 		if test "$supported" = "yes" ; then
   7163 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7164 			found="yes"
   7165 		fi
   7166 	fi
   7167 
   7168 
   7169 
   7170 # These are currently disabled because they are noisy.  They will be enabled
   7171 # in the future once the codebase is sufficiently modernized to silence
   7172 # them.  For now, I don't want them to drown out the other warnings.
   7173 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7174 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7175 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7176 
   7177 # Turn some warnings into errors, so we don't accidently get successful builds
   7178 # when there are problems that should be fixed.
   7179 
   7180 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 xorg_testset_save_CFLAGS="$CFLAGS"
   7195 
   7196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7201 then :
   7202   printf %s "(cached) " >&6
   7203 else $as_nop
   7204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7205 /* end confdefs.h.  */
   7206 int i;
   7207 _ACEOF
   7208 if ac_fn_c_try_compile "$LINENO"
   7209 then :
   7210   xorg_cv_cc_flag_unknown_warning_option=yes
   7211 else $as_nop
   7212   xorg_cv_cc_flag_unknown_warning_option=no
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7215 fi
   7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7219 	CFLAGS="$xorg_testset_save_CFLAGS"
   7220 fi
   7221 
   7222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7225 	fi
   7226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7230 then :
   7231   printf %s "(cached) " >&6
   7232 else $as_nop
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 int i;
   7236 _ACEOF
   7237 if ac_fn_c_try_compile "$LINENO"
   7238 then :
   7239   xorg_cv_cc_flag_unused_command_line_argument=yes
   7240 else $as_nop
   7241   xorg_cv_cc_flag_unused_command_line_argument=no
   7242 fi
   7243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7244 fi
   7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7248 	CFLAGS="$xorg_testset_save_CFLAGS"
   7249 fi
   7250 
   7251 found="no"
   7252 
   7253 	if test $found = "no" ; then
   7254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 		fi
   7257 
   7258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7260 		fi
   7261 
   7262 		CFLAGS="$CFLAGS -Werror=implicit"
   7263 
   7264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7265 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7266 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7267 		if eval test \${$cacheid+y}
   7268 then :
   7269   printf %s "(cached) " >&6
   7270 else $as_nop
   7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 int i;
   7274 int
   7275 main (void)
   7276 {
   7277 
   7278   ;
   7279   return 0;
   7280 }
   7281 _ACEOF
   7282 if ac_fn_c_try_link "$LINENO"
   7283 then :
   7284   eval $cacheid=yes
   7285 else $as_nop
   7286   eval $cacheid=no
   7287 fi
   7288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7289     conftest$ac_exeext conftest.$ac_ext
   7290 fi
   7291 
   7292 
   7293 		CFLAGS="$xorg_testset_save_CFLAGS"
   7294 
   7295 		eval supported=\$$cacheid
   7296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7297 printf "%s\n" "$supported" >&6; }
   7298 		if test "$supported" = "yes" ; then
   7299 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7300 			found="yes"
   7301 		fi
   7302 	fi
   7303 
   7304 	if test $found = "no" ; then
   7305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7307 		fi
   7308 
   7309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 		fi
   7312 
   7313 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7314 
   7315 		{ 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
   7316 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7317 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7318 		if eval test \${$cacheid+y}
   7319 then :
   7320   printf %s "(cached) " >&6
   7321 else $as_nop
   7322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7323 /* end confdefs.h.  */
   7324 int i;
   7325 int
   7326 main (void)
   7327 {
   7328 
   7329   ;
   7330   return 0;
   7331 }
   7332 _ACEOF
   7333 if ac_fn_c_try_link "$LINENO"
   7334 then :
   7335   eval $cacheid=yes
   7336 else $as_nop
   7337   eval $cacheid=no
   7338 fi
   7339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7340     conftest$ac_exeext conftest.$ac_ext
   7341 fi
   7342 
   7343 
   7344 		CFLAGS="$xorg_testset_save_CFLAGS"
   7345 
   7346 		eval supported=\$$cacheid
   7347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7348 printf "%s\n" "$supported" >&6; }
   7349 		if test "$supported" = "yes" ; then
   7350 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7351 			found="yes"
   7352 		fi
   7353 	fi
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 xorg_testset_save_CFLAGS="$CFLAGS"
   7370 
   7371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7376 then :
   7377   printf %s "(cached) " >&6
   7378 else $as_nop
   7379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7380 /* end confdefs.h.  */
   7381 int i;
   7382 _ACEOF
   7383 if ac_fn_c_try_compile "$LINENO"
   7384 then :
   7385   xorg_cv_cc_flag_unknown_warning_option=yes
   7386 else $as_nop
   7387   xorg_cv_cc_flag_unknown_warning_option=no
   7388 fi
   7389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7390 fi
   7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7392 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7394 	CFLAGS="$xorg_testset_save_CFLAGS"
   7395 fi
   7396 
   7397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7400 	fi
   7401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7403 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7404 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7405 then :
   7406   printf %s "(cached) " >&6
   7407 else $as_nop
   7408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7409 /* end confdefs.h.  */
   7410 int i;
   7411 _ACEOF
   7412 if ac_fn_c_try_compile "$LINENO"
   7413 then :
   7414   xorg_cv_cc_flag_unused_command_line_argument=yes
   7415 else $as_nop
   7416   xorg_cv_cc_flag_unused_command_line_argument=no
   7417 fi
   7418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7419 fi
   7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7421 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7423 	CFLAGS="$xorg_testset_save_CFLAGS"
   7424 fi
   7425 
   7426 found="no"
   7427 
   7428 	if test $found = "no" ; then
   7429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 		fi
   7432 
   7433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7435 		fi
   7436 
   7437 		CFLAGS="$CFLAGS -Werror=nonnull"
   7438 
   7439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7440 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7441 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7442 		if eval test \${$cacheid+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else $as_nop
   7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 int i;
   7449 int
   7450 main (void)
   7451 {
   7452 
   7453   ;
   7454   return 0;
   7455 }
   7456 _ACEOF
   7457 if ac_fn_c_try_link "$LINENO"
   7458 then :
   7459   eval $cacheid=yes
   7460 else $as_nop
   7461   eval $cacheid=no
   7462 fi
   7463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7464     conftest$ac_exeext conftest.$ac_ext
   7465 fi
   7466 
   7467 
   7468 		CFLAGS="$xorg_testset_save_CFLAGS"
   7469 
   7470 		eval supported=\$$cacheid
   7471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7472 printf "%s\n" "$supported" >&6; }
   7473 		if test "$supported" = "yes" ; then
   7474 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7475 			found="yes"
   7476 		fi
   7477 	fi
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 xorg_testset_save_CFLAGS="$CFLAGS"
   7494 
   7495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7500 then :
   7501   printf %s "(cached) " >&6
   7502 else $as_nop
   7503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7504 /* end confdefs.h.  */
   7505 int i;
   7506 _ACEOF
   7507 if ac_fn_c_try_compile "$LINENO"
   7508 then :
   7509   xorg_cv_cc_flag_unknown_warning_option=yes
   7510 else $as_nop
   7511   xorg_cv_cc_flag_unknown_warning_option=no
   7512 fi
   7513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7514 fi
   7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7516 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7518 	CFLAGS="$xorg_testset_save_CFLAGS"
   7519 fi
   7520 
   7521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7524 	fi
   7525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7527 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7528 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7529 then :
   7530   printf %s "(cached) " >&6
   7531 else $as_nop
   7532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7533 /* end confdefs.h.  */
   7534 int i;
   7535 _ACEOF
   7536 if ac_fn_c_try_compile "$LINENO"
   7537 then :
   7538   xorg_cv_cc_flag_unused_command_line_argument=yes
   7539 else $as_nop
   7540   xorg_cv_cc_flag_unused_command_line_argument=no
   7541 fi
   7542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7543 fi
   7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7547 	CFLAGS="$xorg_testset_save_CFLAGS"
   7548 fi
   7549 
   7550 found="no"
   7551 
   7552 	if test $found = "no" ; then
   7553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7555 		fi
   7556 
   7557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7559 		fi
   7560 
   7561 		CFLAGS="$CFLAGS -Werror=init-self"
   7562 
   7563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7564 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7565 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7566 		if eval test \${$cacheid+y}
   7567 then :
   7568   printf %s "(cached) " >&6
   7569 else $as_nop
   7570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7571 /* end confdefs.h.  */
   7572 int i;
   7573 int
   7574 main (void)
   7575 {
   7576 
   7577   ;
   7578   return 0;
   7579 }
   7580 _ACEOF
   7581 if ac_fn_c_try_link "$LINENO"
   7582 then :
   7583   eval $cacheid=yes
   7584 else $as_nop
   7585   eval $cacheid=no
   7586 fi
   7587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7588     conftest$ac_exeext conftest.$ac_ext
   7589 fi
   7590 
   7591 
   7592 		CFLAGS="$xorg_testset_save_CFLAGS"
   7593 
   7594 		eval supported=\$$cacheid
   7595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7596 printf "%s\n" "$supported" >&6; }
   7597 		if test "$supported" = "yes" ; then
   7598 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7599 			found="yes"
   7600 		fi
   7601 	fi
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 xorg_testset_save_CFLAGS="$CFLAGS"
   7618 
   7619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7622 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7623 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7624 then :
   7625   printf %s "(cached) " >&6
   7626 else $as_nop
   7627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7628 /* end confdefs.h.  */
   7629 int i;
   7630 _ACEOF
   7631 if ac_fn_c_try_compile "$LINENO"
   7632 then :
   7633   xorg_cv_cc_flag_unknown_warning_option=yes
   7634 else $as_nop
   7635   xorg_cv_cc_flag_unknown_warning_option=no
   7636 fi
   7637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7638 fi
   7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7640 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7642 	CFLAGS="$xorg_testset_save_CFLAGS"
   7643 fi
   7644 
   7645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7648 	fi
   7649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7651 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7652 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7653 then :
   7654   printf %s "(cached) " >&6
   7655 else $as_nop
   7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 int i;
   7659 _ACEOF
   7660 if ac_fn_c_try_compile "$LINENO"
   7661 then :
   7662   xorg_cv_cc_flag_unused_command_line_argument=yes
   7663 else $as_nop
   7664   xorg_cv_cc_flag_unused_command_line_argument=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7667 fi
   7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7669 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7671 	CFLAGS="$xorg_testset_save_CFLAGS"
   7672 fi
   7673 
   7674 found="no"
   7675 
   7676 	if test $found = "no" ; then
   7677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7679 		fi
   7680 
   7681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7683 		fi
   7684 
   7685 		CFLAGS="$CFLAGS -Werror=main"
   7686 
   7687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7688 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7689 		cacheid=xorg_cv_cc_flag__Werror_main
   7690 		if eval test \${$cacheid+y}
   7691 then :
   7692   printf %s "(cached) " >&6
   7693 else $as_nop
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 int
   7698 main (void)
   7699 {
   7700 
   7701   ;
   7702   return 0;
   7703 }
   7704 _ACEOF
   7705 if ac_fn_c_try_link "$LINENO"
   7706 then :
   7707   eval $cacheid=yes
   7708 else $as_nop
   7709   eval $cacheid=no
   7710 fi
   7711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7712     conftest$ac_exeext conftest.$ac_ext
   7713 fi
   7714 
   7715 
   7716 		CFLAGS="$xorg_testset_save_CFLAGS"
   7717 
   7718 		eval supported=\$$cacheid
   7719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7720 printf "%s\n" "$supported" >&6; }
   7721 		if test "$supported" = "yes" ; then
   7722 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7723 			found="yes"
   7724 		fi
   7725 	fi
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 xorg_testset_save_CFLAGS="$CFLAGS"
   7742 
   7743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7748 then :
   7749   printf %s "(cached) " >&6
   7750 else $as_nop
   7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 int i;
   7754 _ACEOF
   7755 if ac_fn_c_try_compile "$LINENO"
   7756 then :
   7757   xorg_cv_cc_flag_unknown_warning_option=yes
   7758 else $as_nop
   7759   xorg_cv_cc_flag_unknown_warning_option=no
   7760 fi
   7761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7762 fi
   7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7766 	CFLAGS="$xorg_testset_save_CFLAGS"
   7767 fi
   7768 
   7769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 	fi
   7773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7777 then :
   7778   printf %s "(cached) " >&6
   7779 else $as_nop
   7780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7781 /* end confdefs.h.  */
   7782 int i;
   7783 _ACEOF
   7784 if ac_fn_c_try_compile "$LINENO"
   7785 then :
   7786   xorg_cv_cc_flag_unused_command_line_argument=yes
   7787 else $as_nop
   7788   xorg_cv_cc_flag_unused_command_line_argument=no
   7789 fi
   7790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7791 fi
   7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7795 	CFLAGS="$xorg_testset_save_CFLAGS"
   7796 fi
   7797 
   7798 found="no"
   7799 
   7800 	if test $found = "no" ; then
   7801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7803 		fi
   7804 
   7805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7807 		fi
   7808 
   7809 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7810 
   7811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7812 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7813 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7814 		if eval test \${$cacheid+y}
   7815 then :
   7816   printf %s "(cached) " >&6
   7817 else $as_nop
   7818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7819 /* end confdefs.h.  */
   7820 int i;
   7821 int
   7822 main (void)
   7823 {
   7824 
   7825   ;
   7826   return 0;
   7827 }
   7828 _ACEOF
   7829 if ac_fn_c_try_link "$LINENO"
   7830 then :
   7831   eval $cacheid=yes
   7832 else $as_nop
   7833   eval $cacheid=no
   7834 fi
   7835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7836     conftest$ac_exeext conftest.$ac_ext
   7837 fi
   7838 
   7839 
   7840 		CFLAGS="$xorg_testset_save_CFLAGS"
   7841 
   7842 		eval supported=\$$cacheid
   7843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7844 printf "%s\n" "$supported" >&6; }
   7845 		if test "$supported" = "yes" ; then
   7846 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7847 			found="yes"
   7848 		fi
   7849 	fi
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 xorg_testset_save_CFLAGS="$CFLAGS"
   7866 
   7867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7872 then :
   7873   printf %s "(cached) " >&6
   7874 else $as_nop
   7875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7876 /* end confdefs.h.  */
   7877 int i;
   7878 _ACEOF
   7879 if ac_fn_c_try_compile "$LINENO"
   7880 then :
   7881   xorg_cv_cc_flag_unknown_warning_option=yes
   7882 else $as_nop
   7883   xorg_cv_cc_flag_unknown_warning_option=no
   7884 fi
   7885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7886 fi
   7887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7890 	CFLAGS="$xorg_testset_save_CFLAGS"
   7891 fi
   7892 
   7893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7896 	fi
   7897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7901 then :
   7902   printf %s "(cached) " >&6
   7903 else $as_nop
   7904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7905 /* end confdefs.h.  */
   7906 int i;
   7907 _ACEOF
   7908 if ac_fn_c_try_compile "$LINENO"
   7909 then :
   7910   xorg_cv_cc_flag_unused_command_line_argument=yes
   7911 else $as_nop
   7912   xorg_cv_cc_flag_unused_command_line_argument=no
   7913 fi
   7914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7915 fi
   7916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7919 	CFLAGS="$xorg_testset_save_CFLAGS"
   7920 fi
   7921 
   7922 found="no"
   7923 
   7924 	if test $found = "no" ; then
   7925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7927 		fi
   7928 
   7929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7931 		fi
   7932 
   7933 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7934 
   7935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7936 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7937 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7938 		if eval test \${$cacheid+y}
   7939 then :
   7940   printf %s "(cached) " >&6
   7941 else $as_nop
   7942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7943 /* end confdefs.h.  */
   7944 int i;
   7945 int
   7946 main (void)
   7947 {
   7948 
   7949   ;
   7950   return 0;
   7951 }
   7952 _ACEOF
   7953 if ac_fn_c_try_link "$LINENO"
   7954 then :
   7955   eval $cacheid=yes
   7956 else $as_nop
   7957   eval $cacheid=no
   7958 fi
   7959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7960     conftest$ac_exeext conftest.$ac_ext
   7961 fi
   7962 
   7963 
   7964 		CFLAGS="$xorg_testset_save_CFLAGS"
   7965 
   7966 		eval supported=\$$cacheid
   7967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7968 printf "%s\n" "$supported" >&6; }
   7969 		if test "$supported" = "yes" ; then
   7970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7971 			found="yes"
   7972 		fi
   7973 	fi
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 xorg_testset_save_CFLAGS="$CFLAGS"
   7990 
   7991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7996 then :
   7997   printf %s "(cached) " >&6
   7998 else $as_nop
   7999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 int i;
   8002 _ACEOF
   8003 if ac_fn_c_try_compile "$LINENO"
   8004 then :
   8005   xorg_cv_cc_flag_unknown_warning_option=yes
   8006 else $as_nop
   8007   xorg_cv_cc_flag_unknown_warning_option=no
   8008 fi
   8009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8010 fi
   8011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8012 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8014 	CFLAGS="$xorg_testset_save_CFLAGS"
   8015 fi
   8016 
   8017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8020 	fi
   8021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8023 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8024 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8025 then :
   8026   printf %s "(cached) " >&6
   8027 else $as_nop
   8028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8029 /* end confdefs.h.  */
   8030 int i;
   8031 _ACEOF
   8032 if ac_fn_c_try_compile "$LINENO"
   8033 then :
   8034   xorg_cv_cc_flag_unused_command_line_argument=yes
   8035 else $as_nop
   8036   xorg_cv_cc_flag_unused_command_line_argument=no
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8039 fi
   8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8043 	CFLAGS="$xorg_testset_save_CFLAGS"
   8044 fi
   8045 
   8046 found="no"
   8047 
   8048 	if test $found = "no" ; then
   8049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8051 		fi
   8052 
   8053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8055 		fi
   8056 
   8057 		CFLAGS="$CFLAGS -Werror=return-type"
   8058 
   8059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8060 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8061 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8062 		if eval test \${$cacheid+y}
   8063 then :
   8064   printf %s "(cached) " >&6
   8065 else $as_nop
   8066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8067 /* end confdefs.h.  */
   8068 int i;
   8069 int
   8070 main (void)
   8071 {
   8072 
   8073   ;
   8074   return 0;
   8075 }
   8076 _ACEOF
   8077 if ac_fn_c_try_link "$LINENO"
   8078 then :
   8079   eval $cacheid=yes
   8080 else $as_nop
   8081   eval $cacheid=no
   8082 fi
   8083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8084     conftest$ac_exeext conftest.$ac_ext
   8085 fi
   8086 
   8087 
   8088 		CFLAGS="$xorg_testset_save_CFLAGS"
   8089 
   8090 		eval supported=\$$cacheid
   8091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8092 printf "%s\n" "$supported" >&6; }
   8093 		if test "$supported" = "yes" ; then
   8094 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8095 			found="yes"
   8096 		fi
   8097 	fi
   8098 
   8099 	if test $found = "no" ; then
   8100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 		fi
   8103 
   8104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8106 		fi
   8107 
   8108 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8109 
   8110 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8111 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8112 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8113 		if eval test \${$cacheid+y}
   8114 then :
   8115   printf %s "(cached) " >&6
   8116 else $as_nop
   8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 int
   8121 main (void)
   8122 {
   8123 
   8124   ;
   8125   return 0;
   8126 }
   8127 _ACEOF
   8128 if ac_fn_c_try_link "$LINENO"
   8129 then :
   8130   eval $cacheid=yes
   8131 else $as_nop
   8132   eval $cacheid=no
   8133 fi
   8134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8135     conftest$ac_exeext conftest.$ac_ext
   8136 fi
   8137 
   8138 
   8139 		CFLAGS="$xorg_testset_save_CFLAGS"
   8140 
   8141 		eval supported=\$$cacheid
   8142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8143 printf "%s\n" "$supported" >&6; }
   8144 		if test "$supported" = "yes" ; then
   8145 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8146 			found="yes"
   8147 		fi
   8148 	fi
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 xorg_testset_save_CFLAGS="$CFLAGS"
   8165 
   8166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8169 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8170 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8171 then :
   8172   printf %s "(cached) " >&6
   8173 else $as_nop
   8174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8175 /* end confdefs.h.  */
   8176 int i;
   8177 _ACEOF
   8178 if ac_fn_c_try_compile "$LINENO"
   8179 then :
   8180   xorg_cv_cc_flag_unknown_warning_option=yes
   8181 else $as_nop
   8182   xorg_cv_cc_flag_unknown_warning_option=no
   8183 fi
   8184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8185 fi
   8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8187 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8189 	CFLAGS="$xorg_testset_save_CFLAGS"
   8190 fi
   8191 
   8192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 	fi
   8196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8200 then :
   8201   printf %s "(cached) " >&6
   8202 else $as_nop
   8203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8204 /* end confdefs.h.  */
   8205 int i;
   8206 _ACEOF
   8207 if ac_fn_c_try_compile "$LINENO"
   8208 then :
   8209   xorg_cv_cc_flag_unused_command_line_argument=yes
   8210 else $as_nop
   8211   xorg_cv_cc_flag_unused_command_line_argument=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8214 fi
   8215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8216 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8218 	CFLAGS="$xorg_testset_save_CFLAGS"
   8219 fi
   8220 
   8221 found="no"
   8222 
   8223 	if test $found = "no" ; then
   8224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 		fi
   8227 
   8228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 		fi
   8231 
   8232 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8233 
   8234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8235 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8236 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8237 		if eval test \${$cacheid+y}
   8238 then :
   8239   printf %s "(cached) " >&6
   8240 else $as_nop
   8241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8242 /* end confdefs.h.  */
   8243 int i;
   8244 int
   8245 main (void)
   8246 {
   8247 
   8248   ;
   8249   return 0;
   8250 }
   8251 _ACEOF
   8252 if ac_fn_c_try_link "$LINENO"
   8253 then :
   8254   eval $cacheid=yes
   8255 else $as_nop
   8256   eval $cacheid=no
   8257 fi
   8258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8259     conftest$ac_exeext conftest.$ac_ext
   8260 fi
   8261 
   8262 
   8263 		CFLAGS="$xorg_testset_save_CFLAGS"
   8264 
   8265 		eval supported=\$$cacheid
   8266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8267 printf "%s\n" "$supported" >&6; }
   8268 		if test "$supported" = "yes" ; then
   8269 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8270 			found="yes"
   8271 		fi
   8272 	fi
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 xorg_testset_save_CFLAGS="$CFLAGS"
   8289 
   8290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8293 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8294 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8295 then :
   8296   printf %s "(cached) " >&6
   8297 else $as_nop
   8298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8299 /* end confdefs.h.  */
   8300 int i;
   8301 _ACEOF
   8302 if ac_fn_c_try_compile "$LINENO"
   8303 then :
   8304   xorg_cv_cc_flag_unknown_warning_option=yes
   8305 else $as_nop
   8306   xorg_cv_cc_flag_unknown_warning_option=no
   8307 fi
   8308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8309 fi
   8310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8311 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8313 	CFLAGS="$xorg_testset_save_CFLAGS"
   8314 fi
   8315 
   8316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	fi
   8320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8324 then :
   8325   printf %s "(cached) " >&6
   8326 else $as_nop
   8327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8328 /* end confdefs.h.  */
   8329 int i;
   8330 _ACEOF
   8331 if ac_fn_c_try_compile "$LINENO"
   8332 then :
   8333   xorg_cv_cc_flag_unused_command_line_argument=yes
   8334 else $as_nop
   8335   xorg_cv_cc_flag_unused_command_line_argument=no
   8336 fi
   8337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8338 fi
   8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8340 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8342 	CFLAGS="$xorg_testset_save_CFLAGS"
   8343 fi
   8344 
   8345 found="no"
   8346 
   8347 	if test $found = "no" ; then
   8348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 		fi
   8351 
   8352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8354 		fi
   8355 
   8356 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8357 
   8358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8359 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8360 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8361 		if eval test \${$cacheid+y}
   8362 then :
   8363   printf %s "(cached) " >&6
   8364 else $as_nop
   8365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8366 /* end confdefs.h.  */
   8367 int i;
   8368 int
   8369 main (void)
   8370 {
   8371 
   8372   ;
   8373   return 0;
   8374 }
   8375 _ACEOF
   8376 if ac_fn_c_try_link "$LINENO"
   8377 then :
   8378   eval $cacheid=yes
   8379 else $as_nop
   8380   eval $cacheid=no
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8383     conftest$ac_exeext conftest.$ac_ext
   8384 fi
   8385 
   8386 
   8387 		CFLAGS="$xorg_testset_save_CFLAGS"
   8388 
   8389 		eval supported=\$$cacheid
   8390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8391 printf "%s\n" "$supported" >&6; }
   8392 		if test "$supported" = "yes" ; then
   8393 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8394 			found="yes"
   8395 		fi
   8396 	fi
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 xorg_testset_save_CFLAGS="$CFLAGS"
   8413 
   8414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8416 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8417 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8418 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8419 then :
   8420   printf %s "(cached) " >&6
   8421 else $as_nop
   8422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8423 /* end confdefs.h.  */
   8424 int i;
   8425 _ACEOF
   8426 if ac_fn_c_try_compile "$LINENO"
   8427 then :
   8428   xorg_cv_cc_flag_unknown_warning_option=yes
   8429 else $as_nop
   8430   xorg_cv_cc_flag_unknown_warning_option=no
   8431 fi
   8432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8433 fi
   8434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8437 	CFLAGS="$xorg_testset_save_CFLAGS"
   8438 fi
   8439 
   8440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	fi
   8444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8448 then :
   8449   printf %s "(cached) " >&6
   8450 else $as_nop
   8451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 _ACEOF
   8455 if ac_fn_c_try_compile "$LINENO"
   8456 then :
   8457   xorg_cv_cc_flag_unused_command_line_argument=yes
   8458 else $as_nop
   8459   xorg_cv_cc_flag_unused_command_line_argument=no
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8462 fi
   8463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8464 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8466 	CFLAGS="$xorg_testset_save_CFLAGS"
   8467 fi
   8468 
   8469 found="no"
   8470 
   8471 	if test $found = "no" ; then
   8472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8474 		fi
   8475 
   8476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8478 		fi
   8479 
   8480 		CFLAGS="$CFLAGS -Werror=write-strings"
   8481 
   8482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8483 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8484 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8485 		if eval test \${$cacheid+y}
   8486 then :
   8487   printf %s "(cached) " >&6
   8488 else $as_nop
   8489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8490 /* end confdefs.h.  */
   8491 int i;
   8492 int
   8493 main (void)
   8494 {
   8495 
   8496   ;
   8497   return 0;
   8498 }
   8499 _ACEOF
   8500 if ac_fn_c_try_link "$LINENO"
   8501 then :
   8502   eval $cacheid=yes
   8503 else $as_nop
   8504   eval $cacheid=no
   8505 fi
   8506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8507     conftest$ac_exeext conftest.$ac_ext
   8508 fi
   8509 
   8510 
   8511 		CFLAGS="$xorg_testset_save_CFLAGS"
   8512 
   8513 		eval supported=\$$cacheid
   8514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8515 printf "%s\n" "$supported" >&6; }
   8516 		if test "$supported" = "yes" ; then
   8517 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8518 			found="yes"
   8519 		fi
   8520 	fi
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 xorg_testset_save_CFLAGS="$CFLAGS"
   8537 
   8538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8541 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8542 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8543 then :
   8544   printf %s "(cached) " >&6
   8545 else $as_nop
   8546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8547 /* end confdefs.h.  */
   8548 int i;
   8549 _ACEOF
   8550 if ac_fn_c_try_compile "$LINENO"
   8551 then :
   8552   xorg_cv_cc_flag_unknown_warning_option=yes
   8553 else $as_nop
   8554   xorg_cv_cc_flag_unknown_warning_option=no
   8555 fi
   8556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8557 fi
   8558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8559 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8561 	CFLAGS="$xorg_testset_save_CFLAGS"
   8562 fi
   8563 
   8564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8567 	fi
   8568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8570 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8571 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8572 then :
   8573   printf %s "(cached) " >&6
   8574 else $as_nop
   8575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8576 /* end confdefs.h.  */
   8577 int i;
   8578 _ACEOF
   8579 if ac_fn_c_try_compile "$LINENO"
   8580 then :
   8581   xorg_cv_cc_flag_unused_command_line_argument=yes
   8582 else $as_nop
   8583   xorg_cv_cc_flag_unused_command_line_argument=no
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8586 fi
   8587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8588 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8590 	CFLAGS="$xorg_testset_save_CFLAGS"
   8591 fi
   8592 
   8593 found="no"
   8594 
   8595 	if test $found = "no" ; then
   8596 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8598 		fi
   8599 
   8600 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8602 		fi
   8603 
   8604 		CFLAGS="$CFLAGS -Werror=address"
   8605 
   8606 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8607 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8608 		cacheid=xorg_cv_cc_flag__Werror_address
   8609 		if eval test \${$cacheid+y}
   8610 then :
   8611   printf %s "(cached) " >&6
   8612 else $as_nop
   8613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8614 /* end confdefs.h.  */
   8615 int i;
   8616 int
   8617 main (void)
   8618 {
   8619 
   8620   ;
   8621   return 0;
   8622 }
   8623 _ACEOF
   8624 if ac_fn_c_try_link "$LINENO"
   8625 then :
   8626   eval $cacheid=yes
   8627 else $as_nop
   8628   eval $cacheid=no
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8631     conftest$ac_exeext conftest.$ac_ext
   8632 fi
   8633 
   8634 
   8635 		CFLAGS="$xorg_testset_save_CFLAGS"
   8636 
   8637 		eval supported=\$$cacheid
   8638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8639 printf "%s\n" "$supported" >&6; }
   8640 		if test "$supported" = "yes" ; then
   8641 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8642 			found="yes"
   8643 		fi
   8644 	fi
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 xorg_testset_save_CFLAGS="$CFLAGS"
   8661 
   8662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8667 then :
   8668   printf %s "(cached) " >&6
   8669 else $as_nop
   8670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8671 /* end confdefs.h.  */
   8672 int i;
   8673 _ACEOF
   8674 if ac_fn_c_try_compile "$LINENO"
   8675 then :
   8676   xorg_cv_cc_flag_unknown_warning_option=yes
   8677 else $as_nop
   8678   xorg_cv_cc_flag_unknown_warning_option=no
   8679 fi
   8680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8681 fi
   8682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8683 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8685 	CFLAGS="$xorg_testset_save_CFLAGS"
   8686 fi
   8687 
   8688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8691 	fi
   8692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8696 then :
   8697   printf %s "(cached) " >&6
   8698 else $as_nop
   8699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8700 /* end confdefs.h.  */
   8701 int i;
   8702 _ACEOF
   8703 if ac_fn_c_try_compile "$LINENO"
   8704 then :
   8705   xorg_cv_cc_flag_unused_command_line_argument=yes
   8706 else $as_nop
   8707   xorg_cv_cc_flag_unused_command_line_argument=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8710 fi
   8711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8712 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8714 	CFLAGS="$xorg_testset_save_CFLAGS"
   8715 fi
   8716 
   8717 found="no"
   8718 
   8719 	if test $found = "no" ; then
   8720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 		fi
   8723 
   8724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 		fi
   8727 
   8728 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8729 
   8730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8731 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8732 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8733 		if eval test \${$cacheid+y}
   8734 then :
   8735   printf %s "(cached) " >&6
   8736 else $as_nop
   8737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8738 /* end confdefs.h.  */
   8739 int i;
   8740 int
   8741 main (void)
   8742 {
   8743 
   8744   ;
   8745   return 0;
   8746 }
   8747 _ACEOF
   8748 if ac_fn_c_try_link "$LINENO"
   8749 then :
   8750   eval $cacheid=yes
   8751 else $as_nop
   8752   eval $cacheid=no
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8755     conftest$ac_exeext conftest.$ac_ext
   8756 fi
   8757 
   8758 
   8759 		CFLAGS="$xorg_testset_save_CFLAGS"
   8760 
   8761 		eval supported=\$$cacheid
   8762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8763 printf "%s\n" "$supported" >&6; }
   8764 		if test "$supported" = "yes" ; then
   8765 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8766 			found="yes"
   8767 		fi
   8768 	fi
   8769 
   8770 	if test $found = "no" ; then
   8771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8773 		fi
   8774 
   8775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8777 		fi
   8778 
   8779 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8780 
   8781 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8782 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8783 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8784 		if eval test \${$cacheid+y}
   8785 then :
   8786   printf %s "(cached) " >&6
   8787 else $as_nop
   8788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8789 /* end confdefs.h.  */
   8790 int i;
   8791 int
   8792 main (void)
   8793 {
   8794 
   8795   ;
   8796   return 0;
   8797 }
   8798 _ACEOF
   8799 if ac_fn_c_try_link "$LINENO"
   8800 then :
   8801   eval $cacheid=yes
   8802 else $as_nop
   8803   eval $cacheid=no
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8806     conftest$ac_exeext conftest.$ac_ext
   8807 fi
   8808 
   8809 
   8810 		CFLAGS="$xorg_testset_save_CFLAGS"
   8811 
   8812 		eval supported=\$$cacheid
   8813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8814 printf "%s\n" "$supported" >&6; }
   8815 		if test "$supported" = "yes" ; then
   8816 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8817 			found="yes"
   8818 		fi
   8819 	fi
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 xorg_testset_save_CFLAGS="$CFLAGS"
   8836 
   8837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8840 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8841 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8842 then :
   8843   printf %s "(cached) " >&6
   8844 else $as_nop
   8845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8846 /* end confdefs.h.  */
   8847 int i;
   8848 _ACEOF
   8849 if ac_fn_c_try_compile "$LINENO"
   8850 then :
   8851   xorg_cv_cc_flag_unknown_warning_option=yes
   8852 else $as_nop
   8853   xorg_cv_cc_flag_unknown_warning_option=no
   8854 fi
   8855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8856 fi
   8857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8858 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8859 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8860 	CFLAGS="$xorg_testset_save_CFLAGS"
   8861 fi
   8862 
   8863 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8864 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8865 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8866 	fi
   8867 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8868 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8869 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8870 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8871 then :
   8872   printf %s "(cached) " >&6
   8873 else $as_nop
   8874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8875 /* end confdefs.h.  */
   8876 int i;
   8877 _ACEOF
   8878 if ac_fn_c_try_compile "$LINENO"
   8879 then :
   8880   xorg_cv_cc_flag_unused_command_line_argument=yes
   8881 else $as_nop
   8882   xorg_cv_cc_flag_unused_command_line_argument=no
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8885 fi
   8886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8887 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8889 	CFLAGS="$xorg_testset_save_CFLAGS"
   8890 fi
   8891 
   8892 found="no"
   8893 
   8894 	if test $found = "no" ; then
   8895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8897 		fi
   8898 
   8899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8901 		fi
   8902 
   8903 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8904 
   8905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8906 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8907 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8908 		if eval test \${$cacheid+y}
   8909 then :
   8910   printf %s "(cached) " >&6
   8911 else $as_nop
   8912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 int i;
   8915 int
   8916 main (void)
   8917 {
   8918 
   8919   ;
   8920   return 0;
   8921 }
   8922 _ACEOF
   8923 if ac_fn_c_try_link "$LINENO"
   8924 then :
   8925   eval $cacheid=yes
   8926 else $as_nop
   8927   eval $cacheid=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8930     conftest$ac_exeext conftest.$ac_ext
   8931 fi
   8932 
   8933 
   8934 		CFLAGS="$xorg_testset_save_CFLAGS"
   8935 
   8936 		eval supported=\$$cacheid
   8937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8938 printf "%s\n" "$supported" >&6; }
   8939 		if test "$supported" = "yes" ; then
   8940 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8941 			found="yes"
   8942 		fi
   8943 	fi
   8944 
   8945  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8946 else
   8947 { 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
   8948 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;}
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 xorg_testset_save_CFLAGS="$CFLAGS"
   8963 
   8964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8969 then :
   8970   printf %s "(cached) " >&6
   8971 else $as_nop
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 _ACEOF
   8976 if ac_fn_c_try_compile "$LINENO"
   8977 then :
   8978   xorg_cv_cc_flag_unknown_warning_option=yes
   8979 else $as_nop
   8980   xorg_cv_cc_flag_unknown_warning_option=no
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8983 fi
   8984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8987 	CFLAGS="$xorg_testset_save_CFLAGS"
   8988 fi
   8989 
   8990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8993 	fi
   8994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8998 then :
   8999   printf %s "(cached) " >&6
   9000 else $as_nop
   9001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9002 /* end confdefs.h.  */
   9003 int i;
   9004 _ACEOF
   9005 if ac_fn_c_try_compile "$LINENO"
   9006 then :
   9007   xorg_cv_cc_flag_unused_command_line_argument=yes
   9008 else $as_nop
   9009   xorg_cv_cc_flag_unused_command_line_argument=no
   9010 fi
   9011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9012 fi
   9013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9014 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9016 	CFLAGS="$xorg_testset_save_CFLAGS"
   9017 fi
   9018 
   9019 found="no"
   9020 
   9021 	if test $found = "no" ; then
   9022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 		fi
   9025 
   9026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9028 		fi
   9029 
   9030 		CFLAGS="$CFLAGS -Wimplicit"
   9031 
   9032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9033 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9034 		cacheid=xorg_cv_cc_flag__Wimplicit
   9035 		if eval test \${$cacheid+y}
   9036 then :
   9037   printf %s "(cached) " >&6
   9038 else $as_nop
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 int i;
   9042 int
   9043 main (void)
   9044 {
   9045 
   9046   ;
   9047   return 0;
   9048 }
   9049 _ACEOF
   9050 if ac_fn_c_try_link "$LINENO"
   9051 then :
   9052   eval $cacheid=yes
   9053 else $as_nop
   9054   eval $cacheid=no
   9055 fi
   9056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9057     conftest$ac_exeext conftest.$ac_ext
   9058 fi
   9059 
   9060 
   9061 		CFLAGS="$xorg_testset_save_CFLAGS"
   9062 
   9063 		eval supported=\$$cacheid
   9064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9065 printf "%s\n" "$supported" >&6; }
   9066 		if test "$supported" = "yes" ; then
   9067 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9068 			found="yes"
   9069 		fi
   9070 	fi
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 xorg_testset_save_CFLAGS="$CFLAGS"
   9087 
   9088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9093 then :
   9094   printf %s "(cached) " >&6
   9095 else $as_nop
   9096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9097 /* end confdefs.h.  */
   9098 int i;
   9099 _ACEOF
   9100 if ac_fn_c_try_compile "$LINENO"
   9101 then :
   9102   xorg_cv_cc_flag_unknown_warning_option=yes
   9103 else $as_nop
   9104   xorg_cv_cc_flag_unknown_warning_option=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9107 fi
   9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9109 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9111 	CFLAGS="$xorg_testset_save_CFLAGS"
   9112 fi
   9113 
   9114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	fi
   9118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9120 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9121 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9122 then :
   9123   printf %s "(cached) " >&6
   9124 else $as_nop
   9125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9126 /* end confdefs.h.  */
   9127 int i;
   9128 _ACEOF
   9129 if ac_fn_c_try_compile "$LINENO"
   9130 then :
   9131   xorg_cv_cc_flag_unused_command_line_argument=yes
   9132 else $as_nop
   9133   xorg_cv_cc_flag_unused_command_line_argument=no
   9134 fi
   9135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9136 fi
   9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 found="no"
   9144 
   9145 	if test $found = "no" ; then
   9146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9148 		fi
   9149 
   9150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9152 		fi
   9153 
   9154 		CFLAGS="$CFLAGS -Wnonnull"
   9155 
   9156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9157 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9158 		cacheid=xorg_cv_cc_flag__Wnonnull
   9159 		if eval test \${$cacheid+y}
   9160 then :
   9161   printf %s "(cached) " >&6
   9162 else $as_nop
   9163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9164 /* end confdefs.h.  */
   9165 int i;
   9166 int
   9167 main (void)
   9168 {
   9169 
   9170   ;
   9171   return 0;
   9172 }
   9173 _ACEOF
   9174 if ac_fn_c_try_link "$LINENO"
   9175 then :
   9176   eval $cacheid=yes
   9177 else $as_nop
   9178   eval $cacheid=no
   9179 fi
   9180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9181     conftest$ac_exeext conftest.$ac_ext
   9182 fi
   9183 
   9184 
   9185 		CFLAGS="$xorg_testset_save_CFLAGS"
   9186 
   9187 		eval supported=\$$cacheid
   9188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9189 printf "%s\n" "$supported" >&6; }
   9190 		if test "$supported" = "yes" ; then
   9191 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9192 			found="yes"
   9193 		fi
   9194 	fi
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 xorg_testset_save_CFLAGS="$CFLAGS"
   9211 
   9212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9215 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9216 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9217 then :
   9218   printf %s "(cached) " >&6
   9219 else $as_nop
   9220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9221 /* end confdefs.h.  */
   9222 int i;
   9223 _ACEOF
   9224 if ac_fn_c_try_compile "$LINENO"
   9225 then :
   9226   xorg_cv_cc_flag_unknown_warning_option=yes
   9227 else $as_nop
   9228   xorg_cv_cc_flag_unknown_warning_option=no
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9231 fi
   9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9233 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9235 	CFLAGS="$xorg_testset_save_CFLAGS"
   9236 fi
   9237 
   9238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9241 	fi
   9242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9244 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9245 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9246 then :
   9247   printf %s "(cached) " >&6
   9248 else $as_nop
   9249   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_unused_command_line_argument=yes
   9256 else $as_nop
   9257   xorg_cv_cc_flag_unused_command_line_argument=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9260 fi
   9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9262 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9264 	CFLAGS="$xorg_testset_save_CFLAGS"
   9265 fi
   9266 
   9267 found="no"
   9268 
   9269 	if test $found = "no" ; then
   9270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 		fi
   9273 
   9274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9276 		fi
   9277 
   9278 		CFLAGS="$CFLAGS -Winit-self"
   9279 
   9280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9281 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9282 		cacheid=xorg_cv_cc_flag__Winit_self
   9283 		if eval test \${$cacheid+y}
   9284 then :
   9285   printf %s "(cached) " >&6
   9286 else $as_nop
   9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 int
   9291 main (void)
   9292 {
   9293 
   9294   ;
   9295   return 0;
   9296 }
   9297 _ACEOF
   9298 if ac_fn_c_try_link "$LINENO"
   9299 then :
   9300   eval $cacheid=yes
   9301 else $as_nop
   9302   eval $cacheid=no
   9303 fi
   9304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9305     conftest$ac_exeext conftest.$ac_ext
   9306 fi
   9307 
   9308 
   9309 		CFLAGS="$xorg_testset_save_CFLAGS"
   9310 
   9311 		eval supported=\$$cacheid
   9312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9313 printf "%s\n" "$supported" >&6; }
   9314 		if test "$supported" = "yes" ; then
   9315 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9316 			found="yes"
   9317 		fi
   9318 	fi
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 xorg_testset_save_CFLAGS="$CFLAGS"
   9335 
   9336 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9338 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9339 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9340 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9341 then :
   9342   printf %s "(cached) " >&6
   9343 else $as_nop
   9344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9345 /* end confdefs.h.  */
   9346 int i;
   9347 _ACEOF
   9348 if ac_fn_c_try_compile "$LINENO"
   9349 then :
   9350   xorg_cv_cc_flag_unknown_warning_option=yes
   9351 else $as_nop
   9352   xorg_cv_cc_flag_unknown_warning_option=no
   9353 fi
   9354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9355 fi
   9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9357 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9359 	CFLAGS="$xorg_testset_save_CFLAGS"
   9360 fi
   9361 
   9362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 	fi
   9366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9368 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9369 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9370 then :
   9371   printf %s "(cached) " >&6
   9372 else $as_nop
   9373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9374 /* end confdefs.h.  */
   9375 int i;
   9376 _ACEOF
   9377 if ac_fn_c_try_compile "$LINENO"
   9378 then :
   9379   xorg_cv_cc_flag_unused_command_line_argument=yes
   9380 else $as_nop
   9381   xorg_cv_cc_flag_unused_command_line_argument=no
   9382 fi
   9383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9384 fi
   9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9386 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9388 	CFLAGS="$xorg_testset_save_CFLAGS"
   9389 fi
   9390 
   9391 found="no"
   9392 
   9393 	if test $found = "no" ; then
   9394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9396 		fi
   9397 
   9398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9400 		fi
   9401 
   9402 		CFLAGS="$CFLAGS -Wmain"
   9403 
   9404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9405 printf %s "checking if $CC supports -Wmain... " >&6; }
   9406 		cacheid=xorg_cv_cc_flag__Wmain
   9407 		if eval test \${$cacheid+y}
   9408 then :
   9409   printf %s "(cached) " >&6
   9410 else $as_nop
   9411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9412 /* end confdefs.h.  */
   9413 int i;
   9414 int
   9415 main (void)
   9416 {
   9417 
   9418   ;
   9419   return 0;
   9420 }
   9421 _ACEOF
   9422 if ac_fn_c_try_link "$LINENO"
   9423 then :
   9424   eval $cacheid=yes
   9425 else $as_nop
   9426   eval $cacheid=no
   9427 fi
   9428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9429     conftest$ac_exeext conftest.$ac_ext
   9430 fi
   9431 
   9432 
   9433 		CFLAGS="$xorg_testset_save_CFLAGS"
   9434 
   9435 		eval supported=\$$cacheid
   9436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9437 printf "%s\n" "$supported" >&6; }
   9438 		if test "$supported" = "yes" ; then
   9439 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9440 			found="yes"
   9441 		fi
   9442 	fi
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 xorg_testset_save_CFLAGS="$CFLAGS"
   9459 
   9460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9463 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9464 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9465 then :
   9466   printf %s "(cached) " >&6
   9467 else $as_nop
   9468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9469 /* end confdefs.h.  */
   9470 int i;
   9471 _ACEOF
   9472 if ac_fn_c_try_compile "$LINENO"
   9473 then :
   9474   xorg_cv_cc_flag_unknown_warning_option=yes
   9475 else $as_nop
   9476   xorg_cv_cc_flag_unknown_warning_option=no
   9477 fi
   9478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9479 fi
   9480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9481 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9483 	CFLAGS="$xorg_testset_save_CFLAGS"
   9484 fi
   9485 
   9486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	fi
   9490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9491 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9492 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9493 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9494 then :
   9495   printf %s "(cached) " >&6
   9496 else $as_nop
   9497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9498 /* end confdefs.h.  */
   9499 int i;
   9500 _ACEOF
   9501 if ac_fn_c_try_compile "$LINENO"
   9502 then :
   9503   xorg_cv_cc_flag_unused_command_line_argument=yes
   9504 else $as_nop
   9505   xorg_cv_cc_flag_unused_command_line_argument=no
   9506 fi
   9507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9508 fi
   9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9510 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9511 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9512 	CFLAGS="$xorg_testset_save_CFLAGS"
   9513 fi
   9514 
   9515 found="no"
   9516 
   9517 	if test $found = "no" ; then
   9518 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9520 		fi
   9521 
   9522 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9524 		fi
   9525 
   9526 		CFLAGS="$CFLAGS -Wmissing-braces"
   9527 
   9528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9529 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9530 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9531 		if eval test \${$cacheid+y}
   9532 then :
   9533   printf %s "(cached) " >&6
   9534 else $as_nop
   9535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 int i;
   9538 int
   9539 main (void)
   9540 {
   9541 
   9542   ;
   9543   return 0;
   9544 }
   9545 _ACEOF
   9546 if ac_fn_c_try_link "$LINENO"
   9547 then :
   9548   eval $cacheid=yes
   9549 else $as_nop
   9550   eval $cacheid=no
   9551 fi
   9552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9553     conftest$ac_exeext conftest.$ac_ext
   9554 fi
   9555 
   9556 
   9557 		CFLAGS="$xorg_testset_save_CFLAGS"
   9558 
   9559 		eval supported=\$$cacheid
   9560 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9561 printf "%s\n" "$supported" >&6; }
   9562 		if test "$supported" = "yes" ; then
   9563 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9564 			found="yes"
   9565 		fi
   9566 	fi
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 xorg_testset_save_CFLAGS="$CFLAGS"
   9583 
   9584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9587 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9588 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9589 then :
   9590   printf %s "(cached) " >&6
   9591 else $as_nop
   9592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9593 /* end confdefs.h.  */
   9594 int i;
   9595 _ACEOF
   9596 if ac_fn_c_try_compile "$LINENO"
   9597 then :
   9598   xorg_cv_cc_flag_unknown_warning_option=yes
   9599 else $as_nop
   9600   xorg_cv_cc_flag_unknown_warning_option=no
   9601 fi
   9602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9603 fi
   9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9605 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9607 	CFLAGS="$xorg_testset_save_CFLAGS"
   9608 fi
   9609 
   9610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9613 	fi
   9614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9616 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9617 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9618 then :
   9619   printf %s "(cached) " >&6
   9620 else $as_nop
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 _ACEOF
   9625 if ac_fn_c_try_compile "$LINENO"
   9626 then :
   9627   xorg_cv_cc_flag_unused_command_line_argument=yes
   9628 else $as_nop
   9629   xorg_cv_cc_flag_unused_command_line_argument=no
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9632 fi
   9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9634 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9636 	CFLAGS="$xorg_testset_save_CFLAGS"
   9637 fi
   9638 
   9639 found="no"
   9640 
   9641 	if test $found = "no" ; then
   9642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 		fi
   9645 
   9646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9648 		fi
   9649 
   9650 		CFLAGS="$CFLAGS -Wsequence-point"
   9651 
   9652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9653 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9654 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9655 		if eval test \${$cacheid+y}
   9656 then :
   9657   printf %s "(cached) " >&6
   9658 else $as_nop
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 int
   9663 main (void)
   9664 {
   9665 
   9666   ;
   9667   return 0;
   9668 }
   9669 _ACEOF
   9670 if ac_fn_c_try_link "$LINENO"
   9671 then :
   9672   eval $cacheid=yes
   9673 else $as_nop
   9674   eval $cacheid=no
   9675 fi
   9676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9677     conftest$ac_exeext conftest.$ac_ext
   9678 fi
   9679 
   9680 
   9681 		CFLAGS="$xorg_testset_save_CFLAGS"
   9682 
   9683 		eval supported=\$$cacheid
   9684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9685 printf "%s\n" "$supported" >&6; }
   9686 		if test "$supported" = "yes" ; then
   9687 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9688 			found="yes"
   9689 		fi
   9690 	fi
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 xorg_testset_save_CFLAGS="$CFLAGS"
   9707 
   9708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9713 then :
   9714   printf %s "(cached) " >&6
   9715 else $as_nop
   9716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 _ACEOF
   9720 if ac_fn_c_try_compile "$LINENO"
   9721 then :
   9722   xorg_cv_cc_flag_unknown_warning_option=yes
   9723 else $as_nop
   9724   xorg_cv_cc_flag_unknown_warning_option=no
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9727 fi
   9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9729 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9731 	CFLAGS="$xorg_testset_save_CFLAGS"
   9732 fi
   9733 
   9734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9737 	fi
   9738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9740 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9741 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9742 then :
   9743   printf %s "(cached) " >&6
   9744 else $as_nop
   9745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9746 /* end confdefs.h.  */
   9747 int i;
   9748 _ACEOF
   9749 if ac_fn_c_try_compile "$LINENO"
   9750 then :
   9751   xorg_cv_cc_flag_unused_command_line_argument=yes
   9752 else $as_nop
   9753   xorg_cv_cc_flag_unused_command_line_argument=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9756 fi
   9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9758 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9760 	CFLAGS="$xorg_testset_save_CFLAGS"
   9761 fi
   9762 
   9763 found="no"
   9764 
   9765 	if test $found = "no" ; then
   9766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9768 		fi
   9769 
   9770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9772 		fi
   9773 
   9774 		CFLAGS="$CFLAGS -Wreturn-type"
   9775 
   9776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9777 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9778 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9779 		if eval test \${$cacheid+y}
   9780 then :
   9781   printf %s "(cached) " >&6
   9782 else $as_nop
   9783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9784 /* end confdefs.h.  */
   9785 int i;
   9786 int
   9787 main (void)
   9788 {
   9789 
   9790   ;
   9791   return 0;
   9792 }
   9793 _ACEOF
   9794 if ac_fn_c_try_link "$LINENO"
   9795 then :
   9796   eval $cacheid=yes
   9797 else $as_nop
   9798   eval $cacheid=no
   9799 fi
   9800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9801     conftest$ac_exeext conftest.$ac_ext
   9802 fi
   9803 
   9804 
   9805 		CFLAGS="$xorg_testset_save_CFLAGS"
   9806 
   9807 		eval supported=\$$cacheid
   9808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9809 printf "%s\n" "$supported" >&6; }
   9810 		if test "$supported" = "yes" ; then
   9811 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9812 			found="yes"
   9813 		fi
   9814 	fi
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 xorg_testset_save_CFLAGS="$CFLAGS"
   9831 
   9832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9837 then :
   9838   printf %s "(cached) " >&6
   9839 else $as_nop
   9840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 _ACEOF
   9844 if ac_fn_c_try_compile "$LINENO"
   9845 then :
   9846   xorg_cv_cc_flag_unknown_warning_option=yes
   9847 else $as_nop
   9848   xorg_cv_cc_flag_unknown_warning_option=no
   9849 fi
   9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9851 fi
   9852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9853 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9855 	CFLAGS="$xorg_testset_save_CFLAGS"
   9856 fi
   9857 
   9858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9861 	fi
   9862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9863 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9864 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9865 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9866 then :
   9867   printf %s "(cached) " >&6
   9868 else $as_nop
   9869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9870 /* end confdefs.h.  */
   9871 int i;
   9872 _ACEOF
   9873 if ac_fn_c_try_compile "$LINENO"
   9874 then :
   9875   xorg_cv_cc_flag_unused_command_line_argument=yes
   9876 else $as_nop
   9877   xorg_cv_cc_flag_unused_command_line_argument=no
   9878 fi
   9879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9880 fi
   9881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9884 	CFLAGS="$xorg_testset_save_CFLAGS"
   9885 fi
   9886 
   9887 found="no"
   9888 
   9889 	if test $found = "no" ; then
   9890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 		fi
   9893 
   9894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9896 		fi
   9897 
   9898 		CFLAGS="$CFLAGS -Wtrigraphs"
   9899 
   9900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9901 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9902 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9903 		if eval test \${$cacheid+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else $as_nop
   9907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 int
   9911 main (void)
   9912 {
   9913 
   9914   ;
   9915   return 0;
   9916 }
   9917 _ACEOF
   9918 if ac_fn_c_try_link "$LINENO"
   9919 then :
   9920   eval $cacheid=yes
   9921 else $as_nop
   9922   eval $cacheid=no
   9923 fi
   9924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9925     conftest$ac_exeext conftest.$ac_ext
   9926 fi
   9927 
   9928 
   9929 		CFLAGS="$xorg_testset_save_CFLAGS"
   9930 
   9931 		eval supported=\$$cacheid
   9932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9933 printf "%s\n" "$supported" >&6; }
   9934 		if test "$supported" = "yes" ; then
   9935 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9936 			found="yes"
   9937 		fi
   9938 	fi
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 xorg_testset_save_CFLAGS="$CFLAGS"
   9955 
   9956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9959 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9960 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9961 then :
   9962   printf %s "(cached) " >&6
   9963 else $as_nop
   9964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9965 /* end confdefs.h.  */
   9966 int i;
   9967 _ACEOF
   9968 if ac_fn_c_try_compile "$LINENO"
   9969 then :
   9970   xorg_cv_cc_flag_unknown_warning_option=yes
   9971 else $as_nop
   9972   xorg_cv_cc_flag_unknown_warning_option=no
   9973 fi
   9974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9975 fi
   9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9979 	CFLAGS="$xorg_testset_save_CFLAGS"
   9980 fi
   9981 
   9982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9985 	fi
   9986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9990 then :
   9991   printf %s "(cached) " >&6
   9992 else $as_nop
   9993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9994 /* end confdefs.h.  */
   9995 int i;
   9996 _ACEOF
   9997 if ac_fn_c_try_compile "$LINENO"
   9998 then :
   9999   xorg_cv_cc_flag_unused_command_line_argument=yes
   10000 else $as_nop
   10001   xorg_cv_cc_flag_unused_command_line_argument=no
   10002 fi
   10003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10004 fi
   10005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10006 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10008 	CFLAGS="$xorg_testset_save_CFLAGS"
   10009 fi
   10010 
   10011 found="no"
   10012 
   10013 	if test $found = "no" ; then
   10014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10016 		fi
   10017 
   10018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10020 		fi
   10021 
   10022 		CFLAGS="$CFLAGS -Warray-bounds"
   10023 
   10024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10025 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10026 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10027 		if eval test \${$cacheid+y}
   10028 then :
   10029   printf %s "(cached) " >&6
   10030 else $as_nop
   10031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10032 /* end confdefs.h.  */
   10033 int i;
   10034 int
   10035 main (void)
   10036 {
   10037 
   10038   ;
   10039   return 0;
   10040 }
   10041 _ACEOF
   10042 if ac_fn_c_try_link "$LINENO"
   10043 then :
   10044   eval $cacheid=yes
   10045 else $as_nop
   10046   eval $cacheid=no
   10047 fi
   10048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10049     conftest$ac_exeext conftest.$ac_ext
   10050 fi
   10051 
   10052 
   10053 		CFLAGS="$xorg_testset_save_CFLAGS"
   10054 
   10055 		eval supported=\$$cacheid
   10056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10057 printf "%s\n" "$supported" >&6; }
   10058 		if test "$supported" = "yes" ; then
   10059 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10060 			found="yes"
   10061 		fi
   10062 	fi
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 xorg_testset_save_CFLAGS="$CFLAGS"
   10079 
   10080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10085 then :
   10086   printf %s "(cached) " >&6
   10087 else $as_nop
   10088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10089 /* end confdefs.h.  */
   10090 int i;
   10091 _ACEOF
   10092 if ac_fn_c_try_compile "$LINENO"
   10093 then :
   10094   xorg_cv_cc_flag_unknown_warning_option=yes
   10095 else $as_nop
   10096   xorg_cv_cc_flag_unknown_warning_option=no
   10097 fi
   10098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10099 fi
   10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10103 	CFLAGS="$xorg_testset_save_CFLAGS"
   10104 fi
   10105 
   10106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10109 	fi
   10110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10114 then :
   10115   printf %s "(cached) " >&6
   10116 else $as_nop
   10117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10118 /* end confdefs.h.  */
   10119 int i;
   10120 _ACEOF
   10121 if ac_fn_c_try_compile "$LINENO"
   10122 then :
   10123   xorg_cv_cc_flag_unused_command_line_argument=yes
   10124 else $as_nop
   10125   xorg_cv_cc_flag_unused_command_line_argument=no
   10126 fi
   10127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10128 fi
   10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10132 	CFLAGS="$xorg_testset_save_CFLAGS"
   10133 fi
   10134 
   10135 found="no"
   10136 
   10137 	if test $found = "no" ; then
   10138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10140 		fi
   10141 
   10142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10144 		fi
   10145 
   10146 		CFLAGS="$CFLAGS -Wwrite-strings"
   10147 
   10148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10149 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10150 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10151 		if eval test \${$cacheid+y}
   10152 then :
   10153   printf %s "(cached) " >&6
   10154 else $as_nop
   10155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10156 /* end confdefs.h.  */
   10157 int i;
   10158 int
   10159 main (void)
   10160 {
   10161 
   10162   ;
   10163   return 0;
   10164 }
   10165 _ACEOF
   10166 if ac_fn_c_try_link "$LINENO"
   10167 then :
   10168   eval $cacheid=yes
   10169 else $as_nop
   10170   eval $cacheid=no
   10171 fi
   10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10173     conftest$ac_exeext conftest.$ac_ext
   10174 fi
   10175 
   10176 
   10177 		CFLAGS="$xorg_testset_save_CFLAGS"
   10178 
   10179 		eval supported=\$$cacheid
   10180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10181 printf "%s\n" "$supported" >&6; }
   10182 		if test "$supported" = "yes" ; then
   10183 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10184 			found="yes"
   10185 		fi
   10186 	fi
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 xorg_testset_save_CFLAGS="$CFLAGS"
   10203 
   10204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10207 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10208 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10209 then :
   10210   printf %s "(cached) " >&6
   10211 else $as_nop
   10212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10213 /* end confdefs.h.  */
   10214 int i;
   10215 _ACEOF
   10216 if ac_fn_c_try_compile "$LINENO"
   10217 then :
   10218   xorg_cv_cc_flag_unknown_warning_option=yes
   10219 else $as_nop
   10220   xorg_cv_cc_flag_unknown_warning_option=no
   10221 fi
   10222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10223 fi
   10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10225 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10227 	CFLAGS="$xorg_testset_save_CFLAGS"
   10228 fi
   10229 
   10230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10233 	fi
   10234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10236 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10237 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10238 then :
   10239   printf %s "(cached) " >&6
   10240 else $as_nop
   10241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10242 /* end confdefs.h.  */
   10243 int i;
   10244 _ACEOF
   10245 if ac_fn_c_try_compile "$LINENO"
   10246 then :
   10247   xorg_cv_cc_flag_unused_command_line_argument=yes
   10248 else $as_nop
   10249   xorg_cv_cc_flag_unused_command_line_argument=no
   10250 fi
   10251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10252 fi
   10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10254 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10256 	CFLAGS="$xorg_testset_save_CFLAGS"
   10257 fi
   10258 
   10259 found="no"
   10260 
   10261 	if test $found = "no" ; then
   10262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10264 		fi
   10265 
   10266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10268 		fi
   10269 
   10270 		CFLAGS="$CFLAGS -Waddress"
   10271 
   10272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10273 printf %s "checking if $CC supports -Waddress... " >&6; }
   10274 		cacheid=xorg_cv_cc_flag__Waddress
   10275 		if eval test \${$cacheid+y}
   10276 then :
   10277   printf %s "(cached) " >&6
   10278 else $as_nop
   10279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10280 /* end confdefs.h.  */
   10281 int i;
   10282 int
   10283 main (void)
   10284 {
   10285 
   10286   ;
   10287   return 0;
   10288 }
   10289 _ACEOF
   10290 if ac_fn_c_try_link "$LINENO"
   10291 then :
   10292   eval $cacheid=yes
   10293 else $as_nop
   10294   eval $cacheid=no
   10295 fi
   10296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10297     conftest$ac_exeext conftest.$ac_ext
   10298 fi
   10299 
   10300 
   10301 		CFLAGS="$xorg_testset_save_CFLAGS"
   10302 
   10303 		eval supported=\$$cacheid
   10304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10305 printf "%s\n" "$supported" >&6; }
   10306 		if test "$supported" = "yes" ; then
   10307 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10308 			found="yes"
   10309 		fi
   10310 	fi
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 xorg_testset_save_CFLAGS="$CFLAGS"
   10327 
   10328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10331 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10332 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10333 then :
   10334   printf %s "(cached) " >&6
   10335 else $as_nop
   10336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10337 /* end confdefs.h.  */
   10338 int i;
   10339 _ACEOF
   10340 if ac_fn_c_try_compile "$LINENO"
   10341 then :
   10342   xorg_cv_cc_flag_unknown_warning_option=yes
   10343 else $as_nop
   10344   xorg_cv_cc_flag_unknown_warning_option=no
   10345 fi
   10346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10347 fi
   10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10349 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10351 	CFLAGS="$xorg_testset_save_CFLAGS"
   10352 fi
   10353 
   10354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 	fi
   10358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10360 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10361 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10362 then :
   10363   printf %s "(cached) " >&6
   10364 else $as_nop
   10365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10366 /* end confdefs.h.  */
   10367 int i;
   10368 _ACEOF
   10369 if ac_fn_c_try_compile "$LINENO"
   10370 then :
   10371   xorg_cv_cc_flag_unused_command_line_argument=yes
   10372 else $as_nop
   10373   xorg_cv_cc_flag_unused_command_line_argument=no
   10374 fi
   10375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10376 fi
   10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10378 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10380 	CFLAGS="$xorg_testset_save_CFLAGS"
   10381 fi
   10382 
   10383 found="no"
   10384 
   10385 	if test $found = "no" ; then
   10386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10388 		fi
   10389 
   10390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10392 		fi
   10393 
   10394 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10395 
   10396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10397 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10398 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10399 		if eval test \${$cacheid+y}
   10400 then :
   10401   printf %s "(cached) " >&6
   10402 else $as_nop
   10403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10404 /* end confdefs.h.  */
   10405 int i;
   10406 int
   10407 main (void)
   10408 {
   10409 
   10410   ;
   10411   return 0;
   10412 }
   10413 _ACEOF
   10414 if ac_fn_c_try_link "$LINENO"
   10415 then :
   10416   eval $cacheid=yes
   10417 else $as_nop
   10418   eval $cacheid=no
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10421     conftest$ac_exeext conftest.$ac_ext
   10422 fi
   10423 
   10424 
   10425 		CFLAGS="$xorg_testset_save_CFLAGS"
   10426 
   10427 		eval supported=\$$cacheid
   10428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10429 printf "%s\n" "$supported" >&6; }
   10430 		if test "$supported" = "yes" ; then
   10431 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10432 			found="yes"
   10433 		fi
   10434 	fi
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 xorg_testset_save_CFLAGS="$CFLAGS"
   10451 
   10452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10457 then :
   10458   printf %s "(cached) " >&6
   10459 else $as_nop
   10460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10461 /* end confdefs.h.  */
   10462 int i;
   10463 _ACEOF
   10464 if ac_fn_c_try_compile "$LINENO"
   10465 then :
   10466   xorg_cv_cc_flag_unknown_warning_option=yes
   10467 else $as_nop
   10468   xorg_cv_cc_flag_unknown_warning_option=no
   10469 fi
   10470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10471 fi
   10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10473 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10475 	CFLAGS="$xorg_testset_save_CFLAGS"
   10476 fi
   10477 
   10478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 	fi
   10482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10484 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10485 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10486 then :
   10487   printf %s "(cached) " >&6
   10488 else $as_nop
   10489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10490 /* end confdefs.h.  */
   10491 int i;
   10492 _ACEOF
   10493 if ac_fn_c_try_compile "$LINENO"
   10494 then :
   10495   xorg_cv_cc_flag_unused_command_line_argument=yes
   10496 else $as_nop
   10497   xorg_cv_cc_flag_unused_command_line_argument=no
   10498 fi
   10499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10500 fi
   10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10502 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10504 	CFLAGS="$xorg_testset_save_CFLAGS"
   10505 fi
   10506 
   10507 found="no"
   10508 
   10509 	if test $found = "no" ; then
   10510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10512 		fi
   10513 
   10514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10516 		fi
   10517 
   10518 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10519 
   10520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10521 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10522 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10523 		if eval test \${$cacheid+y}
   10524 then :
   10525   printf %s "(cached) " >&6
   10526 else $as_nop
   10527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10528 /* end confdefs.h.  */
   10529 int i;
   10530 int
   10531 main (void)
   10532 {
   10533 
   10534   ;
   10535   return 0;
   10536 }
   10537 _ACEOF
   10538 if ac_fn_c_try_link "$LINENO"
   10539 then :
   10540   eval $cacheid=yes
   10541 else $as_nop
   10542   eval $cacheid=no
   10543 fi
   10544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10545     conftest$ac_exeext conftest.$ac_ext
   10546 fi
   10547 
   10548 
   10549 		CFLAGS="$xorg_testset_save_CFLAGS"
   10550 
   10551 		eval supported=\$$cacheid
   10552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10553 printf "%s\n" "$supported" >&6; }
   10554 		if test "$supported" = "yes" ; then
   10555 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10556 			found="yes"
   10557 		fi
   10558 	fi
   10559 
   10560 
   10561 fi
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 		CWARNFLAGS="$BASE_CFLAGS"
   10570 		if  test "x$GCC" = xyes ; then
   10571 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10572 		fi
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 # Check whether --enable-strict-compilation was given.
   10582 if test ${enable_strict_compilation+y}
   10583 then :
   10584   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10585 else $as_nop
   10586   STRICT_COMPILE=no
   10587 fi
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 STRICT_CFLAGS=""
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 xorg_testset_save_CFLAGS="$CFLAGS"
   10609 
   10610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10615 then :
   10616   printf %s "(cached) " >&6
   10617 else $as_nop
   10618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int i;
   10621 _ACEOF
   10622 if ac_fn_c_try_compile "$LINENO"
   10623 then :
   10624   xorg_cv_cc_flag_unknown_warning_option=yes
   10625 else $as_nop
   10626   xorg_cv_cc_flag_unknown_warning_option=no
   10627 fi
   10628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10629 fi
   10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10631 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10633 	CFLAGS="$xorg_testset_save_CFLAGS"
   10634 fi
   10635 
   10636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10639 	fi
   10640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10642 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10643 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10644 then :
   10645   printf %s "(cached) " >&6
   10646 else $as_nop
   10647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10648 /* end confdefs.h.  */
   10649 int i;
   10650 _ACEOF
   10651 if ac_fn_c_try_compile "$LINENO"
   10652 then :
   10653   xorg_cv_cc_flag_unused_command_line_argument=yes
   10654 else $as_nop
   10655   xorg_cv_cc_flag_unused_command_line_argument=no
   10656 fi
   10657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10658 fi
   10659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10660 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10662 	CFLAGS="$xorg_testset_save_CFLAGS"
   10663 fi
   10664 
   10665 found="no"
   10666 
   10667 	if test $found = "no" ; then
   10668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10670 		fi
   10671 
   10672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10674 		fi
   10675 
   10676 		CFLAGS="$CFLAGS -pedantic"
   10677 
   10678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10679 printf %s "checking if $CC supports -pedantic... " >&6; }
   10680 		cacheid=xorg_cv_cc_flag__pedantic
   10681 		if eval test \${$cacheid+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else $as_nop
   10685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 int
   10689 main (void)
   10690 {
   10691 
   10692   ;
   10693   return 0;
   10694 }
   10695 _ACEOF
   10696 if ac_fn_c_try_link "$LINENO"
   10697 then :
   10698   eval $cacheid=yes
   10699 else $as_nop
   10700   eval $cacheid=no
   10701 fi
   10702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10703     conftest$ac_exeext conftest.$ac_ext
   10704 fi
   10705 
   10706 
   10707 		CFLAGS="$xorg_testset_save_CFLAGS"
   10708 
   10709 		eval supported=\$$cacheid
   10710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10711 printf "%s\n" "$supported" >&6; }
   10712 		if test "$supported" = "yes" ; then
   10713 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10714 			found="yes"
   10715 		fi
   10716 	fi
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 xorg_testset_save_CFLAGS="$CFLAGS"
   10733 
   10734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10738 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10739 then :
   10740   printf %s "(cached) " >&6
   10741 else $as_nop
   10742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10743 /* end confdefs.h.  */
   10744 int i;
   10745 _ACEOF
   10746 if ac_fn_c_try_compile "$LINENO"
   10747 then :
   10748   xorg_cv_cc_flag_unknown_warning_option=yes
   10749 else $as_nop
   10750   xorg_cv_cc_flag_unknown_warning_option=no
   10751 fi
   10752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10753 fi
   10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10755 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10757 	CFLAGS="$xorg_testset_save_CFLAGS"
   10758 fi
   10759 
   10760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10763 	fi
   10764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10765 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10766 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10767 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10768 then :
   10769   printf %s "(cached) " >&6
   10770 else $as_nop
   10771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10772 /* end confdefs.h.  */
   10773 int i;
   10774 _ACEOF
   10775 if ac_fn_c_try_compile "$LINENO"
   10776 then :
   10777   xorg_cv_cc_flag_unused_command_line_argument=yes
   10778 else $as_nop
   10779   xorg_cv_cc_flag_unused_command_line_argument=no
   10780 fi
   10781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10782 fi
   10783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10784 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10786 	CFLAGS="$xorg_testset_save_CFLAGS"
   10787 fi
   10788 
   10789 found="no"
   10790 
   10791 	if test $found = "no" ; then
   10792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10794 		fi
   10795 
   10796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10798 		fi
   10799 
   10800 		CFLAGS="$CFLAGS -Werror"
   10801 
   10802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10803 printf %s "checking if $CC supports -Werror... " >&6; }
   10804 		cacheid=xorg_cv_cc_flag__Werror
   10805 		if eval test \${$cacheid+y}
   10806 then :
   10807   printf %s "(cached) " >&6
   10808 else $as_nop
   10809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 int
   10813 main (void)
   10814 {
   10815 
   10816   ;
   10817   return 0;
   10818 }
   10819 _ACEOF
   10820 if ac_fn_c_try_link "$LINENO"
   10821 then :
   10822   eval $cacheid=yes
   10823 else $as_nop
   10824   eval $cacheid=no
   10825 fi
   10826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10827     conftest$ac_exeext conftest.$ac_ext
   10828 fi
   10829 
   10830 
   10831 		CFLAGS="$xorg_testset_save_CFLAGS"
   10832 
   10833 		eval supported=\$$cacheid
   10834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10835 printf "%s\n" "$supported" >&6; }
   10836 		if test "$supported" = "yes" ; then
   10837 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10838 			found="yes"
   10839 		fi
   10840 	fi
   10841 
   10842 	if test $found = "no" ; then
   10843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10845 		fi
   10846 
   10847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10849 		fi
   10850 
   10851 		CFLAGS="$CFLAGS -errwarn"
   10852 
   10853 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10854 printf %s "checking if $CC supports -errwarn... " >&6; }
   10855 		cacheid=xorg_cv_cc_flag__errwarn
   10856 		if eval test \${$cacheid+y}
   10857 then :
   10858   printf %s "(cached) " >&6
   10859 else $as_nop
   10860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10861 /* end confdefs.h.  */
   10862 int i;
   10863 int
   10864 main (void)
   10865 {
   10866 
   10867   ;
   10868   return 0;
   10869 }
   10870 _ACEOF
   10871 if ac_fn_c_try_link "$LINENO"
   10872 then :
   10873   eval $cacheid=yes
   10874 else $as_nop
   10875   eval $cacheid=no
   10876 fi
   10877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10878     conftest$ac_exeext conftest.$ac_ext
   10879 fi
   10880 
   10881 
   10882 		CFLAGS="$xorg_testset_save_CFLAGS"
   10883 
   10884 		eval supported=\$$cacheid
   10885 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10886 printf "%s\n" "$supported" >&6; }
   10887 		if test "$supported" = "yes" ; then
   10888 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10889 			found="yes"
   10890 		fi
   10891 	fi
   10892 
   10893 
   10894 
   10895 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10896 # activate it with -Werror, so we add it here explicitly.
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 xorg_testset_save_CFLAGS="$CFLAGS"
   10911 
   10912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10915 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10916 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10917 then :
   10918   printf %s "(cached) " >&6
   10919 else $as_nop
   10920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10921 /* end confdefs.h.  */
   10922 int i;
   10923 _ACEOF
   10924 if ac_fn_c_try_compile "$LINENO"
   10925 then :
   10926   xorg_cv_cc_flag_unknown_warning_option=yes
   10927 else $as_nop
   10928   xorg_cv_cc_flag_unknown_warning_option=no
   10929 fi
   10930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10931 fi
   10932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10933 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10935 	CFLAGS="$xorg_testset_save_CFLAGS"
   10936 fi
   10937 
   10938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10941 	fi
   10942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10944 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10945 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10946 then :
   10947   printf %s "(cached) " >&6
   10948 else $as_nop
   10949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10950 /* end confdefs.h.  */
   10951 int i;
   10952 _ACEOF
   10953 if ac_fn_c_try_compile "$LINENO"
   10954 then :
   10955   xorg_cv_cc_flag_unused_command_line_argument=yes
   10956 else $as_nop
   10957   xorg_cv_cc_flag_unused_command_line_argument=no
   10958 fi
   10959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10960 fi
   10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10962 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10964 	CFLAGS="$xorg_testset_save_CFLAGS"
   10965 fi
   10966 
   10967 found="no"
   10968 
   10969 	if test $found = "no" ; then
   10970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10972 		fi
   10973 
   10974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10976 		fi
   10977 
   10978 		CFLAGS="$CFLAGS -Werror=attributes"
   10979 
   10980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10981 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10982 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10983 		if eval test \${$cacheid+y}
   10984 then :
   10985   printf %s "(cached) " >&6
   10986 else $as_nop
   10987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10988 /* end confdefs.h.  */
   10989 int i;
   10990 int
   10991 main (void)
   10992 {
   10993 
   10994   ;
   10995   return 0;
   10996 }
   10997 _ACEOF
   10998 if ac_fn_c_try_link "$LINENO"
   10999 then :
   11000   eval $cacheid=yes
   11001 else $as_nop
   11002   eval $cacheid=no
   11003 fi
   11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11005     conftest$ac_exeext conftest.$ac_ext
   11006 fi
   11007 
   11008 
   11009 		CFLAGS="$xorg_testset_save_CFLAGS"
   11010 
   11011 		eval supported=\$$cacheid
   11012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11013 printf "%s\n" "$supported" >&6; }
   11014 		if test "$supported" = "yes" ; then
   11015 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11016 			found="yes"
   11017 		fi
   11018 	fi
   11019 
   11020 
   11021 
   11022 if test "x$STRICT_COMPILE" = "xyes"; then
   11023     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11024     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11025 fi
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 cat >>confdefs.h <<_ACEOF
   11033 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11034 _ACEOF
   11035 
   11036 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11037 	if test "x$PVM" = "x"; then
   11038 		PVM="0"
   11039 	fi
   11040 
   11041 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11042 
   11043 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11044 	if test "x$PVP" = "x"; then
   11045 		PVP="0"
   11046 	fi
   11047 
   11048 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11049 
   11050 
   11051 
   11052 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11053 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11054 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11055 touch \$(top_srcdir)/ChangeLog; \
   11056 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11057 
   11058 
   11059 
   11060 
   11061 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11062 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11063 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11064 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11065 touch \$(top_srcdir)/INSTALL; \
   11066 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 case $host_os in
   11074     solaris*)
   11075         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11076         # check for a man page file found in later versions that use
   11077         # traditional section numbers instead
   11078         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11079 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11080 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11081 then :
   11082   printf %s "(cached) " >&6
   11083 else $as_nop
   11084   test "$cross_compiling" = yes &&
   11085   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11086 if test -r "/usr/share/man/man7/attributes.7"; then
   11087   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11088 else
   11089   ac_cv_file__usr_share_man_man7_attributes_7=no
   11090 fi
   11091 fi
   11092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11093 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11094 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11095 then :
   11096   SYSV_MAN_SECTIONS=false
   11097 else $as_nop
   11098   SYSV_MAN_SECTIONS=true
   11099 fi
   11100 
   11101         ;;
   11102     *) SYSV_MAN_SECTIONS=false ;;
   11103 esac
   11104 
   11105 if test x$APP_MAN_SUFFIX = x    ; then
   11106     APP_MAN_SUFFIX=1
   11107 fi
   11108 if test x$APP_MAN_DIR = x    ; then
   11109     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11110 fi
   11111 
   11112 if test x$LIB_MAN_SUFFIX = x    ; then
   11113     LIB_MAN_SUFFIX=3
   11114 fi
   11115 if test x$LIB_MAN_DIR = x    ; then
   11116     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11117 fi
   11118 
   11119 if test x$FILE_MAN_SUFFIX = x    ; then
   11120     case $SYSV_MAN_SECTIONS in
   11121 	true)				FILE_MAN_SUFFIX=4  ;;
   11122 	*)				FILE_MAN_SUFFIX=5  ;;
   11123     esac
   11124 fi
   11125 if test x$FILE_MAN_DIR = x    ; then
   11126     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11127 fi
   11128 
   11129 if test x$MISC_MAN_SUFFIX = x    ; then
   11130     case $SYSV_MAN_SECTIONS in
   11131 	true)				MISC_MAN_SUFFIX=5  ;;
   11132 	*)				MISC_MAN_SUFFIX=7  ;;
   11133     esac
   11134 fi
   11135 if test x$MISC_MAN_DIR = x    ; then
   11136     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11137 fi
   11138 
   11139 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11140     case $SYSV_MAN_SECTIONS in
   11141 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11142 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11143     esac
   11144 fi
   11145 if test x$DRIVER_MAN_DIR = x    ; then
   11146     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11147 fi
   11148 
   11149 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11150     case $SYSV_MAN_SECTIONS in
   11151 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11152 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11153     esac
   11154 fi
   11155 if test x$ADMIN_MAN_DIR = x    ; then
   11156     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11157 fi
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 XORG_MAN_PAGE="X Version 11"
   11174 
   11175 MAN_SUBSTS="\
   11176 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11177 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11178 	-e 's|__xservername__|Xorg|g' \
   11179 	-e 's|__xconfigfile__|xorg.conf|g' \
   11180 	-e 's|__projectroot__|\$(prefix)|g' \
   11181 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11182 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11183 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11184 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11185 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11186 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11187 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11188 
   11189 
   11190 
   11191 # Check whether --enable-silent-rules was given.
   11192 if test ${enable_silent_rules+y}
   11193 then :
   11194   enableval=$enable_silent_rules;
   11195 fi
   11196 
   11197 case $enable_silent_rules in # (((
   11198   yes) AM_DEFAULT_VERBOSITY=0;;
   11199    no) AM_DEFAULT_VERBOSITY=1;;
   11200     *) AM_DEFAULT_VERBOSITY=0;;
   11201 esac
   11202 am_make=${MAKE-make}
   11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11204 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11205 if test ${am_cv_make_support_nested_variables+y}
   11206 then :
   11207   printf %s "(cached) " >&6
   11208 else $as_nop
   11209   if printf "%s\n" 'TRUE=$(BAR$(V))
   11210 BAR0=false
   11211 BAR1=true
   11212 V=1
   11213 am__doit:
   11214 	@$(TRUE)
   11215 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11216   am_cv_make_support_nested_variables=yes
   11217 else
   11218   am_cv_make_support_nested_variables=no
   11219 fi
   11220 fi
   11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11222 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11223 if test $am_cv_make_support_nested_variables = yes; then
   11224     AM_V='$(V)'
   11225   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11226 else
   11227   AM_V=$AM_DEFAULT_VERBOSITY
   11228   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11229 fi
   11230 AM_BACKSLASH='\'
   11231 
   11232 
   11233 
   11234 # Initialize libtool
   11235 # Check whether --enable-static was given.
   11236 if test ${enable_static+y}
   11237 then :
   11238   enableval=$enable_static; p=${PACKAGE-default}
   11239     case $enableval in
   11240     yes) enable_static=yes ;;
   11241     no) enable_static=no ;;
   11242     *)
   11243      enable_static=no
   11244       # Look at the argument we got.  We use all the common list separators.
   11245       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11246       for pkg in $enableval; do
   11247 	IFS=$lt_save_ifs
   11248 	if test "X$pkg" = "X$p"; then
   11249 	  enable_static=yes
   11250 	fi
   11251       done
   11252       IFS=$lt_save_ifs
   11253       ;;
   11254     esac
   11255 else $as_nop
   11256   enable_static=no
   11257 fi
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 case `pwd` in
   11268   *\ * | *\	*)
   11269     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11270 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11271 esac
   11272 
   11273 
   11274 
   11275 macro_version='2.4.7'
   11276 macro_revision='2.4.7'
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 ltmain=$ac_aux_dir/ltmain.sh
   11292 
   11293 # Backslashify metacharacters that are still active within
   11294 # double-quoted strings.
   11295 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11296 
   11297 # Same as above, but do not quote variable references.
   11298 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11299 
   11300 # Sed substitution to delay expansion of an escaped shell variable in a
   11301 # double_quote_subst'ed string.
   11302 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11303 
   11304 # Sed substitution to delay expansion of an escaped single quote.
   11305 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11306 
   11307 # Sed substitution to avoid accidental globbing in evaled expressions
   11308 no_glob_subst='s/\*/\\\*/g'
   11309 
   11310 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11311 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11312 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11313 
   11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11315 printf %s "checking how to print strings... " >&6; }
   11316 # Test print first, because it will be a builtin if present.
   11317 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11318    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11319   ECHO='print -r --'
   11320 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11321   ECHO='printf %s\n'
   11322 else
   11323   # Use this function as a fallback that always works.
   11324   func_fallback_echo ()
   11325   {
   11326     eval 'cat <<_LTECHO_EOF
   11327 $1
   11328 _LTECHO_EOF'
   11329   }
   11330   ECHO='func_fallback_echo'
   11331 fi
   11332 
   11333 # func_echo_all arg...
   11334 # Invoke $ECHO with all args, space-separated.
   11335 func_echo_all ()
   11336 {
   11337     $ECHO ""
   11338 }
   11339 
   11340 case $ECHO in
   11341   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11342 printf "%s\n" "printf" >&6; } ;;
   11343   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11344 printf "%s\n" "print -r" >&6; } ;;
   11345   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11346 printf "%s\n" "cat" >&6; } ;;
   11347 esac
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11363 printf %s "checking for a sed that does not truncate output... " >&6; }
   11364 if test ${ac_cv_path_SED+y}
   11365 then :
   11366   printf %s "(cached) " >&6
   11367 else $as_nop
   11368             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11369      for ac_i in 1 2 3 4 5 6 7; do
   11370        ac_script="$ac_script$as_nl$ac_script"
   11371      done
   11372      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11373      { ac_script=; unset ac_script;}
   11374      if test -z "$SED"; then
   11375   ac_path_SED_found=false
   11376   # Loop through the user's path and test for each of PROGNAME-LIST
   11377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11378 for as_dir in $PATH
   11379 do
   11380   IFS=$as_save_IFS
   11381   case $as_dir in #(((
   11382     '') as_dir=./ ;;
   11383     */) ;;
   11384     *) as_dir=$as_dir/ ;;
   11385   esac
   11386     for ac_prog in sed gsed
   11387    do
   11388     for ac_exec_ext in '' $ac_executable_extensions; do
   11389       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11390       as_fn_executable_p "$ac_path_SED" || continue
   11391 # Check for GNU ac_path_SED and select it if it is found.
   11392   # Check for GNU $ac_path_SED
   11393 case `"$ac_path_SED" --version 2>&1` in
   11394 *GNU*)
   11395   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11396 *)
   11397   ac_count=0
   11398   printf %s 0123456789 >"conftest.in"
   11399   while :
   11400   do
   11401     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11402     mv "conftest.tmp" "conftest.in"
   11403     cp "conftest.in" "conftest.nl"
   11404     printf "%s\n" '' >> "conftest.nl"
   11405     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11406     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11407     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11408     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11409       # Best one so far, save it but keep looking for a better one
   11410       ac_cv_path_SED="$ac_path_SED"
   11411       ac_path_SED_max=$ac_count
   11412     fi
   11413     # 10*(2^10) chars as input seems more than enough
   11414     test $ac_count -gt 10 && break
   11415   done
   11416   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11417 esac
   11418 
   11419       $ac_path_SED_found && break 3
   11420     done
   11421   done
   11422   done
   11423 IFS=$as_save_IFS
   11424   if test -z "$ac_cv_path_SED"; then
   11425     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11426   fi
   11427 else
   11428   ac_cv_path_SED=$SED
   11429 fi
   11430 
   11431 fi
   11432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11433 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11434  SED="$ac_cv_path_SED"
   11435   rm -f conftest.sed
   11436 
   11437 test -z "$SED" && SED=sed
   11438 Xsed="$SED -e 1s/^X//"
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11451 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11452 if test ${ac_cv_path_GREP+y}
   11453 then :
   11454   printf %s "(cached) " >&6
   11455 else $as_nop
   11456   if test -z "$GREP"; then
   11457   ac_path_GREP_found=false
   11458   # Loop through the user's path and test for each of PROGNAME-LIST
   11459   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11461 do
   11462   IFS=$as_save_IFS
   11463   case $as_dir in #(((
   11464     '') as_dir=./ ;;
   11465     */) ;;
   11466     *) as_dir=$as_dir/ ;;
   11467   esac
   11468     for ac_prog in grep ggrep
   11469    do
   11470     for ac_exec_ext in '' $ac_executable_extensions; do
   11471       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11472       as_fn_executable_p "$ac_path_GREP" || continue
   11473 # Check for GNU ac_path_GREP and select it if it is found.
   11474   # Check for GNU $ac_path_GREP
   11475 case `"$ac_path_GREP" --version 2>&1` in
   11476 *GNU*)
   11477   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11478 *)
   11479   ac_count=0
   11480   printf %s 0123456789 >"conftest.in"
   11481   while :
   11482   do
   11483     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11484     mv "conftest.tmp" "conftest.in"
   11485     cp "conftest.in" "conftest.nl"
   11486     printf "%s\n" 'GREP' >> "conftest.nl"
   11487     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11488     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11489     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11490     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11491       # Best one so far, save it but keep looking for a better one
   11492       ac_cv_path_GREP="$ac_path_GREP"
   11493       ac_path_GREP_max=$ac_count
   11494     fi
   11495     # 10*(2^10) chars as input seems more than enough
   11496     test $ac_count -gt 10 && break
   11497   done
   11498   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11499 esac
   11500 
   11501       $ac_path_GREP_found && break 3
   11502     done
   11503   done
   11504   done
   11505 IFS=$as_save_IFS
   11506   if test -z "$ac_cv_path_GREP"; then
   11507     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11508   fi
   11509 else
   11510   ac_cv_path_GREP=$GREP
   11511 fi
   11512 
   11513 fi
   11514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11515 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11516  GREP="$ac_cv_path_GREP"
   11517 
   11518 
   11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11520 printf %s "checking for egrep... " >&6; }
   11521 if test ${ac_cv_path_EGREP+y}
   11522 then :
   11523   printf %s "(cached) " >&6
   11524 else $as_nop
   11525   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11526    then ac_cv_path_EGREP="$GREP -E"
   11527    else
   11528      if test -z "$EGREP"; then
   11529   ac_path_EGREP_found=false
   11530   # Loop through the user's path and test for each of PROGNAME-LIST
   11531   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11533 do
   11534   IFS=$as_save_IFS
   11535   case $as_dir in #(((
   11536     '') as_dir=./ ;;
   11537     */) ;;
   11538     *) as_dir=$as_dir/ ;;
   11539   esac
   11540     for ac_prog in egrep
   11541    do
   11542     for ac_exec_ext in '' $ac_executable_extensions; do
   11543       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11544       as_fn_executable_p "$ac_path_EGREP" || continue
   11545 # Check for GNU ac_path_EGREP and select it if it is found.
   11546   # Check for GNU $ac_path_EGREP
   11547 case `"$ac_path_EGREP" --version 2>&1` in
   11548 *GNU*)
   11549   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11550 *)
   11551   ac_count=0
   11552   printf %s 0123456789 >"conftest.in"
   11553   while :
   11554   do
   11555     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11556     mv "conftest.tmp" "conftest.in"
   11557     cp "conftest.in" "conftest.nl"
   11558     printf "%s\n" 'EGREP' >> "conftest.nl"
   11559     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11560     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11561     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11562     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11563       # Best one so far, save it but keep looking for a better one
   11564       ac_cv_path_EGREP="$ac_path_EGREP"
   11565       ac_path_EGREP_max=$ac_count
   11566     fi
   11567     # 10*(2^10) chars as input seems more than enough
   11568     test $ac_count -gt 10 && break
   11569   done
   11570   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11571 esac
   11572 
   11573       $ac_path_EGREP_found && break 3
   11574     done
   11575   done
   11576   done
   11577 IFS=$as_save_IFS
   11578   if test -z "$ac_cv_path_EGREP"; then
   11579     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11580   fi
   11581 else
   11582   ac_cv_path_EGREP=$EGREP
   11583 fi
   11584 
   11585    fi
   11586 fi
   11587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11588 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11589  EGREP="$ac_cv_path_EGREP"
   11590 
   11591 
   11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11593 printf %s "checking for fgrep... " >&6; }
   11594 if test ${ac_cv_path_FGREP+y}
   11595 then :
   11596   printf %s "(cached) " >&6
   11597 else $as_nop
   11598   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11599    then ac_cv_path_FGREP="$GREP -F"
   11600    else
   11601      if test -z "$FGREP"; then
   11602   ac_path_FGREP_found=false
   11603   # Loop through the user's path and test for each of PROGNAME-LIST
   11604   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11606 do
   11607   IFS=$as_save_IFS
   11608   case $as_dir in #(((
   11609     '') as_dir=./ ;;
   11610     */) ;;
   11611     *) as_dir=$as_dir/ ;;
   11612   esac
   11613     for ac_prog in fgrep
   11614    do
   11615     for ac_exec_ext in '' $ac_executable_extensions; do
   11616       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11617       as_fn_executable_p "$ac_path_FGREP" || continue
   11618 # Check for GNU ac_path_FGREP and select it if it is found.
   11619   # Check for GNU $ac_path_FGREP
   11620 case `"$ac_path_FGREP" --version 2>&1` in
   11621 *GNU*)
   11622   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11623 *)
   11624   ac_count=0
   11625   printf %s 0123456789 >"conftest.in"
   11626   while :
   11627   do
   11628     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11629     mv "conftest.tmp" "conftest.in"
   11630     cp "conftest.in" "conftest.nl"
   11631     printf "%s\n" 'FGREP' >> "conftest.nl"
   11632     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11633     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11634     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11635     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11636       # Best one so far, save it but keep looking for a better one
   11637       ac_cv_path_FGREP="$ac_path_FGREP"
   11638       ac_path_FGREP_max=$ac_count
   11639     fi
   11640     # 10*(2^10) chars as input seems more than enough
   11641     test $ac_count -gt 10 && break
   11642   done
   11643   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11644 esac
   11645 
   11646       $ac_path_FGREP_found && break 3
   11647     done
   11648   done
   11649   done
   11650 IFS=$as_save_IFS
   11651   if test -z "$ac_cv_path_FGREP"; then
   11652     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11653   fi
   11654 else
   11655   ac_cv_path_FGREP=$FGREP
   11656 fi
   11657 
   11658    fi
   11659 fi
   11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11661 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11662  FGREP="$ac_cv_path_FGREP"
   11663 
   11664 
   11665 test -z "$GREP" && GREP=grep
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 # Check whether --with-gnu-ld was given.
   11686 if test ${with_gnu_ld+y}
   11687 then :
   11688   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11689 else $as_nop
   11690   with_gnu_ld=no
   11691 fi
   11692 
   11693 ac_prog=ld
   11694 if test yes = "$GCC"; then
   11695   # Check if gcc -print-prog-name=ld gives a path.
   11696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11697 printf %s "checking for ld used by $CC... " >&6; }
   11698   case $host in
   11699   *-*-mingw*)
   11700     # gcc leaves a trailing carriage return, which upsets mingw
   11701     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11702   *)
   11703     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11704   esac
   11705   case $ac_prog in
   11706     # Accept absolute paths.
   11707     [\\/]* | ?:[\\/]*)
   11708       re_direlt='/[^/][^/]*/\.\./'
   11709       # Canonicalize the pathname of ld
   11710       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11711       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11712 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11713       done
   11714       test -z "$LD" && LD=$ac_prog
   11715       ;;
   11716   "")
   11717     # If it fails, then pretend we aren't using GCC.
   11718     ac_prog=ld
   11719     ;;
   11720   *)
   11721     # If it is relative, then search for the first ld in PATH.
   11722     with_gnu_ld=unknown
   11723     ;;
   11724   esac
   11725 elif test yes = "$with_gnu_ld"; then
   11726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11727 printf %s "checking for GNU ld... " >&6; }
   11728 else
   11729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11730 printf %s "checking for non-GNU ld... " >&6; }
   11731 fi
   11732 if test ${lt_cv_path_LD+y}
   11733 then :
   11734   printf %s "(cached) " >&6
   11735 else $as_nop
   11736   if test -z "$LD"; then
   11737   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11738   for ac_dir in $PATH; do
   11739     IFS=$lt_save_ifs
   11740     test -z "$ac_dir" && ac_dir=.
   11741     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11742       lt_cv_path_LD=$ac_dir/$ac_prog
   11743       # Check to see if the program is GNU ld.  I'd rather use --version,
   11744       # but apparently some variants of GNU ld only accept -v.
   11745       # Break only if it was the GNU/non-GNU ld that we prefer.
   11746       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11747       *GNU* | *'with BFD'*)
   11748 	test no != "$with_gnu_ld" && break
   11749 	;;
   11750       *)
   11751 	test yes != "$with_gnu_ld" && break
   11752 	;;
   11753       esac
   11754     fi
   11755   done
   11756   IFS=$lt_save_ifs
   11757 else
   11758   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11759 fi
   11760 fi
   11761 
   11762 LD=$lt_cv_path_LD
   11763 if test -n "$LD"; then
   11764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11765 printf "%s\n" "$LD" >&6; }
   11766 else
   11767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11768 printf "%s\n" "no" >&6; }
   11769 fi
   11770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11772 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   11773 if test ${lt_cv_prog_gnu_ld+y}
   11774 then :
   11775   printf %s "(cached) " >&6
   11776 else $as_nop
   11777   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11778 case `$LD -v 2>&1 </dev/null` in
   11779 *GNU* | *'with BFD'*)
   11780   lt_cv_prog_gnu_ld=yes
   11781   ;;
   11782 *)
   11783   lt_cv_prog_gnu_ld=no
   11784   ;;
   11785 esac
   11786 fi
   11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11788 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   11789 with_gnu_ld=$lt_cv_prog_gnu_ld
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11800 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11801 if test ${lt_cv_path_NM+y}
   11802 then :
   11803   printf %s "(cached) " >&6
   11804 else $as_nop
   11805   if test -n "$NM"; then
   11806   # Let the user override the test.
   11807   lt_cv_path_NM=$NM
   11808 else
   11809   lt_nm_to_check=${ac_tool_prefix}nm
   11810   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11811     lt_nm_to_check="$lt_nm_to_check nm"
   11812   fi
   11813   for lt_tmp_nm in $lt_nm_to_check; do
   11814     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11815     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11816       IFS=$lt_save_ifs
   11817       test -z "$ac_dir" && ac_dir=.
   11818       tmp_nm=$ac_dir/$lt_tmp_nm
   11819       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11820 	# Check to see if the nm accepts a BSD-compat flag.
   11821 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11822 	#   nm: unknown option "B" ignored
   11823 	# Tru64's nm complains that /dev/null is an invalid object file
   11824 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11825 	case $build_os in
   11826 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11827 	*) lt_bad_file=/dev/null ;;
   11828 	esac
   11829 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   11830 	*$lt_bad_file* | *'Invalid file or object type'*)
   11831 	  lt_cv_path_NM="$tmp_nm -B"
   11832 	  break 2
   11833 	  ;;
   11834 	*)
   11835 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   11836 	  */dev/null*)
   11837 	    lt_cv_path_NM="$tmp_nm -p"
   11838 	    break 2
   11839 	    ;;
   11840 	  *)
   11841 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11842 	    continue # so that we can try to find one that supports BSD flags
   11843 	    ;;
   11844 	  esac
   11845 	  ;;
   11846 	esac
   11847       fi
   11848     done
   11849     IFS=$lt_save_ifs
   11850   done
   11851   : ${lt_cv_path_NM=no}
   11852 fi
   11853 fi
   11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11855 printf "%s\n" "$lt_cv_path_NM" >&6; }
   11856 if test no != "$lt_cv_path_NM"; then
   11857   NM=$lt_cv_path_NM
   11858 else
   11859   # Didn't find any BSD compatible name lister, look for dumpbin.
   11860   if test -n "$DUMPBIN"; then :
   11861     # Let the user override the test.
   11862   else
   11863     if test -n "$ac_tool_prefix"; then
   11864   for ac_prog in dumpbin "link -dump"
   11865   do
   11866     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11869 printf %s "checking for $ac_word... " >&6; }
   11870 if test ${ac_cv_prog_DUMPBIN+y}
   11871 then :
   11872   printf %s "(cached) " >&6
   11873 else $as_nop
   11874   if test -n "$DUMPBIN"; then
   11875   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11876 else
   11877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11878 for as_dir in $PATH
   11879 do
   11880   IFS=$as_save_IFS
   11881   case $as_dir in #(((
   11882     '') as_dir=./ ;;
   11883     */) ;;
   11884     *) as_dir=$as_dir/ ;;
   11885   esac
   11886     for ac_exec_ext in '' $ac_executable_extensions; do
   11887   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11888     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11890     break 2
   11891   fi
   11892 done
   11893   done
   11894 IFS=$as_save_IFS
   11895 
   11896 fi
   11897 fi
   11898 DUMPBIN=$ac_cv_prog_DUMPBIN
   11899 if test -n "$DUMPBIN"; then
   11900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11901 printf "%s\n" "$DUMPBIN" >&6; }
   11902 else
   11903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11904 printf "%s\n" "no" >&6; }
   11905 fi
   11906 
   11907 
   11908     test -n "$DUMPBIN" && break
   11909   done
   11910 fi
   11911 if test -z "$DUMPBIN"; then
   11912   ac_ct_DUMPBIN=$DUMPBIN
   11913   for ac_prog in dumpbin "link -dump"
   11914 do
   11915   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11916 set dummy $ac_prog; ac_word=$2
   11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11918 printf %s "checking for $ac_word... " >&6; }
   11919 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   11920 then :
   11921   printf %s "(cached) " >&6
   11922 else $as_nop
   11923   if test -n "$ac_ct_DUMPBIN"; then
   11924   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11925 else
   11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11927 for as_dir in $PATH
   11928 do
   11929   IFS=$as_save_IFS
   11930   case $as_dir in #(((
   11931     '') as_dir=./ ;;
   11932     */) ;;
   11933     *) as_dir=$as_dir/ ;;
   11934   esac
   11935     for ac_exec_ext in '' $ac_executable_extensions; do
   11936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11937     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11939     break 2
   11940   fi
   11941 done
   11942   done
   11943 IFS=$as_save_IFS
   11944 
   11945 fi
   11946 fi
   11947 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11948 if test -n "$ac_ct_DUMPBIN"; then
   11949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11950 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   11951 else
   11952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11953 printf "%s\n" "no" >&6; }
   11954 fi
   11955 
   11956 
   11957   test -n "$ac_ct_DUMPBIN" && break
   11958 done
   11959 
   11960   if test "x$ac_ct_DUMPBIN" = x; then
   11961     DUMPBIN=":"
   11962   else
   11963     case $cross_compiling:$ac_tool_warned in
   11964 yes:)
   11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11967 ac_tool_warned=yes ;;
   11968 esac
   11969     DUMPBIN=$ac_ct_DUMPBIN
   11970   fi
   11971 fi
   11972 
   11973     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   11974     *COFF*)
   11975       DUMPBIN="$DUMPBIN -symbols -headers"
   11976       ;;
   11977     *)
   11978       DUMPBIN=:
   11979       ;;
   11980     esac
   11981   fi
   11982 
   11983   if test : != "$DUMPBIN"; then
   11984     NM=$DUMPBIN
   11985   fi
   11986 fi
   11987 test -z "$NM" && NM=nm
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11995 printf %s "checking the name lister ($NM) interface... " >&6; }
   11996 if test ${lt_cv_nm_interface+y}
   11997 then :
   11998   printf %s "(cached) " >&6
   11999 else $as_nop
   12000   lt_cv_nm_interface="BSD nm"
   12001   echo "int some_variable = 0;" > conftest.$ac_ext
   12002   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12003   (eval "$ac_compile" 2>conftest.err)
   12004   cat conftest.err >&5
   12005   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12006   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12007   cat conftest.err >&5
   12008   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12009   cat conftest.out >&5
   12010   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12011     lt_cv_nm_interface="MS dumpbin"
   12012   fi
   12013   rm -f conftest*
   12014 fi
   12015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12016 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12017 
   12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12019 printf %s "checking whether ln -s works... " >&6; }
   12020 LN_S=$as_ln_s
   12021 if test "$LN_S" = "ln -s"; then
   12022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12023 printf "%s\n" "yes" >&6; }
   12024 else
   12025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12026 printf "%s\n" "no, using $LN_S" >&6; }
   12027 fi
   12028 
   12029 # find the maximum length of command line arguments
   12030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12031 printf %s "checking the maximum length of command line arguments... " >&6; }
   12032 if test ${lt_cv_sys_max_cmd_len+y}
   12033 then :
   12034   printf %s "(cached) " >&6
   12035 else $as_nop
   12036     i=0
   12037   teststring=ABCD
   12038 
   12039   case $build_os in
   12040   msdosdjgpp*)
   12041     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12042     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12043     # during glob expansion).  Even if it were fixed, the result of this
   12044     # check would be larger than it should be.
   12045     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12046     ;;
   12047 
   12048   gnu*)
   12049     # Under GNU Hurd, this test is not required because there is
   12050     # no limit to the length of command line arguments.
   12051     # Libtool will interpret -1 as no limit whatsoever
   12052     lt_cv_sys_max_cmd_len=-1;
   12053     ;;
   12054 
   12055   cygwin* | mingw* | cegcc*)
   12056     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12057     # about 5 minutes as the teststring grows exponentially.
   12058     # Worse, since 9x/ME are not pre-emptively multitasking,
   12059     # you end up with a "frozen" computer, even though with patience
   12060     # the test eventually succeeds (with a max line length of 256k).
   12061     # Instead, let's just punt: use the minimum linelength reported by
   12062     # all of the supported platforms: 8192 (on NT/2K/XP).
   12063     lt_cv_sys_max_cmd_len=8192;
   12064     ;;
   12065 
   12066   mint*)
   12067     # On MiNT this can take a long time and run out of memory.
   12068     lt_cv_sys_max_cmd_len=8192;
   12069     ;;
   12070 
   12071   amigaos*)
   12072     # On AmigaOS with pdksh, this test takes hours, literally.
   12073     # So we just punt and use a minimum line length of 8192.
   12074     lt_cv_sys_max_cmd_len=8192;
   12075     ;;
   12076 
   12077   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12078     # This has been around since 386BSD, at least.  Likely further.
   12079     if test -x /sbin/sysctl; then
   12080       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12081     elif test -x /usr/sbin/sysctl; then
   12082       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12083     else
   12084       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12085     fi
   12086     # And add a safety zone
   12087     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12088     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12089     ;;
   12090 
   12091   interix*)
   12092     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12093     lt_cv_sys_max_cmd_len=196608
   12094     ;;
   12095 
   12096   os2*)
   12097     # The test takes a long time on OS/2.
   12098     lt_cv_sys_max_cmd_len=8192
   12099     ;;
   12100 
   12101   osf*)
   12102     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12103     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12104     # nice to cause kernel panics so lets avoid the loop below.
   12105     # First set a reasonable default.
   12106     lt_cv_sys_max_cmd_len=16384
   12107     #
   12108     if test -x /sbin/sysconfig; then
   12109       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12110         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12111       esac
   12112     fi
   12113     ;;
   12114   sco3.2v5*)
   12115     lt_cv_sys_max_cmd_len=102400
   12116     ;;
   12117   sysv5* | sco5v6* | sysv4.2uw2*)
   12118     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12119     if test -n "$kargmax"; then
   12120       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12121     else
   12122       lt_cv_sys_max_cmd_len=32768
   12123     fi
   12124     ;;
   12125   *)
   12126     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12127     if test -n "$lt_cv_sys_max_cmd_len" && \
   12128        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12129       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12130       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12131     else
   12132       # Make teststring a little bigger before we do anything with it.
   12133       # a 1K string should be a reasonable start.
   12134       for i in 1 2 3 4 5 6 7 8; do
   12135         teststring=$teststring$teststring
   12136       done
   12137       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12138       # If test is not a shell built-in, we'll probably end up computing a
   12139       # maximum length that is only half of the actual maximum length, but
   12140       # we can't tell.
   12141       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12142 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12143 	      test 17 != "$i" # 1/2 MB should be enough
   12144       do
   12145         i=`expr $i + 1`
   12146         teststring=$teststring$teststring
   12147       done
   12148       # Only check the string length outside the loop.
   12149       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12150       teststring=
   12151       # Add a significant safety factor because C++ compilers can tack on
   12152       # massive amounts of additional arguments before passing them to the
   12153       # linker.  It appears as though 1/2 is a usable value.
   12154       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12155     fi
   12156     ;;
   12157   esac
   12158 
   12159 fi
   12160 
   12161 if test -n "$lt_cv_sys_max_cmd_len"; then
   12162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12163 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12164 else
   12165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12166 printf "%s\n" "none" >&6; }
   12167 fi
   12168 max_cmd_len=$lt_cv_sys_max_cmd_len
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 : ${CP="cp -f"}
   12176 : ${MV="mv -f"}
   12177 : ${RM="rm -f"}
   12178 
   12179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12180   lt_unset=unset
   12181 else
   12182   lt_unset=false
   12183 fi
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 # test EBCDIC or ASCII
   12190 case `echo X|tr X '\101'` in
   12191  A) # ASCII based system
   12192     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12193   lt_SP2NL='tr \040 \012'
   12194   lt_NL2SP='tr \015\012 \040\040'
   12195   ;;
   12196  *) # EBCDIC based system
   12197   lt_SP2NL='tr \100 \n'
   12198   lt_NL2SP='tr \r\n \100\100'
   12199   ;;
   12200 esac
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12211 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12212 if test ${lt_cv_to_host_file_cmd+y}
   12213 then :
   12214   printf %s "(cached) " >&6
   12215 else $as_nop
   12216   case $host in
   12217   *-*-mingw* )
   12218     case $build in
   12219       *-*-mingw* ) # actually msys
   12220         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12221         ;;
   12222       *-*-cygwin* )
   12223         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12224         ;;
   12225       * ) # otherwise, assume *nix
   12226         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12227         ;;
   12228     esac
   12229     ;;
   12230   *-*-cygwin* )
   12231     case $build in
   12232       *-*-mingw* ) # actually msys
   12233         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12234         ;;
   12235       *-*-cygwin* )
   12236         lt_cv_to_host_file_cmd=func_convert_file_noop
   12237         ;;
   12238       * ) # otherwise, assume *nix
   12239         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12240         ;;
   12241     esac
   12242     ;;
   12243   * ) # unhandled hosts (and "normal" native builds)
   12244     lt_cv_to_host_file_cmd=func_convert_file_noop
   12245     ;;
   12246 esac
   12247 
   12248 fi
   12249 
   12250 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12252 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12259 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12260 if test ${lt_cv_to_tool_file_cmd+y}
   12261 then :
   12262   printf %s "(cached) " >&6
   12263 else $as_nop
   12264   #assume ordinary cross tools, or native build.
   12265 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12266 case $host in
   12267   *-*-mingw* )
   12268     case $build in
   12269       *-*-mingw* ) # actually msys
   12270         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12271         ;;
   12272     esac
   12273     ;;
   12274 esac
   12275 
   12276 fi
   12277 
   12278 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12280 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12281 
   12282 
   12283 
   12284 
   12285 
   12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12287 printf %s "checking for $LD option to reload object files... " >&6; }
   12288 if test ${lt_cv_ld_reload_flag+y}
   12289 then :
   12290   printf %s "(cached) " >&6
   12291 else $as_nop
   12292   lt_cv_ld_reload_flag='-r'
   12293 fi
   12294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12295 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12296 reload_flag=$lt_cv_ld_reload_flag
   12297 case $reload_flag in
   12298 "" | " "*) ;;
   12299 *) reload_flag=" $reload_flag" ;;
   12300 esac
   12301 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12302 case $host_os in
   12303   cygwin* | mingw* | pw32* | cegcc*)
   12304     if test yes != "$GCC"; then
   12305       reload_cmds=false
   12306     fi
   12307     ;;
   12308   darwin*)
   12309     if test yes = "$GCC"; then
   12310       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12311     else
   12312       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12313     fi
   12314     ;;
   12315 esac
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 if test -n "$ac_tool_prefix"; then
   12326   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12327 set dummy ${ac_tool_prefix}file; ac_word=$2
   12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12329 printf %s "checking for $ac_word... " >&6; }
   12330 if test ${ac_cv_prog_FILECMD+y}
   12331 then :
   12332   printf %s "(cached) " >&6
   12333 else $as_nop
   12334   if test -n "$FILECMD"; then
   12335   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12336 else
   12337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12338 for as_dir in $PATH
   12339 do
   12340   IFS=$as_save_IFS
   12341   case $as_dir in #(((
   12342     '') as_dir=./ ;;
   12343     */) ;;
   12344     *) as_dir=$as_dir/ ;;
   12345   esac
   12346     for ac_exec_ext in '' $ac_executable_extensions; do
   12347   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12348     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12349     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12350     break 2
   12351   fi
   12352 done
   12353   done
   12354 IFS=$as_save_IFS
   12355 
   12356 fi
   12357 fi
   12358 FILECMD=$ac_cv_prog_FILECMD
   12359 if test -n "$FILECMD"; then
   12360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12361 printf "%s\n" "$FILECMD" >&6; }
   12362 else
   12363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12364 printf "%s\n" "no" >&6; }
   12365 fi
   12366 
   12367 
   12368 fi
   12369 if test -z "$ac_cv_prog_FILECMD"; then
   12370   ac_ct_FILECMD=$FILECMD
   12371   # Extract the first word of "file", so it can be a program name with args.
   12372 set dummy file; ac_word=$2
   12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12374 printf %s "checking for $ac_word... " >&6; }
   12375 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12376 then :
   12377   printf %s "(cached) " >&6
   12378 else $as_nop
   12379   if test -n "$ac_ct_FILECMD"; then
   12380   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12381 else
   12382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12383 for as_dir in $PATH
   12384 do
   12385   IFS=$as_save_IFS
   12386   case $as_dir in #(((
   12387     '') as_dir=./ ;;
   12388     */) ;;
   12389     *) as_dir=$as_dir/ ;;
   12390   esac
   12391     for ac_exec_ext in '' $ac_executable_extensions; do
   12392   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12393     ac_cv_prog_ac_ct_FILECMD="file"
   12394     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12395     break 2
   12396   fi
   12397 done
   12398   done
   12399 IFS=$as_save_IFS
   12400 
   12401 fi
   12402 fi
   12403 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12404 if test -n "$ac_ct_FILECMD"; then
   12405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12406 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12407 else
   12408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12409 printf "%s\n" "no" >&6; }
   12410 fi
   12411 
   12412   if test "x$ac_ct_FILECMD" = x; then
   12413     FILECMD=":"
   12414   else
   12415     case $cross_compiling:$ac_tool_warned in
   12416 yes:)
   12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12418 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12419 ac_tool_warned=yes ;;
   12420 esac
   12421     FILECMD=$ac_ct_FILECMD
   12422   fi
   12423 else
   12424   FILECMD="$ac_cv_prog_FILECMD"
   12425 fi
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 if test -n "$ac_tool_prefix"; then
   12434   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12435 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12437 printf %s "checking for $ac_word... " >&6; }
   12438 if test ${ac_cv_prog_OBJDUMP+y}
   12439 then :
   12440   printf %s "(cached) " >&6
   12441 else $as_nop
   12442   if test -n "$OBJDUMP"; then
   12443   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12444 else
   12445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12446 for as_dir in $PATH
   12447 do
   12448   IFS=$as_save_IFS
   12449   case $as_dir in #(((
   12450     '') as_dir=./ ;;
   12451     */) ;;
   12452     *) as_dir=$as_dir/ ;;
   12453   esac
   12454     for ac_exec_ext in '' $ac_executable_extensions; do
   12455   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12456     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12457     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12458     break 2
   12459   fi
   12460 done
   12461   done
   12462 IFS=$as_save_IFS
   12463 
   12464 fi
   12465 fi
   12466 OBJDUMP=$ac_cv_prog_OBJDUMP
   12467 if test -n "$OBJDUMP"; then
   12468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12469 printf "%s\n" "$OBJDUMP" >&6; }
   12470 else
   12471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12472 printf "%s\n" "no" >&6; }
   12473 fi
   12474 
   12475 
   12476 fi
   12477 if test -z "$ac_cv_prog_OBJDUMP"; then
   12478   ac_ct_OBJDUMP=$OBJDUMP
   12479   # Extract the first word of "objdump", so it can be a program name with args.
   12480 set dummy objdump; ac_word=$2
   12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12482 printf %s "checking for $ac_word... " >&6; }
   12483 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12484 then :
   12485   printf %s "(cached) " >&6
   12486 else $as_nop
   12487   if test -n "$ac_ct_OBJDUMP"; then
   12488   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12489 else
   12490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12491 for as_dir in $PATH
   12492 do
   12493   IFS=$as_save_IFS
   12494   case $as_dir in #(((
   12495     '') as_dir=./ ;;
   12496     */) ;;
   12497     *) as_dir=$as_dir/ ;;
   12498   esac
   12499     for ac_exec_ext in '' $ac_executable_extensions; do
   12500   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12501     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12502     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12503     break 2
   12504   fi
   12505 done
   12506   done
   12507 IFS=$as_save_IFS
   12508 
   12509 fi
   12510 fi
   12511 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12512 if test -n "$ac_ct_OBJDUMP"; then
   12513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12514 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12515 else
   12516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12517 printf "%s\n" "no" >&6; }
   12518 fi
   12519 
   12520   if test "x$ac_ct_OBJDUMP" = x; then
   12521     OBJDUMP="false"
   12522   else
   12523     case $cross_compiling:$ac_tool_warned in
   12524 yes:)
   12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12526 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12527 ac_tool_warned=yes ;;
   12528 esac
   12529     OBJDUMP=$ac_ct_OBJDUMP
   12530   fi
   12531 else
   12532   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12533 fi
   12534 
   12535 test -z "$OBJDUMP" && OBJDUMP=objdump
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12546 printf %s "checking how to recognize dependent libraries... " >&6; }
   12547 if test ${lt_cv_deplibs_check_method+y}
   12548 then :
   12549   printf %s "(cached) " >&6
   12550 else $as_nop
   12551   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12552 lt_cv_file_magic_test_file=
   12553 lt_cv_deplibs_check_method='unknown'
   12554 # Need to set the preceding variable on all platforms that support
   12555 # interlibrary dependencies.
   12556 # 'none' -- dependencies not supported.
   12557 # 'unknown' -- same as none, but documents that we really don't know.
   12558 # 'pass_all' -- all dependencies passed with no checks.
   12559 # 'test_compile' -- check by making test program.
   12560 # 'file_magic [[regex]]' -- check by looking for files in library path
   12561 # that responds to the $file_magic_cmd with a given extended regex.
   12562 # If you have 'file' or equivalent on your system and you're not sure
   12563 # whether 'pass_all' will *always* work, you probably want this one.
   12564 
   12565 case $host_os in
   12566 aix[4-9]*)
   12567   lt_cv_deplibs_check_method=pass_all
   12568   ;;
   12569 
   12570 beos*)
   12571   lt_cv_deplibs_check_method=pass_all
   12572   ;;
   12573 
   12574 bsdi[45]*)
   12575   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12576   lt_cv_file_magic_cmd='$FILECMD -L'
   12577   lt_cv_file_magic_test_file=/shlib/libc.so
   12578   ;;
   12579 
   12580 cygwin*)
   12581   # func_win32_libid is a shell function defined in ltmain.sh
   12582   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12583   lt_cv_file_magic_cmd='func_win32_libid'
   12584   ;;
   12585 
   12586 mingw* | pw32*)
   12587   # Base MSYS/MinGW do not provide the 'file' command needed by
   12588   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12589   # unless we find 'file', for example because we are cross-compiling.
   12590   if ( file / ) >/dev/null 2>&1; then
   12591     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12592     lt_cv_file_magic_cmd='func_win32_libid'
   12593   else
   12594     # Keep this pattern in sync with the one in func_win32_libid.
   12595     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12596     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12597   fi
   12598   ;;
   12599 
   12600 cegcc*)
   12601   # use the weaker test based on 'objdump'. See mingw*.
   12602   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12603   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12604   ;;
   12605 
   12606 darwin* | rhapsody*)
   12607   lt_cv_deplibs_check_method=pass_all
   12608   ;;
   12609 
   12610 freebsd* | dragonfly* | midnightbsd*)
   12611   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12612     case $host_cpu in
   12613     i*86 )
   12614       # Not sure whether the presence of OpenBSD here was a mistake.
   12615       # Let's accept both of them until this is cleared up.
   12616       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12617       lt_cv_file_magic_cmd=$FILECMD
   12618       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12619       ;;
   12620     esac
   12621   else
   12622     lt_cv_deplibs_check_method=pass_all
   12623   fi
   12624   ;;
   12625 
   12626 haiku*)
   12627   lt_cv_deplibs_check_method=pass_all
   12628   ;;
   12629 
   12630 hpux10.20* | hpux11*)
   12631   lt_cv_file_magic_cmd=$FILECMD
   12632   case $host_cpu in
   12633   ia64*)
   12634     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12635     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12636     ;;
   12637   hppa*64*)
   12638     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]'
   12639     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12640     ;;
   12641   *)
   12642     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12643     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12644     ;;
   12645   esac
   12646   ;;
   12647 
   12648 interix[3-9]*)
   12649   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12650   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12651   ;;
   12652 
   12653 irix5* | irix6* | nonstopux*)
   12654   case $LD in
   12655   *-32|*"-32 ") libmagic=32-bit;;
   12656   *-n32|*"-n32 ") libmagic=N32;;
   12657   *-64|*"-64 ") libmagic=64-bit;;
   12658   *) libmagic=never-match;;
   12659   esac
   12660   lt_cv_deplibs_check_method=pass_all
   12661   ;;
   12662 
   12663 # This must be glibc/ELF.
   12664 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12665   lt_cv_deplibs_check_method=pass_all
   12666   ;;
   12667 
   12668 netbsd*)
   12669   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12670     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12671   else
   12672     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12673   fi
   12674   ;;
   12675 
   12676 newos6*)
   12677   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12678   lt_cv_file_magic_cmd=$FILECMD
   12679   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12680   ;;
   12681 
   12682 *nto* | *qnx*)
   12683   lt_cv_deplibs_check_method=pass_all
   12684   ;;
   12685 
   12686 openbsd* | bitrig*)
   12687   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12688     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12689   else
   12690     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12691   fi
   12692   ;;
   12693 
   12694 osf3* | osf4* | osf5*)
   12695   lt_cv_deplibs_check_method=pass_all
   12696   ;;
   12697 
   12698 rdos*)
   12699   lt_cv_deplibs_check_method=pass_all
   12700   ;;
   12701 
   12702 solaris*)
   12703   lt_cv_deplibs_check_method=pass_all
   12704   ;;
   12705 
   12706 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12707   lt_cv_deplibs_check_method=pass_all
   12708   ;;
   12709 
   12710 sysv4 | sysv4.3*)
   12711   case $host_vendor in
   12712   motorola)
   12713     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]'
   12714     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12715     ;;
   12716   ncr)
   12717     lt_cv_deplibs_check_method=pass_all
   12718     ;;
   12719   sequent)
   12720     lt_cv_file_magic_cmd='/bin/file'
   12721     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12722     ;;
   12723   sni)
   12724     lt_cv_file_magic_cmd='/bin/file'
   12725     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12726     lt_cv_file_magic_test_file=/lib/libc.so
   12727     ;;
   12728   siemens)
   12729     lt_cv_deplibs_check_method=pass_all
   12730     ;;
   12731   pc)
   12732     lt_cv_deplibs_check_method=pass_all
   12733     ;;
   12734   esac
   12735   ;;
   12736 
   12737 tpf*)
   12738   lt_cv_deplibs_check_method=pass_all
   12739   ;;
   12740 os2*)
   12741   lt_cv_deplibs_check_method=pass_all
   12742   ;;
   12743 esac
   12744 
   12745 fi
   12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12747 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12748 
   12749 file_magic_glob=
   12750 want_nocaseglob=no
   12751 if test "$build" = "$host"; then
   12752   case $host_os in
   12753   mingw* | pw32*)
   12754     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12755       want_nocaseglob=yes
   12756     else
   12757       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12758     fi
   12759     ;;
   12760   esac
   12761 fi
   12762 
   12763 file_magic_cmd=$lt_cv_file_magic_cmd
   12764 deplibs_check_method=$lt_cv_deplibs_check_method
   12765 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 if test -n "$ac_tool_prefix"; then
   12789   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12790 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12792 printf %s "checking for $ac_word... " >&6; }
   12793 if test ${ac_cv_prog_DLLTOOL+y}
   12794 then :
   12795   printf %s "(cached) " >&6
   12796 else $as_nop
   12797   if test -n "$DLLTOOL"; then
   12798   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12799 else
   12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12801 for as_dir in $PATH
   12802 do
   12803   IFS=$as_save_IFS
   12804   case $as_dir in #(((
   12805     '') as_dir=./ ;;
   12806     */) ;;
   12807     *) as_dir=$as_dir/ ;;
   12808   esac
   12809     for ac_exec_ext in '' $ac_executable_extensions; do
   12810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12811     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12812     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12813     break 2
   12814   fi
   12815 done
   12816   done
   12817 IFS=$as_save_IFS
   12818 
   12819 fi
   12820 fi
   12821 DLLTOOL=$ac_cv_prog_DLLTOOL
   12822 if test -n "$DLLTOOL"; then
   12823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12824 printf "%s\n" "$DLLTOOL" >&6; }
   12825 else
   12826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12827 printf "%s\n" "no" >&6; }
   12828 fi
   12829 
   12830 
   12831 fi
   12832 if test -z "$ac_cv_prog_DLLTOOL"; then
   12833   ac_ct_DLLTOOL=$DLLTOOL
   12834   # Extract the first word of "dlltool", so it can be a program name with args.
   12835 set dummy dlltool; ac_word=$2
   12836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12837 printf %s "checking for $ac_word... " >&6; }
   12838 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12839 then :
   12840   printf %s "(cached) " >&6
   12841 else $as_nop
   12842   if test -n "$ac_ct_DLLTOOL"; then
   12843   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12844 else
   12845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12846 for as_dir in $PATH
   12847 do
   12848   IFS=$as_save_IFS
   12849   case $as_dir in #(((
   12850     '') as_dir=./ ;;
   12851     */) ;;
   12852     *) as_dir=$as_dir/ ;;
   12853   esac
   12854     for ac_exec_ext in '' $ac_executable_extensions; do
   12855   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12856     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12857     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12858     break 2
   12859   fi
   12860 done
   12861   done
   12862 IFS=$as_save_IFS
   12863 
   12864 fi
   12865 fi
   12866 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12867 if test -n "$ac_ct_DLLTOOL"; then
   12868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12869 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   12870 else
   12871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12872 printf "%s\n" "no" >&6; }
   12873 fi
   12874 
   12875   if test "x$ac_ct_DLLTOOL" = x; then
   12876     DLLTOOL="false"
   12877   else
   12878     case $cross_compiling:$ac_tool_warned in
   12879 yes:)
   12880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12881 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12882 ac_tool_warned=yes ;;
   12883 esac
   12884     DLLTOOL=$ac_ct_DLLTOOL
   12885   fi
   12886 else
   12887   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12888 fi
   12889 
   12890 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12902 printf %s "checking how to associate runtime and link libraries... " >&6; }
   12903 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   12904 then :
   12905   printf %s "(cached) " >&6
   12906 else $as_nop
   12907   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12908 
   12909 case $host_os in
   12910 cygwin* | mingw* | pw32* | cegcc*)
   12911   # two different shell functions defined in ltmain.sh;
   12912   # decide which one to use based on capabilities of $DLLTOOL
   12913   case `$DLLTOOL --help 2>&1` in
   12914   *--identify-strict*)
   12915     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12916     ;;
   12917   *)
   12918     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12919     ;;
   12920   esac
   12921   ;;
   12922 *)
   12923   # fallback: assume linklib IS sharedlib
   12924   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12925   ;;
   12926 esac
   12927 
   12928 fi
   12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12930 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12931 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12932 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 if test -n "$ac_tool_prefix"; then
   12941   for ac_prog in ar
   12942   do
   12943     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12946 printf %s "checking for $ac_word... " >&6; }
   12947 if test ${ac_cv_prog_AR+y}
   12948 then :
   12949   printf %s "(cached) " >&6
   12950 else $as_nop
   12951   if test -n "$AR"; then
   12952   ac_cv_prog_AR="$AR" # Let the user override the test.
   12953 else
   12954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12955 for as_dir in $PATH
   12956 do
   12957   IFS=$as_save_IFS
   12958   case $as_dir in #(((
   12959     '') as_dir=./ ;;
   12960     */) ;;
   12961     *) as_dir=$as_dir/ ;;
   12962   esac
   12963     for ac_exec_ext in '' $ac_executable_extensions; do
   12964   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12965     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12967     break 2
   12968   fi
   12969 done
   12970   done
   12971 IFS=$as_save_IFS
   12972 
   12973 fi
   12974 fi
   12975 AR=$ac_cv_prog_AR
   12976 if test -n "$AR"; then
   12977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12978 printf "%s\n" "$AR" >&6; }
   12979 else
   12980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12981 printf "%s\n" "no" >&6; }
   12982 fi
   12983 
   12984 
   12985     test -n "$AR" && break
   12986   done
   12987 fi
   12988 if test -z "$AR"; then
   12989   ac_ct_AR=$AR
   12990   for ac_prog in ar
   12991 do
   12992   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12993 set dummy $ac_prog; ac_word=$2
   12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12995 printf %s "checking for $ac_word... " >&6; }
   12996 if test ${ac_cv_prog_ac_ct_AR+y}
   12997 then :
   12998   printf %s "(cached) " >&6
   12999 else $as_nop
   13000   if test -n "$ac_ct_AR"; then
   13001   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13002 else
   13003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13004 for as_dir in $PATH
   13005 do
   13006   IFS=$as_save_IFS
   13007   case $as_dir in #(((
   13008     '') as_dir=./ ;;
   13009     */) ;;
   13010     *) as_dir=$as_dir/ ;;
   13011   esac
   13012     for ac_exec_ext in '' $ac_executable_extensions; do
   13013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13014     ac_cv_prog_ac_ct_AR="$ac_prog"
   13015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13016     break 2
   13017   fi
   13018 done
   13019   done
   13020 IFS=$as_save_IFS
   13021 
   13022 fi
   13023 fi
   13024 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13025 if test -n "$ac_ct_AR"; then
   13026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13027 printf "%s\n" "$ac_ct_AR" >&6; }
   13028 else
   13029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13030 printf "%s\n" "no" >&6; }
   13031 fi
   13032 
   13033 
   13034   test -n "$ac_ct_AR" && break
   13035 done
   13036 
   13037   if test "x$ac_ct_AR" = x; then
   13038     AR="false"
   13039   else
   13040     case $cross_compiling:$ac_tool_warned in
   13041 yes:)
   13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13043 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13044 ac_tool_warned=yes ;;
   13045 esac
   13046     AR=$ac_ct_AR
   13047   fi
   13048 fi
   13049 
   13050 : ${AR=ar}
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13058 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13059 # higher priority because thats what people were doing historically (setting
   13060 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13061 # variable obsoleted/removed.
   13062 
   13063 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13064 lt_ar_flags=$AR_FLAGS
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13072 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13080 printf %s "checking for archiver @FILE support... " >&6; }
   13081 if test ${lt_cv_ar_at_file+y}
   13082 then :
   13083   printf %s "(cached) " >&6
   13084 else $as_nop
   13085   lt_cv_ar_at_file=no
   13086    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 
   13089 int
   13090 main (void)
   13091 {
   13092 
   13093   ;
   13094   return 0;
   13095 }
   13096 _ACEOF
   13097 if ac_fn_c_try_compile "$LINENO"
   13098 then :
   13099   echo conftest.$ac_objext > conftest.lst
   13100       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13101       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13102   (eval $lt_ar_try) 2>&5
   13103   ac_status=$?
   13104   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13105   test $ac_status = 0; }
   13106       if test 0 -eq "$ac_status"; then
   13107 	# Ensure the archiver fails upon bogus file names.
   13108 	rm -f conftest.$ac_objext libconftest.a
   13109 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13110   (eval $lt_ar_try) 2>&5
   13111   ac_status=$?
   13112   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13113   test $ac_status = 0; }
   13114 	if test 0 -ne "$ac_status"; then
   13115           lt_cv_ar_at_file=@
   13116         fi
   13117       fi
   13118       rm -f conftest.* libconftest.a
   13119 
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13122 
   13123 fi
   13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13125 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13126 
   13127 if test no = "$lt_cv_ar_at_file"; then
   13128   archiver_list_spec=
   13129 else
   13130   archiver_list_spec=$lt_cv_ar_at_file
   13131 fi
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 if test -n "$ac_tool_prefix"; then
   13140   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13141 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13143 printf %s "checking for $ac_word... " >&6; }
   13144 if test ${ac_cv_prog_STRIP+y}
   13145 then :
   13146   printf %s "(cached) " >&6
   13147 else $as_nop
   13148   if test -n "$STRIP"; then
   13149   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13150 else
   13151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13152 for as_dir in $PATH
   13153 do
   13154   IFS=$as_save_IFS
   13155   case $as_dir in #(((
   13156     '') as_dir=./ ;;
   13157     */) ;;
   13158     *) as_dir=$as_dir/ ;;
   13159   esac
   13160     for ac_exec_ext in '' $ac_executable_extensions; do
   13161   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13162     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13163     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13164     break 2
   13165   fi
   13166 done
   13167   done
   13168 IFS=$as_save_IFS
   13169 
   13170 fi
   13171 fi
   13172 STRIP=$ac_cv_prog_STRIP
   13173 if test -n "$STRIP"; then
   13174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13175 printf "%s\n" "$STRIP" >&6; }
   13176 else
   13177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13178 printf "%s\n" "no" >&6; }
   13179 fi
   13180 
   13181 
   13182 fi
   13183 if test -z "$ac_cv_prog_STRIP"; then
   13184   ac_ct_STRIP=$STRIP
   13185   # Extract the first word of "strip", so it can be a program name with args.
   13186 set dummy strip; ac_word=$2
   13187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13188 printf %s "checking for $ac_word... " >&6; }
   13189 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13190 then :
   13191   printf %s "(cached) " >&6
   13192 else $as_nop
   13193   if test -n "$ac_ct_STRIP"; then
   13194   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13195 else
   13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13197 for as_dir in $PATH
   13198 do
   13199   IFS=$as_save_IFS
   13200   case $as_dir in #(((
   13201     '') as_dir=./ ;;
   13202     */) ;;
   13203     *) as_dir=$as_dir/ ;;
   13204   esac
   13205     for ac_exec_ext in '' $ac_executable_extensions; do
   13206   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13207     ac_cv_prog_ac_ct_STRIP="strip"
   13208     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13209     break 2
   13210   fi
   13211 done
   13212   done
   13213 IFS=$as_save_IFS
   13214 
   13215 fi
   13216 fi
   13217 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13218 if test -n "$ac_ct_STRIP"; then
   13219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13220 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13221 else
   13222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13223 printf "%s\n" "no" >&6; }
   13224 fi
   13225 
   13226   if test "x$ac_ct_STRIP" = x; then
   13227     STRIP=":"
   13228   else
   13229     case $cross_compiling:$ac_tool_warned in
   13230 yes:)
   13231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13232 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13233 ac_tool_warned=yes ;;
   13234 esac
   13235     STRIP=$ac_ct_STRIP
   13236   fi
   13237 else
   13238   STRIP="$ac_cv_prog_STRIP"
   13239 fi
   13240 
   13241 test -z "$STRIP" && STRIP=:
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 if test -n "$ac_tool_prefix"; then
   13249   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13250 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13252 printf %s "checking for $ac_word... " >&6; }
   13253 if test ${ac_cv_prog_RANLIB+y}
   13254 then :
   13255   printf %s "(cached) " >&6
   13256 else $as_nop
   13257   if test -n "$RANLIB"; then
   13258   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13259 else
   13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13261 for as_dir in $PATH
   13262 do
   13263   IFS=$as_save_IFS
   13264   case $as_dir in #(((
   13265     '') as_dir=./ ;;
   13266     */) ;;
   13267     *) as_dir=$as_dir/ ;;
   13268   esac
   13269     for ac_exec_ext in '' $ac_executable_extensions; do
   13270   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13271     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13272     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13273     break 2
   13274   fi
   13275 done
   13276   done
   13277 IFS=$as_save_IFS
   13278 
   13279 fi
   13280 fi
   13281 RANLIB=$ac_cv_prog_RANLIB
   13282 if test -n "$RANLIB"; then
   13283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13284 printf "%s\n" "$RANLIB" >&6; }
   13285 else
   13286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13287 printf "%s\n" "no" >&6; }
   13288 fi
   13289 
   13290 
   13291 fi
   13292 if test -z "$ac_cv_prog_RANLIB"; then
   13293   ac_ct_RANLIB=$RANLIB
   13294   # Extract the first word of "ranlib", so it can be a program name with args.
   13295 set dummy ranlib; ac_word=$2
   13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13297 printf %s "checking for $ac_word... " >&6; }
   13298 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13299 then :
   13300   printf %s "(cached) " >&6
   13301 else $as_nop
   13302   if test -n "$ac_ct_RANLIB"; then
   13303   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13304 else
   13305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13306 for as_dir in $PATH
   13307 do
   13308   IFS=$as_save_IFS
   13309   case $as_dir in #(((
   13310     '') as_dir=./ ;;
   13311     */) ;;
   13312     *) as_dir=$as_dir/ ;;
   13313   esac
   13314     for ac_exec_ext in '' $ac_executable_extensions; do
   13315   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13316     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13317     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13318     break 2
   13319   fi
   13320 done
   13321   done
   13322 IFS=$as_save_IFS
   13323 
   13324 fi
   13325 fi
   13326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13327 if test -n "$ac_ct_RANLIB"; then
   13328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13329 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13330 else
   13331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13332 printf "%s\n" "no" >&6; }
   13333 fi
   13334 
   13335   if test "x$ac_ct_RANLIB" = x; then
   13336     RANLIB=":"
   13337   else
   13338     case $cross_compiling:$ac_tool_warned in
   13339 yes:)
   13340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13341 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13342 ac_tool_warned=yes ;;
   13343 esac
   13344     RANLIB=$ac_ct_RANLIB
   13345   fi
   13346 else
   13347   RANLIB="$ac_cv_prog_RANLIB"
   13348 fi
   13349 
   13350 test -z "$RANLIB" && RANLIB=:
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 # Determine commands to create old-style static archives.
   13358 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13359 old_postinstall_cmds='chmod 644 $oldlib'
   13360 old_postuninstall_cmds=
   13361 
   13362 if test -n "$RANLIB"; then
   13363   case $host_os in
   13364   bitrig* | openbsd*)
   13365     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13366     ;;
   13367   *)
   13368     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13369     ;;
   13370   esac
   13371   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13372 fi
   13373 
   13374 case $host_os in
   13375   darwin*)
   13376     lock_old_archive_extraction=yes ;;
   13377   *)
   13378     lock_old_archive_extraction=no ;;
   13379 esac
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 # If no C compiler was specified, use CC.
   13420 LTCC=${LTCC-"$CC"}
   13421 
   13422 # If no C compiler flags were specified, use CFLAGS.
   13423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13424 
   13425 # Allow CC to be a program name with arguments.
   13426 compiler=$CC
   13427 
   13428 
   13429 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13431 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13432 if test ${lt_cv_sys_global_symbol_pipe+y}
   13433 then :
   13434   printf %s "(cached) " >&6
   13435 else $as_nop
   13436 
   13437 # These are sane defaults that work on at least a few old systems.
   13438 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13439 
   13440 # Character class describing NM global symbol codes.
   13441 symcode='[BCDEGRST]'
   13442 
   13443 # Regexp to match symbols that can be accessed directly from C.
   13444 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13445 
   13446 # Define system-specific variables.
   13447 case $host_os in
   13448 aix*)
   13449   symcode='[BCDT]'
   13450   ;;
   13451 cygwin* | mingw* | pw32* | cegcc*)
   13452   symcode='[ABCDGISTW]'
   13453   ;;
   13454 hpux*)
   13455   if test ia64 = "$host_cpu"; then
   13456     symcode='[ABCDEGRST]'
   13457   fi
   13458   ;;
   13459 irix* | nonstopux*)
   13460   symcode='[BCDEGRST]'
   13461   ;;
   13462 osf*)
   13463   symcode='[BCDEGQRST]'
   13464   ;;
   13465 solaris*)
   13466   symcode='[BDRT]'
   13467   ;;
   13468 sco3.2v5*)
   13469   symcode='[DT]'
   13470   ;;
   13471 sysv4.2uw2*)
   13472   symcode='[DT]'
   13473   ;;
   13474 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13475   symcode='[ABDT]'
   13476   ;;
   13477 sysv4)
   13478   symcode='[DFNSTU]'
   13479   ;;
   13480 esac
   13481 
   13482 # If we're using GNU nm, then use its standard symbol codes.
   13483 case `$NM -V 2>&1` in
   13484 *GNU* | *'with BFD'*)
   13485   symcode='[ABCDGIRSTW]' ;;
   13486 esac
   13487 
   13488 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13489   # Gets list of data symbols to import.
   13490   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13491   # Adjust the below global symbol transforms to fixup imported variables.
   13492   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13493   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13494   lt_c_name_lib_hook="\
   13495   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13496   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13497 else
   13498   # Disable hooks by default.
   13499   lt_cv_sys_global_symbol_to_import=
   13500   lt_cdecl_hook=
   13501   lt_c_name_hook=
   13502   lt_c_name_lib_hook=
   13503 fi
   13504 
   13505 # Transform an extracted symbol line into a proper C declaration.
   13506 # Some systems (esp. on ia64) link data and code symbols differently,
   13507 # so use this general approach.
   13508 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13509 $lt_cdecl_hook\
   13510 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13511 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13512 
   13513 # Transform an extracted symbol line into symbol name and symbol address
   13514 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13515 $lt_c_name_hook\
   13516 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13517 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13518 
   13519 # Transform an extracted symbol line into symbol name with lib prefix and
   13520 # symbol address.
   13521 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13522 $lt_c_name_lib_hook\
   13523 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13524 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13525 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13526 
   13527 # Handle CRLF in mingw tool chain
   13528 opt_cr=
   13529 case $build_os in
   13530 mingw*)
   13531   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13532   ;;
   13533 esac
   13534 
   13535 # Try without a prefix underscore, then with it.
   13536 for ac_symprfx in "" "_"; do
   13537 
   13538   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13539   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13540 
   13541   # Write the raw and C identifiers.
   13542   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13543     # Fake it for dumpbin and say T for any non-static function,
   13544     # D for any global variable and I for any imported variable.
   13545     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13546     # which start with @ or ?.
   13547     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13548 "     {last_section=section; section=\$ 3};"\
   13549 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13550 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13551 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13552 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13553 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13554 "     \$ 0!~/External *\|/{next};"\
   13555 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13556 "     {if(hide[section]) next};"\
   13557 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13558 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13559 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13560 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13561 "     ' prfx=^$ac_symprfx"
   13562   else
   13563     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13564   fi
   13565   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13566 
   13567   # Check to see that the pipe works correctly.
   13568   pipe_works=no
   13569 
   13570   rm -f conftest*
   13571   cat > conftest.$ac_ext <<_LT_EOF
   13572 #ifdef __cplusplus
   13573 extern "C" {
   13574 #endif
   13575 char nm_test_var;
   13576 void nm_test_func(void);
   13577 void nm_test_func(void){}
   13578 #ifdef __cplusplus
   13579 }
   13580 #endif
   13581 int main(){nm_test_var='a';nm_test_func();return(0);}
   13582 _LT_EOF
   13583 
   13584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13585   (eval $ac_compile) 2>&5
   13586   ac_status=$?
   13587   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13588   test $ac_status = 0; }; then
   13589     # Now try to grab the symbols.
   13590     nlist=conftest.nm
   13591     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13592   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13593   ac_status=$?
   13594   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13595   test $ac_status = 0; } && test -s "$nlist"; then
   13596       # Try sorting and uniquifying the output.
   13597       if sort "$nlist" | uniq > "$nlist"T; then
   13598 	mv -f "$nlist"T "$nlist"
   13599       else
   13600 	rm -f "$nlist"T
   13601       fi
   13602 
   13603       # Make sure that we snagged all the symbols we need.
   13604       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13605 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13606 	  cat <<_LT_EOF > conftest.$ac_ext
   13607 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13608 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13609 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13610    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13611 # define LT_DLSYM_CONST
   13612 #elif defined __osf__
   13613 /* This system does not cope well with relocations in const data.  */
   13614 # define LT_DLSYM_CONST
   13615 #else
   13616 # define LT_DLSYM_CONST const
   13617 #endif
   13618 
   13619 #ifdef __cplusplus
   13620 extern "C" {
   13621 #endif
   13622 
   13623 _LT_EOF
   13624 	  # Now generate the symbol file.
   13625 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13626 
   13627 	  cat <<_LT_EOF >> conftest.$ac_ext
   13628 
   13629 /* The mapping between symbol names and symbols.  */
   13630 LT_DLSYM_CONST struct {
   13631   const char *name;
   13632   void       *address;
   13633 }
   13634 lt__PROGRAM__LTX_preloaded_symbols[] =
   13635 {
   13636   { "@PROGRAM@", (void *) 0 },
   13637 _LT_EOF
   13638 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13639 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13640   {0, (void *) 0}
   13641 };
   13642 
   13643 /* This works around a problem in FreeBSD linker */
   13644 #ifdef FREEBSD_WORKAROUND
   13645 static const void *lt_preloaded_setup() {
   13646   return lt__PROGRAM__LTX_preloaded_symbols;
   13647 }
   13648 #endif
   13649 
   13650 #ifdef __cplusplus
   13651 }
   13652 #endif
   13653 _LT_EOF
   13654 	  # Now try linking the two files.
   13655 	  mv conftest.$ac_objext conftstm.$ac_objext
   13656 	  lt_globsym_save_LIBS=$LIBS
   13657 	  lt_globsym_save_CFLAGS=$CFLAGS
   13658 	  LIBS=conftstm.$ac_objext
   13659 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13660 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13661   (eval $ac_link) 2>&5
   13662   ac_status=$?
   13663   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13664   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13665 	    pipe_works=yes
   13666 	  fi
   13667 	  LIBS=$lt_globsym_save_LIBS
   13668 	  CFLAGS=$lt_globsym_save_CFLAGS
   13669 	else
   13670 	  echo "cannot find nm_test_func in $nlist" >&5
   13671 	fi
   13672       else
   13673 	echo "cannot find nm_test_var in $nlist" >&5
   13674       fi
   13675     else
   13676       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13677     fi
   13678   else
   13679     echo "$progname: failed program was:" >&5
   13680     cat conftest.$ac_ext >&5
   13681   fi
   13682   rm -rf conftest* conftst*
   13683 
   13684   # Do not use the global_symbol_pipe unless it works.
   13685   if test yes = "$pipe_works"; then
   13686     break
   13687   else
   13688     lt_cv_sys_global_symbol_pipe=
   13689   fi
   13690 done
   13691 
   13692 fi
   13693 
   13694 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13695   lt_cv_sys_global_symbol_to_cdecl=
   13696 fi
   13697 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13699 printf "%s\n" "failed" >&6; }
   13700 else
   13701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13702 printf "%s\n" "ok" >&6; }
   13703 fi
   13704 
   13705 # Response file support.
   13706 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13707   nm_file_list_spec='@'
   13708 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13709   nm_file_list_spec='@'
   13710 fi
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13749 printf %s "checking for sysroot... " >&6; }
   13750 
   13751 # Check whether --with-sysroot was given.
   13752 if test ${with_sysroot+y}
   13753 then :
   13754   withval=$with_sysroot;
   13755 else $as_nop
   13756   with_sysroot=no
   13757 fi
   13758 
   13759 
   13760 lt_sysroot=
   13761 case $with_sysroot in #(
   13762  yes)
   13763    if test yes = "$GCC"; then
   13764      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13765    fi
   13766    ;; #(
   13767  /*)
   13768    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   13769    ;; #(
   13770  no|'')
   13771    ;; #(
   13772  *)
   13773    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13774 printf "%s\n" "$with_sysroot" >&6; }
   13775    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13776    ;;
   13777 esac
   13778 
   13779  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13780 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13787 printf %s "checking for a working dd... " >&6; }
   13788 if test ${ac_cv_path_lt_DD+y}
   13789 then :
   13790   printf %s "(cached) " >&6
   13791 else $as_nop
   13792   printf 0123456789abcdef0123456789abcdef >conftest.i
   13793 cat conftest.i conftest.i >conftest2.i
   13794 : ${lt_DD:=$DD}
   13795 if test -z "$lt_DD"; then
   13796   ac_path_lt_DD_found=false
   13797   # Loop through the user's path and test for each of PROGNAME-LIST
   13798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13799 for as_dir in $PATH
   13800 do
   13801   IFS=$as_save_IFS
   13802   case $as_dir in #(((
   13803     '') as_dir=./ ;;
   13804     */) ;;
   13805     *) as_dir=$as_dir/ ;;
   13806   esac
   13807     for ac_prog in dd
   13808    do
   13809     for ac_exec_ext in '' $ac_executable_extensions; do
   13810       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   13811       as_fn_executable_p "$ac_path_lt_DD" || continue
   13812 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13813   cmp -s conftest.i conftest.out \
   13814   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13815 fi
   13816       $ac_path_lt_DD_found && break 3
   13817     done
   13818   done
   13819   done
   13820 IFS=$as_save_IFS
   13821   if test -z "$ac_cv_path_lt_DD"; then
   13822     :
   13823   fi
   13824 else
   13825   ac_cv_path_lt_DD=$lt_DD
   13826 fi
   13827 
   13828 rm -f conftest.i conftest2.i conftest.out
   13829 fi
   13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13831 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   13832 
   13833 
   13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13835 printf %s "checking how to truncate binary pipes... " >&6; }
   13836 if test ${lt_cv_truncate_bin+y}
   13837 then :
   13838   printf %s "(cached) " >&6
   13839 else $as_nop
   13840   printf 0123456789abcdef0123456789abcdef >conftest.i
   13841 cat conftest.i conftest.i >conftest2.i
   13842 lt_cv_truncate_bin=
   13843 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13844   cmp -s conftest.i conftest.out \
   13845   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13846 fi
   13847 rm -f conftest.i conftest2.i conftest.out
   13848 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13849 fi
   13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13851 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13860 func_cc_basename ()
   13861 {
   13862     for cc_temp in $*""; do
   13863       case $cc_temp in
   13864         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13865         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13866         \-*) ;;
   13867         *) break;;
   13868       esac
   13869     done
   13870     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13871 }
   13872 
   13873 # Check whether --enable-libtool-lock was given.
   13874 if test ${enable_libtool_lock+y}
   13875 then :
   13876   enableval=$enable_libtool_lock;
   13877 fi
   13878 
   13879 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13880 
   13881 # Some flags need to be propagated to the compiler or linker for good
   13882 # libtool support.
   13883 case $host in
   13884 ia64-*-hpux*)
   13885   # Find out what ABI is being produced by ac_compile, and set mode
   13886   # options accordingly.
   13887   echo 'int i;' > conftest.$ac_ext
   13888   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13889   (eval $ac_compile) 2>&5
   13890   ac_status=$?
   13891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13892   test $ac_status = 0; }; then
   13893     case `$FILECMD conftest.$ac_objext` in
   13894       *ELF-32*)
   13895 	HPUX_IA64_MODE=32
   13896 	;;
   13897       *ELF-64*)
   13898 	HPUX_IA64_MODE=64
   13899 	;;
   13900     esac
   13901   fi
   13902   rm -rf conftest*
   13903   ;;
   13904 *-*-irix6*)
   13905   # Find out what ABI is being produced by ac_compile, and set linker
   13906   # options accordingly.
   13907   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13908   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13909   (eval $ac_compile) 2>&5
   13910   ac_status=$?
   13911   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13912   test $ac_status = 0; }; then
   13913     if test yes = "$lt_cv_prog_gnu_ld"; then
   13914       case `$FILECMD conftest.$ac_objext` in
   13915 	*32-bit*)
   13916 	  LD="${LD-ld} -melf32bsmip"
   13917 	  ;;
   13918 	*N32*)
   13919 	  LD="${LD-ld} -melf32bmipn32"
   13920 	  ;;
   13921 	*64-bit*)
   13922 	  LD="${LD-ld} -melf64bmip"
   13923 	;;
   13924       esac
   13925     else
   13926       case `$FILECMD conftest.$ac_objext` in
   13927 	*32-bit*)
   13928 	  LD="${LD-ld} -32"
   13929 	  ;;
   13930 	*N32*)
   13931 	  LD="${LD-ld} -n32"
   13932 	  ;;
   13933 	*64-bit*)
   13934 	  LD="${LD-ld} -64"
   13935 	  ;;
   13936       esac
   13937     fi
   13938   fi
   13939   rm -rf conftest*
   13940   ;;
   13941 
   13942 mips64*-*linux*)
   13943   # Find out what ABI is being produced by ac_compile, and set linker
   13944   # options accordingly.
   13945   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13946   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13947   (eval $ac_compile) 2>&5
   13948   ac_status=$?
   13949   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13950   test $ac_status = 0; }; then
   13951     emul=elf
   13952     case `$FILECMD conftest.$ac_objext` in
   13953       *32-bit*)
   13954 	emul="${emul}32"
   13955 	;;
   13956       *64-bit*)
   13957 	emul="${emul}64"
   13958 	;;
   13959     esac
   13960     case `$FILECMD conftest.$ac_objext` in
   13961       *MSB*)
   13962 	emul="${emul}btsmip"
   13963 	;;
   13964       *LSB*)
   13965 	emul="${emul}ltsmip"
   13966 	;;
   13967     esac
   13968     case `$FILECMD conftest.$ac_objext` in
   13969       *N32*)
   13970 	emul="${emul}n32"
   13971 	;;
   13972     esac
   13973     LD="${LD-ld} -m $emul"
   13974   fi
   13975   rm -rf conftest*
   13976   ;;
   13977 
   13978 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13979 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13980   # Find out what ABI is being produced by ac_compile, and set linker
   13981   # options accordingly.  Note that the listed cases only cover the
   13982   # situations where additional linker options are needed (such as when
   13983   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13984   # vice versa); the common cases where no linker options are needed do
   13985   # not appear in the list.
   13986   echo 'int i;' > conftest.$ac_ext
   13987   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13988   (eval $ac_compile) 2>&5
   13989   ac_status=$?
   13990   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13991   test $ac_status = 0; }; then
   13992     case `$FILECMD conftest.o` in
   13993       *32-bit*)
   13994 	case $host in
   13995 	  x86_64-*kfreebsd*-gnu)
   13996 	    LD="${LD-ld} -m elf_i386_fbsd"
   13997 	    ;;
   13998 	  x86_64-*linux*)
   13999 	    case `$FILECMD conftest.o` in
   14000 	      *x86-64*)
   14001 		LD="${LD-ld} -m elf32_x86_64"
   14002 		;;
   14003 	      *)
   14004 		LD="${LD-ld} -m elf_i386"
   14005 		;;
   14006 	    esac
   14007 	    ;;
   14008 	  powerpc64le-*linux*)
   14009 	    LD="${LD-ld} -m elf32lppclinux"
   14010 	    ;;
   14011 	  powerpc64-*linux*)
   14012 	    LD="${LD-ld} -m elf32ppclinux"
   14013 	    ;;
   14014 	  s390x-*linux*)
   14015 	    LD="${LD-ld} -m elf_s390"
   14016 	    ;;
   14017 	  sparc64-*linux*)
   14018 	    LD="${LD-ld} -m elf32_sparc"
   14019 	    ;;
   14020 	esac
   14021 	;;
   14022       *64-bit*)
   14023 	case $host in
   14024 	  x86_64-*kfreebsd*-gnu)
   14025 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14026 	    ;;
   14027 	  x86_64-*linux*)
   14028 	    LD="${LD-ld} -m elf_x86_64"
   14029 	    ;;
   14030 	  powerpcle-*linux*)
   14031 	    LD="${LD-ld} -m elf64lppc"
   14032 	    ;;
   14033 	  powerpc-*linux*)
   14034 	    LD="${LD-ld} -m elf64ppc"
   14035 	    ;;
   14036 	  s390*-*linux*|s390*-*tpf*)
   14037 	    LD="${LD-ld} -m elf64_s390"
   14038 	    ;;
   14039 	  sparc*-*linux*)
   14040 	    LD="${LD-ld} -m elf64_sparc"
   14041 	    ;;
   14042 	esac
   14043 	;;
   14044     esac
   14045   fi
   14046   rm -rf conftest*
   14047   ;;
   14048 
   14049 *-*-sco3.2v5*)
   14050   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14051   SAVE_CFLAGS=$CFLAGS
   14052   CFLAGS="$CFLAGS -belf"
   14053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14054 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14055 if test ${lt_cv_cc_needs_belf+y}
   14056 then :
   14057   printf %s "(cached) " >&6
   14058 else $as_nop
   14059   ac_ext=c
   14060 ac_cpp='$CPP $CPPFLAGS'
   14061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14064 
   14065      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14066 /* end confdefs.h.  */
   14067 
   14068 int
   14069 main (void)
   14070 {
   14071 
   14072   ;
   14073   return 0;
   14074 }
   14075 _ACEOF
   14076 if ac_fn_c_try_link "$LINENO"
   14077 then :
   14078   lt_cv_cc_needs_belf=yes
   14079 else $as_nop
   14080   lt_cv_cc_needs_belf=no
   14081 fi
   14082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14083     conftest$ac_exeext conftest.$ac_ext
   14084      ac_ext=c
   14085 ac_cpp='$CPP $CPPFLAGS'
   14086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14089 
   14090 fi
   14091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14092 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14093   if test yes != "$lt_cv_cc_needs_belf"; then
   14094     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14095     CFLAGS=$SAVE_CFLAGS
   14096   fi
   14097   ;;
   14098 *-*solaris*)
   14099   # Find out what ABI is being produced by ac_compile, and set linker
   14100   # options accordingly.
   14101   echo 'int i;' > conftest.$ac_ext
   14102   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14103   (eval $ac_compile) 2>&5
   14104   ac_status=$?
   14105   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14106   test $ac_status = 0; }; then
   14107     case `$FILECMD conftest.o` in
   14108     *64-bit*)
   14109       case $lt_cv_prog_gnu_ld in
   14110       yes*)
   14111         case $host in
   14112         i?86-*-solaris*|x86_64-*-solaris*)
   14113           LD="${LD-ld} -m elf_x86_64"
   14114           ;;
   14115         sparc*-*-solaris*)
   14116           LD="${LD-ld} -m elf64_sparc"
   14117           ;;
   14118         esac
   14119         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14120         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14121           LD=${LD-ld}_sol2
   14122         fi
   14123         ;;
   14124       *)
   14125 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14126 	  LD="${LD-ld} -64"
   14127 	fi
   14128 	;;
   14129       esac
   14130       ;;
   14131     esac
   14132   fi
   14133   rm -rf conftest*
   14134   ;;
   14135 esac
   14136 
   14137 need_locks=$enable_libtool_lock
   14138 
   14139 if test -n "$ac_tool_prefix"; then
   14140   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14141 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14143 printf %s "checking for $ac_word... " >&6; }
   14144 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14145 then :
   14146   printf %s "(cached) " >&6
   14147 else $as_nop
   14148   if test -n "$MANIFEST_TOOL"; then
   14149   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14150 else
   14151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14152 for as_dir in $PATH
   14153 do
   14154   IFS=$as_save_IFS
   14155   case $as_dir in #(((
   14156     '') as_dir=./ ;;
   14157     */) ;;
   14158     *) as_dir=$as_dir/ ;;
   14159   esac
   14160     for ac_exec_ext in '' $ac_executable_extensions; do
   14161   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14162     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14163     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14164     break 2
   14165   fi
   14166 done
   14167   done
   14168 IFS=$as_save_IFS
   14169 
   14170 fi
   14171 fi
   14172 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14173 if test -n "$MANIFEST_TOOL"; then
   14174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14175 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14176 else
   14177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14178 printf "%s\n" "no" >&6; }
   14179 fi
   14180 
   14181 
   14182 fi
   14183 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14184   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14185   # Extract the first word of "mt", so it can be a program name with args.
   14186 set dummy mt; ac_word=$2
   14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14188 printf %s "checking for $ac_word... " >&6; }
   14189 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14190 then :
   14191   printf %s "(cached) " >&6
   14192 else $as_nop
   14193   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14194   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14195 else
   14196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14197 for as_dir in $PATH
   14198 do
   14199   IFS=$as_save_IFS
   14200   case $as_dir in #(((
   14201     '') as_dir=./ ;;
   14202     */) ;;
   14203     *) as_dir=$as_dir/ ;;
   14204   esac
   14205     for ac_exec_ext in '' $ac_executable_extensions; do
   14206   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14207     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14208     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14209     break 2
   14210   fi
   14211 done
   14212   done
   14213 IFS=$as_save_IFS
   14214 
   14215 fi
   14216 fi
   14217 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14218 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14220 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14221 else
   14222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14223 printf "%s\n" "no" >&6; }
   14224 fi
   14225 
   14226   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14227     MANIFEST_TOOL=":"
   14228   else
   14229     case $cross_compiling:$ac_tool_warned in
   14230 yes:)
   14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14232 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14233 ac_tool_warned=yes ;;
   14234 esac
   14235     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14236   fi
   14237 else
   14238   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14239 fi
   14240 
   14241 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14243 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14244 if test ${lt_cv_path_mainfest_tool+y}
   14245 then :
   14246   printf %s "(cached) " >&6
   14247 else $as_nop
   14248   lt_cv_path_mainfest_tool=no
   14249   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14250   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14251   cat conftest.err >&5
   14252   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14253     lt_cv_path_mainfest_tool=yes
   14254   fi
   14255   rm -f conftest*
   14256 fi
   14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14258 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14259 if test yes != "$lt_cv_path_mainfest_tool"; then
   14260   MANIFEST_TOOL=:
   14261 fi
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268   case $host_os in
   14269     rhapsody* | darwin*)
   14270     if test -n "$ac_tool_prefix"; then
   14271   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14272 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14274 printf %s "checking for $ac_word... " >&6; }
   14275 if test ${ac_cv_prog_DSYMUTIL+y}
   14276 then :
   14277   printf %s "(cached) " >&6
   14278 else $as_nop
   14279   if test -n "$DSYMUTIL"; then
   14280   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14281 else
   14282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14283 for as_dir in $PATH
   14284 do
   14285   IFS=$as_save_IFS
   14286   case $as_dir in #(((
   14287     '') as_dir=./ ;;
   14288     */) ;;
   14289     *) as_dir=$as_dir/ ;;
   14290   esac
   14291     for ac_exec_ext in '' $ac_executable_extensions; do
   14292   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14293     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14294     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14295     break 2
   14296   fi
   14297 done
   14298   done
   14299 IFS=$as_save_IFS
   14300 
   14301 fi
   14302 fi
   14303 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14304 if test -n "$DSYMUTIL"; then
   14305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14306 printf "%s\n" "$DSYMUTIL" >&6; }
   14307 else
   14308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14309 printf "%s\n" "no" >&6; }
   14310 fi
   14311 
   14312 
   14313 fi
   14314 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14315   ac_ct_DSYMUTIL=$DSYMUTIL
   14316   # Extract the first word of "dsymutil", so it can be a program name with args.
   14317 set dummy dsymutil; ac_word=$2
   14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14319 printf %s "checking for $ac_word... " >&6; }
   14320 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14321 then :
   14322   printf %s "(cached) " >&6
   14323 else $as_nop
   14324   if test -n "$ac_ct_DSYMUTIL"; then
   14325   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14326 else
   14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14328 for as_dir in $PATH
   14329 do
   14330   IFS=$as_save_IFS
   14331   case $as_dir in #(((
   14332     '') as_dir=./ ;;
   14333     */) ;;
   14334     *) as_dir=$as_dir/ ;;
   14335   esac
   14336     for ac_exec_ext in '' $ac_executable_extensions; do
   14337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14338     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14340     break 2
   14341   fi
   14342 done
   14343   done
   14344 IFS=$as_save_IFS
   14345 
   14346 fi
   14347 fi
   14348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14349 if test -n "$ac_ct_DSYMUTIL"; then
   14350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14351 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14352 else
   14353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14354 printf "%s\n" "no" >&6; }
   14355 fi
   14356 
   14357   if test "x$ac_ct_DSYMUTIL" = x; then
   14358     DSYMUTIL=":"
   14359   else
   14360     case $cross_compiling:$ac_tool_warned in
   14361 yes:)
   14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14364 ac_tool_warned=yes ;;
   14365 esac
   14366     DSYMUTIL=$ac_ct_DSYMUTIL
   14367   fi
   14368 else
   14369   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14370 fi
   14371 
   14372     if test -n "$ac_tool_prefix"; then
   14373   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14376 printf %s "checking for $ac_word... " >&6; }
   14377 if test ${ac_cv_prog_NMEDIT+y}
   14378 then :
   14379   printf %s "(cached) " >&6
   14380 else $as_nop
   14381   if test -n "$NMEDIT"; then
   14382   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14383 else
   14384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14385 for as_dir in $PATH
   14386 do
   14387   IFS=$as_save_IFS
   14388   case $as_dir in #(((
   14389     '') as_dir=./ ;;
   14390     */) ;;
   14391     *) as_dir=$as_dir/ ;;
   14392   esac
   14393     for ac_exec_ext in '' $ac_executable_extensions; do
   14394   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14395     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14396     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14397     break 2
   14398   fi
   14399 done
   14400   done
   14401 IFS=$as_save_IFS
   14402 
   14403 fi
   14404 fi
   14405 NMEDIT=$ac_cv_prog_NMEDIT
   14406 if test -n "$NMEDIT"; then
   14407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14408 printf "%s\n" "$NMEDIT" >&6; }
   14409 else
   14410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14411 printf "%s\n" "no" >&6; }
   14412 fi
   14413 
   14414 
   14415 fi
   14416 if test -z "$ac_cv_prog_NMEDIT"; then
   14417   ac_ct_NMEDIT=$NMEDIT
   14418   # Extract the first word of "nmedit", so it can be a program name with args.
   14419 set dummy nmedit; ac_word=$2
   14420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14421 printf %s "checking for $ac_word... " >&6; }
   14422 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14423 then :
   14424   printf %s "(cached) " >&6
   14425 else $as_nop
   14426   if test -n "$ac_ct_NMEDIT"; then
   14427   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14428 else
   14429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14430 for as_dir in $PATH
   14431 do
   14432   IFS=$as_save_IFS
   14433   case $as_dir in #(((
   14434     '') as_dir=./ ;;
   14435     */) ;;
   14436     *) as_dir=$as_dir/ ;;
   14437   esac
   14438     for ac_exec_ext in '' $ac_executable_extensions; do
   14439   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14440     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14441     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14442     break 2
   14443   fi
   14444 done
   14445   done
   14446 IFS=$as_save_IFS
   14447 
   14448 fi
   14449 fi
   14450 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14451 if test -n "$ac_ct_NMEDIT"; then
   14452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14453 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14454 else
   14455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14456 printf "%s\n" "no" >&6; }
   14457 fi
   14458 
   14459   if test "x$ac_ct_NMEDIT" = x; then
   14460     NMEDIT=":"
   14461   else
   14462     case $cross_compiling:$ac_tool_warned in
   14463 yes:)
   14464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14465 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14466 ac_tool_warned=yes ;;
   14467 esac
   14468     NMEDIT=$ac_ct_NMEDIT
   14469   fi
   14470 else
   14471   NMEDIT="$ac_cv_prog_NMEDIT"
   14472 fi
   14473 
   14474     if test -n "$ac_tool_prefix"; then
   14475   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14476 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14478 printf %s "checking for $ac_word... " >&6; }
   14479 if test ${ac_cv_prog_LIPO+y}
   14480 then :
   14481   printf %s "(cached) " >&6
   14482 else $as_nop
   14483   if test -n "$LIPO"; then
   14484   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14485 else
   14486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14487 for as_dir in $PATH
   14488 do
   14489   IFS=$as_save_IFS
   14490   case $as_dir in #(((
   14491     '') as_dir=./ ;;
   14492     */) ;;
   14493     *) as_dir=$as_dir/ ;;
   14494   esac
   14495     for ac_exec_ext in '' $ac_executable_extensions; do
   14496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14497     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14499     break 2
   14500   fi
   14501 done
   14502   done
   14503 IFS=$as_save_IFS
   14504 
   14505 fi
   14506 fi
   14507 LIPO=$ac_cv_prog_LIPO
   14508 if test -n "$LIPO"; then
   14509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14510 printf "%s\n" "$LIPO" >&6; }
   14511 else
   14512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14513 printf "%s\n" "no" >&6; }
   14514 fi
   14515 
   14516 
   14517 fi
   14518 if test -z "$ac_cv_prog_LIPO"; then
   14519   ac_ct_LIPO=$LIPO
   14520   # Extract the first word of "lipo", so it can be a program name with args.
   14521 set dummy lipo; ac_word=$2
   14522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14523 printf %s "checking for $ac_word... " >&6; }
   14524 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14525 then :
   14526   printf %s "(cached) " >&6
   14527 else $as_nop
   14528   if test -n "$ac_ct_LIPO"; then
   14529   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14530 else
   14531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14532 for as_dir in $PATH
   14533 do
   14534   IFS=$as_save_IFS
   14535   case $as_dir in #(((
   14536     '') as_dir=./ ;;
   14537     */) ;;
   14538     *) as_dir=$as_dir/ ;;
   14539   esac
   14540     for ac_exec_ext in '' $ac_executable_extensions; do
   14541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14542     ac_cv_prog_ac_ct_LIPO="lipo"
   14543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14544     break 2
   14545   fi
   14546 done
   14547   done
   14548 IFS=$as_save_IFS
   14549 
   14550 fi
   14551 fi
   14552 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14553 if test -n "$ac_ct_LIPO"; then
   14554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14555 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14556 else
   14557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14558 printf "%s\n" "no" >&6; }
   14559 fi
   14560 
   14561   if test "x$ac_ct_LIPO" = x; then
   14562     LIPO=":"
   14563   else
   14564     case $cross_compiling:$ac_tool_warned in
   14565 yes:)
   14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14567 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14568 ac_tool_warned=yes ;;
   14569 esac
   14570     LIPO=$ac_ct_LIPO
   14571   fi
   14572 else
   14573   LIPO="$ac_cv_prog_LIPO"
   14574 fi
   14575 
   14576     if test -n "$ac_tool_prefix"; then
   14577   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14578 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14580 printf %s "checking for $ac_word... " >&6; }
   14581 if test ${ac_cv_prog_OTOOL+y}
   14582 then :
   14583   printf %s "(cached) " >&6
   14584 else $as_nop
   14585   if test -n "$OTOOL"; then
   14586   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14587 else
   14588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14589 for as_dir in $PATH
   14590 do
   14591   IFS=$as_save_IFS
   14592   case $as_dir in #(((
   14593     '') as_dir=./ ;;
   14594     */) ;;
   14595     *) as_dir=$as_dir/ ;;
   14596   esac
   14597     for ac_exec_ext in '' $ac_executable_extensions; do
   14598   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14599     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14600     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14601     break 2
   14602   fi
   14603 done
   14604   done
   14605 IFS=$as_save_IFS
   14606 
   14607 fi
   14608 fi
   14609 OTOOL=$ac_cv_prog_OTOOL
   14610 if test -n "$OTOOL"; then
   14611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14612 printf "%s\n" "$OTOOL" >&6; }
   14613 else
   14614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14615 printf "%s\n" "no" >&6; }
   14616 fi
   14617 
   14618 
   14619 fi
   14620 if test -z "$ac_cv_prog_OTOOL"; then
   14621   ac_ct_OTOOL=$OTOOL
   14622   # Extract the first word of "otool", so it can be a program name with args.
   14623 set dummy otool; ac_word=$2
   14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14625 printf %s "checking for $ac_word... " >&6; }
   14626 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14627 then :
   14628   printf %s "(cached) " >&6
   14629 else $as_nop
   14630   if test -n "$ac_ct_OTOOL"; then
   14631   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14632 else
   14633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14634 for as_dir in $PATH
   14635 do
   14636   IFS=$as_save_IFS
   14637   case $as_dir in #(((
   14638     '') as_dir=./ ;;
   14639     */) ;;
   14640     *) as_dir=$as_dir/ ;;
   14641   esac
   14642     for ac_exec_ext in '' $ac_executable_extensions; do
   14643   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14644     ac_cv_prog_ac_ct_OTOOL="otool"
   14645     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14646     break 2
   14647   fi
   14648 done
   14649   done
   14650 IFS=$as_save_IFS
   14651 
   14652 fi
   14653 fi
   14654 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14655 if test -n "$ac_ct_OTOOL"; then
   14656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14657 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   14658 else
   14659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14660 printf "%s\n" "no" >&6; }
   14661 fi
   14662 
   14663   if test "x$ac_ct_OTOOL" = x; then
   14664     OTOOL=":"
   14665   else
   14666     case $cross_compiling:$ac_tool_warned in
   14667 yes:)
   14668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14670 ac_tool_warned=yes ;;
   14671 esac
   14672     OTOOL=$ac_ct_OTOOL
   14673   fi
   14674 else
   14675   OTOOL="$ac_cv_prog_OTOOL"
   14676 fi
   14677 
   14678     if test -n "$ac_tool_prefix"; then
   14679   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14680 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14682 printf %s "checking for $ac_word... " >&6; }
   14683 if test ${ac_cv_prog_OTOOL64+y}
   14684 then :
   14685   printf %s "(cached) " >&6
   14686 else $as_nop
   14687   if test -n "$OTOOL64"; then
   14688   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14689 else
   14690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14691 for as_dir in $PATH
   14692 do
   14693   IFS=$as_save_IFS
   14694   case $as_dir in #(((
   14695     '') as_dir=./ ;;
   14696     */) ;;
   14697     *) as_dir=$as_dir/ ;;
   14698   esac
   14699     for ac_exec_ext in '' $ac_executable_extensions; do
   14700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14701     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14703     break 2
   14704   fi
   14705 done
   14706   done
   14707 IFS=$as_save_IFS
   14708 
   14709 fi
   14710 fi
   14711 OTOOL64=$ac_cv_prog_OTOOL64
   14712 if test -n "$OTOOL64"; then
   14713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14714 printf "%s\n" "$OTOOL64" >&6; }
   14715 else
   14716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14717 printf "%s\n" "no" >&6; }
   14718 fi
   14719 
   14720 
   14721 fi
   14722 if test -z "$ac_cv_prog_OTOOL64"; then
   14723   ac_ct_OTOOL64=$OTOOL64
   14724   # Extract the first word of "otool64", so it can be a program name with args.
   14725 set dummy otool64; ac_word=$2
   14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14727 printf %s "checking for $ac_word... " >&6; }
   14728 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   14729 then :
   14730   printf %s "(cached) " >&6
   14731 else $as_nop
   14732   if test -n "$ac_ct_OTOOL64"; then
   14733   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14734 else
   14735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14736 for as_dir in $PATH
   14737 do
   14738   IFS=$as_save_IFS
   14739   case $as_dir in #(((
   14740     '') as_dir=./ ;;
   14741     */) ;;
   14742     *) as_dir=$as_dir/ ;;
   14743   esac
   14744     for ac_exec_ext in '' $ac_executable_extensions; do
   14745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14746     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14748     break 2
   14749   fi
   14750 done
   14751   done
   14752 IFS=$as_save_IFS
   14753 
   14754 fi
   14755 fi
   14756 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14757 if test -n "$ac_ct_OTOOL64"; then
   14758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14759 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   14760 else
   14761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14762 printf "%s\n" "no" >&6; }
   14763 fi
   14764 
   14765   if test "x$ac_ct_OTOOL64" = x; then
   14766     OTOOL64=":"
   14767   else
   14768     case $cross_compiling:$ac_tool_warned in
   14769 yes:)
   14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14771 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14772 ac_tool_warned=yes ;;
   14773 esac
   14774     OTOOL64=$ac_ct_OTOOL64
   14775   fi
   14776 else
   14777   OTOOL64="$ac_cv_prog_OTOOL64"
   14778 fi
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14807 printf %s "checking for -single_module linker flag... " >&6; }
   14808 if test ${lt_cv_apple_cc_single_mod+y}
   14809 then :
   14810   printf %s "(cached) " >&6
   14811 else $as_nop
   14812   lt_cv_apple_cc_single_mod=no
   14813       if test -z "$LT_MULTI_MODULE"; then
   14814 	# By default we will add the -single_module flag. You can override
   14815 	# by either setting the environment variable LT_MULTI_MODULE
   14816 	# non-empty at configure time, or by adding -multi_module to the
   14817 	# link flags.
   14818 	rm -rf libconftest.dylib*
   14819 	echo "int foo(void){return 1;}" > conftest.c
   14820 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14821 -dynamiclib -Wl,-single_module conftest.c" >&5
   14822 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14823 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14824         _lt_result=$?
   14825 	# If there is a non-empty error log, and "single_module"
   14826 	# appears in it, assume the flag caused a linker warning
   14827         if test -s conftest.err && $GREP single_module conftest.err; then
   14828 	  cat conftest.err >&5
   14829 	# Otherwise, if the output was created with a 0 exit code from
   14830 	# the compiler, it worked.
   14831 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14832 	  lt_cv_apple_cc_single_mod=yes
   14833 	else
   14834 	  cat conftest.err >&5
   14835 	fi
   14836 	rm -rf libconftest.dylib*
   14837 	rm -f conftest.*
   14838       fi
   14839 fi
   14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14841 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   14842 
   14843     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14844 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   14845 if test ${lt_cv_ld_exported_symbols_list+y}
   14846 then :
   14847   printf %s "(cached) " >&6
   14848 else $as_nop
   14849   lt_cv_ld_exported_symbols_list=no
   14850       save_LDFLAGS=$LDFLAGS
   14851       echo "_main" > conftest.sym
   14852       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14854 /* end confdefs.h.  */
   14855 
   14856 int
   14857 main (void)
   14858 {
   14859 
   14860   ;
   14861   return 0;
   14862 }
   14863 _ACEOF
   14864 if ac_fn_c_try_link "$LINENO"
   14865 then :
   14866   lt_cv_ld_exported_symbols_list=yes
   14867 else $as_nop
   14868   lt_cv_ld_exported_symbols_list=no
   14869 fi
   14870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14871     conftest$ac_exeext conftest.$ac_ext
   14872 	LDFLAGS=$save_LDFLAGS
   14873 
   14874 fi
   14875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14876 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   14877 
   14878     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14879 printf %s "checking for -force_load linker flag... " >&6; }
   14880 if test ${lt_cv_ld_force_load+y}
   14881 then :
   14882   printf %s "(cached) " >&6
   14883 else $as_nop
   14884   lt_cv_ld_force_load=no
   14885       cat > conftest.c << _LT_EOF
   14886 int forced_loaded() { return 2;}
   14887 _LT_EOF
   14888       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14889       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14890       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   14891       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   14892       echo "$RANLIB libconftest.a" >&5
   14893       $RANLIB libconftest.a 2>&5
   14894       cat > conftest.c << _LT_EOF
   14895 int main() { return 0;}
   14896 _LT_EOF
   14897       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14898       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14899       _lt_result=$?
   14900       if test -s conftest.err && $GREP force_load conftest.err; then
   14901 	cat conftest.err >&5
   14902       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14903 	lt_cv_ld_force_load=yes
   14904       else
   14905 	cat conftest.err >&5
   14906       fi
   14907         rm -f conftest.err libconftest.a conftest conftest.c
   14908         rm -rf conftest.dSYM
   14909 
   14910 fi
   14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14912 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   14913     case $host_os in
   14914     rhapsody* | darwin1.[012])
   14915       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14916     darwin1.*)
   14917       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14918     darwin*)
   14919       case $MACOSX_DEPLOYMENT_TARGET,$host in
   14920         10.[012],*|,*powerpc*-darwin[5-8]*)
   14921           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14922         *)
   14923           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14924       esac
   14925     ;;
   14926   esac
   14927     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14928       _lt_dar_single_mod='$single_module'
   14929     fi
   14930     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14931       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14932     else
   14933       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14934     fi
   14935     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14936       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14937     else
   14938       _lt_dsymutil=
   14939     fi
   14940     ;;
   14941   esac
   14942 
   14943 # func_munge_path_list VARIABLE PATH
   14944 # -----------------------------------
   14945 # VARIABLE is name of variable containing _space_ separated list of
   14946 # directories to be munged by the contents of PATH, which is string
   14947 # having a format:
   14948 # "DIR[:DIR]:"
   14949 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14950 # ":DIR[:DIR]"
   14951 #       string "DIR[ DIR]" will be appended to VARIABLE
   14952 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14953 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14954 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14955 # "DIR[:DIR]"
   14956 #       VARIABLE will be replaced by "DIR[ DIR]"
   14957 func_munge_path_list ()
   14958 {
   14959     case x$2 in
   14960     x)
   14961         ;;
   14962     *:)
   14963         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14964         ;;
   14965     x:*)
   14966         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14967         ;;
   14968     *::*)
   14969         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14970         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14971         ;;
   14972     *)
   14973         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14974         ;;
   14975     esac
   14976 }
   14977 
   14978 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14979 "
   14980 if test "x$ac_cv_header_dlfcn_h" = xyes
   14981 then :
   14982   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   14983 
   14984 fi
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 # Set options
   14991 
   14992 
   14993 
   14994         enable_dlopen=no
   14995 
   14996 
   14997   enable_win32_dll=no
   14998 
   14999 
   15000             # Check whether --enable-shared was given.
   15001 if test ${enable_shared+y}
   15002 then :
   15003   enableval=$enable_shared; p=${PACKAGE-default}
   15004     case $enableval in
   15005     yes) enable_shared=yes ;;
   15006     no) enable_shared=no ;;
   15007     *)
   15008       enable_shared=no
   15009       # Look at the argument we got.  We use all the common list separators.
   15010       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15011       for pkg in $enableval; do
   15012 	IFS=$lt_save_ifs
   15013 	if test "X$pkg" = "X$p"; then
   15014 	  enable_shared=yes
   15015 	fi
   15016       done
   15017       IFS=$lt_save_ifs
   15018       ;;
   15019     esac
   15020 else $as_nop
   15021   enable_shared=yes
   15022 fi
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 # Check whether --with-pic was given.
   15035 if test ${with_pic+y}
   15036 then :
   15037   withval=$with_pic; lt_p=${PACKAGE-default}
   15038     case $withval in
   15039     yes|no) pic_mode=$withval ;;
   15040     *)
   15041       pic_mode=default
   15042       # Look at the argument we got.  We use all the common list separators.
   15043       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15044       for lt_pkg in $withval; do
   15045 	IFS=$lt_save_ifs
   15046 	if test "X$lt_pkg" = "X$lt_p"; then
   15047 	  pic_mode=yes
   15048 	fi
   15049       done
   15050       IFS=$lt_save_ifs
   15051       ;;
   15052     esac
   15053 else $as_nop
   15054   pic_mode=default
   15055 fi
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064   # Check whether --enable-fast-install was given.
   15065 if test ${enable_fast_install+y}
   15066 then :
   15067   enableval=$enable_fast_install; p=${PACKAGE-default}
   15068     case $enableval in
   15069     yes) enable_fast_install=yes ;;
   15070     no) enable_fast_install=no ;;
   15071     *)
   15072       enable_fast_install=no
   15073       # Look at the argument we got.  We use all the common list separators.
   15074       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15075       for pkg in $enableval; do
   15076 	IFS=$lt_save_ifs
   15077 	if test "X$pkg" = "X$p"; then
   15078 	  enable_fast_install=yes
   15079 	fi
   15080       done
   15081       IFS=$lt_save_ifs
   15082       ;;
   15083     esac
   15084 else $as_nop
   15085   enable_fast_install=yes
   15086 fi
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095   shared_archive_member_spec=
   15096 case $host,$enable_shared in
   15097 power*-*-aix[5-9]*,yes)
   15098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15099 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15100 
   15101 # Check whether --with-aix-soname was given.
   15102 if test ${with_aix_soname+y}
   15103 then :
   15104   withval=$with_aix_soname; case $withval in
   15105     aix|svr4|both)
   15106       ;;
   15107     *)
   15108       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15109       ;;
   15110     esac
   15111     lt_cv_with_aix_soname=$with_aix_soname
   15112 else $as_nop
   15113   if test ${lt_cv_with_aix_soname+y}
   15114 then :
   15115   printf %s "(cached) " >&6
   15116 else $as_nop
   15117   lt_cv_with_aix_soname=aix
   15118 fi
   15119 
   15120     with_aix_soname=$lt_cv_with_aix_soname
   15121 fi
   15122 
   15123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15124 printf "%s\n" "$with_aix_soname" >&6; }
   15125   if test aix != "$with_aix_soname"; then
   15126     # For the AIX way of multilib, we name the shared archive member
   15127     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15128     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15129     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15130     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15131     if test 64 = "${OBJECT_MODE-32}"; then
   15132       shared_archive_member_spec=shr_64
   15133     else
   15134       shared_archive_member_spec=shr
   15135     fi
   15136   fi
   15137   ;;
   15138 *)
   15139   with_aix_soname=aix
   15140   ;;
   15141 esac
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 # This can be used to rebuild libtool when needed
   15153 LIBTOOL_DEPS=$ltmain
   15154 
   15155 # Always use our own libtool.
   15156 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 test -z "$LN_S" && LN_S="ln -s"
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 if test -n "${ZSH_VERSION+set}"; then
   15203    setopt NO_GLOB_SUBST
   15204 fi
   15205 
   15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15207 printf %s "checking for objdir... " >&6; }
   15208 if test ${lt_cv_objdir+y}
   15209 then :
   15210   printf %s "(cached) " >&6
   15211 else $as_nop
   15212   rm -f .libs 2>/dev/null
   15213 mkdir .libs 2>/dev/null
   15214 if test -d .libs; then
   15215   lt_cv_objdir=.libs
   15216 else
   15217   # MS-DOS does not allow filenames that begin with a dot.
   15218   lt_cv_objdir=_libs
   15219 fi
   15220 rmdir .libs 2>/dev/null
   15221 fi
   15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15223 printf "%s\n" "$lt_cv_objdir" >&6; }
   15224 objdir=$lt_cv_objdir
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15231 
   15232 
   15233 
   15234 
   15235 case $host_os in
   15236 aix3*)
   15237   # AIX sometimes has problems with the GCC collect2 program.  For some
   15238   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15239   # vanish in a puff of smoke.
   15240   if test set != "${COLLECT_NAMES+set}"; then
   15241     COLLECT_NAMES=
   15242     export COLLECT_NAMES
   15243   fi
   15244   ;;
   15245 esac
   15246 
   15247 # Global variables:
   15248 ofile=libtool
   15249 can_build_shared=yes
   15250 
   15251 # All known linkers require a '.a' archive for static linking (except MSVC and
   15252 # ICC, which need '.lib').
   15253 libext=a
   15254 
   15255 with_gnu_ld=$lt_cv_prog_gnu_ld
   15256 
   15257 old_CC=$CC
   15258 old_CFLAGS=$CFLAGS
   15259 
   15260 # Set sane defaults for various variables
   15261 test -z "$CC" && CC=cc
   15262 test -z "$LTCC" && LTCC=$CC
   15263 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15264 test -z "$LD" && LD=ld
   15265 test -z "$ac_objext" && ac_objext=o
   15266 
   15267 func_cc_basename $compiler
   15268 cc_basename=$func_cc_basename_result
   15269 
   15270 
   15271 # Only perform the check for file, if the check method requires it
   15272 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15273 case $deplibs_check_method in
   15274 file_magic*)
   15275   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15276     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15277 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15278 if test ${lt_cv_path_MAGIC_CMD+y}
   15279 then :
   15280   printf %s "(cached) " >&6
   15281 else $as_nop
   15282   case $MAGIC_CMD in
   15283 [\\/*] |  ?:[\\/]*)
   15284   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15285   ;;
   15286 *)
   15287   lt_save_MAGIC_CMD=$MAGIC_CMD
   15288   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15289   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15290   for ac_dir in $ac_dummy; do
   15291     IFS=$lt_save_ifs
   15292     test -z "$ac_dir" && ac_dir=.
   15293     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15294       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15295       if test -n "$file_magic_test_file"; then
   15296 	case $deplibs_check_method in
   15297 	"file_magic "*)
   15298 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15299 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15300 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15301 	    $EGREP "$file_magic_regex" > /dev/null; then
   15302 	    :
   15303 	  else
   15304 	    cat <<_LT_EOF 1>&2
   15305 
   15306 *** Warning: the command libtool uses to detect shared libraries,
   15307 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15308 *** The result is that libtool may fail to recognize shared libraries
   15309 *** as such.  This will affect the creation of libtool libraries that
   15310 *** depend on shared libraries, but programs linked with such libtool
   15311 *** libraries will work regardless of this problem.  Nevertheless, you
   15312 *** may want to report the problem to your system manager and/or to
   15313 *** bug-libtool@gnu.org
   15314 
   15315 _LT_EOF
   15316 	  fi ;;
   15317 	esac
   15318       fi
   15319       break
   15320     fi
   15321   done
   15322   IFS=$lt_save_ifs
   15323   MAGIC_CMD=$lt_save_MAGIC_CMD
   15324   ;;
   15325 esac
   15326 fi
   15327 
   15328 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15329 if test -n "$MAGIC_CMD"; then
   15330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15331 printf "%s\n" "$MAGIC_CMD" >&6; }
   15332 else
   15333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15334 printf "%s\n" "no" >&6; }
   15335 fi
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15342   if test -n "$ac_tool_prefix"; then
   15343     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15344 printf %s "checking for file... " >&6; }
   15345 if test ${lt_cv_path_MAGIC_CMD+y}
   15346 then :
   15347   printf %s "(cached) " >&6
   15348 else $as_nop
   15349   case $MAGIC_CMD in
   15350 [\\/*] |  ?:[\\/]*)
   15351   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15352   ;;
   15353 *)
   15354   lt_save_MAGIC_CMD=$MAGIC_CMD
   15355   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15356   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15357   for ac_dir in $ac_dummy; do
   15358     IFS=$lt_save_ifs
   15359     test -z "$ac_dir" && ac_dir=.
   15360     if test -f "$ac_dir/file"; then
   15361       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15362       if test -n "$file_magic_test_file"; then
   15363 	case $deplibs_check_method in
   15364 	"file_magic "*)
   15365 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15366 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15367 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15368 	    $EGREP "$file_magic_regex" > /dev/null; then
   15369 	    :
   15370 	  else
   15371 	    cat <<_LT_EOF 1>&2
   15372 
   15373 *** Warning: the command libtool uses to detect shared libraries,
   15374 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15375 *** The result is that libtool may fail to recognize shared libraries
   15376 *** as such.  This will affect the creation of libtool libraries that
   15377 *** depend on shared libraries, but programs linked with such libtool
   15378 *** libraries will work regardless of this problem.  Nevertheless, you
   15379 *** may want to report the problem to your system manager and/or to
   15380 *** bug-libtool@gnu.org
   15381 
   15382 _LT_EOF
   15383 	  fi ;;
   15384 	esac
   15385       fi
   15386       break
   15387     fi
   15388   done
   15389   IFS=$lt_save_ifs
   15390   MAGIC_CMD=$lt_save_MAGIC_CMD
   15391   ;;
   15392 esac
   15393 fi
   15394 
   15395 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15396 if test -n "$MAGIC_CMD"; then
   15397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15398 printf "%s\n" "$MAGIC_CMD" >&6; }
   15399 else
   15400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15401 printf "%s\n" "no" >&6; }
   15402 fi
   15403 
   15404 
   15405   else
   15406     MAGIC_CMD=:
   15407   fi
   15408 fi
   15409 
   15410   fi
   15411   ;;
   15412 esac
   15413 
   15414 # Use C for the default configuration in the libtool script
   15415 
   15416 lt_save_CC=$CC
   15417 ac_ext=c
   15418 ac_cpp='$CPP $CPPFLAGS'
   15419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15422 
   15423 
   15424 # Source file extension for C test sources.
   15425 ac_ext=c
   15426 
   15427 # Object file extension for compiled C test sources.
   15428 objext=o
   15429 objext=$objext
   15430 
   15431 # Code to be used in simple compile tests
   15432 lt_simple_compile_test_code="int some_variable = 0;"
   15433 
   15434 # Code to be used in simple link tests
   15435 lt_simple_link_test_code='int main(){return(0);}'
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 # If no C compiler was specified, use CC.
   15444 LTCC=${LTCC-"$CC"}
   15445 
   15446 # If no C compiler flags were specified, use CFLAGS.
   15447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15448 
   15449 # Allow CC to be a program name with arguments.
   15450 compiler=$CC
   15451 
   15452 # Save the default compiler, since it gets overwritten when the other
   15453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15454 compiler_DEFAULT=$CC
   15455 
   15456 # save warnings/boilerplate of simple test code
   15457 ac_outfile=conftest.$ac_objext
   15458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15460 _lt_compiler_boilerplate=`cat conftest.err`
   15461 $RM conftest*
   15462 
   15463 ac_outfile=conftest.$ac_objext
   15464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15466 _lt_linker_boilerplate=`cat conftest.err`
   15467 $RM -r conftest*
   15468 
   15469 
   15470 if test -n "$compiler"; then
   15471 
   15472 lt_prog_compiler_no_builtin_flag=
   15473 
   15474 if test yes = "$GCC"; then
   15475   case $cc_basename in
   15476   nvcc*)
   15477     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15478   *)
   15479     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15480   esac
   15481 
   15482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15483 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15484 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15485 then :
   15486   printf %s "(cached) " >&6
   15487 else $as_nop
   15488   lt_cv_prog_compiler_rtti_exceptions=no
   15489    ac_outfile=conftest.$ac_objext
   15490    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15491    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15492    # Insert the option either (1) after the last *FLAGS variable, or
   15493    # (2) before a word containing "conftest.", or (3) at the end.
   15494    # Note that $ac_compile itself does not contain backslashes and begins
   15495    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15496    # The option is referenced via a variable to avoid confusing sed.
   15497    lt_compile=`echo "$ac_compile" | $SED \
   15498    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15499    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15500    -e 's:$: $lt_compiler_flag:'`
   15501    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15502    (eval "$lt_compile" 2>conftest.err)
   15503    ac_status=$?
   15504    cat conftest.err >&5
   15505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15506    if (exit $ac_status) && test -s "$ac_outfile"; then
   15507      # The compiler can only warn and ignore the option if not recognized
   15508      # So say no if there are warnings other than the usual output.
   15509      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15510      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15511      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15512        lt_cv_prog_compiler_rtti_exceptions=yes
   15513      fi
   15514    fi
   15515    $RM conftest*
   15516 
   15517 fi
   15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15519 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15520 
   15521 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15522     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15523 else
   15524     :
   15525 fi
   15526 
   15527 fi
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534   lt_prog_compiler_wl=
   15535 lt_prog_compiler_pic=
   15536 lt_prog_compiler_static=
   15537 
   15538 
   15539   if test yes = "$GCC"; then
   15540     lt_prog_compiler_wl='-Wl,'
   15541     lt_prog_compiler_static='-static'
   15542 
   15543     case $host_os in
   15544       aix*)
   15545       # All AIX code is PIC.
   15546       if test ia64 = "$host_cpu"; then
   15547 	# AIX 5 now supports IA64 processor
   15548 	lt_prog_compiler_static='-Bstatic'
   15549       fi
   15550       lt_prog_compiler_pic='-fPIC'
   15551       ;;
   15552 
   15553     amigaos*)
   15554       case $host_cpu in
   15555       powerpc)
   15556             # see comment about AmigaOS4 .so support
   15557             lt_prog_compiler_pic='-fPIC'
   15558         ;;
   15559       m68k)
   15560             # FIXME: we need at least 68020 code to build shared libraries, but
   15561             # adding the '-m68020' flag to GCC prevents building anything better,
   15562             # like '-m68040'.
   15563             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15564         ;;
   15565       esac
   15566       ;;
   15567 
   15568     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15569       # PIC is the default for these OSes.
   15570       ;;
   15571 
   15572     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15573       # This hack is so that the source file can tell whether it is being
   15574       # built for inclusion in a dll (and should export symbols for example).
   15575       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15576       # (--disable-auto-import) libraries
   15577       lt_prog_compiler_pic='-DDLL_EXPORT'
   15578       case $host_os in
   15579       os2*)
   15580 	lt_prog_compiler_static='$wl-static'
   15581 	;;
   15582       esac
   15583       ;;
   15584 
   15585     darwin* | rhapsody*)
   15586       # PIC is the default on this platform
   15587       # Common symbols not allowed in MH_DYLIB files
   15588       lt_prog_compiler_pic='-fno-common'
   15589       ;;
   15590 
   15591     haiku*)
   15592       # PIC is the default for Haiku.
   15593       # The "-static" flag exists, but is broken.
   15594       lt_prog_compiler_static=
   15595       ;;
   15596 
   15597     hpux*)
   15598       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15599       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15600       # sets the default TLS model and affects inlining.
   15601       case $host_cpu in
   15602       hppa*64*)
   15603 	# +Z the default
   15604 	;;
   15605       *)
   15606 	lt_prog_compiler_pic='-fPIC'
   15607 	;;
   15608       esac
   15609       ;;
   15610 
   15611     interix[3-9]*)
   15612       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15613       # Instead, we relocate shared libraries at runtime.
   15614       ;;
   15615 
   15616     msdosdjgpp*)
   15617       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15618       # on systems that don't support them.
   15619       lt_prog_compiler_can_build_shared=no
   15620       enable_shared=no
   15621       ;;
   15622 
   15623     *nto* | *qnx*)
   15624       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15625       # it will coredump.
   15626       lt_prog_compiler_pic='-fPIC -shared'
   15627       ;;
   15628 
   15629     sysv4*MP*)
   15630       if test -d /usr/nec; then
   15631 	lt_prog_compiler_pic=-Kconform_pic
   15632       fi
   15633       ;;
   15634 
   15635     *)
   15636       lt_prog_compiler_pic='-fPIC'
   15637       ;;
   15638     esac
   15639 
   15640     case $cc_basename in
   15641     nvcc*) # Cuda Compiler Driver 2.2
   15642       lt_prog_compiler_wl='-Xlinker '
   15643       if test -n "$lt_prog_compiler_pic"; then
   15644         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15645       fi
   15646       ;;
   15647     esac
   15648   else
   15649     # PORTME Check for flag to pass linker flags through the system compiler.
   15650     case $host_os in
   15651     aix*)
   15652       lt_prog_compiler_wl='-Wl,'
   15653       if test ia64 = "$host_cpu"; then
   15654 	# AIX 5 now supports IA64 processor
   15655 	lt_prog_compiler_static='-Bstatic'
   15656       else
   15657 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15658       fi
   15659       ;;
   15660 
   15661     darwin* | rhapsody*)
   15662       # PIC is the default on this platform
   15663       # Common symbols not allowed in MH_DYLIB files
   15664       lt_prog_compiler_pic='-fno-common'
   15665       case $cc_basename in
   15666       nagfor*)
   15667         # NAG Fortran compiler
   15668         lt_prog_compiler_wl='-Wl,-Wl,,'
   15669         lt_prog_compiler_pic='-PIC'
   15670         lt_prog_compiler_static='-Bstatic'
   15671         ;;
   15672       esac
   15673       ;;
   15674 
   15675     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15676       # This hack is so that the source file can tell whether it is being
   15677       # built for inclusion in a dll (and should export symbols for example).
   15678       lt_prog_compiler_pic='-DDLL_EXPORT'
   15679       case $host_os in
   15680       os2*)
   15681 	lt_prog_compiler_static='$wl-static'
   15682 	;;
   15683       esac
   15684       ;;
   15685 
   15686     hpux9* | hpux10* | hpux11*)
   15687       lt_prog_compiler_wl='-Wl,'
   15688       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15689       # not for PA HP-UX.
   15690       case $host_cpu in
   15691       hppa*64*|ia64*)
   15692 	# +Z the default
   15693 	;;
   15694       *)
   15695 	lt_prog_compiler_pic='+Z'
   15696 	;;
   15697       esac
   15698       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15699       lt_prog_compiler_static='$wl-a ${wl}archive'
   15700       ;;
   15701 
   15702     irix5* | irix6* | nonstopux*)
   15703       lt_prog_compiler_wl='-Wl,'
   15704       # PIC (with -KPIC) is the default.
   15705       lt_prog_compiler_static='-non_shared'
   15706       ;;
   15707 
   15708     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15709       case $cc_basename in
   15710       # old Intel for x86_64, which still supported -KPIC.
   15711       ecc*)
   15712 	lt_prog_compiler_wl='-Wl,'
   15713 	lt_prog_compiler_pic='-KPIC'
   15714 	lt_prog_compiler_static='-static'
   15715         ;;
   15716       # icc used to be incompatible with GCC.
   15717       # ICC 10 doesn't accept -KPIC any more.
   15718       icc* | ifort*)
   15719 	lt_prog_compiler_wl='-Wl,'
   15720 	lt_prog_compiler_pic='-fPIC'
   15721 	lt_prog_compiler_static='-static'
   15722         ;;
   15723       # Lahey Fortran 8.1.
   15724       lf95*)
   15725 	lt_prog_compiler_wl='-Wl,'
   15726 	lt_prog_compiler_pic='--shared'
   15727 	lt_prog_compiler_static='--static'
   15728 	;;
   15729       nagfor*)
   15730 	# NAG Fortran compiler
   15731 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15732 	lt_prog_compiler_pic='-PIC'
   15733 	lt_prog_compiler_static='-Bstatic'
   15734 	;;
   15735       tcc*)
   15736 	# Fabrice Bellard et al's Tiny C Compiler
   15737 	lt_prog_compiler_wl='-Wl,'
   15738 	lt_prog_compiler_pic='-fPIC'
   15739 	lt_prog_compiler_static='-static'
   15740 	;;
   15741       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15742         # Portland Group compilers (*not* the Pentium gcc compiler,
   15743 	# which looks to be a dead project)
   15744 	lt_prog_compiler_wl='-Wl,'
   15745 	lt_prog_compiler_pic='-fpic'
   15746 	lt_prog_compiler_static='-Bstatic'
   15747         ;;
   15748       ccc*)
   15749         lt_prog_compiler_wl='-Wl,'
   15750         # All Alpha code is PIC.
   15751         lt_prog_compiler_static='-non_shared'
   15752         ;;
   15753       xl* | bgxl* | bgf* | mpixl*)
   15754 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15755 	lt_prog_compiler_wl='-Wl,'
   15756 	lt_prog_compiler_pic='-qpic'
   15757 	lt_prog_compiler_static='-qstaticlink'
   15758 	;;
   15759       *)
   15760 	case `$CC -V 2>&1 | $SED 5q` in
   15761 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15762 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15763 	  lt_prog_compiler_pic='-KPIC'
   15764 	  lt_prog_compiler_static='-Bstatic'
   15765 	  lt_prog_compiler_wl=''
   15766 	  ;;
   15767 	*Sun\ F* | *Sun*Fortran*)
   15768 	  lt_prog_compiler_pic='-KPIC'
   15769 	  lt_prog_compiler_static='-Bstatic'
   15770 	  lt_prog_compiler_wl='-Qoption ld '
   15771 	  ;;
   15772 	*Sun\ C*)
   15773 	  # Sun C 5.9
   15774 	  lt_prog_compiler_pic='-KPIC'
   15775 	  lt_prog_compiler_static='-Bstatic'
   15776 	  lt_prog_compiler_wl='-Wl,'
   15777 	  ;;
   15778         *Intel*\ [CF]*Compiler*)
   15779 	  lt_prog_compiler_wl='-Wl,'
   15780 	  lt_prog_compiler_pic='-fPIC'
   15781 	  lt_prog_compiler_static='-static'
   15782 	  ;;
   15783 	*Portland\ Group*)
   15784 	  lt_prog_compiler_wl='-Wl,'
   15785 	  lt_prog_compiler_pic='-fpic'
   15786 	  lt_prog_compiler_static='-Bstatic'
   15787 	  ;;
   15788 	esac
   15789 	;;
   15790       esac
   15791       ;;
   15792 
   15793     newsos6)
   15794       lt_prog_compiler_pic='-KPIC'
   15795       lt_prog_compiler_static='-Bstatic'
   15796       ;;
   15797 
   15798     *nto* | *qnx*)
   15799       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15800       # it will coredump.
   15801       lt_prog_compiler_pic='-fPIC -shared'
   15802       ;;
   15803 
   15804     osf3* | osf4* | osf5*)
   15805       lt_prog_compiler_wl='-Wl,'
   15806       # All OSF/1 code is PIC.
   15807       lt_prog_compiler_static='-non_shared'
   15808       ;;
   15809 
   15810     rdos*)
   15811       lt_prog_compiler_static='-non_shared'
   15812       ;;
   15813 
   15814     solaris*)
   15815       lt_prog_compiler_pic='-KPIC'
   15816       lt_prog_compiler_static='-Bstatic'
   15817       case $cc_basename in
   15818       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15819 	lt_prog_compiler_wl='-Qoption ld ';;
   15820       *)
   15821 	lt_prog_compiler_wl='-Wl,';;
   15822       esac
   15823       ;;
   15824 
   15825     sunos4*)
   15826       lt_prog_compiler_wl='-Qoption ld '
   15827       lt_prog_compiler_pic='-PIC'
   15828       lt_prog_compiler_static='-Bstatic'
   15829       ;;
   15830 
   15831     sysv4 | sysv4.2uw2* | sysv4.3*)
   15832       lt_prog_compiler_wl='-Wl,'
   15833       lt_prog_compiler_pic='-KPIC'
   15834       lt_prog_compiler_static='-Bstatic'
   15835       ;;
   15836 
   15837     sysv4*MP*)
   15838       if test -d /usr/nec; then
   15839 	lt_prog_compiler_pic='-Kconform_pic'
   15840 	lt_prog_compiler_static='-Bstatic'
   15841       fi
   15842       ;;
   15843 
   15844     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15845       lt_prog_compiler_wl='-Wl,'
   15846       lt_prog_compiler_pic='-KPIC'
   15847       lt_prog_compiler_static='-Bstatic'
   15848       ;;
   15849 
   15850     unicos*)
   15851       lt_prog_compiler_wl='-Wl,'
   15852       lt_prog_compiler_can_build_shared=no
   15853       ;;
   15854 
   15855     uts4*)
   15856       lt_prog_compiler_pic='-pic'
   15857       lt_prog_compiler_static='-Bstatic'
   15858       ;;
   15859 
   15860     *)
   15861       lt_prog_compiler_can_build_shared=no
   15862       ;;
   15863     esac
   15864   fi
   15865 
   15866 case $host_os in
   15867   # For platforms that do not support PIC, -DPIC is meaningless:
   15868   *djgpp*)
   15869     lt_prog_compiler_pic=
   15870     ;;
   15871   *)
   15872     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15873     ;;
   15874 esac
   15875 
   15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15877 printf %s "checking for $compiler option to produce PIC... " >&6; }
   15878 if test ${lt_cv_prog_compiler_pic+y}
   15879 then :
   15880   printf %s "(cached) " >&6
   15881 else $as_nop
   15882   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15883 fi
   15884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15885 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   15886 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15887 
   15888 #
   15889 # Check to make sure the PIC flag actually works.
   15890 #
   15891 if test -n "$lt_prog_compiler_pic"; then
   15892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15893 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15894 if test ${lt_cv_prog_compiler_pic_works+y}
   15895 then :
   15896   printf %s "(cached) " >&6
   15897 else $as_nop
   15898   lt_cv_prog_compiler_pic_works=no
   15899    ac_outfile=conftest.$ac_objext
   15900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15901    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15902    # Insert the option either (1) after the last *FLAGS variable, or
   15903    # (2) before a word containing "conftest.", or (3) at the end.
   15904    # Note that $ac_compile itself does not contain backslashes and begins
   15905    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15906    # The option is referenced via a variable to avoid confusing sed.
   15907    lt_compile=`echo "$ac_compile" | $SED \
   15908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15910    -e 's:$: $lt_compiler_flag:'`
   15911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15912    (eval "$lt_compile" 2>conftest.err)
   15913    ac_status=$?
   15914    cat conftest.err >&5
   15915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15916    if (exit $ac_status) && test -s "$ac_outfile"; then
   15917      # The compiler can only warn and ignore the option if not recognized
   15918      # So say no if there are warnings other than the usual output.
   15919      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15920      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15921      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15922        lt_cv_prog_compiler_pic_works=yes
   15923      fi
   15924    fi
   15925    $RM conftest*
   15926 
   15927 fi
   15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15929 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   15930 
   15931 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15932     case $lt_prog_compiler_pic in
   15933      "" | " "*) ;;
   15934      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15935      esac
   15936 else
   15937     lt_prog_compiler_pic=
   15938      lt_prog_compiler_can_build_shared=no
   15939 fi
   15940 
   15941 fi
   15942 
   15943 
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 #
   15954 # Check to make sure the static flag actually works.
   15955 #
   15956 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15958 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15959 if test ${lt_cv_prog_compiler_static_works+y}
   15960 then :
   15961   printf %s "(cached) " >&6
   15962 else $as_nop
   15963   lt_cv_prog_compiler_static_works=no
   15964    save_LDFLAGS=$LDFLAGS
   15965    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15966    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15967    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15968      # The linker can only warn and ignore the option if not recognized
   15969      # So say no if there are warnings
   15970      if test -s conftest.err; then
   15971        # Append any errors to the config.log.
   15972        cat conftest.err 1>&5
   15973        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15974        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15975        if diff conftest.exp conftest.er2 >/dev/null; then
   15976          lt_cv_prog_compiler_static_works=yes
   15977        fi
   15978      else
   15979        lt_cv_prog_compiler_static_works=yes
   15980      fi
   15981    fi
   15982    $RM -r conftest*
   15983    LDFLAGS=$save_LDFLAGS
   15984 
   15985 fi
   15986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15987 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   15988 
   15989 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15990     :
   15991 else
   15992     lt_prog_compiler_static=
   15993 fi
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16002 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16003 if test ${lt_cv_prog_compiler_c_o+y}
   16004 then :
   16005   printf %s "(cached) " >&6
   16006 else $as_nop
   16007   lt_cv_prog_compiler_c_o=no
   16008    $RM -r conftest 2>/dev/null
   16009    mkdir conftest
   16010    cd conftest
   16011    mkdir out
   16012    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16013 
   16014    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16015    # Insert the option either (1) after the last *FLAGS variable, or
   16016    # (2) before a word containing "conftest.", or (3) at the end.
   16017    # Note that $ac_compile itself does not contain backslashes and begins
   16018    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16019    lt_compile=`echo "$ac_compile" | $SED \
   16020    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16021    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16022    -e 's:$: $lt_compiler_flag:'`
   16023    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16024    (eval "$lt_compile" 2>out/conftest.err)
   16025    ac_status=$?
   16026    cat out/conftest.err >&5
   16027    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16028    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16029    then
   16030      # The compiler can only warn and ignore the option if not recognized
   16031      # So say no if there are warnings
   16032      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16033      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16034      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16035        lt_cv_prog_compiler_c_o=yes
   16036      fi
   16037    fi
   16038    chmod u+w . 2>&5
   16039    $RM conftest*
   16040    # SGI C++ compiler will create directory out/ii_files/ for
   16041    # template instantiation
   16042    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16043    $RM out/* && rmdir out
   16044    cd ..
   16045    $RM -r conftest
   16046    $RM conftest*
   16047 
   16048 fi
   16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16050 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16058 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16059 if test ${lt_cv_prog_compiler_c_o+y}
   16060 then :
   16061   printf %s "(cached) " >&6
   16062 else $as_nop
   16063   lt_cv_prog_compiler_c_o=no
   16064    $RM -r conftest 2>/dev/null
   16065    mkdir conftest
   16066    cd conftest
   16067    mkdir out
   16068    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16069 
   16070    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16071    # Insert the option either (1) after the last *FLAGS variable, or
   16072    # (2) before a word containing "conftest.", or (3) at the end.
   16073    # Note that $ac_compile itself does not contain backslashes and begins
   16074    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16075    lt_compile=`echo "$ac_compile" | $SED \
   16076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16078    -e 's:$: $lt_compiler_flag:'`
   16079    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16080    (eval "$lt_compile" 2>out/conftest.err)
   16081    ac_status=$?
   16082    cat out/conftest.err >&5
   16083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16084    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16085    then
   16086      # The compiler can only warn and ignore the option if not recognized
   16087      # So say no if there are warnings
   16088      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16089      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16090      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16091        lt_cv_prog_compiler_c_o=yes
   16092      fi
   16093    fi
   16094    chmod u+w . 2>&5
   16095    $RM conftest*
   16096    # SGI C++ compiler will create directory out/ii_files/ for
   16097    # template instantiation
   16098    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16099    $RM out/* && rmdir out
   16100    cd ..
   16101    $RM -r conftest
   16102    $RM conftest*
   16103 
   16104 fi
   16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16106 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16107 
   16108 
   16109 
   16110 
   16111 hard_links=nottested
   16112 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16113   # do not overwrite the value of need_locks provided by the user
   16114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16115 printf %s "checking if we can lock with hard links... " >&6; }
   16116   hard_links=yes
   16117   $RM conftest*
   16118   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16119   touch conftest.a
   16120   ln conftest.a conftest.b 2>&5 || hard_links=no
   16121   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16123 printf "%s\n" "$hard_links" >&6; }
   16124   if test no = "$hard_links"; then
   16125     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16126 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16127     need_locks=warn
   16128   fi
   16129 else
   16130   need_locks=no
   16131 fi
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16139 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16140 
   16141   runpath_var=
   16142   allow_undefined_flag=
   16143   always_export_symbols=no
   16144   archive_cmds=
   16145   archive_expsym_cmds=
   16146   compiler_needs_object=no
   16147   enable_shared_with_static_runtimes=no
   16148   export_dynamic_flag_spec=
   16149   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16150   hardcode_automatic=no
   16151   hardcode_direct=no
   16152   hardcode_direct_absolute=no
   16153   hardcode_libdir_flag_spec=
   16154   hardcode_libdir_separator=
   16155   hardcode_minus_L=no
   16156   hardcode_shlibpath_var=unsupported
   16157   inherit_rpath=no
   16158   link_all_deplibs=unknown
   16159   module_cmds=
   16160   module_expsym_cmds=
   16161   old_archive_from_new_cmds=
   16162   old_archive_from_expsyms_cmds=
   16163   thread_safe_flag_spec=
   16164   whole_archive_flag_spec=
   16165   # include_expsyms should be a list of space-separated symbols to be *always*
   16166   # included in the symbol list
   16167   include_expsyms=
   16168   # exclude_expsyms can be an extended regexp of symbols to exclude
   16169   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16170   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16171   # as well as any symbol that contains 'd'.
   16172   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16173   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16174   # platforms (ab)use it in PIC code, but their linkers get confused if
   16175   # the symbol is explicitly referenced.  Since portable code cannot
   16176   # rely on this symbol name, it's probably fine to never include it in
   16177   # preloaded symbol tables.
   16178   # Exclude shared library initialization/finalization symbols.
   16179   extract_expsyms_cmds=
   16180 
   16181   case $host_os in
   16182   cygwin* | mingw* | pw32* | cegcc*)
   16183     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16184     # When not using gcc, we currently assume that we are using
   16185     # Microsoft Visual C++ or Intel C++ Compiler.
   16186     if test yes != "$GCC"; then
   16187       with_gnu_ld=no
   16188     fi
   16189     ;;
   16190   interix*)
   16191     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16192     with_gnu_ld=yes
   16193     ;;
   16194   openbsd* | bitrig*)
   16195     with_gnu_ld=no
   16196     ;;
   16197   esac
   16198 
   16199   ld_shlibs=yes
   16200 
   16201   # On some targets, GNU ld is compatible enough with the native linker
   16202   # that we're better off using the native interface for both.
   16203   lt_use_gnu_ld_interface=no
   16204   if test yes = "$with_gnu_ld"; then
   16205     case $host_os in
   16206       aix*)
   16207 	# The AIX port of GNU ld has always aspired to compatibility
   16208 	# with the native linker.  However, as the warning in the GNU ld
   16209 	# block says, versions before 2.19.5* couldn't really create working
   16210 	# shared libraries, regardless of the interface used.
   16211 	case `$LD -v 2>&1` in
   16212 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16213 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16214 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16215 	  *)
   16216 	    lt_use_gnu_ld_interface=yes
   16217 	    ;;
   16218 	esac
   16219 	;;
   16220       *)
   16221 	lt_use_gnu_ld_interface=yes
   16222 	;;
   16223     esac
   16224   fi
   16225 
   16226   if test yes = "$lt_use_gnu_ld_interface"; then
   16227     # If archive_cmds runs LD, not CC, wlarc should be empty
   16228     wlarc='$wl'
   16229 
   16230     # Set some defaults for GNU ld with shared library support. These
   16231     # are reset later if shared libraries are not supported. Putting them
   16232     # here allows them to be overridden if necessary.
   16233     runpath_var=LD_RUN_PATH
   16234     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16235     export_dynamic_flag_spec='$wl--export-dynamic'
   16236     # ancient GNU ld didn't support --whole-archive et. al.
   16237     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16238       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16239     else
   16240       whole_archive_flag_spec=
   16241     fi
   16242     supports_anon_versioning=no
   16243     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16244       *GNU\ gold*) supports_anon_versioning=yes ;;
   16245       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16246       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16247       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16248       *\ 2.11.*) ;; # other 2.11 versions
   16249       *) supports_anon_versioning=yes ;;
   16250     esac
   16251 
   16252     # See if GNU ld supports shared libraries.
   16253     case $host_os in
   16254     aix[3-9]*)
   16255       # On AIX/PPC, the GNU linker is very broken
   16256       if test ia64 != "$host_cpu"; then
   16257 	ld_shlibs=no
   16258 	cat <<_LT_EOF 1>&2
   16259 
   16260 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16261 *** to be unable to reliably create shared libraries on AIX.
   16262 *** Therefore, libtool is disabling shared libraries support.  If you
   16263 *** really care for shared libraries, you may want to install binutils
   16264 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16265 *** You will then need to restart the configuration process.
   16266 
   16267 _LT_EOF
   16268       fi
   16269       ;;
   16270 
   16271     amigaos*)
   16272       case $host_cpu in
   16273       powerpc)
   16274             # see comment about AmigaOS4 .so support
   16275             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16276             archive_expsym_cmds=''
   16277         ;;
   16278       m68k)
   16279             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)'
   16280             hardcode_libdir_flag_spec='-L$libdir'
   16281             hardcode_minus_L=yes
   16282         ;;
   16283       esac
   16284       ;;
   16285 
   16286     beos*)
   16287       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16288 	allow_undefined_flag=unsupported
   16289 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16290 	# support --undefined.  This deserves some investigation.  FIXME
   16291 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16292       else
   16293 	ld_shlibs=no
   16294       fi
   16295       ;;
   16296 
   16297     cygwin* | mingw* | pw32* | cegcc*)
   16298       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16299       # as there is no search path for DLLs.
   16300       hardcode_libdir_flag_spec='-L$libdir'
   16301       export_dynamic_flag_spec='$wl--export-all-symbols'
   16302       allow_undefined_flag=unsupported
   16303       always_export_symbols=no
   16304       enable_shared_with_static_runtimes=yes
   16305       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'
   16306       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16307 
   16308       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16309         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16310 	# If the export-symbols file already is a .def file, use it as
   16311 	# is; otherwise, prepend EXPORTS...
   16312 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16313           cp $export_symbols $output_objdir/$soname.def;
   16314         else
   16315           echo EXPORTS > $output_objdir/$soname.def;
   16316           cat $export_symbols >> $output_objdir/$soname.def;
   16317         fi~
   16318         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16319       else
   16320 	ld_shlibs=no
   16321       fi
   16322       ;;
   16323 
   16324     haiku*)
   16325       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16326       link_all_deplibs=yes
   16327       ;;
   16328 
   16329     os2*)
   16330       hardcode_libdir_flag_spec='-L$libdir'
   16331       hardcode_minus_L=yes
   16332       allow_undefined_flag=unsupported
   16333       shrext_cmds=.dll
   16334       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16335 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16336 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16337 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16338 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16339 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16340 	emximp -o $lib $output_objdir/$libname.def'
   16341       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16342 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16343 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16344 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16345 	prefix_cmds="$SED"~
   16346 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16347 	  prefix_cmds="$prefix_cmds -e 1d";
   16348 	fi~
   16349 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16350 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16351 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16352 	emximp -o $lib $output_objdir/$libname.def'
   16353       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16354       enable_shared_with_static_runtimes=yes
   16355       file_list_spec='@'
   16356       ;;
   16357 
   16358     interix[3-9]*)
   16359       hardcode_direct=no
   16360       hardcode_shlibpath_var=no
   16361       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16362       export_dynamic_flag_spec='$wl-E'
   16363       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16364       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16365       # default) and relocated if they conflict, which is a slow very memory
   16366       # consuming and fragmenting process.  To avoid this, we pick a random,
   16367       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16368       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16369       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16370       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'
   16371       ;;
   16372 
   16373     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16374       tmp_diet=no
   16375       if test linux-dietlibc = "$host_os"; then
   16376 	case $cc_basename in
   16377 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16378 	esac
   16379       fi
   16380       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16381 	 && test no = "$tmp_diet"
   16382       then
   16383 	tmp_addflag=' $pic_flag'
   16384 	tmp_sharedflag='-shared'
   16385 	case $cc_basename,$host_cpu in
   16386         pgcc*)				# Portland Group C compiler
   16387 	  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'
   16388 	  tmp_addflag=' $pic_flag'
   16389 	  ;;
   16390 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16391 					# Portland Group f77 and f90 compilers
   16392 	  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'
   16393 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16394 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16395 	  tmp_addflag=' -i_dynamic' ;;
   16396 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16397 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16398 	ifc* | ifort*)			# Intel Fortran compiler
   16399 	  tmp_addflag=' -nofor_main' ;;
   16400 	lf95*)				# Lahey Fortran 8.1
   16401 	  whole_archive_flag_spec=
   16402 	  tmp_sharedflag='--shared' ;;
   16403         nagfor*)                        # NAGFOR 5.3
   16404           tmp_sharedflag='-Wl,-shared' ;;
   16405 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16406 	  tmp_sharedflag='-qmkshrobj'
   16407 	  tmp_addflag= ;;
   16408 	nvcc*)	# Cuda Compiler Driver 2.2
   16409 	  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'
   16410 	  compiler_needs_object=yes
   16411 	  ;;
   16412 	esac
   16413 	case `$CC -V 2>&1 | $SED 5q` in
   16414 	*Sun\ C*)			# Sun C 5.9
   16415 	  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'
   16416 	  compiler_needs_object=yes
   16417 	  tmp_sharedflag='-G' ;;
   16418 	*Sun\ F*)			# Sun Fortran 8.3
   16419 	  tmp_sharedflag='-G' ;;
   16420 	esac
   16421 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16422 
   16423         if test yes = "$supports_anon_versioning"; then
   16424           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16425             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16426             echo "local: *; };" >> $output_objdir/$libname.ver~
   16427             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16428         fi
   16429 
   16430 	case $cc_basename in
   16431 	tcc*)
   16432 	  export_dynamic_flag_spec='-rdynamic'
   16433 	  ;;
   16434 	xlf* | bgf* | bgxlf* | mpixlf*)
   16435 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16436 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16437 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16438 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16439 	  if test yes = "$supports_anon_versioning"; then
   16440 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16441               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16442               echo "local: *; };" >> $output_objdir/$libname.ver~
   16443               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16444 	  fi
   16445 	  ;;
   16446 	esac
   16447       else
   16448         ld_shlibs=no
   16449       fi
   16450       ;;
   16451 
   16452     netbsd*)
   16453       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16454 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16455 	wlarc=
   16456       else
   16457 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16458 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16459       fi
   16460       ;;
   16461 
   16462     solaris*)
   16463       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16464 	ld_shlibs=no
   16465 	cat <<_LT_EOF 1>&2
   16466 
   16467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16468 *** create shared libraries on Solaris systems.  Therefore, libtool
   16469 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16470 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16471 *** your PATH or compiler configuration so that the native linker is
   16472 *** used, and then restart.
   16473 
   16474 _LT_EOF
   16475       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16476 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16477 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16478       else
   16479 	ld_shlibs=no
   16480       fi
   16481       ;;
   16482 
   16483     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16484       case `$LD -v 2>&1` in
   16485         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16486 	ld_shlibs=no
   16487 	cat <<_LT_EOF 1>&2
   16488 
   16489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16490 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16491 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16492 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16493 *** your PATH or compiler configuration so that the native linker is
   16494 *** used, and then restart.
   16495 
   16496 _LT_EOF
   16497 	;;
   16498 	*)
   16499 	  # For security reasons, it is highly recommended that you always
   16500 	  # use absolute paths for naming shared libraries, and exclude the
   16501 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16502 	  # requires that you compile everything twice, which is a pain.
   16503 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16504 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16505 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16506 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16507 	  else
   16508 	    ld_shlibs=no
   16509 	  fi
   16510 	;;
   16511       esac
   16512       ;;
   16513 
   16514     sunos4*)
   16515       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16516       wlarc=
   16517       hardcode_direct=yes
   16518       hardcode_shlibpath_var=no
   16519       ;;
   16520 
   16521     *)
   16522       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16523 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16524 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16525       else
   16526 	ld_shlibs=no
   16527       fi
   16528       ;;
   16529     esac
   16530 
   16531     if test no = "$ld_shlibs"; then
   16532       runpath_var=
   16533       hardcode_libdir_flag_spec=
   16534       export_dynamic_flag_spec=
   16535       whole_archive_flag_spec=
   16536     fi
   16537   else
   16538     # PORTME fill in a description of your system's linker (not GNU ld)
   16539     case $host_os in
   16540     aix3*)
   16541       allow_undefined_flag=unsupported
   16542       always_export_symbols=yes
   16543       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'
   16544       # Note: this linker hardcodes the directories in LIBPATH if there
   16545       # are no directories specified by -L.
   16546       hardcode_minus_L=yes
   16547       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16548 	# Neither direct hardcoding nor static linking is supported with a
   16549 	# broken collect2.
   16550 	hardcode_direct=unsupported
   16551       fi
   16552       ;;
   16553 
   16554     aix[4-9]*)
   16555       if test ia64 = "$host_cpu"; then
   16556 	# On IA64, the linker does run time linking by default, so we don't
   16557 	# have to do anything special.
   16558 	aix_use_runtimelinking=no
   16559 	exp_sym_flag='-Bexport'
   16560 	no_entry_flag=
   16561       else
   16562 	# If we're using GNU nm, then we don't want the "-C" option.
   16563 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16564 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16565 	# weak defined symbols like other global defined symbols, whereas
   16566 	# GNU nm marks them as "W".
   16567 	# While the 'weak' keyword is ignored in the Export File, we need
   16568 	# it in the Import File for the 'aix-soname' feature, so we have
   16569 	# to replace the "-B" option with "-P" for AIX nm.
   16570 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16571 	  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'
   16572 	else
   16573 	  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'
   16574 	fi
   16575 	aix_use_runtimelinking=no
   16576 
   16577 	# Test if we are trying to use run time linking or normal
   16578 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16579 	# have runtime linking enabled, and use it for executables.
   16580 	# For shared libraries, we enable/disable runtime linking
   16581 	# depending on the kind of the shared library created -
   16582 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16583 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16584 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16585 	#            lib.a           static archive
   16586 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16587 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16588 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16589 	#            lib.a(lib.so.V) shared, rtl:no
   16590 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16591 	#            lib.a           static archive
   16592 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16593 	  for ld_flag in $LDFLAGS; do
   16594 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16595 	    aix_use_runtimelinking=yes
   16596 	    break
   16597 	  fi
   16598 	  done
   16599 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16600 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16601 	    # so we don't have lib.a shared libs to link our executables.
   16602 	    # We have to force runtime linking in this case.
   16603 	    aix_use_runtimelinking=yes
   16604 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16605 	  fi
   16606 	  ;;
   16607 	esac
   16608 
   16609 	exp_sym_flag='-bexport'
   16610 	no_entry_flag='-bnoentry'
   16611       fi
   16612 
   16613       # When large executables or shared objects are built, AIX ld can
   16614       # have problems creating the table of contents.  If linking a library
   16615       # or program results in "error TOC overflow" add -mminimal-toc to
   16616       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16617       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16618 
   16619       archive_cmds=''
   16620       hardcode_direct=yes
   16621       hardcode_direct_absolute=yes
   16622       hardcode_libdir_separator=':'
   16623       link_all_deplibs=yes
   16624       file_list_spec='$wl-f,'
   16625       case $with_aix_soname,$aix_use_runtimelinking in
   16626       aix,*) ;; # traditional, no import file
   16627       svr4,* | *,yes) # use import file
   16628 	# The Import File defines what to hardcode.
   16629 	hardcode_direct=no
   16630 	hardcode_direct_absolute=no
   16631 	;;
   16632       esac
   16633 
   16634       if test yes = "$GCC"; then
   16635 	case $host_os in aix4.[012]|aix4.[012].*)
   16636 	# We only want to do this on AIX 4.2 and lower, the check
   16637 	# below for broken collect2 doesn't work under 4.3+
   16638 	  collect2name=`$CC -print-prog-name=collect2`
   16639 	  if test -f "$collect2name" &&
   16640 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16641 	  then
   16642 	  # We have reworked collect2
   16643 	  :
   16644 	  else
   16645 	  # We have old collect2
   16646 	  hardcode_direct=unsupported
   16647 	  # It fails to find uninstalled libraries when the uninstalled
   16648 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16649 	  # to unsupported forces relinking
   16650 	  hardcode_minus_L=yes
   16651 	  hardcode_libdir_flag_spec='-L$libdir'
   16652 	  hardcode_libdir_separator=
   16653 	  fi
   16654 	  ;;
   16655 	esac
   16656 	shared_flag='-shared'
   16657 	if test yes = "$aix_use_runtimelinking"; then
   16658 	  shared_flag="$shared_flag "'$wl-G'
   16659 	fi
   16660 	# Need to ensure runtime linking is disabled for the traditional
   16661 	# shared library, or the linker may eventually find shared libraries
   16662 	# /with/ Import File - we do not want to mix them.
   16663 	shared_flag_aix='-shared'
   16664 	shared_flag_svr4='-shared $wl-G'
   16665       else
   16666 	# not using gcc
   16667 	if test ia64 = "$host_cpu"; then
   16668 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16669 	# chokes on -Wl,-G. The following line is correct:
   16670 	  shared_flag='-G'
   16671 	else
   16672 	  if test yes = "$aix_use_runtimelinking"; then
   16673 	    shared_flag='$wl-G'
   16674 	  else
   16675 	    shared_flag='$wl-bM:SRE'
   16676 	  fi
   16677 	  shared_flag_aix='$wl-bM:SRE'
   16678 	  shared_flag_svr4='$wl-G'
   16679 	fi
   16680       fi
   16681 
   16682       export_dynamic_flag_spec='$wl-bexpall'
   16683       # It seems that -bexpall does not export symbols beginning with
   16684       # underscore (_), so it is better to generate a list of symbols to export.
   16685       always_export_symbols=yes
   16686       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16687 	# Warning - without using the other runtime loading flags (-brtl),
   16688 	# -berok will link without error, but may produce a broken library.
   16689 	allow_undefined_flag='-berok'
   16690         # Determine the default libpath from the value encoded in an
   16691         # empty executable.
   16692         if test set = "${lt_cv_aix_libpath+set}"; then
   16693   aix_libpath=$lt_cv_aix_libpath
   16694 else
   16695   if test ${lt_cv_aix_libpath_+y}
   16696 then :
   16697   printf %s "(cached) " >&6
   16698 else $as_nop
   16699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16700 /* end confdefs.h.  */
   16701 
   16702 int
   16703 main (void)
   16704 {
   16705 
   16706   ;
   16707   return 0;
   16708 }
   16709 _ACEOF
   16710 if ac_fn_c_try_link "$LINENO"
   16711 then :
   16712 
   16713   lt_aix_libpath_sed='
   16714       /Import File Strings/,/^$/ {
   16715 	  /^0/ {
   16716 	      s/^0  *\([^ ]*\) *$/\1/
   16717 	      p
   16718 	  }
   16719       }'
   16720   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16721   # Check for a 64-bit object if we didn't find anything.
   16722   if test -z "$lt_cv_aix_libpath_"; then
   16723     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16724   fi
   16725 fi
   16726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16727     conftest$ac_exeext conftest.$ac_ext
   16728   if test -z "$lt_cv_aix_libpath_"; then
   16729     lt_cv_aix_libpath_=/usr/lib:/lib
   16730   fi
   16731 
   16732 fi
   16733 
   16734   aix_libpath=$lt_cv_aix_libpath_
   16735 fi
   16736 
   16737         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16738         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
   16739       else
   16740 	if test ia64 = "$host_cpu"; then
   16741 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16742 	  allow_undefined_flag="-z nodefs"
   16743 	  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"
   16744 	else
   16745 	 # Determine the default libpath from the value encoded in an
   16746 	 # empty executable.
   16747 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16748   aix_libpath=$lt_cv_aix_libpath
   16749 else
   16750   if test ${lt_cv_aix_libpath_+y}
   16751 then :
   16752   printf %s "(cached) " >&6
   16753 else $as_nop
   16754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16755 /* end confdefs.h.  */
   16756 
   16757 int
   16758 main (void)
   16759 {
   16760 
   16761   ;
   16762   return 0;
   16763 }
   16764 _ACEOF
   16765 if ac_fn_c_try_link "$LINENO"
   16766 then :
   16767 
   16768   lt_aix_libpath_sed='
   16769       /Import File Strings/,/^$/ {
   16770 	  /^0/ {
   16771 	      s/^0  *\([^ ]*\) *$/\1/
   16772 	      p
   16773 	  }
   16774       }'
   16775   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16776   # Check for a 64-bit object if we didn't find anything.
   16777   if test -z "$lt_cv_aix_libpath_"; then
   16778     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16779   fi
   16780 fi
   16781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16782     conftest$ac_exeext conftest.$ac_ext
   16783   if test -z "$lt_cv_aix_libpath_"; then
   16784     lt_cv_aix_libpath_=/usr/lib:/lib
   16785   fi
   16786 
   16787 fi
   16788 
   16789   aix_libpath=$lt_cv_aix_libpath_
   16790 fi
   16791 
   16792 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16793 	  # Warning - without using the other run time loading flags,
   16794 	  # -berok will link without error, but may produce a broken library.
   16795 	  no_undefined_flag=' $wl-bernotok'
   16796 	  allow_undefined_flag=' $wl-berok'
   16797 	  if test yes = "$with_gnu_ld"; then
   16798 	    # We only use this code for GNU lds that support --whole-archive.
   16799 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16800 	  else
   16801 	    # Exported symbols can be pulled into shared objects from archives
   16802 	    whole_archive_flag_spec='$convenience'
   16803 	  fi
   16804 	  archive_cmds_need_lc=yes
   16805 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16806 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16807 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16808 	  if test svr4 != "$with_aix_soname"; then
   16809 	    # This is similar to how AIX traditionally builds its shared libraries.
   16810 	    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'
   16811 	  fi
   16812 	  if test aix != "$with_aix_soname"; then
   16813 	    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'
   16814 	  else
   16815 	    # used by -dlpreopen to get the symbols
   16816 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16817 	  fi
   16818 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16819 	fi
   16820       fi
   16821       ;;
   16822 
   16823     amigaos*)
   16824       case $host_cpu in
   16825       powerpc)
   16826             # see comment about AmigaOS4 .so support
   16827             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16828             archive_expsym_cmds=''
   16829         ;;
   16830       m68k)
   16831             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)'
   16832             hardcode_libdir_flag_spec='-L$libdir'
   16833             hardcode_minus_L=yes
   16834         ;;
   16835       esac
   16836       ;;
   16837 
   16838     bsdi[45]*)
   16839       export_dynamic_flag_spec=-rdynamic
   16840       ;;
   16841 
   16842     cygwin* | mingw* | pw32* | cegcc*)
   16843       # When not using gcc, we currently assume that we are using
   16844       # Microsoft Visual C++ or Intel C++ Compiler.
   16845       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16846       # no search path for DLLs.
   16847       case $cc_basename in
   16848       cl* | icl*)
   16849 	# Native MSVC or ICC
   16850 	hardcode_libdir_flag_spec=' '
   16851 	allow_undefined_flag=unsupported
   16852 	always_export_symbols=yes
   16853 	file_list_spec='@'
   16854 	# Tell ltmain to make .lib files, not .a files.
   16855 	libext=lib
   16856 	# Tell ltmain to make .dll files, not .so files.
   16857 	shrext_cmds=.dll
   16858 	# FIXME: Setting linknames here is a bad hack.
   16859 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16860 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16861             cp "$export_symbols" "$output_objdir/$soname.def";
   16862             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16863           else
   16864             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16865           fi~
   16866           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16867           linknames='
   16868 	# The linker will not automatically build a static lib if we build a DLL.
   16869 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16870 	enable_shared_with_static_runtimes=yes
   16871 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16872 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16873 	# Don't use ranlib
   16874 	old_postinstall_cmds='chmod 644 $oldlib'
   16875 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16876           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16877           case $lt_outputfile in
   16878             *.exe|*.EXE) ;;
   16879             *)
   16880               lt_outputfile=$lt_outputfile.exe
   16881               lt_tool_outputfile=$lt_tool_outputfile.exe
   16882               ;;
   16883           esac~
   16884           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16885             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16886             $RM "$lt_outputfile.manifest";
   16887           fi'
   16888 	;;
   16889       *)
   16890 	# Assume MSVC and ICC wrapper
   16891 	hardcode_libdir_flag_spec=' '
   16892 	allow_undefined_flag=unsupported
   16893 	# Tell ltmain to make .lib files, not .a files.
   16894 	libext=lib
   16895 	# Tell ltmain to make .dll files, not .so files.
   16896 	shrext_cmds=.dll
   16897 	# FIXME: Setting linknames here is a bad hack.
   16898 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16899 	# The linker will automatically build a .lib file if we build a DLL.
   16900 	old_archive_from_new_cmds='true'
   16901 	# FIXME: Should let the user specify the lib program.
   16902 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16903 	enable_shared_with_static_runtimes=yes
   16904 	;;
   16905       esac
   16906       ;;
   16907 
   16908     darwin* | rhapsody*)
   16909 
   16910 
   16911   archive_cmds_need_lc=no
   16912   hardcode_direct=no
   16913   hardcode_automatic=yes
   16914   hardcode_shlibpath_var=unsupported
   16915   if test yes = "$lt_cv_ld_force_load"; then
   16916     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\"`'
   16917 
   16918   else
   16919     whole_archive_flag_spec=''
   16920   fi
   16921   link_all_deplibs=yes
   16922   allow_undefined_flag=$_lt_dar_allow_undefined
   16923   case $cc_basename in
   16924      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16925      *) _lt_dar_can_shared=$GCC ;;
   16926   esac
   16927   if test yes = "$_lt_dar_can_shared"; then
   16928     output_verbose_link_cmd=func_echo_all
   16929     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16930     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16931     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"
   16932     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"
   16933 
   16934   else
   16935   ld_shlibs=no
   16936   fi
   16937 
   16938       ;;
   16939 
   16940     dgux*)
   16941       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16942       hardcode_libdir_flag_spec='-L$libdir'
   16943       hardcode_shlibpath_var=no
   16944       ;;
   16945 
   16946     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16947     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16948     # does not break anything, and helps significantly (at the cost of a little
   16949     # extra space).
   16950     freebsd2.2*)
   16951       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16952       hardcode_libdir_flag_spec='-R$libdir'
   16953       hardcode_direct=yes
   16954       hardcode_shlibpath_var=no
   16955       ;;
   16956 
   16957     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16958     freebsd2.*)
   16959       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16960       hardcode_direct=yes
   16961       hardcode_minus_L=yes
   16962       hardcode_shlibpath_var=no
   16963       ;;
   16964 
   16965     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16966     freebsd* | dragonfly* | midnightbsd*)
   16967       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16968       hardcode_libdir_flag_spec='-R$libdir'
   16969       hardcode_direct=yes
   16970       hardcode_shlibpath_var=no
   16971       ;;
   16972 
   16973     hpux9*)
   16974       if test yes = "$GCC"; then
   16975 	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'
   16976       else
   16977 	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'
   16978       fi
   16979       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16980       hardcode_libdir_separator=:
   16981       hardcode_direct=yes
   16982 
   16983       # hardcode_minus_L: Not really in the search PATH,
   16984       # but as the default location of the library.
   16985       hardcode_minus_L=yes
   16986       export_dynamic_flag_spec='$wl-E'
   16987       ;;
   16988 
   16989     hpux10*)
   16990       if test yes,no = "$GCC,$with_gnu_ld"; then
   16991 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16992       else
   16993 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16994       fi
   16995       if test no = "$with_gnu_ld"; then
   16996 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16997 	hardcode_libdir_separator=:
   16998 	hardcode_direct=yes
   16999 	hardcode_direct_absolute=yes
   17000 	export_dynamic_flag_spec='$wl-E'
   17001 	# hardcode_minus_L: Not really in the search PATH,
   17002 	# but as the default location of the library.
   17003 	hardcode_minus_L=yes
   17004       fi
   17005       ;;
   17006 
   17007     hpux11*)
   17008       if test yes,no = "$GCC,$with_gnu_ld"; then
   17009 	case $host_cpu in
   17010 	hppa*64*)
   17011 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17012 	  ;;
   17013 	ia64*)
   17014 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17015 	  ;;
   17016 	*)
   17017 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17018 	  ;;
   17019 	esac
   17020       else
   17021 	case $host_cpu in
   17022 	hppa*64*)
   17023 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17024 	  ;;
   17025 	ia64*)
   17026 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17027 	  ;;
   17028 	*)
   17029 
   17030 	  # Older versions of the 11.00 compiler do not understand -b yet
   17031 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17032 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17033 printf %s "checking if $CC understands -b... " >&6; }
   17034 if test ${lt_cv_prog_compiler__b+y}
   17035 then :
   17036   printf %s "(cached) " >&6
   17037 else $as_nop
   17038   lt_cv_prog_compiler__b=no
   17039    save_LDFLAGS=$LDFLAGS
   17040    LDFLAGS="$LDFLAGS -b"
   17041    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17042    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17043      # The linker can only warn and ignore the option if not recognized
   17044      # So say no if there are warnings
   17045      if test -s conftest.err; then
   17046        # Append any errors to the config.log.
   17047        cat conftest.err 1>&5
   17048        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17049        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17050        if diff conftest.exp conftest.er2 >/dev/null; then
   17051          lt_cv_prog_compiler__b=yes
   17052        fi
   17053      else
   17054        lt_cv_prog_compiler__b=yes
   17055      fi
   17056    fi
   17057    $RM -r conftest*
   17058    LDFLAGS=$save_LDFLAGS
   17059 
   17060 fi
   17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17062 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17063 
   17064 if test yes = "$lt_cv_prog_compiler__b"; then
   17065     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17066 else
   17067     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17068 fi
   17069 
   17070 	  ;;
   17071 	esac
   17072       fi
   17073       if test no = "$with_gnu_ld"; then
   17074 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17075 	hardcode_libdir_separator=:
   17076 
   17077 	case $host_cpu in
   17078 	hppa*64*|ia64*)
   17079 	  hardcode_direct=no
   17080 	  hardcode_shlibpath_var=no
   17081 	  ;;
   17082 	*)
   17083 	  hardcode_direct=yes
   17084 	  hardcode_direct_absolute=yes
   17085 	  export_dynamic_flag_spec='$wl-E'
   17086 
   17087 	  # hardcode_minus_L: Not really in the search PATH,
   17088 	  # but as the default location of the library.
   17089 	  hardcode_minus_L=yes
   17090 	  ;;
   17091 	esac
   17092       fi
   17093       ;;
   17094 
   17095     irix5* | irix6* | nonstopux*)
   17096       if test yes = "$GCC"; then
   17097 	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'
   17098 	# Try to use the -exported_symbol ld option, if it does not
   17099 	# work, assume that -exports_file does not work either and
   17100 	# implicitly export all symbols.
   17101 	# This should be the same for all languages, so no per-tag cache variable.
   17102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17103 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17104 if test ${lt_cv_irix_exported_symbol+y}
   17105 then :
   17106   printf %s "(cached) " >&6
   17107 else $as_nop
   17108   save_LDFLAGS=$LDFLAGS
   17109 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17110 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17111 /* end confdefs.h.  */
   17112 int foo (void) { return 0; }
   17113 _ACEOF
   17114 if ac_fn_c_try_link "$LINENO"
   17115 then :
   17116   lt_cv_irix_exported_symbol=yes
   17117 else $as_nop
   17118   lt_cv_irix_exported_symbol=no
   17119 fi
   17120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17121     conftest$ac_exeext conftest.$ac_ext
   17122            LDFLAGS=$save_LDFLAGS
   17123 fi
   17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17125 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17126 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17127           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'
   17128 	fi
   17129       else
   17130 	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'
   17131 	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'
   17132       fi
   17133       archive_cmds_need_lc='no'
   17134       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17135       hardcode_libdir_separator=:
   17136       inherit_rpath=yes
   17137       link_all_deplibs=yes
   17138       ;;
   17139 
   17140     linux*)
   17141       case $cc_basename in
   17142       tcc*)
   17143 	# Fabrice Bellard et al's Tiny C Compiler
   17144 	ld_shlibs=yes
   17145 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17146 	;;
   17147       esac
   17148       ;;
   17149 
   17150     netbsd*)
   17151       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17152 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17153       else
   17154 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17155       fi
   17156       hardcode_libdir_flag_spec='-R$libdir'
   17157       hardcode_direct=yes
   17158       hardcode_shlibpath_var=no
   17159       ;;
   17160 
   17161     newsos6)
   17162       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17163       hardcode_direct=yes
   17164       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17165       hardcode_libdir_separator=:
   17166       hardcode_shlibpath_var=no
   17167       ;;
   17168 
   17169     *nto* | *qnx*)
   17170       ;;
   17171 
   17172     openbsd* | bitrig*)
   17173       if test -f /usr/libexec/ld.so; then
   17174 	hardcode_direct=yes
   17175 	hardcode_shlibpath_var=no
   17176 	hardcode_direct_absolute=yes
   17177 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17178 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17179 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17180 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17181 	  export_dynamic_flag_spec='$wl-E'
   17182 	else
   17183 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17184 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17185 	fi
   17186       else
   17187 	ld_shlibs=no
   17188       fi
   17189       ;;
   17190 
   17191     os2*)
   17192       hardcode_libdir_flag_spec='-L$libdir'
   17193       hardcode_minus_L=yes
   17194       allow_undefined_flag=unsupported
   17195       shrext_cmds=.dll
   17196       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17197 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17198 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17199 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17200 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17201 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17202 	emximp -o $lib $output_objdir/$libname.def'
   17203       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17204 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17205 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17206 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17207 	prefix_cmds="$SED"~
   17208 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17209 	  prefix_cmds="$prefix_cmds -e 1d";
   17210 	fi~
   17211 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17212 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17213 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17214 	emximp -o $lib $output_objdir/$libname.def'
   17215       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17216       enable_shared_with_static_runtimes=yes
   17217       file_list_spec='@'
   17218       ;;
   17219 
   17220     osf3*)
   17221       if test yes = "$GCC"; then
   17222 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17223 	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'
   17224       else
   17225 	allow_undefined_flag=' -expect_unresolved \*'
   17226 	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'
   17227       fi
   17228       archive_cmds_need_lc='no'
   17229       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17230       hardcode_libdir_separator=:
   17231       ;;
   17232 
   17233     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17234       if test yes = "$GCC"; then
   17235 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17236 	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'
   17237 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17238       else
   17239 	allow_undefined_flag=' -expect_unresolved \*'
   17240 	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'
   17241 	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~
   17242           $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'
   17243 
   17244 	# Both c and cxx compiler support -rpath directly
   17245 	hardcode_libdir_flag_spec='-rpath $libdir'
   17246       fi
   17247       archive_cmds_need_lc='no'
   17248       hardcode_libdir_separator=:
   17249       ;;
   17250 
   17251     solaris*)
   17252       no_undefined_flag=' -z defs'
   17253       if test yes = "$GCC"; then
   17254 	wlarc='$wl'
   17255 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17256 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17257           $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'
   17258       else
   17259 	case `$CC -V 2>&1` in
   17260 	*"Compilers 5.0"*)
   17261 	  wlarc=''
   17262 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17263 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17264             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17265 	  ;;
   17266 	*)
   17267 	  wlarc='$wl'
   17268 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17269 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17270             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17271 	  ;;
   17272 	esac
   17273       fi
   17274       hardcode_libdir_flag_spec='-R$libdir'
   17275       hardcode_shlibpath_var=no
   17276       case $host_os in
   17277       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17278       *)
   17279 	# The compiler driver will combine and reorder linker options,
   17280 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17281 	# but is careful enough not to reorder.
   17282 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17283 	if test yes = "$GCC"; then
   17284 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17285 	else
   17286 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17287 	fi
   17288 	;;
   17289       esac
   17290       link_all_deplibs=yes
   17291       ;;
   17292 
   17293     sunos4*)
   17294       if test sequent = "$host_vendor"; then
   17295 	# Use $CC to link under sequent, because it throws in some extra .o
   17296 	# files that make .init and .fini sections work.
   17297 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17298       else
   17299 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17300       fi
   17301       hardcode_libdir_flag_spec='-L$libdir'
   17302       hardcode_direct=yes
   17303       hardcode_minus_L=yes
   17304       hardcode_shlibpath_var=no
   17305       ;;
   17306 
   17307     sysv4)
   17308       case $host_vendor in
   17309 	sni)
   17310 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17311 	  hardcode_direct=yes # is this really true???
   17312 	;;
   17313 	siemens)
   17314 	  ## LD is ld it makes a PLAMLIB
   17315 	  ## CC just makes a GrossModule.
   17316 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17317 	  reload_cmds='$CC -r -o $output$reload_objs'
   17318 	  hardcode_direct=no
   17319         ;;
   17320 	motorola)
   17321 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17322 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17323 	;;
   17324       esac
   17325       runpath_var='LD_RUN_PATH'
   17326       hardcode_shlibpath_var=no
   17327       ;;
   17328 
   17329     sysv4.3*)
   17330       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17331       hardcode_shlibpath_var=no
   17332       export_dynamic_flag_spec='-Bexport'
   17333       ;;
   17334 
   17335     sysv4*MP*)
   17336       if test -d /usr/nec; then
   17337 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17338 	hardcode_shlibpath_var=no
   17339 	runpath_var=LD_RUN_PATH
   17340 	hardcode_runpath_var=yes
   17341 	ld_shlibs=yes
   17342       fi
   17343       ;;
   17344 
   17345     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17346       no_undefined_flag='$wl-z,text'
   17347       archive_cmds_need_lc=no
   17348       hardcode_shlibpath_var=no
   17349       runpath_var='LD_RUN_PATH'
   17350 
   17351       if test yes = "$GCC"; then
   17352 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17353 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17354       else
   17355 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17356 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17357       fi
   17358       ;;
   17359 
   17360     sysv5* | sco3.2v5* | sco5v6*)
   17361       # Note: We CANNOT use -z defs as we might desire, because we do not
   17362       # link with -lc, and that would cause any symbols used from libc to
   17363       # always be unresolved, which means just about no library would
   17364       # ever link correctly.  If we're not using GNU ld we use -z text
   17365       # though, which does catch some bad symbols but isn't as heavy-handed
   17366       # as -z defs.
   17367       no_undefined_flag='$wl-z,text'
   17368       allow_undefined_flag='$wl-z,nodefs'
   17369       archive_cmds_need_lc=no
   17370       hardcode_shlibpath_var=no
   17371       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17372       hardcode_libdir_separator=':'
   17373       link_all_deplibs=yes
   17374       export_dynamic_flag_spec='$wl-Bexport'
   17375       runpath_var='LD_RUN_PATH'
   17376 
   17377       if test yes = "$GCC"; then
   17378 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17379 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17380       else
   17381 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17382 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17383       fi
   17384       ;;
   17385 
   17386     uts4*)
   17387       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17388       hardcode_libdir_flag_spec='-L$libdir'
   17389       hardcode_shlibpath_var=no
   17390       ;;
   17391 
   17392     *)
   17393       ld_shlibs=no
   17394       ;;
   17395     esac
   17396 
   17397     if test sni = "$host_vendor"; then
   17398       case $host in
   17399       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17400 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17401 	;;
   17402       esac
   17403     fi
   17404   fi
   17405 
   17406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17407 printf "%s\n" "$ld_shlibs" >&6; }
   17408 test no = "$ld_shlibs" && can_build_shared=no
   17409 
   17410 with_gnu_ld=$with_gnu_ld
   17411 
   17412 
   17413 
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 #
   17427 # Do we need to explicitly link libc?
   17428 #
   17429 case "x$archive_cmds_need_lc" in
   17430 x|xyes)
   17431   # Assume -lc should be added
   17432   archive_cmds_need_lc=yes
   17433 
   17434   if test yes,yes = "$GCC,$enable_shared"; then
   17435     case $archive_cmds in
   17436     *'~'*)
   17437       # FIXME: we may have to deal with multi-command sequences.
   17438       ;;
   17439     '$CC '*)
   17440       # Test whether the compiler implicitly links with -lc since on some
   17441       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17442       # to ld, don't add -lc before -lgcc.
   17443       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17444 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17445 if test ${lt_cv_archive_cmds_need_lc+y}
   17446 then :
   17447   printf %s "(cached) " >&6
   17448 else $as_nop
   17449   $RM conftest*
   17450 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17451 
   17452 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17453   (eval $ac_compile) 2>&5
   17454   ac_status=$?
   17455   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17456   test $ac_status = 0; } 2>conftest.err; then
   17457 	  soname=conftest
   17458 	  lib=conftest
   17459 	  libobjs=conftest.$ac_objext
   17460 	  deplibs=
   17461 	  wl=$lt_prog_compiler_wl
   17462 	  pic_flag=$lt_prog_compiler_pic
   17463 	  compiler_flags=-v
   17464 	  linker_flags=-v
   17465 	  verstring=
   17466 	  output_objdir=.
   17467 	  libname=conftest
   17468 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17469 	  allow_undefined_flag=
   17470 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17471   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17472   ac_status=$?
   17473   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17474   test $ac_status = 0; }
   17475 	  then
   17476 	    lt_cv_archive_cmds_need_lc=no
   17477 	  else
   17478 	    lt_cv_archive_cmds_need_lc=yes
   17479 	  fi
   17480 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17481 	else
   17482 	  cat conftest.err 1>&5
   17483 	fi
   17484 	$RM conftest*
   17485 
   17486 fi
   17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17488 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17489       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17490       ;;
   17491     esac
   17492   fi
   17493   ;;
   17494 esac
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17648 printf %s "checking dynamic linker characteristics... " >&6; }
   17649 
   17650 if test yes = "$GCC"; then
   17651   case $host_os in
   17652     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17653     *) lt_awk_arg='/^libraries:/' ;;
   17654   esac
   17655   case $host_os in
   17656     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17657     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17658   esac
   17659   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17660   case $lt_search_path_spec in
   17661   *\;*)
   17662     # if the path contains ";" then we assume it to be the separator
   17663     # otherwise default to the standard path separator (i.e. ":") - it is
   17664     # assumed that no part of a normal pathname contains ";" but that should
   17665     # okay in the real world where ";" in dirpaths is itself problematic.
   17666     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17667     ;;
   17668   *)
   17669     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17670     ;;
   17671   esac
   17672   # Ok, now we have the path, separated by spaces, we can step through it
   17673   # and add multilib dir if necessary...
   17674   lt_tmp_lt_search_path_spec=
   17675   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17676   # ...but if some path component already ends with the multilib dir we assume
   17677   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17678   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17679   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17680     lt_multi_os_dir=
   17681     ;;
   17682   esac
   17683   for lt_sys_path in $lt_search_path_spec; do
   17684     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17685       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17686     elif test -n "$lt_multi_os_dir"; then
   17687       test -d "$lt_sys_path" && \
   17688 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17689     fi
   17690   done
   17691   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17692 BEGIN {RS = " "; FS = "/|\n";} {
   17693   lt_foo = "";
   17694   lt_count = 0;
   17695   for (lt_i = NF; lt_i > 0; lt_i--) {
   17696     if ($lt_i != "" && $lt_i != ".") {
   17697       if ($lt_i == "..") {
   17698         lt_count++;
   17699       } else {
   17700         if (lt_count == 0) {
   17701           lt_foo = "/" $lt_i lt_foo;
   17702         } else {
   17703           lt_count--;
   17704         }
   17705       }
   17706     }
   17707   }
   17708   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17709   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17710 }'`
   17711   # AWK program above erroneously prepends '/' to C:/dos/paths
   17712   # for these hosts.
   17713   case $host_os in
   17714     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17715       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17716   esac
   17717   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17718 else
   17719   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17720 fi
   17721 library_names_spec=
   17722 libname_spec='lib$name'
   17723 soname_spec=
   17724 shrext_cmds=.so
   17725 postinstall_cmds=
   17726 postuninstall_cmds=
   17727 finish_cmds=
   17728 finish_eval=
   17729 shlibpath_var=
   17730 shlibpath_overrides_runpath=unknown
   17731 version_type=none
   17732 dynamic_linker="$host_os ld.so"
   17733 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17734 need_lib_prefix=unknown
   17735 hardcode_into_libs=no
   17736 
   17737 # when you set need_version to no, make sure it does not cause -set_version
   17738 # flags to be left without arguments
   17739 need_version=unknown
   17740 
   17741 
   17742 
   17743 case $host_os in
   17744 aix3*)
   17745   version_type=linux # correct to gnu/linux during the next big refactor
   17746   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17747   shlibpath_var=LIBPATH
   17748 
   17749   # AIX 3 has no versioning support, so we append a major version to the name.
   17750   soname_spec='$libname$release$shared_ext$major'
   17751   ;;
   17752 
   17753 aix[4-9]*)
   17754   version_type=linux # correct to gnu/linux during the next big refactor
   17755   need_lib_prefix=no
   17756   need_version=no
   17757   hardcode_into_libs=yes
   17758   if test ia64 = "$host_cpu"; then
   17759     # AIX 5 supports IA64
   17760     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17761     shlibpath_var=LD_LIBRARY_PATH
   17762   else
   17763     # With GCC up to 2.95.x, collect2 would create an import file
   17764     # for dependence libraries.  The import file would start with
   17765     # the line '#! .'.  This would cause the generated library to
   17766     # depend on '.', always an invalid library.  This was fixed in
   17767     # development snapshots of GCC prior to 3.0.
   17768     case $host_os in
   17769       aix4 | aix4.[01] | aix4.[01].*)
   17770       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17771 	   echo ' yes '
   17772 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17773 	:
   17774       else
   17775 	can_build_shared=no
   17776       fi
   17777       ;;
   17778     esac
   17779     # Using Import Files as archive members, it is possible to support
   17780     # filename-based versioning of shared library archives on AIX. While
   17781     # this would work for both with and without runtime linking, it will
   17782     # prevent static linking of such archives. So we do filename-based
   17783     # shared library versioning with .so extension only, which is used
   17784     # when both runtime linking and shared linking is enabled.
   17785     # Unfortunately, runtime linking may impact performance, so we do
   17786     # not want this to be the default eventually. Also, we use the
   17787     # versioned .so libs for executables only if there is the -brtl
   17788     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17789     # To allow for filename-based versioning support, we need to create
   17790     # libNAME.so.V as an archive file, containing:
   17791     # *) an Import File, referring to the versioned filename of the
   17792     #    archive as well as the shared archive member, telling the
   17793     #    bitwidth (32 or 64) of that shared object, and providing the
   17794     #    list of exported symbols of that shared object, eventually
   17795     #    decorated with the 'weak' keyword
   17796     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17797     #    it being seen by the linker.
   17798     # At run time we better use the real file rather than another symlink,
   17799     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17800 
   17801     case $with_aix_soname,$aix_use_runtimelinking in
   17802     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17803     # soname into executable. Probably we can add versioning support to
   17804     # collect2, so additional links can be useful in future.
   17805     aix,yes) # traditional libtool
   17806       dynamic_linker='AIX unversionable lib.so'
   17807       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17808       # instead of lib<name>.a to let people know that these are not
   17809       # typical AIX shared libraries.
   17810       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17811       ;;
   17812     aix,no) # traditional AIX only
   17813       dynamic_linker='AIX lib.a(lib.so.V)'
   17814       # We preserve .a as extension for shared libraries through AIX4.2
   17815       # and later when we are not doing run time linking.
   17816       library_names_spec='$libname$release.a $libname.a'
   17817       soname_spec='$libname$release$shared_ext$major'
   17818       ;;
   17819     svr4,*) # full svr4 only
   17820       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17821       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17822       # We do not specify a path in Import Files, so LIBPATH fires.
   17823       shlibpath_overrides_runpath=yes
   17824       ;;
   17825     *,yes) # both, prefer svr4
   17826       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17827       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17828       # unpreferred sharedlib libNAME.a needs extra handling
   17829       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"'
   17830       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"'
   17831       # We do not specify a path in Import Files, so LIBPATH fires.
   17832       shlibpath_overrides_runpath=yes
   17833       ;;
   17834     *,no) # both, prefer aix
   17835       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17836       library_names_spec='$libname$release.a $libname.a'
   17837       soname_spec='$libname$release$shared_ext$major'
   17838       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17839       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)'
   17840       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"'
   17841       ;;
   17842     esac
   17843     shlibpath_var=LIBPATH
   17844   fi
   17845   ;;
   17846 
   17847 amigaos*)
   17848   case $host_cpu in
   17849   powerpc)
   17850     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17851     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17852     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17853     ;;
   17854   m68k)
   17855     library_names_spec='$libname.ixlibrary $libname.a'
   17856     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17857     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'
   17858     ;;
   17859   esac
   17860   ;;
   17861 
   17862 beos*)
   17863   library_names_spec='$libname$shared_ext'
   17864   dynamic_linker="$host_os ld.so"
   17865   shlibpath_var=LIBRARY_PATH
   17866   ;;
   17867 
   17868 bsdi[45]*)
   17869   version_type=linux # correct to gnu/linux during the next big refactor
   17870   need_version=no
   17871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17872   soname_spec='$libname$release$shared_ext$major'
   17873   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17874   shlibpath_var=LD_LIBRARY_PATH
   17875   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17876   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17877   # the default ld.so.conf also contains /usr/contrib/lib and
   17878   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17879   # libtool to hard-code these into programs
   17880   ;;
   17881 
   17882 cygwin* | mingw* | pw32* | cegcc*)
   17883   version_type=windows
   17884   shrext_cmds=.dll
   17885   need_version=no
   17886   need_lib_prefix=no
   17887 
   17888   case $GCC,$cc_basename in
   17889   yes,*)
   17890     # gcc
   17891     library_names_spec='$libname.dll.a'
   17892     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17893     postinstall_cmds='base_file=`basename \$file`~
   17894       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17895       dldir=$destdir/`dirname \$dlpath`~
   17896       test -d \$dldir || mkdir -p \$dldir~
   17897       $install_prog $dir/$dlname \$dldir/$dlname~
   17898       chmod a+x \$dldir/$dlname~
   17899       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17900         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17901       fi'
   17902     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17903       dlpath=$dir/\$dldll~
   17904        $RM \$dlpath'
   17905     shlibpath_overrides_runpath=yes
   17906 
   17907     case $host_os in
   17908     cygwin*)
   17909       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17910       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17911 
   17912       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17913       ;;
   17914     mingw* | cegcc*)
   17915       # MinGW DLLs use traditional 'lib' prefix
   17916       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17917       ;;
   17918     pw32*)
   17919       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17920       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17921       ;;
   17922     esac
   17923     dynamic_linker='Win32 ld.exe'
   17924     ;;
   17925 
   17926   *,cl* | *,icl*)
   17927     # Native MSVC or ICC
   17928     libname_spec='$name'
   17929     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17930     library_names_spec='$libname.dll.lib'
   17931 
   17932     case $build_os in
   17933     mingw*)
   17934       sys_lib_search_path_spec=
   17935       lt_save_ifs=$IFS
   17936       IFS=';'
   17937       for lt_path in $LIB
   17938       do
   17939         IFS=$lt_save_ifs
   17940         # Let DOS variable expansion print the short 8.3 style file name.
   17941         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17942         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17943       done
   17944       IFS=$lt_save_ifs
   17945       # Convert to MSYS style.
   17946       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17947       ;;
   17948     cygwin*)
   17949       # Convert to unix form, then to dos form, then back to unix form
   17950       # but this time dos style (no spaces!) so that the unix form looks
   17951       # like /cygdrive/c/PROGRA~1:/cygdr...
   17952       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17953       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17954       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17955       ;;
   17956     *)
   17957       sys_lib_search_path_spec=$LIB
   17958       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17959         # It is most probably a Windows format PATH.
   17960         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17961       else
   17962         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17963       fi
   17964       # FIXME: find the short name or the path components, as spaces are
   17965       # common. (e.g. "Program Files" -> "PROGRA~1")
   17966       ;;
   17967     esac
   17968 
   17969     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17970     postinstall_cmds='base_file=`basename \$file`~
   17971       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17972       dldir=$destdir/`dirname \$dlpath`~
   17973       test -d \$dldir || mkdir -p \$dldir~
   17974       $install_prog $dir/$dlname \$dldir/$dlname'
   17975     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17976       dlpath=$dir/\$dldll~
   17977        $RM \$dlpath'
   17978     shlibpath_overrides_runpath=yes
   17979     dynamic_linker='Win32 link.exe'
   17980     ;;
   17981 
   17982   *)
   17983     # Assume MSVC and ICC wrapper
   17984     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17985     dynamic_linker='Win32 ld.exe'
   17986     ;;
   17987   esac
   17988   # FIXME: first we should search . and the directory the executable is in
   17989   shlibpath_var=PATH
   17990   ;;
   17991 
   17992 darwin* | rhapsody*)
   17993   dynamic_linker="$host_os dyld"
   17994   version_type=darwin
   17995   need_lib_prefix=no
   17996   need_version=no
   17997   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17998   soname_spec='$libname$release$major$shared_ext'
   17999   shlibpath_overrides_runpath=yes
   18000   shlibpath_var=DYLD_LIBRARY_PATH
   18001   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18002 
   18003   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18004   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18005   ;;
   18006 
   18007 dgux*)
   18008   version_type=linux # correct to gnu/linux during the next big refactor
   18009   need_lib_prefix=no
   18010   need_version=no
   18011   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18012   soname_spec='$libname$release$shared_ext$major'
   18013   shlibpath_var=LD_LIBRARY_PATH
   18014   ;;
   18015 
   18016 freebsd* | dragonfly* | midnightbsd*)
   18017   # DragonFly does not have aout.  When/if they implement a new
   18018   # versioning mechanism, adjust this.
   18019   if test -x /usr/bin/objformat; then
   18020     objformat=`/usr/bin/objformat`
   18021   else
   18022     case $host_os in
   18023     freebsd[23].*) objformat=aout ;;
   18024     *) objformat=elf ;;
   18025     esac
   18026   fi
   18027   version_type=freebsd-$objformat
   18028   case $version_type in
   18029     freebsd-elf*)
   18030       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18031       soname_spec='$libname$release$shared_ext$major'
   18032       need_version=no
   18033       need_lib_prefix=no
   18034       ;;
   18035     freebsd-*)
   18036       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18037       need_version=yes
   18038       ;;
   18039   esac
   18040   shlibpath_var=LD_LIBRARY_PATH
   18041   case $host_os in
   18042   freebsd2.*)
   18043     shlibpath_overrides_runpath=yes
   18044     ;;
   18045   freebsd3.[01]* | freebsdelf3.[01]*)
   18046     shlibpath_overrides_runpath=yes
   18047     hardcode_into_libs=yes
   18048     ;;
   18049   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18050   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18051     shlibpath_overrides_runpath=no
   18052     hardcode_into_libs=yes
   18053     ;;
   18054   *) # from 4.6 on, and DragonFly
   18055     shlibpath_overrides_runpath=yes
   18056     hardcode_into_libs=yes
   18057     ;;
   18058   esac
   18059   ;;
   18060 
   18061 haiku*)
   18062   version_type=linux # correct to gnu/linux during the next big refactor
   18063   need_lib_prefix=no
   18064   need_version=no
   18065   dynamic_linker="$host_os runtime_loader"
   18066   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18067   soname_spec='$libname$release$shared_ext$major'
   18068   shlibpath_var=LIBRARY_PATH
   18069   shlibpath_overrides_runpath=no
   18070   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18071   hardcode_into_libs=yes
   18072   ;;
   18073 
   18074 hpux9* | hpux10* | hpux11*)
   18075   # Give a soname corresponding to the major version so that dld.sl refuses to
   18076   # link against other versions.
   18077   version_type=sunos
   18078   need_lib_prefix=no
   18079   need_version=no
   18080   case $host_cpu in
   18081   ia64*)
   18082     shrext_cmds='.so'
   18083     hardcode_into_libs=yes
   18084     dynamic_linker="$host_os dld.so"
   18085     shlibpath_var=LD_LIBRARY_PATH
   18086     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18087     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18088     soname_spec='$libname$release$shared_ext$major'
   18089     if test 32 = "$HPUX_IA64_MODE"; then
   18090       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18091       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18092     else
   18093       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18094       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18095     fi
   18096     ;;
   18097   hppa*64*)
   18098     shrext_cmds='.sl'
   18099     hardcode_into_libs=yes
   18100     dynamic_linker="$host_os dld.sl"
   18101     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18102     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18103     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18104     soname_spec='$libname$release$shared_ext$major'
   18105     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18106     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18107     ;;
   18108   *)
   18109     shrext_cmds='.sl'
   18110     dynamic_linker="$host_os dld.sl"
   18111     shlibpath_var=SHLIB_PATH
   18112     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18113     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18114     soname_spec='$libname$release$shared_ext$major'
   18115     ;;
   18116   esac
   18117   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18118   postinstall_cmds='chmod 555 $lib'
   18119   # or fails outright, so override atomically:
   18120   install_override_mode=555
   18121   ;;
   18122 
   18123 interix[3-9]*)
   18124   version_type=linux # correct to gnu/linux during the next big refactor
   18125   need_lib_prefix=no
   18126   need_version=no
   18127   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18128   soname_spec='$libname$release$shared_ext$major'
   18129   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18130   shlibpath_var=LD_LIBRARY_PATH
   18131   shlibpath_overrides_runpath=no
   18132   hardcode_into_libs=yes
   18133   ;;
   18134 
   18135 irix5* | irix6* | nonstopux*)
   18136   case $host_os in
   18137     nonstopux*) version_type=nonstopux ;;
   18138     *)
   18139 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18140 		version_type=linux # correct to gnu/linux during the next big refactor
   18141 	else
   18142 		version_type=irix
   18143 	fi ;;
   18144   esac
   18145   need_lib_prefix=no
   18146   need_version=no
   18147   soname_spec='$libname$release$shared_ext$major'
   18148   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18149   case $host_os in
   18150   irix5* | nonstopux*)
   18151     libsuff= shlibsuff=
   18152     ;;
   18153   *)
   18154     case $LD in # libtool.m4 will add one of these switches to LD
   18155     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18156       libsuff= shlibsuff= libmagic=32-bit;;
   18157     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18158       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18159     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18160       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18161     *) libsuff= shlibsuff= libmagic=never-match;;
   18162     esac
   18163     ;;
   18164   esac
   18165   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18166   shlibpath_overrides_runpath=no
   18167   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18168   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18169   hardcode_into_libs=yes
   18170   ;;
   18171 
   18172 # No shared lib support for Linux oldld, aout, or coff.
   18173 linux*oldld* | linux*aout* | linux*coff*)
   18174   dynamic_linker=no
   18175   ;;
   18176 
   18177 linux*android*)
   18178   version_type=none # Android doesn't support versioned libraries.
   18179   need_lib_prefix=no
   18180   need_version=no
   18181   library_names_spec='$libname$release$shared_ext'
   18182   soname_spec='$libname$release$shared_ext'
   18183   finish_cmds=
   18184   shlibpath_var=LD_LIBRARY_PATH
   18185   shlibpath_overrides_runpath=yes
   18186 
   18187   # This implies no fast_install, which is unacceptable.
   18188   # Some rework will be needed to allow for fast_install
   18189   # before this can be enabled.
   18190   hardcode_into_libs=yes
   18191 
   18192   dynamic_linker='Android linker'
   18193   # Don't embed -rpath directories since the linker doesn't support them.
   18194   hardcode_libdir_flag_spec='-L$libdir'
   18195   ;;
   18196 
   18197 # This must be glibc/ELF.
   18198 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18199   version_type=linux # correct to gnu/linux during the next big refactor
   18200   need_lib_prefix=no
   18201   need_version=no
   18202   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18203   soname_spec='$libname$release$shared_ext$major'
   18204   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18205   shlibpath_var=LD_LIBRARY_PATH
   18206   shlibpath_overrides_runpath=no
   18207 
   18208   # Some binutils ld are patched to set DT_RUNPATH
   18209   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18210 then :
   18211   printf %s "(cached) " >&6
   18212 else $as_nop
   18213   lt_cv_shlibpath_overrides_runpath=no
   18214     save_LDFLAGS=$LDFLAGS
   18215     save_libdir=$libdir
   18216     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18217 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18218     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18219 /* end confdefs.h.  */
   18220 
   18221 int
   18222 main (void)
   18223 {
   18224 
   18225   ;
   18226   return 0;
   18227 }
   18228 _ACEOF
   18229 if ac_fn_c_try_link "$LINENO"
   18230 then :
   18231   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18232 then :
   18233   lt_cv_shlibpath_overrides_runpath=yes
   18234 fi
   18235 fi
   18236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18237     conftest$ac_exeext conftest.$ac_ext
   18238     LDFLAGS=$save_LDFLAGS
   18239     libdir=$save_libdir
   18240 
   18241 fi
   18242 
   18243   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18244 
   18245   # This implies no fast_install, which is unacceptable.
   18246   # Some rework will be needed to allow for fast_install
   18247   # before this can be enabled.
   18248   hardcode_into_libs=yes
   18249 
   18250   # Ideally, we could use ldconfig to report *all* directores which are
   18251   # searched for libraries, however this is still not possible.  Aside from not
   18252   # being certain /sbin/ldconfig is available, command
   18253   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18254   # even though it is searched at run-time.  Try to do the best guess by
   18255   # appending ld.so.conf contents (and includes) to the search path.
   18256   if test -f /etc/ld.so.conf; then
   18257     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' ' '`
   18258     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18259   fi
   18260 
   18261   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18262   # powerpc, because MkLinux only supported shared libraries with the
   18263   # GNU dynamic linker.  Since this was broken with cross compilers,
   18264   # most powerpc-linux boxes support dynamic linking these days and
   18265   # people can always --disable-shared, the test was removed, and we
   18266   # assume the GNU/Linux dynamic linker is in use.
   18267   dynamic_linker='GNU/Linux ld.so'
   18268   ;;
   18269 
   18270 netbsd*)
   18271   version_type=sunos
   18272   need_lib_prefix=no
   18273   need_version=no
   18274   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18275     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18276     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18277     dynamic_linker='NetBSD (a.out) ld.so'
   18278   else
   18279     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18280     soname_spec='$libname$release$shared_ext$major'
   18281     dynamic_linker='NetBSD ld.elf_so'
   18282   fi
   18283   shlibpath_var=LD_LIBRARY_PATH
   18284   shlibpath_overrides_runpath=yes
   18285   hardcode_into_libs=yes
   18286   ;;
   18287 
   18288 newsos6)
   18289   version_type=linux # correct to gnu/linux during the next big refactor
   18290   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18291   shlibpath_var=LD_LIBRARY_PATH
   18292   shlibpath_overrides_runpath=yes
   18293   ;;
   18294 
   18295 *nto* | *qnx*)
   18296   version_type=qnx
   18297   need_lib_prefix=no
   18298   need_version=no
   18299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18300   soname_spec='$libname$release$shared_ext$major'
   18301   shlibpath_var=LD_LIBRARY_PATH
   18302   shlibpath_overrides_runpath=no
   18303   hardcode_into_libs=yes
   18304   dynamic_linker='ldqnx.so'
   18305   ;;
   18306 
   18307 openbsd* | bitrig*)
   18308   version_type=sunos
   18309   sys_lib_dlsearch_path_spec=/usr/lib
   18310   need_lib_prefix=no
   18311   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18312     need_version=no
   18313   else
   18314     need_version=yes
   18315   fi
   18316   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18317   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18318   shlibpath_var=LD_LIBRARY_PATH
   18319   shlibpath_overrides_runpath=yes
   18320   ;;
   18321 
   18322 os2*)
   18323   libname_spec='$name'
   18324   version_type=windows
   18325   shrext_cmds=.dll
   18326   need_version=no
   18327   need_lib_prefix=no
   18328   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18329   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18330     v=$($ECHO $release$versuffix | tr -d .-);
   18331     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18332     $ECHO $n$v`$shared_ext'
   18333   library_names_spec='${libname}_dll.$libext'
   18334   dynamic_linker='OS/2 ld.exe'
   18335   shlibpath_var=BEGINLIBPATH
   18336   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18337   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18338   postinstall_cmds='base_file=`basename \$file`~
   18339     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18340     dldir=$destdir/`dirname \$dlpath`~
   18341     test -d \$dldir || mkdir -p \$dldir~
   18342     $install_prog $dir/$dlname \$dldir/$dlname~
   18343     chmod a+x \$dldir/$dlname~
   18344     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18345       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18346     fi'
   18347   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18348     dlpath=$dir/\$dldll~
   18349     $RM \$dlpath'
   18350   ;;
   18351 
   18352 osf3* | osf4* | osf5*)
   18353   version_type=osf
   18354   need_lib_prefix=no
   18355   need_version=no
   18356   soname_spec='$libname$release$shared_ext$major'
   18357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18358   shlibpath_var=LD_LIBRARY_PATH
   18359   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18360   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18361   ;;
   18362 
   18363 rdos*)
   18364   dynamic_linker=no
   18365   ;;
   18366 
   18367 solaris*)
   18368   version_type=linux # correct to gnu/linux during the next big refactor
   18369   need_lib_prefix=no
   18370   need_version=no
   18371   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18372   soname_spec='$libname$release$shared_ext$major'
   18373   shlibpath_var=LD_LIBRARY_PATH
   18374   shlibpath_overrides_runpath=yes
   18375   hardcode_into_libs=yes
   18376   # ldd complains unless libraries are executable
   18377   postinstall_cmds='chmod +x $lib'
   18378   ;;
   18379 
   18380 sunos4*)
   18381   version_type=sunos
   18382   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18383   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18384   shlibpath_var=LD_LIBRARY_PATH
   18385   shlibpath_overrides_runpath=yes
   18386   if test yes = "$with_gnu_ld"; then
   18387     need_lib_prefix=no
   18388   fi
   18389   need_version=yes
   18390   ;;
   18391 
   18392 sysv4 | sysv4.3*)
   18393   version_type=linux # correct to gnu/linux during the next big refactor
   18394   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18395   soname_spec='$libname$release$shared_ext$major'
   18396   shlibpath_var=LD_LIBRARY_PATH
   18397   case $host_vendor in
   18398     sni)
   18399       shlibpath_overrides_runpath=no
   18400       need_lib_prefix=no
   18401       runpath_var=LD_RUN_PATH
   18402       ;;
   18403     siemens)
   18404       need_lib_prefix=no
   18405       ;;
   18406     motorola)
   18407       need_lib_prefix=no
   18408       need_version=no
   18409       shlibpath_overrides_runpath=no
   18410       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18411       ;;
   18412   esac
   18413   ;;
   18414 
   18415 sysv4*MP*)
   18416   if test -d /usr/nec; then
   18417     version_type=linux # correct to gnu/linux during the next big refactor
   18418     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18419     soname_spec='$libname$shared_ext.$major'
   18420     shlibpath_var=LD_LIBRARY_PATH
   18421   fi
   18422   ;;
   18423 
   18424 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18425   version_type=sco
   18426   need_lib_prefix=no
   18427   need_version=no
   18428   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18429   soname_spec='$libname$release$shared_ext$major'
   18430   shlibpath_var=LD_LIBRARY_PATH
   18431   shlibpath_overrides_runpath=yes
   18432   hardcode_into_libs=yes
   18433   if test yes = "$with_gnu_ld"; then
   18434     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18435   else
   18436     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18437     case $host_os in
   18438       sco3.2v5*)
   18439         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18440 	;;
   18441     esac
   18442   fi
   18443   sys_lib_dlsearch_path_spec='/usr/lib'
   18444   ;;
   18445 
   18446 tpf*)
   18447   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18448   version_type=linux # correct to gnu/linux during the next big refactor
   18449   need_lib_prefix=no
   18450   need_version=no
   18451   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18452   shlibpath_var=LD_LIBRARY_PATH
   18453   shlibpath_overrides_runpath=no
   18454   hardcode_into_libs=yes
   18455   ;;
   18456 
   18457 uts4*)
   18458   version_type=linux # correct to gnu/linux during the next big refactor
   18459   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18460   soname_spec='$libname$release$shared_ext$major'
   18461   shlibpath_var=LD_LIBRARY_PATH
   18462   ;;
   18463 
   18464 *)
   18465   dynamic_linker=no
   18466   ;;
   18467 esac
   18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18469 printf "%s\n" "$dynamic_linker" >&6; }
   18470 test no = "$dynamic_linker" && can_build_shared=no
   18471 
   18472 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18473 if test yes = "$GCC"; then
   18474   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18475 fi
   18476 
   18477 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18478   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18479 fi
   18480 
   18481 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18482   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18483 fi
   18484 
   18485 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18486 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18487 
   18488 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18489 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18490 
   18491 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18492 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 
   18524 
   18525 
   18526 
   18527 
   18528 
   18529 
   18530 
   18531 
   18532 
   18533 
   18534 
   18535 
   18536 
   18537 
   18538 
   18539 
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18591 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18592 hardcode_action=
   18593 if test -n "$hardcode_libdir_flag_spec" ||
   18594    test -n "$runpath_var" ||
   18595    test yes = "$hardcode_automatic"; then
   18596 
   18597   # We can hardcode non-existent directories.
   18598   if test no != "$hardcode_direct" &&
   18599      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18600      # have to relink, otherwise we might link with an installed library
   18601      # when we should be linking with a yet-to-be-installed one
   18602      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18603      test no != "$hardcode_minus_L"; then
   18604     # Linking always hardcodes the temporary library directory.
   18605     hardcode_action=relink
   18606   else
   18607     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18608     hardcode_action=immediate
   18609   fi
   18610 else
   18611   # We cannot hardcode anything, or else we can only hardcode existing
   18612   # directories.
   18613   hardcode_action=unsupported
   18614 fi
   18615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18616 printf "%s\n" "$hardcode_action" >&6; }
   18617 
   18618 if test relink = "$hardcode_action" ||
   18619    test yes = "$inherit_rpath"; then
   18620   # Fast installation is not supported
   18621   enable_fast_install=no
   18622 elif test yes = "$shlibpath_overrides_runpath" ||
   18623      test no = "$enable_shared"; then
   18624   # Fast installation is not necessary
   18625   enable_fast_install=needless
   18626 fi
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633   if test yes != "$enable_dlopen"; then
   18634   enable_dlopen=unknown
   18635   enable_dlopen_self=unknown
   18636   enable_dlopen_self_static=unknown
   18637 else
   18638   lt_cv_dlopen=no
   18639   lt_cv_dlopen_libs=
   18640 
   18641   case $host_os in
   18642   beos*)
   18643     lt_cv_dlopen=load_add_on
   18644     lt_cv_dlopen_libs=
   18645     lt_cv_dlopen_self=yes
   18646     ;;
   18647 
   18648   mingw* | pw32* | cegcc*)
   18649     lt_cv_dlopen=LoadLibrary
   18650     lt_cv_dlopen_libs=
   18651     ;;
   18652 
   18653   cygwin*)
   18654     lt_cv_dlopen=dlopen
   18655     lt_cv_dlopen_libs=
   18656     ;;
   18657 
   18658   darwin*)
   18659     # if libdl is installed we need to link against it
   18660     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18661 printf %s "checking for dlopen in -ldl... " >&6; }
   18662 if test ${ac_cv_lib_dl_dlopen+y}
   18663 then :
   18664   printf %s "(cached) " >&6
   18665 else $as_nop
   18666   ac_check_lib_save_LIBS=$LIBS
   18667 LIBS="-ldl  $LIBS"
   18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18669 /* end confdefs.h.  */
   18670 
   18671 /* Override any GCC internal prototype to avoid an error.
   18672    Use char because int might match the return type of a GCC
   18673    builtin and then its argument prototype would still apply.  */
   18674 char dlopen ();
   18675 int
   18676 main (void)
   18677 {
   18678 return dlopen ();
   18679   ;
   18680   return 0;
   18681 }
   18682 _ACEOF
   18683 if ac_fn_c_try_link "$LINENO"
   18684 then :
   18685   ac_cv_lib_dl_dlopen=yes
   18686 else $as_nop
   18687   ac_cv_lib_dl_dlopen=no
   18688 fi
   18689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18690     conftest$ac_exeext conftest.$ac_ext
   18691 LIBS=$ac_check_lib_save_LIBS
   18692 fi
   18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18694 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18695 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18696 then :
   18697   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18698 else $as_nop
   18699 
   18700     lt_cv_dlopen=dyld
   18701     lt_cv_dlopen_libs=
   18702     lt_cv_dlopen_self=yes
   18703 
   18704 fi
   18705 
   18706     ;;
   18707 
   18708   tpf*)
   18709     # Don't try to run any link tests for TPF.  We know it's impossible
   18710     # because TPF is a cross-compiler, and we know how we open DSOs.
   18711     lt_cv_dlopen=dlopen
   18712     lt_cv_dlopen_libs=
   18713     lt_cv_dlopen_self=no
   18714     ;;
   18715 
   18716   *)
   18717     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18718 if test "x$ac_cv_func_shl_load" = xyes
   18719 then :
   18720   lt_cv_dlopen=shl_load
   18721 else $as_nop
   18722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18723 printf %s "checking for shl_load in -ldld... " >&6; }
   18724 if test ${ac_cv_lib_dld_shl_load+y}
   18725 then :
   18726   printf %s "(cached) " >&6
   18727 else $as_nop
   18728   ac_check_lib_save_LIBS=$LIBS
   18729 LIBS="-ldld  $LIBS"
   18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18731 /* end confdefs.h.  */
   18732 
   18733 /* Override any GCC internal prototype to avoid an error.
   18734    Use char because int might match the return type of a GCC
   18735    builtin and then its argument prototype would still apply.  */
   18736 char shl_load ();
   18737 int
   18738 main (void)
   18739 {
   18740 return shl_load ();
   18741   ;
   18742   return 0;
   18743 }
   18744 _ACEOF
   18745 if ac_fn_c_try_link "$LINENO"
   18746 then :
   18747   ac_cv_lib_dld_shl_load=yes
   18748 else $as_nop
   18749   ac_cv_lib_dld_shl_load=no
   18750 fi
   18751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18752     conftest$ac_exeext conftest.$ac_ext
   18753 LIBS=$ac_check_lib_save_LIBS
   18754 fi
   18755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18756 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   18757 if test "x$ac_cv_lib_dld_shl_load" = xyes
   18758 then :
   18759   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18760 else $as_nop
   18761   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18762 if test "x$ac_cv_func_dlopen" = xyes
   18763 then :
   18764   lt_cv_dlopen=dlopen
   18765 else $as_nop
   18766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18767 printf %s "checking for dlopen in -ldl... " >&6; }
   18768 if test ${ac_cv_lib_dl_dlopen+y}
   18769 then :
   18770   printf %s "(cached) " >&6
   18771 else $as_nop
   18772   ac_check_lib_save_LIBS=$LIBS
   18773 LIBS="-ldl  $LIBS"
   18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18775 /* end confdefs.h.  */
   18776 
   18777 /* Override any GCC internal prototype to avoid an error.
   18778    Use char because int might match the return type of a GCC
   18779    builtin and then its argument prototype would still apply.  */
   18780 char dlopen ();
   18781 int
   18782 main (void)
   18783 {
   18784 return dlopen ();
   18785   ;
   18786   return 0;
   18787 }
   18788 _ACEOF
   18789 if ac_fn_c_try_link "$LINENO"
   18790 then :
   18791   ac_cv_lib_dl_dlopen=yes
   18792 else $as_nop
   18793   ac_cv_lib_dl_dlopen=no
   18794 fi
   18795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18796     conftest$ac_exeext conftest.$ac_ext
   18797 LIBS=$ac_check_lib_save_LIBS
   18798 fi
   18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18800 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18801 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18802 then :
   18803   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18804 else $as_nop
   18805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18806 printf %s "checking for dlopen in -lsvld... " >&6; }
   18807 if test ${ac_cv_lib_svld_dlopen+y}
   18808 then :
   18809   printf %s "(cached) " >&6
   18810 else $as_nop
   18811   ac_check_lib_save_LIBS=$LIBS
   18812 LIBS="-lsvld  $LIBS"
   18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18814 /* end confdefs.h.  */
   18815 
   18816 /* Override any GCC internal prototype to avoid an error.
   18817    Use char because int might match the return type of a GCC
   18818    builtin and then its argument prototype would still apply.  */
   18819 char dlopen ();
   18820 int
   18821 main (void)
   18822 {
   18823 return dlopen ();
   18824   ;
   18825   return 0;
   18826 }
   18827 _ACEOF
   18828 if ac_fn_c_try_link "$LINENO"
   18829 then :
   18830   ac_cv_lib_svld_dlopen=yes
   18831 else $as_nop
   18832   ac_cv_lib_svld_dlopen=no
   18833 fi
   18834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18835     conftest$ac_exeext conftest.$ac_ext
   18836 LIBS=$ac_check_lib_save_LIBS
   18837 fi
   18838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18839 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   18840 if test "x$ac_cv_lib_svld_dlopen" = xyes
   18841 then :
   18842   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18843 else $as_nop
   18844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18845 printf %s "checking for dld_link in -ldld... " >&6; }
   18846 if test ${ac_cv_lib_dld_dld_link+y}
   18847 then :
   18848   printf %s "(cached) " >&6
   18849 else $as_nop
   18850   ac_check_lib_save_LIBS=$LIBS
   18851 LIBS="-ldld  $LIBS"
   18852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18853 /* end confdefs.h.  */
   18854 
   18855 /* Override any GCC internal prototype to avoid an error.
   18856    Use char because int might match the return type of a GCC
   18857    builtin and then its argument prototype would still apply.  */
   18858 char dld_link ();
   18859 int
   18860 main (void)
   18861 {
   18862 return dld_link ();
   18863   ;
   18864   return 0;
   18865 }
   18866 _ACEOF
   18867 if ac_fn_c_try_link "$LINENO"
   18868 then :
   18869   ac_cv_lib_dld_dld_link=yes
   18870 else $as_nop
   18871   ac_cv_lib_dld_dld_link=no
   18872 fi
   18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18874     conftest$ac_exeext conftest.$ac_ext
   18875 LIBS=$ac_check_lib_save_LIBS
   18876 fi
   18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18878 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   18879 if test "x$ac_cv_lib_dld_dld_link" = xyes
   18880 then :
   18881   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18882 fi
   18883 
   18884 
   18885 fi
   18886 
   18887 
   18888 fi
   18889 
   18890 
   18891 fi
   18892 
   18893 
   18894 fi
   18895 
   18896 
   18897 fi
   18898 
   18899     ;;
   18900   esac
   18901 
   18902   if test no = "$lt_cv_dlopen"; then
   18903     enable_dlopen=no
   18904   else
   18905     enable_dlopen=yes
   18906   fi
   18907 
   18908   case $lt_cv_dlopen in
   18909   dlopen)
   18910     save_CPPFLAGS=$CPPFLAGS
   18911     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18912 
   18913     save_LDFLAGS=$LDFLAGS
   18914     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18915 
   18916     save_LIBS=$LIBS
   18917     LIBS="$lt_cv_dlopen_libs $LIBS"
   18918 
   18919     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18920 printf %s "checking whether a program can dlopen itself... " >&6; }
   18921 if test ${lt_cv_dlopen_self+y}
   18922 then :
   18923   printf %s "(cached) " >&6
   18924 else $as_nop
   18925   	  if test yes = "$cross_compiling"; then :
   18926   lt_cv_dlopen_self=cross
   18927 else
   18928   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18929   lt_status=$lt_dlunknown
   18930   cat > conftest.$ac_ext <<_LT_EOF
   18931 #line $LINENO "configure"
   18932 #include "confdefs.h"
   18933 
   18934 #if HAVE_DLFCN_H
   18935 #include <dlfcn.h>
   18936 #endif
   18937 
   18938 #include <stdio.h>
   18939 
   18940 #ifdef RTLD_GLOBAL
   18941 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18942 #else
   18943 #  ifdef DL_GLOBAL
   18944 #    define LT_DLGLOBAL		DL_GLOBAL
   18945 #  else
   18946 #    define LT_DLGLOBAL		0
   18947 #  endif
   18948 #endif
   18949 
   18950 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18951    find out it does not work in some platform. */
   18952 #ifndef LT_DLLAZY_OR_NOW
   18953 #  ifdef RTLD_LAZY
   18954 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18955 #  else
   18956 #    ifdef DL_LAZY
   18957 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18958 #    else
   18959 #      ifdef RTLD_NOW
   18960 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18961 #      else
   18962 #        ifdef DL_NOW
   18963 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18964 #        else
   18965 #          define LT_DLLAZY_OR_NOW	0
   18966 #        endif
   18967 #      endif
   18968 #    endif
   18969 #  endif
   18970 #endif
   18971 
   18972 /* When -fvisibility=hidden is used, assume the code has been annotated
   18973    correspondingly for the symbols needed.  */
   18974 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18975 int fnord () __attribute__((visibility("default")));
   18976 #endif
   18977 
   18978 int fnord () { return 42; }
   18979 int main ()
   18980 {
   18981   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18982   int status = $lt_dlunknown;
   18983 
   18984   if (self)
   18985     {
   18986       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18987       else
   18988         {
   18989 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18990           else puts (dlerror ());
   18991 	}
   18992       /* dlclose (self); */
   18993     }
   18994   else
   18995     puts (dlerror ());
   18996 
   18997   return status;
   18998 }
   18999 _LT_EOF
   19000   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19001   (eval $ac_link) 2>&5
   19002   ac_status=$?
   19003   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19004   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19005     (./conftest; exit; ) >&5 2>/dev/null
   19006     lt_status=$?
   19007     case x$lt_status in
   19008       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19009       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19010       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19011     esac
   19012   else :
   19013     # compilation failed
   19014     lt_cv_dlopen_self=no
   19015   fi
   19016 fi
   19017 rm -fr conftest*
   19018 
   19019 
   19020 fi
   19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19022 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19023 
   19024     if test yes = "$lt_cv_dlopen_self"; then
   19025       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19026       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19027 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19028 if test ${lt_cv_dlopen_self_static+y}
   19029 then :
   19030   printf %s "(cached) " >&6
   19031 else $as_nop
   19032   	  if test yes = "$cross_compiling"; then :
   19033   lt_cv_dlopen_self_static=cross
   19034 else
   19035   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19036   lt_status=$lt_dlunknown
   19037   cat > conftest.$ac_ext <<_LT_EOF
   19038 #line $LINENO "configure"
   19039 #include "confdefs.h"
   19040 
   19041 #if HAVE_DLFCN_H
   19042 #include <dlfcn.h>
   19043 #endif
   19044 
   19045 #include <stdio.h>
   19046 
   19047 #ifdef RTLD_GLOBAL
   19048 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19049 #else
   19050 #  ifdef DL_GLOBAL
   19051 #    define LT_DLGLOBAL		DL_GLOBAL
   19052 #  else
   19053 #    define LT_DLGLOBAL		0
   19054 #  endif
   19055 #endif
   19056 
   19057 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19058    find out it does not work in some platform. */
   19059 #ifndef LT_DLLAZY_OR_NOW
   19060 #  ifdef RTLD_LAZY
   19061 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19062 #  else
   19063 #    ifdef DL_LAZY
   19064 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19065 #    else
   19066 #      ifdef RTLD_NOW
   19067 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19068 #      else
   19069 #        ifdef DL_NOW
   19070 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19071 #        else
   19072 #          define LT_DLLAZY_OR_NOW	0
   19073 #        endif
   19074 #      endif
   19075 #    endif
   19076 #  endif
   19077 #endif
   19078 
   19079 /* When -fvisibility=hidden is used, assume the code has been annotated
   19080    correspondingly for the symbols needed.  */
   19081 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19082 int fnord () __attribute__((visibility("default")));
   19083 #endif
   19084 
   19085 int fnord () { return 42; }
   19086 int main ()
   19087 {
   19088   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19089   int status = $lt_dlunknown;
   19090 
   19091   if (self)
   19092     {
   19093       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19094       else
   19095         {
   19096 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19097           else puts (dlerror ());
   19098 	}
   19099       /* dlclose (self); */
   19100     }
   19101   else
   19102     puts (dlerror ());
   19103 
   19104   return status;
   19105 }
   19106 _LT_EOF
   19107   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19108   (eval $ac_link) 2>&5
   19109   ac_status=$?
   19110   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19111   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19112     (./conftest; exit; ) >&5 2>/dev/null
   19113     lt_status=$?
   19114     case x$lt_status in
   19115       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19116       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19117       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19118     esac
   19119   else :
   19120     # compilation failed
   19121     lt_cv_dlopen_self_static=no
   19122   fi
   19123 fi
   19124 rm -fr conftest*
   19125 
   19126 
   19127 fi
   19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19129 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19130     fi
   19131 
   19132     CPPFLAGS=$save_CPPFLAGS
   19133     LDFLAGS=$save_LDFLAGS
   19134     LIBS=$save_LIBS
   19135     ;;
   19136   esac
   19137 
   19138   case $lt_cv_dlopen_self in
   19139   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19140   *) enable_dlopen_self=unknown ;;
   19141   esac
   19142 
   19143   case $lt_cv_dlopen_self_static in
   19144   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19145   *) enable_dlopen_self_static=unknown ;;
   19146   esac
   19147 fi
   19148 
   19149 
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 
   19156 
   19157 
   19158 
   19159 
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 striplib=
   19166 old_striplib=
   19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19168 printf %s "checking whether stripping libraries is possible... " >&6; }
   19169 if test -z "$STRIP"; then
   19170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19171 printf "%s\n" "no" >&6; }
   19172 else
   19173   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19174     old_striplib="$STRIP --strip-debug"
   19175     striplib="$STRIP --strip-unneeded"
   19176     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19177 printf "%s\n" "yes" >&6; }
   19178   else
   19179     case $host_os in
   19180     darwin*)
   19181       # FIXME - insert some real tests, host_os isn't really good enough
   19182       striplib="$STRIP -x"
   19183       old_striplib="$STRIP -S"
   19184       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19185 printf "%s\n" "yes" >&6; }
   19186       ;;
   19187     freebsd*)
   19188       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19189         old_striplib="$STRIP --strip-debug"
   19190         striplib="$STRIP --strip-unneeded"
   19191         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19192 printf "%s\n" "yes" >&6; }
   19193       else
   19194         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19195 printf "%s\n" "no" >&6; }
   19196       fi
   19197       ;;
   19198     *)
   19199       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19200 printf "%s\n" "no" >&6; }
   19201       ;;
   19202     esac
   19203   fi
   19204 fi
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 
   19217   # Report what library types will actually be built
   19218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19219 printf %s "checking if libtool supports shared libraries... " >&6; }
   19220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19221 printf "%s\n" "$can_build_shared" >&6; }
   19222 
   19223   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19224 printf %s "checking whether to build shared libraries... " >&6; }
   19225   test no = "$can_build_shared" && enable_shared=no
   19226 
   19227   # On AIX, shared libraries and static libraries use the same namespace, and
   19228   # are all built from PIC.
   19229   case $host_os in
   19230   aix3*)
   19231     test yes = "$enable_shared" && enable_static=no
   19232     if test -n "$RANLIB"; then
   19233       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19234       postinstall_cmds='$RANLIB $lib'
   19235     fi
   19236     ;;
   19237 
   19238   aix[4-9]*)
   19239     if test ia64 != "$host_cpu"; then
   19240       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19241       yes,aix,yes) ;;			# shared object as lib.so file only
   19242       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19243       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19244       esac
   19245     fi
   19246     ;;
   19247   esac
   19248   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19249 printf "%s\n" "$enable_shared" >&6; }
   19250 
   19251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19252 printf %s "checking whether to build static libraries... " >&6; }
   19253   # Make sure either enable_shared or enable_static is yes.
   19254   test yes = "$enable_shared" || enable_static=yes
   19255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19256 printf "%s\n" "$enable_static" >&6; }
   19257 
   19258 
   19259 
   19260 
   19261 fi
   19262 ac_ext=c
   19263 ac_cpp='$CPP $CPPFLAGS'
   19264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19267 
   19268 CC=$lt_save_CC
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 
   19276 
   19277 
   19278 
   19279 
   19280 
   19281 
   19282 
   19283 
   19284         ac_config_commands="$ac_config_commands libtool"
   19285 
   19286 
   19287 
   19288 
   19289 # Only expand once:
   19290 
   19291 
   19292 
   19293 
   19294 
   19295 # Define a configure option for an alternate module directory
   19296 
   19297 # Check whether --with-xorg-module-dir was given.
   19298 if test ${with_xorg_module_dir+y}
   19299 then :
   19300   withval=$with_xorg_module_dir; moduledir="$withval"
   19301 else $as_nop
   19302   moduledir="$libdir/xorg/modules"
   19303 fi
   19304 
   19305 
   19306 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19307 
   19308 
   19309 	SAVE_CFLAGS="$CFLAGS"
   19310 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19311 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19312 /* end confdefs.h.  */
   19313 
   19314 #include "xorg-server.h"
   19315 #if !defined RANDR
   19316 #error RANDR not defined
   19317 #endif
   19318 
   19319 int
   19320 main (void)
   19321 {
   19322 
   19323   ;
   19324   return 0;
   19325 }
   19326 _ACEOF
   19327 if ac_fn_c_try_compile "$LINENO"
   19328 then :
   19329   _EXT_CHECK=yes
   19330 else $as_nop
   19331   _EXT_CHECK=no
   19332 fi
   19333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19334 	CFLAGS="$SAVE_CFLAGS"
   19335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19336 printf %s "checking if RANDR is defined... " >&6; }
   19337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19338 printf "%s\n" "$_EXT_CHECK" >&6; }
   19339 	if test "$_EXT_CHECK" != no; then
   19340 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19341 	fi
   19342 
   19343 
   19344 
   19345 	SAVE_CFLAGS="$CFLAGS"
   19346 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19347 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19348 /* end confdefs.h.  */
   19349 
   19350 #include "xorg-server.h"
   19351 #if !defined RENDER
   19352 #error RENDER not defined
   19353 #endif
   19354 
   19355 int
   19356 main (void)
   19357 {
   19358 
   19359   ;
   19360   return 0;
   19361 }
   19362 _ACEOF
   19363 if ac_fn_c_try_compile "$LINENO"
   19364 then :
   19365   _EXT_CHECK=yes
   19366 else $as_nop
   19367   _EXT_CHECK=no
   19368 fi
   19369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19370 	CFLAGS="$SAVE_CFLAGS"
   19371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19372 printf %s "checking if RENDER is defined... " >&6; }
   19373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19374 printf "%s\n" "$_EXT_CHECK" >&6; }
   19375 	if test "$_EXT_CHECK" != no; then
   19376 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19377 	fi
   19378 
   19379 
   19380 
   19381 	SAVE_CFLAGS="$CFLAGS"
   19382 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19383 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19384 /* end confdefs.h.  */
   19385 
   19386 #include "xorg-server.h"
   19387 #if !defined XV
   19388 #error XV not defined
   19389 #endif
   19390 
   19391 int
   19392 main (void)
   19393 {
   19394 
   19395   ;
   19396   return 0;
   19397 }
   19398 _ACEOF
   19399 if ac_fn_c_try_compile "$LINENO"
   19400 then :
   19401   _EXT_CHECK=yes
   19402 else $as_nop
   19403   _EXT_CHECK=no
   19404 fi
   19405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19406 	CFLAGS="$SAVE_CFLAGS"
   19407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   19408 printf %s "checking if XV is defined... " >&6; }
   19409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19410 printf "%s\n" "$_EXT_CHECK" >&6; }
   19411 	if test "$_EXT_CHECK" != no; then
   19412 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19413 	fi
   19414 
   19415 
   19416 
   19417 	SAVE_CFLAGS="$CFLAGS"
   19418 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19419 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19420 /* end confdefs.h.  */
   19421 
   19422 #include "xorg-server.h"
   19423 #if !defined DPMSExtension
   19424 #error DPMSExtension not defined
   19425 #endif
   19426 
   19427 int
   19428 main (void)
   19429 {
   19430 
   19431   ;
   19432   return 0;
   19433 }
   19434 _ACEOF
   19435 if ac_fn_c_try_compile "$LINENO"
   19436 then :
   19437   _EXT_CHECK=yes
   19438 else $as_nop
   19439   _EXT_CHECK=no
   19440 fi
   19441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19442 	CFLAGS="$SAVE_CFLAGS"
   19443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   19444 printf %s "checking if DPMSExtension is defined... " >&6; }
   19445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19446 printf "%s\n" "$_EXT_CHECK" >&6; }
   19447 	if test "$_EXT_CHECK" != no; then
   19448 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19449 	fi
   19450 
   19451 
   19452 # Obtain compiler/linker options for the driver dependencies
   19453 
   19454 pkg_failed=no
   19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19456 printf %s "checking for XORG... " >&6; }
   19457 
   19458 if test -n "$XORG_CFLAGS"; then
   19459     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19460  elif test -n "$PKG_CONFIG"; then
   19461     if test -n "$PKG_CONFIG" && \
   19462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto \$REQUIRED_MODULES\""; } >&5
   19463   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES") 2>&5
   19464   ac_status=$?
   19465   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19466   test $ac_status = 0; }; then
   19467   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19468 		      test "x$?" != "x0" && pkg_failed=yes
   19469 else
   19470   pkg_failed=yes
   19471 fi
   19472  else
   19473     pkg_failed=untried
   19474 fi
   19475 if test -n "$XORG_LIBS"; then
   19476     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19477  elif test -n "$PKG_CONFIG"; then
   19478     if test -n "$PKG_CONFIG" && \
   19479     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto \$REQUIRED_MODULES\""; } >&5
   19480   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES") 2>&5
   19481   ac_status=$?
   19482   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19483   test $ac_status = 0; }; then
   19484   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19485 		      test "x$?" != "x0" && pkg_failed=yes
   19486 else
   19487   pkg_failed=yes
   19488 fi
   19489  else
   19490     pkg_failed=untried
   19491 fi
   19492 
   19493 
   19494 
   19495 if test $pkg_failed = yes; then
   19496    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19497 printf "%s\n" "no" >&6; }
   19498 
   19499 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19500         _pkg_short_errors_supported=yes
   19501 else
   19502         _pkg_short_errors_supported=no
   19503 fi
   19504         if test $_pkg_short_errors_supported = yes; then
   19505 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES" 2>&1`
   19506         else
   19507 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES" 2>&1`
   19508         fi
   19509 	# Put the nasty error message in config.log where it belongs
   19510 	echo "$XORG_PKG_ERRORS" >&5
   19511 
   19512 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto >= 7.0.22 fontsproto $REQUIRED_MODULES) were not met:
   19513 
   19514 $XORG_PKG_ERRORS
   19515 
   19516 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19517 installed software in a non-standard prefix.
   19518 
   19519 Alternatively, you may set the environment variables XORG_CFLAGS
   19520 and XORG_LIBS to avoid the need to call pkg-config.
   19521 See the pkg-config man page for more details." "$LINENO" 5
   19522 elif test $pkg_failed = untried; then
   19523      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19524 printf "%s\n" "no" >&6; }
   19525 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19526 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19527 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19528 is in your PATH or set the PKG_CONFIG environment variable to the full
   19529 path to pkg-config.
   19530 
   19531 Alternatively, you may set the environment variables XORG_CFLAGS
   19532 and XORG_LIBS to avoid the need to call pkg-config.
   19533 See the pkg-config man page for more details.
   19534 
   19535 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19536 See \`config.log' for more details" "$LINENO" 5; }
   19537 else
   19538 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19539 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19540         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19541 printf "%s\n" "yes" >&6; }
   19542 
   19543 fi
   19544 
   19545 # Checks for libraries.
   19546 SAVE_CPPFLAGS="$CPPFLAGS"
   19547 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19548 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19549 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   19550 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   19551 then :
   19552   XSERVER_LIBPCIACCESS=yes
   19553 else $as_nop
   19554   XSERVER_LIBPCIACCESS=no
   19555 fi
   19556 CPPFLAGS="$SAVE_CPPFLAGS"
   19557 
   19558 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19559 
   19560 pkg_failed=no
   19561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19562 printf %s "checking for PCIACCESS... " >&6; }
   19563 
   19564 if test -n "$PCIACCESS_CFLAGS"; then
   19565     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19566  elif test -n "$PKG_CONFIG"; then
   19567     if test -n "$PKG_CONFIG" && \
   19568     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19569   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19570   ac_status=$?
   19571   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19572   test $ac_status = 0; }; then
   19573   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   19574 		      test "x$?" != "x0" && pkg_failed=yes
   19575 else
   19576   pkg_failed=yes
   19577 fi
   19578  else
   19579     pkg_failed=untried
   19580 fi
   19581 if test -n "$PCIACCESS_LIBS"; then
   19582     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19583  elif test -n "$PKG_CONFIG"; then
   19584     if test -n "$PKG_CONFIG" && \
   19585     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19586   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19587   ac_status=$?
   19588   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19589   test $ac_status = 0; }; then
   19590   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19591 		      test "x$?" != "x0" && pkg_failed=yes
   19592 else
   19593   pkg_failed=yes
   19594 fi
   19595  else
   19596     pkg_failed=untried
   19597 fi
   19598 
   19599 
   19600 
   19601 if test $pkg_failed = yes; then
   19602    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19603 printf "%s\n" "no" >&6; }
   19604 
   19605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19606         _pkg_short_errors_supported=yes
   19607 else
   19608         _pkg_short_errors_supported=no
   19609 fi
   19610         if test $_pkg_short_errors_supported = yes; then
   19611 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19612         else
   19613 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19614         fi
   19615 	# Put the nasty error message in config.log where it belongs
   19616 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19617 
   19618 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19619 
   19620 $PCIACCESS_PKG_ERRORS
   19621 
   19622 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19623 installed software in a non-standard prefix.
   19624 
   19625 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19626 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19627 See the pkg-config man page for more details." "$LINENO" 5
   19628 elif test $pkg_failed = untried; then
   19629      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19630 printf "%s\n" "no" >&6; }
   19631 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19632 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19633 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19634 is in your PATH or set the PKG_CONFIG environment variable to the full
   19635 path to pkg-config.
   19636 
   19637 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19638 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19639 See the pkg-config man page for more details.
   19640 
   19641 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19642 See \`config.log' for more details" "$LINENO" 5; }
   19643 else
   19644 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19645 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19646         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19647 printf "%s\n" "yes" >&6; }
   19648 
   19649 fi
   19650     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19651 fi
   19652  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19653   XSERVER_LIBPCIACCESS_TRUE=
   19654   XSERVER_LIBPCIACCESS_FALSE='#'
   19655 else
   19656   XSERVER_LIBPCIACCESS_TRUE='#'
   19657   XSERVER_LIBPCIACCESS_FALSE=
   19658 fi
   19659 
   19660 
   19661 # Check whether --enable-xaa was given.
   19662 if test ${enable_xaa+y}
   19663 then :
   19664   enableval=$enable_xaa; XAA="$enableval"
   19665 else $as_nop
   19666   XAA=auto
   19667 fi
   19668 
   19669 if test "x$XAA" != xno; then
   19670         save_CFLAGS=$CFLAGS
   19671         save_CPPFLAGS=$CPPFLAGS
   19672         CFLAGS=$XORG_CFLAGS
   19673         CPPFLAGS="$XORG_CFLAGS"
   19674                for ac_header in xaa.h
   19675 do :
   19676   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19677 if test "x$ac_cv_header_xaa_h" = xyes
   19678 then :
   19679   printf "%s\n" "#define HAVE_XAA_H 1" >>confdefs.h
   19680  XAA=yes
   19681 else $as_nop
   19682   XAA=no
   19683 fi
   19684 
   19685 done
   19686         CFLAGS=$save_CFLAGS
   19687         CPPFLAGS=$save_CPPFLAGS
   19688 fi
   19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19690 printf %s "checking whether to include XAA support... " >&6; }
   19691  if test "x$XAA" = xyes; then
   19692   XAA_TRUE=
   19693   XAA_FALSE='#'
   19694 else
   19695   XAA_TRUE='#'
   19696   XAA_FALSE=
   19697 fi
   19698 
   19699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19700 printf "%s\n" "$XAA" >&6; }
   19701 
   19702 
   19703 
   19704 
   19705 DRIVER_NAME=nv
   19706 
   19707 
   19708 ac_config_files="$ac_config_files Makefile src/Makefile"
   19709 
   19710 cat >confcache <<\_ACEOF
   19711 # This file is a shell script that caches the results of configure
   19712 # tests run on this system so they can be shared between configure
   19713 # scripts and configure runs, see configure's option --config-cache.
   19714 # It is not useful on other systems.  If it contains results you don't
   19715 # want to keep, you may remove or edit it.
   19716 #
   19717 # config.status only pays attention to the cache file if you give it
   19718 # the --recheck option to rerun configure.
   19719 #
   19720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19722 # following values.
   19723 
   19724 _ACEOF
   19725 
   19726 # The following way of writing the cache mishandles newlines in values,
   19727 # but we know of no workaround that is simple, portable, and efficient.
   19728 # So, we kill variables containing newlines.
   19729 # Ultrix sh set writes to stderr and can't be redirected directly,
   19730 # and sets the high bit in the cache file unless we assign to the vars.
   19731 (
   19732   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19733     eval ac_val=\$$ac_var
   19734     case $ac_val in #(
   19735     *${as_nl}*)
   19736       case $ac_var in #(
   19737       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19738 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19739       esac
   19740       case $ac_var in #(
   19741       _ | IFS | as_nl) ;; #(
   19742       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19743       *) { eval $ac_var=; unset $ac_var;} ;;
   19744       esac ;;
   19745     esac
   19746   done
   19747 
   19748   (set) 2>&1 |
   19749     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19750     *${as_nl}ac_space=\ *)
   19751       # `set' does not quote correctly, so add quotes: double-quote
   19752       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19753       sed -n \
   19754 	"s/'/'\\\\''/g;
   19755 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19756       ;; #(
   19757     *)
   19758       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19759       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19760       ;;
   19761     esac |
   19762     sort
   19763 ) |
   19764   sed '
   19765      /^ac_cv_env_/b end
   19766      t clear
   19767      :clear
   19768      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19769      t end
   19770      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19771      :end' >>confcache
   19772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19773   if test -w "$cache_file"; then
   19774     if test "x$cache_file" != "x/dev/null"; then
   19775       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19776 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19777       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19778 	cat confcache >"$cache_file"
   19779       else
   19780         case $cache_file in #(
   19781         */* | ?:*)
   19782 	  mv -f confcache "$cache_file"$$ &&
   19783 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19784         *)
   19785 	  mv -f confcache "$cache_file" ;;
   19786 	esac
   19787       fi
   19788     fi
   19789   else
   19790     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19791 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19792   fi
   19793 fi
   19794 rm -f confcache
   19795 
   19796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19797 # Let make expand exec_prefix.
   19798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19799 
   19800 DEFS=-DHAVE_CONFIG_H
   19801 
   19802 ac_libobjs=
   19803 ac_ltlibobjs=
   19804 U=
   19805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19806   # 1. Remove the extension, and $U if already installed.
   19807   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19808   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19809   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19810   #    will be set to the directory where LIBOBJS objects are built.
   19811   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19812   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19813 done
   19814 LIBOBJS=$ac_libobjs
   19815 
   19816 LTLIBOBJS=$ac_ltlibobjs
   19817 
   19818 
   19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19820 printf %s "checking that generated files are newer than configure... " >&6; }
   19821    if test -n "$am_sleep_pid"; then
   19822      # Hide warnings about reused PIDs.
   19823      wait $am_sleep_pid 2>/dev/null
   19824    fi
   19825    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19826 printf "%s\n" "done" >&6; }
   19827  if test -n "$EXEEXT"; then
   19828   am__EXEEXT_TRUE=
   19829   am__EXEEXT_FALSE='#'
   19830 else
   19831   am__EXEEXT_TRUE='#'
   19832   am__EXEEXT_FALSE=
   19833 fi
   19834 
   19835 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19836   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19838 fi
   19839 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19840   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19842 fi
   19843 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19844   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19846 fi
   19847 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19848   as_fn_error $? "conditional \"XAA\" was never defined.
   19849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19850 fi
   19851 
   19852 : "${CONFIG_STATUS=./config.status}"
   19853 ac_write_fail=0
   19854 ac_clean_files_save=$ac_clean_files
   19855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19857 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19858 as_write_fail=0
   19859 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19860 #! $SHELL
   19861 # Generated by $as_me.
   19862 # Run this file to recreate the current configuration.
   19863 # Compiler output produced by configure, useful for debugging
   19864 # configure, is in config.log if it exists.
   19865 
   19866 debug=false
   19867 ac_cs_recheck=false
   19868 ac_cs_silent=false
   19869 
   19870 SHELL=\${CONFIG_SHELL-$SHELL}
   19871 export SHELL
   19872 _ASEOF
   19873 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19874 ## -------------------- ##
   19875 ## M4sh Initialization. ##
   19876 ## -------------------- ##
   19877 
   19878 # Be more Bourne compatible
   19879 DUALCASE=1; export DUALCASE # for MKS sh
   19880 as_nop=:
   19881 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19882 then :
   19883   emulate sh
   19884   NULLCMD=:
   19885   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19886   # is contrary to our usage.  Disable this feature.
   19887   alias -g '${1+"$@"}'='"$@"'
   19888   setopt NO_GLOB_SUBST
   19889 else $as_nop
   19890   case `(set -o) 2>/dev/null` in #(
   19891   *posix*) :
   19892     set -o posix ;; #(
   19893   *) :
   19894      ;;
   19895 esac
   19896 fi
   19897 
   19898 
   19899 
   19900 # Reset variables that may have inherited troublesome values from
   19901 # the environment.
   19902 
   19903 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19904 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19905 # side effect of setting IFS to empty, thus disabling word splitting.)
   19906 # Quoting is to prevent editors from complaining about space-tab.
   19907 as_nl='
   19908 '
   19909 export as_nl
   19910 IFS=" ""	$as_nl"
   19911 
   19912 PS1='$ '
   19913 PS2='> '
   19914 PS4='+ '
   19915 
   19916 # Ensure predictable behavior from utilities with locale-dependent output.
   19917 LC_ALL=C
   19918 export LC_ALL
   19919 LANGUAGE=C
   19920 export LANGUAGE
   19921 
   19922 # We cannot yet rely on "unset" to work, but we need these variables
   19923 # to be unset--not just set to an empty or harmless value--now, to
   19924 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19925 # also avoids known problems related to "unset" and subshell syntax
   19926 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19927 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19928 do eval test \${$as_var+y} \
   19929   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19930 done
   19931 
   19932 # Ensure that fds 0, 1, and 2 are open.
   19933 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19934 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19935 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19936 
   19937 # The user is always right.
   19938 if ${PATH_SEPARATOR+false} :; then
   19939   PATH_SEPARATOR=:
   19940   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19941     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19942       PATH_SEPARATOR=';'
   19943   }
   19944 fi
   19945 
   19946 
   19947 # Find who we are.  Look in the path if we contain no directory separator.
   19948 as_myself=
   19949 case $0 in #((
   19950   *[\\/]* ) as_myself=$0 ;;
   19951   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19952 for as_dir in $PATH
   19953 do
   19954   IFS=$as_save_IFS
   19955   case $as_dir in #(((
   19956     '') as_dir=./ ;;
   19957     */) ;;
   19958     *) as_dir=$as_dir/ ;;
   19959   esac
   19960     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19961   done
   19962 IFS=$as_save_IFS
   19963 
   19964      ;;
   19965 esac
   19966 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19967 # in which case we are not to be found in the path.
   19968 if test "x$as_myself" = x; then
   19969   as_myself=$0
   19970 fi
   19971 if test ! -f "$as_myself"; then
   19972   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19973   exit 1
   19974 fi
   19975 
   19976 
   19977 
   19978 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19979 # ----------------------------------------
   19980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19982 # script with STATUS, using 1 if that was 0.
   19983 as_fn_error ()
   19984 {
   19985   as_status=$1; test $as_status -eq 0 && as_status=1
   19986   if test "$4"; then
   19987     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19988     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19989   fi
   19990   printf "%s\n" "$as_me: error: $2" >&2
   19991   as_fn_exit $as_status
   19992 } # as_fn_error
   19993 
   19994 
   19995 
   19996 # as_fn_set_status STATUS
   19997 # -----------------------
   19998 # Set $? to STATUS, without forking.
   19999 as_fn_set_status ()
   20000 {
   20001   return $1
   20002 } # as_fn_set_status
   20003 
   20004 # as_fn_exit STATUS
   20005 # -----------------
   20006 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20007 as_fn_exit ()
   20008 {
   20009   set +e
   20010   as_fn_set_status $1
   20011   exit $1
   20012 } # as_fn_exit
   20013 
   20014 # as_fn_unset VAR
   20015 # ---------------
   20016 # Portably unset VAR.
   20017 as_fn_unset ()
   20018 {
   20019   { eval $1=; unset $1;}
   20020 }
   20021 as_unset=as_fn_unset
   20022 
   20023 # as_fn_append VAR VALUE
   20024 # ----------------------
   20025 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20026 # advantage of any shell optimizations that allow amortized linear growth over
   20027 # repeated appends, instead of the typical quadratic growth present in naive
   20028 # implementations.
   20029 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20030 then :
   20031   eval 'as_fn_append ()
   20032   {
   20033     eval $1+=\$2
   20034   }'
   20035 else $as_nop
   20036   as_fn_append ()
   20037   {
   20038     eval $1=\$$1\$2
   20039   }
   20040 fi # as_fn_append
   20041 
   20042 # as_fn_arith ARG...
   20043 # ------------------
   20044 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20045 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20046 # must be portable across $(()) and expr.
   20047 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20048 then :
   20049   eval 'as_fn_arith ()
   20050   {
   20051     as_val=$(( $* ))
   20052   }'
   20053 else $as_nop
   20054   as_fn_arith ()
   20055   {
   20056     as_val=`expr "$@" || test $? -eq 1`
   20057   }
   20058 fi # as_fn_arith
   20059 
   20060 
   20061 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20062    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20063   as_expr=expr
   20064 else
   20065   as_expr=false
   20066 fi
   20067 
   20068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20069   as_basename=basename
   20070 else
   20071   as_basename=false
   20072 fi
   20073 
   20074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20075   as_dirname=dirname
   20076 else
   20077   as_dirname=false
   20078 fi
   20079 
   20080 as_me=`$as_basename -- "$0" ||
   20081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20082 	 X"$0" : 'X\(//\)$' \| \
   20083 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20084 printf "%s\n" X/"$0" |
   20085     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20086 	    s//\1/
   20087 	    q
   20088 	  }
   20089 	  /^X\/\(\/\/\)$/{
   20090 	    s//\1/
   20091 	    q
   20092 	  }
   20093 	  /^X\/\(\/\).*/{
   20094 	    s//\1/
   20095 	    q
   20096 	  }
   20097 	  s/.*/./; q'`
   20098 
   20099 # Avoid depending upon Character Ranges.
   20100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20103 as_cr_digits='0123456789'
   20104 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20105 
   20106 
   20107 # Determine whether it's possible to make 'echo' print without a newline.
   20108 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20109 # for compatibility with existing Makefiles.
   20110 ECHO_C= ECHO_N= ECHO_T=
   20111 case `echo -n x` in #(((((
   20112 -n*)
   20113   case `echo 'xy\c'` in
   20114   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20115   xy)  ECHO_C='\c';;
   20116   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20117        ECHO_T='	';;
   20118   esac;;
   20119 *)
   20120   ECHO_N='-n';;
   20121 esac
   20122 
   20123 # For backward compatibility with old third-party macros, we provide
   20124 # the shell variables $as_echo and $as_echo_n.  New code should use
   20125 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20126 as_echo='printf %s\n'
   20127 as_echo_n='printf %s'
   20128 
   20129 rm -f conf$$ conf$$.exe conf$$.file
   20130 if test -d conf$$.dir; then
   20131   rm -f conf$$.dir/conf$$.file
   20132 else
   20133   rm -f conf$$.dir
   20134   mkdir conf$$.dir 2>/dev/null
   20135 fi
   20136 if (echo >conf$$.file) 2>/dev/null; then
   20137   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20138     as_ln_s='ln -s'
   20139     # ... but there are two gotchas:
   20140     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20141     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20142     # In both cases, we have to default to `cp -pR'.
   20143     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20144       as_ln_s='cp -pR'
   20145   elif ln conf$$.file conf$$ 2>/dev/null; then
   20146     as_ln_s=ln
   20147   else
   20148     as_ln_s='cp -pR'
   20149   fi
   20150 else
   20151   as_ln_s='cp -pR'
   20152 fi
   20153 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20154 rmdir conf$$.dir 2>/dev/null
   20155 
   20156 
   20157 # as_fn_mkdir_p
   20158 # -------------
   20159 # Create "$as_dir" as a directory, including parents if necessary.
   20160 as_fn_mkdir_p ()
   20161 {
   20162 
   20163   case $as_dir in #(
   20164   -*) as_dir=./$as_dir;;
   20165   esac
   20166   test -d "$as_dir" || eval $as_mkdir_p || {
   20167     as_dirs=
   20168     while :; do
   20169       case $as_dir in #(
   20170       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20171       *) as_qdir=$as_dir;;
   20172       esac
   20173       as_dirs="'$as_qdir' $as_dirs"
   20174       as_dir=`$as_dirname -- "$as_dir" ||
   20175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20176 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20177 	 X"$as_dir" : 'X\(//\)$' \| \
   20178 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20179 printf "%s\n" X"$as_dir" |
   20180     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20181 	    s//\1/
   20182 	    q
   20183 	  }
   20184 	  /^X\(\/\/\)[^/].*/{
   20185 	    s//\1/
   20186 	    q
   20187 	  }
   20188 	  /^X\(\/\/\)$/{
   20189 	    s//\1/
   20190 	    q
   20191 	  }
   20192 	  /^X\(\/\).*/{
   20193 	    s//\1/
   20194 	    q
   20195 	  }
   20196 	  s/.*/./; q'`
   20197       test -d "$as_dir" && break
   20198     done
   20199     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20200   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20201 
   20202 
   20203 } # as_fn_mkdir_p
   20204 if mkdir -p . 2>/dev/null; then
   20205   as_mkdir_p='mkdir -p "$as_dir"'
   20206 else
   20207   test -d ./-p && rmdir ./-p
   20208   as_mkdir_p=false
   20209 fi
   20210 
   20211 
   20212 # as_fn_executable_p FILE
   20213 # -----------------------
   20214 # Test if FILE is an executable regular file.
   20215 as_fn_executable_p ()
   20216 {
   20217   test -f "$1" && test -x "$1"
   20218 } # as_fn_executable_p
   20219 as_test_x='test -x'
   20220 as_executable_p=as_fn_executable_p
   20221 
   20222 # Sed expression to map a string onto a valid CPP name.
   20223 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20224 
   20225 # Sed expression to map a string onto a valid variable name.
   20226 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20227 
   20228 
   20229 exec 6>&1
   20230 ## ----------------------------------- ##
   20231 ## Main body of $CONFIG_STATUS script. ##
   20232 ## ----------------------------------- ##
   20233 _ASEOF
   20234 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20235 
   20236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20237 # Save the log message, to keep $0 and so on meaningful, and to
   20238 # report actual input values of CONFIG_FILES etc. instead of their
   20239 # values after options handling.
   20240 ac_log="
   20241 This file was extended by xf86-video-ast $as_me 1.1.6, which was
   20242 generated by GNU Autoconf 2.71.  Invocation command line was
   20243 
   20244   CONFIG_FILES    = $CONFIG_FILES
   20245   CONFIG_HEADERS  = $CONFIG_HEADERS
   20246   CONFIG_LINKS    = $CONFIG_LINKS
   20247   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20248   $ $0 $@
   20249 
   20250 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20251 "
   20252 
   20253 _ACEOF
   20254 
   20255 case $ac_config_files in *"
   20256 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20257 esac
   20258 
   20259 case $ac_config_headers in *"
   20260 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20261 esac
   20262 
   20263 
   20264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20265 # Files that config.status was made for.
   20266 config_files="$ac_config_files"
   20267 config_headers="$ac_config_headers"
   20268 config_commands="$ac_config_commands"
   20269 
   20270 _ACEOF
   20271 
   20272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20273 ac_cs_usage="\
   20274 \`$as_me' instantiates files and other configuration actions
   20275 from templates according to the current configuration.  Unless the files
   20276 and actions are specified as TAGs, all are instantiated by default.
   20277 
   20278 Usage: $0 [OPTION]... [TAG]...
   20279 
   20280   -h, --help       print this help, then exit
   20281   -V, --version    print version number and configuration settings, then exit
   20282       --config     print configuration, then exit
   20283   -q, --quiet, --silent
   20284                    do not print progress messages
   20285   -d, --debug      don't remove temporary files
   20286       --recheck    update $as_me by reconfiguring in the same conditions
   20287       --file=FILE[:TEMPLATE]
   20288                    instantiate the configuration file FILE
   20289       --header=FILE[:TEMPLATE]
   20290                    instantiate the configuration header FILE
   20291 
   20292 Configuration files:
   20293 $config_files
   20294 
   20295 Configuration headers:
   20296 $config_headers
   20297 
   20298 Configuration commands:
   20299 $config_commands
   20300 
   20301 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/issues>."
   20302 
   20303 _ACEOF
   20304 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20305 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20307 ac_cs_config='$ac_cs_config_escaped'
   20308 ac_cs_version="\\
   20309 xf86-video-ast config.status 1.1.6
   20310 configured by $0, generated by GNU Autoconf 2.71,
   20311   with options \\"\$ac_cs_config\\"
   20312 
   20313 Copyright (C) 2021 Free Software Foundation, Inc.
   20314 This config.status script is free software; the Free Software Foundation
   20315 gives unlimited permission to copy, distribute and modify it."
   20316 
   20317 ac_pwd='$ac_pwd'
   20318 srcdir='$srcdir'
   20319 INSTALL='$INSTALL'
   20320 MKDIR_P='$MKDIR_P'
   20321 AWK='$AWK'
   20322 test -n "\$AWK" || AWK=awk
   20323 _ACEOF
   20324 
   20325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20326 # The default lists apply if the user does not specify any file.
   20327 ac_need_defaults=:
   20328 while test $# != 0
   20329 do
   20330   case $1 in
   20331   --*=?*)
   20332     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20333     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20334     ac_shift=:
   20335     ;;
   20336   --*=)
   20337     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20338     ac_optarg=
   20339     ac_shift=:
   20340     ;;
   20341   *)
   20342     ac_option=$1
   20343     ac_optarg=$2
   20344     ac_shift=shift
   20345     ;;
   20346   esac
   20347 
   20348   case $ac_option in
   20349   # Handling of the options.
   20350   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20351     ac_cs_recheck=: ;;
   20352   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20353     printf "%s\n" "$ac_cs_version"; exit ;;
   20354   --config | --confi | --conf | --con | --co | --c )
   20355     printf "%s\n" "$ac_cs_config"; exit ;;
   20356   --debug | --debu | --deb | --de | --d | -d )
   20357     debug=: ;;
   20358   --file | --fil | --fi | --f )
   20359     $ac_shift
   20360     case $ac_optarg in
   20361     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20362     '') as_fn_error $? "missing file argument" ;;
   20363     esac
   20364     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20365     ac_need_defaults=false;;
   20366   --header | --heade | --head | --hea )
   20367     $ac_shift
   20368     case $ac_optarg in
   20369     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20370     esac
   20371     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20372     ac_need_defaults=false;;
   20373   --he | --h)
   20374     # Conflict between --help and --header
   20375     as_fn_error $? "ambiguous option: \`$1'
   20376 Try \`$0 --help' for more information.";;
   20377   --help | --hel | -h )
   20378     printf "%s\n" "$ac_cs_usage"; exit ;;
   20379   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20380   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20381     ac_cs_silent=: ;;
   20382 
   20383   # This is an error.
   20384   -*) as_fn_error $? "unrecognized option: \`$1'
   20385 Try \`$0 --help' for more information." ;;
   20386 
   20387   *) as_fn_append ac_config_targets " $1"
   20388      ac_need_defaults=false ;;
   20389 
   20390   esac
   20391   shift
   20392 done
   20393 
   20394 ac_configure_extra_args=
   20395 
   20396 if $ac_cs_silent; then
   20397   exec 6>/dev/null
   20398   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20399 fi
   20400 
   20401 _ACEOF
   20402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20403 if \$ac_cs_recheck; then
   20404   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20405   shift
   20406   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20407   CONFIG_SHELL='$SHELL'
   20408   export CONFIG_SHELL
   20409   exec "\$@"
   20410 fi
   20411 
   20412 _ACEOF
   20413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20414 exec 5>>config.log
   20415 {
   20416   echo
   20417   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20418 ## Running $as_me. ##
   20419 _ASBOX
   20420   printf "%s\n" "$ac_log"
   20421 } >&5
   20422 
   20423 _ACEOF
   20424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20425 #
   20426 # INIT-COMMANDS
   20427 #
   20428 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20429 
   20430 
   20431 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20432 # if CDPATH is set.
   20433 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20434 
   20435 sed_quote_subst='$sed_quote_subst'
   20436 double_quote_subst='$double_quote_subst'
   20437 delay_variable_subst='$delay_variable_subst'
   20438 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20439 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20440 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20441 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20442 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20443 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20444 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20445 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20446 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20447 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20448 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20449 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20450 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20451 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20452 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20453 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20454 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20455 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20456 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20457 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20458 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20459 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20460 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20461 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20462 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20463 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20464 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20465 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20466 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20467 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20468 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20469 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20470 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20471 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20472 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20473 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20474 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20475 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20476 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20477 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20478 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20479 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20480 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20481 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20482 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20483 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20484 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20485 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20486 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20487 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20488 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20489 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20490 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20491 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20492 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20493 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20494 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20495 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20496 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20497 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20498 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"`'
   20499 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20500 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20501 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20502 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20503 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20504 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20505 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20506 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20507 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20508 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20509 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20510 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20511 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20512 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20513 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20514 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20515 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20516 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20517 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20518 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20519 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20520 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20521 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20522 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20523 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20524 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20525 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20526 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20527 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20528 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20529 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20530 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20531 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20532 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20533 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20534 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20535 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20536 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20537 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20538 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20539 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20540 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20541 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20542 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20543 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20544 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20545 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20546 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20547 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20548 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20549 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20550 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20551 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20552 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20553 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20554 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20555 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20556 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20557 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20558 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20559 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20560 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20561 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20562 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20563 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20564 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20565 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20566 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20567 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20568 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20569 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20570 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20571 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20572 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20573 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20574 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20575 
   20576 LTCC='$LTCC'
   20577 LTCFLAGS='$LTCFLAGS'
   20578 compiler='$compiler_DEFAULT'
   20579 
   20580 # A function that is used when there is no print builtin or printf.
   20581 func_fallback_echo ()
   20582 {
   20583   eval 'cat <<_LTECHO_EOF
   20584 \$1
   20585 _LTECHO_EOF'
   20586 }
   20587 
   20588 # Quote evaled strings.
   20589 for var in SHELL \
   20590 ECHO \
   20591 PATH_SEPARATOR \
   20592 SED \
   20593 GREP \
   20594 EGREP \
   20595 FGREP \
   20596 LD \
   20597 NM \
   20598 LN_S \
   20599 lt_SP2NL \
   20600 lt_NL2SP \
   20601 reload_flag \
   20602 FILECMD \
   20603 OBJDUMP \
   20604 deplibs_check_method \
   20605 file_magic_cmd \
   20606 file_magic_glob \
   20607 want_nocaseglob \
   20608 DLLTOOL \
   20609 sharedlib_from_linklib_cmd \
   20610 AR \
   20611 archiver_list_spec \
   20612 STRIP \
   20613 RANLIB \
   20614 CC \
   20615 CFLAGS \
   20616 compiler \
   20617 lt_cv_sys_global_symbol_pipe \
   20618 lt_cv_sys_global_symbol_to_cdecl \
   20619 lt_cv_sys_global_symbol_to_import \
   20620 lt_cv_sys_global_symbol_to_c_name_address \
   20621 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20622 lt_cv_nm_interface \
   20623 nm_file_list_spec \
   20624 lt_cv_truncate_bin \
   20625 lt_prog_compiler_no_builtin_flag \
   20626 lt_prog_compiler_pic \
   20627 lt_prog_compiler_wl \
   20628 lt_prog_compiler_static \
   20629 lt_cv_prog_compiler_c_o \
   20630 need_locks \
   20631 MANIFEST_TOOL \
   20632 DSYMUTIL \
   20633 NMEDIT \
   20634 LIPO \
   20635 OTOOL \
   20636 OTOOL64 \
   20637 shrext_cmds \
   20638 export_dynamic_flag_spec \
   20639 whole_archive_flag_spec \
   20640 compiler_needs_object \
   20641 with_gnu_ld \
   20642 allow_undefined_flag \
   20643 no_undefined_flag \
   20644 hardcode_libdir_flag_spec \
   20645 hardcode_libdir_separator \
   20646 exclude_expsyms \
   20647 include_expsyms \
   20648 file_list_spec \
   20649 variables_saved_for_relink \
   20650 libname_spec \
   20651 library_names_spec \
   20652 soname_spec \
   20653 install_override_mode \
   20654 finish_eval \
   20655 old_striplib \
   20656 striplib; do
   20657     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20658     *[\\\\\\\`\\"\\\$]*)
   20659       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20660       ;;
   20661     *)
   20662       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20663       ;;
   20664     esac
   20665 done
   20666 
   20667 # Double-quote double-evaled strings.
   20668 for var in reload_cmds \
   20669 old_postinstall_cmds \
   20670 old_postuninstall_cmds \
   20671 old_archive_cmds \
   20672 extract_expsyms_cmds \
   20673 old_archive_from_new_cmds \
   20674 old_archive_from_expsyms_cmds \
   20675 archive_cmds \
   20676 archive_expsym_cmds \
   20677 module_cmds \
   20678 module_expsym_cmds \
   20679 export_symbols_cmds \
   20680 prelink_cmds \
   20681 postlink_cmds \
   20682 postinstall_cmds \
   20683 postuninstall_cmds \
   20684 finish_cmds \
   20685 sys_lib_search_path_spec \
   20686 configure_time_dlsearch_path \
   20687 configure_time_lt_sys_library_path; do
   20688     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20689     *[\\\\\\\`\\"\\\$]*)
   20690       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20691       ;;
   20692     *)
   20693       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20694       ;;
   20695     esac
   20696 done
   20697 
   20698 ac_aux_dir='$ac_aux_dir'
   20699 
   20700 # See if we are running on zsh, and set the options that allow our
   20701 # commands through without removal of \ escapes INIT.
   20702 if test -n "\${ZSH_VERSION+set}"; then
   20703    setopt NO_GLOB_SUBST
   20704 fi
   20705 
   20706 
   20707     PACKAGE='$PACKAGE'
   20708     VERSION='$VERSION'
   20709     RM='$RM'
   20710     ofile='$ofile'
   20711 
   20712 
   20713 
   20714 
   20715 _ACEOF
   20716 
   20717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20718 
   20719 # Handling of arguments.
   20720 for ac_config_target in $ac_config_targets
   20721 do
   20722   case $ac_config_target in
   20723     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20724     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20725     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20726     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20727     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20728 
   20729   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20730   esac
   20731 done
   20732 
   20733 
   20734 # If the user did not use the arguments to specify the items to instantiate,
   20735 # then the envvar interface is used.  Set only those that are not.
   20736 # We use the long form for the default assignment because of an extremely
   20737 # bizarre bug on SunOS 4.1.3.
   20738 if $ac_need_defaults; then
   20739   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20740   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20741   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20742 fi
   20743 
   20744 # Have a temporary directory for convenience.  Make it in the build tree
   20745 # simply because there is no reason against having it here, and in addition,
   20746 # creating and moving files from /tmp can sometimes cause problems.
   20747 # Hook for its removal unless debugging.
   20748 # Note that there is a small window in which the directory will not be cleaned:
   20749 # after its creation but before its name has been assigned to `$tmp'.
   20750 $debug ||
   20751 {
   20752   tmp= ac_tmp=
   20753   trap 'exit_status=$?
   20754   : "${ac_tmp:=$tmp}"
   20755   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20756 ' 0
   20757   trap 'as_fn_exit 1' 1 2 13 15
   20758 }
   20759 # Create a (secure) tmp directory for tmp files.
   20760 
   20761 {
   20762   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20763   test -d "$tmp"
   20764 }  ||
   20765 {
   20766   tmp=./conf$$-$RANDOM
   20767   (umask 077 && mkdir "$tmp")
   20768 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20769 ac_tmp=$tmp
   20770 
   20771 # Set up the scripts for CONFIG_FILES section.
   20772 # No need to generate them if there are no CONFIG_FILES.
   20773 # This happens for instance with `./config.status config.h'.
   20774 if test -n "$CONFIG_FILES"; then
   20775 
   20776 
   20777 ac_cr=`echo X | tr X '\015'`
   20778 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20779 # But we know of no other shell where ac_cr would be empty at this
   20780 # point, so we can use a bashism as a fallback.
   20781 if test "x$ac_cr" = x; then
   20782   eval ac_cr=\$\'\\r\'
   20783 fi
   20784 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20785 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20786   ac_cs_awk_cr='\\r'
   20787 else
   20788   ac_cs_awk_cr=$ac_cr
   20789 fi
   20790 
   20791 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20792 _ACEOF
   20793 
   20794 
   20795 {
   20796   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20797   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20798   echo "_ACEOF"
   20799 } >conf$$subs.sh ||
   20800   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20801 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20802 ac_delim='%!_!# '
   20803 for ac_last_try in false false false false false :; do
   20804   . ./conf$$subs.sh ||
   20805     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20806 
   20807   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20808   if test $ac_delim_n = $ac_delim_num; then
   20809     break
   20810   elif $ac_last_try; then
   20811     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20812   else
   20813     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20814   fi
   20815 done
   20816 rm -f conf$$subs.sh
   20817 
   20818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20819 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20820 _ACEOF
   20821 sed -n '
   20822 h
   20823 s/^/S["/; s/!.*/"]=/
   20824 p
   20825 g
   20826 s/^[^!]*!//
   20827 :repl
   20828 t repl
   20829 s/'"$ac_delim"'$//
   20830 t delim
   20831 :nl
   20832 h
   20833 s/\(.\{148\}\)..*/\1/
   20834 t more1
   20835 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20836 p
   20837 n
   20838 b repl
   20839 :more1
   20840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20841 p
   20842 g
   20843 s/.\{148\}//
   20844 t nl
   20845 :delim
   20846 h
   20847 s/\(.\{148\}\)..*/\1/
   20848 t more2
   20849 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20850 p
   20851 b
   20852 :more2
   20853 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20854 p
   20855 g
   20856 s/.\{148\}//
   20857 t delim
   20858 ' <conf$$subs.awk | sed '
   20859 /^[^""]/{
   20860   N
   20861   s/\n//
   20862 }
   20863 ' >>$CONFIG_STATUS || ac_write_fail=1
   20864 rm -f conf$$subs.awk
   20865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20866 _ACAWK
   20867 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20868   for (key in S) S_is_set[key] = 1
   20869   FS = ""
   20870 
   20871 }
   20872 {
   20873   line = $ 0
   20874   nfields = split(line, field, "@")
   20875   substed = 0
   20876   len = length(field[1])
   20877   for (i = 2; i < nfields; i++) {
   20878     key = field[i]
   20879     keylen = length(key)
   20880     if (S_is_set[key]) {
   20881       value = S[key]
   20882       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20883       len += length(value) + length(field[++i])
   20884       substed = 1
   20885     } else
   20886       len += 1 + keylen
   20887   }
   20888 
   20889   print line
   20890 }
   20891 
   20892 _ACAWK
   20893 _ACEOF
   20894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20895 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20896   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20897 else
   20898   cat
   20899 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20900   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20901 _ACEOF
   20902 
   20903 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20904 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20905 # trailing colons and then remove the whole line if VPATH becomes empty
   20906 # (actually we leave an empty line to preserve line numbers).
   20907 if test "x$srcdir" = x.; then
   20908   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20909 h
   20910 s///
   20911 s/^/:/
   20912 s/[	 ]*$/:/
   20913 s/:\$(srcdir):/:/g
   20914 s/:\${srcdir}:/:/g
   20915 s/:@srcdir@:/:/g
   20916 s/^:*//
   20917 s/:*$//
   20918 x
   20919 s/\(=[	 ]*\).*/\1/
   20920 G
   20921 s/\n//
   20922 s/^[^=]*=[	 ]*$//
   20923 }'
   20924 fi
   20925 
   20926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20927 fi # test -n "$CONFIG_FILES"
   20928 
   20929 # Set up the scripts for CONFIG_HEADERS section.
   20930 # No need to generate them if there are no CONFIG_HEADERS.
   20931 # This happens for instance with `./config.status Makefile'.
   20932 if test -n "$CONFIG_HEADERS"; then
   20933 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20934 BEGIN {
   20935 _ACEOF
   20936 
   20937 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20938 # here-document in config.status, that substitutes the proper values into
   20939 # config.h.in to produce config.h.
   20940 
   20941 # Create a delimiter string that does not exist in confdefs.h, to ease
   20942 # handling of long lines.
   20943 ac_delim='%!_!# '
   20944 for ac_last_try in false false :; do
   20945   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20946   if test -z "$ac_tt"; then
   20947     break
   20948   elif $ac_last_try; then
   20949     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20950   else
   20951     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20952   fi
   20953 done
   20954 
   20955 # For the awk script, D is an array of macro values keyed by name,
   20956 # likewise P contains macro parameters if any.  Preserve backslash
   20957 # newline sequences.
   20958 
   20959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20960 sed -n '
   20961 s/.\{148\}/&'"$ac_delim"'/g
   20962 t rset
   20963 :rset
   20964 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20965 t def
   20966 d
   20967 :def
   20968 s/\\$//
   20969 t bsnl
   20970 s/["\\]/\\&/g
   20971 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20972 D["\1"]=" \3"/p
   20973 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20974 d
   20975 :bsnl
   20976 s/["\\]/\\&/g
   20977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20978 D["\1"]=" \3\\\\\\n"\\/p
   20979 t cont
   20980 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20981 t cont
   20982 d
   20983 :cont
   20984 n
   20985 s/.\{148\}/&'"$ac_delim"'/g
   20986 t clear
   20987 :clear
   20988 s/\\$//
   20989 t bsnlc
   20990 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20991 d
   20992 :bsnlc
   20993 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20994 b cont
   20995 ' <confdefs.h | sed '
   20996 s/'"$ac_delim"'/"\\\
   20997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20998 
   20999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21000   for (key in D) D_is_set[key] = 1
   21001   FS = ""
   21002 }
   21003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21004   line = \$ 0
   21005   split(line, arg, " ")
   21006   if (arg[1] == "#") {
   21007     defundef = arg[2]
   21008     mac1 = arg[3]
   21009   } else {
   21010     defundef = substr(arg[1], 2)
   21011     mac1 = arg[2]
   21012   }
   21013   split(mac1, mac2, "(") #)
   21014   macro = mac2[1]
   21015   prefix = substr(line, 1, index(line, defundef) - 1)
   21016   if (D_is_set[macro]) {
   21017     # Preserve the white space surrounding the "#".
   21018     print prefix "define", macro P[macro] D[macro]
   21019     next
   21020   } else {
   21021     # Replace #undef with comments.  This is necessary, for example,
   21022     # in the case of _POSIX_SOURCE, which is predefined and required
   21023     # on some systems where configure will not decide to define it.
   21024     if (defundef == "undef") {
   21025       print "/*", prefix defundef, macro, "*/"
   21026       next
   21027     }
   21028   }
   21029 }
   21030 { print }
   21031 _ACAWK
   21032 _ACEOF
   21033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21034   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21035 fi # test -n "$CONFIG_HEADERS"
   21036 
   21037 
   21038 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21039 shift
   21040 for ac_tag
   21041 do
   21042   case $ac_tag in
   21043   :[FHLC]) ac_mode=$ac_tag; continue;;
   21044   esac
   21045   case $ac_mode$ac_tag in
   21046   :[FHL]*:*);;
   21047   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21048   :[FH]-) ac_tag=-:-;;
   21049   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21050   esac
   21051   ac_save_IFS=$IFS
   21052   IFS=:
   21053   set x $ac_tag
   21054   IFS=$ac_save_IFS
   21055   shift
   21056   ac_file=$1
   21057   shift
   21058 
   21059   case $ac_mode in
   21060   :L) ac_source=$1;;
   21061   :[FH])
   21062     ac_file_inputs=
   21063     for ac_f
   21064     do
   21065       case $ac_f in
   21066       -) ac_f="$ac_tmp/stdin";;
   21067       *) # Look for the file first in the build tree, then in the source tree
   21068 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21069 	 # because $ac_f cannot contain `:'.
   21070 	 test -f "$ac_f" ||
   21071 	   case $ac_f in
   21072 	   [\\/$]*) false;;
   21073 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21074 	   esac ||
   21075 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21076       esac
   21077       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21078       as_fn_append ac_file_inputs " '$ac_f'"
   21079     done
   21080 
   21081     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21082     # use $as_me), people would be surprised to read:
   21083     #    /* config.h.  Generated by config.status.  */
   21084     configure_input='Generated from '`
   21085 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21086 	`' by configure.'
   21087     if test x"$ac_file" != x-; then
   21088       configure_input="$ac_file.  $configure_input"
   21089       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21090 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21091     fi
   21092     # Neutralize special characters interpreted by sed in replacement strings.
   21093     case $configure_input in #(
   21094     *\&* | *\|* | *\\* )
   21095        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21096        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21097     *) ac_sed_conf_input=$configure_input;;
   21098     esac
   21099 
   21100     case $ac_tag in
   21101     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21102       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21103     esac
   21104     ;;
   21105   esac
   21106 
   21107   ac_dir=`$as_dirname -- "$ac_file" ||
   21108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21109 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21110 	 X"$ac_file" : 'X\(//\)$' \| \
   21111 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21112 printf "%s\n" X"$ac_file" |
   21113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21114 	    s//\1/
   21115 	    q
   21116 	  }
   21117 	  /^X\(\/\/\)[^/].*/{
   21118 	    s//\1/
   21119 	    q
   21120 	  }
   21121 	  /^X\(\/\/\)$/{
   21122 	    s//\1/
   21123 	    q
   21124 	  }
   21125 	  /^X\(\/\).*/{
   21126 	    s//\1/
   21127 	    q
   21128 	  }
   21129 	  s/.*/./; q'`
   21130   as_dir="$ac_dir"; as_fn_mkdir_p
   21131   ac_builddir=.
   21132 
   21133 case "$ac_dir" in
   21134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21135 *)
   21136   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21137   # A ".." for each directory in $ac_dir_suffix.
   21138   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21139   case $ac_top_builddir_sub in
   21140   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21141   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21142   esac ;;
   21143 esac
   21144 ac_abs_top_builddir=$ac_pwd
   21145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21146 # for backward compatibility:
   21147 ac_top_builddir=$ac_top_build_prefix
   21148 
   21149 case $srcdir in
   21150   .)  # We are building in place.
   21151     ac_srcdir=.
   21152     ac_top_srcdir=$ac_top_builddir_sub
   21153     ac_abs_top_srcdir=$ac_pwd ;;
   21154   [\\/]* | ?:[\\/]* )  # Absolute name.
   21155     ac_srcdir=$srcdir$ac_dir_suffix;
   21156     ac_top_srcdir=$srcdir
   21157     ac_abs_top_srcdir=$srcdir ;;
   21158   *) # Relative name.
   21159     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21160     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21161     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21162 esac
   21163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21164 
   21165 
   21166   case $ac_mode in
   21167   :F)
   21168   #
   21169   # CONFIG_FILE
   21170   #
   21171 
   21172   case $INSTALL in
   21173   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21174   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21175   esac
   21176   ac_MKDIR_P=$MKDIR_P
   21177   case $MKDIR_P in
   21178   [\\/$]* | ?:[\\/]* ) ;;
   21179   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21180   esac
   21181 _ACEOF
   21182 
   21183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21184 # If the template does not know about datarootdir, expand it.
   21185 # FIXME: This hack should be removed a few years after 2.60.
   21186 ac_datarootdir_hack=; ac_datarootdir_seen=
   21187 ac_sed_dataroot='
   21188 /datarootdir/ {
   21189   p
   21190   q
   21191 }
   21192 /@datadir@/p
   21193 /@docdir@/p
   21194 /@infodir@/p
   21195 /@localedir@/p
   21196 /@mandir@/p'
   21197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21198 *datarootdir*) ac_datarootdir_seen=yes;;
   21199 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21201 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21202 _ACEOF
   21203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21204   ac_datarootdir_hack='
   21205   s&@datadir@&$datadir&g
   21206   s&@docdir@&$docdir&g
   21207   s&@infodir@&$infodir&g
   21208   s&@localedir@&$localedir&g
   21209   s&@mandir@&$mandir&g
   21210   s&\\\${datarootdir}&$datarootdir&g' ;;
   21211 esac
   21212 _ACEOF
   21213 
   21214 # Neutralize VPATH when `$srcdir' = `.'.
   21215 # Shell code in configure.ac might set extrasub.
   21216 # FIXME: do we really want to maintain this feature?
   21217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21218 ac_sed_extra="$ac_vpsub
   21219 $extrasub
   21220 _ACEOF
   21221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21222 :t
   21223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21224 s|@configure_input@|$ac_sed_conf_input|;t t
   21225 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21226 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21227 s&@srcdir@&$ac_srcdir&;t t
   21228 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21229 s&@top_srcdir@&$ac_top_srcdir&;t t
   21230 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21231 s&@builddir@&$ac_builddir&;t t
   21232 s&@abs_builddir@&$ac_abs_builddir&;t t
   21233 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21234 s&@INSTALL@&$ac_INSTALL&;t t
   21235 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21236 $ac_datarootdir_hack
   21237 "
   21238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21239   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21240 
   21241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21242   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21243   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21244       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21246 which seems to be undefined.  Please make sure it is defined" >&5
   21247 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21248 which seems to be undefined.  Please make sure it is defined" >&2;}
   21249 
   21250   rm -f "$ac_tmp/stdin"
   21251   case $ac_file in
   21252   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21253   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21254   esac \
   21255   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21256  ;;
   21257   :H)
   21258   #
   21259   # CONFIG_HEADER
   21260   #
   21261   if test x"$ac_file" != x-; then
   21262     {
   21263       printf "%s\n" "/* $configure_input  */" >&1 \
   21264       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21265     } >"$ac_tmp/config.h" \
   21266       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21267     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21268       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21269 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21270     else
   21271       rm -f "$ac_file"
   21272       mv "$ac_tmp/config.h" "$ac_file" \
   21273 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21274     fi
   21275   else
   21276     printf "%s\n" "/* $configure_input  */" >&1 \
   21277       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21278       || as_fn_error $? "could not create -" "$LINENO" 5
   21279   fi
   21280 # Compute "$ac_file"'s index in $config_headers.
   21281 _am_arg="$ac_file"
   21282 _am_stamp_count=1
   21283 for _am_header in $config_headers :; do
   21284   case $_am_header in
   21285     $_am_arg | $_am_arg:* )
   21286       break ;;
   21287     * )
   21288       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21289   esac
   21290 done
   21291 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21292 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21293 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21294 	 X"$_am_arg" : 'X\(//\)$' \| \
   21295 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21296 printf "%s\n" X"$_am_arg" |
   21297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21298 	    s//\1/
   21299 	    q
   21300 	  }
   21301 	  /^X\(\/\/\)[^/].*/{
   21302 	    s//\1/
   21303 	    q
   21304 	  }
   21305 	  /^X\(\/\/\)$/{
   21306 	    s//\1/
   21307 	    q
   21308 	  }
   21309 	  /^X\(\/\).*/{
   21310 	    s//\1/
   21311 	    q
   21312 	  }
   21313 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21314  ;;
   21315 
   21316   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21317 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21318  ;;
   21319   esac
   21320 
   21321 
   21322   case $ac_file$ac_mode in
   21323     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21324   # Older Autoconf quotes --file arguments for eval, but not when files
   21325   # are listed without --file.  Let's play safe and only enable the eval
   21326   # if we detect the quoting.
   21327   # TODO: see whether this extra hack can be removed once we start
   21328   # requiring Autoconf 2.70 or later.
   21329   case $CONFIG_FILES in #(
   21330   *\'*) :
   21331     eval set x "$CONFIG_FILES" ;; #(
   21332   *) :
   21333     set x $CONFIG_FILES ;; #(
   21334   *) :
   21335      ;;
   21336 esac
   21337   shift
   21338   # Used to flag and report bootstrapping failures.
   21339   am_rc=0
   21340   for am_mf
   21341   do
   21342     # Strip MF so we end up with the name of the file.
   21343     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21344     # Check whether this is an Automake generated Makefile which includes
   21345     # dependency-tracking related rules and includes.
   21346     # Grep'ing the whole file directly is not great: AIX grep has a line
   21347     # limit of 2048, but all sed's we know have understand at least 4000.
   21348     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21349       || continue
   21350     am_dirpart=`$as_dirname -- "$am_mf" ||
   21351 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21352 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21353 	 X"$am_mf" : 'X\(//\)$' \| \
   21354 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21355 printf "%s\n" X"$am_mf" |
   21356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21357 	    s//\1/
   21358 	    q
   21359 	  }
   21360 	  /^X\(\/\/\)[^/].*/{
   21361 	    s//\1/
   21362 	    q
   21363 	  }
   21364 	  /^X\(\/\/\)$/{
   21365 	    s//\1/
   21366 	    q
   21367 	  }
   21368 	  /^X\(\/\).*/{
   21369 	    s//\1/
   21370 	    q
   21371 	  }
   21372 	  s/.*/./; q'`
   21373     am_filepart=`$as_basename -- "$am_mf" ||
   21374 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21375 	 X"$am_mf" : 'X\(//\)$' \| \
   21376 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21377 printf "%s\n" X/"$am_mf" |
   21378     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21379 	    s//\1/
   21380 	    q
   21381 	  }
   21382 	  /^X\/\(\/\/\)$/{
   21383 	    s//\1/
   21384 	    q
   21385 	  }
   21386 	  /^X\/\(\/\).*/{
   21387 	    s//\1/
   21388 	    q
   21389 	  }
   21390 	  s/.*/./; q'`
   21391     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21392       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21393         | $MAKE -f - am--depfiles" >&5
   21394    (cd "$am_dirpart" \
   21395       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21396         | $MAKE -f - am--depfiles) >&5 2>&5
   21397    ac_status=$?
   21398    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21399    (exit $ac_status); } || am_rc=$?
   21400   done
   21401   if test $am_rc -ne 0; then
   21402     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21403 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21404 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21405     for automatic dependency tracking.  If GNU make was not used, consider
   21406     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21407     necessary).  You can also try re-running configure with the
   21408     '--disable-dependency-tracking' option to at least be able to build
   21409     the package (albeit without support for automatic dependency tracking).
   21410 See \`config.log' for more details" "$LINENO" 5; }
   21411   fi
   21412   { am_dirpart=; unset am_dirpart;}
   21413   { am_filepart=; unset am_filepart;}
   21414   { am_mf=; unset am_mf;}
   21415   { am_rc=; unset am_rc;}
   21416   rm -f conftest-deps.mk
   21417 }
   21418  ;;
   21419     "libtool":C)
   21420 
   21421     # See if we are running on zsh, and set the options that allow our
   21422     # commands through without removal of \ escapes.
   21423     if test -n "${ZSH_VERSION+set}"; then
   21424       setopt NO_GLOB_SUBST
   21425     fi
   21426 
   21427     cfgfile=${ofile}T
   21428     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21429     $RM "$cfgfile"
   21430 
   21431     cat <<_LT_EOF >> "$cfgfile"
   21432 #! $SHELL
   21433 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21434 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21435 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21436 
   21437 # Provide generalized library-building support services.
   21438 # Written by Gordon Matzigkeit, 1996
   21439 
   21440 # Copyright (C) 2014 Free Software Foundation, Inc.
   21441 # This is free software; see the source for copying conditions.  There is NO
   21442 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21443 
   21444 # GNU Libtool is free software; you can redistribute it and/or modify
   21445 # it under the terms of the GNU General Public License as published by
   21446 # the Free Software Foundation; either version 2 of of the License, or
   21447 # (at your option) any later version.
   21448 #
   21449 # As a special exception to the GNU General Public License, if you
   21450 # distribute this file as part of a program or library that is built
   21451 # using GNU Libtool, you may include this file under the  same
   21452 # distribution terms that you use for the rest of that program.
   21453 #
   21454 # GNU Libtool is distributed in the hope that it will be useful, but
   21455 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21456 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21457 # GNU General Public License for more details.
   21458 #
   21459 # You should have received a copy of the GNU General Public License
   21460 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21461 
   21462 
   21463 # The names of the tagged configurations supported by this script.
   21464 available_tags=''
   21465 
   21466 # Configured defaults for sys_lib_dlsearch_path munging.
   21467 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21468 
   21469 # ### BEGIN LIBTOOL CONFIG
   21470 
   21471 # Whether or not to build static libraries.
   21472 build_old_libs=$enable_static
   21473 
   21474 # Which release of libtool.m4 was used?
   21475 macro_version=$macro_version
   21476 macro_revision=$macro_revision
   21477 
   21478 # Whether or not to build shared libraries.
   21479 build_libtool_libs=$enable_shared
   21480 
   21481 # What type of objects to build.
   21482 pic_mode=$pic_mode
   21483 
   21484 # Whether or not to optimize for fast installation.
   21485 fast_install=$enable_fast_install
   21486 
   21487 # Shared archive member basename,for filename based shared library versioning on AIX.
   21488 shared_archive_member_spec=$shared_archive_member_spec
   21489 
   21490 # Shell to use when invoking shell scripts.
   21491 SHELL=$lt_SHELL
   21492 
   21493 # An echo program that protects backslashes.
   21494 ECHO=$lt_ECHO
   21495 
   21496 # The PATH separator for the build system.
   21497 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21498 
   21499 # The host system.
   21500 host_alias=$host_alias
   21501 host=$host
   21502 host_os=$host_os
   21503 
   21504 # The build system.
   21505 build_alias=$build_alias
   21506 build=$build
   21507 build_os=$build_os
   21508 
   21509 # A sed program that does not truncate output.
   21510 SED=$lt_SED
   21511 
   21512 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21513 Xsed="\$SED -e 1s/^X//"
   21514 
   21515 # A grep program that handles long lines.
   21516 GREP=$lt_GREP
   21517 
   21518 # An ERE matcher.
   21519 EGREP=$lt_EGREP
   21520 
   21521 # A literal string matcher.
   21522 FGREP=$lt_FGREP
   21523 
   21524 # A BSD- or MS-compatible name lister.
   21525 NM=$lt_NM
   21526 
   21527 # Whether we need soft or hard links.
   21528 LN_S=$lt_LN_S
   21529 
   21530 # What is the maximum length of a command?
   21531 max_cmd_len=$max_cmd_len
   21532 
   21533 # Object file suffix (normally "o").
   21534 objext=$ac_objext
   21535 
   21536 # Executable file suffix (normally "").
   21537 exeext=$exeext
   21538 
   21539 # whether the shell understands "unset".
   21540 lt_unset=$lt_unset
   21541 
   21542 # turn spaces into newlines.
   21543 SP2NL=$lt_lt_SP2NL
   21544 
   21545 # turn newlines into spaces.
   21546 NL2SP=$lt_lt_NL2SP
   21547 
   21548 # convert \$build file names to \$host format.
   21549 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21550 
   21551 # convert \$build files to toolchain format.
   21552 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21553 
   21554 # A file(cmd) program that detects file types.
   21555 FILECMD=$lt_FILECMD
   21556 
   21557 # An object symbol dumper.
   21558 OBJDUMP=$lt_OBJDUMP
   21559 
   21560 # Method to check whether dependent libraries are shared objects.
   21561 deplibs_check_method=$lt_deplibs_check_method
   21562 
   21563 # Command to use when deplibs_check_method = "file_magic".
   21564 file_magic_cmd=$lt_file_magic_cmd
   21565 
   21566 # How to find potential files when deplibs_check_method = "file_magic".
   21567 file_magic_glob=$lt_file_magic_glob
   21568 
   21569 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21570 want_nocaseglob=$lt_want_nocaseglob
   21571 
   21572 # DLL creation program.
   21573 DLLTOOL=$lt_DLLTOOL
   21574 
   21575 # Command to associate shared and link libraries.
   21576 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21577 
   21578 # The archiver.
   21579 AR=$lt_AR
   21580 
   21581 # Flags to create an archive (by configure).
   21582 lt_ar_flags=$lt_ar_flags
   21583 
   21584 # Flags to create an archive.
   21585 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21586 
   21587 # How to feed a file listing to the archiver.
   21588 archiver_list_spec=$lt_archiver_list_spec
   21589 
   21590 # A symbol stripping program.
   21591 STRIP=$lt_STRIP
   21592 
   21593 # Commands used to install an old-style archive.
   21594 RANLIB=$lt_RANLIB
   21595 old_postinstall_cmds=$lt_old_postinstall_cmds
   21596 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21597 
   21598 # Whether to use a lock for old archive extraction.
   21599 lock_old_archive_extraction=$lock_old_archive_extraction
   21600 
   21601 # A C compiler.
   21602 LTCC=$lt_CC
   21603 
   21604 # LTCC compiler flags.
   21605 LTCFLAGS=$lt_CFLAGS
   21606 
   21607 # Take the output of nm and produce a listing of raw symbols and C names.
   21608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21609 
   21610 # Transform the output of nm in a proper C declaration.
   21611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21612 
   21613 # Transform the output of nm into a list of symbols to manually relocate.
   21614 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21615 
   21616 # Transform the output of nm in a C name address pair.
   21617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21618 
   21619 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21620 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21621 
   21622 # The name lister interface.
   21623 nm_interface=$lt_lt_cv_nm_interface
   21624 
   21625 # Specify filename containing input files for \$NM.
   21626 nm_file_list_spec=$lt_nm_file_list_spec
   21627 
   21628 # The root where to search for dependent libraries,and where our libraries should be installed.
   21629 lt_sysroot=$lt_sysroot
   21630 
   21631 # Command to truncate a binary pipe.
   21632 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21633 
   21634 # The name of the directory that contains temporary libtool files.
   21635 objdir=$objdir
   21636 
   21637 # Used to examine libraries when file_magic_cmd begins with "file".
   21638 MAGIC_CMD=$MAGIC_CMD
   21639 
   21640 # Must we lock files when doing compilation?
   21641 need_locks=$lt_need_locks
   21642 
   21643 # Manifest tool.
   21644 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21645 
   21646 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21647 DSYMUTIL=$lt_DSYMUTIL
   21648 
   21649 # Tool to change global to local symbols on Mac OS X.
   21650 NMEDIT=$lt_NMEDIT
   21651 
   21652 # Tool to manipulate fat objects and archives on Mac OS X.
   21653 LIPO=$lt_LIPO
   21654 
   21655 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21656 OTOOL=$lt_OTOOL
   21657 
   21658 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21659 OTOOL64=$lt_OTOOL64
   21660 
   21661 # Old archive suffix (normally "a").
   21662 libext=$libext
   21663 
   21664 # Shared library suffix (normally ".so").
   21665 shrext_cmds=$lt_shrext_cmds
   21666 
   21667 # The commands to extract the exported symbol list from a shared archive.
   21668 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21669 
   21670 # Variables whose values should be saved in libtool wrapper scripts and
   21671 # restored at link time.
   21672 variables_saved_for_relink=$lt_variables_saved_for_relink
   21673 
   21674 # Do we need the "lib" prefix for modules?
   21675 need_lib_prefix=$need_lib_prefix
   21676 
   21677 # Do we need a version for libraries?
   21678 need_version=$need_version
   21679 
   21680 # Library versioning type.
   21681 version_type=$version_type
   21682 
   21683 # Shared library runtime path variable.
   21684 runpath_var=$runpath_var
   21685 
   21686 # Shared library path variable.
   21687 shlibpath_var=$shlibpath_var
   21688 
   21689 # Is shlibpath searched before the hard-coded library search path?
   21690 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21691 
   21692 # Format of library name prefix.
   21693 libname_spec=$lt_libname_spec
   21694 
   21695 # List of archive names.  First name is the real one, the rest are links.
   21696 # The last name is the one that the linker finds with -lNAME
   21697 library_names_spec=$lt_library_names_spec
   21698 
   21699 # The coded name of the library, if different from the real name.
   21700 soname_spec=$lt_soname_spec
   21701 
   21702 # Permission mode override for installation of shared libraries.
   21703 install_override_mode=$lt_install_override_mode
   21704 
   21705 # Command to use after installation of a shared archive.
   21706 postinstall_cmds=$lt_postinstall_cmds
   21707 
   21708 # Command to use after uninstallation of a shared archive.
   21709 postuninstall_cmds=$lt_postuninstall_cmds
   21710 
   21711 # Commands used to finish a libtool library installation in a directory.
   21712 finish_cmds=$lt_finish_cmds
   21713 
   21714 # As "finish_cmds", except a single script fragment to be evaled but
   21715 # not shown.
   21716 finish_eval=$lt_finish_eval
   21717 
   21718 # Whether we should hardcode library paths into libraries.
   21719 hardcode_into_libs=$hardcode_into_libs
   21720 
   21721 # Compile-time system search path for libraries.
   21722 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21723 
   21724 # Detected run-time system search path for libraries.
   21725 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21726 
   21727 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21728 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21729 
   21730 # Whether dlopen is supported.
   21731 dlopen_support=$enable_dlopen
   21732 
   21733 # Whether dlopen of programs is supported.
   21734 dlopen_self=$enable_dlopen_self
   21735 
   21736 # Whether dlopen of statically linked programs is supported.
   21737 dlopen_self_static=$enable_dlopen_self_static
   21738 
   21739 # Commands to strip libraries.
   21740 old_striplib=$lt_old_striplib
   21741 striplib=$lt_striplib
   21742 
   21743 
   21744 # The linker used to build libraries.
   21745 LD=$lt_LD
   21746 
   21747 # How to create reloadable object files.
   21748 reload_flag=$lt_reload_flag
   21749 reload_cmds=$lt_reload_cmds
   21750 
   21751 # Commands used to build an old-style archive.
   21752 old_archive_cmds=$lt_old_archive_cmds
   21753 
   21754 # A language specific compiler.
   21755 CC=$lt_compiler
   21756 
   21757 # Is the compiler the GNU compiler?
   21758 with_gcc=$GCC
   21759 
   21760 # Compiler flag to turn off builtin functions.
   21761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21762 
   21763 # Additional compiler flags for building library objects.
   21764 pic_flag=$lt_lt_prog_compiler_pic
   21765 
   21766 # How to pass a linker flag through the compiler.
   21767 wl=$lt_lt_prog_compiler_wl
   21768 
   21769 # Compiler flag to prevent dynamic linking.
   21770 link_static_flag=$lt_lt_prog_compiler_static
   21771 
   21772 # Does compiler simultaneously support -c and -o options?
   21773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21774 
   21775 # Whether or not to add -lc for building shared libraries.
   21776 build_libtool_need_lc=$archive_cmds_need_lc
   21777 
   21778 # Whether or not to disallow shared libs when runtime libs are static.
   21779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21780 
   21781 # Compiler flag to allow reflexive dlopens.
   21782 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21783 
   21784 # Compiler flag to generate shared objects directly from archives.
   21785 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21786 
   21787 # Whether the compiler copes with passing no objects directly.
   21788 compiler_needs_object=$lt_compiler_needs_object
   21789 
   21790 # Create an old-style archive from a shared archive.
   21791 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21792 
   21793 # Create a temporary old-style archive to link instead of a shared archive.
   21794 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21795 
   21796 # Commands used to build a shared archive.
   21797 archive_cmds=$lt_archive_cmds
   21798 archive_expsym_cmds=$lt_archive_expsym_cmds
   21799 
   21800 # Commands used to build a loadable module if different from building
   21801 # a shared archive.
   21802 module_cmds=$lt_module_cmds
   21803 module_expsym_cmds=$lt_module_expsym_cmds
   21804 
   21805 # Whether we are building with GNU ld or not.
   21806 with_gnu_ld=$lt_with_gnu_ld
   21807 
   21808 # Flag that allows shared libraries with undefined symbols to be built.
   21809 allow_undefined_flag=$lt_allow_undefined_flag
   21810 
   21811 # Flag that enforces no undefined symbols.
   21812 no_undefined_flag=$lt_no_undefined_flag
   21813 
   21814 # Flag to hardcode \$libdir into a binary during linking.
   21815 # This must work even if \$libdir does not exist
   21816 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21817 
   21818 # Whether we need a single "-rpath" flag with a separated argument.
   21819 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21820 
   21821 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21822 # DIR into the resulting binary.
   21823 hardcode_direct=$hardcode_direct
   21824 
   21825 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21826 # DIR into the resulting binary and the resulting library dependency is
   21827 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21828 # library is relocated.
   21829 hardcode_direct_absolute=$hardcode_direct_absolute
   21830 
   21831 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21832 # into the resulting binary.
   21833 hardcode_minus_L=$hardcode_minus_L
   21834 
   21835 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21836 # into the resulting binary.
   21837 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21838 
   21839 # Set to "yes" if building a shared library automatically hardcodes DIR
   21840 # into the library and all subsequent libraries and executables linked
   21841 # against it.
   21842 hardcode_automatic=$hardcode_automatic
   21843 
   21844 # Set to yes if linker adds runtime paths of dependent libraries
   21845 # to runtime path list.
   21846 inherit_rpath=$inherit_rpath
   21847 
   21848 # Whether libtool must link a program against all its dependency libraries.
   21849 link_all_deplibs=$link_all_deplibs
   21850 
   21851 # Set to "yes" if exported symbols are required.
   21852 always_export_symbols=$always_export_symbols
   21853 
   21854 # The commands to list exported symbols.
   21855 export_symbols_cmds=$lt_export_symbols_cmds
   21856 
   21857 # Symbols that should not be listed in the preloaded symbols.
   21858 exclude_expsyms=$lt_exclude_expsyms
   21859 
   21860 # Symbols that must always be exported.
   21861 include_expsyms=$lt_include_expsyms
   21862 
   21863 # Commands necessary for linking programs (against libraries) with templates.
   21864 prelink_cmds=$lt_prelink_cmds
   21865 
   21866 # Commands necessary for finishing linking programs.
   21867 postlink_cmds=$lt_postlink_cmds
   21868 
   21869 # Specify filename containing input files.
   21870 file_list_spec=$lt_file_list_spec
   21871 
   21872 # How to hardcode a shared library path into an executable.
   21873 hardcode_action=$hardcode_action
   21874 
   21875 # ### END LIBTOOL CONFIG
   21876 
   21877 _LT_EOF
   21878 
   21879     cat <<'_LT_EOF' >> "$cfgfile"
   21880 
   21881 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21882 
   21883 # func_munge_path_list VARIABLE PATH
   21884 # -----------------------------------
   21885 # VARIABLE is name of variable containing _space_ separated list of
   21886 # directories to be munged by the contents of PATH, which is string
   21887 # having a format:
   21888 # "DIR[:DIR]:"
   21889 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21890 # ":DIR[:DIR]"
   21891 #       string "DIR[ DIR]" will be appended to VARIABLE
   21892 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21893 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21894 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21895 # "DIR[:DIR]"
   21896 #       VARIABLE will be replaced by "DIR[ DIR]"
   21897 func_munge_path_list ()
   21898 {
   21899     case x$2 in
   21900     x)
   21901         ;;
   21902     *:)
   21903         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21904         ;;
   21905     x:*)
   21906         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21907         ;;
   21908     *::*)
   21909         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21910         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21911         ;;
   21912     *)
   21913         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21914         ;;
   21915     esac
   21916 }
   21917 
   21918 
   21919 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21920 func_cc_basename ()
   21921 {
   21922     for cc_temp in $*""; do
   21923       case $cc_temp in
   21924         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21925         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21926         \-*) ;;
   21927         *) break;;
   21928       esac
   21929     done
   21930     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21931 }
   21932 
   21933 
   21934 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21935 
   21936 _LT_EOF
   21937 
   21938   case $host_os in
   21939   aix3*)
   21940     cat <<\_LT_EOF >> "$cfgfile"
   21941 # AIX sometimes has problems with the GCC collect2 program.  For some
   21942 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21943 # vanish in a puff of smoke.
   21944 if test set != "${COLLECT_NAMES+set}"; then
   21945   COLLECT_NAMES=
   21946   export COLLECT_NAMES
   21947 fi
   21948 _LT_EOF
   21949     ;;
   21950   esac
   21951 
   21952 
   21953 
   21954 ltmain=$ac_aux_dir/ltmain.sh
   21955 
   21956 
   21957   # We use sed instead of cat because bash on DJGPP gets confused if
   21958   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21959   # text mode, it properly converts lines to CR/LF.  This bash problem
   21960   # is reportedly fixed, but why not run on old versions too?
   21961   $SED '$q' "$ltmain" >> "$cfgfile" \
   21962      || (rm -f "$cfgfile"; exit 1)
   21963 
   21964    mv -f "$cfgfile" "$ofile" ||
   21965     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21966   chmod +x "$ofile"
   21967 
   21968  ;;
   21969 
   21970   esac
   21971 done # for ac_tag
   21972 
   21973 
   21974 as_fn_exit 0
   21975 _ACEOF
   21976 ac_clean_files=$ac_clean_files_save
   21977 
   21978 test $ac_write_fail = 0 ||
   21979   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21980 
   21981 
   21982 # configure is writing to config.log, and then calls config.status.
   21983 # config.status does its own redirection, appending to config.log.
   21984 # Unfortunately, on DOS this fails, as config.log is still kept open
   21985 # by configure, so config.status won't be able to write to it; its
   21986 # output is simply discarded.  So we exec the FD to /dev/null,
   21987 # effectively closing config.log, so it can be properly (re)opened and
   21988 # appended to by config.status.  When coming back to configure, we
   21989 # need to make the FD available again.
   21990 if test "$no_create" != yes; then
   21991   ac_cs_success=:
   21992   ac_config_status_args=
   21993   test "$silent" = yes &&
   21994     ac_config_status_args="$ac_config_status_args --quiet"
   21995   exec 5>/dev/null
   21996   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21997   exec 5>>config.log
   21998   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21999   # would make configure fail if this is the last instruction.
   22000   $ac_cs_success || as_fn_exit 1
   22001 fi
   22002 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22004 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22005 fi
   22006 
   22007 
   22008