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-sunffb 1.2.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/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-sunffb/-/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-sunffb'
    624 PACKAGE_TARNAME='xf86-video-sunffb'
    625 PACKAGE_VERSION='1.2.3'
    626 PACKAGE_STRING='xf86-video-sunffb 1.2.3'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/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 SPARC_FALSE
    670 SPARC_TRUE
    671 XAA_FALSE
    672 XAA_TRUE
    673 HAVE_XEXTPROTO_71_FALSE
    674 HAVE_XEXTPROTO_71_TRUE
    675 XEXT_LIBS
    676 XEXT_CFLAGS
    677 XORG_LIBS
    678 XORG_CFLAGS
    679 am__fastdepCCAS_FALSE
    680 am__fastdepCCAS_TRUE
    681 CCASDEPMODE
    682 CCASFLAGS
    683 CCAS
    684 LT_SYS_LIBRARY_PATH
    685 OTOOL64
    686 OTOOL
    687 LIPO
    688 NMEDIT
    689 DSYMUTIL
    690 MANIFEST_TOOL
    691 RANLIB
    692 ac_ct_AR
    693 AR
    694 DLLTOOL
    695 OBJDUMP
    696 FILECMD
    697 LN_S
    698 NM
    699 ac_ct_DUMPBIN
    700 DUMPBIN
    701 LD
    702 FGREP
    703 EGREP
    704 GREP
    705 LIBTOOL
    706 MAN_SUBSTS
    707 XORG_MAN_PAGE
    708 ADMIN_MAN_DIR
    709 DRIVER_MAN_DIR
    710 MISC_MAN_DIR
    711 FILE_MAN_DIR
    712 LIB_MAN_DIR
    713 APP_MAN_DIR
    714 ADMIN_MAN_SUFFIX
    715 DRIVER_MAN_SUFFIX
    716 MISC_MAN_SUFFIX
    717 FILE_MAN_SUFFIX
    718 LIB_MAN_SUFFIX
    719 APP_MAN_SUFFIX
    720 SED
    721 host_os
    722 host_vendor
    723 host_cpu
    724 host
    725 build_os
    726 build_vendor
    727 build_cpu
    728 build
    729 INSTALL_CMD
    730 PKG_CONFIG_LIBDIR
    731 PKG_CONFIG_PATH
    732 PKG_CONFIG
    733 CHANGELOG_CMD
    734 STRICT_CFLAGS
    735 CWARNFLAGS
    736 BASE_CFLAGS
    737 am__fastdepCC_FALSE
    738 am__fastdepCC_TRUE
    739 CCDEPMODE
    740 am__nodep
    741 AMDEPBACKSLASH
    742 AMDEP_FALSE
    743 AMDEP_TRUE
    744 am__include
    745 DEPDIR
    746 OBJEXT
    747 EXEEXT
    748 ac_ct_CC
    749 CPPFLAGS
    750 LDFLAGS
    751 CFLAGS
    752 CC
    753 MAINT
    754 MAINTAINER_MODE_FALSE
    755 MAINTAINER_MODE_TRUE
    756 AM_BACKSLASH
    757 AM_DEFAULT_VERBOSITY
    758 AM_DEFAULT_V
    759 AM_V
    760 CSCOPE
    761 ETAGS
    762 CTAGS
    763 am__untar
    764 am__tar
    765 AMTAR
    766 am__leading_dot
    767 SET_MAKE
    768 AWK
    769 mkdir_p
    770 MKDIR_P
    771 INSTALL_STRIP_PROGRAM
    772 STRIP
    773 install_sh
    774 MAKEINFO
    775 AUTOHEADER
    776 AUTOMAKE
    777 AUTOCONF
    778 ACLOCAL
    779 VERSION
    780 PACKAGE
    781 CYGPATH_W
    782 am__isrc
    783 INSTALL_DATA
    784 INSTALL_SCRIPT
    785 INSTALL_PROGRAM
    786 target_alias
    787 host_alias
    788 build_alias
    789 LIBS
    790 ECHO_T
    791 ECHO_N
    792 ECHO_C
    793 DEFS
    794 mandir
    795 localedir
    796 libdir
    797 psdir
    798 pdfdir
    799 dvidir
    800 htmldir
    801 infodir
    802 docdir
    803 oldincludedir
    804 includedir
    805 runstatedir
    806 localstatedir
    807 sharedstatedir
    808 sysconfdir
    809 datadir
    810 datarootdir
    811 libexecdir
    812 sbindir
    813 bindir
    814 program_transform_name
    815 prefix
    816 exec_prefix
    817 PACKAGE_URL
    818 PACKAGE_BUGREPORT
    819 PACKAGE_STRING
    820 PACKAGE_VERSION
    821 PACKAGE_TARNAME
    822 PACKAGE_NAME
    823 PATH_SEPARATOR
    824 SHELL
    825 am__quote'
    826 ac_subst_files=''
    827 ac_user_opts='
    828 enable_option_checking
    829 enable_silent_rules
    830 enable_maintainer_mode
    831 enable_dependency_tracking
    832 enable_selective_werror
    833 enable_strict_compilation
    834 enable_static
    835 enable_shared
    836 with_pic
    837 enable_fast_install
    838 with_aix_soname
    839 with_gnu_ld
    840 with_sysroot
    841 enable_libtool_lock
    842 with_xorg_module_dir
    843 enable_xaa
    844 '
    845       ac_precious_vars='build_alias
    846 host_alias
    847 target_alias
    848 CC
    849 CFLAGS
    850 LDFLAGS
    851 LIBS
    852 CPPFLAGS
    853 PKG_CONFIG
    854 PKG_CONFIG_PATH
    855 PKG_CONFIG_LIBDIR
    856 LT_SYS_LIBRARY_PATH
    857 CCAS
    858 CCASFLAGS
    859 XORG_CFLAGS
    860 XORG_LIBS
    861 XEXT_CFLAGS
    862 XEXT_LIBS'
    863 
    864 
    865 # Initialize some variables set by options.
    866 ac_init_help=
    867 ac_init_version=false
    868 ac_unrecognized_opts=
    869 ac_unrecognized_sep=
    870 # The variables have the same names as the options, with
    871 # dashes changed to underlines.
    872 cache_file=/dev/null
    873 exec_prefix=NONE
    874 no_create=
    875 no_recursion=
    876 prefix=NONE
    877 program_prefix=NONE
    878 program_suffix=NONE
    879 program_transform_name=s,x,x,
    880 silent=
    881 site=
    882 srcdir=
    883 verbose=
    884 x_includes=NONE
    885 x_libraries=NONE
    886 
    887 # Installation directory options.
    888 # These are left unexpanded so users can "make install exec_prefix=/foo"
    889 # and all the variables that are supposed to be based on exec_prefix
    890 # by default will actually change.
    891 # Use braces instead of parens because sh, perl, etc. also accept them.
    892 # (The list follows the same order as the GNU Coding Standards.)
    893 bindir='${exec_prefix}/bin'
    894 sbindir='${exec_prefix}/sbin'
    895 libexecdir='${exec_prefix}/libexec'
    896 datarootdir='${prefix}/share'
    897 datadir='${datarootdir}'
    898 sysconfdir='${prefix}/etc'
    899 sharedstatedir='${prefix}/com'
    900 localstatedir='${prefix}/var'
    901 runstatedir='${localstatedir}/run'
    902 includedir='${prefix}/include'
    903 oldincludedir='/usr/include'
    904 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    905 infodir='${datarootdir}/info'
    906 htmldir='${docdir}'
    907 dvidir='${docdir}'
    908 pdfdir='${docdir}'
    909 psdir='${docdir}'
    910 libdir='${exec_prefix}/lib'
    911 localedir='${datarootdir}/locale'
    912 mandir='${datarootdir}/man'
    913 
    914 ac_prev=
    915 ac_dashdash=
    916 for ac_option
    917 do
    918   # If the previous option needs an argument, assign it.
    919   if test -n "$ac_prev"; then
    920     eval $ac_prev=\$ac_option
    921     ac_prev=
    922     continue
    923   fi
    924 
    925   case $ac_option in
    926   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    927   *=)   ac_optarg= ;;
    928   *)    ac_optarg=yes ;;
    929   esac
    930 
    931   case $ac_dashdash$ac_option in
    932   --)
    933     ac_dashdash=yes ;;
    934 
    935   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    936     ac_prev=bindir ;;
    937   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    938     bindir=$ac_optarg ;;
    939 
    940   -build | --build | --buil | --bui | --bu)
    941     ac_prev=build_alias ;;
    942   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    943     build_alias=$ac_optarg ;;
    944 
    945   -cache-file | --cache-file | --cache-fil | --cache-fi \
    946   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    947     ac_prev=cache_file ;;
    948   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    949   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    950     cache_file=$ac_optarg ;;
    951 
    952   --config-cache | -C)
    953     cache_file=config.cache ;;
    954 
    955   -datadir | --datadir | --datadi | --datad)
    956     ac_prev=datadir ;;
    957   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    958     datadir=$ac_optarg ;;
    959 
    960   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    961   | --dataroo | --dataro | --datar)
    962     ac_prev=datarootdir ;;
    963   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    964   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    965     datarootdir=$ac_optarg ;;
    966 
    967   -disable-* | --disable-*)
    968     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    969     # Reject names that are not valid shell variable names.
    970     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    971       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    972     ac_useropt_orig=$ac_useropt
    973     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    974     case $ac_user_opts in
    975       *"
    976 "enable_$ac_useropt"
    977 "*) ;;
    978       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    979 	 ac_unrecognized_sep=', ';;
    980     esac
    981     eval enable_$ac_useropt=no ;;
    982 
    983   -docdir | --docdir | --docdi | --doc | --do)
    984     ac_prev=docdir ;;
    985   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    986     docdir=$ac_optarg ;;
    987 
    988   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    989     ac_prev=dvidir ;;
    990   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    991     dvidir=$ac_optarg ;;
    992 
    993   -enable-* | --enable-*)
    994     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    995     # Reject names that are not valid shell variable names.
    996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    997       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    998     ac_useropt_orig=$ac_useropt
    999     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1000     case $ac_user_opts in
   1001       *"
   1002 "enable_$ac_useropt"
   1003 "*) ;;
   1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1005 	 ac_unrecognized_sep=', ';;
   1006     esac
   1007     eval enable_$ac_useropt=\$ac_optarg ;;
   1008 
   1009   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1010   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1011   | --exec | --exe | --ex)
   1012     ac_prev=exec_prefix ;;
   1013   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1014   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1015   | --exec=* | --exe=* | --ex=*)
   1016     exec_prefix=$ac_optarg ;;
   1017 
   1018   -gas | --gas | --ga | --g)
   1019     # Obsolete; use --with-gas.
   1020     with_gas=yes ;;
   1021 
   1022   -help | --help | --hel | --he | -h)
   1023     ac_init_help=long ;;
   1024   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1025     ac_init_help=recursive ;;
   1026   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1027     ac_init_help=short ;;
   1028 
   1029   -host | --host | --hos | --ho)
   1030     ac_prev=host_alias ;;
   1031   -host=* | --host=* | --hos=* | --ho=*)
   1032     host_alias=$ac_optarg ;;
   1033 
   1034   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1035     ac_prev=htmldir ;;
   1036   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1037   | --ht=*)
   1038     htmldir=$ac_optarg ;;
   1039 
   1040   -includedir | --includedir | --includedi | --included | --include \
   1041   | --includ | --inclu | --incl | --inc)
   1042     ac_prev=includedir ;;
   1043   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1044   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1045     includedir=$ac_optarg ;;
   1046 
   1047   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1048     ac_prev=infodir ;;
   1049   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1050     infodir=$ac_optarg ;;
   1051 
   1052   -libdir | --libdir | --libdi | --libd)
   1053     ac_prev=libdir ;;
   1054   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1055     libdir=$ac_optarg ;;
   1056 
   1057   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1058   | --libexe | --libex | --libe)
   1059     ac_prev=libexecdir ;;
   1060   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1061   | --libexe=* | --libex=* | --libe=*)
   1062     libexecdir=$ac_optarg ;;
   1063 
   1064   -localedir | --localedir | --localedi | --localed | --locale)
   1065     ac_prev=localedir ;;
   1066   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1067     localedir=$ac_optarg ;;
   1068 
   1069   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1070   | --localstate | --localstat | --localsta | --localst | --locals)
   1071     ac_prev=localstatedir ;;
   1072   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1073   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1074     localstatedir=$ac_optarg ;;
   1075 
   1076   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1077     ac_prev=mandir ;;
   1078   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1079     mandir=$ac_optarg ;;
   1080 
   1081   -nfp | --nfp | --nf)
   1082     # Obsolete; use --without-fp.
   1083     with_fp=no ;;
   1084 
   1085   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1086   | --no-cr | --no-c | -n)
   1087     no_create=yes ;;
   1088 
   1089   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1090   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1091     no_recursion=yes ;;
   1092 
   1093   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1094   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1095   | --oldin | --oldi | --old | --ol | --o)
   1096     ac_prev=oldincludedir ;;
   1097   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1098   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1099   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1100     oldincludedir=$ac_optarg ;;
   1101 
   1102   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1103     ac_prev=prefix ;;
   1104   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1105     prefix=$ac_optarg ;;
   1106 
   1107   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1108   | --program-pre | --program-pr | --program-p)
   1109     ac_prev=program_prefix ;;
   1110   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1111   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1112     program_prefix=$ac_optarg ;;
   1113 
   1114   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1115   | --program-suf | --program-su | --program-s)
   1116     ac_prev=program_suffix ;;
   1117   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1118   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1119     program_suffix=$ac_optarg ;;
   1120 
   1121   -program-transform-name | --program-transform-name \
   1122   | --program-transform-nam | --program-transform-na \
   1123   | --program-transform-n | --program-transform- \
   1124   | --program-transform | --program-transfor \
   1125   | --program-transfo | --program-transf \
   1126   | --program-trans | --program-tran \
   1127   | --progr-tra | --program-tr | --program-t)
   1128     ac_prev=program_transform_name ;;
   1129   -program-transform-name=* | --program-transform-name=* \
   1130   | --program-transform-nam=* | --program-transform-na=* \
   1131   | --program-transform-n=* | --program-transform-=* \
   1132   | --program-transform=* | --program-transfor=* \
   1133   | --program-transfo=* | --program-transf=* \
   1134   | --program-trans=* | --program-tran=* \
   1135   | --progr-tra=* | --program-tr=* | --program-t=*)
   1136     program_transform_name=$ac_optarg ;;
   1137 
   1138   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1139     ac_prev=pdfdir ;;
   1140   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1141     pdfdir=$ac_optarg ;;
   1142 
   1143   -psdir | --psdir | --psdi | --psd | --ps)
   1144     ac_prev=psdir ;;
   1145   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1146     psdir=$ac_optarg ;;
   1147 
   1148   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1149   | -silent | --silent | --silen | --sile | --sil)
   1150     silent=yes ;;
   1151 
   1152   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1153   | --runstate | --runstat | --runsta | --runst | --runs \
   1154   | --run | --ru | --r)
   1155     ac_prev=runstatedir ;;
   1156   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1157   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1158   | --run=* | --ru=* | --r=*)
   1159     runstatedir=$ac_optarg ;;
   1160 
   1161   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1162     ac_prev=sbindir ;;
   1163   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1164   | --sbi=* | --sb=*)
   1165     sbindir=$ac_optarg ;;
   1166 
   1167   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1168   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1169   | --sharedst | --shareds | --shared | --share | --shar \
   1170   | --sha | --sh)
   1171     ac_prev=sharedstatedir ;;
   1172   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1173   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1174   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1175   | --sha=* | --sh=*)
   1176     sharedstatedir=$ac_optarg ;;
   1177 
   1178   -site | --site | --sit)
   1179     ac_prev=site ;;
   1180   -site=* | --site=* | --sit=*)
   1181     site=$ac_optarg ;;
   1182 
   1183   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1184     ac_prev=srcdir ;;
   1185   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1186     srcdir=$ac_optarg ;;
   1187 
   1188   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1189   | --syscon | --sysco | --sysc | --sys | --sy)
   1190     ac_prev=sysconfdir ;;
   1191   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1192   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1193     sysconfdir=$ac_optarg ;;
   1194 
   1195   -target | --target | --targe | --targ | --tar | --ta | --t)
   1196     ac_prev=target_alias ;;
   1197   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1198     target_alias=$ac_optarg ;;
   1199 
   1200   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1201     verbose=yes ;;
   1202 
   1203   -version | --version | --versio | --versi | --vers | -V)
   1204     ac_init_version=: ;;
   1205 
   1206   -with-* | --with-*)
   1207     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1208     # Reject names that are not valid shell variable names.
   1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1210       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1211     ac_useropt_orig=$ac_useropt
   1212     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1213     case $ac_user_opts in
   1214       *"
   1215 "with_$ac_useropt"
   1216 "*) ;;
   1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1218 	 ac_unrecognized_sep=', ';;
   1219     esac
   1220     eval with_$ac_useropt=\$ac_optarg ;;
   1221 
   1222   -without-* | --without-*)
   1223     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1224     # Reject names that are not valid shell variable names.
   1225     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1226       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1227     ac_useropt_orig=$ac_useropt
   1228     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1229     case $ac_user_opts in
   1230       *"
   1231 "with_$ac_useropt"
   1232 "*) ;;
   1233       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1234 	 ac_unrecognized_sep=', ';;
   1235     esac
   1236     eval with_$ac_useropt=no ;;
   1237 
   1238   --x)
   1239     # Obsolete; use --with-x.
   1240     with_x=yes ;;
   1241 
   1242   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1243   | --x-incl | --x-inc | --x-in | --x-i)
   1244     ac_prev=x_includes ;;
   1245   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1246   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1247     x_includes=$ac_optarg ;;
   1248 
   1249   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1250   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1251     ac_prev=x_libraries ;;
   1252   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1253   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1254     x_libraries=$ac_optarg ;;
   1255 
   1256   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1257 Try \`$0 --help' for more information"
   1258     ;;
   1259 
   1260   *=*)
   1261     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1262     # Reject names that are not valid shell variable names.
   1263     case $ac_envvar in #(
   1264       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1265       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1266     esac
   1267     eval $ac_envvar=\$ac_optarg
   1268     export $ac_envvar ;;
   1269 
   1270   *)
   1271     # FIXME: should be removed in autoconf 3.0.
   1272     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1273     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1274       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1275     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1276     ;;
   1277 
   1278   esac
   1279 done
   1280 
   1281 if test -n "$ac_prev"; then
   1282   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1283   as_fn_error $? "missing argument to $ac_option"
   1284 fi
   1285 
   1286 if test -n "$ac_unrecognized_opts"; then
   1287   case $enable_option_checking in
   1288     no) ;;
   1289     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1290     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1291   esac
   1292 fi
   1293 
   1294 # Check all directory arguments for consistency.
   1295 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1296 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1297 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1298 		libdir localedir mandir runstatedir
   1299 do
   1300   eval ac_val=\$$ac_var
   1301   # Remove trailing slashes.
   1302   case $ac_val in
   1303     */ )
   1304       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1305       eval $ac_var=\$ac_val;;
   1306   esac
   1307   # Be sure to have absolute directory names.
   1308   case $ac_val in
   1309     [\\/$]* | ?:[\\/]* )  continue;;
   1310     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1311   esac
   1312   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1313 done
   1314 
   1315 # There might be people who depend on the old broken behavior: `$host'
   1316 # used to hold the argument of --host etc.
   1317 # FIXME: To remove some day.
   1318 build=$build_alias
   1319 host=$host_alias
   1320 target=$target_alias
   1321 
   1322 # FIXME: To remove some day.
   1323 if test "x$host_alias" != x; then
   1324   if test "x$build_alias" = x; then
   1325     cross_compiling=maybe
   1326   elif test "x$build_alias" != "x$host_alias"; then
   1327     cross_compiling=yes
   1328   fi
   1329 fi
   1330 
   1331 ac_tool_prefix=
   1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1333 
   1334 test "$silent" = yes && exec 6>/dev/null
   1335 
   1336 
   1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1338 ac_ls_di=`ls -di .` &&
   1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1340   as_fn_error $? "working directory cannot be determined"
   1341 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1342   as_fn_error $? "pwd does not report name of working directory"
   1343 
   1344 
   1345 # Find the source files, if location was not specified.
   1346 if test -z "$srcdir"; then
   1347   ac_srcdir_defaulted=yes
   1348   # Try the directory containing this script, then the parent directory.
   1349   ac_confdir=`$as_dirname -- "$as_myself" ||
   1350 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1351 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1352 	 X"$as_myself" : 'X\(//\)$' \| \
   1353 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1354 printf "%s\n" X"$as_myself" |
   1355     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  /^X\(\/\/\)[^/].*/{
   1360 	    s//\1/
   1361 	    q
   1362 	  }
   1363 	  /^X\(\/\/\)$/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\).*/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  s/.*/./; q'`
   1372   srcdir=$ac_confdir
   1373   if test ! -r "$srcdir/$ac_unique_file"; then
   1374     srcdir=..
   1375   fi
   1376 else
   1377   ac_srcdir_defaulted=no
   1378 fi
   1379 if test ! -r "$srcdir/$ac_unique_file"; then
   1380   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1381   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1382 fi
   1383 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1384 ac_abs_confdir=`(
   1385 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1386 	pwd)`
   1387 # When building in place, set srcdir=.
   1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1389   srcdir=.
   1390 fi
   1391 # Remove unnecessary trailing slashes from srcdir.
   1392 # Double slashes in file names in object file debugging info
   1393 # mess up M-x gdb in Emacs.
   1394 case $srcdir in
   1395 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1396 esac
   1397 for ac_var in $ac_precious_vars; do
   1398   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1399   eval ac_env_${ac_var}_value=\$${ac_var}
   1400   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1402 done
   1403 
   1404 #
   1405 # Report the --help message.
   1406 #
   1407 if test "$ac_init_help" = "long"; then
   1408   # Omit some internal or obsolete options to make the list less imposing.
   1409   # This message is too long to be a string in the A/UX 3.1 sh.
   1410   cat <<_ACEOF
   1411 \`configure' configures xf86-video-sunffb 1.2.3 to adapt to many kinds of systems.
   1412 
   1413 Usage: $0 [OPTION]... [VAR=VALUE]...
   1414 
   1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1416 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1417 
   1418 Defaults for the options are specified in brackets.
   1419 
   1420 Configuration:
   1421   -h, --help              display this help and exit
   1422       --help=short        display options specific to this package
   1423       --help=recursive    display the short help of all the included packages
   1424   -V, --version           display version information and exit
   1425   -q, --quiet, --silent   do not print \`checking ...' messages
   1426       --cache-file=FILE   cache test results in FILE [disabled]
   1427   -C, --config-cache      alias for \`--cache-file=config.cache'
   1428   -n, --no-create         do not create output files
   1429       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1430 
   1431 Installation directories:
   1432   --prefix=PREFIX         install architecture-independent files in PREFIX
   1433                           [$ac_default_prefix]
   1434   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1435                           [PREFIX]
   1436 
   1437 By default, \`make install' will install all the files in
   1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1440 for instance \`--prefix=\$HOME'.
   1441 
   1442 For better control, use the options below.
   1443 
   1444 Fine tuning of the installation directories:
   1445   --bindir=DIR            user executables [EPREFIX/bin]
   1446   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1447   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1448   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1449   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1450   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1451   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1452   --libdir=DIR            object code libraries [EPREFIX/lib]
   1453   --includedir=DIR        C header files [PREFIX/include]
   1454   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1455   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1456   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1457   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1458   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1459   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1460   --docdir=DIR            documentation root
   1461                           [DATAROOTDIR/doc/xf86-video-sunffb]
   1462   --htmldir=DIR           html documentation [DOCDIR]
   1463   --dvidir=DIR            dvi documentation [DOCDIR]
   1464   --pdfdir=DIR            pdf documentation [DOCDIR]
   1465   --psdir=DIR             ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478 _ACEOF
   1479 fi
   1480 
   1481 if test -n "$ac_init_help"; then
   1482   case $ac_init_help in
   1483      short | recursive ) echo "Configuration of xf86-video-sunffb 1.2.3:";;
   1484    esac
   1485   cat <<\_ACEOF
   1486 
   1487 Optional Features:
   1488   --disable-option-checking  ignore unrecognized --enable/--with options
   1489   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1490   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1491   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1492   --disable-silent-rules  verbose build output (undo: "make V=0")
   1493   --enable-maintainer-mode
   1494                           enable make rules and dependencies not useful (and
   1495                           sometimes confusing) to the casual installer
   1496   --enable-dependency-tracking
   1497                           do not reject slow dependency extractors
   1498   --disable-dependency-tracking
   1499                           speeds up one-time build
   1500   --disable-selective-werror
   1501                           Turn off selective compiler errors. (default:
   1502                           enabled)
   1503   --enable-strict-compilation
   1504                           Enable all warnings from compiler and make them
   1505                           errors (default: disabled)
   1506   --enable-static[=PKGS]  build static libraries [default=no]
   1507   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1508   --enable-fast-install[=PKGS]
   1509                           optimize for fast installation [default=yes]
   1510   --disable-libtool-lock  avoid locking (might break parallel builds)
   1511   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1512                           [default=auto]
   1513 
   1514 Optional Packages:
   1515   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1516   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1517   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1518                           both]
   1519   --with-aix-soname=aix|svr4|both
   1520                           shared library versioning (aka "SONAME") variant to
   1521                           provide on AIX, [default=aix].
   1522   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1523   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1524                           compiler's sysroot if not specified).
   1525   --with-xorg-module-dir=DIR
   1526                           Default xorg module directory
   1527                           [[default=$libdir/xorg/modules]]
   1528 
   1529 Some influential environment variables:
   1530   CC          C compiler command
   1531   CFLAGS      C compiler flags
   1532   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1533               nonstandard directory <lib dir>
   1534   LIBS        libraries to pass to the linker, e.g. -l<library>
   1535   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1536               you have headers in a nonstandard directory <include dir>
   1537   PKG_CONFIG  path to pkg-config utility
   1538   PKG_CONFIG_PATH
   1539               directories to add to pkg-config's search path
   1540   PKG_CONFIG_LIBDIR
   1541               path overriding pkg-config's built-in search path
   1542   LT_SYS_LIBRARY_PATH
   1543               User-defined run-time library search path.
   1544   CCAS        assembler compiler command (defaults to CC)
   1545   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1546   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1547   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1548   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1549   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1550 
   1551 Use these variables to override the choices made by `configure' or to help
   1552 it to find libraries and programs with nonstandard names/locations.
   1553 
   1554 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/issues>.
   1555 _ACEOF
   1556 ac_status=$?
   1557 fi
   1558 
   1559 if test "$ac_init_help" = "recursive"; then
   1560   # If there are subdirs, report their specific --help.
   1561   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1562     test -d "$ac_dir" ||
   1563       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1564       continue
   1565     ac_builddir=.
   1566 
   1567 case "$ac_dir" in
   1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1569 *)
   1570   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1571   # A ".." for each directory in $ac_dir_suffix.
   1572   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1573   case $ac_top_builddir_sub in
   1574   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1575   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1576   esac ;;
   1577 esac
   1578 ac_abs_top_builddir=$ac_pwd
   1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1580 # for backward compatibility:
   1581 ac_top_builddir=$ac_top_build_prefix
   1582 
   1583 case $srcdir in
   1584   .)  # We are building in place.
   1585     ac_srcdir=.
   1586     ac_top_srcdir=$ac_top_builddir_sub
   1587     ac_abs_top_srcdir=$ac_pwd ;;
   1588   [\\/]* | ?:[\\/]* )  # Absolute name.
   1589     ac_srcdir=$srcdir$ac_dir_suffix;
   1590     ac_top_srcdir=$srcdir
   1591     ac_abs_top_srcdir=$srcdir ;;
   1592   *) # Relative name.
   1593     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1594     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1595     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1596 esac
   1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1598 
   1599     cd "$ac_dir" || { ac_status=$?; continue; }
   1600     # Check for configure.gnu first; this name is used for a wrapper for
   1601     # Metaconfig's "Configure" on case-insensitive file systems.
   1602     if test -f "$ac_srcdir/configure.gnu"; then
   1603       echo &&
   1604       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1605     elif test -f "$ac_srcdir/configure"; then
   1606       echo &&
   1607       $SHELL "$ac_srcdir/configure" --help=recursive
   1608     else
   1609       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1610     fi || ac_status=$?
   1611     cd "$ac_pwd" || { ac_status=$?; break; }
   1612   done
   1613 fi
   1614 
   1615 test -n "$ac_init_help" && exit $ac_status
   1616 if $ac_init_version; then
   1617   cat <<\_ACEOF
   1618 xf86-video-sunffb configure 1.2.3
   1619 generated by GNU Autoconf 2.71
   1620 
   1621 Copyright (C) 2021 Free Software Foundation, Inc.
   1622 This configure script is free software; the Free Software Foundation
   1623 gives unlimited permission to copy, distribute and modify it.
   1624 _ACEOF
   1625   exit
   1626 fi
   1627 
   1628 ## ------------------------ ##
   1629 ## Autoconf initialization. ##
   1630 ## ------------------------ ##
   1631 
   1632 # ac_fn_c_try_compile LINENO
   1633 # --------------------------
   1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1635 ac_fn_c_try_compile ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   rm -f conftest.$ac_objext conftest.beam
   1639   if { { ac_try="$ac_compile"
   1640 case "(($ac_try" in
   1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1642   *) ac_try_echo=$ac_try;;
   1643 esac
   1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1645 printf "%s\n" "$ac_try_echo"; } >&5
   1646   (eval "$ac_compile") 2>conftest.err
   1647   ac_status=$?
   1648   if test -s conftest.err; then
   1649     grep -v '^ *+' conftest.err >conftest.er1
   1650     cat conftest.er1 >&5
   1651     mv -f conftest.er1 conftest.err
   1652   fi
   1653   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && {
   1655 	 test -z "$ac_c_werror_flag" ||
   1656 	 test ! -s conftest.err
   1657        } && test -s conftest.$ac_objext
   1658 then :
   1659   ac_retval=0
   1660 else $as_nop
   1661   printf "%s\n" "$as_me: failed program was:" >&5
   1662 sed 's/^/| /' conftest.$ac_ext >&5
   1663 
   1664 	ac_retval=1
   1665 fi
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667   as_fn_set_status $ac_retval
   1668 
   1669 } # ac_fn_c_try_compile
   1670 
   1671 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1672 # ------------------------------------------------------------------
   1673 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1674 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1675 ac_fn_check_decl ()
   1676 {
   1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1678   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1680 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1681 if eval test \${$3+y}
   1682 then :
   1683   printf %s "(cached) " >&6
   1684 else $as_nop
   1685   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1686   eval ac_save_FLAGS=\$$6
   1687   as_fn_append $6 " $5"
   1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1689 /* end confdefs.h.  */
   1690 $4
   1691 int
   1692 main (void)
   1693 {
   1694 #ifndef $as_decl_name
   1695 #ifdef __cplusplus
   1696   (void) $as_decl_use;
   1697 #else
   1698   (void) $as_decl_name;
   1699 #endif
   1700 #endif
   1701 
   1702   ;
   1703   return 0;
   1704 }
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"
   1707 then :
   1708   eval "$3=yes"
   1709 else $as_nop
   1710   eval "$3=no"
   1711 fi
   1712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1713   eval $6=\$ac_save_FLAGS
   1714 
   1715 fi
   1716 eval ac_res=\$$3
   1717 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1718 printf "%s\n" "$ac_res" >&6; }
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720 
   1721 } # ac_fn_check_decl
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 printf %s "checking for $2... " >&6; }
   1732 if eval test \${$3+y}
   1733 then :
   1734   printf %s "(cached) " >&6
   1735 else $as_nop
   1736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_compile "$LINENO"
   1742 then :
   1743   eval "$3=yes"
   1744 else $as_nop
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 printf "%s\n" "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 printf "%s\n" "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }
   1785 then :
   1786   ac_retval=0
   1787 else $as_nop
   1788   printf "%s\n" "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1
   1792 fi
   1793   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1794   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1795   # interfere with the next link command; also delete a directory that is
   1796   # left behind by Apple's compiler.  We do this before executing the actions.
   1797   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799   as_fn_set_status $ac_retval
   1800 
   1801 } # ac_fn_c_try_link
   1802 
   1803 # ac_fn_c_check_func LINENO FUNC VAR
   1804 # ----------------------------------
   1805 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1806 ac_fn_c_check_func ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 printf %s "checking for $2... " >&6; }
   1811 if eval test \${$3+y}
   1812 then :
   1813   printf %s "(cached) " >&6
   1814 else $as_nop
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1819 #define $2 innocuous_$2
   1820 
   1821 /* System header to define __stub macros and hopefully few prototypes,
   1822    which can conflict with char $2 (); below.  */
   1823 
   1824 #include <limits.h>
   1825 #undef $2
   1826 
   1827 /* Override any GCC internal prototype to avoid an error.
   1828    Use char because int might match the return type of a GCC
   1829    builtin and then its argument prototype would still apply.  */
   1830 #ifdef __cplusplus
   1831 extern "C"
   1832 #endif
   1833 char $2 ();
   1834 /* The GNU C library defines this for functions which it implements
   1835     to always fail with ENOSYS.  Some functions are actually named
   1836     something starting with __ and the normal name is an alias.  */
   1837 #if defined __stub_$2 || defined __stub___$2
   1838 choke me
   1839 #endif
   1840 
   1841 int
   1842 main (void)
   1843 {
   1844 return $2 ();
   1845   ;
   1846   return 0;
   1847 }
   1848 _ACEOF
   1849 if ac_fn_c_try_link "$LINENO"
   1850 then :
   1851   eval "$3=yes"
   1852 else $as_nop
   1853   eval "$3=no"
   1854 fi
   1855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1856     conftest$ac_exeext conftest.$ac_ext
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 printf "%s\n" "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_func
   1864 ac_configure_args_raw=
   1865 for ac_arg
   1866 do
   1867   case $ac_arg in
   1868   *\'*)
   1869     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1870   esac
   1871   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1872 done
   1873 
   1874 case $ac_configure_args_raw in
   1875   *$as_nl*)
   1876     ac_safe_unquote= ;;
   1877   *)
   1878     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1879     ac_unsafe_a="$ac_unsafe_z#~"
   1880     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1881     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1882 esac
   1883 
   1884 cat >config.log <<_ACEOF
   1885 This file contains any messages produced by compilers while
   1886 running configure, to aid debugging if configure makes a mistake.
   1887 
   1888 It was created by xf86-video-sunffb $as_me 1.2.3, which was
   1889 generated by GNU Autoconf 2.71.  Invocation command line was
   1890 
   1891   $ $0$ac_configure_args_raw
   1892 
   1893 _ACEOF
   1894 exec 5>>config.log
   1895 {
   1896 cat <<_ASUNAME
   1897 ## --------- ##
   1898 ## Platform. ##
   1899 ## --------- ##
   1900 
   1901 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1902 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1903 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1904 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1905 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1906 
   1907 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1908 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1909 
   1910 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1911 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1912 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1913 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1914 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1915 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1916 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1917 
   1918 _ASUNAME
   1919 
   1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1921 for as_dir in $PATH
   1922 do
   1923   IFS=$as_save_IFS
   1924   case $as_dir in #(((
   1925     '') as_dir=./ ;;
   1926     */) ;;
   1927     *) as_dir=$as_dir/ ;;
   1928   esac
   1929     printf "%s\n" "PATH: $as_dir"
   1930   done
   1931 IFS=$as_save_IFS
   1932 
   1933 } >&5
   1934 
   1935 cat >&5 <<_ACEOF
   1936 
   1937 
   1938 ## ----------- ##
   1939 ## Core tests. ##
   1940 ## ----------- ##
   1941 
   1942 _ACEOF
   1943 
   1944 
   1945 # Keep a trace of the command line.
   1946 # Strip out --no-create and --no-recursion so they do not pile up.
   1947 # Strip out --silent because we don't want to record it for future runs.
   1948 # Also quote any args containing shell meta-characters.
   1949 # Make two passes to allow for proper duplicate-argument suppression.
   1950 ac_configure_args=
   1951 ac_configure_args0=
   1952 ac_configure_args1=
   1953 ac_must_keep_next=false
   1954 for ac_pass in 1 2
   1955 do
   1956   for ac_arg
   1957   do
   1958     case $ac_arg in
   1959     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1960     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1961     | -silent | --silent | --silen | --sile | --sil)
   1962       continue ;;
   1963     *\'*)
   1964       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1965     esac
   1966     case $ac_pass in
   1967     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1968     2)
   1969       as_fn_append ac_configure_args1 " '$ac_arg'"
   1970       if test $ac_must_keep_next = true; then
   1971 	ac_must_keep_next=false # Got value, back to normal.
   1972       else
   1973 	case $ac_arg in
   1974 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1975 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1976 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1977 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1978 	    case "$ac_configure_args0 " in
   1979 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1980 	    esac
   1981 	    ;;
   1982 	  -* ) ac_must_keep_next=true ;;
   1983 	esac
   1984       fi
   1985       as_fn_append ac_configure_args " '$ac_arg'"
   1986       ;;
   1987     esac
   1988   done
   1989 done
   1990 { ac_configure_args0=; unset ac_configure_args0;}
   1991 { ac_configure_args1=; unset ac_configure_args1;}
   1992 
   1993 # When interrupted or exit'd, cleanup temporary files, and complete
   1994 # config.log.  We remove comments because anyway the quotes in there
   1995 # would cause problems or look ugly.
   1996 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1997 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1998 trap 'exit_status=$?
   1999   # Sanitize IFS.
   2000   IFS=" ""	$as_nl"
   2001   # Save into config.log some information that might help in debugging.
   2002   {
   2003     echo
   2004 
   2005     printf "%s\n" "## ---------------- ##
   2006 ## Cache variables. ##
   2007 ## ---------------- ##"
   2008     echo
   2009     # The following way of writing the cache mishandles newlines in values,
   2010 (
   2011   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2012     eval ac_val=\$$ac_var
   2013     case $ac_val in #(
   2014     *${as_nl}*)
   2015       case $ac_var in #(
   2016       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2017 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2018       esac
   2019       case $ac_var in #(
   2020       _ | IFS | as_nl) ;; #(
   2021       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2022       *) { eval $ac_var=; unset $ac_var;} ;;
   2023       esac ;;
   2024     esac
   2025   done
   2026   (set) 2>&1 |
   2027     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2028     *${as_nl}ac_space=\ *)
   2029       sed -n \
   2030 	"s/'\''/'\''\\\\'\'''\''/g;
   2031 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2032       ;; #(
   2033     *)
   2034       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2035       ;;
   2036     esac |
   2037     sort
   2038 )
   2039     echo
   2040 
   2041     printf "%s\n" "## ----------------- ##
   2042 ## Output variables. ##
   2043 ## ----------------- ##"
   2044     echo
   2045     for ac_var in $ac_subst_vars
   2046     do
   2047       eval ac_val=\$$ac_var
   2048       case $ac_val in
   2049       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2050       esac
   2051       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2052     done | sort
   2053     echo
   2054 
   2055     if test -n "$ac_subst_files"; then
   2056       printf "%s\n" "## ------------------- ##
   2057 ## File substitutions. ##
   2058 ## ------------------- ##"
   2059       echo
   2060       for ac_var in $ac_subst_files
   2061       do
   2062 	eval ac_val=\$$ac_var
   2063 	case $ac_val in
   2064 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2065 	esac
   2066 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2067       done | sort
   2068       echo
   2069     fi
   2070 
   2071     if test -s confdefs.h; then
   2072       printf "%s\n" "## ----------- ##
   2073 ## confdefs.h. ##
   2074 ## ----------- ##"
   2075       echo
   2076       cat confdefs.h
   2077       echo
   2078     fi
   2079     test "$ac_signal" != 0 &&
   2080       printf "%s\n" "$as_me: caught signal $ac_signal"
   2081     printf "%s\n" "$as_me: exit $exit_status"
   2082   } >&5
   2083   rm -f core *.core core.conftest.* &&
   2084     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2085     exit $exit_status
   2086 ' 0
   2087 for ac_signal in 1 2 13 15; do
   2088   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2089 done
   2090 ac_signal=0
   2091 
   2092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2093 rm -f -r conftest* confdefs.h
   2094 
   2095 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2096 
   2097 # Predefined preprocessor variables.
   2098 
   2099 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2100 
   2101 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2102 
   2103 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2104 
   2105 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2106 
   2107 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2108 
   2109 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2110 
   2111 
   2112 # Let the site file select an alternate cache file if it wants to.
   2113 # Prefer an explicitly selected file to automatically selected ones.
   2114 if test -n "$CONFIG_SITE"; then
   2115   ac_site_files="$CONFIG_SITE"
   2116 elif test "x$prefix" != xNONE; then
   2117   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2118 else
   2119   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2120 fi
   2121 
   2122 for ac_site_file in $ac_site_files
   2123 do
   2124   case $ac_site_file in #(
   2125   */*) :
   2126      ;; #(
   2127   *) :
   2128     ac_site_file=./$ac_site_file ;;
   2129 esac
   2130   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2131     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2132 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2133     sed 's/^/| /' "$ac_site_file" >&5
   2134     . "$ac_site_file" \
   2135       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2136 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2137 as_fn_error $? "failed to load site script $ac_site_file
   2138 See \`config.log' for more details" "$LINENO" 5; }
   2139   fi
   2140 done
   2141 
   2142 if test -r "$cache_file"; then
   2143   # Some versions of bash will fail to source /dev/null (special files
   2144   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2145   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2146     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2147 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2148     case $cache_file in
   2149       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2150       *)                      . "./$cache_file";;
   2151     esac
   2152   fi
   2153 else
   2154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2155 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2156   >$cache_file
   2157 fi
   2158 
   2159 # Test code for whether the C compiler supports C89 (global declarations)
   2160 ac_c_conftest_c89_globals='
   2161 /* Does the compiler advertise C89 conformance?
   2162    Do not test the value of __STDC__, because some compilers set it to 0
   2163    while being otherwise adequately conformant. */
   2164 #if !defined __STDC__
   2165 # error "Compiler does not advertise C89 conformance"
   2166 #endif
   2167 
   2168 #include <stddef.h>
   2169 #include <stdarg.h>
   2170 struct stat;
   2171 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2172 struct buf { int x; };
   2173 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2174 static char *e (p, i)
   2175      char **p;
   2176      int i;
   2177 {
   2178   return p[i];
   2179 }
   2180 static char *f (char * (*g) (char **, int), char **p, ...)
   2181 {
   2182   char *s;
   2183   va_list v;
   2184   va_start (v,p);
   2185   s = g (p, va_arg (v,int));
   2186   va_end (v);
   2187   return s;
   2188 }
   2189 
   2190 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2191    function prototypes and stuff, but not \xHH hex character constants.
   2192    These do not provoke an error unfortunately, instead are silently treated
   2193    as an "x".  The following induces an error, until -std is added to get
   2194    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2195    array size at least.  It is necessary to write \x00 == 0 to get something
   2196    that is true only with -std.  */
   2197 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2198 
   2199 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2200    inside strings and character constants.  */
   2201 #define FOO(x) '\''x'\''
   2202 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2203 
   2204 int test (int i, double x);
   2205 struct s1 {int (*f) (int a);};
   2206 struct s2 {int (*f) (double a);};
   2207 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2208                int, int);'
   2209 
   2210 # Test code for whether the C compiler supports C89 (body of main).
   2211 ac_c_conftest_c89_main='
   2212 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2213 '
   2214 
   2215 # Test code for whether the C compiler supports C99 (global declarations)
   2216 ac_c_conftest_c99_globals='
   2217 // Does the compiler advertise C99 conformance?
   2218 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2219 # error "Compiler does not advertise C99 conformance"
   2220 #endif
   2221 
   2222 #include <stdbool.h>
   2223 extern int puts (const char *);
   2224 extern int printf (const char *, ...);
   2225 extern int dprintf (int, const char *, ...);
   2226 extern void *malloc (size_t);
   2227 
   2228 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2229 // dprintf is used instead of fprintf to avoid needing to declare
   2230 // FILE and stderr.
   2231 #define debug(...) dprintf (2, __VA_ARGS__)
   2232 #define showlist(...) puts (#__VA_ARGS__)
   2233 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2234 static void
   2235 test_varargs_macros (void)
   2236 {
   2237   int x = 1234;
   2238   int y = 5678;
   2239   debug ("Flag");
   2240   debug ("X = %d\n", x);
   2241   showlist (The first, second, and third items.);
   2242   report (x>y, "x is %d but y is %d", x, y);
   2243 }
   2244 
   2245 // Check long long types.
   2246 #define BIG64 18446744073709551615ull
   2247 #define BIG32 4294967295ul
   2248 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2249 #if !BIG_OK
   2250   #error "your preprocessor is broken"
   2251 #endif
   2252 #if BIG_OK
   2253 #else
   2254   #error "your preprocessor is broken"
   2255 #endif
   2256 static long long int bignum = -9223372036854775807LL;
   2257 static unsigned long long int ubignum = BIG64;
   2258 
   2259 struct incomplete_array
   2260 {
   2261   int datasize;
   2262   double data[];
   2263 };
   2264 
   2265 struct named_init {
   2266   int number;
   2267   const wchar_t *name;
   2268   double average;
   2269 };
   2270 
   2271 typedef const char *ccp;
   2272 
   2273 static inline int
   2274 test_restrict (ccp restrict text)
   2275 {
   2276   // See if C++-style comments work.
   2277   // Iterate through items via the restricted pointer.
   2278   // Also check for declarations in for loops.
   2279   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2280     continue;
   2281   return 0;
   2282 }
   2283 
   2284 // Check varargs and va_copy.
   2285 static bool
   2286 test_varargs (const char *format, ...)
   2287 {
   2288   va_list args;
   2289   va_start (args, format);
   2290   va_list args_copy;
   2291   va_copy (args_copy, args);
   2292 
   2293   const char *str = "";
   2294   int number = 0;
   2295   float fnumber = 0;
   2296 
   2297   while (*format)
   2298     {
   2299       switch (*format++)
   2300 	{
   2301 	case '\''s'\'': // string
   2302 	  str = va_arg (args_copy, const char *);
   2303 	  break;
   2304 	case '\''d'\'': // int
   2305 	  number = va_arg (args_copy, int);
   2306 	  break;
   2307 	case '\''f'\'': // float
   2308 	  fnumber = va_arg (args_copy, double);
   2309 	  break;
   2310 	default:
   2311 	  break;
   2312 	}
   2313     }
   2314   va_end (args_copy);
   2315   va_end (args);
   2316 
   2317   return *str && number && fnumber;
   2318 }
   2319 '
   2320 
   2321 # Test code for whether the C compiler supports C99 (body of main).
   2322 ac_c_conftest_c99_main='
   2323   // Check bool.
   2324   _Bool success = false;
   2325   success |= (argc != 0);
   2326 
   2327   // Check restrict.
   2328   if (test_restrict ("String literal") == 0)
   2329     success = true;
   2330   char *restrict newvar = "Another string";
   2331 
   2332   // Check varargs.
   2333   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2334   test_varargs_macros ();
   2335 
   2336   // Check flexible array members.
   2337   struct incomplete_array *ia =
   2338     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2339   ia->datasize = 10;
   2340   for (int i = 0; i < ia->datasize; ++i)
   2341     ia->data[i] = i * 1.234;
   2342 
   2343   // Check named initializers.
   2344   struct named_init ni = {
   2345     .number = 34,
   2346     .name = L"Test wide string",
   2347     .average = 543.34343,
   2348   };
   2349 
   2350   ni.number = 58;
   2351 
   2352   int dynamic_array[ni.number];
   2353   dynamic_array[0] = argv[0][0];
   2354   dynamic_array[ni.number - 1] = 543;
   2355 
   2356   // work around unused variable warnings
   2357   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2358 	 || dynamic_array[ni.number - 1] != 543);
   2359 '
   2360 
   2361 # Test code for whether the C compiler supports C11 (global declarations)
   2362 ac_c_conftest_c11_globals='
   2363 // Does the compiler advertise C11 conformance?
   2364 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2365 # error "Compiler does not advertise C11 conformance"
   2366 #endif
   2367 
   2368 // Check _Alignas.
   2369 char _Alignas (double) aligned_as_double;
   2370 char _Alignas (0) no_special_alignment;
   2371 extern char aligned_as_int;
   2372 char _Alignas (0) _Alignas (int) aligned_as_int;
   2373 
   2374 // Check _Alignof.
   2375 enum
   2376 {
   2377   int_alignment = _Alignof (int),
   2378   int_array_alignment = _Alignof (int[100]),
   2379   char_alignment = _Alignof (char)
   2380 };
   2381 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2382 
   2383 // Check _Noreturn.
   2384 int _Noreturn does_not_return (void) { for (;;) continue; }
   2385 
   2386 // Check _Static_assert.
   2387 struct test_static_assert
   2388 {
   2389   int x;
   2390   _Static_assert (sizeof (int) <= sizeof (long int),
   2391                   "_Static_assert does not work in struct");
   2392   long int y;
   2393 };
   2394 
   2395 // Check UTF-8 literals.
   2396 #define u8 syntax error!
   2397 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2398 
   2399 // Check duplicate typedefs.
   2400 typedef long *long_ptr;
   2401 typedef long int *long_ptr;
   2402 typedef long_ptr long_ptr;
   2403 
   2404 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2405 struct anonymous
   2406 {
   2407   union {
   2408     struct { int i; int j; };
   2409     struct { int k; long int l; } w;
   2410   };
   2411   int m;
   2412 } v1;
   2413 '
   2414 
   2415 # Test code for whether the C compiler supports C11 (body of main).
   2416 ac_c_conftest_c11_main='
   2417   _Static_assert ((offsetof (struct anonymous, i)
   2418 		   == offsetof (struct anonymous, w.k)),
   2419 		  "Anonymous union alignment botch");
   2420   v1.i = 2;
   2421   v1.w.k = 5;
   2422   ok |= v1.i != 5;
   2423 '
   2424 
   2425 # Test code for whether the C compiler supports C11 (complete).
   2426 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2427 ${ac_c_conftest_c99_globals}
   2428 ${ac_c_conftest_c11_globals}
   2429 
   2430 int
   2431 main (int argc, char **argv)
   2432 {
   2433   int ok = 0;
   2434   ${ac_c_conftest_c89_main}
   2435   ${ac_c_conftest_c99_main}
   2436   ${ac_c_conftest_c11_main}
   2437   return ok;
   2438 }
   2439 "
   2440 
   2441 # Test code for whether the C compiler supports C99 (complete).
   2442 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2443 ${ac_c_conftest_c99_globals}
   2444 
   2445 int
   2446 main (int argc, char **argv)
   2447 {
   2448   int ok = 0;
   2449   ${ac_c_conftest_c89_main}
   2450   ${ac_c_conftest_c99_main}
   2451   return ok;
   2452 }
   2453 "
   2454 
   2455 # Test code for whether the C compiler supports C89 (complete).
   2456 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2457 
   2458 int
   2459 main (int argc, char **argv)
   2460 {
   2461   int ok = 0;
   2462   ${ac_c_conftest_c89_main}
   2463   return ok;
   2464 }
   2465 "
   2466 
   2467 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2468 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2469 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2470 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2471 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2472 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2473 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2474 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2475 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2476 
   2477 # Auxiliary files required by this configure script.
   2478 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2479 
   2480 # Locations in which to look for auxiliary files.
   2481 ac_aux_dir_candidates="${srcdir}/."
   2482 
   2483 # Search for a directory containing all of the required auxiliary files,
   2484 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2485 # If we don't find one directory that contains all the files we need,
   2486 # we report the set of missing files from the *first* directory in
   2487 # $ac_aux_dir_candidates and give up.
   2488 ac_missing_aux_files=""
   2489 ac_first_candidate=:
   2490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2492 as_found=false
   2493 for as_dir in $ac_aux_dir_candidates
   2494 do
   2495   IFS=$as_save_IFS
   2496   case $as_dir in #(((
   2497     '') as_dir=./ ;;
   2498     */) ;;
   2499     *) as_dir=$as_dir/ ;;
   2500   esac
   2501   as_found=:
   2502 
   2503   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2504   ac_aux_dir_found=yes
   2505   ac_install_sh=
   2506   for ac_aux in $ac_aux_files
   2507   do
   2508     # As a special case, if "install-sh" is required, that requirement
   2509     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2510     # and $ac_install_sh is set appropriately for whichever one is found.
   2511     if test x"$ac_aux" = x"install-sh"
   2512     then
   2513       if test -f "${as_dir}install-sh"; then
   2514         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2515         ac_install_sh="${as_dir}install-sh -c"
   2516       elif test -f "${as_dir}install.sh"; then
   2517         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2518         ac_install_sh="${as_dir}install.sh -c"
   2519       elif test -f "${as_dir}shtool"; then
   2520         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2521         ac_install_sh="${as_dir}shtool install -c"
   2522       else
   2523         ac_aux_dir_found=no
   2524         if $ac_first_candidate; then
   2525           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2526         else
   2527           break
   2528         fi
   2529       fi
   2530     else
   2531       if test -f "${as_dir}${ac_aux}"; then
   2532         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2533       else
   2534         ac_aux_dir_found=no
   2535         if $ac_first_candidate; then
   2536           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2537         else
   2538           break
   2539         fi
   2540       fi
   2541     fi
   2542   done
   2543   if test "$ac_aux_dir_found" = yes; then
   2544     ac_aux_dir="$as_dir"
   2545     break
   2546   fi
   2547   ac_first_candidate=false
   2548 
   2549   as_found=false
   2550 done
   2551 IFS=$as_save_IFS
   2552 if $as_found
   2553 then :
   2554 
   2555 else $as_nop
   2556   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2557 fi
   2558 
   2559 
   2560 # These three variables are undocumented and unsupported,
   2561 # and are intended to be withdrawn in a future Autoconf release.
   2562 # They can cause serious problems if a builder's source tree is in a directory
   2563 # whose full name contains unusual characters.
   2564 if test -f "${ac_aux_dir}config.guess"; then
   2565   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2566 fi
   2567 if test -f "${ac_aux_dir}config.sub"; then
   2568   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2569 fi
   2570 if test -f "$ac_aux_dir/configure"; then
   2571   ac_configure="$SHELL ${ac_aux_dir}configure"
   2572 fi
   2573 
   2574 # Check that the precious variables saved in the cache have kept the same
   2575 # value.
   2576 ac_cache_corrupted=false
   2577 for ac_var in $ac_precious_vars; do
   2578   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2579   eval ac_new_set=\$ac_env_${ac_var}_set
   2580   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2581   eval ac_new_val=\$ac_env_${ac_var}_value
   2582   case $ac_old_set,$ac_new_set in
   2583     set,)
   2584       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2585 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2586       ac_cache_corrupted=: ;;
   2587     ,set)
   2588       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2589 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2590       ac_cache_corrupted=: ;;
   2591     ,);;
   2592     *)
   2593       if test "x$ac_old_val" != "x$ac_new_val"; then
   2594 	# differences in whitespace do not lead to failure.
   2595 	ac_old_val_w=`echo x $ac_old_val`
   2596 	ac_new_val_w=`echo x $ac_new_val`
   2597 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2598 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2599 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2600 	  ac_cache_corrupted=:
   2601 	else
   2602 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2603 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2604 	  eval $ac_var=\$ac_old_val
   2605 	fi
   2606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2607 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2609 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2610       fi;;
   2611   esac
   2612   # Pass precious variables to config.status.
   2613   if test "$ac_new_set" = set; then
   2614     case $ac_new_val in
   2615     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2616     *) ac_arg=$ac_var=$ac_new_val ;;
   2617     esac
   2618     case " $ac_configure_args " in
   2619       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2620       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2621     esac
   2622   fi
   2623 done
   2624 if $ac_cache_corrupted; then
   2625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2626 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2628 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2629   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2630 	    and start over" "$LINENO" 5
   2631 fi
   2632 ## -------------------- ##
   2633 ## Main body of script. ##
   2634 ## -------------------- ##
   2635 
   2636 ac_ext=c
   2637 ac_cpp='$CPP $CPPFLAGS'
   2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2641 
   2642 
   2643 
   2644 ac_config_headers="$ac_config_headers config.h"
   2645 
   2646 
   2647 
   2648 # Initialize Automake
   2649 am__api_version='1.16'
   2650 
   2651 
   2652 
   2653   # Find a good install program.  We prefer a C program (faster),
   2654 # so one script is as good as another.  But avoid the broken or
   2655 # incompatible versions:
   2656 # SysV /etc/install, /usr/sbin/install
   2657 # SunOS /usr/etc/install
   2658 # IRIX /sbin/install
   2659 # AIX /bin/install
   2660 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2664 # OS/2's system install, which has a completely different semantic
   2665 # ./install, which can be erroneously created by make from ./install.sh.
   2666 # Reject install programs that cannot install multiple files.
   2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2668 printf %s "checking for a BSD-compatible install... " >&6; }
   2669 if test -z "$INSTALL"; then
   2670 if test ${ac_cv_path_install+y}
   2671 then :
   2672   printf %s "(cached) " >&6
   2673 else $as_nop
   2674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2675 for as_dir in $PATH
   2676 do
   2677   IFS=$as_save_IFS
   2678   case $as_dir in #(((
   2679     '') as_dir=./ ;;
   2680     */) ;;
   2681     *) as_dir=$as_dir/ ;;
   2682   esac
   2683     # Account for fact that we put trailing slashes in our PATH walk.
   2684 case $as_dir in #((
   2685   ./ | /[cC]/* | \
   2686   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2687   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2688   /usr/ucb/* ) ;;
   2689   *)
   2690     # OSF1 and SCO ODT 3.0 have their own names for install.
   2691     # Don't use installbsd from OSF since it installs stuff as root
   2692     # by default.
   2693     for ac_prog in ginstall scoinst install; do
   2694       for ac_exec_ext in '' $ac_executable_extensions; do
   2695 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2696 	  if test $ac_prog = install &&
   2697 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2698 	    # AIX install.  It has an incompatible calling convention.
   2699 	    :
   2700 	  elif test $ac_prog = install &&
   2701 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # program-specific install script used by HP pwplus--don't use.
   2703 	    :
   2704 	  else
   2705 	    rm -rf conftest.one conftest.two conftest.dir
   2706 	    echo one > conftest.one
   2707 	    echo two > conftest.two
   2708 	    mkdir conftest.dir
   2709 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2710 	      test -s conftest.one && test -s conftest.two &&
   2711 	      test -s conftest.dir/conftest.one &&
   2712 	      test -s conftest.dir/conftest.two
   2713 	    then
   2714 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2715 	      break 3
   2716 	    fi
   2717 	  fi
   2718 	fi
   2719       done
   2720     done
   2721     ;;
   2722 esac
   2723 
   2724   done
   2725 IFS=$as_save_IFS
   2726 
   2727 rm -rf conftest.one conftest.two conftest.dir
   2728 
   2729 fi
   2730   if test ${ac_cv_path_install+y}; then
   2731     INSTALL=$ac_cv_path_install
   2732   else
   2733     # As a last resort, use the slow shell script.  Don't cache a
   2734     # value for INSTALL within a source directory, because that will
   2735     # break other packages using the cache if that directory is
   2736     # removed, or if the value is a relative name.
   2737     INSTALL=$ac_install_sh
   2738   fi
   2739 fi
   2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2741 printf "%s\n" "$INSTALL" >&6; }
   2742 
   2743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2744 # It thinks the first close brace ends the variable substitution.
   2745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2746 
   2747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2748 
   2749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2750 
   2751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2752 printf %s "checking whether build environment is sane... " >&6; }
   2753 # Reject unsafe characters in $srcdir or the absolute working directory
   2754 # name.  Accept space and tab only in the latter.
   2755 am_lf='
   2756 '
   2757 case `pwd` in
   2758   *[\\\"\#\$\&\'\`$am_lf]*)
   2759     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2760 esac
   2761 case $srcdir in
   2762   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2763     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2764 esac
   2765 
   2766 # Do 'set' in a subshell so we don't clobber the current shell's
   2767 # arguments.  Must try -L first in case configure is actually a
   2768 # symlink; some systems play weird games with the mod time of symlinks
   2769 # (eg FreeBSD returns the mod time of the symlink's containing
   2770 # directory).
   2771 if (
   2772    am_has_slept=no
   2773    for am_try in 1 2; do
   2774      echo "timestamp, slept: $am_has_slept" > conftest.file
   2775      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2776      if test "$*" = "X"; then
   2777 	# -L didn't work.
   2778 	set X `ls -t "$srcdir/configure" conftest.file`
   2779      fi
   2780      if test "$*" != "X $srcdir/configure conftest.file" \
   2781 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2782 
   2783 	# If neither matched, then we have a broken ls.  This can happen
   2784 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2785 	# broken ls alias from the environment.  This has actually
   2786 	# happened.  Such a system could not be considered "sane".
   2787 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2788   alias in your environment" "$LINENO" 5
   2789      fi
   2790      if test "$2" = conftest.file || test $am_try -eq 2; then
   2791        break
   2792      fi
   2793      # Just in case.
   2794      sleep 1
   2795      am_has_slept=yes
   2796    done
   2797    test "$2" = conftest.file
   2798    )
   2799 then
   2800    # Ok.
   2801    :
   2802 else
   2803    as_fn_error $? "newly created file is older than distributed files!
   2804 Check your system clock" "$LINENO" 5
   2805 fi
   2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2807 printf "%s\n" "yes" >&6; }
   2808 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2809 # generated files are strictly newer.
   2810 am_sleep_pid=
   2811 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2812   ( sleep 1 ) &
   2813   am_sleep_pid=$!
   2814 fi
   2815 
   2816 rm -f conftest.file
   2817 
   2818 test "$program_prefix" != NONE &&
   2819   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2820 # Use a double $ so make ignores it.
   2821 test "$program_suffix" != NONE &&
   2822   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2823 # Double any \ or $.
   2824 # By default was `s,x,x', remove it if useless.
   2825 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2826 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2827 
   2828 
   2829 # Expand $ac_aux_dir to an absolute path.
   2830 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2831 
   2832 
   2833   if test x"${MISSING+set}" != xset; then
   2834   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2835 fi
   2836 # Use eval to expand $SHELL
   2837 if eval "$MISSING --is-lightweight"; then
   2838   am_missing_run="$MISSING "
   2839 else
   2840   am_missing_run=
   2841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2842 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2843 fi
   2844 
   2845 if test x"${install_sh+set}" != xset; then
   2846   case $am_aux_dir in
   2847   *\ * | *\	*)
   2848     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2849   *)
   2850     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2851   esac
   2852 fi
   2853 
   2854 # Installed binaries are usually stripped using 'strip' when the user
   2855 # run "make install-strip".  However 'strip' might not be the right
   2856 # tool to use in cross-compilation environments, therefore Automake
   2857 # will honor the 'STRIP' environment variable to overrule this program.
   2858 if test "$cross_compiling" != no; then
   2859   if test -n "$ac_tool_prefix"; then
   2860   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2861 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2863 printf %s "checking for $ac_word... " >&6; }
   2864 if test ${ac_cv_prog_STRIP+y}
   2865 then :
   2866   printf %s "(cached) " >&6
   2867 else $as_nop
   2868   if test -n "$STRIP"; then
   2869   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2870 else
   2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2872 for as_dir in $PATH
   2873 do
   2874   IFS=$as_save_IFS
   2875   case $as_dir in #(((
   2876     '') as_dir=./ ;;
   2877     */) ;;
   2878     *) as_dir=$as_dir/ ;;
   2879   esac
   2880     for ac_exec_ext in '' $ac_executable_extensions; do
   2881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2882     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2884     break 2
   2885   fi
   2886 done
   2887   done
   2888 IFS=$as_save_IFS
   2889 
   2890 fi
   2891 fi
   2892 STRIP=$ac_cv_prog_STRIP
   2893 if test -n "$STRIP"; then
   2894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2895 printf "%s\n" "$STRIP" >&6; }
   2896 else
   2897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2898 printf "%s\n" "no" >&6; }
   2899 fi
   2900 
   2901 
   2902 fi
   2903 if test -z "$ac_cv_prog_STRIP"; then
   2904   ac_ct_STRIP=$STRIP
   2905   # Extract the first word of "strip", so it can be a program name with args.
   2906 set dummy strip; ac_word=$2
   2907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2908 printf %s "checking for $ac_word... " >&6; }
   2909 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2910 then :
   2911   printf %s "(cached) " >&6
   2912 else $as_nop
   2913   if test -n "$ac_ct_STRIP"; then
   2914   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2915 else
   2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2917 for as_dir in $PATH
   2918 do
   2919   IFS=$as_save_IFS
   2920   case $as_dir in #(((
   2921     '') as_dir=./ ;;
   2922     */) ;;
   2923     *) as_dir=$as_dir/ ;;
   2924   esac
   2925     for ac_exec_ext in '' $ac_executable_extensions; do
   2926   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2927     ac_cv_prog_ac_ct_STRIP="strip"
   2928     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2929     break 2
   2930   fi
   2931 done
   2932   done
   2933 IFS=$as_save_IFS
   2934 
   2935 fi
   2936 fi
   2937 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2938 if test -n "$ac_ct_STRIP"; then
   2939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2940 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2941 else
   2942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2943 printf "%s\n" "no" >&6; }
   2944 fi
   2945 
   2946   if test "x$ac_ct_STRIP" = x; then
   2947     STRIP=":"
   2948   else
   2949     case $cross_compiling:$ac_tool_warned in
   2950 yes:)
   2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2953 ac_tool_warned=yes ;;
   2954 esac
   2955     STRIP=$ac_ct_STRIP
   2956   fi
   2957 else
   2958   STRIP="$ac_cv_prog_STRIP"
   2959 fi
   2960 
   2961 fi
   2962 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2963 
   2964 
   2965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2966 printf %s "checking for a race-free mkdir -p... " >&6; }
   2967 if test -z "$MKDIR_P"; then
   2968   if test ${ac_cv_path_mkdir+y}
   2969 then :
   2970   printf %s "(cached) " >&6
   2971 else $as_nop
   2972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2973 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2974 do
   2975   IFS=$as_save_IFS
   2976   case $as_dir in #(((
   2977     '') as_dir=./ ;;
   2978     */) ;;
   2979     *) as_dir=$as_dir/ ;;
   2980   esac
   2981     for ac_prog in mkdir gmkdir; do
   2982 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2983 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2984 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2985 	     'mkdir ('*'coreutils) '* | \
   2986 	     'BusyBox '* | \
   2987 	     'mkdir (fileutils) '4.1*)
   2988 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2989 	       break 3;;
   2990 	   esac
   2991 	 done
   2992        done
   2993   done
   2994 IFS=$as_save_IFS
   2995 
   2996 fi
   2997 
   2998   test -d ./--version && rmdir ./--version
   2999   if test ${ac_cv_path_mkdir+y}; then
   3000     MKDIR_P="$ac_cv_path_mkdir -p"
   3001   else
   3002     # As a last resort, use the slow shell script.  Don't cache a
   3003     # value for MKDIR_P within a source directory, because that will
   3004     # break other packages using the cache if that directory is
   3005     # removed, or if the value is a relative name.
   3006     MKDIR_P="$ac_install_sh -d"
   3007   fi
   3008 fi
   3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3010 printf "%s\n" "$MKDIR_P" >&6; }
   3011 
   3012 for ac_prog in gawk mawk nawk awk
   3013 do
   3014   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3015 set dummy $ac_prog; ac_word=$2
   3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3017 printf %s "checking for $ac_word... " >&6; }
   3018 if test ${ac_cv_prog_AWK+y}
   3019 then :
   3020   printf %s "(cached) " >&6
   3021 else $as_nop
   3022   if test -n "$AWK"; then
   3023   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3024 else
   3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3026 for as_dir in $PATH
   3027 do
   3028   IFS=$as_save_IFS
   3029   case $as_dir in #(((
   3030     '') as_dir=./ ;;
   3031     */) ;;
   3032     *) as_dir=$as_dir/ ;;
   3033   esac
   3034     for ac_exec_ext in '' $ac_executable_extensions; do
   3035   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3036     ac_cv_prog_AWK="$ac_prog"
   3037     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3038     break 2
   3039   fi
   3040 done
   3041   done
   3042 IFS=$as_save_IFS
   3043 
   3044 fi
   3045 fi
   3046 AWK=$ac_cv_prog_AWK
   3047 if test -n "$AWK"; then
   3048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3049 printf "%s\n" "$AWK" >&6; }
   3050 else
   3051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3052 printf "%s\n" "no" >&6; }
   3053 fi
   3054 
   3055 
   3056   test -n "$AWK" && break
   3057 done
   3058 
   3059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3060 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3061 set x ${MAKE-make}
   3062 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3063 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3064 then :
   3065   printf %s "(cached) " >&6
   3066 else $as_nop
   3067   cat >conftest.make <<\_ACEOF
   3068 SHELL = /bin/sh
   3069 all:
   3070 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3071 _ACEOF
   3072 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3073 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3074   *@@@%%%=?*=@@@%%%*)
   3075     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3076   *)
   3077     eval ac_cv_prog_make_${ac_make}_set=no;;
   3078 esac
   3079 rm -f conftest.make
   3080 fi
   3081 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3083 printf "%s\n" "yes" >&6; }
   3084   SET_MAKE=
   3085 else
   3086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 printf "%s\n" "no" >&6; }
   3088   SET_MAKE="MAKE=${MAKE-make}"
   3089 fi
   3090 
   3091 rm -rf .tst 2>/dev/null
   3092 mkdir .tst 2>/dev/null
   3093 if test -d .tst; then
   3094   am__leading_dot=.
   3095 else
   3096   am__leading_dot=_
   3097 fi
   3098 rmdir .tst 2>/dev/null
   3099 
   3100 # Check whether --enable-silent-rules was given.
   3101 if test ${enable_silent_rules+y}
   3102 then :
   3103   enableval=$enable_silent_rules;
   3104 fi
   3105 
   3106 case $enable_silent_rules in # (((
   3107   yes) AM_DEFAULT_VERBOSITY=0;;
   3108    no) AM_DEFAULT_VERBOSITY=1;;
   3109     *) AM_DEFAULT_VERBOSITY=1;;
   3110 esac
   3111 am_make=${MAKE-make}
   3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3113 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3114 if test ${am_cv_make_support_nested_variables+y}
   3115 then :
   3116   printf %s "(cached) " >&6
   3117 else $as_nop
   3118   if printf "%s\n" 'TRUE=$(BAR$(V))
   3119 BAR0=false
   3120 BAR1=true
   3121 V=1
   3122 am__doit:
   3123 	@$(TRUE)
   3124 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3125   am_cv_make_support_nested_variables=yes
   3126 else
   3127   am_cv_make_support_nested_variables=no
   3128 fi
   3129 fi
   3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3131 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3132 if test $am_cv_make_support_nested_variables = yes; then
   3133     AM_V='$(V)'
   3134   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3135 else
   3136   AM_V=$AM_DEFAULT_VERBOSITY
   3137   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3138 fi
   3139 AM_BACKSLASH='\'
   3140 
   3141 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3142   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3143   # is not polluted with repeated "-I."
   3144   am__isrc=' -I$(srcdir)'
   3145   # test to see if srcdir already configured
   3146   if test -f $srcdir/config.status; then
   3147     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3148   fi
   3149 fi
   3150 
   3151 # test whether we have cygpath
   3152 if test -z "$CYGPATH_W"; then
   3153   if (cygpath --version) >/dev/null 2>/dev/null; then
   3154     CYGPATH_W='cygpath -w'
   3155   else
   3156     CYGPATH_W=echo
   3157   fi
   3158 fi
   3159 
   3160 
   3161 # Define the identity of the package.
   3162  PACKAGE='xf86-video-sunffb'
   3163  VERSION='1.2.3'
   3164 
   3165 
   3166 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3167 
   3168 
   3169 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3170 
   3171 # Some tools Automake needs.
   3172 
   3173 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3174 
   3175 
   3176 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3177 
   3178 
   3179 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3180 
   3181 
   3182 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3183 
   3184 
   3185 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3186 
   3187 # For better backward compatibility.  To be removed once Automake 1.9.x
   3188 # dies out for good.  For more background, see:
   3189 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3190 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3191 mkdir_p='$(MKDIR_P)'
   3192 
   3193 # We need awk for the "check" target (and possibly the TAP driver).  The
   3194 # system "awk" is bad on some platforms.
   3195 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3196 # in the wild :-(  We should find a proper way to deprecate it ...
   3197 AMTAR='$${TAR-tar}'
   3198 
   3199 
   3200 # We'll loop over all known methods to create a tar archive until one works.
   3201 _am_tools='gnutar  pax cpio none'
   3202 
   3203 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3204 
   3205 
   3206 
   3207 
   3208 
   3209 # Variables for tags utilities; see am/tags.am
   3210 if test -z "$CTAGS"; then
   3211   CTAGS=ctags
   3212 fi
   3213 
   3214 if test -z "$ETAGS"; then
   3215   ETAGS=etags
   3216 fi
   3217 
   3218 if test -z "$CSCOPE"; then
   3219   CSCOPE=cscope
   3220 fi
   3221 
   3222 
   3223 
   3224 # POSIX will say in a future version that running "rm -f" with no argument
   3225 # is OK; and we want to be able to make that assumption in our Makefile
   3226 # recipes.  So use an aggressive probe to check that the usage we want is
   3227 # actually supported "in the wild" to an acceptable degree.
   3228 # See automake bug#10828.
   3229 # To make any issue more visible, cause the running configure to be aborted
   3230 # by default if the 'rm' program in use doesn't match our expectations; the
   3231 # user can still override this though.
   3232 if rm -f && rm -fr && rm -rf; then : OK; else
   3233   cat >&2 <<'END'
   3234 Oops!
   3235 
   3236 Your 'rm' program seems unable to run without file operands specified
   3237 on the command line, even when the '-f' option is present.  This is contrary
   3238 to the behaviour of most rm programs out there, and not conforming with
   3239 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3240 
   3241 Please tell bug-automake@gnu.org about your system, including the value
   3242 of your $PATH and any error possibly output before this message.  This
   3243 can help us improve future automake versions.
   3244 
   3245 END
   3246   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3247     echo 'Configuration will proceed anyway, since you have set the' >&2
   3248     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3249     echo >&2
   3250   else
   3251     cat >&2 <<'END'
   3252 Aborting the configuration process, to ensure you take notice of the issue.
   3253 
   3254 You can download and install GNU coreutils to get an 'rm' implementation
   3255 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3256 
   3257 If you want to complete the configuration process using your problematic
   3258 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3259 to "yes", and re-run configure.
   3260 
   3261 END
   3262     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3263   fi
   3264 fi
   3265 
   3266 
   3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3268 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3269     # Check whether --enable-maintainer-mode was given.
   3270 if test ${enable_maintainer_mode+y}
   3271 then :
   3272   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3273 else $as_nop
   3274   USE_MAINTAINER_MODE=no
   3275 fi
   3276 
   3277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3278 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3279    if test $USE_MAINTAINER_MODE = yes; then
   3280   MAINTAINER_MODE_TRUE=
   3281   MAINTAINER_MODE_FALSE='#'
   3282 else
   3283   MAINTAINER_MODE_TRUE='#'
   3284   MAINTAINER_MODE_FALSE=
   3285 fi
   3286 
   3287   MAINT=$MAINTAINER_MODE_TRUE
   3288 
   3289 
   3290 
   3291 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 DEPDIR="${am__leading_dot}deps"
   3313 
   3314 ac_config_commands="$ac_config_commands depfiles"
   3315 
   3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3317 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3318 cat > confinc.mk << 'END'
   3319 am__doit:
   3320 	@echo this is the am__doit target >confinc.out
   3321 .PHONY: am__doit
   3322 END
   3323 am__include="#"
   3324 am__quote=
   3325 # BSD make does it like this.
   3326 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3327 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3328 echo 'include confinc.mk # ignored' > confmf.GNU
   3329 _am_result=no
   3330 for s in GNU BSD; do
   3331   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3332    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3333    ac_status=$?
   3334    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3335    (exit $ac_status); }
   3336   case $?:`cat confinc.out 2>/dev/null` in #(
   3337   '0:this is the am__doit target') :
   3338     case $s in #(
   3339   BSD) :
   3340     am__include='.include' am__quote='"' ;; #(
   3341   *) :
   3342     am__include='include' am__quote='' ;;
   3343 esac ;; #(
   3344   *) :
   3345      ;;
   3346 esac
   3347   if test "$am__include" != "#"; then
   3348     _am_result="yes ($s style)"
   3349     break
   3350   fi
   3351 done
   3352 rm -f confinc.* confmf.*
   3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3354 printf "%s\n" "${_am_result}" >&6; }
   3355 
   3356 # Check whether --enable-dependency-tracking was given.
   3357 if test ${enable_dependency_tracking+y}
   3358 then :
   3359   enableval=$enable_dependency_tracking;
   3360 fi
   3361 
   3362 if test "x$enable_dependency_tracking" != xno; then
   3363   am_depcomp="$ac_aux_dir/depcomp"
   3364   AMDEPBACKSLASH='\'
   3365   am__nodep='_no'
   3366 fi
   3367  if test "x$enable_dependency_tracking" != xno; then
   3368   AMDEP_TRUE=
   3369   AMDEP_FALSE='#'
   3370 else
   3371   AMDEP_TRUE='#'
   3372   AMDEP_FALSE=
   3373 fi
   3374 
   3375 
   3376 ac_ext=c
   3377 ac_cpp='$CPP $CPPFLAGS'
   3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3381 if test -n "$ac_tool_prefix"; then
   3382   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3383 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3385 printf %s "checking for $ac_word... " >&6; }
   3386 if test ${ac_cv_prog_CC+y}
   3387 then :
   3388   printf %s "(cached) " >&6
   3389 else $as_nop
   3390   if test -n "$CC"; then
   3391   ac_cv_prog_CC="$CC" # Let the user override the test.
   3392 else
   3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3394 for as_dir in $PATH
   3395 do
   3396   IFS=$as_save_IFS
   3397   case $as_dir in #(((
   3398     '') as_dir=./ ;;
   3399     */) ;;
   3400     *) as_dir=$as_dir/ ;;
   3401   esac
   3402     for ac_exec_ext in '' $ac_executable_extensions; do
   3403   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3404     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3405     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3406     break 2
   3407   fi
   3408 done
   3409   done
   3410 IFS=$as_save_IFS
   3411 
   3412 fi
   3413 fi
   3414 CC=$ac_cv_prog_CC
   3415 if test -n "$CC"; then
   3416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3417 printf "%s\n" "$CC" >&6; }
   3418 else
   3419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3420 printf "%s\n" "no" >&6; }
   3421 fi
   3422 
   3423 
   3424 fi
   3425 if test -z "$ac_cv_prog_CC"; then
   3426   ac_ct_CC=$CC
   3427   # Extract the first word of "gcc", so it can be a program name with args.
   3428 set dummy gcc; ac_word=$2
   3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3430 printf %s "checking for $ac_word... " >&6; }
   3431 if test ${ac_cv_prog_ac_ct_CC+y}
   3432 then :
   3433   printf %s "(cached) " >&6
   3434 else $as_nop
   3435   if test -n "$ac_ct_CC"; then
   3436   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3437 else
   3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3439 for as_dir in $PATH
   3440 do
   3441   IFS=$as_save_IFS
   3442   case $as_dir in #(((
   3443     '') as_dir=./ ;;
   3444     */) ;;
   3445     *) as_dir=$as_dir/ ;;
   3446   esac
   3447     for ac_exec_ext in '' $ac_executable_extensions; do
   3448   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3449     ac_cv_prog_ac_ct_CC="gcc"
   3450     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3451     break 2
   3452   fi
   3453 done
   3454   done
   3455 IFS=$as_save_IFS
   3456 
   3457 fi
   3458 fi
   3459 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3460 if test -n "$ac_ct_CC"; then
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3462 printf "%s\n" "$ac_ct_CC" >&6; }
   3463 else
   3464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 printf "%s\n" "no" >&6; }
   3466 fi
   3467 
   3468   if test "x$ac_ct_CC" = x; then
   3469     CC=""
   3470   else
   3471     case $cross_compiling:$ac_tool_warned in
   3472 yes:)
   3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3474 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3475 ac_tool_warned=yes ;;
   3476 esac
   3477     CC=$ac_ct_CC
   3478   fi
   3479 else
   3480   CC="$ac_cv_prog_CC"
   3481 fi
   3482 
   3483 if test -z "$CC"; then
   3484           if test -n "$ac_tool_prefix"; then
   3485     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3486 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3488 printf %s "checking for $ac_word... " >&6; }
   3489 if test ${ac_cv_prog_CC+y}
   3490 then :
   3491   printf %s "(cached) " >&6
   3492 else $as_nop
   3493   if test -n "$CC"; then
   3494   ac_cv_prog_CC="$CC" # Let the user override the test.
   3495 else
   3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3497 for as_dir in $PATH
   3498 do
   3499   IFS=$as_save_IFS
   3500   case $as_dir in #(((
   3501     '') as_dir=./ ;;
   3502     */) ;;
   3503     *) as_dir=$as_dir/ ;;
   3504   esac
   3505     for ac_exec_ext in '' $ac_executable_extensions; do
   3506   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3507     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3508     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3509     break 2
   3510   fi
   3511 done
   3512   done
   3513 IFS=$as_save_IFS
   3514 
   3515 fi
   3516 fi
   3517 CC=$ac_cv_prog_CC
   3518 if test -n "$CC"; then
   3519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3520 printf "%s\n" "$CC" >&6; }
   3521 else
   3522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3523 printf "%s\n" "no" >&6; }
   3524 fi
   3525 
   3526 
   3527   fi
   3528 fi
   3529 if test -z "$CC"; then
   3530   # Extract the first word of "cc", so it can be a program name with args.
   3531 set dummy cc; ac_word=$2
   3532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3533 printf %s "checking for $ac_word... " >&6; }
   3534 if test ${ac_cv_prog_CC+y}
   3535 then :
   3536   printf %s "(cached) " >&6
   3537 else $as_nop
   3538   if test -n "$CC"; then
   3539   ac_cv_prog_CC="$CC" # Let the user override the test.
   3540 else
   3541   ac_prog_rejected=no
   3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3543 for as_dir in $PATH
   3544 do
   3545   IFS=$as_save_IFS
   3546   case $as_dir in #(((
   3547     '') as_dir=./ ;;
   3548     */) ;;
   3549     *) as_dir=$as_dir/ ;;
   3550   esac
   3551     for ac_exec_ext in '' $ac_executable_extensions; do
   3552   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3553     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3554        ac_prog_rejected=yes
   3555        continue
   3556      fi
   3557     ac_cv_prog_CC="cc"
   3558     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3559     break 2
   3560   fi
   3561 done
   3562   done
   3563 IFS=$as_save_IFS
   3564 
   3565 if test $ac_prog_rejected = yes; then
   3566   # We found a bogon in the path, so make sure we never use it.
   3567   set dummy $ac_cv_prog_CC
   3568   shift
   3569   if test $# != 0; then
   3570     # We chose a different compiler from the bogus one.
   3571     # However, it has the same basename, so the bogon will be chosen
   3572     # first if we set CC to just the basename; use the full file name.
   3573     shift
   3574     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3575   fi
   3576 fi
   3577 fi
   3578 fi
   3579 CC=$ac_cv_prog_CC
   3580 if test -n "$CC"; then
   3581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3582 printf "%s\n" "$CC" >&6; }
   3583 else
   3584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3585 printf "%s\n" "no" >&6; }
   3586 fi
   3587 
   3588 
   3589 fi
   3590 if test -z "$CC"; then
   3591   if test -n "$ac_tool_prefix"; then
   3592   for ac_prog in cl.exe
   3593   do
   3594     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3597 printf %s "checking for $ac_word... " >&6; }
   3598 if test ${ac_cv_prog_CC+y}
   3599 then :
   3600   printf %s "(cached) " >&6
   3601 else $as_nop
   3602   if test -n "$CC"; then
   3603   ac_cv_prog_CC="$CC" # Let the user override the test.
   3604 else
   3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3606 for as_dir in $PATH
   3607 do
   3608   IFS=$as_save_IFS
   3609   case $as_dir in #(((
   3610     '') as_dir=./ ;;
   3611     */) ;;
   3612     *) as_dir=$as_dir/ ;;
   3613   esac
   3614     for ac_exec_ext in '' $ac_executable_extensions; do
   3615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3616     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3618     break 2
   3619   fi
   3620 done
   3621   done
   3622 IFS=$as_save_IFS
   3623 
   3624 fi
   3625 fi
   3626 CC=$ac_cv_prog_CC
   3627 if test -n "$CC"; then
   3628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3629 printf "%s\n" "$CC" >&6; }
   3630 else
   3631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3632 printf "%s\n" "no" >&6; }
   3633 fi
   3634 
   3635 
   3636     test -n "$CC" && break
   3637   done
   3638 fi
   3639 if test -z "$CC"; then
   3640   ac_ct_CC=$CC
   3641   for ac_prog in cl.exe
   3642 do
   3643   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3644 set dummy $ac_prog; ac_word=$2
   3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3646 printf %s "checking for $ac_word... " >&6; }
   3647 if test ${ac_cv_prog_ac_ct_CC+y}
   3648 then :
   3649   printf %s "(cached) " >&6
   3650 else $as_nop
   3651   if test -n "$ac_ct_CC"; then
   3652   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3653 else
   3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3655 for as_dir in $PATH
   3656 do
   3657   IFS=$as_save_IFS
   3658   case $as_dir in #(((
   3659     '') as_dir=./ ;;
   3660     */) ;;
   3661     *) as_dir=$as_dir/ ;;
   3662   esac
   3663     for ac_exec_ext in '' $ac_executable_extensions; do
   3664   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3665     ac_cv_prog_ac_ct_CC="$ac_prog"
   3666     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3667     break 2
   3668   fi
   3669 done
   3670   done
   3671 IFS=$as_save_IFS
   3672 
   3673 fi
   3674 fi
   3675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3676 if test -n "$ac_ct_CC"; then
   3677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3678 printf "%s\n" "$ac_ct_CC" >&6; }
   3679 else
   3680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3681 printf "%s\n" "no" >&6; }
   3682 fi
   3683 
   3684 
   3685   test -n "$ac_ct_CC" && break
   3686 done
   3687 
   3688   if test "x$ac_ct_CC" = x; then
   3689     CC=""
   3690   else
   3691     case $cross_compiling:$ac_tool_warned in
   3692 yes:)
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3695 ac_tool_warned=yes ;;
   3696 esac
   3697     CC=$ac_ct_CC
   3698   fi
   3699 fi
   3700 
   3701 fi
   3702 if test -z "$CC"; then
   3703   if test -n "$ac_tool_prefix"; then
   3704   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3705 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3707 printf %s "checking for $ac_word... " >&6; }
   3708 if test ${ac_cv_prog_CC+y}
   3709 then :
   3710   printf %s "(cached) " >&6
   3711 else $as_nop
   3712   if test -n "$CC"; then
   3713   ac_cv_prog_CC="$CC" # Let the user override the test.
   3714 else
   3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3716 for as_dir in $PATH
   3717 do
   3718   IFS=$as_save_IFS
   3719   case $as_dir in #(((
   3720     '') as_dir=./ ;;
   3721     */) ;;
   3722     *) as_dir=$as_dir/ ;;
   3723   esac
   3724     for ac_exec_ext in '' $ac_executable_extensions; do
   3725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3726     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3728     break 2
   3729   fi
   3730 done
   3731   done
   3732 IFS=$as_save_IFS
   3733 
   3734 fi
   3735 fi
   3736 CC=$ac_cv_prog_CC
   3737 if test -n "$CC"; then
   3738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3739 printf "%s\n" "$CC" >&6; }
   3740 else
   3741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3742 printf "%s\n" "no" >&6; }
   3743 fi
   3744 
   3745 
   3746 fi
   3747 if test -z "$ac_cv_prog_CC"; then
   3748   ac_ct_CC=$CC
   3749   # Extract the first word of "clang", so it can be a program name with args.
   3750 set dummy clang; ac_word=$2
   3751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3752 printf %s "checking for $ac_word... " >&6; }
   3753 if test ${ac_cv_prog_ac_ct_CC+y}
   3754 then :
   3755   printf %s "(cached) " >&6
   3756 else $as_nop
   3757   if test -n "$ac_ct_CC"; then
   3758   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3759 else
   3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3761 for as_dir in $PATH
   3762 do
   3763   IFS=$as_save_IFS
   3764   case $as_dir in #(((
   3765     '') as_dir=./ ;;
   3766     */) ;;
   3767     *) as_dir=$as_dir/ ;;
   3768   esac
   3769     for ac_exec_ext in '' $ac_executable_extensions; do
   3770   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3771     ac_cv_prog_ac_ct_CC="clang"
   3772     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3773     break 2
   3774   fi
   3775 done
   3776   done
   3777 IFS=$as_save_IFS
   3778 
   3779 fi
   3780 fi
   3781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3782 if test -n "$ac_ct_CC"; then
   3783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3784 printf "%s\n" "$ac_ct_CC" >&6; }
   3785 else
   3786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3787 printf "%s\n" "no" >&6; }
   3788 fi
   3789 
   3790   if test "x$ac_ct_CC" = x; then
   3791     CC=""
   3792   else
   3793     case $cross_compiling:$ac_tool_warned in
   3794 yes:)
   3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3797 ac_tool_warned=yes ;;
   3798 esac
   3799     CC=$ac_ct_CC
   3800   fi
   3801 else
   3802   CC="$ac_cv_prog_CC"
   3803 fi
   3804 
   3805 fi
   3806 
   3807 
   3808 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3809 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3810 as_fn_error $? "no acceptable C compiler found in \$PATH
   3811 See \`config.log' for more details" "$LINENO" 5; }
   3812 
   3813 # Provide some information about the compiler.
   3814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3815 set X $ac_compile
   3816 ac_compiler=$2
   3817 for ac_option in --version -v -V -qversion -version; do
   3818   { { ac_try="$ac_compiler $ac_option >&5"
   3819 case "(($ac_try" in
   3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3821   *) ac_try_echo=$ac_try;;
   3822 esac
   3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3824 printf "%s\n" "$ac_try_echo"; } >&5
   3825   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3826   ac_status=$?
   3827   if test -s conftest.err; then
   3828     sed '10a\
   3829 ... rest of stderr output deleted ...
   3830          10q' conftest.err >conftest.er1
   3831     cat conftest.er1 >&5
   3832   fi
   3833   rm -f conftest.er1 conftest.err
   3834   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3835   test $ac_status = 0; }
   3836 done
   3837 
   3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3839 /* end confdefs.h.  */
   3840 
   3841 int
   3842 main (void)
   3843 {
   3844 
   3845   ;
   3846   return 0;
   3847 }
   3848 _ACEOF
   3849 ac_clean_files_save=$ac_clean_files
   3850 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3851 # Try to create an executable without -o first, disregard a.out.
   3852 # It will help us diagnose broken compilers, and finding out an intuition
   3853 # of exeext.
   3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3855 printf %s "checking whether the C compiler works... " >&6; }
   3856 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3857 
   3858 # The possible output files:
   3859 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3860 
   3861 ac_rmfiles=
   3862 for ac_file in $ac_files
   3863 do
   3864   case $ac_file in
   3865     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3866     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3867   esac
   3868 done
   3869 rm -f $ac_rmfiles
   3870 
   3871 if { { ac_try="$ac_link_default"
   3872 case "(($ac_try" in
   3873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3874   *) ac_try_echo=$ac_try;;
   3875 esac
   3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3877 printf "%s\n" "$ac_try_echo"; } >&5
   3878   (eval "$ac_link_default") 2>&5
   3879   ac_status=$?
   3880   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3881   test $ac_status = 0; }
   3882 then :
   3883   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3884 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3885 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3886 # so that the user can short-circuit this test for compilers unknown to
   3887 # Autoconf.
   3888 for ac_file in $ac_files ''
   3889 do
   3890   test -f "$ac_file" || continue
   3891   case $ac_file in
   3892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3893 	;;
   3894     [ab].out )
   3895 	# We found the default executable, but exeext='' is most
   3896 	# certainly right.
   3897 	break;;
   3898     *.* )
   3899 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3900 	then :; else
   3901 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3902 	fi
   3903 	# We set ac_cv_exeext here because the later test for it is not
   3904 	# safe: cross compilers may not add the suffix if given an `-o'
   3905 	# argument, so we may need to know it at that point already.
   3906 	# Even if this section looks crufty: it has the advantage of
   3907 	# actually working.
   3908 	break;;
   3909     * )
   3910 	break;;
   3911   esac
   3912 done
   3913 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3914 
   3915 else $as_nop
   3916   ac_file=''
   3917 fi
   3918 if test -z "$ac_file"
   3919 then :
   3920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3921 printf "%s\n" "no" >&6; }
   3922 printf "%s\n" "$as_me: failed program was:" >&5
   3923 sed 's/^/| /' conftest.$ac_ext >&5
   3924 
   3925 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3926 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3927 as_fn_error 77 "C compiler cannot create executables
   3928 See \`config.log' for more details" "$LINENO" 5; }
   3929 else $as_nop
   3930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3931 printf "%s\n" "yes" >&6; }
   3932 fi
   3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3934 printf %s "checking for C compiler default output file name... " >&6; }
   3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3936 printf "%s\n" "$ac_file" >&6; }
   3937 ac_exeext=$ac_cv_exeext
   3938 
   3939 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3940 ac_clean_files=$ac_clean_files_save
   3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3942 printf %s "checking for suffix of executables... " >&6; }
   3943 if { { ac_try="$ac_link"
   3944 case "(($ac_try" in
   3945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3946   *) ac_try_echo=$ac_try;;
   3947 esac
   3948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3949 printf "%s\n" "$ac_try_echo"; } >&5
   3950   (eval "$ac_link") 2>&5
   3951   ac_status=$?
   3952   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3953   test $ac_status = 0; }
   3954 then :
   3955   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3956 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3957 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3958 # `rm'.
   3959 for ac_file in conftest.exe conftest conftest.*; do
   3960   test -f "$ac_file" || continue
   3961   case $ac_file in
   3962     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3963     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3964 	  break;;
   3965     * ) break;;
   3966   esac
   3967 done
   3968 else $as_nop
   3969   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3970 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3971 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3972 See \`config.log' for more details" "$LINENO" 5; }
   3973 fi
   3974 rm -f conftest conftest$ac_cv_exeext
   3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3976 printf "%s\n" "$ac_cv_exeext" >&6; }
   3977 
   3978 rm -f conftest.$ac_ext
   3979 EXEEXT=$ac_cv_exeext
   3980 ac_exeext=$EXEEXT
   3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3982 /* end confdefs.h.  */
   3983 #include <stdio.h>
   3984 int
   3985 main (void)
   3986 {
   3987 FILE *f = fopen ("conftest.out", "w");
   3988  return ferror (f) || fclose (f) != 0;
   3989 
   3990   ;
   3991   return 0;
   3992 }
   3993 _ACEOF
   3994 ac_clean_files="$ac_clean_files conftest.out"
   3995 # Check that the compiler produces executables we can run.  If not, either
   3996 # the compiler is broken, or we cross compile.
   3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3998 printf %s "checking whether we are cross compiling... " >&6; }
   3999 if test "$cross_compiling" != yes; then
   4000   { { ac_try="$ac_link"
   4001 case "(($ac_try" in
   4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4003   *) ac_try_echo=$ac_try;;
   4004 esac
   4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4006 printf "%s\n" "$ac_try_echo"; } >&5
   4007   (eval "$ac_link") 2>&5
   4008   ac_status=$?
   4009   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4010   test $ac_status = 0; }
   4011   if { ac_try='./conftest$ac_cv_exeext'
   4012   { { case "(($ac_try" in
   4013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4014   *) ac_try_echo=$ac_try;;
   4015 esac
   4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4017 printf "%s\n" "$ac_try_echo"; } >&5
   4018   (eval "$ac_try") 2>&5
   4019   ac_status=$?
   4020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4021   test $ac_status = 0; }; }; then
   4022     cross_compiling=no
   4023   else
   4024     if test "$cross_compiling" = maybe; then
   4025 	cross_compiling=yes
   4026     else
   4027 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4028 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4029 as_fn_error 77 "cannot run C compiled programs.
   4030 If you meant to cross compile, use \`--host'.
   4031 See \`config.log' for more details" "$LINENO" 5; }
   4032     fi
   4033   fi
   4034 fi
   4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4036 printf "%s\n" "$cross_compiling" >&6; }
   4037 
   4038 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4039 ac_clean_files=$ac_clean_files_save
   4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4041 printf %s "checking for suffix of object files... " >&6; }
   4042 if test ${ac_cv_objext+y}
   4043 then :
   4044   printf %s "(cached) " >&6
   4045 else $as_nop
   4046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 
   4049 int
   4050 main (void)
   4051 {
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057 rm -f conftest.o conftest.obj
   4058 if { { ac_try="$ac_compile"
   4059 case "(($ac_try" in
   4060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4061   *) ac_try_echo=$ac_try;;
   4062 esac
   4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4064 printf "%s\n" "$ac_try_echo"; } >&5
   4065   (eval "$ac_compile") 2>&5
   4066   ac_status=$?
   4067   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4068   test $ac_status = 0; }
   4069 then :
   4070   for ac_file in conftest.o conftest.obj conftest.*; do
   4071   test -f "$ac_file" || continue;
   4072   case $ac_file in
   4073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4074     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4075        break;;
   4076   esac
   4077 done
   4078 else $as_nop
   4079   printf "%s\n" "$as_me: failed program was:" >&5
   4080 sed 's/^/| /' conftest.$ac_ext >&5
   4081 
   4082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4084 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4085 See \`config.log' for more details" "$LINENO" 5; }
   4086 fi
   4087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4088 fi
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4090 printf "%s\n" "$ac_cv_objext" >&6; }
   4091 OBJEXT=$ac_cv_objext
   4092 ac_objext=$OBJEXT
   4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4094 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4095 if test ${ac_cv_c_compiler_gnu+y}
   4096 then :
   4097   printf %s "(cached) " >&6
   4098 else $as_nop
   4099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4100 /* end confdefs.h.  */
   4101 
   4102 int
   4103 main (void)
   4104 {
   4105 #ifndef __GNUC__
   4106        choke me
   4107 #endif
   4108 
   4109   ;
   4110   return 0;
   4111 }
   4112 _ACEOF
   4113 if ac_fn_c_try_compile "$LINENO"
   4114 then :
   4115   ac_compiler_gnu=yes
   4116 else $as_nop
   4117   ac_compiler_gnu=no
   4118 fi
   4119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4121 
   4122 fi
   4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4124 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4126 
   4127 if test $ac_compiler_gnu = yes; then
   4128   GCC=yes
   4129 else
   4130   GCC=
   4131 fi
   4132 ac_test_CFLAGS=${CFLAGS+y}
   4133 ac_save_CFLAGS=$CFLAGS
   4134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4135 printf %s "checking whether $CC accepts -g... " >&6; }
   4136 if test ${ac_cv_prog_cc_g+y}
   4137 then :
   4138   printf %s "(cached) " >&6
   4139 else $as_nop
   4140   ac_save_c_werror_flag=$ac_c_werror_flag
   4141    ac_c_werror_flag=yes
   4142    ac_cv_prog_cc_g=no
   4143    CFLAGS="-g"
   4144    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4145 /* end confdefs.h.  */
   4146 
   4147 int
   4148 main (void)
   4149 {
   4150 
   4151   ;
   4152   return 0;
   4153 }
   4154 _ACEOF
   4155 if ac_fn_c_try_compile "$LINENO"
   4156 then :
   4157   ac_cv_prog_cc_g=yes
   4158 else $as_nop
   4159   CFLAGS=""
   4160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 
   4163 int
   4164 main (void)
   4165 {
   4166 
   4167   ;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 if ac_fn_c_try_compile "$LINENO"
   4172 then :
   4173 
   4174 else $as_nop
   4175   ac_c_werror_flag=$ac_save_c_werror_flag
   4176 	 CFLAGS="-g"
   4177 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4178 /* end confdefs.h.  */
   4179 
   4180 int
   4181 main (void)
   4182 {
   4183 
   4184   ;
   4185   return 0;
   4186 }
   4187 _ACEOF
   4188 if ac_fn_c_try_compile "$LINENO"
   4189 then :
   4190   ac_cv_prog_cc_g=yes
   4191 fi
   4192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4193 fi
   4194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4195 fi
   4196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4197    ac_c_werror_flag=$ac_save_c_werror_flag
   4198 fi
   4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4200 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4201 if test $ac_test_CFLAGS; then
   4202   CFLAGS=$ac_save_CFLAGS
   4203 elif test $ac_cv_prog_cc_g = yes; then
   4204   if test "$GCC" = yes; then
   4205     CFLAGS="-g -O2"
   4206   else
   4207     CFLAGS="-g"
   4208   fi
   4209 else
   4210   if test "$GCC" = yes; then
   4211     CFLAGS="-O2"
   4212   else
   4213     CFLAGS=
   4214   fi
   4215 fi
   4216 ac_prog_cc_stdc=no
   4217 if test x$ac_prog_cc_stdc = xno
   4218 then :
   4219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4220 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4221 if test ${ac_cv_prog_cc_c11+y}
   4222 then :
   4223   printf %s "(cached) " >&6
   4224 else $as_nop
   4225   ac_cv_prog_cc_c11=no
   4226 ac_save_CC=$CC
   4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 $ac_c_conftest_c11_program
   4230 _ACEOF
   4231 for ac_arg in '' -std=gnu11
   4232 do
   4233   CC="$ac_save_CC $ac_arg"
   4234   if ac_fn_c_try_compile "$LINENO"
   4235 then :
   4236   ac_cv_prog_cc_c11=$ac_arg
   4237 fi
   4238 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4239   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4240 done
   4241 rm -f conftest.$ac_ext
   4242 CC=$ac_save_CC
   4243 fi
   4244 
   4245 if test "x$ac_cv_prog_cc_c11" = xno
   4246 then :
   4247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4248 printf "%s\n" "unsupported" >&6; }
   4249 else $as_nop
   4250   if test "x$ac_cv_prog_cc_c11" = x
   4251 then :
   4252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4253 printf "%s\n" "none needed" >&6; }
   4254 else $as_nop
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4256 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4257      CC="$CC $ac_cv_prog_cc_c11"
   4258 fi
   4259   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4260   ac_prog_cc_stdc=c11
   4261 fi
   4262 fi
   4263 if test x$ac_prog_cc_stdc = xno
   4264 then :
   4265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4266 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4267 if test ${ac_cv_prog_cc_c99+y}
   4268 then :
   4269   printf %s "(cached) " >&6
   4270 else $as_nop
   4271   ac_cv_prog_cc_c99=no
   4272 ac_save_CC=$CC
   4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4274 /* end confdefs.h.  */
   4275 $ac_c_conftest_c99_program
   4276 _ACEOF
   4277 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4278 do
   4279   CC="$ac_save_CC $ac_arg"
   4280   if ac_fn_c_try_compile "$LINENO"
   4281 then :
   4282   ac_cv_prog_cc_c99=$ac_arg
   4283 fi
   4284 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4285   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4286 done
   4287 rm -f conftest.$ac_ext
   4288 CC=$ac_save_CC
   4289 fi
   4290 
   4291 if test "x$ac_cv_prog_cc_c99" = xno
   4292 then :
   4293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4294 printf "%s\n" "unsupported" >&6; }
   4295 else $as_nop
   4296   if test "x$ac_cv_prog_cc_c99" = x
   4297 then :
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4299 printf "%s\n" "none needed" >&6; }
   4300 else $as_nop
   4301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4302 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4303      CC="$CC $ac_cv_prog_cc_c99"
   4304 fi
   4305   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4306   ac_prog_cc_stdc=c99
   4307 fi
   4308 fi
   4309 if test x$ac_prog_cc_stdc = xno
   4310 then :
   4311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4312 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4313 if test ${ac_cv_prog_cc_c89+y}
   4314 then :
   4315   printf %s "(cached) " >&6
   4316 else $as_nop
   4317   ac_cv_prog_cc_c89=no
   4318 ac_save_CC=$CC
   4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4320 /* end confdefs.h.  */
   4321 $ac_c_conftest_c89_program
   4322 _ACEOF
   4323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4324 do
   4325   CC="$ac_save_CC $ac_arg"
   4326   if ac_fn_c_try_compile "$LINENO"
   4327 then :
   4328   ac_cv_prog_cc_c89=$ac_arg
   4329 fi
   4330 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4331   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4332 done
   4333 rm -f conftest.$ac_ext
   4334 CC=$ac_save_CC
   4335 fi
   4336 
   4337 if test "x$ac_cv_prog_cc_c89" = xno
   4338 then :
   4339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4340 printf "%s\n" "unsupported" >&6; }
   4341 else $as_nop
   4342   if test "x$ac_cv_prog_cc_c89" = x
   4343 then :
   4344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4345 printf "%s\n" "none needed" >&6; }
   4346 else $as_nop
   4347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4348 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4349      CC="$CC $ac_cv_prog_cc_c89"
   4350 fi
   4351   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4352   ac_prog_cc_stdc=c89
   4353 fi
   4354 fi
   4355 
   4356 ac_ext=c
   4357 ac_cpp='$CPP $CPPFLAGS'
   4358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4361 
   4362 
   4363   ac_ext=c
   4364 ac_cpp='$CPP $CPPFLAGS'
   4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4369 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4370 if test ${am_cv_prog_cc_c_o+y}
   4371 then :
   4372   printf %s "(cached) " >&6
   4373 else $as_nop
   4374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 
   4377 int
   4378 main (void)
   4379 {
   4380 
   4381   ;
   4382   return 0;
   4383 }
   4384 _ACEOF
   4385   # Make sure it works both with $CC and with simple cc.
   4386   # Following AC_PROG_CC_C_O, we do the test twice because some
   4387   # compilers refuse to overwrite an existing .o file with -o,
   4388   # though they will create one.
   4389   am_cv_prog_cc_c_o=yes
   4390   for am_i in 1 2; do
   4391     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4392    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4393    ac_status=$?
   4394    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4395    (exit $ac_status); } \
   4396          && test -f conftest2.$ac_objext; then
   4397       : OK
   4398     else
   4399       am_cv_prog_cc_c_o=no
   4400       break
   4401     fi
   4402   done
   4403   rm -f core conftest*
   4404   unset am_i
   4405 fi
   4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4407 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4408 if test "$am_cv_prog_cc_c_o" != yes; then
   4409    # Losing compiler, so override with the script.
   4410    # FIXME: It is wrong to rewrite CC.
   4411    # But if we don't then we get into trouble of one sort or another.
   4412    # A longer-term fix would be to have automake use am__CC in this case,
   4413    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4414    CC="$am_aux_dir/compile $CC"
   4415 fi
   4416 ac_ext=c
   4417 ac_cpp='$CPP $CPPFLAGS'
   4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4421 
   4422 
   4423 depcc="$CC"   am_compiler_list=
   4424 
   4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4426 printf %s "checking dependency style of $depcc... " >&6; }
   4427 if test ${am_cv_CC_dependencies_compiler_type+y}
   4428 then :
   4429   printf %s "(cached) " >&6
   4430 else $as_nop
   4431   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4432   # We make a subdir and do the tests there.  Otherwise we can end up
   4433   # making bogus files that we don't know about and never remove.  For
   4434   # instance it was reported that on HP-UX the gcc test will end up
   4435   # making a dummy file named 'D' -- because '-MD' means "put the output
   4436   # in D".
   4437   rm -rf conftest.dir
   4438   mkdir conftest.dir
   4439   # Copy depcomp to subdir because otherwise we won't find it if we're
   4440   # using a relative directory.
   4441   cp "$am_depcomp" conftest.dir
   4442   cd conftest.dir
   4443   # We will build objects and dependencies in a subdirectory because
   4444   # it helps to detect inapplicable dependency modes.  For instance
   4445   # both Tru64's cc and ICC support -MD to output dependencies as a
   4446   # side effect of compilation, but ICC will put the dependencies in
   4447   # the current directory while Tru64 will put them in the object
   4448   # directory.
   4449   mkdir sub
   4450 
   4451   am_cv_CC_dependencies_compiler_type=none
   4452   if test "$am_compiler_list" = ""; then
   4453      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4454   fi
   4455   am__universal=false
   4456   case " $depcc " in #(
   4457      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4458      esac
   4459 
   4460   for depmode in $am_compiler_list; do
   4461     # Setup a source with many dependencies, because some compilers
   4462     # like to wrap large dependency lists on column 80 (with \), and
   4463     # we should not choose a depcomp mode which is confused by this.
   4464     #
   4465     # We need to recreate these files for each test, as the compiler may
   4466     # overwrite some of them when testing with obscure command lines.
   4467     # This happens at least with the AIX C compiler.
   4468     : > sub/conftest.c
   4469     for i in 1 2 3 4 5 6; do
   4470       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4471       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4472       # Solaris 10 /bin/sh.
   4473       echo '/* dummy */' > sub/conftst$i.h
   4474     done
   4475     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4476 
   4477     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4478     # mode.  It turns out that the SunPro C++ compiler does not properly
   4479     # handle '-M -o', and we need to detect this.  Also, some Intel
   4480     # versions had trouble with output in subdirs.
   4481     am__obj=sub/conftest.${OBJEXT-o}
   4482     am__minus_obj="-o $am__obj"
   4483     case $depmode in
   4484     gcc)
   4485       # This depmode causes a compiler race in universal mode.
   4486       test "$am__universal" = false || continue
   4487       ;;
   4488     nosideeffect)
   4489       # After this tag, mechanisms are not by side-effect, so they'll
   4490       # only be used when explicitly requested.
   4491       if test "x$enable_dependency_tracking" = xyes; then
   4492 	continue
   4493       else
   4494 	break
   4495       fi
   4496       ;;
   4497     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4498       # This compiler won't grok '-c -o', but also, the minuso test has
   4499       # not run yet.  These depmodes are late enough in the game, and
   4500       # so weak that their functioning should not be impacted.
   4501       am__obj=conftest.${OBJEXT-o}
   4502       am__minus_obj=
   4503       ;;
   4504     none) break ;;
   4505     esac
   4506     if depmode=$depmode \
   4507        source=sub/conftest.c object=$am__obj \
   4508        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4509        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4510          >/dev/null 2>conftest.err &&
   4511        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4512        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4513        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4514        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4515       # icc doesn't choke on unknown options, it will just issue warnings
   4516       # or remarks (even with -Werror).  So we grep stderr for any message
   4517       # that says an option was ignored or not supported.
   4518       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4519       #   icc: Command line warning: ignoring option '-M'; no argument required
   4520       # The diagnosis changed in icc 8.0:
   4521       #   icc: Command line remark: option '-MP' not supported
   4522       if (grep 'ignoring option' conftest.err ||
   4523           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4524         am_cv_CC_dependencies_compiler_type=$depmode
   4525         break
   4526       fi
   4527     fi
   4528   done
   4529 
   4530   cd ..
   4531   rm -rf conftest.dir
   4532 else
   4533   am_cv_CC_dependencies_compiler_type=none
   4534 fi
   4535 
   4536 fi
   4537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4538 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4539 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4540 
   4541  if
   4542   test "x$enable_dependency_tracking" != xno \
   4543   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4544   am__fastdepCC_TRUE=
   4545   am__fastdepCC_FALSE='#'
   4546 else
   4547   am__fastdepCC_TRUE='#'
   4548   am__fastdepCC_FALSE=
   4549 fi
   4550 
   4551 
   4552 
   4553 
   4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4555 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4556 if test ${ac_cv_c_undeclared_builtin_options+y}
   4557 then :
   4558   printf %s "(cached) " >&6
   4559 else $as_nop
   4560   ac_save_CFLAGS=$CFLAGS
   4561    ac_cv_c_undeclared_builtin_options='cannot detect'
   4562    for ac_arg in '' -fno-builtin; do
   4563      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4564      # This test program should *not* compile successfully.
   4565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4566 /* end confdefs.h.  */
   4567 
   4568 int
   4569 main (void)
   4570 {
   4571 (void) strchr;
   4572   ;
   4573   return 0;
   4574 }
   4575 _ACEOF
   4576 if ac_fn_c_try_compile "$LINENO"
   4577 then :
   4578 
   4579 else $as_nop
   4580   # This test program should compile successfully.
   4581         # No library function is consistently available on
   4582         # freestanding implementations, so test against a dummy
   4583         # declaration.  Include always-available headers on the
   4584         # off chance that they somehow elicit warnings.
   4585         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4586 /* end confdefs.h.  */
   4587 #include <float.h>
   4588 #include <limits.h>
   4589 #include <stdarg.h>
   4590 #include <stddef.h>
   4591 extern void ac_decl (int, char *);
   4592 
   4593 int
   4594 main (void)
   4595 {
   4596 (void) ac_decl (0, (char *) 0);
   4597   (void) ac_decl;
   4598 
   4599   ;
   4600   return 0;
   4601 }
   4602 _ACEOF
   4603 if ac_fn_c_try_compile "$LINENO"
   4604 then :
   4605   if test x"$ac_arg" = x
   4606 then :
   4607   ac_cv_c_undeclared_builtin_options='none needed'
   4608 else $as_nop
   4609   ac_cv_c_undeclared_builtin_options=$ac_arg
   4610 fi
   4611           break
   4612 fi
   4613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4614 fi
   4615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4616     done
   4617     CFLAGS=$ac_save_CFLAGS
   4618 
   4619 fi
   4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4621 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4622   case $ac_cv_c_undeclared_builtin_options in #(
   4623   'cannot detect') :
   4624     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4625 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4626 as_fn_error $? "cannot make $CC report undeclared builtins
   4627 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4628   'none needed') :
   4629     ac_c_undeclared_builtin_options='' ;; #(
   4630   *) :
   4631     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4632 esac
   4633 
   4634 ac_header= ac_cache=
   4635 for ac_item in $ac_header_c_list
   4636 do
   4637   if test $ac_cache; then
   4638     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4639     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4640       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4641     fi
   4642     ac_header= ac_cache=
   4643   elif test $ac_header; then
   4644     ac_cache=$ac_item
   4645   else
   4646     ac_header=$ac_item
   4647   fi
   4648 done
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4658 then :
   4659 
   4660 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4661 
   4662 fi
   4663 
   4664 
   4665 
   4666 
   4667 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4668 if test "x$ac_cv_have_decl___clang__" = xyes
   4669 then :
   4670   CLANGCC="yes"
   4671 else $as_nop
   4672   CLANGCC="no"
   4673 fi
   4674 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4675 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4676 then :
   4677   INTELCC="yes"
   4678 else $as_nop
   4679   INTELCC="no"
   4680 fi
   4681 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4682 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4683 then :
   4684   SUNCC="yes"
   4685 else $as_nop
   4686   SUNCC="no"
   4687 fi
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4697 	if test -n "$ac_tool_prefix"; then
   4698   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4699 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4701 printf %s "checking for $ac_word... " >&6; }
   4702 if test ${ac_cv_path_PKG_CONFIG+y}
   4703 then :
   4704   printf %s "(cached) " >&6
   4705 else $as_nop
   4706   case $PKG_CONFIG in
   4707   [\\/]* | ?:[\\/]*)
   4708   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4709   ;;
   4710   *)
   4711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4712 for as_dir in $PATH
   4713 do
   4714   IFS=$as_save_IFS
   4715   case $as_dir in #(((
   4716     '') as_dir=./ ;;
   4717     */) ;;
   4718     *) as_dir=$as_dir/ ;;
   4719   esac
   4720     for ac_exec_ext in '' $ac_executable_extensions; do
   4721   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4722     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4723     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4724     break 2
   4725   fi
   4726 done
   4727   done
   4728 IFS=$as_save_IFS
   4729 
   4730   ;;
   4731 esac
   4732 fi
   4733 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4734 if test -n "$PKG_CONFIG"; then
   4735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4736 printf "%s\n" "$PKG_CONFIG" >&6; }
   4737 else
   4738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4739 printf "%s\n" "no" >&6; }
   4740 fi
   4741 
   4742 
   4743 fi
   4744 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4745   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4746   # Extract the first word of "pkg-config", so it can be a program name with args.
   4747 set dummy pkg-config; ac_word=$2
   4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4749 printf %s "checking for $ac_word... " >&6; }
   4750 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4751 then :
   4752   printf %s "(cached) " >&6
   4753 else $as_nop
   4754   case $ac_pt_PKG_CONFIG in
   4755   [\\/]* | ?:[\\/]*)
   4756   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4757   ;;
   4758   *)
   4759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4760 for as_dir in $PATH
   4761 do
   4762   IFS=$as_save_IFS
   4763   case $as_dir in #(((
   4764     '') as_dir=./ ;;
   4765     */) ;;
   4766     *) as_dir=$as_dir/ ;;
   4767   esac
   4768     for ac_exec_ext in '' $ac_executable_extensions; do
   4769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4770     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4772     break 2
   4773   fi
   4774 done
   4775   done
   4776 IFS=$as_save_IFS
   4777 
   4778   ;;
   4779 esac
   4780 fi
   4781 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4782 if test -n "$ac_pt_PKG_CONFIG"; then
   4783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4784 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4785 else
   4786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4787 printf "%s\n" "no" >&6; }
   4788 fi
   4789 
   4790   if test "x$ac_pt_PKG_CONFIG" = x; then
   4791     PKG_CONFIG=""
   4792   else
   4793     case $cross_compiling:$ac_tool_warned in
   4794 yes:)
   4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4797 ac_tool_warned=yes ;;
   4798 esac
   4799     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4800   fi
   4801 else
   4802   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4803 fi
   4804 
   4805 fi
   4806 if test -n "$PKG_CONFIG"; then
   4807 	_pkg_min_version=0.9.0
   4808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4809 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4810 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4812 printf "%s\n" "yes" >&6; }
   4813 	else
   4814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4815 printf "%s\n" "no" >&6; }
   4816 		PKG_CONFIG=""
   4817 	fi
   4818 fi
   4819 
   4820 
   4821   # Make sure we can run config.sub.
   4822 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4823   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4824 
   4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4826 printf %s "checking build system type... " >&6; }
   4827 if test ${ac_cv_build+y}
   4828 then :
   4829   printf %s "(cached) " >&6
   4830 else $as_nop
   4831   ac_build_alias=$build_alias
   4832 test "x$ac_build_alias" = x &&
   4833   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4834 test "x$ac_build_alias" = x &&
   4835   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4836 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4837   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4838 
   4839 fi
   4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4841 printf "%s\n" "$ac_cv_build" >&6; }
   4842 case $ac_cv_build in
   4843 *-*-*) ;;
   4844 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4845 esac
   4846 build=$ac_cv_build
   4847 ac_save_IFS=$IFS; IFS='-'
   4848 set x $ac_cv_build
   4849 shift
   4850 build_cpu=$1
   4851 build_vendor=$2
   4852 shift; shift
   4853 # Remember, the first character of IFS is used to create $*,
   4854 # except with old shells:
   4855 build_os=$*
   4856 IFS=$ac_save_IFS
   4857 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4858 
   4859 
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4861 printf %s "checking host system type... " >&6; }
   4862 if test ${ac_cv_host+y}
   4863 then :
   4864   printf %s "(cached) " >&6
   4865 else $as_nop
   4866   if test "x$host_alias" = x; then
   4867   ac_cv_host=$ac_cv_build
   4868 else
   4869   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4870     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4871 fi
   4872 
   4873 fi
   4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4875 printf "%s\n" "$ac_cv_host" >&6; }
   4876 case $ac_cv_host in
   4877 *-*-*) ;;
   4878 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4879 esac
   4880 host=$ac_cv_host
   4881 ac_save_IFS=$IFS; IFS='-'
   4882 set x $ac_cv_host
   4883 shift
   4884 host_cpu=$1
   4885 host_vendor=$2
   4886 shift; shift
   4887 # Remember, the first character of IFS is used to create $*,
   4888 # except with old shells:
   4889 host_os=$*
   4890 IFS=$ac_save_IFS
   4891 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4892 
   4893 
   4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4895 printf %s "checking for a sed that does not truncate output... " >&6; }
   4896 if test ${ac_cv_path_SED+y}
   4897 then :
   4898   printf %s "(cached) " >&6
   4899 else $as_nop
   4900             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4901      for ac_i in 1 2 3 4 5 6 7; do
   4902        ac_script="$ac_script$as_nl$ac_script"
   4903      done
   4904      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4905      { ac_script=; unset ac_script;}
   4906      if test -z "$SED"; then
   4907   ac_path_SED_found=false
   4908   # Loop through the user's path and test for each of PROGNAME-LIST
   4909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4910 for as_dir in $PATH
   4911 do
   4912   IFS=$as_save_IFS
   4913   case $as_dir in #(((
   4914     '') as_dir=./ ;;
   4915     */) ;;
   4916     *) as_dir=$as_dir/ ;;
   4917   esac
   4918     for ac_prog in sed gsed
   4919    do
   4920     for ac_exec_ext in '' $ac_executable_extensions; do
   4921       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4922       as_fn_executable_p "$ac_path_SED" || continue
   4923 # Check for GNU ac_path_SED and select it if it is found.
   4924   # Check for GNU $ac_path_SED
   4925 case `"$ac_path_SED" --version 2>&1` in
   4926 *GNU*)
   4927   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4928 *)
   4929   ac_count=0
   4930   printf %s 0123456789 >"conftest.in"
   4931   while :
   4932   do
   4933     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4934     mv "conftest.tmp" "conftest.in"
   4935     cp "conftest.in" "conftest.nl"
   4936     printf "%s\n" '' >> "conftest.nl"
   4937     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4938     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4939     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4940     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4941       # Best one so far, save it but keep looking for a better one
   4942       ac_cv_path_SED="$ac_path_SED"
   4943       ac_path_SED_max=$ac_count
   4944     fi
   4945     # 10*(2^10) chars as input seems more than enough
   4946     test $ac_count -gt 10 && break
   4947   done
   4948   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4949 esac
   4950 
   4951       $ac_path_SED_found && break 3
   4952     done
   4953   done
   4954   done
   4955 IFS=$as_save_IFS
   4956   if test -z "$ac_cv_path_SED"; then
   4957     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4958   fi
   4959 else
   4960   ac_cv_path_SED=$SED
   4961 fi
   4962 
   4963 fi
   4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4965 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4966  SED="$ac_cv_path_SED"
   4967   rm -f conftest.sed
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 # Check whether --enable-selective-werror was given.
   4975 if test ${enable_selective_werror+y}
   4976 then :
   4977   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4978 else $as_nop
   4979   SELECTIVE_WERROR=yes
   4980 fi
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4987 if test "x$SUNCC" = "xyes"; then
   4988     BASE_CFLAGS="-v"
   4989 else
   4990     BASE_CFLAGS=""
   4991 fi
   4992 
   4993 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 xorg_testset_save_CFLAGS="$CFLAGS"
   5008 
   5009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5012 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5013 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5014 then :
   5015   printf %s "(cached) " >&6
   5016 else $as_nop
   5017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5018 /* end confdefs.h.  */
   5019 int i;
   5020 _ACEOF
   5021 if ac_fn_c_try_compile "$LINENO"
   5022 then :
   5023   xorg_cv_cc_flag_unknown_warning_option=yes
   5024 else $as_nop
   5025   xorg_cv_cc_flag_unknown_warning_option=no
   5026 fi
   5027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5028 fi
   5029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5030 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5032 	CFLAGS="$xorg_testset_save_CFLAGS"
   5033 fi
   5034 
   5035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5038 	fi
   5039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5041 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5042 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5043 then :
   5044   printf %s "(cached) " >&6
   5045 else $as_nop
   5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5047 /* end confdefs.h.  */
   5048 int i;
   5049 _ACEOF
   5050 if ac_fn_c_try_compile "$LINENO"
   5051 then :
   5052   xorg_cv_cc_flag_unused_command_line_argument=yes
   5053 else $as_nop
   5054   xorg_cv_cc_flag_unused_command_line_argument=no
   5055 fi
   5056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5057 fi
   5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5059 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5061 	CFLAGS="$xorg_testset_save_CFLAGS"
   5062 fi
   5063 
   5064 found="no"
   5065 
   5066 	if test $found = "no" ; then
   5067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5069 		fi
   5070 
   5071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5073 		fi
   5074 
   5075 		CFLAGS="$CFLAGS -Wall"
   5076 
   5077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5078 printf %s "checking if $CC supports -Wall... " >&6; }
   5079 		cacheid=xorg_cv_cc_flag__Wall
   5080 		if eval test \${$cacheid+y}
   5081 then :
   5082   printf %s "(cached) " >&6
   5083 else $as_nop
   5084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5085 /* end confdefs.h.  */
   5086 int i;
   5087 int
   5088 main (void)
   5089 {
   5090 
   5091   ;
   5092   return 0;
   5093 }
   5094 _ACEOF
   5095 if ac_fn_c_try_link "$LINENO"
   5096 then :
   5097   eval $cacheid=yes
   5098 else $as_nop
   5099   eval $cacheid=no
   5100 fi
   5101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5102     conftest$ac_exeext conftest.$ac_ext
   5103 fi
   5104 
   5105 
   5106 		CFLAGS="$xorg_testset_save_CFLAGS"
   5107 
   5108 		eval supported=\$$cacheid
   5109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5110 printf "%s\n" "$supported" >&6; }
   5111 		if test "$supported" = "yes" ; then
   5112 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5113 			found="yes"
   5114 		fi
   5115 	fi
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 xorg_testset_save_CFLAGS="$CFLAGS"
   5132 
   5133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5136 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5137 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5138 then :
   5139   printf %s "(cached) " >&6
   5140 else $as_nop
   5141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5142 /* end confdefs.h.  */
   5143 int i;
   5144 _ACEOF
   5145 if ac_fn_c_try_compile "$LINENO"
   5146 then :
   5147   xorg_cv_cc_flag_unknown_warning_option=yes
   5148 else $as_nop
   5149   xorg_cv_cc_flag_unknown_warning_option=no
   5150 fi
   5151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5152 fi
   5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5156 	CFLAGS="$xorg_testset_save_CFLAGS"
   5157 fi
   5158 
   5159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5162 	fi
   5163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5167 then :
   5168   printf %s "(cached) " >&6
   5169 else $as_nop
   5170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 _ACEOF
   5174 if ac_fn_c_try_compile "$LINENO"
   5175 then :
   5176   xorg_cv_cc_flag_unused_command_line_argument=yes
   5177 else $as_nop
   5178   xorg_cv_cc_flag_unused_command_line_argument=no
   5179 fi
   5180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5181 fi
   5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5183 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5185 	CFLAGS="$xorg_testset_save_CFLAGS"
   5186 fi
   5187 
   5188 found="no"
   5189 
   5190 	if test $found = "no" ; then
   5191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 		fi
   5194 
   5195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5197 		fi
   5198 
   5199 		CFLAGS="$CFLAGS -Wpointer-arith"
   5200 
   5201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5202 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5203 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5204 		if eval test \${$cacheid+y}
   5205 then :
   5206   printf %s "(cached) " >&6
   5207 else $as_nop
   5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 int
   5212 main (void)
   5213 {
   5214 
   5215   ;
   5216   return 0;
   5217 }
   5218 _ACEOF
   5219 if ac_fn_c_try_link "$LINENO"
   5220 then :
   5221   eval $cacheid=yes
   5222 else $as_nop
   5223   eval $cacheid=no
   5224 fi
   5225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5226     conftest$ac_exeext conftest.$ac_ext
   5227 fi
   5228 
   5229 
   5230 		CFLAGS="$xorg_testset_save_CFLAGS"
   5231 
   5232 		eval supported=\$$cacheid
   5233 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5234 printf "%s\n" "$supported" >&6; }
   5235 		if test "$supported" = "yes" ; then
   5236 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5237 			found="yes"
   5238 		fi
   5239 	fi
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 xorg_testset_save_CFLAGS="$CFLAGS"
   5256 
   5257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5260 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5261 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5262 then :
   5263   printf %s "(cached) " >&6
   5264 else $as_nop
   5265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5266 /* end confdefs.h.  */
   5267 int i;
   5268 _ACEOF
   5269 if ac_fn_c_try_compile "$LINENO"
   5270 then :
   5271   xorg_cv_cc_flag_unknown_warning_option=yes
   5272 else $as_nop
   5273   xorg_cv_cc_flag_unknown_warning_option=no
   5274 fi
   5275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5276 fi
   5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5278 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5280 	CFLAGS="$xorg_testset_save_CFLAGS"
   5281 fi
   5282 
   5283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	fi
   5287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5289 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5290 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5291 then :
   5292   printf %s "(cached) " >&6
   5293 else $as_nop
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 _ACEOF
   5298 if ac_fn_c_try_compile "$LINENO"
   5299 then :
   5300   xorg_cv_cc_flag_unused_command_line_argument=yes
   5301 else $as_nop
   5302   xorg_cv_cc_flag_unused_command_line_argument=no
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5305 fi
   5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5307 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5309 	CFLAGS="$xorg_testset_save_CFLAGS"
   5310 fi
   5311 
   5312 found="no"
   5313 
   5314 	if test $found = "no" ; then
   5315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5317 		fi
   5318 
   5319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5321 		fi
   5322 
   5323 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5324 
   5325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5326 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5327 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5328 		if eval test \${$cacheid+y}
   5329 then :
   5330   printf %s "(cached) " >&6
   5331 else $as_nop
   5332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5333 /* end confdefs.h.  */
   5334 int i;
   5335 int
   5336 main (void)
   5337 {
   5338 
   5339   ;
   5340   return 0;
   5341 }
   5342 _ACEOF
   5343 if ac_fn_c_try_link "$LINENO"
   5344 then :
   5345   eval $cacheid=yes
   5346 else $as_nop
   5347   eval $cacheid=no
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5350     conftest$ac_exeext conftest.$ac_ext
   5351 fi
   5352 
   5353 
   5354 		CFLAGS="$xorg_testset_save_CFLAGS"
   5355 
   5356 		eval supported=\$$cacheid
   5357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5358 printf "%s\n" "$supported" >&6; }
   5359 		if test "$supported" = "yes" ; then
   5360 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5361 			found="yes"
   5362 		fi
   5363 	fi
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 xorg_testset_save_CFLAGS="$CFLAGS"
   5380 
   5381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5384 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5385 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5386 then :
   5387   printf %s "(cached) " >&6
   5388 else $as_nop
   5389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5390 /* end confdefs.h.  */
   5391 int i;
   5392 _ACEOF
   5393 if ac_fn_c_try_compile "$LINENO"
   5394 then :
   5395   xorg_cv_cc_flag_unknown_warning_option=yes
   5396 else $as_nop
   5397   xorg_cv_cc_flag_unknown_warning_option=no
   5398 fi
   5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5400 fi
   5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5402 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5404 	CFLAGS="$xorg_testset_save_CFLAGS"
   5405 fi
   5406 
   5407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5410 	fi
   5411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5412 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5413 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5414 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5415 then :
   5416   printf %s "(cached) " >&6
   5417 else $as_nop
   5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5419 /* end confdefs.h.  */
   5420 int i;
   5421 _ACEOF
   5422 if ac_fn_c_try_compile "$LINENO"
   5423 then :
   5424   xorg_cv_cc_flag_unused_command_line_argument=yes
   5425 else $as_nop
   5426   xorg_cv_cc_flag_unused_command_line_argument=no
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5429 fi
   5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5431 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5433 	CFLAGS="$xorg_testset_save_CFLAGS"
   5434 fi
   5435 
   5436 found="no"
   5437 
   5438 	if test $found = "no" ; then
   5439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5441 		fi
   5442 
   5443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5445 		fi
   5446 
   5447 		CFLAGS="$CFLAGS -Wformat=2"
   5448 
   5449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5450 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5451 		cacheid=xorg_cv_cc_flag__Wformat_2
   5452 		if eval test \${$cacheid+y}
   5453 then :
   5454   printf %s "(cached) " >&6
   5455 else $as_nop
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 int
   5460 main (void)
   5461 {
   5462 
   5463   ;
   5464   return 0;
   5465 }
   5466 _ACEOF
   5467 if ac_fn_c_try_link "$LINENO"
   5468 then :
   5469   eval $cacheid=yes
   5470 else $as_nop
   5471   eval $cacheid=no
   5472 fi
   5473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5474     conftest$ac_exeext conftest.$ac_ext
   5475 fi
   5476 
   5477 
   5478 		CFLAGS="$xorg_testset_save_CFLAGS"
   5479 
   5480 		eval supported=\$$cacheid
   5481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5482 printf "%s\n" "$supported" >&6; }
   5483 		if test "$supported" = "yes" ; then
   5484 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5485 			found="yes"
   5486 		fi
   5487 	fi
   5488 
   5489 	if test $found = "no" ; then
   5490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5492 		fi
   5493 
   5494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5496 		fi
   5497 
   5498 		CFLAGS="$CFLAGS -Wformat"
   5499 
   5500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5501 printf %s "checking if $CC supports -Wformat... " >&6; }
   5502 		cacheid=xorg_cv_cc_flag__Wformat
   5503 		if eval test \${$cacheid+y}
   5504 then :
   5505   printf %s "(cached) " >&6
   5506 else $as_nop
   5507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 int i;
   5510 int
   5511 main (void)
   5512 {
   5513 
   5514   ;
   5515   return 0;
   5516 }
   5517 _ACEOF
   5518 if ac_fn_c_try_link "$LINENO"
   5519 then :
   5520   eval $cacheid=yes
   5521 else $as_nop
   5522   eval $cacheid=no
   5523 fi
   5524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5525     conftest$ac_exeext conftest.$ac_ext
   5526 fi
   5527 
   5528 
   5529 		CFLAGS="$xorg_testset_save_CFLAGS"
   5530 
   5531 		eval supported=\$$cacheid
   5532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5533 printf "%s\n" "$supported" >&6; }
   5534 		if test "$supported" = "yes" ; then
   5535 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5536 			found="yes"
   5537 		fi
   5538 	fi
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 xorg_testset_save_CFLAGS="$CFLAGS"
   5557 
   5558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5563 then :
   5564   printf %s "(cached) " >&6
   5565 else $as_nop
   5566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5567 /* end confdefs.h.  */
   5568 int i;
   5569 _ACEOF
   5570 if ac_fn_c_try_compile "$LINENO"
   5571 then :
   5572   xorg_cv_cc_flag_unknown_warning_option=yes
   5573 else $as_nop
   5574   xorg_cv_cc_flag_unknown_warning_option=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5577 fi
   5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5579 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 	fi
   5588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5592 then :
   5593   printf %s "(cached) " >&6
   5594 else $as_nop
   5595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5596 /* end confdefs.h.  */
   5597 int i;
   5598 _ACEOF
   5599 if ac_fn_c_try_compile "$LINENO"
   5600 then :
   5601   xorg_cv_cc_flag_unused_command_line_argument=yes
   5602 else $as_nop
   5603   xorg_cv_cc_flag_unused_command_line_argument=no
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5606 fi
   5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5608 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5610 	CFLAGS="$xorg_testset_save_CFLAGS"
   5611 fi
   5612 
   5613 found="no"
   5614 
   5615 	if test $found = "no" ; then
   5616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5618 		fi
   5619 
   5620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5622 		fi
   5623 
   5624 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5625 
   5626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5627 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5628 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5629 		if eval test \${$cacheid+y}
   5630 then :
   5631   printf %s "(cached) " >&6
   5632 else $as_nop
   5633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5634 /* end confdefs.h.  */
   5635 int i;
   5636 int
   5637 main (void)
   5638 {
   5639 
   5640   ;
   5641   return 0;
   5642 }
   5643 _ACEOF
   5644 if ac_fn_c_try_link "$LINENO"
   5645 then :
   5646   eval $cacheid=yes
   5647 else $as_nop
   5648   eval $cacheid=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5651     conftest$ac_exeext conftest.$ac_ext
   5652 fi
   5653 
   5654 
   5655 		CFLAGS="$xorg_testset_save_CFLAGS"
   5656 
   5657 		eval supported=\$$cacheid
   5658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5659 printf "%s\n" "$supported" >&6; }
   5660 		if test "$supported" = "yes" ; then
   5661 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5662 			found="yes"
   5663 		fi
   5664 	fi
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 xorg_testset_save_CFLAGS="$CFLAGS"
   5681 
   5682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5687 then :
   5688   printf %s "(cached) " >&6
   5689 else $as_nop
   5690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5691 /* end confdefs.h.  */
   5692 int i;
   5693 _ACEOF
   5694 if ac_fn_c_try_compile "$LINENO"
   5695 then :
   5696   xorg_cv_cc_flag_unknown_warning_option=yes
   5697 else $as_nop
   5698   xorg_cv_cc_flag_unknown_warning_option=no
   5699 fi
   5700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5701 fi
   5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5703 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5705 	CFLAGS="$xorg_testset_save_CFLAGS"
   5706 fi
   5707 
   5708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5711 	fi
   5712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5714 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5715 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5716 then :
   5717   printf %s "(cached) " >&6
   5718 else $as_nop
   5719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 _ACEOF
   5723 if ac_fn_c_try_compile "$LINENO"
   5724 then :
   5725   xorg_cv_cc_flag_unused_command_line_argument=yes
   5726 else $as_nop
   5727   xorg_cv_cc_flag_unused_command_line_argument=no
   5728 fi
   5729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5730 fi
   5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5732 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5734 	CFLAGS="$xorg_testset_save_CFLAGS"
   5735 fi
   5736 
   5737 found="no"
   5738 
   5739 	if test $found = "no" ; then
   5740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5742 		fi
   5743 
   5744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5746 		fi
   5747 
   5748 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5749 
   5750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5751 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5752 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5753 		if eval test \${$cacheid+y}
   5754 then :
   5755   printf %s "(cached) " >&6
   5756 else $as_nop
   5757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5758 /* end confdefs.h.  */
   5759 int i;
   5760 int
   5761 main (void)
   5762 {
   5763 
   5764   ;
   5765   return 0;
   5766 }
   5767 _ACEOF
   5768 if ac_fn_c_try_link "$LINENO"
   5769 then :
   5770   eval $cacheid=yes
   5771 else $as_nop
   5772   eval $cacheid=no
   5773 fi
   5774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5775     conftest$ac_exeext conftest.$ac_ext
   5776 fi
   5777 
   5778 
   5779 		CFLAGS="$xorg_testset_save_CFLAGS"
   5780 
   5781 		eval supported=\$$cacheid
   5782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5783 printf "%s\n" "$supported" >&6; }
   5784 		if test "$supported" = "yes" ; then
   5785 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5786 			found="yes"
   5787 		fi
   5788 	fi
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 xorg_testset_save_CFLAGS="$CFLAGS"
   5805 
   5806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5809 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5810 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5811 then :
   5812   printf %s "(cached) " >&6
   5813 else $as_nop
   5814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5815 /* end confdefs.h.  */
   5816 int i;
   5817 _ACEOF
   5818 if ac_fn_c_try_compile "$LINENO"
   5819 then :
   5820   xorg_cv_cc_flag_unknown_warning_option=yes
   5821 else $as_nop
   5822   xorg_cv_cc_flag_unknown_warning_option=no
   5823 fi
   5824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5825 fi
   5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5827 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5829 	CFLAGS="$xorg_testset_save_CFLAGS"
   5830 fi
   5831 
   5832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5835 	fi
   5836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5837 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5838 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5839 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5840 then :
   5841   printf %s "(cached) " >&6
   5842 else $as_nop
   5843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5844 /* end confdefs.h.  */
   5845 int i;
   5846 _ACEOF
   5847 if ac_fn_c_try_compile "$LINENO"
   5848 then :
   5849   xorg_cv_cc_flag_unused_command_line_argument=yes
   5850 else $as_nop
   5851   xorg_cv_cc_flag_unused_command_line_argument=no
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5854 fi
   5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5858 	CFLAGS="$xorg_testset_save_CFLAGS"
   5859 fi
   5860 
   5861 found="no"
   5862 
   5863 	if test $found = "no" ; then
   5864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5866 		fi
   5867 
   5868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5870 		fi
   5871 
   5872 		CFLAGS="$CFLAGS -Wnested-externs"
   5873 
   5874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5875 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5876 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5877 		if eval test \${$cacheid+y}
   5878 then :
   5879   printf %s "(cached) " >&6
   5880 else $as_nop
   5881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5882 /* end confdefs.h.  */
   5883 int i;
   5884 int
   5885 main (void)
   5886 {
   5887 
   5888   ;
   5889   return 0;
   5890 }
   5891 _ACEOF
   5892 if ac_fn_c_try_link "$LINENO"
   5893 then :
   5894   eval $cacheid=yes
   5895 else $as_nop
   5896   eval $cacheid=no
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5899     conftest$ac_exeext conftest.$ac_ext
   5900 fi
   5901 
   5902 
   5903 		CFLAGS="$xorg_testset_save_CFLAGS"
   5904 
   5905 		eval supported=\$$cacheid
   5906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5907 printf "%s\n" "$supported" >&6; }
   5908 		if test "$supported" = "yes" ; then
   5909 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5910 			found="yes"
   5911 		fi
   5912 	fi
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 xorg_testset_save_CFLAGS="$CFLAGS"
   5929 
   5930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5933 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5934 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5935 then :
   5936   printf %s "(cached) " >&6
   5937 else $as_nop
   5938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5939 /* end confdefs.h.  */
   5940 int i;
   5941 _ACEOF
   5942 if ac_fn_c_try_compile "$LINENO"
   5943 then :
   5944   xorg_cv_cc_flag_unknown_warning_option=yes
   5945 else $as_nop
   5946   xorg_cv_cc_flag_unknown_warning_option=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5949 fi
   5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5951 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 	fi
   5960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5962 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5963 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5964 then :
   5965   printf %s "(cached) " >&6
   5966 else $as_nop
   5967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5968 /* end confdefs.h.  */
   5969 int i;
   5970 _ACEOF
   5971 if ac_fn_c_try_compile "$LINENO"
   5972 then :
   5973   xorg_cv_cc_flag_unused_command_line_argument=yes
   5974 else $as_nop
   5975   xorg_cv_cc_flag_unused_command_line_argument=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5978 fi
   5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5980 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 found="no"
   5986 
   5987 	if test $found = "no" ; then
   5988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5990 		fi
   5991 
   5992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5994 		fi
   5995 
   5996 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5997 
   5998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5999 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6000 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6001 		if eval test \${$cacheid+y}
   6002 then :
   6003   printf %s "(cached) " >&6
   6004 else $as_nop
   6005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6006 /* end confdefs.h.  */
   6007 int i;
   6008 int
   6009 main (void)
   6010 {
   6011 
   6012   ;
   6013   return 0;
   6014 }
   6015 _ACEOF
   6016 if ac_fn_c_try_link "$LINENO"
   6017 then :
   6018   eval $cacheid=yes
   6019 else $as_nop
   6020   eval $cacheid=no
   6021 fi
   6022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6023     conftest$ac_exeext conftest.$ac_ext
   6024 fi
   6025 
   6026 
   6027 		CFLAGS="$xorg_testset_save_CFLAGS"
   6028 
   6029 		eval supported=\$$cacheid
   6030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6031 printf "%s\n" "$supported" >&6; }
   6032 		if test "$supported" = "yes" ; then
   6033 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6034 			found="yes"
   6035 		fi
   6036 	fi
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 xorg_testset_save_CFLAGS="$CFLAGS"
   6053 
   6054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6059 then :
   6060   printf %s "(cached) " >&6
   6061 else $as_nop
   6062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6063 /* end confdefs.h.  */
   6064 int i;
   6065 _ACEOF
   6066 if ac_fn_c_try_compile "$LINENO"
   6067 then :
   6068   xorg_cv_cc_flag_unknown_warning_option=yes
   6069 else $as_nop
   6070   xorg_cv_cc_flag_unknown_warning_option=no
   6071 fi
   6072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6073 fi
   6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6077 	CFLAGS="$xorg_testset_save_CFLAGS"
   6078 fi
   6079 
   6080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 	fi
   6084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6088 then :
   6089   printf %s "(cached) " >&6
   6090 else $as_nop
   6091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 _ACEOF
   6095 if ac_fn_c_try_compile "$LINENO"
   6096 then :
   6097   xorg_cv_cc_flag_unused_command_line_argument=yes
   6098 else $as_nop
   6099   xorg_cv_cc_flag_unused_command_line_argument=no
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6102 fi
   6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6106 	CFLAGS="$xorg_testset_save_CFLAGS"
   6107 fi
   6108 
   6109 found="no"
   6110 
   6111 	if test $found = "no" ; then
   6112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 		fi
   6115 
   6116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6118 		fi
   6119 
   6120 		CFLAGS="$CFLAGS -Wold-style-definition"
   6121 
   6122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6123 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6124 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6125 		if eval test \${$cacheid+y}
   6126 then :
   6127   printf %s "(cached) " >&6
   6128 else $as_nop
   6129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 int
   6133 main (void)
   6134 {
   6135 
   6136   ;
   6137   return 0;
   6138 }
   6139 _ACEOF
   6140 if ac_fn_c_try_link "$LINENO"
   6141 then :
   6142   eval $cacheid=yes
   6143 else $as_nop
   6144   eval $cacheid=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6147     conftest$ac_exeext conftest.$ac_ext
   6148 fi
   6149 
   6150 
   6151 		CFLAGS="$xorg_testset_save_CFLAGS"
   6152 
   6153 		eval supported=\$$cacheid
   6154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6155 printf "%s\n" "$supported" >&6; }
   6156 		if test "$supported" = "yes" ; then
   6157 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6158 			found="yes"
   6159 		fi
   6160 	fi
   6161 
   6162 	if test $found = "no" ; then
   6163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6165 		fi
   6166 
   6167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6169 		fi
   6170 
   6171 		CFLAGS="$CFLAGS -fd"
   6172 
   6173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6174 printf %s "checking if $CC supports -fd... " >&6; }
   6175 		cacheid=xorg_cv_cc_flag__fd
   6176 		if eval test \${$cacheid+y}
   6177 then :
   6178   printf %s "(cached) " >&6
   6179 else $as_nop
   6180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6181 /* end confdefs.h.  */
   6182 int i;
   6183 int
   6184 main (void)
   6185 {
   6186 
   6187   ;
   6188   return 0;
   6189 }
   6190 _ACEOF
   6191 if ac_fn_c_try_link "$LINENO"
   6192 then :
   6193   eval $cacheid=yes
   6194 else $as_nop
   6195   eval $cacheid=no
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6198     conftest$ac_exeext conftest.$ac_ext
   6199 fi
   6200 
   6201 
   6202 		CFLAGS="$xorg_testset_save_CFLAGS"
   6203 
   6204 		eval supported=\$$cacheid
   6205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6206 printf "%s\n" "$supported" >&6; }
   6207 		if test "$supported" = "yes" ; then
   6208 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6209 			found="yes"
   6210 		fi
   6211 	fi
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 xorg_testset_save_CFLAGS="$CFLAGS"
   6228 
   6229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6234 then :
   6235   printf %s "(cached) " >&6
   6236 else $as_nop
   6237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 int i;
   6240 _ACEOF
   6241 if ac_fn_c_try_compile "$LINENO"
   6242 then :
   6243   xorg_cv_cc_flag_unknown_warning_option=yes
   6244 else $as_nop
   6245   xorg_cv_cc_flag_unknown_warning_option=no
   6246 fi
   6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6248 fi
   6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6250 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6252 	CFLAGS="$xorg_testset_save_CFLAGS"
   6253 fi
   6254 
   6255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6258 	fi
   6259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6261 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6262 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else $as_nop
   6266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 _ACEOF
   6270 if ac_fn_c_try_compile "$LINENO"
   6271 then :
   6272   xorg_cv_cc_flag_unused_command_line_argument=yes
   6273 else $as_nop
   6274   xorg_cv_cc_flag_unused_command_line_argument=no
   6275 fi
   6276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6277 fi
   6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6279 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6281 	CFLAGS="$xorg_testset_save_CFLAGS"
   6282 fi
   6283 
   6284 found="no"
   6285 
   6286 	if test $found = "no" ; then
   6287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6289 		fi
   6290 
   6291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6293 		fi
   6294 
   6295 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6296 
   6297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6298 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6299 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6300 		if eval test \${$cacheid+y}
   6301 then :
   6302   printf %s "(cached) " >&6
   6303 else $as_nop
   6304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6305 /* end confdefs.h.  */
   6306 int i;
   6307 int
   6308 main (void)
   6309 {
   6310 
   6311   ;
   6312   return 0;
   6313 }
   6314 _ACEOF
   6315 if ac_fn_c_try_link "$LINENO"
   6316 then :
   6317   eval $cacheid=yes
   6318 else $as_nop
   6319   eval $cacheid=no
   6320 fi
   6321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6322     conftest$ac_exeext conftest.$ac_ext
   6323 fi
   6324 
   6325 
   6326 		CFLAGS="$xorg_testset_save_CFLAGS"
   6327 
   6328 		eval supported=\$$cacheid
   6329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6330 printf "%s\n" "$supported" >&6; }
   6331 		if test "$supported" = "yes" ; then
   6332 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6333 			found="yes"
   6334 		fi
   6335 	fi
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 # This chunk adds additional warnings that could catch undesired effects.
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 xorg_testset_save_CFLAGS="$CFLAGS"
   6356 
   6357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6362 then :
   6363   printf %s "(cached) " >&6
   6364 else $as_nop
   6365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6366 /* end confdefs.h.  */
   6367 int i;
   6368 _ACEOF
   6369 if ac_fn_c_try_compile "$LINENO"
   6370 then :
   6371   xorg_cv_cc_flag_unknown_warning_option=yes
   6372 else $as_nop
   6373   xorg_cv_cc_flag_unknown_warning_option=no
   6374 fi
   6375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6376 fi
   6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6380 	CFLAGS="$xorg_testset_save_CFLAGS"
   6381 fi
   6382 
   6383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6386 	fi
   6387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6391 then :
   6392   printf %s "(cached) " >&6
   6393 else $as_nop
   6394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6395 /* end confdefs.h.  */
   6396 int i;
   6397 _ACEOF
   6398 if ac_fn_c_try_compile "$LINENO"
   6399 then :
   6400   xorg_cv_cc_flag_unused_command_line_argument=yes
   6401 else $as_nop
   6402   xorg_cv_cc_flag_unused_command_line_argument=no
   6403 fi
   6404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6405 fi
   6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6407 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6409 	CFLAGS="$xorg_testset_save_CFLAGS"
   6410 fi
   6411 
   6412 found="no"
   6413 
   6414 	if test $found = "no" ; then
   6415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6417 		fi
   6418 
   6419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6421 		fi
   6422 
   6423 		CFLAGS="$CFLAGS -Wunused"
   6424 
   6425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6426 printf %s "checking if $CC supports -Wunused... " >&6; }
   6427 		cacheid=xorg_cv_cc_flag__Wunused
   6428 		if eval test \${$cacheid+y}
   6429 then :
   6430   printf %s "(cached) " >&6
   6431 else $as_nop
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 int i;
   6435 int
   6436 main (void)
   6437 {
   6438 
   6439   ;
   6440   return 0;
   6441 }
   6442 _ACEOF
   6443 if ac_fn_c_try_link "$LINENO"
   6444 then :
   6445   eval $cacheid=yes
   6446 else $as_nop
   6447   eval $cacheid=no
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6450     conftest$ac_exeext conftest.$ac_ext
   6451 fi
   6452 
   6453 
   6454 		CFLAGS="$xorg_testset_save_CFLAGS"
   6455 
   6456 		eval supported=\$$cacheid
   6457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6458 printf "%s\n" "$supported" >&6; }
   6459 		if test "$supported" = "yes" ; then
   6460 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6461 			found="yes"
   6462 		fi
   6463 	fi
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 xorg_testset_save_CFLAGS="$CFLAGS"
   6480 
   6481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6486 then :
   6487   printf %s "(cached) " >&6
   6488 else $as_nop
   6489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 int i;
   6492 _ACEOF
   6493 if ac_fn_c_try_compile "$LINENO"
   6494 then :
   6495   xorg_cv_cc_flag_unknown_warning_option=yes
   6496 else $as_nop
   6497   xorg_cv_cc_flag_unknown_warning_option=no
   6498 fi
   6499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6500 fi
   6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6504 	CFLAGS="$xorg_testset_save_CFLAGS"
   6505 fi
   6506 
   6507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	fi
   6511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6515 then :
   6516   printf %s "(cached) " >&6
   6517 else $as_nop
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 _ACEOF
   6522 if ac_fn_c_try_compile "$LINENO"
   6523 then :
   6524   xorg_cv_cc_flag_unused_command_line_argument=yes
   6525 else $as_nop
   6526   xorg_cv_cc_flag_unused_command_line_argument=no
   6527 fi
   6528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6529 fi
   6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6533 	CFLAGS="$xorg_testset_save_CFLAGS"
   6534 fi
   6535 
   6536 found="no"
   6537 
   6538 	if test $found = "no" ; then
   6539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6541 		fi
   6542 
   6543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6545 		fi
   6546 
   6547 		CFLAGS="$CFLAGS -Wuninitialized"
   6548 
   6549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6550 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6551 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6552 		if eval test \${$cacheid+y}
   6553 then :
   6554   printf %s "(cached) " >&6
   6555 else $as_nop
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 int
   6560 main (void)
   6561 {
   6562 
   6563   ;
   6564   return 0;
   6565 }
   6566 _ACEOF
   6567 if ac_fn_c_try_link "$LINENO"
   6568 then :
   6569   eval $cacheid=yes
   6570 else $as_nop
   6571   eval $cacheid=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6574     conftest$ac_exeext conftest.$ac_ext
   6575 fi
   6576 
   6577 
   6578 		CFLAGS="$xorg_testset_save_CFLAGS"
   6579 
   6580 		eval supported=\$$cacheid
   6581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6582 printf "%s\n" "$supported" >&6; }
   6583 		if test "$supported" = "yes" ; then
   6584 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6585 			found="yes"
   6586 		fi
   6587 	fi
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 xorg_testset_save_CFLAGS="$CFLAGS"
   6604 
   6605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6610 then :
   6611   printf %s "(cached) " >&6
   6612 else $as_nop
   6613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6614 /* end confdefs.h.  */
   6615 int i;
   6616 _ACEOF
   6617 if ac_fn_c_try_compile "$LINENO"
   6618 then :
   6619   xorg_cv_cc_flag_unknown_warning_option=yes
   6620 else $as_nop
   6621   xorg_cv_cc_flag_unknown_warning_option=no
   6622 fi
   6623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6624 fi
   6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6628 	CFLAGS="$xorg_testset_save_CFLAGS"
   6629 fi
   6630 
   6631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6634 	fi
   6635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6639 then :
   6640   printf %s "(cached) " >&6
   6641 else $as_nop
   6642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 _ACEOF
   6646 if ac_fn_c_try_compile "$LINENO"
   6647 then :
   6648   xorg_cv_cc_flag_unused_command_line_argument=yes
   6649 else $as_nop
   6650   xorg_cv_cc_flag_unused_command_line_argument=no
   6651 fi
   6652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6653 fi
   6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6657 	CFLAGS="$xorg_testset_save_CFLAGS"
   6658 fi
   6659 
   6660 found="no"
   6661 
   6662 	if test $found = "no" ; then
   6663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6665 		fi
   6666 
   6667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6669 		fi
   6670 
   6671 		CFLAGS="$CFLAGS -Wshadow"
   6672 
   6673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6674 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6675 		cacheid=xorg_cv_cc_flag__Wshadow
   6676 		if eval test \${$cacheid+y}
   6677 then :
   6678   printf %s "(cached) " >&6
   6679 else $as_nop
   6680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6681 /* end confdefs.h.  */
   6682 int i;
   6683 int
   6684 main (void)
   6685 {
   6686 
   6687   ;
   6688   return 0;
   6689 }
   6690 _ACEOF
   6691 if ac_fn_c_try_link "$LINENO"
   6692 then :
   6693   eval $cacheid=yes
   6694 else $as_nop
   6695   eval $cacheid=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6698     conftest$ac_exeext conftest.$ac_ext
   6699 fi
   6700 
   6701 
   6702 		CFLAGS="$xorg_testset_save_CFLAGS"
   6703 
   6704 		eval supported=\$$cacheid
   6705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6706 printf "%s\n" "$supported" >&6; }
   6707 		if test "$supported" = "yes" ; then
   6708 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6709 			found="yes"
   6710 		fi
   6711 	fi
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 xorg_testset_save_CFLAGS="$CFLAGS"
   6728 
   6729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6732 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6733 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6734 then :
   6735   printf %s "(cached) " >&6
   6736 else $as_nop
   6737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6738 /* end confdefs.h.  */
   6739 int i;
   6740 _ACEOF
   6741 if ac_fn_c_try_compile "$LINENO"
   6742 then :
   6743   xorg_cv_cc_flag_unknown_warning_option=yes
   6744 else $as_nop
   6745   xorg_cv_cc_flag_unknown_warning_option=no
   6746 fi
   6747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6748 fi
   6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6752 	CFLAGS="$xorg_testset_save_CFLAGS"
   6753 fi
   6754 
   6755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	fi
   6759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6763 then :
   6764   printf %s "(cached) " >&6
   6765 else $as_nop
   6766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6767 /* end confdefs.h.  */
   6768 int i;
   6769 _ACEOF
   6770 if ac_fn_c_try_compile "$LINENO"
   6771 then :
   6772   xorg_cv_cc_flag_unused_command_line_argument=yes
   6773 else $as_nop
   6774   xorg_cv_cc_flag_unused_command_line_argument=no
   6775 fi
   6776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6777 fi
   6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6779 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6781 	CFLAGS="$xorg_testset_save_CFLAGS"
   6782 fi
   6783 
   6784 found="no"
   6785 
   6786 	if test $found = "no" ; then
   6787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6789 		fi
   6790 
   6791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6793 		fi
   6794 
   6795 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6796 
   6797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6798 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6799 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6800 		if eval test \${$cacheid+y}
   6801 then :
   6802   printf %s "(cached) " >&6
   6803 else $as_nop
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 int
   6808 main (void)
   6809 {
   6810 
   6811   ;
   6812   return 0;
   6813 }
   6814 _ACEOF
   6815 if ac_fn_c_try_link "$LINENO"
   6816 then :
   6817   eval $cacheid=yes
   6818 else $as_nop
   6819   eval $cacheid=no
   6820 fi
   6821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6822     conftest$ac_exeext conftest.$ac_ext
   6823 fi
   6824 
   6825 
   6826 		CFLAGS="$xorg_testset_save_CFLAGS"
   6827 
   6828 		eval supported=\$$cacheid
   6829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6830 printf "%s\n" "$supported" >&6; }
   6831 		if test "$supported" = "yes" ; then
   6832 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6833 			found="yes"
   6834 		fi
   6835 	fi
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 xorg_testset_save_CFLAGS="$CFLAGS"
   6852 
   6853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6858 then :
   6859   printf %s "(cached) " >&6
   6860 else $as_nop
   6861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6862 /* end confdefs.h.  */
   6863 int i;
   6864 _ACEOF
   6865 if ac_fn_c_try_compile "$LINENO"
   6866 then :
   6867   xorg_cv_cc_flag_unknown_warning_option=yes
   6868 else $as_nop
   6869   xorg_cv_cc_flag_unknown_warning_option=no
   6870 fi
   6871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6872 fi
   6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6876 	CFLAGS="$xorg_testset_save_CFLAGS"
   6877 fi
   6878 
   6879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6882 	fi
   6883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else $as_nop
   6890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6891 /* end confdefs.h.  */
   6892 int i;
   6893 _ACEOF
   6894 if ac_fn_c_try_compile "$LINENO"
   6895 then :
   6896   xorg_cv_cc_flag_unused_command_line_argument=yes
   6897 else $as_nop
   6898   xorg_cv_cc_flag_unused_command_line_argument=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6901 fi
   6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6905 	CFLAGS="$xorg_testset_save_CFLAGS"
   6906 fi
   6907 
   6908 found="no"
   6909 
   6910 	if test $found = "no" ; then
   6911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 		fi
   6914 
   6915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6917 		fi
   6918 
   6919 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6920 
   6921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6922 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6923 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6924 		if eval test \${$cacheid+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else $as_nop
   6928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 int
   6932 main (void)
   6933 {
   6934 
   6935   ;
   6936   return 0;
   6937 }
   6938 _ACEOF
   6939 if ac_fn_c_try_link "$LINENO"
   6940 then :
   6941   eval $cacheid=yes
   6942 else $as_nop
   6943   eval $cacheid=no
   6944 fi
   6945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6946     conftest$ac_exeext conftest.$ac_ext
   6947 fi
   6948 
   6949 
   6950 		CFLAGS="$xorg_testset_save_CFLAGS"
   6951 
   6952 		eval supported=\$$cacheid
   6953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6954 printf "%s\n" "$supported" >&6; }
   6955 		if test "$supported" = "yes" ; then
   6956 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6957 			found="yes"
   6958 		fi
   6959 	fi
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 xorg_testset_save_CFLAGS="$CFLAGS"
   6976 
   6977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6982 then :
   6983   printf %s "(cached) " >&6
   6984 else $as_nop
   6985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 _ACEOF
   6989 if ac_fn_c_try_compile "$LINENO"
   6990 then :
   6991   xorg_cv_cc_flag_unknown_warning_option=yes
   6992 else $as_nop
   6993   xorg_cv_cc_flag_unknown_warning_option=no
   6994 fi
   6995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6996 fi
   6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7000 	CFLAGS="$xorg_testset_save_CFLAGS"
   7001 fi
   7002 
   7003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7006 	fi
   7007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7011 then :
   7012   printf %s "(cached) " >&6
   7013 else $as_nop
   7014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 _ACEOF
   7018 if ac_fn_c_try_compile "$LINENO"
   7019 then :
   7020   xorg_cv_cc_flag_unused_command_line_argument=yes
   7021 else $as_nop
   7022   xorg_cv_cc_flag_unused_command_line_argument=no
   7023 fi
   7024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7025 fi
   7026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7029 	CFLAGS="$xorg_testset_save_CFLAGS"
   7030 fi
   7031 
   7032 found="no"
   7033 
   7034 	if test $found = "no" ; then
   7035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7037 		fi
   7038 
   7039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7041 		fi
   7042 
   7043 		CFLAGS="$CFLAGS -Wredundant-decls"
   7044 
   7045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7046 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7047 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7048 		if eval test \${$cacheid+y}
   7049 then :
   7050   printf %s "(cached) " >&6
   7051 else $as_nop
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 int
   7056 main (void)
   7057 {
   7058 
   7059   ;
   7060   return 0;
   7061 }
   7062 _ACEOF
   7063 if ac_fn_c_try_link "$LINENO"
   7064 then :
   7065   eval $cacheid=yes
   7066 else $as_nop
   7067   eval $cacheid=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7070     conftest$ac_exeext conftest.$ac_ext
   7071 fi
   7072 
   7073 
   7074 		CFLAGS="$xorg_testset_save_CFLAGS"
   7075 
   7076 		eval supported=\$$cacheid
   7077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7078 printf "%s\n" "$supported" >&6; }
   7079 		if test "$supported" = "yes" ; then
   7080 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7081 			found="yes"
   7082 		fi
   7083 	fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 xorg_testset_save_CFLAGS="$CFLAGS"
   7100 
   7101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7106 then :
   7107   printf %s "(cached) " >&6
   7108 else $as_nop
   7109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7110 /* end confdefs.h.  */
   7111 int i;
   7112 _ACEOF
   7113 if ac_fn_c_try_compile "$LINENO"
   7114 then :
   7115   xorg_cv_cc_flag_unknown_warning_option=yes
   7116 else $as_nop
   7117   xorg_cv_cc_flag_unknown_warning_option=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7120 fi
   7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7124 	CFLAGS="$xorg_testset_save_CFLAGS"
   7125 fi
   7126 
   7127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 	fi
   7131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7135 then :
   7136   printf %s "(cached) " >&6
   7137 else $as_nop
   7138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7139 /* end confdefs.h.  */
   7140 int i;
   7141 _ACEOF
   7142 if ac_fn_c_try_compile "$LINENO"
   7143 then :
   7144   xorg_cv_cc_flag_unused_command_line_argument=yes
   7145 else $as_nop
   7146   xorg_cv_cc_flag_unused_command_line_argument=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7149 fi
   7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7153 	CFLAGS="$xorg_testset_save_CFLAGS"
   7154 fi
   7155 
   7156 found="no"
   7157 
   7158 	if test $found = "no" ; then
   7159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7161 		fi
   7162 
   7163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7165 		fi
   7166 
   7167 		CFLAGS="$CFLAGS -Wlogical-op"
   7168 
   7169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7170 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7171 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7172 		if eval test \${$cacheid+y}
   7173 then :
   7174   printf %s "(cached) " >&6
   7175 else $as_nop
   7176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 int i;
   7179 int
   7180 main (void)
   7181 {
   7182 
   7183   ;
   7184   return 0;
   7185 }
   7186 _ACEOF
   7187 if ac_fn_c_try_link "$LINENO"
   7188 then :
   7189   eval $cacheid=yes
   7190 else $as_nop
   7191   eval $cacheid=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7194     conftest$ac_exeext conftest.$ac_ext
   7195 fi
   7196 
   7197 
   7198 		CFLAGS="$xorg_testset_save_CFLAGS"
   7199 
   7200 		eval supported=\$$cacheid
   7201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7202 printf "%s\n" "$supported" >&6; }
   7203 		if test "$supported" = "yes" ; then
   7204 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7205 			found="yes"
   7206 		fi
   7207 	fi
   7208 
   7209 
   7210 
   7211 # These are currently disabled because they are noisy.  They will be enabled
   7212 # in the future once the codebase is sufficiently modernized to silence
   7213 # them.  For now, I don't want them to drown out the other warnings.
   7214 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7215 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7216 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7217 
   7218 # Turn some warnings into errors, so we don't accidently get successful builds
   7219 # when there are problems that should be fixed.
   7220 
   7221 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 xorg_testset_save_CFLAGS="$CFLAGS"
   7236 
   7237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7240 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7241 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7242 then :
   7243   printf %s "(cached) " >&6
   7244 else $as_nop
   7245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246 /* end confdefs.h.  */
   7247 int i;
   7248 _ACEOF
   7249 if ac_fn_c_try_compile "$LINENO"
   7250 then :
   7251   xorg_cv_cc_flag_unknown_warning_option=yes
   7252 else $as_nop
   7253   xorg_cv_cc_flag_unknown_warning_option=no
   7254 fi
   7255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7256 fi
   7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7258 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7260 	CFLAGS="$xorg_testset_save_CFLAGS"
   7261 fi
   7262 
   7263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7266 	fi
   7267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7269 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7270 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7271 then :
   7272   printf %s "(cached) " >&6
   7273 else $as_nop
   7274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 _ACEOF
   7278 if ac_fn_c_try_compile "$LINENO"
   7279 then :
   7280   xorg_cv_cc_flag_unused_command_line_argument=yes
   7281 else $as_nop
   7282   xorg_cv_cc_flag_unused_command_line_argument=no
   7283 fi
   7284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7285 fi
   7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7287 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7289 	CFLAGS="$xorg_testset_save_CFLAGS"
   7290 fi
   7291 
   7292 found="no"
   7293 
   7294 	if test $found = "no" ; then
   7295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7297 		fi
   7298 
   7299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7301 		fi
   7302 
   7303 		CFLAGS="$CFLAGS -Werror=implicit"
   7304 
   7305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7306 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7307 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7308 		if eval test \${$cacheid+y}
   7309 then :
   7310   printf %s "(cached) " >&6
   7311 else $as_nop
   7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 int i;
   7315 int
   7316 main (void)
   7317 {
   7318 
   7319   ;
   7320   return 0;
   7321 }
   7322 _ACEOF
   7323 if ac_fn_c_try_link "$LINENO"
   7324 then :
   7325   eval $cacheid=yes
   7326 else $as_nop
   7327   eval $cacheid=no
   7328 fi
   7329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7330     conftest$ac_exeext conftest.$ac_ext
   7331 fi
   7332 
   7333 
   7334 		CFLAGS="$xorg_testset_save_CFLAGS"
   7335 
   7336 		eval supported=\$$cacheid
   7337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7338 printf "%s\n" "$supported" >&6; }
   7339 		if test "$supported" = "yes" ; then
   7340 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7341 			found="yes"
   7342 		fi
   7343 	fi
   7344 
   7345 	if test $found = "no" ; then
   7346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7348 		fi
   7349 
   7350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7352 		fi
   7353 
   7354 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7355 
   7356 		{ 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
   7357 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7358 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7359 		if eval test \${$cacheid+y}
   7360 then :
   7361   printf %s "(cached) " >&6
   7362 else $as_nop
   7363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7364 /* end confdefs.h.  */
   7365 int i;
   7366 int
   7367 main (void)
   7368 {
   7369 
   7370   ;
   7371   return 0;
   7372 }
   7373 _ACEOF
   7374 if ac_fn_c_try_link "$LINENO"
   7375 then :
   7376   eval $cacheid=yes
   7377 else $as_nop
   7378   eval $cacheid=no
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7381     conftest$ac_exeext conftest.$ac_ext
   7382 fi
   7383 
   7384 
   7385 		CFLAGS="$xorg_testset_save_CFLAGS"
   7386 
   7387 		eval supported=\$$cacheid
   7388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7389 printf "%s\n" "$supported" >&6; }
   7390 		if test "$supported" = "yes" ; then
   7391 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7392 			found="yes"
   7393 		fi
   7394 	fi
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 xorg_testset_save_CFLAGS="$CFLAGS"
   7411 
   7412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7417 then :
   7418   printf %s "(cached) " >&6
   7419 else $as_nop
   7420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 int i;
   7423 _ACEOF
   7424 if ac_fn_c_try_compile "$LINENO"
   7425 then :
   7426   xorg_cv_cc_flag_unknown_warning_option=yes
   7427 else $as_nop
   7428   xorg_cv_cc_flag_unknown_warning_option=no
   7429 fi
   7430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7431 fi
   7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7433 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7435 	CFLAGS="$xorg_testset_save_CFLAGS"
   7436 fi
   7437 
   7438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7441 	fi
   7442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7444 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7445 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7446 then :
   7447   printf %s "(cached) " >&6
   7448 else $as_nop
   7449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7450 /* end confdefs.h.  */
   7451 int i;
   7452 _ACEOF
   7453 if ac_fn_c_try_compile "$LINENO"
   7454 then :
   7455   xorg_cv_cc_flag_unused_command_line_argument=yes
   7456 else $as_nop
   7457   xorg_cv_cc_flag_unused_command_line_argument=no
   7458 fi
   7459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7460 fi
   7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7462 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7464 	CFLAGS="$xorg_testset_save_CFLAGS"
   7465 fi
   7466 
   7467 found="no"
   7468 
   7469 	if test $found = "no" ; then
   7470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7472 		fi
   7473 
   7474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7476 		fi
   7477 
   7478 		CFLAGS="$CFLAGS -Werror=nonnull"
   7479 
   7480 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7481 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7482 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7483 		if eval test \${$cacheid+y}
   7484 then :
   7485   printf %s "(cached) " >&6
   7486 else $as_nop
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 int
   7491 main (void)
   7492 {
   7493 
   7494   ;
   7495   return 0;
   7496 }
   7497 _ACEOF
   7498 if ac_fn_c_try_link "$LINENO"
   7499 then :
   7500   eval $cacheid=yes
   7501 else $as_nop
   7502   eval $cacheid=no
   7503 fi
   7504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7505     conftest$ac_exeext conftest.$ac_ext
   7506 fi
   7507 
   7508 
   7509 		CFLAGS="$xorg_testset_save_CFLAGS"
   7510 
   7511 		eval supported=\$$cacheid
   7512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7513 printf "%s\n" "$supported" >&6; }
   7514 		if test "$supported" = "yes" ; then
   7515 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7516 			found="yes"
   7517 		fi
   7518 	fi
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 xorg_testset_save_CFLAGS="$CFLAGS"
   7535 
   7536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7539 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7540 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7541 then :
   7542   printf %s "(cached) " >&6
   7543 else $as_nop
   7544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7545 /* end confdefs.h.  */
   7546 int i;
   7547 _ACEOF
   7548 if ac_fn_c_try_compile "$LINENO"
   7549 then :
   7550   xorg_cv_cc_flag_unknown_warning_option=yes
   7551 else $as_nop
   7552   xorg_cv_cc_flag_unknown_warning_option=no
   7553 fi
   7554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7555 fi
   7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7557 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7559 	CFLAGS="$xorg_testset_save_CFLAGS"
   7560 fi
   7561 
   7562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7565 	fi
   7566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7568 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7569 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7570 then :
   7571   printf %s "(cached) " >&6
   7572 else $as_nop
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 _ACEOF
   7577 if ac_fn_c_try_compile "$LINENO"
   7578 then :
   7579   xorg_cv_cc_flag_unused_command_line_argument=yes
   7580 else $as_nop
   7581   xorg_cv_cc_flag_unused_command_line_argument=no
   7582 fi
   7583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7584 fi
   7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7586 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7588 	CFLAGS="$xorg_testset_save_CFLAGS"
   7589 fi
   7590 
   7591 found="no"
   7592 
   7593 	if test $found = "no" ; then
   7594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7596 		fi
   7597 
   7598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7600 		fi
   7601 
   7602 		CFLAGS="$CFLAGS -Werror=init-self"
   7603 
   7604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7605 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7606 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7607 		if eval test \${$cacheid+y}
   7608 then :
   7609   printf %s "(cached) " >&6
   7610 else $as_nop
   7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 int
   7615 main (void)
   7616 {
   7617 
   7618   ;
   7619   return 0;
   7620 }
   7621 _ACEOF
   7622 if ac_fn_c_try_link "$LINENO"
   7623 then :
   7624   eval $cacheid=yes
   7625 else $as_nop
   7626   eval $cacheid=no
   7627 fi
   7628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7629     conftest$ac_exeext conftest.$ac_ext
   7630 fi
   7631 
   7632 
   7633 		CFLAGS="$xorg_testset_save_CFLAGS"
   7634 
   7635 		eval supported=\$$cacheid
   7636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7637 printf "%s\n" "$supported" >&6; }
   7638 		if test "$supported" = "yes" ; then
   7639 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7640 			found="yes"
   7641 		fi
   7642 	fi
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 xorg_testset_save_CFLAGS="$CFLAGS"
   7659 
   7660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7664 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7665 then :
   7666   printf %s "(cached) " >&6
   7667 else $as_nop
   7668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 _ACEOF
   7672 if ac_fn_c_try_compile "$LINENO"
   7673 then :
   7674   xorg_cv_cc_flag_unknown_warning_option=yes
   7675 else $as_nop
   7676   xorg_cv_cc_flag_unknown_warning_option=no
   7677 fi
   7678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7679 fi
   7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7681 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7683 	CFLAGS="$xorg_testset_save_CFLAGS"
   7684 fi
   7685 
   7686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7689 	fi
   7690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7692 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7693 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7694 then :
   7695   printf %s "(cached) " >&6
   7696 else $as_nop
   7697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7698 /* end confdefs.h.  */
   7699 int i;
   7700 _ACEOF
   7701 if ac_fn_c_try_compile "$LINENO"
   7702 then :
   7703   xorg_cv_cc_flag_unused_command_line_argument=yes
   7704 else $as_nop
   7705   xorg_cv_cc_flag_unused_command_line_argument=no
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7708 fi
   7709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7710 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7712 	CFLAGS="$xorg_testset_save_CFLAGS"
   7713 fi
   7714 
   7715 found="no"
   7716 
   7717 	if test $found = "no" ; then
   7718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7720 		fi
   7721 
   7722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7724 		fi
   7725 
   7726 		CFLAGS="$CFLAGS -Werror=main"
   7727 
   7728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7729 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7730 		cacheid=xorg_cv_cc_flag__Werror_main
   7731 		if eval test \${$cacheid+y}
   7732 then :
   7733   printf %s "(cached) " >&6
   7734 else $as_nop
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 int
   7739 main (void)
   7740 {
   7741 
   7742   ;
   7743   return 0;
   7744 }
   7745 _ACEOF
   7746 if ac_fn_c_try_link "$LINENO"
   7747 then :
   7748   eval $cacheid=yes
   7749 else $as_nop
   7750   eval $cacheid=no
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7753     conftest$ac_exeext conftest.$ac_ext
   7754 fi
   7755 
   7756 
   7757 		CFLAGS="$xorg_testset_save_CFLAGS"
   7758 
   7759 		eval supported=\$$cacheid
   7760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7761 printf "%s\n" "$supported" >&6; }
   7762 		if test "$supported" = "yes" ; then
   7763 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7764 			found="yes"
   7765 		fi
   7766 	fi
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 xorg_testset_save_CFLAGS="$CFLAGS"
   7783 
   7784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7789 then :
   7790   printf %s "(cached) " >&6
   7791 else $as_nop
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 int i;
   7795 _ACEOF
   7796 if ac_fn_c_try_compile "$LINENO"
   7797 then :
   7798   xorg_cv_cc_flag_unknown_warning_option=yes
   7799 else $as_nop
   7800   xorg_cv_cc_flag_unknown_warning_option=no
   7801 fi
   7802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7803 fi
   7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7805 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7807 	CFLAGS="$xorg_testset_save_CFLAGS"
   7808 fi
   7809 
   7810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7813 	fi
   7814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7816 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7817 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7818 then :
   7819   printf %s "(cached) " >&6
   7820 else $as_nop
   7821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 int i;
   7824 _ACEOF
   7825 if ac_fn_c_try_compile "$LINENO"
   7826 then :
   7827   xorg_cv_cc_flag_unused_command_line_argument=yes
   7828 else $as_nop
   7829   xorg_cv_cc_flag_unused_command_line_argument=no
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7832 fi
   7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7834 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7836 	CFLAGS="$xorg_testset_save_CFLAGS"
   7837 fi
   7838 
   7839 found="no"
   7840 
   7841 	if test $found = "no" ; then
   7842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 		fi
   7845 
   7846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7848 		fi
   7849 
   7850 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7851 
   7852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7853 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7854 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7855 		if eval test \${$cacheid+y}
   7856 then :
   7857   printf %s "(cached) " >&6
   7858 else $as_nop
   7859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7860 /* end confdefs.h.  */
   7861 int i;
   7862 int
   7863 main (void)
   7864 {
   7865 
   7866   ;
   7867   return 0;
   7868 }
   7869 _ACEOF
   7870 if ac_fn_c_try_link "$LINENO"
   7871 then :
   7872   eval $cacheid=yes
   7873 else $as_nop
   7874   eval $cacheid=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7877     conftest$ac_exeext conftest.$ac_ext
   7878 fi
   7879 
   7880 
   7881 		CFLAGS="$xorg_testset_save_CFLAGS"
   7882 
   7883 		eval supported=\$$cacheid
   7884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7885 printf "%s\n" "$supported" >&6; }
   7886 		if test "$supported" = "yes" ; then
   7887 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7888 			found="yes"
   7889 		fi
   7890 	fi
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 xorg_testset_save_CFLAGS="$CFLAGS"
   7907 
   7908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7911 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7912 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7913 then :
   7914   printf %s "(cached) " >&6
   7915 else $as_nop
   7916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7917 /* end confdefs.h.  */
   7918 int i;
   7919 _ACEOF
   7920 if ac_fn_c_try_compile "$LINENO"
   7921 then :
   7922   xorg_cv_cc_flag_unknown_warning_option=yes
   7923 else $as_nop
   7924   xorg_cv_cc_flag_unknown_warning_option=no
   7925 fi
   7926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7927 fi
   7928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7929 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7931 	CFLAGS="$xorg_testset_save_CFLAGS"
   7932 fi
   7933 
   7934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7937 	fi
   7938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7940 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7941 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7942 then :
   7943   printf %s "(cached) " >&6
   7944 else $as_nop
   7945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 int i;
   7948 _ACEOF
   7949 if ac_fn_c_try_compile "$LINENO"
   7950 then :
   7951   xorg_cv_cc_flag_unused_command_line_argument=yes
   7952 else $as_nop
   7953   xorg_cv_cc_flag_unused_command_line_argument=no
   7954 fi
   7955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7956 fi
   7957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7958 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7960 	CFLAGS="$xorg_testset_save_CFLAGS"
   7961 fi
   7962 
   7963 found="no"
   7964 
   7965 	if test $found = "no" ; then
   7966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7968 		fi
   7969 
   7970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7972 		fi
   7973 
   7974 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7975 
   7976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7977 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7978 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7979 		if eval test \${$cacheid+y}
   7980 then :
   7981   printf %s "(cached) " >&6
   7982 else $as_nop
   7983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 int
   7987 main (void)
   7988 {
   7989 
   7990   ;
   7991   return 0;
   7992 }
   7993 _ACEOF
   7994 if ac_fn_c_try_link "$LINENO"
   7995 then :
   7996   eval $cacheid=yes
   7997 else $as_nop
   7998   eval $cacheid=no
   7999 fi
   8000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8001     conftest$ac_exeext conftest.$ac_ext
   8002 fi
   8003 
   8004 
   8005 		CFLAGS="$xorg_testset_save_CFLAGS"
   8006 
   8007 		eval supported=\$$cacheid
   8008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8009 printf "%s\n" "$supported" >&6; }
   8010 		if test "$supported" = "yes" ; then
   8011 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8012 			found="yes"
   8013 		fi
   8014 	fi
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 xorg_testset_save_CFLAGS="$CFLAGS"
   8031 
   8032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8037 then :
   8038   printf %s "(cached) " >&6
   8039 else $as_nop
   8040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8041 /* end confdefs.h.  */
   8042 int i;
   8043 _ACEOF
   8044 if ac_fn_c_try_compile "$LINENO"
   8045 then :
   8046   xorg_cv_cc_flag_unknown_warning_option=yes
   8047 else $as_nop
   8048   xorg_cv_cc_flag_unknown_warning_option=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8051 fi
   8052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	fi
   8062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8066 then :
   8067   printf %s "(cached) " >&6
   8068 else $as_nop
   8069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 _ACEOF
   8073 if ac_fn_c_try_compile "$LINENO"
   8074 then :
   8075   xorg_cv_cc_flag_unused_command_line_argument=yes
   8076 else $as_nop
   8077   xorg_cv_cc_flag_unused_command_line_argument=no
   8078 fi
   8079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8080 fi
   8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8084 	CFLAGS="$xorg_testset_save_CFLAGS"
   8085 fi
   8086 
   8087 found="no"
   8088 
   8089 	if test $found = "no" ; then
   8090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 		fi
   8093 
   8094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8096 		fi
   8097 
   8098 		CFLAGS="$CFLAGS -Werror=return-type"
   8099 
   8100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8101 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8102 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8103 		if eval test \${$cacheid+y}
   8104 then :
   8105   printf %s "(cached) " >&6
   8106 else $as_nop
   8107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 int
   8111 main (void)
   8112 {
   8113 
   8114   ;
   8115   return 0;
   8116 }
   8117 _ACEOF
   8118 if ac_fn_c_try_link "$LINENO"
   8119 then :
   8120   eval $cacheid=yes
   8121 else $as_nop
   8122   eval $cacheid=no
   8123 fi
   8124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8125     conftest$ac_exeext conftest.$ac_ext
   8126 fi
   8127 
   8128 
   8129 		CFLAGS="$xorg_testset_save_CFLAGS"
   8130 
   8131 		eval supported=\$$cacheid
   8132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8133 printf "%s\n" "$supported" >&6; }
   8134 		if test "$supported" = "yes" ; then
   8135 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8136 			found="yes"
   8137 		fi
   8138 	fi
   8139 
   8140 	if test $found = "no" ; then
   8141 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8143 		fi
   8144 
   8145 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8147 		fi
   8148 
   8149 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8150 
   8151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8152 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8153 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8154 		if eval test \${$cacheid+y}
   8155 then :
   8156   printf %s "(cached) " >&6
   8157 else $as_nop
   8158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 int i;
   8161 int
   8162 main (void)
   8163 {
   8164 
   8165   ;
   8166   return 0;
   8167 }
   8168 _ACEOF
   8169 if ac_fn_c_try_link "$LINENO"
   8170 then :
   8171   eval $cacheid=yes
   8172 else $as_nop
   8173   eval $cacheid=no
   8174 fi
   8175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8176     conftest$ac_exeext conftest.$ac_ext
   8177 fi
   8178 
   8179 
   8180 		CFLAGS="$xorg_testset_save_CFLAGS"
   8181 
   8182 		eval supported=\$$cacheid
   8183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8184 printf "%s\n" "$supported" >&6; }
   8185 		if test "$supported" = "yes" ; then
   8186 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8187 			found="yes"
   8188 		fi
   8189 	fi
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 xorg_testset_save_CFLAGS="$CFLAGS"
   8206 
   8207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8212 then :
   8213   printf %s "(cached) " >&6
   8214 else $as_nop
   8215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8216 /* end confdefs.h.  */
   8217 int i;
   8218 _ACEOF
   8219 if ac_fn_c_try_compile "$LINENO"
   8220 then :
   8221   xorg_cv_cc_flag_unknown_warning_option=yes
   8222 else $as_nop
   8223   xorg_cv_cc_flag_unknown_warning_option=no
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8226 fi
   8227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8228 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8230 	CFLAGS="$xorg_testset_save_CFLAGS"
   8231 fi
   8232 
   8233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 	fi
   8237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8239 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8240 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8241 then :
   8242   printf %s "(cached) " >&6
   8243 else $as_nop
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 _ACEOF
   8248 if ac_fn_c_try_compile "$LINENO"
   8249 then :
   8250   xorg_cv_cc_flag_unused_command_line_argument=yes
   8251 else $as_nop
   8252   xorg_cv_cc_flag_unused_command_line_argument=no
   8253 fi
   8254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8255 fi
   8256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8257 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8259 	CFLAGS="$xorg_testset_save_CFLAGS"
   8260 fi
   8261 
   8262 found="no"
   8263 
   8264 	if test $found = "no" ; then
   8265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8267 		fi
   8268 
   8269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8271 		fi
   8272 
   8273 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8274 
   8275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8276 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8277 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8278 		if eval test \${$cacheid+y}
   8279 then :
   8280   printf %s "(cached) " >&6
   8281 else $as_nop
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 int
   8286 main (void)
   8287 {
   8288 
   8289   ;
   8290   return 0;
   8291 }
   8292 _ACEOF
   8293 if ac_fn_c_try_link "$LINENO"
   8294 then :
   8295   eval $cacheid=yes
   8296 else $as_nop
   8297   eval $cacheid=no
   8298 fi
   8299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8300     conftest$ac_exeext conftest.$ac_ext
   8301 fi
   8302 
   8303 
   8304 		CFLAGS="$xorg_testset_save_CFLAGS"
   8305 
   8306 		eval supported=\$$cacheid
   8307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8308 printf "%s\n" "$supported" >&6; }
   8309 		if test "$supported" = "yes" ; then
   8310 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8311 			found="yes"
   8312 		fi
   8313 	fi
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 xorg_testset_save_CFLAGS="$CFLAGS"
   8330 
   8331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8336 then :
   8337   printf %s "(cached) " >&6
   8338 else $as_nop
   8339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8340 /* end confdefs.h.  */
   8341 int i;
   8342 _ACEOF
   8343 if ac_fn_c_try_compile "$LINENO"
   8344 then :
   8345   xorg_cv_cc_flag_unknown_warning_option=yes
   8346 else $as_nop
   8347   xorg_cv_cc_flag_unknown_warning_option=no
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8350 fi
   8351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8354 	CFLAGS="$xorg_testset_save_CFLAGS"
   8355 fi
   8356 
   8357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 	fi
   8361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8365 then :
   8366   printf %s "(cached) " >&6
   8367 else $as_nop
   8368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8369 /* end confdefs.h.  */
   8370 int i;
   8371 _ACEOF
   8372 if ac_fn_c_try_compile "$LINENO"
   8373 then :
   8374   xorg_cv_cc_flag_unused_command_line_argument=yes
   8375 else $as_nop
   8376   xorg_cv_cc_flag_unused_command_line_argument=no
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8379 fi
   8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8383 	CFLAGS="$xorg_testset_save_CFLAGS"
   8384 fi
   8385 
   8386 found="no"
   8387 
   8388 	if test $found = "no" ; then
   8389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8391 		fi
   8392 
   8393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8395 		fi
   8396 
   8397 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8398 
   8399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8400 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8401 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8402 		if eval test \${$cacheid+y}
   8403 then :
   8404   printf %s "(cached) " >&6
   8405 else $as_nop
   8406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8407 /* end confdefs.h.  */
   8408 int i;
   8409 int
   8410 main (void)
   8411 {
   8412 
   8413   ;
   8414   return 0;
   8415 }
   8416 _ACEOF
   8417 if ac_fn_c_try_link "$LINENO"
   8418 then :
   8419   eval $cacheid=yes
   8420 else $as_nop
   8421   eval $cacheid=no
   8422 fi
   8423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8424     conftest$ac_exeext conftest.$ac_ext
   8425 fi
   8426 
   8427 
   8428 		CFLAGS="$xorg_testset_save_CFLAGS"
   8429 
   8430 		eval supported=\$$cacheid
   8431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8432 printf "%s\n" "$supported" >&6; }
   8433 		if test "$supported" = "yes" ; then
   8434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8435 			found="yes"
   8436 		fi
   8437 	fi
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 xorg_testset_save_CFLAGS="$CFLAGS"
   8454 
   8455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8458 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8459 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8460 then :
   8461   printf %s "(cached) " >&6
   8462 else $as_nop
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 _ACEOF
   8467 if ac_fn_c_try_compile "$LINENO"
   8468 then :
   8469   xorg_cv_cc_flag_unknown_warning_option=yes
   8470 else $as_nop
   8471   xorg_cv_cc_flag_unknown_warning_option=no
   8472 fi
   8473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8474 fi
   8475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8476 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8478 	CFLAGS="$xorg_testset_save_CFLAGS"
   8479 fi
   8480 
   8481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8484 	fi
   8485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8486 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8487 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8488 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8489 then :
   8490   printf %s "(cached) " >&6
   8491 else $as_nop
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 _ACEOF
   8496 if ac_fn_c_try_compile "$LINENO"
   8497 then :
   8498   xorg_cv_cc_flag_unused_command_line_argument=yes
   8499 else $as_nop
   8500   xorg_cv_cc_flag_unused_command_line_argument=no
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8503 fi
   8504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8507 	CFLAGS="$xorg_testset_save_CFLAGS"
   8508 fi
   8509 
   8510 found="no"
   8511 
   8512 	if test $found = "no" ; then
   8513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8515 		fi
   8516 
   8517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8519 		fi
   8520 
   8521 		CFLAGS="$CFLAGS -Werror=write-strings"
   8522 
   8523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8524 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8525 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8526 		if eval test \${$cacheid+y}
   8527 then :
   8528   printf %s "(cached) " >&6
   8529 else $as_nop
   8530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8531 /* end confdefs.h.  */
   8532 int i;
   8533 int
   8534 main (void)
   8535 {
   8536 
   8537   ;
   8538   return 0;
   8539 }
   8540 _ACEOF
   8541 if ac_fn_c_try_link "$LINENO"
   8542 then :
   8543   eval $cacheid=yes
   8544 else $as_nop
   8545   eval $cacheid=no
   8546 fi
   8547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8548     conftest$ac_exeext conftest.$ac_ext
   8549 fi
   8550 
   8551 
   8552 		CFLAGS="$xorg_testset_save_CFLAGS"
   8553 
   8554 		eval supported=\$$cacheid
   8555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8556 printf "%s\n" "$supported" >&6; }
   8557 		if test "$supported" = "yes" ; then
   8558 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8559 			found="yes"
   8560 		fi
   8561 	fi
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 xorg_testset_save_CFLAGS="$CFLAGS"
   8578 
   8579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8584 then :
   8585   printf %s "(cached) " >&6
   8586 else $as_nop
   8587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8588 /* end confdefs.h.  */
   8589 int i;
   8590 _ACEOF
   8591 if ac_fn_c_try_compile "$LINENO"
   8592 then :
   8593   xorg_cv_cc_flag_unknown_warning_option=yes
   8594 else $as_nop
   8595   xorg_cv_cc_flag_unknown_warning_option=no
   8596 fi
   8597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8598 fi
   8599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8600 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8602 	CFLAGS="$xorg_testset_save_CFLAGS"
   8603 fi
   8604 
   8605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8608 	fi
   8609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8611 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8612 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8613 then :
   8614   printf %s "(cached) " >&6
   8615 else $as_nop
   8616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8617 /* end confdefs.h.  */
   8618 int i;
   8619 _ACEOF
   8620 if ac_fn_c_try_compile "$LINENO"
   8621 then :
   8622   xorg_cv_cc_flag_unused_command_line_argument=yes
   8623 else $as_nop
   8624   xorg_cv_cc_flag_unused_command_line_argument=no
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8627 fi
   8628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8629 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8631 	CFLAGS="$xorg_testset_save_CFLAGS"
   8632 fi
   8633 
   8634 found="no"
   8635 
   8636 	if test $found = "no" ; then
   8637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8639 		fi
   8640 
   8641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8643 		fi
   8644 
   8645 		CFLAGS="$CFLAGS -Werror=address"
   8646 
   8647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8648 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8649 		cacheid=xorg_cv_cc_flag__Werror_address
   8650 		if eval test \${$cacheid+y}
   8651 then :
   8652   printf %s "(cached) " >&6
   8653 else $as_nop
   8654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 int
   8658 main (void)
   8659 {
   8660 
   8661   ;
   8662   return 0;
   8663 }
   8664 _ACEOF
   8665 if ac_fn_c_try_link "$LINENO"
   8666 then :
   8667   eval $cacheid=yes
   8668 else $as_nop
   8669   eval $cacheid=no
   8670 fi
   8671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8672     conftest$ac_exeext conftest.$ac_ext
   8673 fi
   8674 
   8675 
   8676 		CFLAGS="$xorg_testset_save_CFLAGS"
   8677 
   8678 		eval supported=\$$cacheid
   8679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8680 printf "%s\n" "$supported" >&6; }
   8681 		if test "$supported" = "yes" ; then
   8682 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8683 			found="yes"
   8684 		fi
   8685 	fi
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 xorg_testset_save_CFLAGS="$CFLAGS"
   8702 
   8703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8706 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8707 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8708 then :
   8709   printf %s "(cached) " >&6
   8710 else $as_nop
   8711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 _ACEOF
   8715 if ac_fn_c_try_compile "$LINENO"
   8716 then :
   8717   xorg_cv_cc_flag_unknown_warning_option=yes
   8718 else $as_nop
   8719   xorg_cv_cc_flag_unknown_warning_option=no
   8720 fi
   8721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8722 fi
   8723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8724 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8726 	CFLAGS="$xorg_testset_save_CFLAGS"
   8727 fi
   8728 
   8729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	fi
   8733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8737 then :
   8738   printf %s "(cached) " >&6
   8739 else $as_nop
   8740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"
   8745 then :
   8746   xorg_cv_cc_flag_unused_command_line_argument=yes
   8747 else $as_nop
   8748   xorg_cv_cc_flag_unused_command_line_argument=no
   8749 fi
   8750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8751 fi
   8752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8753 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8755 	CFLAGS="$xorg_testset_save_CFLAGS"
   8756 fi
   8757 
   8758 found="no"
   8759 
   8760 	if test $found = "no" ; then
   8761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 		fi
   8764 
   8765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8767 		fi
   8768 
   8769 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8770 
   8771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8772 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8773 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8774 		if eval test \${$cacheid+y}
   8775 then :
   8776   printf %s "(cached) " >&6
   8777 else $as_nop
   8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 int i;
   8781 int
   8782 main (void)
   8783 {
   8784 
   8785   ;
   8786   return 0;
   8787 }
   8788 _ACEOF
   8789 if ac_fn_c_try_link "$LINENO"
   8790 then :
   8791   eval $cacheid=yes
   8792 else $as_nop
   8793   eval $cacheid=no
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8796     conftest$ac_exeext conftest.$ac_ext
   8797 fi
   8798 
   8799 
   8800 		CFLAGS="$xorg_testset_save_CFLAGS"
   8801 
   8802 		eval supported=\$$cacheid
   8803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8804 printf "%s\n" "$supported" >&6; }
   8805 		if test "$supported" = "yes" ; then
   8806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8807 			found="yes"
   8808 		fi
   8809 	fi
   8810 
   8811 	if test $found = "no" ; then
   8812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8814 		fi
   8815 
   8816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8818 		fi
   8819 
   8820 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8821 
   8822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8823 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8824 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8825 		if eval test \${$cacheid+y}
   8826 then :
   8827   printf %s "(cached) " >&6
   8828 else $as_nop
   8829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8830 /* end confdefs.h.  */
   8831 int i;
   8832 int
   8833 main (void)
   8834 {
   8835 
   8836   ;
   8837   return 0;
   8838 }
   8839 _ACEOF
   8840 if ac_fn_c_try_link "$LINENO"
   8841 then :
   8842   eval $cacheid=yes
   8843 else $as_nop
   8844   eval $cacheid=no
   8845 fi
   8846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8847     conftest$ac_exeext conftest.$ac_ext
   8848 fi
   8849 
   8850 
   8851 		CFLAGS="$xorg_testset_save_CFLAGS"
   8852 
   8853 		eval supported=\$$cacheid
   8854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8855 printf "%s\n" "$supported" >&6; }
   8856 		if test "$supported" = "yes" ; then
   8857 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8858 			found="yes"
   8859 		fi
   8860 	fi
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 xorg_testset_save_CFLAGS="$CFLAGS"
   8877 
   8878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8881 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8882 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8883 then :
   8884   printf %s "(cached) " >&6
   8885 else $as_nop
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 _ACEOF
   8890 if ac_fn_c_try_compile "$LINENO"
   8891 then :
   8892   xorg_cv_cc_flag_unknown_warning_option=yes
   8893 else $as_nop
   8894   xorg_cv_cc_flag_unknown_warning_option=no
   8895 fi
   8896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8897 fi
   8898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8899 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8901 	CFLAGS="$xorg_testset_save_CFLAGS"
   8902 fi
   8903 
   8904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8907 	fi
   8908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8909 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8910 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8911 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8912 then :
   8913   printf %s "(cached) " >&6
   8914 else $as_nop
   8915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8916 /* end confdefs.h.  */
   8917 int i;
   8918 _ACEOF
   8919 if ac_fn_c_try_compile "$LINENO"
   8920 then :
   8921   xorg_cv_cc_flag_unused_command_line_argument=yes
   8922 else $as_nop
   8923   xorg_cv_cc_flag_unused_command_line_argument=no
   8924 fi
   8925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8926 fi
   8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8928 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8930 	CFLAGS="$xorg_testset_save_CFLAGS"
   8931 fi
   8932 
   8933 found="no"
   8934 
   8935 	if test $found = "no" ; then
   8936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8938 		fi
   8939 
   8940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8942 		fi
   8943 
   8944 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8945 
   8946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8947 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8948 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8949 		if eval test \${$cacheid+y}
   8950 then :
   8951   printf %s "(cached) " >&6
   8952 else $as_nop
   8953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8954 /* end confdefs.h.  */
   8955 int i;
   8956 int
   8957 main (void)
   8958 {
   8959 
   8960   ;
   8961   return 0;
   8962 }
   8963 _ACEOF
   8964 if ac_fn_c_try_link "$LINENO"
   8965 then :
   8966   eval $cacheid=yes
   8967 else $as_nop
   8968   eval $cacheid=no
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8971     conftest$ac_exeext conftest.$ac_ext
   8972 fi
   8973 
   8974 
   8975 		CFLAGS="$xorg_testset_save_CFLAGS"
   8976 
   8977 		eval supported=\$$cacheid
   8978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8979 printf "%s\n" "$supported" >&6; }
   8980 		if test "$supported" = "yes" ; then
   8981 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8982 			found="yes"
   8983 		fi
   8984 	fi
   8985 
   8986  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8987 else
   8988 { 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
   8989 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;}
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 xorg_testset_save_CFLAGS="$CFLAGS"
   9004 
   9005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9010 then :
   9011   printf %s "(cached) " >&6
   9012 else $as_nop
   9013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"
   9018 then :
   9019   xorg_cv_cc_flag_unknown_warning_option=yes
   9020 else $as_nop
   9021   xorg_cv_cc_flag_unknown_warning_option=no
   9022 fi
   9023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9024 fi
   9025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9026 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9028 	CFLAGS="$xorg_testset_save_CFLAGS"
   9029 fi
   9030 
   9031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 	fi
   9035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9039 then :
   9040   printf %s "(cached) " >&6
   9041 else $as_nop
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 _ACEOF
   9046 if ac_fn_c_try_compile "$LINENO"
   9047 then :
   9048   xorg_cv_cc_flag_unused_command_line_argument=yes
   9049 else $as_nop
   9050   xorg_cv_cc_flag_unused_command_line_argument=no
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9053 fi
   9054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9055 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9057 	CFLAGS="$xorg_testset_save_CFLAGS"
   9058 fi
   9059 
   9060 found="no"
   9061 
   9062 	if test $found = "no" ; then
   9063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9065 		fi
   9066 
   9067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9069 		fi
   9070 
   9071 		CFLAGS="$CFLAGS -Wimplicit"
   9072 
   9073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9074 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9075 		cacheid=xorg_cv_cc_flag__Wimplicit
   9076 		if eval test \${$cacheid+y}
   9077 then :
   9078   printf %s "(cached) " >&6
   9079 else $as_nop
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 int
   9084 main (void)
   9085 {
   9086 
   9087   ;
   9088   return 0;
   9089 }
   9090 _ACEOF
   9091 if ac_fn_c_try_link "$LINENO"
   9092 then :
   9093   eval $cacheid=yes
   9094 else $as_nop
   9095   eval $cacheid=no
   9096 fi
   9097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9098     conftest$ac_exeext conftest.$ac_ext
   9099 fi
   9100 
   9101 
   9102 		CFLAGS="$xorg_testset_save_CFLAGS"
   9103 
   9104 		eval supported=\$$cacheid
   9105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9106 printf "%s\n" "$supported" >&6; }
   9107 		if test "$supported" = "yes" ; then
   9108 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9109 			found="yes"
   9110 		fi
   9111 	fi
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 xorg_testset_save_CFLAGS="$CFLAGS"
   9128 
   9129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9132 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9133 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9134 then :
   9135   printf %s "(cached) " >&6
   9136 else $as_nop
   9137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9138 /* end confdefs.h.  */
   9139 int i;
   9140 _ACEOF
   9141 if ac_fn_c_try_compile "$LINENO"
   9142 then :
   9143   xorg_cv_cc_flag_unknown_warning_option=yes
   9144 else $as_nop
   9145   xorg_cv_cc_flag_unknown_warning_option=no
   9146 fi
   9147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9148 fi
   9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9150 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9152 	CFLAGS="$xorg_testset_save_CFLAGS"
   9153 fi
   9154 
   9155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9158 	fi
   9159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9161 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9162 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9163 then :
   9164   printf %s "(cached) " >&6
   9165 else $as_nop
   9166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9167 /* end confdefs.h.  */
   9168 int i;
   9169 _ACEOF
   9170 if ac_fn_c_try_compile "$LINENO"
   9171 then :
   9172   xorg_cv_cc_flag_unused_command_line_argument=yes
   9173 else $as_nop
   9174   xorg_cv_cc_flag_unused_command_line_argument=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9177 fi
   9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9179 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9181 	CFLAGS="$xorg_testset_save_CFLAGS"
   9182 fi
   9183 
   9184 found="no"
   9185 
   9186 	if test $found = "no" ; then
   9187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 		fi
   9190 
   9191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9193 		fi
   9194 
   9195 		CFLAGS="$CFLAGS -Wnonnull"
   9196 
   9197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9198 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9199 		cacheid=xorg_cv_cc_flag__Wnonnull
   9200 		if eval test \${$cacheid+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else $as_nop
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 int
   9208 main (void)
   9209 {
   9210 
   9211   ;
   9212   return 0;
   9213 }
   9214 _ACEOF
   9215 if ac_fn_c_try_link "$LINENO"
   9216 then :
   9217   eval $cacheid=yes
   9218 else $as_nop
   9219   eval $cacheid=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9222     conftest$ac_exeext conftest.$ac_ext
   9223 fi
   9224 
   9225 
   9226 		CFLAGS="$xorg_testset_save_CFLAGS"
   9227 
   9228 		eval supported=\$$cacheid
   9229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9230 printf "%s\n" "$supported" >&6; }
   9231 		if test "$supported" = "yes" ; then
   9232 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9233 			found="yes"
   9234 		fi
   9235 	fi
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 xorg_testset_save_CFLAGS="$CFLAGS"
   9252 
   9253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9258 then :
   9259   printf %s "(cached) " >&6
   9260 else $as_nop
   9261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9262 /* end confdefs.h.  */
   9263 int i;
   9264 _ACEOF
   9265 if ac_fn_c_try_compile "$LINENO"
   9266 then :
   9267   xorg_cv_cc_flag_unknown_warning_option=yes
   9268 else $as_nop
   9269   xorg_cv_cc_flag_unknown_warning_option=no
   9270 fi
   9271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9272 fi
   9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9274 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9276 	CFLAGS="$xorg_testset_save_CFLAGS"
   9277 fi
   9278 
   9279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9282 	fi
   9283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9285 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9286 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9287 then :
   9288   printf %s "(cached) " >&6
   9289 else $as_nop
   9290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 _ACEOF
   9294 if ac_fn_c_try_compile "$LINENO"
   9295 then :
   9296   xorg_cv_cc_flag_unused_command_line_argument=yes
   9297 else $as_nop
   9298   xorg_cv_cc_flag_unused_command_line_argument=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9301 fi
   9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9303 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9305 	CFLAGS="$xorg_testset_save_CFLAGS"
   9306 fi
   9307 
   9308 found="no"
   9309 
   9310 	if test $found = "no" ; then
   9311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9313 		fi
   9314 
   9315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9317 		fi
   9318 
   9319 		CFLAGS="$CFLAGS -Winit-self"
   9320 
   9321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9322 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9323 		cacheid=xorg_cv_cc_flag__Winit_self
   9324 		if eval test \${$cacheid+y}
   9325 then :
   9326   printf %s "(cached) " >&6
   9327 else $as_nop
   9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 int
   9332 main (void)
   9333 {
   9334 
   9335   ;
   9336   return 0;
   9337 }
   9338 _ACEOF
   9339 if ac_fn_c_try_link "$LINENO"
   9340 then :
   9341   eval $cacheid=yes
   9342 else $as_nop
   9343   eval $cacheid=no
   9344 fi
   9345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9346     conftest$ac_exeext conftest.$ac_ext
   9347 fi
   9348 
   9349 
   9350 		CFLAGS="$xorg_testset_save_CFLAGS"
   9351 
   9352 		eval supported=\$$cacheid
   9353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9354 printf "%s\n" "$supported" >&6; }
   9355 		if test "$supported" = "yes" ; then
   9356 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9357 			found="yes"
   9358 		fi
   9359 	fi
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 xorg_testset_save_CFLAGS="$CFLAGS"
   9376 
   9377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9380 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9381 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9382 then :
   9383   printf %s "(cached) " >&6
   9384 else $as_nop
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"
   9390 then :
   9391   xorg_cv_cc_flag_unknown_warning_option=yes
   9392 else $as_nop
   9393   xorg_cv_cc_flag_unknown_warning_option=no
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9396 fi
   9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9398 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9400 	CFLAGS="$xorg_testset_save_CFLAGS"
   9401 fi
   9402 
   9403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9406 	fi
   9407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9409 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9410 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9411 then :
   9412   printf %s "(cached) " >&6
   9413 else $as_nop
   9414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9415 /* end confdefs.h.  */
   9416 int i;
   9417 _ACEOF
   9418 if ac_fn_c_try_compile "$LINENO"
   9419 then :
   9420   xorg_cv_cc_flag_unused_command_line_argument=yes
   9421 else $as_nop
   9422   xorg_cv_cc_flag_unused_command_line_argument=no
   9423 fi
   9424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9425 fi
   9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9427 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9429 	CFLAGS="$xorg_testset_save_CFLAGS"
   9430 fi
   9431 
   9432 found="no"
   9433 
   9434 	if test $found = "no" ; then
   9435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9437 		fi
   9438 
   9439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9441 		fi
   9442 
   9443 		CFLAGS="$CFLAGS -Wmain"
   9444 
   9445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9446 printf %s "checking if $CC supports -Wmain... " >&6; }
   9447 		cacheid=xorg_cv_cc_flag__Wmain
   9448 		if eval test \${$cacheid+y}
   9449 then :
   9450   printf %s "(cached) " >&6
   9451 else $as_nop
   9452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9453 /* end confdefs.h.  */
   9454 int i;
   9455 int
   9456 main (void)
   9457 {
   9458 
   9459   ;
   9460   return 0;
   9461 }
   9462 _ACEOF
   9463 if ac_fn_c_try_link "$LINENO"
   9464 then :
   9465   eval $cacheid=yes
   9466 else $as_nop
   9467   eval $cacheid=no
   9468 fi
   9469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9470     conftest$ac_exeext conftest.$ac_ext
   9471 fi
   9472 
   9473 
   9474 		CFLAGS="$xorg_testset_save_CFLAGS"
   9475 
   9476 		eval supported=\$$cacheid
   9477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9478 printf "%s\n" "$supported" >&6; }
   9479 		if test "$supported" = "yes" ; then
   9480 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9481 			found="yes"
   9482 		fi
   9483 	fi
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 xorg_testset_save_CFLAGS="$CFLAGS"
   9500 
   9501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9506 then :
   9507   printf %s "(cached) " >&6
   9508 else $as_nop
   9509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"
   9514 then :
   9515   xorg_cv_cc_flag_unknown_warning_option=yes
   9516 else $as_nop
   9517   xorg_cv_cc_flag_unknown_warning_option=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9520 fi
   9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9522 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9524 	CFLAGS="$xorg_testset_save_CFLAGS"
   9525 fi
   9526 
   9527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9530 	fi
   9531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9533 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9534 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9535 then :
   9536   printf %s "(cached) " >&6
   9537 else $as_nop
   9538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9539 /* end confdefs.h.  */
   9540 int i;
   9541 _ACEOF
   9542 if ac_fn_c_try_compile "$LINENO"
   9543 then :
   9544   xorg_cv_cc_flag_unused_command_line_argument=yes
   9545 else $as_nop
   9546   xorg_cv_cc_flag_unused_command_line_argument=no
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9549 fi
   9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9553 	CFLAGS="$xorg_testset_save_CFLAGS"
   9554 fi
   9555 
   9556 found="no"
   9557 
   9558 	if test $found = "no" ; then
   9559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9561 		fi
   9562 
   9563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9565 		fi
   9566 
   9567 		CFLAGS="$CFLAGS -Wmissing-braces"
   9568 
   9569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9570 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9571 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9572 		if eval test \${$cacheid+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else $as_nop
   9576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 int
   9580 main (void)
   9581 {
   9582 
   9583   ;
   9584   return 0;
   9585 }
   9586 _ACEOF
   9587 if ac_fn_c_try_link "$LINENO"
   9588 then :
   9589   eval $cacheid=yes
   9590 else $as_nop
   9591   eval $cacheid=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9594     conftest$ac_exeext conftest.$ac_ext
   9595 fi
   9596 
   9597 
   9598 		CFLAGS="$xorg_testset_save_CFLAGS"
   9599 
   9600 		eval supported=\$$cacheid
   9601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9602 printf "%s\n" "$supported" >&6; }
   9603 		if test "$supported" = "yes" ; then
   9604 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9605 			found="yes"
   9606 		fi
   9607 	fi
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 xorg_testset_save_CFLAGS="$CFLAGS"
   9624 
   9625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9630 then :
   9631   printf %s "(cached) " >&6
   9632 else $as_nop
   9633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9634 /* end confdefs.h.  */
   9635 int i;
   9636 _ACEOF
   9637 if ac_fn_c_try_compile "$LINENO"
   9638 then :
   9639   xorg_cv_cc_flag_unknown_warning_option=yes
   9640 else $as_nop
   9641   xorg_cv_cc_flag_unknown_warning_option=no
   9642 fi
   9643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9644 fi
   9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9646 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9648 	CFLAGS="$xorg_testset_save_CFLAGS"
   9649 fi
   9650 
   9651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9654 	fi
   9655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9657 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9658 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9659 then :
   9660   printf %s "(cached) " >&6
   9661 else $as_nop
   9662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int i;
   9665 _ACEOF
   9666 if ac_fn_c_try_compile "$LINENO"
   9667 then :
   9668   xorg_cv_cc_flag_unused_command_line_argument=yes
   9669 else $as_nop
   9670   xorg_cv_cc_flag_unused_command_line_argument=no
   9671 fi
   9672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9673 fi
   9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9677 	CFLAGS="$xorg_testset_save_CFLAGS"
   9678 fi
   9679 
   9680 found="no"
   9681 
   9682 	if test $found = "no" ; then
   9683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9685 		fi
   9686 
   9687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9689 		fi
   9690 
   9691 		CFLAGS="$CFLAGS -Wsequence-point"
   9692 
   9693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9694 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9695 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9696 		if eval test \${$cacheid+y}
   9697 then :
   9698   printf %s "(cached) " >&6
   9699 else $as_nop
   9700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9701 /* end confdefs.h.  */
   9702 int i;
   9703 int
   9704 main (void)
   9705 {
   9706 
   9707   ;
   9708   return 0;
   9709 }
   9710 _ACEOF
   9711 if ac_fn_c_try_link "$LINENO"
   9712 then :
   9713   eval $cacheid=yes
   9714 else $as_nop
   9715   eval $cacheid=no
   9716 fi
   9717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9718     conftest$ac_exeext conftest.$ac_ext
   9719 fi
   9720 
   9721 
   9722 		CFLAGS="$xorg_testset_save_CFLAGS"
   9723 
   9724 		eval supported=\$$cacheid
   9725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9726 printf "%s\n" "$supported" >&6; }
   9727 		if test "$supported" = "yes" ; then
   9728 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9729 			found="yes"
   9730 		fi
   9731 	fi
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 xorg_testset_save_CFLAGS="$CFLAGS"
   9748 
   9749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9754 then :
   9755   printf %s "(cached) " >&6
   9756 else $as_nop
   9757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 _ACEOF
   9761 if ac_fn_c_try_compile "$LINENO"
   9762 then :
   9763   xorg_cv_cc_flag_unknown_warning_option=yes
   9764 else $as_nop
   9765   xorg_cv_cc_flag_unknown_warning_option=no
   9766 fi
   9767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9768 fi
   9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9770 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9772 	CFLAGS="$xorg_testset_save_CFLAGS"
   9773 fi
   9774 
   9775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 	fi
   9779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9781 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9782 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9783 then :
   9784   printf %s "(cached) " >&6
   9785 else $as_nop
   9786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9787 /* end confdefs.h.  */
   9788 int i;
   9789 _ACEOF
   9790 if ac_fn_c_try_compile "$LINENO"
   9791 then :
   9792   xorg_cv_cc_flag_unused_command_line_argument=yes
   9793 else $as_nop
   9794   xorg_cv_cc_flag_unused_command_line_argument=no
   9795 fi
   9796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9797 fi
   9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9801 	CFLAGS="$xorg_testset_save_CFLAGS"
   9802 fi
   9803 
   9804 found="no"
   9805 
   9806 	if test $found = "no" ; then
   9807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9809 		fi
   9810 
   9811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9813 		fi
   9814 
   9815 		CFLAGS="$CFLAGS -Wreturn-type"
   9816 
   9817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9818 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9819 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9820 		if eval test \${$cacheid+y}
   9821 then :
   9822   printf %s "(cached) " >&6
   9823 else $as_nop
   9824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 int
   9828 main (void)
   9829 {
   9830 
   9831   ;
   9832   return 0;
   9833 }
   9834 _ACEOF
   9835 if ac_fn_c_try_link "$LINENO"
   9836 then :
   9837   eval $cacheid=yes
   9838 else $as_nop
   9839   eval $cacheid=no
   9840 fi
   9841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9842     conftest$ac_exeext conftest.$ac_ext
   9843 fi
   9844 
   9845 
   9846 		CFLAGS="$xorg_testset_save_CFLAGS"
   9847 
   9848 		eval supported=\$$cacheid
   9849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9850 printf "%s\n" "$supported" >&6; }
   9851 		if test "$supported" = "yes" ; then
   9852 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9853 			found="yes"
   9854 		fi
   9855 	fi
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 xorg_testset_save_CFLAGS="$CFLAGS"
   9872 
   9873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9878 then :
   9879   printf %s "(cached) " >&6
   9880 else $as_nop
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"
   9886 then :
   9887   xorg_cv_cc_flag_unknown_warning_option=yes
   9888 else $as_nop
   9889   xorg_cv_cc_flag_unknown_warning_option=no
   9890 fi
   9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9892 fi
   9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9896 	CFLAGS="$xorg_testset_save_CFLAGS"
   9897 fi
   9898 
   9899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9902 	fi
   9903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9907 then :
   9908   printf %s "(cached) " >&6
   9909 else $as_nop
   9910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 int i;
   9913 _ACEOF
   9914 if ac_fn_c_try_compile "$LINENO"
   9915 then :
   9916   xorg_cv_cc_flag_unused_command_line_argument=yes
   9917 else $as_nop
   9918   xorg_cv_cc_flag_unused_command_line_argument=no
   9919 fi
   9920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9921 fi
   9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9923 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9925 	CFLAGS="$xorg_testset_save_CFLAGS"
   9926 fi
   9927 
   9928 found="no"
   9929 
   9930 	if test $found = "no" ; then
   9931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9933 		fi
   9934 
   9935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9937 		fi
   9938 
   9939 		CFLAGS="$CFLAGS -Wtrigraphs"
   9940 
   9941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9942 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9943 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9944 		if eval test \${$cacheid+y}
   9945 then :
   9946   printf %s "(cached) " >&6
   9947 else $as_nop
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 int
   9952 main (void)
   9953 {
   9954 
   9955   ;
   9956   return 0;
   9957 }
   9958 _ACEOF
   9959 if ac_fn_c_try_link "$LINENO"
   9960 then :
   9961   eval $cacheid=yes
   9962 else $as_nop
   9963   eval $cacheid=no
   9964 fi
   9965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9966     conftest$ac_exeext conftest.$ac_ext
   9967 fi
   9968 
   9969 
   9970 		CFLAGS="$xorg_testset_save_CFLAGS"
   9971 
   9972 		eval supported=\$$cacheid
   9973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9974 printf "%s\n" "$supported" >&6; }
   9975 		if test "$supported" = "yes" ; then
   9976 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9977 			found="yes"
   9978 		fi
   9979 	fi
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 xorg_testset_save_CFLAGS="$CFLAGS"
   9996 
   9997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10000 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10001 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10002 then :
   10003   printf %s "(cached) " >&6
   10004 else $as_nop
   10005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10006 /* end confdefs.h.  */
   10007 int i;
   10008 _ACEOF
   10009 if ac_fn_c_try_compile "$LINENO"
   10010 then :
   10011   xorg_cv_cc_flag_unknown_warning_option=yes
   10012 else $as_nop
   10013   xorg_cv_cc_flag_unknown_warning_option=no
   10014 fi
   10015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10016 fi
   10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10018 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10020 	CFLAGS="$xorg_testset_save_CFLAGS"
   10021 fi
   10022 
   10023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10026 	fi
   10027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10029 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10030 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10031 then :
   10032   printf %s "(cached) " >&6
   10033 else $as_nop
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 _ACEOF
   10038 if ac_fn_c_try_compile "$LINENO"
   10039 then :
   10040   xorg_cv_cc_flag_unused_command_line_argument=yes
   10041 else $as_nop
   10042   xorg_cv_cc_flag_unused_command_line_argument=no
   10043 fi
   10044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10045 fi
   10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10047 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10049 	CFLAGS="$xorg_testset_save_CFLAGS"
   10050 fi
   10051 
   10052 found="no"
   10053 
   10054 	if test $found = "no" ; then
   10055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10057 		fi
   10058 
   10059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10061 		fi
   10062 
   10063 		CFLAGS="$CFLAGS -Warray-bounds"
   10064 
   10065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10066 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10067 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10068 		if eval test \${$cacheid+y}
   10069 then :
   10070   printf %s "(cached) " >&6
   10071 else $as_nop
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 int
   10076 main (void)
   10077 {
   10078 
   10079   ;
   10080   return 0;
   10081 }
   10082 _ACEOF
   10083 if ac_fn_c_try_link "$LINENO"
   10084 then :
   10085   eval $cacheid=yes
   10086 else $as_nop
   10087   eval $cacheid=no
   10088 fi
   10089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10090     conftest$ac_exeext conftest.$ac_ext
   10091 fi
   10092 
   10093 
   10094 		CFLAGS="$xorg_testset_save_CFLAGS"
   10095 
   10096 		eval supported=\$$cacheid
   10097 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10098 printf "%s\n" "$supported" >&6; }
   10099 		if test "$supported" = "yes" ; then
   10100 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10101 			found="yes"
   10102 		fi
   10103 	fi
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 xorg_testset_save_CFLAGS="$CFLAGS"
   10120 
   10121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10124 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10125 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10126 then :
   10127   printf %s "(cached) " >&6
   10128 else $as_nop
   10129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10130 /* end confdefs.h.  */
   10131 int i;
   10132 _ACEOF
   10133 if ac_fn_c_try_compile "$LINENO"
   10134 then :
   10135   xorg_cv_cc_flag_unknown_warning_option=yes
   10136 else $as_nop
   10137   xorg_cv_cc_flag_unknown_warning_option=no
   10138 fi
   10139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10140 fi
   10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10142 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10144 	CFLAGS="$xorg_testset_save_CFLAGS"
   10145 fi
   10146 
   10147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10150 	fi
   10151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10152 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10153 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10154 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10155 then :
   10156   printf %s "(cached) " >&6
   10157 else $as_nop
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 int i;
   10161 _ACEOF
   10162 if ac_fn_c_try_compile "$LINENO"
   10163 then :
   10164   xorg_cv_cc_flag_unused_command_line_argument=yes
   10165 else $as_nop
   10166   xorg_cv_cc_flag_unused_command_line_argument=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10169 fi
   10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10171 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10173 	CFLAGS="$xorg_testset_save_CFLAGS"
   10174 fi
   10175 
   10176 found="no"
   10177 
   10178 	if test $found = "no" ; then
   10179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10181 		fi
   10182 
   10183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10185 		fi
   10186 
   10187 		CFLAGS="$CFLAGS -Wwrite-strings"
   10188 
   10189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10190 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10191 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10192 		if eval test \${$cacheid+y}
   10193 then :
   10194   printf %s "(cached) " >&6
   10195 else $as_nop
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 int
   10200 main (void)
   10201 {
   10202 
   10203   ;
   10204   return 0;
   10205 }
   10206 _ACEOF
   10207 if ac_fn_c_try_link "$LINENO"
   10208 then :
   10209   eval $cacheid=yes
   10210 else $as_nop
   10211   eval $cacheid=no
   10212 fi
   10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10214     conftest$ac_exeext conftest.$ac_ext
   10215 fi
   10216 
   10217 
   10218 		CFLAGS="$xorg_testset_save_CFLAGS"
   10219 
   10220 		eval supported=\$$cacheid
   10221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10222 printf "%s\n" "$supported" >&6; }
   10223 		if test "$supported" = "yes" ; then
   10224 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10225 			found="yes"
   10226 		fi
   10227 	fi
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 xorg_testset_save_CFLAGS="$CFLAGS"
   10244 
   10245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10248 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10249 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10250 then :
   10251   printf %s "(cached) " >&6
   10252 else $as_nop
   10253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 _ACEOF
   10257 if ac_fn_c_try_compile "$LINENO"
   10258 then :
   10259   xorg_cv_cc_flag_unknown_warning_option=yes
   10260 else $as_nop
   10261   xorg_cv_cc_flag_unknown_warning_option=no
   10262 fi
   10263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10264 fi
   10265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10266 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10268 	CFLAGS="$xorg_testset_save_CFLAGS"
   10269 fi
   10270 
   10271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10274 	fi
   10275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10276 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10277 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10278 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10279 then :
   10280   printf %s "(cached) " >&6
   10281 else $as_nop
   10282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10283 /* end confdefs.h.  */
   10284 int i;
   10285 _ACEOF
   10286 if ac_fn_c_try_compile "$LINENO"
   10287 then :
   10288   xorg_cv_cc_flag_unused_command_line_argument=yes
   10289 else $as_nop
   10290   xorg_cv_cc_flag_unused_command_line_argument=no
   10291 fi
   10292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10293 fi
   10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10295 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10297 	CFLAGS="$xorg_testset_save_CFLAGS"
   10298 fi
   10299 
   10300 found="no"
   10301 
   10302 	if test $found = "no" ; then
   10303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10305 		fi
   10306 
   10307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10309 		fi
   10310 
   10311 		CFLAGS="$CFLAGS -Waddress"
   10312 
   10313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10314 printf %s "checking if $CC supports -Waddress... " >&6; }
   10315 		cacheid=xorg_cv_cc_flag__Waddress
   10316 		if eval test \${$cacheid+y}
   10317 then :
   10318   printf %s "(cached) " >&6
   10319 else $as_nop
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 int
   10324 main (void)
   10325 {
   10326 
   10327   ;
   10328   return 0;
   10329 }
   10330 _ACEOF
   10331 if ac_fn_c_try_link "$LINENO"
   10332 then :
   10333   eval $cacheid=yes
   10334 else $as_nop
   10335   eval $cacheid=no
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10338     conftest$ac_exeext conftest.$ac_ext
   10339 fi
   10340 
   10341 
   10342 		CFLAGS="$xorg_testset_save_CFLAGS"
   10343 
   10344 		eval supported=\$$cacheid
   10345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10346 printf "%s\n" "$supported" >&6; }
   10347 		if test "$supported" = "yes" ; then
   10348 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10349 			found="yes"
   10350 		fi
   10351 	fi
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 xorg_testset_save_CFLAGS="$CFLAGS"
   10368 
   10369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10372 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10373 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10374 then :
   10375   printf %s "(cached) " >&6
   10376 else $as_nop
   10377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 int i;
   10380 _ACEOF
   10381 if ac_fn_c_try_compile "$LINENO"
   10382 then :
   10383   xorg_cv_cc_flag_unknown_warning_option=yes
   10384 else $as_nop
   10385   xorg_cv_cc_flag_unknown_warning_option=no
   10386 fi
   10387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10388 fi
   10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10390 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10392 	CFLAGS="$xorg_testset_save_CFLAGS"
   10393 fi
   10394 
   10395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10398 	fi
   10399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10401 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10402 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10403 then :
   10404   printf %s "(cached) " >&6
   10405 else $as_nop
   10406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10407 /* end confdefs.h.  */
   10408 int i;
   10409 _ACEOF
   10410 if ac_fn_c_try_compile "$LINENO"
   10411 then :
   10412   xorg_cv_cc_flag_unused_command_line_argument=yes
   10413 else $as_nop
   10414   xorg_cv_cc_flag_unused_command_line_argument=no
   10415 fi
   10416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10417 fi
   10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10419 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10421 	CFLAGS="$xorg_testset_save_CFLAGS"
   10422 fi
   10423 
   10424 found="no"
   10425 
   10426 	if test $found = "no" ; then
   10427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10429 		fi
   10430 
   10431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10433 		fi
   10434 
   10435 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10436 
   10437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10438 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10439 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10440 		if eval test \${$cacheid+y}
   10441 then :
   10442   printf %s "(cached) " >&6
   10443 else $as_nop
   10444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10445 /* end confdefs.h.  */
   10446 int i;
   10447 int
   10448 main (void)
   10449 {
   10450 
   10451   ;
   10452   return 0;
   10453 }
   10454 _ACEOF
   10455 if ac_fn_c_try_link "$LINENO"
   10456 then :
   10457   eval $cacheid=yes
   10458 else $as_nop
   10459   eval $cacheid=no
   10460 fi
   10461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10462     conftest$ac_exeext conftest.$ac_ext
   10463 fi
   10464 
   10465 
   10466 		CFLAGS="$xorg_testset_save_CFLAGS"
   10467 
   10468 		eval supported=\$$cacheid
   10469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10470 printf "%s\n" "$supported" >&6; }
   10471 		if test "$supported" = "yes" ; then
   10472 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10473 			found="yes"
   10474 		fi
   10475 	fi
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 xorg_testset_save_CFLAGS="$CFLAGS"
   10492 
   10493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10496 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10497 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10498 then :
   10499   printf %s "(cached) " >&6
   10500 else $as_nop
   10501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10502 /* end confdefs.h.  */
   10503 int i;
   10504 _ACEOF
   10505 if ac_fn_c_try_compile "$LINENO"
   10506 then :
   10507   xorg_cv_cc_flag_unknown_warning_option=yes
   10508 else $as_nop
   10509   xorg_cv_cc_flag_unknown_warning_option=no
   10510 fi
   10511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10512 fi
   10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10514 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10516 	CFLAGS="$xorg_testset_save_CFLAGS"
   10517 fi
   10518 
   10519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 	fi
   10523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10527 then :
   10528   printf %s "(cached) " >&6
   10529 else $as_nop
   10530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10531 /* end confdefs.h.  */
   10532 int i;
   10533 _ACEOF
   10534 if ac_fn_c_try_compile "$LINENO"
   10535 then :
   10536   xorg_cv_cc_flag_unused_command_line_argument=yes
   10537 else $as_nop
   10538   xorg_cv_cc_flag_unused_command_line_argument=no
   10539 fi
   10540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10541 fi
   10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10543 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10545 	CFLAGS="$xorg_testset_save_CFLAGS"
   10546 fi
   10547 
   10548 found="no"
   10549 
   10550 	if test $found = "no" ; then
   10551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10553 		fi
   10554 
   10555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10557 		fi
   10558 
   10559 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10560 
   10561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10562 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10563 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10564 		if eval test \${$cacheid+y}
   10565 then :
   10566   printf %s "(cached) " >&6
   10567 else $as_nop
   10568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10569 /* end confdefs.h.  */
   10570 int i;
   10571 int
   10572 main (void)
   10573 {
   10574 
   10575   ;
   10576   return 0;
   10577 }
   10578 _ACEOF
   10579 if ac_fn_c_try_link "$LINENO"
   10580 then :
   10581   eval $cacheid=yes
   10582 else $as_nop
   10583   eval $cacheid=no
   10584 fi
   10585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10586     conftest$ac_exeext conftest.$ac_ext
   10587 fi
   10588 
   10589 
   10590 		CFLAGS="$xorg_testset_save_CFLAGS"
   10591 
   10592 		eval supported=\$$cacheid
   10593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10594 printf "%s\n" "$supported" >&6; }
   10595 		if test "$supported" = "yes" ; then
   10596 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10597 			found="yes"
   10598 		fi
   10599 	fi
   10600 
   10601 
   10602 fi
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 		CWARNFLAGS="$BASE_CFLAGS"
   10611 		if  test "x$GCC" = xyes ; then
   10612 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10613 		fi
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 # Check whether --enable-strict-compilation was given.
   10623 if test ${enable_strict_compilation+y}
   10624 then :
   10625   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10626 else $as_nop
   10627   STRICT_COMPILE=no
   10628 fi
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 STRICT_CFLAGS=""
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 xorg_testset_save_CFLAGS="$CFLAGS"
   10650 
   10651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10656 then :
   10657   printf %s "(cached) " >&6
   10658 else $as_nop
   10659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10660 /* end confdefs.h.  */
   10661 int i;
   10662 _ACEOF
   10663 if ac_fn_c_try_compile "$LINENO"
   10664 then :
   10665   xorg_cv_cc_flag_unknown_warning_option=yes
   10666 else $as_nop
   10667   xorg_cv_cc_flag_unknown_warning_option=no
   10668 fi
   10669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10670 fi
   10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10672 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10674 	CFLAGS="$xorg_testset_save_CFLAGS"
   10675 fi
   10676 
   10677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10680 	fi
   10681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10683 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10684 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10685 then :
   10686   printf %s "(cached) " >&6
   10687 else $as_nop
   10688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10689 /* end confdefs.h.  */
   10690 int i;
   10691 _ACEOF
   10692 if ac_fn_c_try_compile "$LINENO"
   10693 then :
   10694   xorg_cv_cc_flag_unused_command_line_argument=yes
   10695 else $as_nop
   10696   xorg_cv_cc_flag_unused_command_line_argument=no
   10697 fi
   10698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10699 fi
   10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10701 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10703 	CFLAGS="$xorg_testset_save_CFLAGS"
   10704 fi
   10705 
   10706 found="no"
   10707 
   10708 	if test $found = "no" ; then
   10709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10711 		fi
   10712 
   10713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10715 		fi
   10716 
   10717 		CFLAGS="$CFLAGS -pedantic"
   10718 
   10719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10720 printf %s "checking if $CC supports -pedantic... " >&6; }
   10721 		cacheid=xorg_cv_cc_flag__pedantic
   10722 		if eval test \${$cacheid+y}
   10723 then :
   10724   printf %s "(cached) " >&6
   10725 else $as_nop
   10726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10727 /* end confdefs.h.  */
   10728 int i;
   10729 int
   10730 main (void)
   10731 {
   10732 
   10733   ;
   10734   return 0;
   10735 }
   10736 _ACEOF
   10737 if ac_fn_c_try_link "$LINENO"
   10738 then :
   10739   eval $cacheid=yes
   10740 else $as_nop
   10741   eval $cacheid=no
   10742 fi
   10743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10744     conftest$ac_exeext conftest.$ac_ext
   10745 fi
   10746 
   10747 
   10748 		CFLAGS="$xorg_testset_save_CFLAGS"
   10749 
   10750 		eval supported=\$$cacheid
   10751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10752 printf "%s\n" "$supported" >&6; }
   10753 		if test "$supported" = "yes" ; then
   10754 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10755 			found="yes"
   10756 		fi
   10757 	fi
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 xorg_testset_save_CFLAGS="$CFLAGS"
   10774 
   10775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10780 then :
   10781   printf %s "(cached) " >&6
   10782 else $as_nop
   10783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10784 /* end confdefs.h.  */
   10785 int i;
   10786 _ACEOF
   10787 if ac_fn_c_try_compile "$LINENO"
   10788 then :
   10789   xorg_cv_cc_flag_unknown_warning_option=yes
   10790 else $as_nop
   10791   xorg_cv_cc_flag_unknown_warning_option=no
   10792 fi
   10793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10794 fi
   10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10796 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10798 	CFLAGS="$xorg_testset_save_CFLAGS"
   10799 fi
   10800 
   10801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10804 	fi
   10805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10806 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10807 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10808 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10809 then :
   10810   printf %s "(cached) " >&6
   10811 else $as_nop
   10812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10813 /* end confdefs.h.  */
   10814 int i;
   10815 _ACEOF
   10816 if ac_fn_c_try_compile "$LINENO"
   10817 then :
   10818   xorg_cv_cc_flag_unused_command_line_argument=yes
   10819 else $as_nop
   10820   xorg_cv_cc_flag_unused_command_line_argument=no
   10821 fi
   10822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10823 fi
   10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10825 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10827 	CFLAGS="$xorg_testset_save_CFLAGS"
   10828 fi
   10829 
   10830 found="no"
   10831 
   10832 	if test $found = "no" ; then
   10833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10835 		fi
   10836 
   10837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10839 		fi
   10840 
   10841 		CFLAGS="$CFLAGS -Werror"
   10842 
   10843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10844 printf %s "checking if $CC supports -Werror... " >&6; }
   10845 		cacheid=xorg_cv_cc_flag__Werror
   10846 		if eval test \${$cacheid+y}
   10847 then :
   10848   printf %s "(cached) " >&6
   10849 else $as_nop
   10850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10851 /* end confdefs.h.  */
   10852 int i;
   10853 int
   10854 main (void)
   10855 {
   10856 
   10857   ;
   10858   return 0;
   10859 }
   10860 _ACEOF
   10861 if ac_fn_c_try_link "$LINENO"
   10862 then :
   10863   eval $cacheid=yes
   10864 else $as_nop
   10865   eval $cacheid=no
   10866 fi
   10867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10868     conftest$ac_exeext conftest.$ac_ext
   10869 fi
   10870 
   10871 
   10872 		CFLAGS="$xorg_testset_save_CFLAGS"
   10873 
   10874 		eval supported=\$$cacheid
   10875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10876 printf "%s\n" "$supported" >&6; }
   10877 		if test "$supported" = "yes" ; then
   10878 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10879 			found="yes"
   10880 		fi
   10881 	fi
   10882 
   10883 	if test $found = "no" ; then
   10884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10886 		fi
   10887 
   10888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10890 		fi
   10891 
   10892 		CFLAGS="$CFLAGS -errwarn"
   10893 
   10894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10895 printf %s "checking if $CC supports -errwarn... " >&6; }
   10896 		cacheid=xorg_cv_cc_flag__errwarn
   10897 		if eval test \${$cacheid+y}
   10898 then :
   10899   printf %s "(cached) " >&6
   10900 else $as_nop
   10901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10902 /* end confdefs.h.  */
   10903 int i;
   10904 int
   10905 main (void)
   10906 {
   10907 
   10908   ;
   10909   return 0;
   10910 }
   10911 _ACEOF
   10912 if ac_fn_c_try_link "$LINENO"
   10913 then :
   10914   eval $cacheid=yes
   10915 else $as_nop
   10916   eval $cacheid=no
   10917 fi
   10918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10919     conftest$ac_exeext conftest.$ac_ext
   10920 fi
   10921 
   10922 
   10923 		CFLAGS="$xorg_testset_save_CFLAGS"
   10924 
   10925 		eval supported=\$$cacheid
   10926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10927 printf "%s\n" "$supported" >&6; }
   10928 		if test "$supported" = "yes" ; then
   10929 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10930 			found="yes"
   10931 		fi
   10932 	fi
   10933 
   10934 
   10935 
   10936 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10937 # activate it with -Werror, so we add it here explicitly.
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 xorg_testset_save_CFLAGS="$CFLAGS"
   10952 
   10953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10956 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10957 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10958 then :
   10959   printf %s "(cached) " >&6
   10960 else $as_nop
   10961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10962 /* end confdefs.h.  */
   10963 int i;
   10964 _ACEOF
   10965 if ac_fn_c_try_compile "$LINENO"
   10966 then :
   10967   xorg_cv_cc_flag_unknown_warning_option=yes
   10968 else $as_nop
   10969   xorg_cv_cc_flag_unknown_warning_option=no
   10970 fi
   10971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10972 fi
   10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10974 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10976 	CFLAGS="$xorg_testset_save_CFLAGS"
   10977 fi
   10978 
   10979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10982 	fi
   10983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10984 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10985 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10986 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10987 then :
   10988   printf %s "(cached) " >&6
   10989 else $as_nop
   10990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10991 /* end confdefs.h.  */
   10992 int i;
   10993 _ACEOF
   10994 if ac_fn_c_try_compile "$LINENO"
   10995 then :
   10996   xorg_cv_cc_flag_unused_command_line_argument=yes
   10997 else $as_nop
   10998   xorg_cv_cc_flag_unused_command_line_argument=no
   10999 fi
   11000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11001 fi
   11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11003 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11004 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11005 	CFLAGS="$xorg_testset_save_CFLAGS"
   11006 fi
   11007 
   11008 found="no"
   11009 
   11010 	if test $found = "no" ; then
   11011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11013 		fi
   11014 
   11015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11017 		fi
   11018 
   11019 		CFLAGS="$CFLAGS -Werror=attributes"
   11020 
   11021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11022 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11023 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11024 		if eval test \${$cacheid+y}
   11025 then :
   11026   printf %s "(cached) " >&6
   11027 else $as_nop
   11028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11029 /* end confdefs.h.  */
   11030 int i;
   11031 int
   11032 main (void)
   11033 {
   11034 
   11035   ;
   11036   return 0;
   11037 }
   11038 _ACEOF
   11039 if ac_fn_c_try_link "$LINENO"
   11040 then :
   11041   eval $cacheid=yes
   11042 else $as_nop
   11043   eval $cacheid=no
   11044 fi
   11045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11046     conftest$ac_exeext conftest.$ac_ext
   11047 fi
   11048 
   11049 
   11050 		CFLAGS="$xorg_testset_save_CFLAGS"
   11051 
   11052 		eval supported=\$$cacheid
   11053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11054 printf "%s\n" "$supported" >&6; }
   11055 		if test "$supported" = "yes" ; then
   11056 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11057 			found="yes"
   11058 		fi
   11059 	fi
   11060 
   11061 
   11062 
   11063 if test "x$STRICT_COMPILE" = "xyes"; then
   11064     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11065     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11066 fi
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 cat >>confdefs.h <<_ACEOF
   11074 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11075 _ACEOF
   11076 
   11077 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11078 	if test "x$PVM" = "x"; then
   11079 		PVM="0"
   11080 	fi
   11081 
   11082 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11083 
   11084 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11085 	if test "x$PVP" = "x"; then
   11086 		PVP="0"
   11087 	fi
   11088 
   11089 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11090 
   11091 
   11092 
   11093 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11094 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11095 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11096 touch \$(top_srcdir)/ChangeLog; \
   11097 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11098 
   11099 
   11100 
   11101 
   11102 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11103 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11104 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11105 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11106 touch \$(top_srcdir)/INSTALL; \
   11107 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 case $host_os in
   11115     solaris*)
   11116         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11117         # check for a man page file found in later versions that use
   11118         # traditional section numbers instead
   11119         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11120 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11121 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11122 then :
   11123   printf %s "(cached) " >&6
   11124 else $as_nop
   11125   test "$cross_compiling" = yes &&
   11126   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11127 if test -r "/usr/share/man/man7/attributes.7"; then
   11128   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11129 else
   11130   ac_cv_file__usr_share_man_man7_attributes_7=no
   11131 fi
   11132 fi
   11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11134 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11135 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11136 then :
   11137   SYSV_MAN_SECTIONS=false
   11138 else $as_nop
   11139   SYSV_MAN_SECTIONS=true
   11140 fi
   11141 
   11142         ;;
   11143     *) SYSV_MAN_SECTIONS=false ;;
   11144 esac
   11145 
   11146 if test x$APP_MAN_SUFFIX = x    ; then
   11147     APP_MAN_SUFFIX=1
   11148 fi
   11149 if test x$APP_MAN_DIR = x    ; then
   11150     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11151 fi
   11152 
   11153 if test x$LIB_MAN_SUFFIX = x    ; then
   11154     LIB_MAN_SUFFIX=3
   11155 fi
   11156 if test x$LIB_MAN_DIR = x    ; then
   11157     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11158 fi
   11159 
   11160 if test x$FILE_MAN_SUFFIX = x    ; then
   11161     case $SYSV_MAN_SECTIONS in
   11162 	true)				FILE_MAN_SUFFIX=4  ;;
   11163 	*)				FILE_MAN_SUFFIX=5  ;;
   11164     esac
   11165 fi
   11166 if test x$FILE_MAN_DIR = x    ; then
   11167     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11168 fi
   11169 
   11170 if test x$MISC_MAN_SUFFIX = x    ; then
   11171     case $SYSV_MAN_SECTIONS in
   11172 	true)				MISC_MAN_SUFFIX=5  ;;
   11173 	*)				MISC_MAN_SUFFIX=7  ;;
   11174     esac
   11175 fi
   11176 if test x$MISC_MAN_DIR = x    ; then
   11177     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11178 fi
   11179 
   11180 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11181     case $SYSV_MAN_SECTIONS in
   11182 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11183 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11184     esac
   11185 fi
   11186 if test x$DRIVER_MAN_DIR = x    ; then
   11187     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11188 fi
   11189 
   11190 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11191     case $SYSV_MAN_SECTIONS in
   11192 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11193 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11194     esac
   11195 fi
   11196 if test x$ADMIN_MAN_DIR = x    ; then
   11197     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11198 fi
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 XORG_MAN_PAGE="X Version 11"
   11215 
   11216 MAN_SUBSTS="\
   11217 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11218 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11219 	-e 's|__xservername__|Xorg|g' \
   11220 	-e 's|__xconfigfile__|xorg.conf|g' \
   11221 	-e 's|__projectroot__|\$(prefix)|g' \
   11222 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11223 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11224 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11225 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11226 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11227 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11228 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11229 
   11230 
   11231 
   11232 # Check whether --enable-silent-rules was given.
   11233 if test ${enable_silent_rules+y}
   11234 then :
   11235   enableval=$enable_silent_rules;
   11236 fi
   11237 
   11238 case $enable_silent_rules in # (((
   11239   yes) AM_DEFAULT_VERBOSITY=0;;
   11240    no) AM_DEFAULT_VERBOSITY=1;;
   11241     *) AM_DEFAULT_VERBOSITY=0;;
   11242 esac
   11243 am_make=${MAKE-make}
   11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11245 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11246 if test ${am_cv_make_support_nested_variables+y}
   11247 then :
   11248   printf %s "(cached) " >&6
   11249 else $as_nop
   11250   if printf "%s\n" 'TRUE=$(BAR$(V))
   11251 BAR0=false
   11252 BAR1=true
   11253 V=1
   11254 am__doit:
   11255 	@$(TRUE)
   11256 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11257   am_cv_make_support_nested_variables=yes
   11258 else
   11259   am_cv_make_support_nested_variables=no
   11260 fi
   11261 fi
   11262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11263 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11264 if test $am_cv_make_support_nested_variables = yes; then
   11265     AM_V='$(V)'
   11266   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11267 else
   11268   AM_V=$AM_DEFAULT_VERBOSITY
   11269   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11270 fi
   11271 AM_BACKSLASH='\'
   11272 
   11273 
   11274 
   11275 # Initialize libtool
   11276 # Check whether --enable-static was given.
   11277 if test ${enable_static+y}
   11278 then :
   11279   enableval=$enable_static; p=${PACKAGE-default}
   11280     case $enableval in
   11281     yes) enable_static=yes ;;
   11282     no) enable_static=no ;;
   11283     *)
   11284      enable_static=no
   11285       # Look at the argument we got.  We use all the common list separators.
   11286       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11287       for pkg in $enableval; do
   11288 	IFS=$lt_save_ifs
   11289 	if test "X$pkg" = "X$p"; then
   11290 	  enable_static=yes
   11291 	fi
   11292       done
   11293       IFS=$lt_save_ifs
   11294       ;;
   11295     esac
   11296 else $as_nop
   11297   enable_static=no
   11298 fi
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 case `pwd` in
   11309   *\ * | *\	*)
   11310     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11311 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11312 esac
   11313 
   11314 
   11315 
   11316 macro_version='2.4.7'
   11317 macro_revision='2.4.7'
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 ltmain=$ac_aux_dir/ltmain.sh
   11333 
   11334 # Backslashify metacharacters that are still active within
   11335 # double-quoted strings.
   11336 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11337 
   11338 # Same as above, but do not quote variable references.
   11339 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11340 
   11341 # Sed substitution to delay expansion of an escaped shell variable in a
   11342 # double_quote_subst'ed string.
   11343 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11344 
   11345 # Sed substitution to delay expansion of an escaped single quote.
   11346 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11347 
   11348 # Sed substitution to avoid accidental globbing in evaled expressions
   11349 no_glob_subst='s/\*/\\\*/g'
   11350 
   11351 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11352 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11354 
   11355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11356 printf %s "checking how to print strings... " >&6; }
   11357 # Test print first, because it will be a builtin if present.
   11358 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11359    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11360   ECHO='print -r --'
   11361 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11362   ECHO='printf %s\n'
   11363 else
   11364   # Use this function as a fallback that always works.
   11365   func_fallback_echo ()
   11366   {
   11367     eval 'cat <<_LTECHO_EOF
   11368 $1
   11369 _LTECHO_EOF'
   11370   }
   11371   ECHO='func_fallback_echo'
   11372 fi
   11373 
   11374 # func_echo_all arg...
   11375 # Invoke $ECHO with all args, space-separated.
   11376 func_echo_all ()
   11377 {
   11378     $ECHO ""
   11379 }
   11380 
   11381 case $ECHO in
   11382   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11383 printf "%s\n" "printf" >&6; } ;;
   11384   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11385 printf "%s\n" "print -r" >&6; } ;;
   11386   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11387 printf "%s\n" "cat" >&6; } ;;
   11388 esac
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11404 printf %s "checking for a sed that does not truncate output... " >&6; }
   11405 if test ${ac_cv_path_SED+y}
   11406 then :
   11407   printf %s "(cached) " >&6
   11408 else $as_nop
   11409             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11410      for ac_i in 1 2 3 4 5 6 7; do
   11411        ac_script="$ac_script$as_nl$ac_script"
   11412      done
   11413      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11414      { ac_script=; unset ac_script;}
   11415      if test -z "$SED"; then
   11416   ac_path_SED_found=false
   11417   # Loop through the user's path and test for each of PROGNAME-LIST
   11418   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11419 for as_dir in $PATH
   11420 do
   11421   IFS=$as_save_IFS
   11422   case $as_dir in #(((
   11423     '') as_dir=./ ;;
   11424     */) ;;
   11425     *) as_dir=$as_dir/ ;;
   11426   esac
   11427     for ac_prog in sed gsed
   11428    do
   11429     for ac_exec_ext in '' $ac_executable_extensions; do
   11430       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11431       as_fn_executable_p "$ac_path_SED" || continue
   11432 # Check for GNU ac_path_SED and select it if it is found.
   11433   # Check for GNU $ac_path_SED
   11434 case `"$ac_path_SED" --version 2>&1` in
   11435 *GNU*)
   11436   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11437 *)
   11438   ac_count=0
   11439   printf %s 0123456789 >"conftest.in"
   11440   while :
   11441   do
   11442     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11443     mv "conftest.tmp" "conftest.in"
   11444     cp "conftest.in" "conftest.nl"
   11445     printf "%s\n" '' >> "conftest.nl"
   11446     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11447     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11448     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11449     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11450       # Best one so far, save it but keep looking for a better one
   11451       ac_cv_path_SED="$ac_path_SED"
   11452       ac_path_SED_max=$ac_count
   11453     fi
   11454     # 10*(2^10) chars as input seems more than enough
   11455     test $ac_count -gt 10 && break
   11456   done
   11457   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11458 esac
   11459 
   11460       $ac_path_SED_found && break 3
   11461     done
   11462   done
   11463   done
   11464 IFS=$as_save_IFS
   11465   if test -z "$ac_cv_path_SED"; then
   11466     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11467   fi
   11468 else
   11469   ac_cv_path_SED=$SED
   11470 fi
   11471 
   11472 fi
   11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11474 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11475  SED="$ac_cv_path_SED"
   11476   rm -f conftest.sed
   11477 
   11478 test -z "$SED" && SED=sed
   11479 Xsed="$SED -e 1s/^X//"
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11492 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11493 if test ${ac_cv_path_GREP+y}
   11494 then :
   11495   printf %s "(cached) " >&6
   11496 else $as_nop
   11497   if test -z "$GREP"; then
   11498   ac_path_GREP_found=false
   11499   # Loop through the user's path and test for each of PROGNAME-LIST
   11500   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11501 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11502 do
   11503   IFS=$as_save_IFS
   11504   case $as_dir in #(((
   11505     '') as_dir=./ ;;
   11506     */) ;;
   11507     *) as_dir=$as_dir/ ;;
   11508   esac
   11509     for ac_prog in grep ggrep
   11510    do
   11511     for ac_exec_ext in '' $ac_executable_extensions; do
   11512       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11513       as_fn_executable_p "$ac_path_GREP" || continue
   11514 # Check for GNU ac_path_GREP and select it if it is found.
   11515   # Check for GNU $ac_path_GREP
   11516 case `"$ac_path_GREP" --version 2>&1` in
   11517 *GNU*)
   11518   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11519 *)
   11520   ac_count=0
   11521   printf %s 0123456789 >"conftest.in"
   11522   while :
   11523   do
   11524     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11525     mv "conftest.tmp" "conftest.in"
   11526     cp "conftest.in" "conftest.nl"
   11527     printf "%s\n" 'GREP' >> "conftest.nl"
   11528     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11529     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11530     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11531     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11532       # Best one so far, save it but keep looking for a better one
   11533       ac_cv_path_GREP="$ac_path_GREP"
   11534       ac_path_GREP_max=$ac_count
   11535     fi
   11536     # 10*(2^10) chars as input seems more than enough
   11537     test $ac_count -gt 10 && break
   11538   done
   11539   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11540 esac
   11541 
   11542       $ac_path_GREP_found && break 3
   11543     done
   11544   done
   11545   done
   11546 IFS=$as_save_IFS
   11547   if test -z "$ac_cv_path_GREP"; then
   11548     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11549   fi
   11550 else
   11551   ac_cv_path_GREP=$GREP
   11552 fi
   11553 
   11554 fi
   11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11556 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11557  GREP="$ac_cv_path_GREP"
   11558 
   11559 
   11560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11561 printf %s "checking for egrep... " >&6; }
   11562 if test ${ac_cv_path_EGREP+y}
   11563 then :
   11564   printf %s "(cached) " >&6
   11565 else $as_nop
   11566   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11567    then ac_cv_path_EGREP="$GREP -E"
   11568    else
   11569      if test -z "$EGREP"; then
   11570   ac_path_EGREP_found=false
   11571   # Loop through the user's path and test for each of PROGNAME-LIST
   11572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11574 do
   11575   IFS=$as_save_IFS
   11576   case $as_dir in #(((
   11577     '') as_dir=./ ;;
   11578     */) ;;
   11579     *) as_dir=$as_dir/ ;;
   11580   esac
   11581     for ac_prog in egrep
   11582    do
   11583     for ac_exec_ext in '' $ac_executable_extensions; do
   11584       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11585       as_fn_executable_p "$ac_path_EGREP" || continue
   11586 # Check for GNU ac_path_EGREP and select it if it is found.
   11587   # Check for GNU $ac_path_EGREP
   11588 case `"$ac_path_EGREP" --version 2>&1` in
   11589 *GNU*)
   11590   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11591 *)
   11592   ac_count=0
   11593   printf %s 0123456789 >"conftest.in"
   11594   while :
   11595   do
   11596     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11597     mv "conftest.tmp" "conftest.in"
   11598     cp "conftest.in" "conftest.nl"
   11599     printf "%s\n" 'EGREP' >> "conftest.nl"
   11600     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11601     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11602     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11603     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11604       # Best one so far, save it but keep looking for a better one
   11605       ac_cv_path_EGREP="$ac_path_EGREP"
   11606       ac_path_EGREP_max=$ac_count
   11607     fi
   11608     # 10*(2^10) chars as input seems more than enough
   11609     test $ac_count -gt 10 && break
   11610   done
   11611   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11612 esac
   11613 
   11614       $ac_path_EGREP_found && break 3
   11615     done
   11616   done
   11617   done
   11618 IFS=$as_save_IFS
   11619   if test -z "$ac_cv_path_EGREP"; then
   11620     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11621   fi
   11622 else
   11623   ac_cv_path_EGREP=$EGREP
   11624 fi
   11625 
   11626    fi
   11627 fi
   11628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11629 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11630  EGREP="$ac_cv_path_EGREP"
   11631 
   11632 
   11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11634 printf %s "checking for fgrep... " >&6; }
   11635 if test ${ac_cv_path_FGREP+y}
   11636 then :
   11637   printf %s "(cached) " >&6
   11638 else $as_nop
   11639   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11640    then ac_cv_path_FGREP="$GREP -F"
   11641    else
   11642      if test -z "$FGREP"; then
   11643   ac_path_FGREP_found=false
   11644   # Loop through the user's path and test for each of PROGNAME-LIST
   11645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11647 do
   11648   IFS=$as_save_IFS
   11649   case $as_dir in #(((
   11650     '') as_dir=./ ;;
   11651     */) ;;
   11652     *) as_dir=$as_dir/ ;;
   11653   esac
   11654     for ac_prog in fgrep
   11655    do
   11656     for ac_exec_ext in '' $ac_executable_extensions; do
   11657       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11658       as_fn_executable_p "$ac_path_FGREP" || continue
   11659 # Check for GNU ac_path_FGREP and select it if it is found.
   11660   # Check for GNU $ac_path_FGREP
   11661 case `"$ac_path_FGREP" --version 2>&1` in
   11662 *GNU*)
   11663   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11664 *)
   11665   ac_count=0
   11666   printf %s 0123456789 >"conftest.in"
   11667   while :
   11668   do
   11669     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11670     mv "conftest.tmp" "conftest.in"
   11671     cp "conftest.in" "conftest.nl"
   11672     printf "%s\n" 'FGREP' >> "conftest.nl"
   11673     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11674     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11675     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11676     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11677       # Best one so far, save it but keep looking for a better one
   11678       ac_cv_path_FGREP="$ac_path_FGREP"
   11679       ac_path_FGREP_max=$ac_count
   11680     fi
   11681     # 10*(2^10) chars as input seems more than enough
   11682     test $ac_count -gt 10 && break
   11683   done
   11684   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11685 esac
   11686 
   11687       $ac_path_FGREP_found && break 3
   11688     done
   11689   done
   11690   done
   11691 IFS=$as_save_IFS
   11692   if test -z "$ac_cv_path_FGREP"; then
   11693     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11694   fi
   11695 else
   11696   ac_cv_path_FGREP=$FGREP
   11697 fi
   11698 
   11699    fi
   11700 fi
   11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11702 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11703  FGREP="$ac_cv_path_FGREP"
   11704 
   11705 
   11706 test -z "$GREP" && GREP=grep
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 # Check whether --with-gnu-ld was given.
   11727 if test ${with_gnu_ld+y}
   11728 then :
   11729   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11730 else $as_nop
   11731   with_gnu_ld=no
   11732 fi
   11733 
   11734 ac_prog=ld
   11735 if test yes = "$GCC"; then
   11736   # Check if gcc -print-prog-name=ld gives a path.
   11737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11738 printf %s "checking for ld used by $CC... " >&6; }
   11739   case $host in
   11740   *-*-mingw*)
   11741     # gcc leaves a trailing carriage return, which upsets mingw
   11742     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11743   *)
   11744     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11745   esac
   11746   case $ac_prog in
   11747     # Accept absolute paths.
   11748     [\\/]* | ?:[\\/]*)
   11749       re_direlt='/[^/][^/]*/\.\./'
   11750       # Canonicalize the pathname of ld
   11751       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11752       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11753 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11754       done
   11755       test -z "$LD" && LD=$ac_prog
   11756       ;;
   11757   "")
   11758     # If it fails, then pretend we aren't using GCC.
   11759     ac_prog=ld
   11760     ;;
   11761   *)
   11762     # If it is relative, then search for the first ld in PATH.
   11763     with_gnu_ld=unknown
   11764     ;;
   11765   esac
   11766 elif test yes = "$with_gnu_ld"; then
   11767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11768 printf %s "checking for GNU ld... " >&6; }
   11769 else
   11770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11771 printf %s "checking for non-GNU ld... " >&6; }
   11772 fi
   11773 if test ${lt_cv_path_LD+y}
   11774 then :
   11775   printf %s "(cached) " >&6
   11776 else $as_nop
   11777   if test -z "$LD"; then
   11778   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11779   for ac_dir in $PATH; do
   11780     IFS=$lt_save_ifs
   11781     test -z "$ac_dir" && ac_dir=.
   11782     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11783       lt_cv_path_LD=$ac_dir/$ac_prog
   11784       # Check to see if the program is GNU ld.  I'd rather use --version,
   11785       # but apparently some variants of GNU ld only accept -v.
   11786       # Break only if it was the GNU/non-GNU ld that we prefer.
   11787       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11788       *GNU* | *'with BFD'*)
   11789 	test no != "$with_gnu_ld" && break
   11790 	;;
   11791       *)
   11792 	test yes != "$with_gnu_ld" && break
   11793 	;;
   11794       esac
   11795     fi
   11796   done
   11797   IFS=$lt_save_ifs
   11798 else
   11799   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11800 fi
   11801 fi
   11802 
   11803 LD=$lt_cv_path_LD
   11804 if test -n "$LD"; then
   11805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11806 printf "%s\n" "$LD" >&6; }
   11807 else
   11808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11809 printf "%s\n" "no" >&6; }
   11810 fi
   11811 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11813 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   11814 if test ${lt_cv_prog_gnu_ld+y}
   11815 then :
   11816   printf %s "(cached) " >&6
   11817 else $as_nop
   11818   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11819 case `$LD -v 2>&1 </dev/null` in
   11820 *GNU* | *'with BFD'*)
   11821   lt_cv_prog_gnu_ld=yes
   11822   ;;
   11823 *)
   11824   lt_cv_prog_gnu_ld=no
   11825   ;;
   11826 esac
   11827 fi
   11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11829 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   11830 with_gnu_ld=$lt_cv_prog_gnu_ld
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11841 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11842 if test ${lt_cv_path_NM+y}
   11843 then :
   11844   printf %s "(cached) " >&6
   11845 else $as_nop
   11846   if test -n "$NM"; then
   11847   # Let the user override the test.
   11848   lt_cv_path_NM=$NM
   11849 else
   11850   lt_nm_to_check=${ac_tool_prefix}nm
   11851   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11852     lt_nm_to_check="$lt_nm_to_check nm"
   11853   fi
   11854   for lt_tmp_nm in $lt_nm_to_check; do
   11855     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11856     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11857       IFS=$lt_save_ifs
   11858       test -z "$ac_dir" && ac_dir=.
   11859       tmp_nm=$ac_dir/$lt_tmp_nm
   11860       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11861 	# Check to see if the nm accepts a BSD-compat flag.
   11862 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11863 	#   nm: unknown option "B" ignored
   11864 	# Tru64's nm complains that /dev/null is an invalid object file
   11865 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11866 	case $build_os in
   11867 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11868 	*) lt_bad_file=/dev/null ;;
   11869 	esac
   11870 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   11871 	*$lt_bad_file* | *'Invalid file or object type'*)
   11872 	  lt_cv_path_NM="$tmp_nm -B"
   11873 	  break 2
   11874 	  ;;
   11875 	*)
   11876 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   11877 	  */dev/null*)
   11878 	    lt_cv_path_NM="$tmp_nm -p"
   11879 	    break 2
   11880 	    ;;
   11881 	  *)
   11882 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11883 	    continue # so that we can try to find one that supports BSD flags
   11884 	    ;;
   11885 	  esac
   11886 	  ;;
   11887 	esac
   11888       fi
   11889     done
   11890     IFS=$lt_save_ifs
   11891   done
   11892   : ${lt_cv_path_NM=no}
   11893 fi
   11894 fi
   11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11896 printf "%s\n" "$lt_cv_path_NM" >&6; }
   11897 if test no != "$lt_cv_path_NM"; then
   11898   NM=$lt_cv_path_NM
   11899 else
   11900   # Didn't find any BSD compatible name lister, look for dumpbin.
   11901   if test -n "$DUMPBIN"; then :
   11902     # Let the user override the test.
   11903   else
   11904     if test -n "$ac_tool_prefix"; then
   11905   for ac_prog in dumpbin "link -dump"
   11906   do
   11907     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11908 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11910 printf %s "checking for $ac_word... " >&6; }
   11911 if test ${ac_cv_prog_DUMPBIN+y}
   11912 then :
   11913   printf %s "(cached) " >&6
   11914 else $as_nop
   11915   if test -n "$DUMPBIN"; then
   11916   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11917 else
   11918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11919 for as_dir in $PATH
   11920 do
   11921   IFS=$as_save_IFS
   11922   case $as_dir in #(((
   11923     '') as_dir=./ ;;
   11924     */) ;;
   11925     *) as_dir=$as_dir/ ;;
   11926   esac
   11927     for ac_exec_ext in '' $ac_executable_extensions; do
   11928   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11929     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11931     break 2
   11932   fi
   11933 done
   11934   done
   11935 IFS=$as_save_IFS
   11936 
   11937 fi
   11938 fi
   11939 DUMPBIN=$ac_cv_prog_DUMPBIN
   11940 if test -n "$DUMPBIN"; then
   11941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11942 printf "%s\n" "$DUMPBIN" >&6; }
   11943 else
   11944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11945 printf "%s\n" "no" >&6; }
   11946 fi
   11947 
   11948 
   11949     test -n "$DUMPBIN" && break
   11950   done
   11951 fi
   11952 if test -z "$DUMPBIN"; then
   11953   ac_ct_DUMPBIN=$DUMPBIN
   11954   for ac_prog in dumpbin "link -dump"
   11955 do
   11956   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11957 set dummy $ac_prog; ac_word=$2
   11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11959 printf %s "checking for $ac_word... " >&6; }
   11960 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   11961 then :
   11962   printf %s "(cached) " >&6
   11963 else $as_nop
   11964   if test -n "$ac_ct_DUMPBIN"; then
   11965   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11966 else
   11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11968 for as_dir in $PATH
   11969 do
   11970   IFS=$as_save_IFS
   11971   case $as_dir in #(((
   11972     '') as_dir=./ ;;
   11973     */) ;;
   11974     *) as_dir=$as_dir/ ;;
   11975   esac
   11976     for ac_exec_ext in '' $ac_executable_extensions; do
   11977   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11978     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11979     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11980     break 2
   11981   fi
   11982 done
   11983   done
   11984 IFS=$as_save_IFS
   11985 
   11986 fi
   11987 fi
   11988 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11989 if test -n "$ac_ct_DUMPBIN"; then
   11990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11991 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   11992 else
   11993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11994 printf "%s\n" "no" >&6; }
   11995 fi
   11996 
   11997 
   11998   test -n "$ac_ct_DUMPBIN" && break
   11999 done
   12000 
   12001   if test "x$ac_ct_DUMPBIN" = x; then
   12002     DUMPBIN=":"
   12003   else
   12004     case $cross_compiling:$ac_tool_warned in
   12005 yes:)
   12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12007 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12008 ac_tool_warned=yes ;;
   12009 esac
   12010     DUMPBIN=$ac_ct_DUMPBIN
   12011   fi
   12012 fi
   12013 
   12014     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12015     *COFF*)
   12016       DUMPBIN="$DUMPBIN -symbols -headers"
   12017       ;;
   12018     *)
   12019       DUMPBIN=:
   12020       ;;
   12021     esac
   12022   fi
   12023 
   12024   if test : != "$DUMPBIN"; then
   12025     NM=$DUMPBIN
   12026   fi
   12027 fi
   12028 test -z "$NM" && NM=nm
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12036 printf %s "checking the name lister ($NM) interface... " >&6; }
   12037 if test ${lt_cv_nm_interface+y}
   12038 then :
   12039   printf %s "(cached) " >&6
   12040 else $as_nop
   12041   lt_cv_nm_interface="BSD nm"
   12042   echo "int some_variable = 0;" > conftest.$ac_ext
   12043   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12044   (eval "$ac_compile" 2>conftest.err)
   12045   cat conftest.err >&5
   12046   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12047   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12048   cat conftest.err >&5
   12049   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12050   cat conftest.out >&5
   12051   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12052     lt_cv_nm_interface="MS dumpbin"
   12053   fi
   12054   rm -f conftest*
   12055 fi
   12056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12057 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12058 
   12059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12060 printf %s "checking whether ln -s works... " >&6; }
   12061 LN_S=$as_ln_s
   12062 if test "$LN_S" = "ln -s"; then
   12063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12064 printf "%s\n" "yes" >&6; }
   12065 else
   12066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12067 printf "%s\n" "no, using $LN_S" >&6; }
   12068 fi
   12069 
   12070 # find the maximum length of command line arguments
   12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12072 printf %s "checking the maximum length of command line arguments... " >&6; }
   12073 if test ${lt_cv_sys_max_cmd_len+y}
   12074 then :
   12075   printf %s "(cached) " >&6
   12076 else $as_nop
   12077     i=0
   12078   teststring=ABCD
   12079 
   12080   case $build_os in
   12081   msdosdjgpp*)
   12082     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12083     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12084     # during glob expansion).  Even if it were fixed, the result of this
   12085     # check would be larger than it should be.
   12086     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12087     ;;
   12088 
   12089   gnu*)
   12090     # Under GNU Hurd, this test is not required because there is
   12091     # no limit to the length of command line arguments.
   12092     # Libtool will interpret -1 as no limit whatsoever
   12093     lt_cv_sys_max_cmd_len=-1;
   12094     ;;
   12095 
   12096   cygwin* | mingw* | cegcc*)
   12097     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12098     # about 5 minutes as the teststring grows exponentially.
   12099     # Worse, since 9x/ME are not pre-emptively multitasking,
   12100     # you end up with a "frozen" computer, even though with patience
   12101     # the test eventually succeeds (with a max line length of 256k).
   12102     # Instead, let's just punt: use the minimum linelength reported by
   12103     # all of the supported platforms: 8192 (on NT/2K/XP).
   12104     lt_cv_sys_max_cmd_len=8192;
   12105     ;;
   12106 
   12107   mint*)
   12108     # On MiNT this can take a long time and run out of memory.
   12109     lt_cv_sys_max_cmd_len=8192;
   12110     ;;
   12111 
   12112   amigaos*)
   12113     # On AmigaOS with pdksh, this test takes hours, literally.
   12114     # So we just punt and use a minimum line length of 8192.
   12115     lt_cv_sys_max_cmd_len=8192;
   12116     ;;
   12117 
   12118   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12119     # This has been around since 386BSD, at least.  Likely further.
   12120     if test -x /sbin/sysctl; then
   12121       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12122     elif test -x /usr/sbin/sysctl; then
   12123       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12124     else
   12125       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12126     fi
   12127     # And add a safety zone
   12128     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12129     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12130     ;;
   12131 
   12132   interix*)
   12133     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12134     lt_cv_sys_max_cmd_len=196608
   12135     ;;
   12136 
   12137   os2*)
   12138     # The test takes a long time on OS/2.
   12139     lt_cv_sys_max_cmd_len=8192
   12140     ;;
   12141 
   12142   osf*)
   12143     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12144     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12145     # nice to cause kernel panics so lets avoid the loop below.
   12146     # First set a reasonable default.
   12147     lt_cv_sys_max_cmd_len=16384
   12148     #
   12149     if test -x /sbin/sysconfig; then
   12150       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12151         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12152       esac
   12153     fi
   12154     ;;
   12155   sco3.2v5*)
   12156     lt_cv_sys_max_cmd_len=102400
   12157     ;;
   12158   sysv5* | sco5v6* | sysv4.2uw2*)
   12159     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12160     if test -n "$kargmax"; then
   12161       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12162     else
   12163       lt_cv_sys_max_cmd_len=32768
   12164     fi
   12165     ;;
   12166   *)
   12167     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12168     if test -n "$lt_cv_sys_max_cmd_len" && \
   12169        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12170       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12171       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12172     else
   12173       # Make teststring a little bigger before we do anything with it.
   12174       # a 1K string should be a reasonable start.
   12175       for i in 1 2 3 4 5 6 7 8; do
   12176         teststring=$teststring$teststring
   12177       done
   12178       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12179       # If test is not a shell built-in, we'll probably end up computing a
   12180       # maximum length that is only half of the actual maximum length, but
   12181       # we can't tell.
   12182       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12183 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12184 	      test 17 != "$i" # 1/2 MB should be enough
   12185       do
   12186         i=`expr $i + 1`
   12187         teststring=$teststring$teststring
   12188       done
   12189       # Only check the string length outside the loop.
   12190       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12191       teststring=
   12192       # Add a significant safety factor because C++ compilers can tack on
   12193       # massive amounts of additional arguments before passing them to the
   12194       # linker.  It appears as though 1/2 is a usable value.
   12195       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12196     fi
   12197     ;;
   12198   esac
   12199 
   12200 fi
   12201 
   12202 if test -n "$lt_cv_sys_max_cmd_len"; then
   12203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12204 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12205 else
   12206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12207 printf "%s\n" "none" >&6; }
   12208 fi
   12209 max_cmd_len=$lt_cv_sys_max_cmd_len
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 : ${CP="cp -f"}
   12217 : ${MV="mv -f"}
   12218 : ${RM="rm -f"}
   12219 
   12220 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12221   lt_unset=unset
   12222 else
   12223   lt_unset=false
   12224 fi
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 # test EBCDIC or ASCII
   12231 case `echo X|tr X '\101'` in
   12232  A) # ASCII based system
   12233     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12234   lt_SP2NL='tr \040 \012'
   12235   lt_NL2SP='tr \015\012 \040\040'
   12236   ;;
   12237  *) # EBCDIC based system
   12238   lt_SP2NL='tr \100 \n'
   12239   lt_NL2SP='tr \r\n \100\100'
   12240   ;;
   12241 esac
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12252 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12253 if test ${lt_cv_to_host_file_cmd+y}
   12254 then :
   12255   printf %s "(cached) " >&6
   12256 else $as_nop
   12257   case $host in
   12258   *-*-mingw* )
   12259     case $build in
   12260       *-*-mingw* ) # actually msys
   12261         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12262         ;;
   12263       *-*-cygwin* )
   12264         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12265         ;;
   12266       * ) # otherwise, assume *nix
   12267         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12268         ;;
   12269     esac
   12270     ;;
   12271   *-*-cygwin* )
   12272     case $build in
   12273       *-*-mingw* ) # actually msys
   12274         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12275         ;;
   12276       *-*-cygwin* )
   12277         lt_cv_to_host_file_cmd=func_convert_file_noop
   12278         ;;
   12279       * ) # otherwise, assume *nix
   12280         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12281         ;;
   12282     esac
   12283     ;;
   12284   * ) # unhandled hosts (and "normal" native builds)
   12285     lt_cv_to_host_file_cmd=func_convert_file_noop
   12286     ;;
   12287 esac
   12288 
   12289 fi
   12290 
   12291 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12293 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12300 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12301 if test ${lt_cv_to_tool_file_cmd+y}
   12302 then :
   12303   printf %s "(cached) " >&6
   12304 else $as_nop
   12305   #assume ordinary cross tools, or native build.
   12306 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12307 case $host in
   12308   *-*-mingw* )
   12309     case $build in
   12310       *-*-mingw* ) # actually msys
   12311         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12312         ;;
   12313     esac
   12314     ;;
   12315 esac
   12316 
   12317 fi
   12318 
   12319 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12321 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12328 printf %s "checking for $LD option to reload object files... " >&6; }
   12329 if test ${lt_cv_ld_reload_flag+y}
   12330 then :
   12331   printf %s "(cached) " >&6
   12332 else $as_nop
   12333   lt_cv_ld_reload_flag='-r'
   12334 fi
   12335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12336 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12337 reload_flag=$lt_cv_ld_reload_flag
   12338 case $reload_flag in
   12339 "" | " "*) ;;
   12340 *) reload_flag=" $reload_flag" ;;
   12341 esac
   12342 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12343 case $host_os in
   12344   cygwin* | mingw* | pw32* | cegcc*)
   12345     if test yes != "$GCC"; then
   12346       reload_cmds=false
   12347     fi
   12348     ;;
   12349   darwin*)
   12350     if test yes = "$GCC"; then
   12351       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12352     else
   12353       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12354     fi
   12355     ;;
   12356 esac
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 if test -n "$ac_tool_prefix"; then
   12367   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12368 set dummy ${ac_tool_prefix}file; ac_word=$2
   12369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12370 printf %s "checking for $ac_word... " >&6; }
   12371 if test ${ac_cv_prog_FILECMD+y}
   12372 then :
   12373   printf %s "(cached) " >&6
   12374 else $as_nop
   12375   if test -n "$FILECMD"; then
   12376   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12377 else
   12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12379 for as_dir in $PATH
   12380 do
   12381   IFS=$as_save_IFS
   12382   case $as_dir in #(((
   12383     '') as_dir=./ ;;
   12384     */) ;;
   12385     *) as_dir=$as_dir/ ;;
   12386   esac
   12387     for ac_exec_ext in '' $ac_executable_extensions; do
   12388   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12389     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12390     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12391     break 2
   12392   fi
   12393 done
   12394   done
   12395 IFS=$as_save_IFS
   12396 
   12397 fi
   12398 fi
   12399 FILECMD=$ac_cv_prog_FILECMD
   12400 if test -n "$FILECMD"; then
   12401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12402 printf "%s\n" "$FILECMD" >&6; }
   12403 else
   12404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12405 printf "%s\n" "no" >&6; }
   12406 fi
   12407 
   12408 
   12409 fi
   12410 if test -z "$ac_cv_prog_FILECMD"; then
   12411   ac_ct_FILECMD=$FILECMD
   12412   # Extract the first word of "file", so it can be a program name with args.
   12413 set dummy file; ac_word=$2
   12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12415 printf %s "checking for $ac_word... " >&6; }
   12416 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12417 then :
   12418   printf %s "(cached) " >&6
   12419 else $as_nop
   12420   if test -n "$ac_ct_FILECMD"; then
   12421   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12422 else
   12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12424 for as_dir in $PATH
   12425 do
   12426   IFS=$as_save_IFS
   12427   case $as_dir in #(((
   12428     '') as_dir=./ ;;
   12429     */) ;;
   12430     *) as_dir=$as_dir/ ;;
   12431   esac
   12432     for ac_exec_ext in '' $ac_executable_extensions; do
   12433   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12434     ac_cv_prog_ac_ct_FILECMD="file"
   12435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12436     break 2
   12437   fi
   12438 done
   12439   done
   12440 IFS=$as_save_IFS
   12441 
   12442 fi
   12443 fi
   12444 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12445 if test -n "$ac_ct_FILECMD"; then
   12446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12447 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12448 else
   12449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12450 printf "%s\n" "no" >&6; }
   12451 fi
   12452 
   12453   if test "x$ac_ct_FILECMD" = x; then
   12454     FILECMD=":"
   12455   else
   12456     case $cross_compiling:$ac_tool_warned in
   12457 yes:)
   12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12459 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12460 ac_tool_warned=yes ;;
   12461 esac
   12462     FILECMD=$ac_ct_FILECMD
   12463   fi
   12464 else
   12465   FILECMD="$ac_cv_prog_FILECMD"
   12466 fi
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 if test -n "$ac_tool_prefix"; then
   12475   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12476 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12478 printf %s "checking for $ac_word... " >&6; }
   12479 if test ${ac_cv_prog_OBJDUMP+y}
   12480 then :
   12481   printf %s "(cached) " >&6
   12482 else $as_nop
   12483   if test -n "$OBJDUMP"; then
   12484   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12485 else
   12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12487 for as_dir in $PATH
   12488 do
   12489   IFS=$as_save_IFS
   12490   case $as_dir in #(((
   12491     '') as_dir=./ ;;
   12492     */) ;;
   12493     *) as_dir=$as_dir/ ;;
   12494   esac
   12495     for ac_exec_ext in '' $ac_executable_extensions; do
   12496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12497     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12499     break 2
   12500   fi
   12501 done
   12502   done
   12503 IFS=$as_save_IFS
   12504 
   12505 fi
   12506 fi
   12507 OBJDUMP=$ac_cv_prog_OBJDUMP
   12508 if test -n "$OBJDUMP"; then
   12509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12510 printf "%s\n" "$OBJDUMP" >&6; }
   12511 else
   12512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12513 printf "%s\n" "no" >&6; }
   12514 fi
   12515 
   12516 
   12517 fi
   12518 if test -z "$ac_cv_prog_OBJDUMP"; then
   12519   ac_ct_OBJDUMP=$OBJDUMP
   12520   # Extract the first word of "objdump", so it can be a program name with args.
   12521 set dummy objdump; ac_word=$2
   12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12523 printf %s "checking for $ac_word... " >&6; }
   12524 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12525 then :
   12526   printf %s "(cached) " >&6
   12527 else $as_nop
   12528   if test -n "$ac_ct_OBJDUMP"; then
   12529   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12530 else
   12531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12532 for as_dir in $PATH
   12533 do
   12534   IFS=$as_save_IFS
   12535   case $as_dir in #(((
   12536     '') as_dir=./ ;;
   12537     */) ;;
   12538     *) as_dir=$as_dir/ ;;
   12539   esac
   12540     for ac_exec_ext in '' $ac_executable_extensions; do
   12541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12542     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12544     break 2
   12545   fi
   12546 done
   12547   done
   12548 IFS=$as_save_IFS
   12549 
   12550 fi
   12551 fi
   12552 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12553 if test -n "$ac_ct_OBJDUMP"; then
   12554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12555 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12556 else
   12557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12558 printf "%s\n" "no" >&6; }
   12559 fi
   12560 
   12561   if test "x$ac_ct_OBJDUMP" = x; then
   12562     OBJDUMP="false"
   12563   else
   12564     case $cross_compiling:$ac_tool_warned in
   12565 yes:)
   12566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12567 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12568 ac_tool_warned=yes ;;
   12569 esac
   12570     OBJDUMP=$ac_ct_OBJDUMP
   12571   fi
   12572 else
   12573   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12574 fi
   12575 
   12576 test -z "$OBJDUMP" && OBJDUMP=objdump
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12587 printf %s "checking how to recognize dependent libraries... " >&6; }
   12588 if test ${lt_cv_deplibs_check_method+y}
   12589 then :
   12590   printf %s "(cached) " >&6
   12591 else $as_nop
   12592   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12593 lt_cv_file_magic_test_file=
   12594 lt_cv_deplibs_check_method='unknown'
   12595 # Need to set the preceding variable on all platforms that support
   12596 # interlibrary dependencies.
   12597 # 'none' -- dependencies not supported.
   12598 # 'unknown' -- same as none, but documents that we really don't know.
   12599 # 'pass_all' -- all dependencies passed with no checks.
   12600 # 'test_compile' -- check by making test program.
   12601 # 'file_magic [[regex]]' -- check by looking for files in library path
   12602 # that responds to the $file_magic_cmd with a given extended regex.
   12603 # If you have 'file' or equivalent on your system and you're not sure
   12604 # whether 'pass_all' will *always* work, you probably want this one.
   12605 
   12606 case $host_os in
   12607 aix[4-9]*)
   12608   lt_cv_deplibs_check_method=pass_all
   12609   ;;
   12610 
   12611 beos*)
   12612   lt_cv_deplibs_check_method=pass_all
   12613   ;;
   12614 
   12615 bsdi[45]*)
   12616   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12617   lt_cv_file_magic_cmd='$FILECMD -L'
   12618   lt_cv_file_magic_test_file=/shlib/libc.so
   12619   ;;
   12620 
   12621 cygwin*)
   12622   # func_win32_libid is a shell function defined in ltmain.sh
   12623   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12624   lt_cv_file_magic_cmd='func_win32_libid'
   12625   ;;
   12626 
   12627 mingw* | pw32*)
   12628   # Base MSYS/MinGW do not provide the 'file' command needed by
   12629   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12630   # unless we find 'file', for example because we are cross-compiling.
   12631   if ( file / ) >/dev/null 2>&1; then
   12632     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12633     lt_cv_file_magic_cmd='func_win32_libid'
   12634   else
   12635     # Keep this pattern in sync with the one in func_win32_libid.
   12636     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12637     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12638   fi
   12639   ;;
   12640 
   12641 cegcc*)
   12642   # use the weaker test based on 'objdump'. See mingw*.
   12643   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12644   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12645   ;;
   12646 
   12647 darwin* | rhapsody*)
   12648   lt_cv_deplibs_check_method=pass_all
   12649   ;;
   12650 
   12651 freebsd* | dragonfly* | midnightbsd*)
   12652   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12653     case $host_cpu in
   12654     i*86 )
   12655       # Not sure whether the presence of OpenBSD here was a mistake.
   12656       # Let's accept both of them until this is cleared up.
   12657       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12658       lt_cv_file_magic_cmd=$FILECMD
   12659       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12660       ;;
   12661     esac
   12662   else
   12663     lt_cv_deplibs_check_method=pass_all
   12664   fi
   12665   ;;
   12666 
   12667 haiku*)
   12668   lt_cv_deplibs_check_method=pass_all
   12669   ;;
   12670 
   12671 hpux10.20* | hpux11*)
   12672   lt_cv_file_magic_cmd=$FILECMD
   12673   case $host_cpu in
   12674   ia64*)
   12675     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12676     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12677     ;;
   12678   hppa*64*)
   12679     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]'
   12680     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12681     ;;
   12682   *)
   12683     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12684     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12685     ;;
   12686   esac
   12687   ;;
   12688 
   12689 interix[3-9]*)
   12690   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12691   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12692   ;;
   12693 
   12694 irix5* | irix6* | nonstopux*)
   12695   case $LD in
   12696   *-32|*"-32 ") libmagic=32-bit;;
   12697   *-n32|*"-n32 ") libmagic=N32;;
   12698   *-64|*"-64 ") libmagic=64-bit;;
   12699   *) libmagic=never-match;;
   12700   esac
   12701   lt_cv_deplibs_check_method=pass_all
   12702   ;;
   12703 
   12704 # This must be glibc/ELF.
   12705 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12706   lt_cv_deplibs_check_method=pass_all
   12707   ;;
   12708 
   12709 netbsd*)
   12710   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12711     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12712   else
   12713     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12714   fi
   12715   ;;
   12716 
   12717 newos6*)
   12718   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12719   lt_cv_file_magic_cmd=$FILECMD
   12720   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12721   ;;
   12722 
   12723 *nto* | *qnx*)
   12724   lt_cv_deplibs_check_method=pass_all
   12725   ;;
   12726 
   12727 openbsd* | bitrig*)
   12728   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12729     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12730   else
   12731     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12732   fi
   12733   ;;
   12734 
   12735 osf3* | osf4* | osf5*)
   12736   lt_cv_deplibs_check_method=pass_all
   12737   ;;
   12738 
   12739 rdos*)
   12740   lt_cv_deplibs_check_method=pass_all
   12741   ;;
   12742 
   12743 solaris*)
   12744   lt_cv_deplibs_check_method=pass_all
   12745   ;;
   12746 
   12747 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12748   lt_cv_deplibs_check_method=pass_all
   12749   ;;
   12750 
   12751 sysv4 | sysv4.3*)
   12752   case $host_vendor in
   12753   motorola)
   12754     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]'
   12755     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12756     ;;
   12757   ncr)
   12758     lt_cv_deplibs_check_method=pass_all
   12759     ;;
   12760   sequent)
   12761     lt_cv_file_magic_cmd='/bin/file'
   12762     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12763     ;;
   12764   sni)
   12765     lt_cv_file_magic_cmd='/bin/file'
   12766     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12767     lt_cv_file_magic_test_file=/lib/libc.so
   12768     ;;
   12769   siemens)
   12770     lt_cv_deplibs_check_method=pass_all
   12771     ;;
   12772   pc)
   12773     lt_cv_deplibs_check_method=pass_all
   12774     ;;
   12775   esac
   12776   ;;
   12777 
   12778 tpf*)
   12779   lt_cv_deplibs_check_method=pass_all
   12780   ;;
   12781 os2*)
   12782   lt_cv_deplibs_check_method=pass_all
   12783   ;;
   12784 esac
   12785 
   12786 fi
   12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12788 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12789 
   12790 file_magic_glob=
   12791 want_nocaseglob=no
   12792 if test "$build" = "$host"; then
   12793   case $host_os in
   12794   mingw* | pw32*)
   12795     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12796       want_nocaseglob=yes
   12797     else
   12798       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12799     fi
   12800     ;;
   12801   esac
   12802 fi
   12803 
   12804 file_magic_cmd=$lt_cv_file_magic_cmd
   12805 deplibs_check_method=$lt_cv_deplibs_check_method
   12806 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 if test -n "$ac_tool_prefix"; then
   12830   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12831 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12833 printf %s "checking for $ac_word... " >&6; }
   12834 if test ${ac_cv_prog_DLLTOOL+y}
   12835 then :
   12836   printf %s "(cached) " >&6
   12837 else $as_nop
   12838   if test -n "$DLLTOOL"; then
   12839   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12840 else
   12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12842 for as_dir in $PATH
   12843 do
   12844   IFS=$as_save_IFS
   12845   case $as_dir in #(((
   12846     '') as_dir=./ ;;
   12847     */) ;;
   12848     *) as_dir=$as_dir/ ;;
   12849   esac
   12850     for ac_exec_ext in '' $ac_executable_extensions; do
   12851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12852     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12854     break 2
   12855   fi
   12856 done
   12857   done
   12858 IFS=$as_save_IFS
   12859 
   12860 fi
   12861 fi
   12862 DLLTOOL=$ac_cv_prog_DLLTOOL
   12863 if test -n "$DLLTOOL"; then
   12864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12865 printf "%s\n" "$DLLTOOL" >&6; }
   12866 else
   12867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12868 printf "%s\n" "no" >&6; }
   12869 fi
   12870 
   12871 
   12872 fi
   12873 if test -z "$ac_cv_prog_DLLTOOL"; then
   12874   ac_ct_DLLTOOL=$DLLTOOL
   12875   # Extract the first word of "dlltool", so it can be a program name with args.
   12876 set dummy dlltool; ac_word=$2
   12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12878 printf %s "checking for $ac_word... " >&6; }
   12879 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12880 then :
   12881   printf %s "(cached) " >&6
   12882 else $as_nop
   12883   if test -n "$ac_ct_DLLTOOL"; then
   12884   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12885 else
   12886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12887 for as_dir in $PATH
   12888 do
   12889   IFS=$as_save_IFS
   12890   case $as_dir in #(((
   12891     '') as_dir=./ ;;
   12892     */) ;;
   12893     *) as_dir=$as_dir/ ;;
   12894   esac
   12895     for ac_exec_ext in '' $ac_executable_extensions; do
   12896   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12897     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12898     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12899     break 2
   12900   fi
   12901 done
   12902   done
   12903 IFS=$as_save_IFS
   12904 
   12905 fi
   12906 fi
   12907 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12908 if test -n "$ac_ct_DLLTOOL"; then
   12909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12910 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   12911 else
   12912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12913 printf "%s\n" "no" >&6; }
   12914 fi
   12915 
   12916   if test "x$ac_ct_DLLTOOL" = x; then
   12917     DLLTOOL="false"
   12918   else
   12919     case $cross_compiling:$ac_tool_warned in
   12920 yes:)
   12921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12922 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12923 ac_tool_warned=yes ;;
   12924 esac
   12925     DLLTOOL=$ac_ct_DLLTOOL
   12926   fi
   12927 else
   12928   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12929 fi
   12930 
   12931 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12943 printf %s "checking how to associate runtime and link libraries... " >&6; }
   12944 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   12945 then :
   12946   printf %s "(cached) " >&6
   12947 else $as_nop
   12948   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12949 
   12950 case $host_os in
   12951 cygwin* | mingw* | pw32* | cegcc*)
   12952   # two different shell functions defined in ltmain.sh;
   12953   # decide which one to use based on capabilities of $DLLTOOL
   12954   case `$DLLTOOL --help 2>&1` in
   12955   *--identify-strict*)
   12956     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12957     ;;
   12958   *)
   12959     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12960     ;;
   12961   esac
   12962   ;;
   12963 *)
   12964   # fallback: assume linklib IS sharedlib
   12965   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12966   ;;
   12967 esac
   12968 
   12969 fi
   12970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12971 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12972 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12973 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 if test -n "$ac_tool_prefix"; then
   12982   for ac_prog in ar
   12983   do
   12984     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12987 printf %s "checking for $ac_word... " >&6; }
   12988 if test ${ac_cv_prog_AR+y}
   12989 then :
   12990   printf %s "(cached) " >&6
   12991 else $as_nop
   12992   if test -n "$AR"; then
   12993   ac_cv_prog_AR="$AR" # Let the user override the test.
   12994 else
   12995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12996 for as_dir in $PATH
   12997 do
   12998   IFS=$as_save_IFS
   12999   case $as_dir in #(((
   13000     '') as_dir=./ ;;
   13001     */) ;;
   13002     *) as_dir=$as_dir/ ;;
   13003   esac
   13004     for ac_exec_ext in '' $ac_executable_extensions; do
   13005   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13006     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13007     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13008     break 2
   13009   fi
   13010 done
   13011   done
   13012 IFS=$as_save_IFS
   13013 
   13014 fi
   13015 fi
   13016 AR=$ac_cv_prog_AR
   13017 if test -n "$AR"; then
   13018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13019 printf "%s\n" "$AR" >&6; }
   13020 else
   13021   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13022 printf "%s\n" "no" >&6; }
   13023 fi
   13024 
   13025 
   13026     test -n "$AR" && break
   13027   done
   13028 fi
   13029 if test -z "$AR"; then
   13030   ac_ct_AR=$AR
   13031   for ac_prog in ar
   13032 do
   13033   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13034 set dummy $ac_prog; ac_word=$2
   13035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13036 printf %s "checking for $ac_word... " >&6; }
   13037 if test ${ac_cv_prog_ac_ct_AR+y}
   13038 then :
   13039   printf %s "(cached) " >&6
   13040 else $as_nop
   13041   if test -n "$ac_ct_AR"; then
   13042   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13043 else
   13044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13045 for as_dir in $PATH
   13046 do
   13047   IFS=$as_save_IFS
   13048   case $as_dir in #(((
   13049     '') as_dir=./ ;;
   13050     */) ;;
   13051     *) as_dir=$as_dir/ ;;
   13052   esac
   13053     for ac_exec_ext in '' $ac_executable_extensions; do
   13054   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13055     ac_cv_prog_ac_ct_AR="$ac_prog"
   13056     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13057     break 2
   13058   fi
   13059 done
   13060   done
   13061 IFS=$as_save_IFS
   13062 
   13063 fi
   13064 fi
   13065 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13066 if test -n "$ac_ct_AR"; then
   13067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13068 printf "%s\n" "$ac_ct_AR" >&6; }
   13069 else
   13070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13071 printf "%s\n" "no" >&6; }
   13072 fi
   13073 
   13074 
   13075   test -n "$ac_ct_AR" && break
   13076 done
   13077 
   13078   if test "x$ac_ct_AR" = x; then
   13079     AR="false"
   13080   else
   13081     case $cross_compiling:$ac_tool_warned in
   13082 yes:)
   13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13084 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13085 ac_tool_warned=yes ;;
   13086 esac
   13087     AR=$ac_ct_AR
   13088   fi
   13089 fi
   13090 
   13091 : ${AR=ar}
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13099 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13100 # higher priority because thats what people were doing historically (setting
   13101 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13102 # variable obsoleted/removed.
   13103 
   13104 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13105 lt_ar_flags=$AR_FLAGS
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13113 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13121 printf %s "checking for archiver @FILE support... " >&6; }
   13122 if test ${lt_cv_ar_at_file+y}
   13123 then :
   13124   printf %s "(cached) " >&6
   13125 else $as_nop
   13126   lt_cv_ar_at_file=no
   13127    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13128 /* end confdefs.h.  */
   13129 
   13130 int
   13131 main (void)
   13132 {
   13133 
   13134   ;
   13135   return 0;
   13136 }
   13137 _ACEOF
   13138 if ac_fn_c_try_compile "$LINENO"
   13139 then :
   13140   echo conftest.$ac_objext > conftest.lst
   13141       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13142       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13143   (eval $lt_ar_try) 2>&5
   13144   ac_status=$?
   13145   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13146   test $ac_status = 0; }
   13147       if test 0 -eq "$ac_status"; then
   13148 	# Ensure the archiver fails upon bogus file names.
   13149 	rm -f conftest.$ac_objext libconftest.a
   13150 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13151   (eval $lt_ar_try) 2>&5
   13152   ac_status=$?
   13153   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13154   test $ac_status = 0; }
   13155 	if test 0 -ne "$ac_status"; then
   13156           lt_cv_ar_at_file=@
   13157         fi
   13158       fi
   13159       rm -f conftest.* libconftest.a
   13160 
   13161 fi
   13162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13163 
   13164 fi
   13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13166 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13167 
   13168 if test no = "$lt_cv_ar_at_file"; then
   13169   archiver_list_spec=
   13170 else
   13171   archiver_list_spec=$lt_cv_ar_at_file
   13172 fi
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 if test -n "$ac_tool_prefix"; then
   13181   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13182 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13184 printf %s "checking for $ac_word... " >&6; }
   13185 if test ${ac_cv_prog_STRIP+y}
   13186 then :
   13187   printf %s "(cached) " >&6
   13188 else $as_nop
   13189   if test -n "$STRIP"; then
   13190   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13191 else
   13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13193 for as_dir in $PATH
   13194 do
   13195   IFS=$as_save_IFS
   13196   case $as_dir in #(((
   13197     '') as_dir=./ ;;
   13198     */) ;;
   13199     *) as_dir=$as_dir/ ;;
   13200   esac
   13201     for ac_exec_ext in '' $ac_executable_extensions; do
   13202   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13203     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13204     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13205     break 2
   13206   fi
   13207 done
   13208   done
   13209 IFS=$as_save_IFS
   13210 
   13211 fi
   13212 fi
   13213 STRIP=$ac_cv_prog_STRIP
   13214 if test -n "$STRIP"; then
   13215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13216 printf "%s\n" "$STRIP" >&6; }
   13217 else
   13218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13219 printf "%s\n" "no" >&6; }
   13220 fi
   13221 
   13222 
   13223 fi
   13224 if test -z "$ac_cv_prog_STRIP"; then
   13225   ac_ct_STRIP=$STRIP
   13226   # Extract the first word of "strip", so it can be a program name with args.
   13227 set dummy strip; ac_word=$2
   13228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13229 printf %s "checking for $ac_word... " >&6; }
   13230 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13231 then :
   13232   printf %s "(cached) " >&6
   13233 else $as_nop
   13234   if test -n "$ac_ct_STRIP"; then
   13235   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13236 else
   13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13238 for as_dir in $PATH
   13239 do
   13240   IFS=$as_save_IFS
   13241   case $as_dir in #(((
   13242     '') as_dir=./ ;;
   13243     */) ;;
   13244     *) as_dir=$as_dir/ ;;
   13245   esac
   13246     for ac_exec_ext in '' $ac_executable_extensions; do
   13247   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13248     ac_cv_prog_ac_ct_STRIP="strip"
   13249     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13250     break 2
   13251   fi
   13252 done
   13253   done
   13254 IFS=$as_save_IFS
   13255 
   13256 fi
   13257 fi
   13258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13259 if test -n "$ac_ct_STRIP"; then
   13260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13261 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13262 else
   13263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13264 printf "%s\n" "no" >&6; }
   13265 fi
   13266 
   13267   if test "x$ac_ct_STRIP" = x; then
   13268     STRIP=":"
   13269   else
   13270     case $cross_compiling:$ac_tool_warned in
   13271 yes:)
   13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13273 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13274 ac_tool_warned=yes ;;
   13275 esac
   13276     STRIP=$ac_ct_STRIP
   13277   fi
   13278 else
   13279   STRIP="$ac_cv_prog_STRIP"
   13280 fi
   13281 
   13282 test -z "$STRIP" && STRIP=:
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 if test -n "$ac_tool_prefix"; then
   13290   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13293 printf %s "checking for $ac_word... " >&6; }
   13294 if test ${ac_cv_prog_RANLIB+y}
   13295 then :
   13296   printf %s "(cached) " >&6
   13297 else $as_nop
   13298   if test -n "$RANLIB"; then
   13299   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13300 else
   13301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13302 for as_dir in $PATH
   13303 do
   13304   IFS=$as_save_IFS
   13305   case $as_dir in #(((
   13306     '') as_dir=./ ;;
   13307     */) ;;
   13308     *) as_dir=$as_dir/ ;;
   13309   esac
   13310     for ac_exec_ext in '' $ac_executable_extensions; do
   13311   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13312     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13313     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13314     break 2
   13315   fi
   13316 done
   13317   done
   13318 IFS=$as_save_IFS
   13319 
   13320 fi
   13321 fi
   13322 RANLIB=$ac_cv_prog_RANLIB
   13323 if test -n "$RANLIB"; then
   13324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13325 printf "%s\n" "$RANLIB" >&6; }
   13326 else
   13327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13328 printf "%s\n" "no" >&6; }
   13329 fi
   13330 
   13331 
   13332 fi
   13333 if test -z "$ac_cv_prog_RANLIB"; then
   13334   ac_ct_RANLIB=$RANLIB
   13335   # Extract the first word of "ranlib", so it can be a program name with args.
   13336 set dummy ranlib; ac_word=$2
   13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13338 printf %s "checking for $ac_word... " >&6; }
   13339 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13340 then :
   13341   printf %s "(cached) " >&6
   13342 else $as_nop
   13343   if test -n "$ac_ct_RANLIB"; then
   13344   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13345 else
   13346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13347 for as_dir in $PATH
   13348 do
   13349   IFS=$as_save_IFS
   13350   case $as_dir in #(((
   13351     '') as_dir=./ ;;
   13352     */) ;;
   13353     *) as_dir=$as_dir/ ;;
   13354   esac
   13355     for ac_exec_ext in '' $ac_executable_extensions; do
   13356   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13357     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13358     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13359     break 2
   13360   fi
   13361 done
   13362   done
   13363 IFS=$as_save_IFS
   13364 
   13365 fi
   13366 fi
   13367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13368 if test -n "$ac_ct_RANLIB"; then
   13369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13370 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13371 else
   13372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13373 printf "%s\n" "no" >&6; }
   13374 fi
   13375 
   13376   if test "x$ac_ct_RANLIB" = x; then
   13377     RANLIB=":"
   13378   else
   13379     case $cross_compiling:$ac_tool_warned in
   13380 yes:)
   13381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13382 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13383 ac_tool_warned=yes ;;
   13384 esac
   13385     RANLIB=$ac_ct_RANLIB
   13386   fi
   13387 else
   13388   RANLIB="$ac_cv_prog_RANLIB"
   13389 fi
   13390 
   13391 test -z "$RANLIB" && RANLIB=:
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 # Determine commands to create old-style static archives.
   13399 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13400 old_postinstall_cmds='chmod 644 $oldlib'
   13401 old_postuninstall_cmds=
   13402 
   13403 if test -n "$RANLIB"; then
   13404   case $host_os in
   13405   bitrig* | openbsd*)
   13406     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13407     ;;
   13408   *)
   13409     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13410     ;;
   13411   esac
   13412   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13413 fi
   13414 
   13415 case $host_os in
   13416   darwin*)
   13417     lock_old_archive_extraction=yes ;;
   13418   *)
   13419     lock_old_archive_extraction=no ;;
   13420 esac
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 # If no C compiler was specified, use CC.
   13461 LTCC=${LTCC-"$CC"}
   13462 
   13463 # If no C compiler flags were specified, use CFLAGS.
   13464 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13465 
   13466 # Allow CC to be a program name with arguments.
   13467 compiler=$CC
   13468 
   13469 
   13470 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13472 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13473 if test ${lt_cv_sys_global_symbol_pipe+y}
   13474 then :
   13475   printf %s "(cached) " >&6
   13476 else $as_nop
   13477 
   13478 # These are sane defaults that work on at least a few old systems.
   13479 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13480 
   13481 # Character class describing NM global symbol codes.
   13482 symcode='[BCDEGRST]'
   13483 
   13484 # Regexp to match symbols that can be accessed directly from C.
   13485 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13486 
   13487 # Define system-specific variables.
   13488 case $host_os in
   13489 aix*)
   13490   symcode='[BCDT]'
   13491   ;;
   13492 cygwin* | mingw* | pw32* | cegcc*)
   13493   symcode='[ABCDGISTW]'
   13494   ;;
   13495 hpux*)
   13496   if test ia64 = "$host_cpu"; then
   13497     symcode='[ABCDEGRST]'
   13498   fi
   13499   ;;
   13500 irix* | nonstopux*)
   13501   symcode='[BCDEGRST]'
   13502   ;;
   13503 osf*)
   13504   symcode='[BCDEGQRST]'
   13505   ;;
   13506 solaris*)
   13507   symcode='[BDRT]'
   13508   ;;
   13509 sco3.2v5*)
   13510   symcode='[DT]'
   13511   ;;
   13512 sysv4.2uw2*)
   13513   symcode='[DT]'
   13514   ;;
   13515 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13516   symcode='[ABDT]'
   13517   ;;
   13518 sysv4)
   13519   symcode='[DFNSTU]'
   13520   ;;
   13521 esac
   13522 
   13523 # If we're using GNU nm, then use its standard symbol codes.
   13524 case `$NM -V 2>&1` in
   13525 *GNU* | *'with BFD'*)
   13526   symcode='[ABCDGIRSTW]' ;;
   13527 esac
   13528 
   13529 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13530   # Gets list of data symbols to import.
   13531   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13532   # Adjust the below global symbol transforms to fixup imported variables.
   13533   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13534   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13535   lt_c_name_lib_hook="\
   13536   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13537   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13538 else
   13539   # Disable hooks by default.
   13540   lt_cv_sys_global_symbol_to_import=
   13541   lt_cdecl_hook=
   13542   lt_c_name_hook=
   13543   lt_c_name_lib_hook=
   13544 fi
   13545 
   13546 # Transform an extracted symbol line into a proper C declaration.
   13547 # Some systems (esp. on ia64) link data and code symbols differently,
   13548 # so use this general approach.
   13549 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13550 $lt_cdecl_hook\
   13551 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13552 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13553 
   13554 # Transform an extracted symbol line into symbol name and symbol address
   13555 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13556 $lt_c_name_hook\
   13557 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13558 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13559 
   13560 # Transform an extracted symbol line into symbol name with lib prefix and
   13561 # symbol address.
   13562 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13563 $lt_c_name_lib_hook\
   13564 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13565 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13566 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13567 
   13568 # Handle CRLF in mingw tool chain
   13569 opt_cr=
   13570 case $build_os in
   13571 mingw*)
   13572   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13573   ;;
   13574 esac
   13575 
   13576 # Try without a prefix underscore, then with it.
   13577 for ac_symprfx in "" "_"; do
   13578 
   13579   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13580   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13581 
   13582   # Write the raw and C identifiers.
   13583   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13584     # Fake it for dumpbin and say T for any non-static function,
   13585     # D for any global variable and I for any imported variable.
   13586     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13587     # which start with @ or ?.
   13588     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13589 "     {last_section=section; section=\$ 3};"\
   13590 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13591 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13592 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13593 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13594 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13595 "     \$ 0!~/External *\|/{next};"\
   13596 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13597 "     {if(hide[section]) next};"\
   13598 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13599 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13600 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13601 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13602 "     ' prfx=^$ac_symprfx"
   13603   else
   13604     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13605   fi
   13606   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13607 
   13608   # Check to see that the pipe works correctly.
   13609   pipe_works=no
   13610 
   13611   rm -f conftest*
   13612   cat > conftest.$ac_ext <<_LT_EOF
   13613 #ifdef __cplusplus
   13614 extern "C" {
   13615 #endif
   13616 char nm_test_var;
   13617 void nm_test_func(void);
   13618 void nm_test_func(void){}
   13619 #ifdef __cplusplus
   13620 }
   13621 #endif
   13622 int main(){nm_test_var='a';nm_test_func();return(0);}
   13623 _LT_EOF
   13624 
   13625   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13626   (eval $ac_compile) 2>&5
   13627   ac_status=$?
   13628   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13629   test $ac_status = 0; }; then
   13630     # Now try to grab the symbols.
   13631     nlist=conftest.nm
   13632     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13633   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13634   ac_status=$?
   13635   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13636   test $ac_status = 0; } && test -s "$nlist"; then
   13637       # Try sorting and uniquifying the output.
   13638       if sort "$nlist" | uniq > "$nlist"T; then
   13639 	mv -f "$nlist"T "$nlist"
   13640       else
   13641 	rm -f "$nlist"T
   13642       fi
   13643 
   13644       # Make sure that we snagged all the symbols we need.
   13645       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13646 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13647 	  cat <<_LT_EOF > conftest.$ac_ext
   13648 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13649 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13650 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13651    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13652 # define LT_DLSYM_CONST
   13653 #elif defined __osf__
   13654 /* This system does not cope well with relocations in const data.  */
   13655 # define LT_DLSYM_CONST
   13656 #else
   13657 # define LT_DLSYM_CONST const
   13658 #endif
   13659 
   13660 #ifdef __cplusplus
   13661 extern "C" {
   13662 #endif
   13663 
   13664 _LT_EOF
   13665 	  # Now generate the symbol file.
   13666 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13667 
   13668 	  cat <<_LT_EOF >> conftest.$ac_ext
   13669 
   13670 /* The mapping between symbol names and symbols.  */
   13671 LT_DLSYM_CONST struct {
   13672   const char *name;
   13673   void       *address;
   13674 }
   13675 lt__PROGRAM__LTX_preloaded_symbols[] =
   13676 {
   13677   { "@PROGRAM@", (void *) 0 },
   13678 _LT_EOF
   13679 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13680 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13681   {0, (void *) 0}
   13682 };
   13683 
   13684 /* This works around a problem in FreeBSD linker */
   13685 #ifdef FREEBSD_WORKAROUND
   13686 static const void *lt_preloaded_setup() {
   13687   return lt__PROGRAM__LTX_preloaded_symbols;
   13688 }
   13689 #endif
   13690 
   13691 #ifdef __cplusplus
   13692 }
   13693 #endif
   13694 _LT_EOF
   13695 	  # Now try linking the two files.
   13696 	  mv conftest.$ac_objext conftstm.$ac_objext
   13697 	  lt_globsym_save_LIBS=$LIBS
   13698 	  lt_globsym_save_CFLAGS=$CFLAGS
   13699 	  LIBS=conftstm.$ac_objext
   13700 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13701 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13702   (eval $ac_link) 2>&5
   13703   ac_status=$?
   13704   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13705   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13706 	    pipe_works=yes
   13707 	  fi
   13708 	  LIBS=$lt_globsym_save_LIBS
   13709 	  CFLAGS=$lt_globsym_save_CFLAGS
   13710 	else
   13711 	  echo "cannot find nm_test_func in $nlist" >&5
   13712 	fi
   13713       else
   13714 	echo "cannot find nm_test_var in $nlist" >&5
   13715       fi
   13716     else
   13717       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13718     fi
   13719   else
   13720     echo "$progname: failed program was:" >&5
   13721     cat conftest.$ac_ext >&5
   13722   fi
   13723   rm -rf conftest* conftst*
   13724 
   13725   # Do not use the global_symbol_pipe unless it works.
   13726   if test yes = "$pipe_works"; then
   13727     break
   13728   else
   13729     lt_cv_sys_global_symbol_pipe=
   13730   fi
   13731 done
   13732 
   13733 fi
   13734 
   13735 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13736   lt_cv_sys_global_symbol_to_cdecl=
   13737 fi
   13738 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13740 printf "%s\n" "failed" >&6; }
   13741 else
   13742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13743 printf "%s\n" "ok" >&6; }
   13744 fi
   13745 
   13746 # Response file support.
   13747 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13748   nm_file_list_spec='@'
   13749 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13750   nm_file_list_spec='@'
   13751 fi
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13790 printf %s "checking for sysroot... " >&6; }
   13791 
   13792 # Check whether --with-sysroot was given.
   13793 if test ${with_sysroot+y}
   13794 then :
   13795   withval=$with_sysroot;
   13796 else $as_nop
   13797   with_sysroot=no
   13798 fi
   13799 
   13800 
   13801 lt_sysroot=
   13802 case $with_sysroot in #(
   13803  yes)
   13804    if test yes = "$GCC"; then
   13805      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13806    fi
   13807    ;; #(
   13808  /*)
   13809    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   13810    ;; #(
   13811  no|'')
   13812    ;; #(
   13813  *)
   13814    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13815 printf "%s\n" "$with_sysroot" >&6; }
   13816    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13817    ;;
   13818 esac
   13819 
   13820  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13821 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13828 printf %s "checking for a working dd... " >&6; }
   13829 if test ${ac_cv_path_lt_DD+y}
   13830 then :
   13831   printf %s "(cached) " >&6
   13832 else $as_nop
   13833   printf 0123456789abcdef0123456789abcdef >conftest.i
   13834 cat conftest.i conftest.i >conftest2.i
   13835 : ${lt_DD:=$DD}
   13836 if test -z "$lt_DD"; then
   13837   ac_path_lt_DD_found=false
   13838   # Loop through the user's path and test for each of PROGNAME-LIST
   13839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13840 for as_dir in $PATH
   13841 do
   13842   IFS=$as_save_IFS
   13843   case $as_dir in #(((
   13844     '') as_dir=./ ;;
   13845     */) ;;
   13846     *) as_dir=$as_dir/ ;;
   13847   esac
   13848     for ac_prog in dd
   13849    do
   13850     for ac_exec_ext in '' $ac_executable_extensions; do
   13851       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   13852       as_fn_executable_p "$ac_path_lt_DD" || continue
   13853 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13854   cmp -s conftest.i conftest.out \
   13855   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13856 fi
   13857       $ac_path_lt_DD_found && break 3
   13858     done
   13859   done
   13860   done
   13861 IFS=$as_save_IFS
   13862   if test -z "$ac_cv_path_lt_DD"; then
   13863     :
   13864   fi
   13865 else
   13866   ac_cv_path_lt_DD=$lt_DD
   13867 fi
   13868 
   13869 rm -f conftest.i conftest2.i conftest.out
   13870 fi
   13871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13872 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   13873 
   13874 
   13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13876 printf %s "checking how to truncate binary pipes... " >&6; }
   13877 if test ${lt_cv_truncate_bin+y}
   13878 then :
   13879   printf %s "(cached) " >&6
   13880 else $as_nop
   13881   printf 0123456789abcdef0123456789abcdef >conftest.i
   13882 cat conftest.i conftest.i >conftest2.i
   13883 lt_cv_truncate_bin=
   13884 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13885   cmp -s conftest.i conftest.out \
   13886   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13887 fi
   13888 rm -f conftest.i conftest2.i conftest.out
   13889 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13890 fi
   13891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13892 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13901 func_cc_basename ()
   13902 {
   13903     for cc_temp in $*""; do
   13904       case $cc_temp in
   13905         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13906         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13907         \-*) ;;
   13908         *) break;;
   13909       esac
   13910     done
   13911     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13912 }
   13913 
   13914 # Check whether --enable-libtool-lock was given.
   13915 if test ${enable_libtool_lock+y}
   13916 then :
   13917   enableval=$enable_libtool_lock;
   13918 fi
   13919 
   13920 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13921 
   13922 # Some flags need to be propagated to the compiler or linker for good
   13923 # libtool support.
   13924 case $host in
   13925 ia64-*-hpux*)
   13926   # Find out what ABI is being produced by ac_compile, and set mode
   13927   # options accordingly.
   13928   echo 'int i;' > conftest.$ac_ext
   13929   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13930   (eval $ac_compile) 2>&5
   13931   ac_status=$?
   13932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13933   test $ac_status = 0; }; then
   13934     case `$FILECMD conftest.$ac_objext` in
   13935       *ELF-32*)
   13936 	HPUX_IA64_MODE=32
   13937 	;;
   13938       *ELF-64*)
   13939 	HPUX_IA64_MODE=64
   13940 	;;
   13941     esac
   13942   fi
   13943   rm -rf conftest*
   13944   ;;
   13945 *-*-irix6*)
   13946   # Find out what ABI is being produced by ac_compile, and set linker
   13947   # options accordingly.
   13948   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13949   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13950   (eval $ac_compile) 2>&5
   13951   ac_status=$?
   13952   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13953   test $ac_status = 0; }; then
   13954     if test yes = "$lt_cv_prog_gnu_ld"; then
   13955       case `$FILECMD conftest.$ac_objext` in
   13956 	*32-bit*)
   13957 	  LD="${LD-ld} -melf32bsmip"
   13958 	  ;;
   13959 	*N32*)
   13960 	  LD="${LD-ld} -melf32bmipn32"
   13961 	  ;;
   13962 	*64-bit*)
   13963 	  LD="${LD-ld} -melf64bmip"
   13964 	;;
   13965       esac
   13966     else
   13967       case `$FILECMD conftest.$ac_objext` in
   13968 	*32-bit*)
   13969 	  LD="${LD-ld} -32"
   13970 	  ;;
   13971 	*N32*)
   13972 	  LD="${LD-ld} -n32"
   13973 	  ;;
   13974 	*64-bit*)
   13975 	  LD="${LD-ld} -64"
   13976 	  ;;
   13977       esac
   13978     fi
   13979   fi
   13980   rm -rf conftest*
   13981   ;;
   13982 
   13983 mips64*-*linux*)
   13984   # Find out what ABI is being produced by ac_compile, and set linker
   13985   # options accordingly.
   13986   echo '#line '$LINENO' "configure"' > 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     emul=elf
   13993     case `$FILECMD conftest.$ac_objext` in
   13994       *32-bit*)
   13995 	emul="${emul}32"
   13996 	;;
   13997       *64-bit*)
   13998 	emul="${emul}64"
   13999 	;;
   14000     esac
   14001     case `$FILECMD conftest.$ac_objext` in
   14002       *MSB*)
   14003 	emul="${emul}btsmip"
   14004 	;;
   14005       *LSB*)
   14006 	emul="${emul}ltsmip"
   14007 	;;
   14008     esac
   14009     case `$FILECMD conftest.$ac_objext` in
   14010       *N32*)
   14011 	emul="${emul}n32"
   14012 	;;
   14013     esac
   14014     LD="${LD-ld} -m $emul"
   14015   fi
   14016   rm -rf conftest*
   14017   ;;
   14018 
   14019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14021   # Find out what ABI is being produced by ac_compile, and set linker
   14022   # options accordingly.  Note that the listed cases only cover the
   14023   # situations where additional linker options are needed (such as when
   14024   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14025   # vice versa); the common cases where no linker options are needed do
   14026   # not appear in the list.
   14027   echo 'int i;' > conftest.$ac_ext
   14028   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14029   (eval $ac_compile) 2>&5
   14030   ac_status=$?
   14031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14032   test $ac_status = 0; }; then
   14033     case `$FILECMD conftest.o` in
   14034       *32-bit*)
   14035 	case $host in
   14036 	  x86_64-*kfreebsd*-gnu)
   14037 	    LD="${LD-ld} -m elf_i386_fbsd"
   14038 	    ;;
   14039 	  x86_64-*linux*)
   14040 	    case `$FILECMD conftest.o` in
   14041 	      *x86-64*)
   14042 		LD="${LD-ld} -m elf32_x86_64"
   14043 		;;
   14044 	      *)
   14045 		LD="${LD-ld} -m elf_i386"
   14046 		;;
   14047 	    esac
   14048 	    ;;
   14049 	  powerpc64le-*linux*)
   14050 	    LD="${LD-ld} -m elf32lppclinux"
   14051 	    ;;
   14052 	  powerpc64-*linux*)
   14053 	    LD="${LD-ld} -m elf32ppclinux"
   14054 	    ;;
   14055 	  s390x-*linux*)
   14056 	    LD="${LD-ld} -m elf_s390"
   14057 	    ;;
   14058 	  sparc64-*linux*)
   14059 	    LD="${LD-ld} -m elf32_sparc"
   14060 	    ;;
   14061 	esac
   14062 	;;
   14063       *64-bit*)
   14064 	case $host in
   14065 	  x86_64-*kfreebsd*-gnu)
   14066 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14067 	    ;;
   14068 	  x86_64-*linux*)
   14069 	    LD="${LD-ld} -m elf_x86_64"
   14070 	    ;;
   14071 	  powerpcle-*linux*)
   14072 	    LD="${LD-ld} -m elf64lppc"
   14073 	    ;;
   14074 	  powerpc-*linux*)
   14075 	    LD="${LD-ld} -m elf64ppc"
   14076 	    ;;
   14077 	  s390*-*linux*|s390*-*tpf*)
   14078 	    LD="${LD-ld} -m elf64_s390"
   14079 	    ;;
   14080 	  sparc*-*linux*)
   14081 	    LD="${LD-ld} -m elf64_sparc"
   14082 	    ;;
   14083 	esac
   14084 	;;
   14085     esac
   14086   fi
   14087   rm -rf conftest*
   14088   ;;
   14089 
   14090 *-*-sco3.2v5*)
   14091   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14092   SAVE_CFLAGS=$CFLAGS
   14093   CFLAGS="$CFLAGS -belf"
   14094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14095 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14096 if test ${lt_cv_cc_needs_belf+y}
   14097 then :
   14098   printf %s "(cached) " >&6
   14099 else $as_nop
   14100   ac_ext=c
   14101 ac_cpp='$CPP $CPPFLAGS'
   14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14105 
   14106      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14107 /* end confdefs.h.  */
   14108 
   14109 int
   14110 main (void)
   14111 {
   14112 
   14113   ;
   14114   return 0;
   14115 }
   14116 _ACEOF
   14117 if ac_fn_c_try_link "$LINENO"
   14118 then :
   14119   lt_cv_cc_needs_belf=yes
   14120 else $as_nop
   14121   lt_cv_cc_needs_belf=no
   14122 fi
   14123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14124     conftest$ac_exeext conftest.$ac_ext
   14125      ac_ext=c
   14126 ac_cpp='$CPP $CPPFLAGS'
   14127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14130 
   14131 fi
   14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14133 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14134   if test yes != "$lt_cv_cc_needs_belf"; then
   14135     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14136     CFLAGS=$SAVE_CFLAGS
   14137   fi
   14138   ;;
   14139 *-*solaris*)
   14140   # Find out what ABI is being produced by ac_compile, and set linker
   14141   # options accordingly.
   14142   echo 'int i;' > conftest.$ac_ext
   14143   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14144   (eval $ac_compile) 2>&5
   14145   ac_status=$?
   14146   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14147   test $ac_status = 0; }; then
   14148     case `$FILECMD conftest.o` in
   14149     *64-bit*)
   14150       case $lt_cv_prog_gnu_ld in
   14151       yes*)
   14152         case $host in
   14153         i?86-*-solaris*|x86_64-*-solaris*)
   14154           LD="${LD-ld} -m elf_x86_64"
   14155           ;;
   14156         sparc*-*-solaris*)
   14157           LD="${LD-ld} -m elf64_sparc"
   14158           ;;
   14159         esac
   14160         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14161         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14162           LD=${LD-ld}_sol2
   14163         fi
   14164         ;;
   14165       *)
   14166 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14167 	  LD="${LD-ld} -64"
   14168 	fi
   14169 	;;
   14170       esac
   14171       ;;
   14172     esac
   14173   fi
   14174   rm -rf conftest*
   14175   ;;
   14176 esac
   14177 
   14178 need_locks=$enable_libtool_lock
   14179 
   14180 if test -n "$ac_tool_prefix"; then
   14181   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14182 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14184 printf %s "checking for $ac_word... " >&6; }
   14185 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14186 then :
   14187   printf %s "(cached) " >&6
   14188 else $as_nop
   14189   if test -n "$MANIFEST_TOOL"; then
   14190   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14191 else
   14192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14193 for as_dir in $PATH
   14194 do
   14195   IFS=$as_save_IFS
   14196   case $as_dir in #(((
   14197     '') as_dir=./ ;;
   14198     */) ;;
   14199     *) as_dir=$as_dir/ ;;
   14200   esac
   14201     for ac_exec_ext in '' $ac_executable_extensions; do
   14202   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14203     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14204     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14205     break 2
   14206   fi
   14207 done
   14208   done
   14209 IFS=$as_save_IFS
   14210 
   14211 fi
   14212 fi
   14213 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14214 if test -n "$MANIFEST_TOOL"; then
   14215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14216 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14217 else
   14218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14219 printf "%s\n" "no" >&6; }
   14220 fi
   14221 
   14222 
   14223 fi
   14224 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14225   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14226   # Extract the first word of "mt", so it can be a program name with args.
   14227 set dummy mt; ac_word=$2
   14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14229 printf %s "checking for $ac_word... " >&6; }
   14230 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14231 then :
   14232   printf %s "(cached) " >&6
   14233 else $as_nop
   14234   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14235   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14236 else
   14237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14238 for as_dir in $PATH
   14239 do
   14240   IFS=$as_save_IFS
   14241   case $as_dir in #(((
   14242     '') as_dir=./ ;;
   14243     */) ;;
   14244     *) as_dir=$as_dir/ ;;
   14245   esac
   14246     for ac_exec_ext in '' $ac_executable_extensions; do
   14247   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14248     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14249     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14250     break 2
   14251   fi
   14252 done
   14253   done
   14254 IFS=$as_save_IFS
   14255 
   14256 fi
   14257 fi
   14258 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14259 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14261 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14262 else
   14263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14264 printf "%s\n" "no" >&6; }
   14265 fi
   14266 
   14267   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14268     MANIFEST_TOOL=":"
   14269   else
   14270     case $cross_compiling:$ac_tool_warned in
   14271 yes:)
   14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14273 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14274 ac_tool_warned=yes ;;
   14275 esac
   14276     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14277   fi
   14278 else
   14279   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14280 fi
   14281 
   14282 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14284 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14285 if test ${lt_cv_path_mainfest_tool+y}
   14286 then :
   14287   printf %s "(cached) " >&6
   14288 else $as_nop
   14289   lt_cv_path_mainfest_tool=no
   14290   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14291   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14292   cat conftest.err >&5
   14293   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14294     lt_cv_path_mainfest_tool=yes
   14295   fi
   14296   rm -f conftest*
   14297 fi
   14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14299 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14300 if test yes != "$lt_cv_path_mainfest_tool"; then
   14301   MANIFEST_TOOL=:
   14302 fi
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309   case $host_os in
   14310     rhapsody* | darwin*)
   14311     if test -n "$ac_tool_prefix"; then
   14312   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14313 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14315 printf %s "checking for $ac_word... " >&6; }
   14316 if test ${ac_cv_prog_DSYMUTIL+y}
   14317 then :
   14318   printf %s "(cached) " >&6
   14319 else $as_nop
   14320   if test -n "$DSYMUTIL"; then
   14321   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14322 else
   14323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14324 for as_dir in $PATH
   14325 do
   14326   IFS=$as_save_IFS
   14327   case $as_dir in #(((
   14328     '') as_dir=./ ;;
   14329     */) ;;
   14330     *) as_dir=$as_dir/ ;;
   14331   esac
   14332     for ac_exec_ext in '' $ac_executable_extensions; do
   14333   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14334     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14335     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14336     break 2
   14337   fi
   14338 done
   14339   done
   14340 IFS=$as_save_IFS
   14341 
   14342 fi
   14343 fi
   14344 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14345 if test -n "$DSYMUTIL"; then
   14346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14347 printf "%s\n" "$DSYMUTIL" >&6; }
   14348 else
   14349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14350 printf "%s\n" "no" >&6; }
   14351 fi
   14352 
   14353 
   14354 fi
   14355 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14356   ac_ct_DSYMUTIL=$DSYMUTIL
   14357   # Extract the first word of "dsymutil", so it can be a program name with args.
   14358 set dummy dsymutil; ac_word=$2
   14359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14360 printf %s "checking for $ac_word... " >&6; }
   14361 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14362 then :
   14363   printf %s "(cached) " >&6
   14364 else $as_nop
   14365   if test -n "$ac_ct_DSYMUTIL"; then
   14366   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14367 else
   14368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14369 for as_dir in $PATH
   14370 do
   14371   IFS=$as_save_IFS
   14372   case $as_dir in #(((
   14373     '') as_dir=./ ;;
   14374     */) ;;
   14375     *) as_dir=$as_dir/ ;;
   14376   esac
   14377     for ac_exec_ext in '' $ac_executable_extensions; do
   14378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14379     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14381     break 2
   14382   fi
   14383 done
   14384   done
   14385 IFS=$as_save_IFS
   14386 
   14387 fi
   14388 fi
   14389 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14390 if test -n "$ac_ct_DSYMUTIL"; then
   14391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14392 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14393 else
   14394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14395 printf "%s\n" "no" >&6; }
   14396 fi
   14397 
   14398   if test "x$ac_ct_DSYMUTIL" = x; then
   14399     DSYMUTIL=":"
   14400   else
   14401     case $cross_compiling:$ac_tool_warned in
   14402 yes:)
   14403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14404 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14405 ac_tool_warned=yes ;;
   14406 esac
   14407     DSYMUTIL=$ac_ct_DSYMUTIL
   14408   fi
   14409 else
   14410   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14411 fi
   14412 
   14413     if test -n "$ac_tool_prefix"; then
   14414   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14415 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14417 printf %s "checking for $ac_word... " >&6; }
   14418 if test ${ac_cv_prog_NMEDIT+y}
   14419 then :
   14420   printf %s "(cached) " >&6
   14421 else $as_nop
   14422   if test -n "$NMEDIT"; then
   14423   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14424 else
   14425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14426 for as_dir in $PATH
   14427 do
   14428   IFS=$as_save_IFS
   14429   case $as_dir in #(((
   14430     '') as_dir=./ ;;
   14431     */) ;;
   14432     *) as_dir=$as_dir/ ;;
   14433   esac
   14434     for ac_exec_ext in '' $ac_executable_extensions; do
   14435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14436     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14438     break 2
   14439   fi
   14440 done
   14441   done
   14442 IFS=$as_save_IFS
   14443 
   14444 fi
   14445 fi
   14446 NMEDIT=$ac_cv_prog_NMEDIT
   14447 if test -n "$NMEDIT"; then
   14448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14449 printf "%s\n" "$NMEDIT" >&6; }
   14450 else
   14451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14452 printf "%s\n" "no" >&6; }
   14453 fi
   14454 
   14455 
   14456 fi
   14457 if test -z "$ac_cv_prog_NMEDIT"; then
   14458   ac_ct_NMEDIT=$NMEDIT
   14459   # Extract the first word of "nmedit", so it can be a program name with args.
   14460 set dummy nmedit; ac_word=$2
   14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14462 printf %s "checking for $ac_word... " >&6; }
   14463 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14464 then :
   14465   printf %s "(cached) " >&6
   14466 else $as_nop
   14467   if test -n "$ac_ct_NMEDIT"; then
   14468   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14469 else
   14470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14471 for as_dir in $PATH
   14472 do
   14473   IFS=$as_save_IFS
   14474   case $as_dir in #(((
   14475     '') as_dir=./ ;;
   14476     */) ;;
   14477     *) as_dir=$as_dir/ ;;
   14478   esac
   14479     for ac_exec_ext in '' $ac_executable_extensions; do
   14480   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14481     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14482     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14483     break 2
   14484   fi
   14485 done
   14486   done
   14487 IFS=$as_save_IFS
   14488 
   14489 fi
   14490 fi
   14491 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14492 if test -n "$ac_ct_NMEDIT"; then
   14493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14494 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14495 else
   14496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14497 printf "%s\n" "no" >&6; }
   14498 fi
   14499 
   14500   if test "x$ac_ct_NMEDIT" = x; then
   14501     NMEDIT=":"
   14502   else
   14503     case $cross_compiling:$ac_tool_warned in
   14504 yes:)
   14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14506 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14507 ac_tool_warned=yes ;;
   14508 esac
   14509     NMEDIT=$ac_ct_NMEDIT
   14510   fi
   14511 else
   14512   NMEDIT="$ac_cv_prog_NMEDIT"
   14513 fi
   14514 
   14515     if test -n "$ac_tool_prefix"; then
   14516   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14517 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14519 printf %s "checking for $ac_word... " >&6; }
   14520 if test ${ac_cv_prog_LIPO+y}
   14521 then :
   14522   printf %s "(cached) " >&6
   14523 else $as_nop
   14524   if test -n "$LIPO"; then
   14525   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14526 else
   14527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14528 for as_dir in $PATH
   14529 do
   14530   IFS=$as_save_IFS
   14531   case $as_dir in #(((
   14532     '') as_dir=./ ;;
   14533     */) ;;
   14534     *) as_dir=$as_dir/ ;;
   14535   esac
   14536     for ac_exec_ext in '' $ac_executable_extensions; do
   14537   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14538     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14539     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14540     break 2
   14541   fi
   14542 done
   14543   done
   14544 IFS=$as_save_IFS
   14545 
   14546 fi
   14547 fi
   14548 LIPO=$ac_cv_prog_LIPO
   14549 if test -n "$LIPO"; then
   14550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14551 printf "%s\n" "$LIPO" >&6; }
   14552 else
   14553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14554 printf "%s\n" "no" >&6; }
   14555 fi
   14556 
   14557 
   14558 fi
   14559 if test -z "$ac_cv_prog_LIPO"; then
   14560   ac_ct_LIPO=$LIPO
   14561   # Extract the first word of "lipo", so it can be a program name with args.
   14562 set dummy lipo; ac_word=$2
   14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14564 printf %s "checking for $ac_word... " >&6; }
   14565 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14566 then :
   14567   printf %s "(cached) " >&6
   14568 else $as_nop
   14569   if test -n "$ac_ct_LIPO"; then
   14570   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14571 else
   14572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14573 for as_dir in $PATH
   14574 do
   14575   IFS=$as_save_IFS
   14576   case $as_dir in #(((
   14577     '') as_dir=./ ;;
   14578     */) ;;
   14579     *) as_dir=$as_dir/ ;;
   14580   esac
   14581     for ac_exec_ext in '' $ac_executable_extensions; do
   14582   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14583     ac_cv_prog_ac_ct_LIPO="lipo"
   14584     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14585     break 2
   14586   fi
   14587 done
   14588   done
   14589 IFS=$as_save_IFS
   14590 
   14591 fi
   14592 fi
   14593 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14594 if test -n "$ac_ct_LIPO"; then
   14595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14596 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14597 else
   14598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14599 printf "%s\n" "no" >&6; }
   14600 fi
   14601 
   14602   if test "x$ac_ct_LIPO" = x; then
   14603     LIPO=":"
   14604   else
   14605     case $cross_compiling:$ac_tool_warned in
   14606 yes:)
   14607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14608 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14609 ac_tool_warned=yes ;;
   14610 esac
   14611     LIPO=$ac_ct_LIPO
   14612   fi
   14613 else
   14614   LIPO="$ac_cv_prog_LIPO"
   14615 fi
   14616 
   14617     if test -n "$ac_tool_prefix"; then
   14618   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14619 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14621 printf %s "checking for $ac_word... " >&6; }
   14622 if test ${ac_cv_prog_OTOOL+y}
   14623 then :
   14624   printf %s "(cached) " >&6
   14625 else $as_nop
   14626   if test -n "$OTOOL"; then
   14627   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14628 else
   14629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14630 for as_dir in $PATH
   14631 do
   14632   IFS=$as_save_IFS
   14633   case $as_dir in #(((
   14634     '') as_dir=./ ;;
   14635     */) ;;
   14636     *) as_dir=$as_dir/ ;;
   14637   esac
   14638     for ac_exec_ext in '' $ac_executable_extensions; do
   14639   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14640     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14641     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14642     break 2
   14643   fi
   14644 done
   14645   done
   14646 IFS=$as_save_IFS
   14647 
   14648 fi
   14649 fi
   14650 OTOOL=$ac_cv_prog_OTOOL
   14651 if test -n "$OTOOL"; then
   14652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14653 printf "%s\n" "$OTOOL" >&6; }
   14654 else
   14655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14656 printf "%s\n" "no" >&6; }
   14657 fi
   14658 
   14659 
   14660 fi
   14661 if test -z "$ac_cv_prog_OTOOL"; then
   14662   ac_ct_OTOOL=$OTOOL
   14663   # Extract the first word of "otool", so it can be a program name with args.
   14664 set dummy otool; ac_word=$2
   14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14666 printf %s "checking for $ac_word... " >&6; }
   14667 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14668 then :
   14669   printf %s "(cached) " >&6
   14670 else $as_nop
   14671   if test -n "$ac_ct_OTOOL"; then
   14672   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14673 else
   14674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14675 for as_dir in $PATH
   14676 do
   14677   IFS=$as_save_IFS
   14678   case $as_dir in #(((
   14679     '') as_dir=./ ;;
   14680     */) ;;
   14681     *) as_dir=$as_dir/ ;;
   14682   esac
   14683     for ac_exec_ext in '' $ac_executable_extensions; do
   14684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14685     ac_cv_prog_ac_ct_OTOOL="otool"
   14686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14687     break 2
   14688   fi
   14689 done
   14690   done
   14691 IFS=$as_save_IFS
   14692 
   14693 fi
   14694 fi
   14695 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14696 if test -n "$ac_ct_OTOOL"; then
   14697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14698 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   14699 else
   14700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14701 printf "%s\n" "no" >&6; }
   14702 fi
   14703 
   14704   if test "x$ac_ct_OTOOL" = x; then
   14705     OTOOL=":"
   14706   else
   14707     case $cross_compiling:$ac_tool_warned in
   14708 yes:)
   14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14711 ac_tool_warned=yes ;;
   14712 esac
   14713     OTOOL=$ac_ct_OTOOL
   14714   fi
   14715 else
   14716   OTOOL="$ac_cv_prog_OTOOL"
   14717 fi
   14718 
   14719     if test -n "$ac_tool_prefix"; then
   14720   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14721 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14723 printf %s "checking for $ac_word... " >&6; }
   14724 if test ${ac_cv_prog_OTOOL64+y}
   14725 then :
   14726   printf %s "(cached) " >&6
   14727 else $as_nop
   14728   if test -n "$OTOOL64"; then
   14729   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14730 else
   14731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14732 for as_dir in $PATH
   14733 do
   14734   IFS=$as_save_IFS
   14735   case $as_dir in #(((
   14736     '') as_dir=./ ;;
   14737     */) ;;
   14738     *) as_dir=$as_dir/ ;;
   14739   esac
   14740     for ac_exec_ext in '' $ac_executable_extensions; do
   14741   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14742     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14743     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14744     break 2
   14745   fi
   14746 done
   14747   done
   14748 IFS=$as_save_IFS
   14749 
   14750 fi
   14751 fi
   14752 OTOOL64=$ac_cv_prog_OTOOL64
   14753 if test -n "$OTOOL64"; then
   14754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14755 printf "%s\n" "$OTOOL64" >&6; }
   14756 else
   14757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14758 printf "%s\n" "no" >&6; }
   14759 fi
   14760 
   14761 
   14762 fi
   14763 if test -z "$ac_cv_prog_OTOOL64"; then
   14764   ac_ct_OTOOL64=$OTOOL64
   14765   # Extract the first word of "otool64", so it can be a program name with args.
   14766 set dummy otool64; ac_word=$2
   14767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14768 printf %s "checking for $ac_word... " >&6; }
   14769 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   14770 then :
   14771   printf %s "(cached) " >&6
   14772 else $as_nop
   14773   if test -n "$ac_ct_OTOOL64"; then
   14774   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14775 else
   14776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14777 for as_dir in $PATH
   14778 do
   14779   IFS=$as_save_IFS
   14780   case $as_dir in #(((
   14781     '') as_dir=./ ;;
   14782     */) ;;
   14783     *) as_dir=$as_dir/ ;;
   14784   esac
   14785     for ac_exec_ext in '' $ac_executable_extensions; do
   14786   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14787     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14788     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14789     break 2
   14790   fi
   14791 done
   14792   done
   14793 IFS=$as_save_IFS
   14794 
   14795 fi
   14796 fi
   14797 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14798 if test -n "$ac_ct_OTOOL64"; then
   14799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14800 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   14801 else
   14802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14803 printf "%s\n" "no" >&6; }
   14804 fi
   14805 
   14806   if test "x$ac_ct_OTOOL64" = x; then
   14807     OTOOL64=":"
   14808   else
   14809     case $cross_compiling:$ac_tool_warned in
   14810 yes:)
   14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14812 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14813 ac_tool_warned=yes ;;
   14814 esac
   14815     OTOOL64=$ac_ct_OTOOL64
   14816   fi
   14817 else
   14818   OTOOL64="$ac_cv_prog_OTOOL64"
   14819 fi
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14848 printf %s "checking for -single_module linker flag... " >&6; }
   14849 if test ${lt_cv_apple_cc_single_mod+y}
   14850 then :
   14851   printf %s "(cached) " >&6
   14852 else $as_nop
   14853   lt_cv_apple_cc_single_mod=no
   14854       if test -z "$LT_MULTI_MODULE"; then
   14855 	# By default we will add the -single_module flag. You can override
   14856 	# by either setting the environment variable LT_MULTI_MODULE
   14857 	# non-empty at configure time, or by adding -multi_module to the
   14858 	# link flags.
   14859 	rm -rf libconftest.dylib*
   14860 	echo "int foo(void){return 1;}" > conftest.c
   14861 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14862 -dynamiclib -Wl,-single_module conftest.c" >&5
   14863 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14864 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14865         _lt_result=$?
   14866 	# If there is a non-empty error log, and "single_module"
   14867 	# appears in it, assume the flag caused a linker warning
   14868         if test -s conftest.err && $GREP single_module conftest.err; then
   14869 	  cat conftest.err >&5
   14870 	# Otherwise, if the output was created with a 0 exit code from
   14871 	# the compiler, it worked.
   14872 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14873 	  lt_cv_apple_cc_single_mod=yes
   14874 	else
   14875 	  cat conftest.err >&5
   14876 	fi
   14877 	rm -rf libconftest.dylib*
   14878 	rm -f conftest.*
   14879       fi
   14880 fi
   14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14882 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   14883 
   14884     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14885 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   14886 if test ${lt_cv_ld_exported_symbols_list+y}
   14887 then :
   14888   printf %s "(cached) " >&6
   14889 else $as_nop
   14890   lt_cv_ld_exported_symbols_list=no
   14891       save_LDFLAGS=$LDFLAGS
   14892       echo "_main" > conftest.sym
   14893       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14895 /* end confdefs.h.  */
   14896 
   14897 int
   14898 main (void)
   14899 {
   14900 
   14901   ;
   14902   return 0;
   14903 }
   14904 _ACEOF
   14905 if ac_fn_c_try_link "$LINENO"
   14906 then :
   14907   lt_cv_ld_exported_symbols_list=yes
   14908 else $as_nop
   14909   lt_cv_ld_exported_symbols_list=no
   14910 fi
   14911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14912     conftest$ac_exeext conftest.$ac_ext
   14913 	LDFLAGS=$save_LDFLAGS
   14914 
   14915 fi
   14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14917 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   14918 
   14919     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14920 printf %s "checking for -force_load linker flag... " >&6; }
   14921 if test ${lt_cv_ld_force_load+y}
   14922 then :
   14923   printf %s "(cached) " >&6
   14924 else $as_nop
   14925   lt_cv_ld_force_load=no
   14926       cat > conftest.c << _LT_EOF
   14927 int forced_loaded() { return 2;}
   14928 _LT_EOF
   14929       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14930       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14931       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   14932       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   14933       echo "$RANLIB libconftest.a" >&5
   14934       $RANLIB libconftest.a 2>&5
   14935       cat > conftest.c << _LT_EOF
   14936 int main() { return 0;}
   14937 _LT_EOF
   14938       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14939       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14940       _lt_result=$?
   14941       if test -s conftest.err && $GREP force_load conftest.err; then
   14942 	cat conftest.err >&5
   14943       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14944 	lt_cv_ld_force_load=yes
   14945       else
   14946 	cat conftest.err >&5
   14947       fi
   14948         rm -f conftest.err libconftest.a conftest conftest.c
   14949         rm -rf conftest.dSYM
   14950 
   14951 fi
   14952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14953 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   14954     case $host_os in
   14955     rhapsody* | darwin1.[012])
   14956       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14957     darwin1.*)
   14958       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14959     darwin*)
   14960       case $MACOSX_DEPLOYMENT_TARGET,$host in
   14961         10.[012],*|,*powerpc*-darwin[5-8]*)
   14962           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14963         *)
   14964           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14965       esac
   14966     ;;
   14967   esac
   14968     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14969       _lt_dar_single_mod='$single_module'
   14970     fi
   14971     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14972       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14973     else
   14974       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14975     fi
   14976     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14977       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14978     else
   14979       _lt_dsymutil=
   14980     fi
   14981     ;;
   14982   esac
   14983 
   14984 # func_munge_path_list VARIABLE PATH
   14985 # -----------------------------------
   14986 # VARIABLE is name of variable containing _space_ separated list of
   14987 # directories to be munged by the contents of PATH, which is string
   14988 # having a format:
   14989 # "DIR[:DIR]:"
   14990 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14991 # ":DIR[:DIR]"
   14992 #       string "DIR[ DIR]" will be appended to VARIABLE
   14993 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14994 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14995 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14996 # "DIR[:DIR]"
   14997 #       VARIABLE will be replaced by "DIR[ DIR]"
   14998 func_munge_path_list ()
   14999 {
   15000     case x$2 in
   15001     x)
   15002         ;;
   15003     *:)
   15004         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15005         ;;
   15006     x:*)
   15007         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15008         ;;
   15009     *::*)
   15010         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15011         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15012         ;;
   15013     *)
   15014         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15015         ;;
   15016     esac
   15017 }
   15018 
   15019 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15020 "
   15021 if test "x$ac_cv_header_dlfcn_h" = xyes
   15022 then :
   15023   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15024 
   15025 fi
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 # Set options
   15032 
   15033 
   15034 
   15035         enable_dlopen=no
   15036 
   15037 
   15038   enable_win32_dll=no
   15039 
   15040 
   15041             # Check whether --enable-shared was given.
   15042 if test ${enable_shared+y}
   15043 then :
   15044   enableval=$enable_shared; p=${PACKAGE-default}
   15045     case $enableval in
   15046     yes) enable_shared=yes ;;
   15047     no) enable_shared=no ;;
   15048     *)
   15049       enable_shared=no
   15050       # Look at the argument we got.  We use all the common list separators.
   15051       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15052       for pkg in $enableval; do
   15053 	IFS=$lt_save_ifs
   15054 	if test "X$pkg" = "X$p"; then
   15055 	  enable_shared=yes
   15056 	fi
   15057       done
   15058       IFS=$lt_save_ifs
   15059       ;;
   15060     esac
   15061 else $as_nop
   15062   enable_shared=yes
   15063 fi
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 # Check whether --with-pic was given.
   15076 if test ${with_pic+y}
   15077 then :
   15078   withval=$with_pic; lt_p=${PACKAGE-default}
   15079     case $withval in
   15080     yes|no) pic_mode=$withval ;;
   15081     *)
   15082       pic_mode=default
   15083       # Look at the argument we got.  We use all the common list separators.
   15084       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15085       for lt_pkg in $withval; do
   15086 	IFS=$lt_save_ifs
   15087 	if test "X$lt_pkg" = "X$lt_p"; then
   15088 	  pic_mode=yes
   15089 	fi
   15090       done
   15091       IFS=$lt_save_ifs
   15092       ;;
   15093     esac
   15094 else $as_nop
   15095   pic_mode=default
   15096 fi
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105   # Check whether --enable-fast-install was given.
   15106 if test ${enable_fast_install+y}
   15107 then :
   15108   enableval=$enable_fast_install; p=${PACKAGE-default}
   15109     case $enableval in
   15110     yes) enable_fast_install=yes ;;
   15111     no) enable_fast_install=no ;;
   15112     *)
   15113       enable_fast_install=no
   15114       # Look at the argument we got.  We use all the common list separators.
   15115       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15116       for pkg in $enableval; do
   15117 	IFS=$lt_save_ifs
   15118 	if test "X$pkg" = "X$p"; then
   15119 	  enable_fast_install=yes
   15120 	fi
   15121       done
   15122       IFS=$lt_save_ifs
   15123       ;;
   15124     esac
   15125 else $as_nop
   15126   enable_fast_install=yes
   15127 fi
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136   shared_archive_member_spec=
   15137 case $host,$enable_shared in
   15138 power*-*-aix[5-9]*,yes)
   15139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15140 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15141 
   15142 # Check whether --with-aix-soname was given.
   15143 if test ${with_aix_soname+y}
   15144 then :
   15145   withval=$with_aix_soname; case $withval in
   15146     aix|svr4|both)
   15147       ;;
   15148     *)
   15149       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15150       ;;
   15151     esac
   15152     lt_cv_with_aix_soname=$with_aix_soname
   15153 else $as_nop
   15154   if test ${lt_cv_with_aix_soname+y}
   15155 then :
   15156   printf %s "(cached) " >&6
   15157 else $as_nop
   15158   lt_cv_with_aix_soname=aix
   15159 fi
   15160 
   15161     with_aix_soname=$lt_cv_with_aix_soname
   15162 fi
   15163 
   15164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15165 printf "%s\n" "$with_aix_soname" >&6; }
   15166   if test aix != "$with_aix_soname"; then
   15167     # For the AIX way of multilib, we name the shared archive member
   15168     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15169     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15170     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15171     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15172     if test 64 = "${OBJECT_MODE-32}"; then
   15173       shared_archive_member_spec=shr_64
   15174     else
   15175       shared_archive_member_spec=shr
   15176     fi
   15177   fi
   15178   ;;
   15179 *)
   15180   with_aix_soname=aix
   15181   ;;
   15182 esac
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 # This can be used to rebuild libtool when needed
   15194 LIBTOOL_DEPS=$ltmain
   15195 
   15196 # Always use our own libtool.
   15197 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 test -z "$LN_S" && LN_S="ln -s"
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 if test -n "${ZSH_VERSION+set}"; then
   15244    setopt NO_GLOB_SUBST
   15245 fi
   15246 
   15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15248 printf %s "checking for objdir... " >&6; }
   15249 if test ${lt_cv_objdir+y}
   15250 then :
   15251   printf %s "(cached) " >&6
   15252 else $as_nop
   15253   rm -f .libs 2>/dev/null
   15254 mkdir .libs 2>/dev/null
   15255 if test -d .libs; then
   15256   lt_cv_objdir=.libs
   15257 else
   15258   # MS-DOS does not allow filenames that begin with a dot.
   15259   lt_cv_objdir=_libs
   15260 fi
   15261 rmdir .libs 2>/dev/null
   15262 fi
   15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15264 printf "%s\n" "$lt_cv_objdir" >&6; }
   15265 objdir=$lt_cv_objdir
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15272 
   15273 
   15274 
   15275 
   15276 case $host_os in
   15277 aix3*)
   15278   # AIX sometimes has problems with the GCC collect2 program.  For some
   15279   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15280   # vanish in a puff of smoke.
   15281   if test set != "${COLLECT_NAMES+set}"; then
   15282     COLLECT_NAMES=
   15283     export COLLECT_NAMES
   15284   fi
   15285   ;;
   15286 esac
   15287 
   15288 # Global variables:
   15289 ofile=libtool
   15290 can_build_shared=yes
   15291 
   15292 # All known linkers require a '.a' archive for static linking (except MSVC and
   15293 # ICC, which need '.lib').
   15294 libext=a
   15295 
   15296 with_gnu_ld=$lt_cv_prog_gnu_ld
   15297 
   15298 old_CC=$CC
   15299 old_CFLAGS=$CFLAGS
   15300 
   15301 # Set sane defaults for various variables
   15302 test -z "$CC" && CC=cc
   15303 test -z "$LTCC" && LTCC=$CC
   15304 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15305 test -z "$LD" && LD=ld
   15306 test -z "$ac_objext" && ac_objext=o
   15307 
   15308 func_cc_basename $compiler
   15309 cc_basename=$func_cc_basename_result
   15310 
   15311 
   15312 # Only perform the check for file, if the check method requires it
   15313 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15314 case $deplibs_check_method in
   15315 file_magic*)
   15316   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15317     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15318 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15319 if test ${lt_cv_path_MAGIC_CMD+y}
   15320 then :
   15321   printf %s "(cached) " >&6
   15322 else $as_nop
   15323   case $MAGIC_CMD in
   15324 [\\/*] |  ?:[\\/]*)
   15325   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15326   ;;
   15327 *)
   15328   lt_save_MAGIC_CMD=$MAGIC_CMD
   15329   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15330   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15331   for ac_dir in $ac_dummy; do
   15332     IFS=$lt_save_ifs
   15333     test -z "$ac_dir" && ac_dir=.
   15334     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15335       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15336       if test -n "$file_magic_test_file"; then
   15337 	case $deplibs_check_method in
   15338 	"file_magic "*)
   15339 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15340 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15341 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15342 	    $EGREP "$file_magic_regex" > /dev/null; then
   15343 	    :
   15344 	  else
   15345 	    cat <<_LT_EOF 1>&2
   15346 
   15347 *** Warning: the command libtool uses to detect shared libraries,
   15348 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15349 *** The result is that libtool may fail to recognize shared libraries
   15350 *** as such.  This will affect the creation of libtool libraries that
   15351 *** depend on shared libraries, but programs linked with such libtool
   15352 *** libraries will work regardless of this problem.  Nevertheless, you
   15353 *** may want to report the problem to your system manager and/or to
   15354 *** bug-libtool@gnu.org
   15355 
   15356 _LT_EOF
   15357 	  fi ;;
   15358 	esac
   15359       fi
   15360       break
   15361     fi
   15362   done
   15363   IFS=$lt_save_ifs
   15364   MAGIC_CMD=$lt_save_MAGIC_CMD
   15365   ;;
   15366 esac
   15367 fi
   15368 
   15369 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15370 if test -n "$MAGIC_CMD"; then
   15371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15372 printf "%s\n" "$MAGIC_CMD" >&6; }
   15373 else
   15374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15375 printf "%s\n" "no" >&6; }
   15376 fi
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15383   if test -n "$ac_tool_prefix"; then
   15384     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15385 printf %s "checking for file... " >&6; }
   15386 if test ${lt_cv_path_MAGIC_CMD+y}
   15387 then :
   15388   printf %s "(cached) " >&6
   15389 else $as_nop
   15390   case $MAGIC_CMD in
   15391 [\\/*] |  ?:[\\/]*)
   15392   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15393   ;;
   15394 *)
   15395   lt_save_MAGIC_CMD=$MAGIC_CMD
   15396   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15397   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15398   for ac_dir in $ac_dummy; do
   15399     IFS=$lt_save_ifs
   15400     test -z "$ac_dir" && ac_dir=.
   15401     if test -f "$ac_dir/file"; then
   15402       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15403       if test -n "$file_magic_test_file"; then
   15404 	case $deplibs_check_method in
   15405 	"file_magic "*)
   15406 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15407 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15408 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15409 	    $EGREP "$file_magic_regex" > /dev/null; then
   15410 	    :
   15411 	  else
   15412 	    cat <<_LT_EOF 1>&2
   15413 
   15414 *** Warning: the command libtool uses to detect shared libraries,
   15415 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15416 *** The result is that libtool may fail to recognize shared libraries
   15417 *** as such.  This will affect the creation of libtool libraries that
   15418 *** depend on shared libraries, but programs linked with such libtool
   15419 *** libraries will work regardless of this problem.  Nevertheless, you
   15420 *** may want to report the problem to your system manager and/or to
   15421 *** bug-libtool@gnu.org
   15422 
   15423 _LT_EOF
   15424 	  fi ;;
   15425 	esac
   15426       fi
   15427       break
   15428     fi
   15429   done
   15430   IFS=$lt_save_ifs
   15431   MAGIC_CMD=$lt_save_MAGIC_CMD
   15432   ;;
   15433 esac
   15434 fi
   15435 
   15436 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15437 if test -n "$MAGIC_CMD"; then
   15438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15439 printf "%s\n" "$MAGIC_CMD" >&6; }
   15440 else
   15441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15442 printf "%s\n" "no" >&6; }
   15443 fi
   15444 
   15445 
   15446   else
   15447     MAGIC_CMD=:
   15448   fi
   15449 fi
   15450 
   15451   fi
   15452   ;;
   15453 esac
   15454 
   15455 # Use C for the default configuration in the libtool script
   15456 
   15457 lt_save_CC=$CC
   15458 ac_ext=c
   15459 ac_cpp='$CPP $CPPFLAGS'
   15460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15463 
   15464 
   15465 # Source file extension for C test sources.
   15466 ac_ext=c
   15467 
   15468 # Object file extension for compiled C test sources.
   15469 objext=o
   15470 objext=$objext
   15471 
   15472 # Code to be used in simple compile tests
   15473 lt_simple_compile_test_code="int some_variable = 0;"
   15474 
   15475 # Code to be used in simple link tests
   15476 lt_simple_link_test_code='int main(){return(0);}'
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 # If no C compiler was specified, use CC.
   15485 LTCC=${LTCC-"$CC"}
   15486 
   15487 # If no C compiler flags were specified, use CFLAGS.
   15488 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15489 
   15490 # Allow CC to be a program name with arguments.
   15491 compiler=$CC
   15492 
   15493 # Save the default compiler, since it gets overwritten when the other
   15494 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15495 compiler_DEFAULT=$CC
   15496 
   15497 # save warnings/boilerplate of simple test code
   15498 ac_outfile=conftest.$ac_objext
   15499 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15500 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15501 _lt_compiler_boilerplate=`cat conftest.err`
   15502 $RM conftest*
   15503 
   15504 ac_outfile=conftest.$ac_objext
   15505 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15506 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15507 _lt_linker_boilerplate=`cat conftest.err`
   15508 $RM -r conftest*
   15509 
   15510 
   15511 if test -n "$compiler"; then
   15512 
   15513 lt_prog_compiler_no_builtin_flag=
   15514 
   15515 if test yes = "$GCC"; then
   15516   case $cc_basename in
   15517   nvcc*)
   15518     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15519   *)
   15520     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15521   esac
   15522 
   15523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15524 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15525 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15526 then :
   15527   printf %s "(cached) " >&6
   15528 else $as_nop
   15529   lt_cv_prog_compiler_rtti_exceptions=no
   15530    ac_outfile=conftest.$ac_objext
   15531    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15532    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15533    # Insert the option either (1) after the last *FLAGS variable, or
   15534    # (2) before a word containing "conftest.", or (3) at the end.
   15535    # Note that $ac_compile itself does not contain backslashes and begins
   15536    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15537    # The option is referenced via a variable to avoid confusing sed.
   15538    lt_compile=`echo "$ac_compile" | $SED \
   15539    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15540    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15541    -e 's:$: $lt_compiler_flag:'`
   15542    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15543    (eval "$lt_compile" 2>conftest.err)
   15544    ac_status=$?
   15545    cat conftest.err >&5
   15546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15547    if (exit $ac_status) && test -s "$ac_outfile"; then
   15548      # The compiler can only warn and ignore the option if not recognized
   15549      # So say no if there are warnings other than the usual output.
   15550      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15551      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15552      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15553        lt_cv_prog_compiler_rtti_exceptions=yes
   15554      fi
   15555    fi
   15556    $RM conftest*
   15557 
   15558 fi
   15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15560 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15561 
   15562 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15563     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15564 else
   15565     :
   15566 fi
   15567 
   15568 fi
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575   lt_prog_compiler_wl=
   15576 lt_prog_compiler_pic=
   15577 lt_prog_compiler_static=
   15578 
   15579 
   15580   if test yes = "$GCC"; then
   15581     lt_prog_compiler_wl='-Wl,'
   15582     lt_prog_compiler_static='-static'
   15583 
   15584     case $host_os in
   15585       aix*)
   15586       # All AIX code is PIC.
   15587       if test ia64 = "$host_cpu"; then
   15588 	# AIX 5 now supports IA64 processor
   15589 	lt_prog_compiler_static='-Bstatic'
   15590       fi
   15591       lt_prog_compiler_pic='-fPIC'
   15592       ;;
   15593 
   15594     amigaos*)
   15595       case $host_cpu in
   15596       powerpc)
   15597             # see comment about AmigaOS4 .so support
   15598             lt_prog_compiler_pic='-fPIC'
   15599         ;;
   15600       m68k)
   15601             # FIXME: we need at least 68020 code to build shared libraries, but
   15602             # adding the '-m68020' flag to GCC prevents building anything better,
   15603             # like '-m68040'.
   15604             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15605         ;;
   15606       esac
   15607       ;;
   15608 
   15609     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15610       # PIC is the default for these OSes.
   15611       ;;
   15612 
   15613     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15614       # This hack is so that the source file can tell whether it is being
   15615       # built for inclusion in a dll (and should export symbols for example).
   15616       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15617       # (--disable-auto-import) libraries
   15618       lt_prog_compiler_pic='-DDLL_EXPORT'
   15619       case $host_os in
   15620       os2*)
   15621 	lt_prog_compiler_static='$wl-static'
   15622 	;;
   15623       esac
   15624       ;;
   15625 
   15626     darwin* | rhapsody*)
   15627       # PIC is the default on this platform
   15628       # Common symbols not allowed in MH_DYLIB files
   15629       lt_prog_compiler_pic='-fno-common'
   15630       ;;
   15631 
   15632     haiku*)
   15633       # PIC is the default for Haiku.
   15634       # The "-static" flag exists, but is broken.
   15635       lt_prog_compiler_static=
   15636       ;;
   15637 
   15638     hpux*)
   15639       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15640       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15641       # sets the default TLS model and affects inlining.
   15642       case $host_cpu in
   15643       hppa*64*)
   15644 	# +Z the default
   15645 	;;
   15646       *)
   15647 	lt_prog_compiler_pic='-fPIC'
   15648 	;;
   15649       esac
   15650       ;;
   15651 
   15652     interix[3-9]*)
   15653       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15654       # Instead, we relocate shared libraries at runtime.
   15655       ;;
   15656 
   15657     msdosdjgpp*)
   15658       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15659       # on systems that don't support them.
   15660       lt_prog_compiler_can_build_shared=no
   15661       enable_shared=no
   15662       ;;
   15663 
   15664     *nto* | *qnx*)
   15665       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15666       # it will coredump.
   15667       lt_prog_compiler_pic='-fPIC -shared'
   15668       ;;
   15669 
   15670     sysv4*MP*)
   15671       if test -d /usr/nec; then
   15672 	lt_prog_compiler_pic=-Kconform_pic
   15673       fi
   15674       ;;
   15675 
   15676     *)
   15677       lt_prog_compiler_pic='-fPIC'
   15678       ;;
   15679     esac
   15680 
   15681     case $cc_basename in
   15682     nvcc*) # Cuda Compiler Driver 2.2
   15683       lt_prog_compiler_wl='-Xlinker '
   15684       if test -n "$lt_prog_compiler_pic"; then
   15685         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15686       fi
   15687       ;;
   15688     esac
   15689   else
   15690     # PORTME Check for flag to pass linker flags through the system compiler.
   15691     case $host_os in
   15692     aix*)
   15693       lt_prog_compiler_wl='-Wl,'
   15694       if test ia64 = "$host_cpu"; then
   15695 	# AIX 5 now supports IA64 processor
   15696 	lt_prog_compiler_static='-Bstatic'
   15697       else
   15698 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15699       fi
   15700       ;;
   15701 
   15702     darwin* | rhapsody*)
   15703       # PIC is the default on this platform
   15704       # Common symbols not allowed in MH_DYLIB files
   15705       lt_prog_compiler_pic='-fno-common'
   15706       case $cc_basename in
   15707       nagfor*)
   15708         # NAG Fortran compiler
   15709         lt_prog_compiler_wl='-Wl,-Wl,,'
   15710         lt_prog_compiler_pic='-PIC'
   15711         lt_prog_compiler_static='-Bstatic'
   15712         ;;
   15713       esac
   15714       ;;
   15715 
   15716     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15717       # This hack is so that the source file can tell whether it is being
   15718       # built for inclusion in a dll (and should export symbols for example).
   15719       lt_prog_compiler_pic='-DDLL_EXPORT'
   15720       case $host_os in
   15721       os2*)
   15722 	lt_prog_compiler_static='$wl-static'
   15723 	;;
   15724       esac
   15725       ;;
   15726 
   15727     hpux9* | hpux10* | hpux11*)
   15728       lt_prog_compiler_wl='-Wl,'
   15729       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15730       # not for PA HP-UX.
   15731       case $host_cpu in
   15732       hppa*64*|ia64*)
   15733 	# +Z the default
   15734 	;;
   15735       *)
   15736 	lt_prog_compiler_pic='+Z'
   15737 	;;
   15738       esac
   15739       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15740       lt_prog_compiler_static='$wl-a ${wl}archive'
   15741       ;;
   15742 
   15743     irix5* | irix6* | nonstopux*)
   15744       lt_prog_compiler_wl='-Wl,'
   15745       # PIC (with -KPIC) is the default.
   15746       lt_prog_compiler_static='-non_shared'
   15747       ;;
   15748 
   15749     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15750       case $cc_basename in
   15751       # old Intel for x86_64, which still supported -KPIC.
   15752       ecc*)
   15753 	lt_prog_compiler_wl='-Wl,'
   15754 	lt_prog_compiler_pic='-KPIC'
   15755 	lt_prog_compiler_static='-static'
   15756         ;;
   15757       # icc used to be incompatible with GCC.
   15758       # ICC 10 doesn't accept -KPIC any more.
   15759       icc* | ifort*)
   15760 	lt_prog_compiler_wl='-Wl,'
   15761 	lt_prog_compiler_pic='-fPIC'
   15762 	lt_prog_compiler_static='-static'
   15763         ;;
   15764       # Lahey Fortran 8.1.
   15765       lf95*)
   15766 	lt_prog_compiler_wl='-Wl,'
   15767 	lt_prog_compiler_pic='--shared'
   15768 	lt_prog_compiler_static='--static'
   15769 	;;
   15770       nagfor*)
   15771 	# NAG Fortran compiler
   15772 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15773 	lt_prog_compiler_pic='-PIC'
   15774 	lt_prog_compiler_static='-Bstatic'
   15775 	;;
   15776       tcc*)
   15777 	# Fabrice Bellard et al's Tiny C Compiler
   15778 	lt_prog_compiler_wl='-Wl,'
   15779 	lt_prog_compiler_pic='-fPIC'
   15780 	lt_prog_compiler_static='-static'
   15781 	;;
   15782       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15783         # Portland Group compilers (*not* the Pentium gcc compiler,
   15784 	# which looks to be a dead project)
   15785 	lt_prog_compiler_wl='-Wl,'
   15786 	lt_prog_compiler_pic='-fpic'
   15787 	lt_prog_compiler_static='-Bstatic'
   15788         ;;
   15789       ccc*)
   15790         lt_prog_compiler_wl='-Wl,'
   15791         # All Alpha code is PIC.
   15792         lt_prog_compiler_static='-non_shared'
   15793         ;;
   15794       xl* | bgxl* | bgf* | mpixl*)
   15795 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15796 	lt_prog_compiler_wl='-Wl,'
   15797 	lt_prog_compiler_pic='-qpic'
   15798 	lt_prog_compiler_static='-qstaticlink'
   15799 	;;
   15800       *)
   15801 	case `$CC -V 2>&1 | $SED 5q` in
   15802 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15803 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15804 	  lt_prog_compiler_pic='-KPIC'
   15805 	  lt_prog_compiler_static='-Bstatic'
   15806 	  lt_prog_compiler_wl=''
   15807 	  ;;
   15808 	*Sun\ F* | *Sun*Fortran*)
   15809 	  lt_prog_compiler_pic='-KPIC'
   15810 	  lt_prog_compiler_static='-Bstatic'
   15811 	  lt_prog_compiler_wl='-Qoption ld '
   15812 	  ;;
   15813 	*Sun\ C*)
   15814 	  # Sun C 5.9
   15815 	  lt_prog_compiler_pic='-KPIC'
   15816 	  lt_prog_compiler_static='-Bstatic'
   15817 	  lt_prog_compiler_wl='-Wl,'
   15818 	  ;;
   15819         *Intel*\ [CF]*Compiler*)
   15820 	  lt_prog_compiler_wl='-Wl,'
   15821 	  lt_prog_compiler_pic='-fPIC'
   15822 	  lt_prog_compiler_static='-static'
   15823 	  ;;
   15824 	*Portland\ Group*)
   15825 	  lt_prog_compiler_wl='-Wl,'
   15826 	  lt_prog_compiler_pic='-fpic'
   15827 	  lt_prog_compiler_static='-Bstatic'
   15828 	  ;;
   15829 	esac
   15830 	;;
   15831       esac
   15832       ;;
   15833 
   15834     newsos6)
   15835       lt_prog_compiler_pic='-KPIC'
   15836       lt_prog_compiler_static='-Bstatic'
   15837       ;;
   15838 
   15839     *nto* | *qnx*)
   15840       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15841       # it will coredump.
   15842       lt_prog_compiler_pic='-fPIC -shared'
   15843       ;;
   15844 
   15845     osf3* | osf4* | osf5*)
   15846       lt_prog_compiler_wl='-Wl,'
   15847       # All OSF/1 code is PIC.
   15848       lt_prog_compiler_static='-non_shared'
   15849       ;;
   15850 
   15851     rdos*)
   15852       lt_prog_compiler_static='-non_shared'
   15853       ;;
   15854 
   15855     solaris*)
   15856       lt_prog_compiler_pic='-KPIC'
   15857       lt_prog_compiler_static='-Bstatic'
   15858       case $cc_basename in
   15859       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15860 	lt_prog_compiler_wl='-Qoption ld ';;
   15861       *)
   15862 	lt_prog_compiler_wl='-Wl,';;
   15863       esac
   15864       ;;
   15865 
   15866     sunos4*)
   15867       lt_prog_compiler_wl='-Qoption ld '
   15868       lt_prog_compiler_pic='-PIC'
   15869       lt_prog_compiler_static='-Bstatic'
   15870       ;;
   15871 
   15872     sysv4 | sysv4.2uw2* | sysv4.3*)
   15873       lt_prog_compiler_wl='-Wl,'
   15874       lt_prog_compiler_pic='-KPIC'
   15875       lt_prog_compiler_static='-Bstatic'
   15876       ;;
   15877 
   15878     sysv4*MP*)
   15879       if test -d /usr/nec; then
   15880 	lt_prog_compiler_pic='-Kconform_pic'
   15881 	lt_prog_compiler_static='-Bstatic'
   15882       fi
   15883       ;;
   15884 
   15885     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15886       lt_prog_compiler_wl='-Wl,'
   15887       lt_prog_compiler_pic='-KPIC'
   15888       lt_prog_compiler_static='-Bstatic'
   15889       ;;
   15890 
   15891     unicos*)
   15892       lt_prog_compiler_wl='-Wl,'
   15893       lt_prog_compiler_can_build_shared=no
   15894       ;;
   15895 
   15896     uts4*)
   15897       lt_prog_compiler_pic='-pic'
   15898       lt_prog_compiler_static='-Bstatic'
   15899       ;;
   15900 
   15901     *)
   15902       lt_prog_compiler_can_build_shared=no
   15903       ;;
   15904     esac
   15905   fi
   15906 
   15907 case $host_os in
   15908   # For platforms that do not support PIC, -DPIC is meaningless:
   15909   *djgpp*)
   15910     lt_prog_compiler_pic=
   15911     ;;
   15912   *)
   15913     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15914     ;;
   15915 esac
   15916 
   15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15918 printf %s "checking for $compiler option to produce PIC... " >&6; }
   15919 if test ${lt_cv_prog_compiler_pic+y}
   15920 then :
   15921   printf %s "(cached) " >&6
   15922 else $as_nop
   15923   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15924 fi
   15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15926 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   15927 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15928 
   15929 #
   15930 # Check to make sure the PIC flag actually works.
   15931 #
   15932 if test -n "$lt_prog_compiler_pic"; then
   15933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15934 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15935 if test ${lt_cv_prog_compiler_pic_works+y}
   15936 then :
   15937   printf %s "(cached) " >&6
   15938 else $as_nop
   15939   lt_cv_prog_compiler_pic_works=no
   15940    ac_outfile=conftest.$ac_objext
   15941    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15942    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15943    # Insert the option either (1) after the last *FLAGS variable, or
   15944    # (2) before a word containing "conftest.", or (3) at the end.
   15945    # Note that $ac_compile itself does not contain backslashes and begins
   15946    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15947    # The option is referenced via a variable to avoid confusing sed.
   15948    lt_compile=`echo "$ac_compile" | $SED \
   15949    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15950    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15951    -e 's:$: $lt_compiler_flag:'`
   15952    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15953    (eval "$lt_compile" 2>conftest.err)
   15954    ac_status=$?
   15955    cat conftest.err >&5
   15956    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15957    if (exit $ac_status) && test -s "$ac_outfile"; then
   15958      # The compiler can only warn and ignore the option if not recognized
   15959      # So say no if there are warnings other than the usual output.
   15960      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15961      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15962      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15963        lt_cv_prog_compiler_pic_works=yes
   15964      fi
   15965    fi
   15966    $RM conftest*
   15967 
   15968 fi
   15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15970 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   15971 
   15972 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15973     case $lt_prog_compiler_pic in
   15974      "" | " "*) ;;
   15975      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15976      esac
   15977 else
   15978     lt_prog_compiler_pic=
   15979      lt_prog_compiler_can_build_shared=no
   15980 fi
   15981 
   15982 fi
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 #
   15995 # Check to make sure the static flag actually works.
   15996 #
   15997 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15999 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16000 if test ${lt_cv_prog_compiler_static_works+y}
   16001 then :
   16002   printf %s "(cached) " >&6
   16003 else $as_nop
   16004   lt_cv_prog_compiler_static_works=no
   16005    save_LDFLAGS=$LDFLAGS
   16006    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16007    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16008    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16009      # The linker can only warn and ignore the option if not recognized
   16010      # So say no if there are warnings
   16011      if test -s conftest.err; then
   16012        # Append any errors to the config.log.
   16013        cat conftest.err 1>&5
   16014        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16015        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16016        if diff conftest.exp conftest.er2 >/dev/null; then
   16017          lt_cv_prog_compiler_static_works=yes
   16018        fi
   16019      else
   16020        lt_cv_prog_compiler_static_works=yes
   16021      fi
   16022    fi
   16023    $RM -r conftest*
   16024    LDFLAGS=$save_LDFLAGS
   16025 
   16026 fi
   16027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16028 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16029 
   16030 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16031     :
   16032 else
   16033     lt_prog_compiler_static=
   16034 fi
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16043 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16044 if test ${lt_cv_prog_compiler_c_o+y}
   16045 then :
   16046   printf %s "(cached) " >&6
   16047 else $as_nop
   16048   lt_cv_prog_compiler_c_o=no
   16049    $RM -r conftest 2>/dev/null
   16050    mkdir conftest
   16051    cd conftest
   16052    mkdir out
   16053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16054 
   16055    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16056    # Insert the option either (1) after the last *FLAGS variable, or
   16057    # (2) before a word containing "conftest.", or (3) at the end.
   16058    # Note that $ac_compile itself does not contain backslashes and begins
   16059    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16060    lt_compile=`echo "$ac_compile" | $SED \
   16061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16063    -e 's:$: $lt_compiler_flag:'`
   16064    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16065    (eval "$lt_compile" 2>out/conftest.err)
   16066    ac_status=$?
   16067    cat out/conftest.err >&5
   16068    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16069    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16070    then
   16071      # The compiler can only warn and ignore the option if not recognized
   16072      # So say no if there are warnings
   16073      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16074      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16075      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16076        lt_cv_prog_compiler_c_o=yes
   16077      fi
   16078    fi
   16079    chmod u+w . 2>&5
   16080    $RM conftest*
   16081    # SGI C++ compiler will create directory out/ii_files/ for
   16082    # template instantiation
   16083    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16084    $RM out/* && rmdir out
   16085    cd ..
   16086    $RM -r conftest
   16087    $RM conftest*
   16088 
   16089 fi
   16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16091 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16099 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16100 if test ${lt_cv_prog_compiler_c_o+y}
   16101 then :
   16102   printf %s "(cached) " >&6
   16103 else $as_nop
   16104   lt_cv_prog_compiler_c_o=no
   16105    $RM -r conftest 2>/dev/null
   16106    mkdir conftest
   16107    cd conftest
   16108    mkdir out
   16109    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16110 
   16111    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16112    # Insert the option either (1) after the last *FLAGS variable, or
   16113    # (2) before a word containing "conftest.", or (3) at the end.
   16114    # Note that $ac_compile itself does not contain backslashes and begins
   16115    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16116    lt_compile=`echo "$ac_compile" | $SED \
   16117    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16118    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16119    -e 's:$: $lt_compiler_flag:'`
   16120    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16121    (eval "$lt_compile" 2>out/conftest.err)
   16122    ac_status=$?
   16123    cat out/conftest.err >&5
   16124    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16125    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16126    then
   16127      # The compiler can only warn and ignore the option if not recognized
   16128      # So say no if there are warnings
   16129      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16130      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16131      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16132        lt_cv_prog_compiler_c_o=yes
   16133      fi
   16134    fi
   16135    chmod u+w . 2>&5
   16136    $RM conftest*
   16137    # SGI C++ compiler will create directory out/ii_files/ for
   16138    # template instantiation
   16139    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16140    $RM out/* && rmdir out
   16141    cd ..
   16142    $RM -r conftest
   16143    $RM conftest*
   16144 
   16145 fi
   16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16147 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16148 
   16149 
   16150 
   16151 
   16152 hard_links=nottested
   16153 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16154   # do not overwrite the value of need_locks provided by the user
   16155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16156 printf %s "checking if we can lock with hard links... " >&6; }
   16157   hard_links=yes
   16158   $RM conftest*
   16159   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16160   touch conftest.a
   16161   ln conftest.a conftest.b 2>&5 || hard_links=no
   16162   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16164 printf "%s\n" "$hard_links" >&6; }
   16165   if test no = "$hard_links"; then
   16166     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16167 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16168     need_locks=warn
   16169   fi
   16170 else
   16171   need_locks=no
   16172 fi
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16180 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16181 
   16182   runpath_var=
   16183   allow_undefined_flag=
   16184   always_export_symbols=no
   16185   archive_cmds=
   16186   archive_expsym_cmds=
   16187   compiler_needs_object=no
   16188   enable_shared_with_static_runtimes=no
   16189   export_dynamic_flag_spec=
   16190   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16191   hardcode_automatic=no
   16192   hardcode_direct=no
   16193   hardcode_direct_absolute=no
   16194   hardcode_libdir_flag_spec=
   16195   hardcode_libdir_separator=
   16196   hardcode_minus_L=no
   16197   hardcode_shlibpath_var=unsupported
   16198   inherit_rpath=no
   16199   link_all_deplibs=unknown
   16200   module_cmds=
   16201   module_expsym_cmds=
   16202   old_archive_from_new_cmds=
   16203   old_archive_from_expsyms_cmds=
   16204   thread_safe_flag_spec=
   16205   whole_archive_flag_spec=
   16206   # include_expsyms should be a list of space-separated symbols to be *always*
   16207   # included in the symbol list
   16208   include_expsyms=
   16209   # exclude_expsyms can be an extended regexp of symbols to exclude
   16210   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16211   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16212   # as well as any symbol that contains 'd'.
   16213   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16214   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16215   # platforms (ab)use it in PIC code, but their linkers get confused if
   16216   # the symbol is explicitly referenced.  Since portable code cannot
   16217   # rely on this symbol name, it's probably fine to never include it in
   16218   # preloaded symbol tables.
   16219   # Exclude shared library initialization/finalization symbols.
   16220   extract_expsyms_cmds=
   16221 
   16222   case $host_os in
   16223   cygwin* | mingw* | pw32* | cegcc*)
   16224     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16225     # When not using gcc, we currently assume that we are using
   16226     # Microsoft Visual C++ or Intel C++ Compiler.
   16227     if test yes != "$GCC"; then
   16228       with_gnu_ld=no
   16229     fi
   16230     ;;
   16231   interix*)
   16232     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16233     with_gnu_ld=yes
   16234     ;;
   16235   openbsd* | bitrig*)
   16236     with_gnu_ld=no
   16237     ;;
   16238   esac
   16239 
   16240   ld_shlibs=yes
   16241 
   16242   # On some targets, GNU ld is compatible enough with the native linker
   16243   # that we're better off using the native interface for both.
   16244   lt_use_gnu_ld_interface=no
   16245   if test yes = "$with_gnu_ld"; then
   16246     case $host_os in
   16247       aix*)
   16248 	# The AIX port of GNU ld has always aspired to compatibility
   16249 	# with the native linker.  However, as the warning in the GNU ld
   16250 	# block says, versions before 2.19.5* couldn't really create working
   16251 	# shared libraries, regardless of the interface used.
   16252 	case `$LD -v 2>&1` in
   16253 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16254 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16255 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16256 	  *)
   16257 	    lt_use_gnu_ld_interface=yes
   16258 	    ;;
   16259 	esac
   16260 	;;
   16261       *)
   16262 	lt_use_gnu_ld_interface=yes
   16263 	;;
   16264     esac
   16265   fi
   16266 
   16267   if test yes = "$lt_use_gnu_ld_interface"; then
   16268     # If archive_cmds runs LD, not CC, wlarc should be empty
   16269     wlarc='$wl'
   16270 
   16271     # Set some defaults for GNU ld with shared library support. These
   16272     # are reset later if shared libraries are not supported. Putting them
   16273     # here allows them to be overridden if necessary.
   16274     runpath_var=LD_RUN_PATH
   16275     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16276     export_dynamic_flag_spec='$wl--export-dynamic'
   16277     # ancient GNU ld didn't support --whole-archive et. al.
   16278     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16279       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16280     else
   16281       whole_archive_flag_spec=
   16282     fi
   16283     supports_anon_versioning=no
   16284     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16285       *GNU\ gold*) supports_anon_versioning=yes ;;
   16286       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16287       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16288       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16289       *\ 2.11.*) ;; # other 2.11 versions
   16290       *) supports_anon_versioning=yes ;;
   16291     esac
   16292 
   16293     # See if GNU ld supports shared libraries.
   16294     case $host_os in
   16295     aix[3-9]*)
   16296       # On AIX/PPC, the GNU linker is very broken
   16297       if test ia64 != "$host_cpu"; then
   16298 	ld_shlibs=no
   16299 	cat <<_LT_EOF 1>&2
   16300 
   16301 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16302 *** to be unable to reliably create shared libraries on AIX.
   16303 *** Therefore, libtool is disabling shared libraries support.  If you
   16304 *** really care for shared libraries, you may want to install binutils
   16305 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16306 *** You will then need to restart the configuration process.
   16307 
   16308 _LT_EOF
   16309       fi
   16310       ;;
   16311 
   16312     amigaos*)
   16313       case $host_cpu in
   16314       powerpc)
   16315             # see comment about AmigaOS4 .so support
   16316             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16317             archive_expsym_cmds=''
   16318         ;;
   16319       m68k)
   16320             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)'
   16321             hardcode_libdir_flag_spec='-L$libdir'
   16322             hardcode_minus_L=yes
   16323         ;;
   16324       esac
   16325       ;;
   16326 
   16327     beos*)
   16328       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16329 	allow_undefined_flag=unsupported
   16330 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16331 	# support --undefined.  This deserves some investigation.  FIXME
   16332 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16333       else
   16334 	ld_shlibs=no
   16335       fi
   16336       ;;
   16337 
   16338     cygwin* | mingw* | pw32* | cegcc*)
   16339       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16340       # as there is no search path for DLLs.
   16341       hardcode_libdir_flag_spec='-L$libdir'
   16342       export_dynamic_flag_spec='$wl--export-all-symbols'
   16343       allow_undefined_flag=unsupported
   16344       always_export_symbols=no
   16345       enable_shared_with_static_runtimes=yes
   16346       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'
   16347       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16348 
   16349       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16350         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16351 	# If the export-symbols file already is a .def file, use it as
   16352 	# is; otherwise, prepend EXPORTS...
   16353 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16354           cp $export_symbols $output_objdir/$soname.def;
   16355         else
   16356           echo EXPORTS > $output_objdir/$soname.def;
   16357           cat $export_symbols >> $output_objdir/$soname.def;
   16358         fi~
   16359         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16360       else
   16361 	ld_shlibs=no
   16362       fi
   16363       ;;
   16364 
   16365     haiku*)
   16366       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16367       link_all_deplibs=yes
   16368       ;;
   16369 
   16370     os2*)
   16371       hardcode_libdir_flag_spec='-L$libdir'
   16372       hardcode_minus_L=yes
   16373       allow_undefined_flag=unsupported
   16374       shrext_cmds=.dll
   16375       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16376 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16377 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16378 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16379 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16380 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16381 	emximp -o $lib $output_objdir/$libname.def'
   16382       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16383 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16384 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16385 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16386 	prefix_cmds="$SED"~
   16387 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16388 	  prefix_cmds="$prefix_cmds -e 1d";
   16389 	fi~
   16390 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16391 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16392 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16393 	emximp -o $lib $output_objdir/$libname.def'
   16394       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16395       enable_shared_with_static_runtimes=yes
   16396       file_list_spec='@'
   16397       ;;
   16398 
   16399     interix[3-9]*)
   16400       hardcode_direct=no
   16401       hardcode_shlibpath_var=no
   16402       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16403       export_dynamic_flag_spec='$wl-E'
   16404       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16405       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16406       # default) and relocated if they conflict, which is a slow very memory
   16407       # consuming and fragmenting process.  To avoid this, we pick a random,
   16408       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16409       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16410       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16411       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'
   16412       ;;
   16413 
   16414     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16415       tmp_diet=no
   16416       if test linux-dietlibc = "$host_os"; then
   16417 	case $cc_basename in
   16418 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16419 	esac
   16420       fi
   16421       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16422 	 && test no = "$tmp_diet"
   16423       then
   16424 	tmp_addflag=' $pic_flag'
   16425 	tmp_sharedflag='-shared'
   16426 	case $cc_basename,$host_cpu in
   16427         pgcc*)				# Portland Group C compiler
   16428 	  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'
   16429 	  tmp_addflag=' $pic_flag'
   16430 	  ;;
   16431 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16432 					# Portland Group f77 and f90 compilers
   16433 	  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'
   16434 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16435 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16436 	  tmp_addflag=' -i_dynamic' ;;
   16437 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16438 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16439 	ifc* | ifort*)			# Intel Fortran compiler
   16440 	  tmp_addflag=' -nofor_main' ;;
   16441 	lf95*)				# Lahey Fortran 8.1
   16442 	  whole_archive_flag_spec=
   16443 	  tmp_sharedflag='--shared' ;;
   16444         nagfor*)                        # NAGFOR 5.3
   16445           tmp_sharedflag='-Wl,-shared' ;;
   16446 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16447 	  tmp_sharedflag='-qmkshrobj'
   16448 	  tmp_addflag= ;;
   16449 	nvcc*)	# Cuda Compiler Driver 2.2
   16450 	  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'
   16451 	  compiler_needs_object=yes
   16452 	  ;;
   16453 	esac
   16454 	case `$CC -V 2>&1 | $SED 5q` in
   16455 	*Sun\ C*)			# Sun C 5.9
   16456 	  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'
   16457 	  compiler_needs_object=yes
   16458 	  tmp_sharedflag='-G' ;;
   16459 	*Sun\ F*)			# Sun Fortran 8.3
   16460 	  tmp_sharedflag='-G' ;;
   16461 	esac
   16462 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16463 
   16464         if test yes = "$supports_anon_versioning"; then
   16465           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16466             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16467             echo "local: *; };" >> $output_objdir/$libname.ver~
   16468             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16469         fi
   16470 
   16471 	case $cc_basename in
   16472 	tcc*)
   16473 	  export_dynamic_flag_spec='-rdynamic'
   16474 	  ;;
   16475 	xlf* | bgf* | bgxlf* | mpixlf*)
   16476 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16477 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16478 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16479 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16480 	  if test yes = "$supports_anon_versioning"; then
   16481 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16482               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16483               echo "local: *; };" >> $output_objdir/$libname.ver~
   16484               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16485 	  fi
   16486 	  ;;
   16487 	esac
   16488       else
   16489         ld_shlibs=no
   16490       fi
   16491       ;;
   16492 
   16493     netbsd*)
   16494       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16495 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16496 	wlarc=
   16497       else
   16498 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16499 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16500       fi
   16501       ;;
   16502 
   16503     solaris*)
   16504       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16505 	ld_shlibs=no
   16506 	cat <<_LT_EOF 1>&2
   16507 
   16508 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16509 *** create shared libraries on Solaris systems.  Therefore, libtool
   16510 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16511 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16512 *** your PATH or compiler configuration so that the native linker is
   16513 *** used, and then restart.
   16514 
   16515 _LT_EOF
   16516       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16517 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16518 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16519       else
   16520 	ld_shlibs=no
   16521       fi
   16522       ;;
   16523 
   16524     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16525       case `$LD -v 2>&1` in
   16526         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16527 	ld_shlibs=no
   16528 	cat <<_LT_EOF 1>&2
   16529 
   16530 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16531 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16532 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16533 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16534 *** your PATH or compiler configuration so that the native linker is
   16535 *** used, and then restart.
   16536 
   16537 _LT_EOF
   16538 	;;
   16539 	*)
   16540 	  # For security reasons, it is highly recommended that you always
   16541 	  # use absolute paths for naming shared libraries, and exclude the
   16542 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16543 	  # requires that you compile everything twice, which is a pain.
   16544 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16545 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16546 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16547 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16548 	  else
   16549 	    ld_shlibs=no
   16550 	  fi
   16551 	;;
   16552       esac
   16553       ;;
   16554 
   16555     sunos4*)
   16556       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16557       wlarc=
   16558       hardcode_direct=yes
   16559       hardcode_shlibpath_var=no
   16560       ;;
   16561 
   16562     *)
   16563       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16564 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16565 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16566       else
   16567 	ld_shlibs=no
   16568       fi
   16569       ;;
   16570     esac
   16571 
   16572     if test no = "$ld_shlibs"; then
   16573       runpath_var=
   16574       hardcode_libdir_flag_spec=
   16575       export_dynamic_flag_spec=
   16576       whole_archive_flag_spec=
   16577     fi
   16578   else
   16579     # PORTME fill in a description of your system's linker (not GNU ld)
   16580     case $host_os in
   16581     aix3*)
   16582       allow_undefined_flag=unsupported
   16583       always_export_symbols=yes
   16584       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'
   16585       # Note: this linker hardcodes the directories in LIBPATH if there
   16586       # are no directories specified by -L.
   16587       hardcode_minus_L=yes
   16588       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16589 	# Neither direct hardcoding nor static linking is supported with a
   16590 	# broken collect2.
   16591 	hardcode_direct=unsupported
   16592       fi
   16593       ;;
   16594 
   16595     aix[4-9]*)
   16596       if test ia64 = "$host_cpu"; then
   16597 	# On IA64, the linker does run time linking by default, so we don't
   16598 	# have to do anything special.
   16599 	aix_use_runtimelinking=no
   16600 	exp_sym_flag='-Bexport'
   16601 	no_entry_flag=
   16602       else
   16603 	# If we're using GNU nm, then we don't want the "-C" option.
   16604 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16605 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16606 	# weak defined symbols like other global defined symbols, whereas
   16607 	# GNU nm marks them as "W".
   16608 	# While the 'weak' keyword is ignored in the Export File, we need
   16609 	# it in the Import File for the 'aix-soname' feature, so we have
   16610 	# to replace the "-B" option with "-P" for AIX nm.
   16611 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16612 	  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'
   16613 	else
   16614 	  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'
   16615 	fi
   16616 	aix_use_runtimelinking=no
   16617 
   16618 	# Test if we are trying to use run time linking or normal
   16619 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16620 	# have runtime linking enabled, and use it for executables.
   16621 	# For shared libraries, we enable/disable runtime linking
   16622 	# depending on the kind of the shared library created -
   16623 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16624 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16625 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16626 	#            lib.a           static archive
   16627 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16628 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16629 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16630 	#            lib.a(lib.so.V) shared, rtl:no
   16631 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16632 	#            lib.a           static archive
   16633 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16634 	  for ld_flag in $LDFLAGS; do
   16635 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16636 	    aix_use_runtimelinking=yes
   16637 	    break
   16638 	  fi
   16639 	  done
   16640 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16641 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16642 	    # so we don't have lib.a shared libs to link our executables.
   16643 	    # We have to force runtime linking in this case.
   16644 	    aix_use_runtimelinking=yes
   16645 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16646 	  fi
   16647 	  ;;
   16648 	esac
   16649 
   16650 	exp_sym_flag='-bexport'
   16651 	no_entry_flag='-bnoentry'
   16652       fi
   16653 
   16654       # When large executables or shared objects are built, AIX ld can
   16655       # have problems creating the table of contents.  If linking a library
   16656       # or program results in "error TOC overflow" add -mminimal-toc to
   16657       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16658       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16659 
   16660       archive_cmds=''
   16661       hardcode_direct=yes
   16662       hardcode_direct_absolute=yes
   16663       hardcode_libdir_separator=':'
   16664       link_all_deplibs=yes
   16665       file_list_spec='$wl-f,'
   16666       case $with_aix_soname,$aix_use_runtimelinking in
   16667       aix,*) ;; # traditional, no import file
   16668       svr4,* | *,yes) # use import file
   16669 	# The Import File defines what to hardcode.
   16670 	hardcode_direct=no
   16671 	hardcode_direct_absolute=no
   16672 	;;
   16673       esac
   16674 
   16675       if test yes = "$GCC"; then
   16676 	case $host_os in aix4.[012]|aix4.[012].*)
   16677 	# We only want to do this on AIX 4.2 and lower, the check
   16678 	# below for broken collect2 doesn't work under 4.3+
   16679 	  collect2name=`$CC -print-prog-name=collect2`
   16680 	  if test -f "$collect2name" &&
   16681 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16682 	  then
   16683 	  # We have reworked collect2
   16684 	  :
   16685 	  else
   16686 	  # We have old collect2
   16687 	  hardcode_direct=unsupported
   16688 	  # It fails to find uninstalled libraries when the uninstalled
   16689 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16690 	  # to unsupported forces relinking
   16691 	  hardcode_minus_L=yes
   16692 	  hardcode_libdir_flag_spec='-L$libdir'
   16693 	  hardcode_libdir_separator=
   16694 	  fi
   16695 	  ;;
   16696 	esac
   16697 	shared_flag='-shared'
   16698 	if test yes = "$aix_use_runtimelinking"; then
   16699 	  shared_flag="$shared_flag "'$wl-G'
   16700 	fi
   16701 	# Need to ensure runtime linking is disabled for the traditional
   16702 	# shared library, or the linker may eventually find shared libraries
   16703 	# /with/ Import File - we do not want to mix them.
   16704 	shared_flag_aix='-shared'
   16705 	shared_flag_svr4='-shared $wl-G'
   16706       else
   16707 	# not using gcc
   16708 	if test ia64 = "$host_cpu"; then
   16709 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16710 	# chokes on -Wl,-G. The following line is correct:
   16711 	  shared_flag='-G'
   16712 	else
   16713 	  if test yes = "$aix_use_runtimelinking"; then
   16714 	    shared_flag='$wl-G'
   16715 	  else
   16716 	    shared_flag='$wl-bM:SRE'
   16717 	  fi
   16718 	  shared_flag_aix='$wl-bM:SRE'
   16719 	  shared_flag_svr4='$wl-G'
   16720 	fi
   16721       fi
   16722 
   16723       export_dynamic_flag_spec='$wl-bexpall'
   16724       # It seems that -bexpall does not export symbols beginning with
   16725       # underscore (_), so it is better to generate a list of symbols to export.
   16726       always_export_symbols=yes
   16727       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16728 	# Warning - without using the other runtime loading flags (-brtl),
   16729 	# -berok will link without error, but may produce a broken library.
   16730 	allow_undefined_flag='-berok'
   16731         # Determine the default libpath from the value encoded in an
   16732         # empty executable.
   16733         if test set = "${lt_cv_aix_libpath+set}"; then
   16734   aix_libpath=$lt_cv_aix_libpath
   16735 else
   16736   if test ${lt_cv_aix_libpath_+y}
   16737 then :
   16738   printf %s "(cached) " >&6
   16739 else $as_nop
   16740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16741 /* end confdefs.h.  */
   16742 
   16743 int
   16744 main (void)
   16745 {
   16746 
   16747   ;
   16748   return 0;
   16749 }
   16750 _ACEOF
   16751 if ac_fn_c_try_link "$LINENO"
   16752 then :
   16753 
   16754   lt_aix_libpath_sed='
   16755       /Import File Strings/,/^$/ {
   16756 	  /^0/ {
   16757 	      s/^0  *\([^ ]*\) *$/\1/
   16758 	      p
   16759 	  }
   16760       }'
   16761   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16762   # Check for a 64-bit object if we didn't find anything.
   16763   if test -z "$lt_cv_aix_libpath_"; then
   16764     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16765   fi
   16766 fi
   16767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16768     conftest$ac_exeext conftest.$ac_ext
   16769   if test -z "$lt_cv_aix_libpath_"; then
   16770     lt_cv_aix_libpath_=/usr/lib:/lib
   16771   fi
   16772 
   16773 fi
   16774 
   16775   aix_libpath=$lt_cv_aix_libpath_
   16776 fi
   16777 
   16778         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16779         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
   16780       else
   16781 	if test ia64 = "$host_cpu"; then
   16782 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16783 	  allow_undefined_flag="-z nodefs"
   16784 	  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"
   16785 	else
   16786 	 # Determine the default libpath from the value encoded in an
   16787 	 # empty executable.
   16788 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16789   aix_libpath=$lt_cv_aix_libpath
   16790 else
   16791   if test ${lt_cv_aix_libpath_+y}
   16792 then :
   16793   printf %s "(cached) " >&6
   16794 else $as_nop
   16795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16796 /* end confdefs.h.  */
   16797 
   16798 int
   16799 main (void)
   16800 {
   16801 
   16802   ;
   16803   return 0;
   16804 }
   16805 _ACEOF
   16806 if ac_fn_c_try_link "$LINENO"
   16807 then :
   16808 
   16809   lt_aix_libpath_sed='
   16810       /Import File Strings/,/^$/ {
   16811 	  /^0/ {
   16812 	      s/^0  *\([^ ]*\) *$/\1/
   16813 	      p
   16814 	  }
   16815       }'
   16816   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16817   # Check for a 64-bit object if we didn't find anything.
   16818   if test -z "$lt_cv_aix_libpath_"; then
   16819     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16820   fi
   16821 fi
   16822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16823     conftest$ac_exeext conftest.$ac_ext
   16824   if test -z "$lt_cv_aix_libpath_"; then
   16825     lt_cv_aix_libpath_=/usr/lib:/lib
   16826   fi
   16827 
   16828 fi
   16829 
   16830   aix_libpath=$lt_cv_aix_libpath_
   16831 fi
   16832 
   16833 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16834 	  # Warning - without using the other run time loading flags,
   16835 	  # -berok will link without error, but may produce a broken library.
   16836 	  no_undefined_flag=' $wl-bernotok'
   16837 	  allow_undefined_flag=' $wl-berok'
   16838 	  if test yes = "$with_gnu_ld"; then
   16839 	    # We only use this code for GNU lds that support --whole-archive.
   16840 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16841 	  else
   16842 	    # Exported symbols can be pulled into shared objects from archives
   16843 	    whole_archive_flag_spec='$convenience'
   16844 	  fi
   16845 	  archive_cmds_need_lc=yes
   16846 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16847 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16848 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16849 	  if test svr4 != "$with_aix_soname"; then
   16850 	    # This is similar to how AIX traditionally builds its shared libraries.
   16851 	    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'
   16852 	  fi
   16853 	  if test aix != "$with_aix_soname"; then
   16854 	    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'
   16855 	  else
   16856 	    # used by -dlpreopen to get the symbols
   16857 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16858 	  fi
   16859 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16860 	fi
   16861       fi
   16862       ;;
   16863 
   16864     amigaos*)
   16865       case $host_cpu in
   16866       powerpc)
   16867             # see comment about AmigaOS4 .so support
   16868             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16869             archive_expsym_cmds=''
   16870         ;;
   16871       m68k)
   16872             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)'
   16873             hardcode_libdir_flag_spec='-L$libdir'
   16874             hardcode_minus_L=yes
   16875         ;;
   16876       esac
   16877       ;;
   16878 
   16879     bsdi[45]*)
   16880       export_dynamic_flag_spec=-rdynamic
   16881       ;;
   16882 
   16883     cygwin* | mingw* | pw32* | cegcc*)
   16884       # When not using gcc, we currently assume that we are using
   16885       # Microsoft Visual C++ or Intel C++ Compiler.
   16886       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16887       # no search path for DLLs.
   16888       case $cc_basename in
   16889       cl* | icl*)
   16890 	# Native MSVC or ICC
   16891 	hardcode_libdir_flag_spec=' '
   16892 	allow_undefined_flag=unsupported
   16893 	always_export_symbols=yes
   16894 	file_list_spec='@'
   16895 	# Tell ltmain to make .lib files, not .a files.
   16896 	libext=lib
   16897 	# Tell ltmain to make .dll files, not .so files.
   16898 	shrext_cmds=.dll
   16899 	# FIXME: Setting linknames here is a bad hack.
   16900 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16901 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16902             cp "$export_symbols" "$output_objdir/$soname.def";
   16903             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16904           else
   16905             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16906           fi~
   16907           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16908           linknames='
   16909 	# The linker will not automatically build a static lib if we build a DLL.
   16910 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16911 	enable_shared_with_static_runtimes=yes
   16912 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16913 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16914 	# Don't use ranlib
   16915 	old_postinstall_cmds='chmod 644 $oldlib'
   16916 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16917           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16918           case $lt_outputfile in
   16919             *.exe|*.EXE) ;;
   16920             *)
   16921               lt_outputfile=$lt_outputfile.exe
   16922               lt_tool_outputfile=$lt_tool_outputfile.exe
   16923               ;;
   16924           esac~
   16925           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16926             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16927             $RM "$lt_outputfile.manifest";
   16928           fi'
   16929 	;;
   16930       *)
   16931 	# Assume MSVC and ICC wrapper
   16932 	hardcode_libdir_flag_spec=' '
   16933 	allow_undefined_flag=unsupported
   16934 	# Tell ltmain to make .lib files, not .a files.
   16935 	libext=lib
   16936 	# Tell ltmain to make .dll files, not .so files.
   16937 	shrext_cmds=.dll
   16938 	# FIXME: Setting linknames here is a bad hack.
   16939 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16940 	# The linker will automatically build a .lib file if we build a DLL.
   16941 	old_archive_from_new_cmds='true'
   16942 	# FIXME: Should let the user specify the lib program.
   16943 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16944 	enable_shared_with_static_runtimes=yes
   16945 	;;
   16946       esac
   16947       ;;
   16948 
   16949     darwin* | rhapsody*)
   16950 
   16951 
   16952   archive_cmds_need_lc=no
   16953   hardcode_direct=no
   16954   hardcode_automatic=yes
   16955   hardcode_shlibpath_var=unsupported
   16956   if test yes = "$lt_cv_ld_force_load"; then
   16957     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\"`'
   16958 
   16959   else
   16960     whole_archive_flag_spec=''
   16961   fi
   16962   link_all_deplibs=yes
   16963   allow_undefined_flag=$_lt_dar_allow_undefined
   16964   case $cc_basename in
   16965      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16966      *) _lt_dar_can_shared=$GCC ;;
   16967   esac
   16968   if test yes = "$_lt_dar_can_shared"; then
   16969     output_verbose_link_cmd=func_echo_all
   16970     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16971     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16972     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"
   16973     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"
   16974 
   16975   else
   16976   ld_shlibs=no
   16977   fi
   16978 
   16979       ;;
   16980 
   16981     dgux*)
   16982       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16983       hardcode_libdir_flag_spec='-L$libdir'
   16984       hardcode_shlibpath_var=no
   16985       ;;
   16986 
   16987     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16988     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16989     # does not break anything, and helps significantly (at the cost of a little
   16990     # extra space).
   16991     freebsd2.2*)
   16992       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16993       hardcode_libdir_flag_spec='-R$libdir'
   16994       hardcode_direct=yes
   16995       hardcode_shlibpath_var=no
   16996       ;;
   16997 
   16998     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16999     freebsd2.*)
   17000       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17001       hardcode_direct=yes
   17002       hardcode_minus_L=yes
   17003       hardcode_shlibpath_var=no
   17004       ;;
   17005 
   17006     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17007     freebsd* | dragonfly* | midnightbsd*)
   17008       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17009       hardcode_libdir_flag_spec='-R$libdir'
   17010       hardcode_direct=yes
   17011       hardcode_shlibpath_var=no
   17012       ;;
   17013 
   17014     hpux9*)
   17015       if test yes = "$GCC"; then
   17016 	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'
   17017       else
   17018 	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'
   17019       fi
   17020       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17021       hardcode_libdir_separator=:
   17022       hardcode_direct=yes
   17023 
   17024       # hardcode_minus_L: Not really in the search PATH,
   17025       # but as the default location of the library.
   17026       hardcode_minus_L=yes
   17027       export_dynamic_flag_spec='$wl-E'
   17028       ;;
   17029 
   17030     hpux10*)
   17031       if test yes,no = "$GCC,$with_gnu_ld"; then
   17032 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17033       else
   17034 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17035       fi
   17036       if test no = "$with_gnu_ld"; then
   17037 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17038 	hardcode_libdir_separator=:
   17039 	hardcode_direct=yes
   17040 	hardcode_direct_absolute=yes
   17041 	export_dynamic_flag_spec='$wl-E'
   17042 	# hardcode_minus_L: Not really in the search PATH,
   17043 	# but as the default location of the library.
   17044 	hardcode_minus_L=yes
   17045       fi
   17046       ;;
   17047 
   17048     hpux11*)
   17049       if test yes,no = "$GCC,$with_gnu_ld"; then
   17050 	case $host_cpu in
   17051 	hppa*64*)
   17052 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17053 	  ;;
   17054 	ia64*)
   17055 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17056 	  ;;
   17057 	*)
   17058 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17059 	  ;;
   17060 	esac
   17061       else
   17062 	case $host_cpu in
   17063 	hppa*64*)
   17064 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17065 	  ;;
   17066 	ia64*)
   17067 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17068 	  ;;
   17069 	*)
   17070 
   17071 	  # Older versions of the 11.00 compiler do not understand -b yet
   17072 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17073 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17074 printf %s "checking if $CC understands -b... " >&6; }
   17075 if test ${lt_cv_prog_compiler__b+y}
   17076 then :
   17077   printf %s "(cached) " >&6
   17078 else $as_nop
   17079   lt_cv_prog_compiler__b=no
   17080    save_LDFLAGS=$LDFLAGS
   17081    LDFLAGS="$LDFLAGS -b"
   17082    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17083    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17084      # The linker can only warn and ignore the option if not recognized
   17085      # So say no if there are warnings
   17086      if test -s conftest.err; then
   17087        # Append any errors to the config.log.
   17088        cat conftest.err 1>&5
   17089        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17090        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17091        if diff conftest.exp conftest.er2 >/dev/null; then
   17092          lt_cv_prog_compiler__b=yes
   17093        fi
   17094      else
   17095        lt_cv_prog_compiler__b=yes
   17096      fi
   17097    fi
   17098    $RM -r conftest*
   17099    LDFLAGS=$save_LDFLAGS
   17100 
   17101 fi
   17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17103 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17104 
   17105 if test yes = "$lt_cv_prog_compiler__b"; then
   17106     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17107 else
   17108     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17109 fi
   17110 
   17111 	  ;;
   17112 	esac
   17113       fi
   17114       if test no = "$with_gnu_ld"; then
   17115 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17116 	hardcode_libdir_separator=:
   17117 
   17118 	case $host_cpu in
   17119 	hppa*64*|ia64*)
   17120 	  hardcode_direct=no
   17121 	  hardcode_shlibpath_var=no
   17122 	  ;;
   17123 	*)
   17124 	  hardcode_direct=yes
   17125 	  hardcode_direct_absolute=yes
   17126 	  export_dynamic_flag_spec='$wl-E'
   17127 
   17128 	  # hardcode_minus_L: Not really in the search PATH,
   17129 	  # but as the default location of the library.
   17130 	  hardcode_minus_L=yes
   17131 	  ;;
   17132 	esac
   17133       fi
   17134       ;;
   17135 
   17136     irix5* | irix6* | nonstopux*)
   17137       if test yes = "$GCC"; then
   17138 	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'
   17139 	# Try to use the -exported_symbol ld option, if it does not
   17140 	# work, assume that -exports_file does not work either and
   17141 	# implicitly export all symbols.
   17142 	# This should be the same for all languages, so no per-tag cache variable.
   17143 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17144 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17145 if test ${lt_cv_irix_exported_symbol+y}
   17146 then :
   17147   printf %s "(cached) " >&6
   17148 else $as_nop
   17149   save_LDFLAGS=$LDFLAGS
   17150 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17151 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17152 /* end confdefs.h.  */
   17153 int foo (void) { return 0; }
   17154 _ACEOF
   17155 if ac_fn_c_try_link "$LINENO"
   17156 then :
   17157   lt_cv_irix_exported_symbol=yes
   17158 else $as_nop
   17159   lt_cv_irix_exported_symbol=no
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17162     conftest$ac_exeext conftest.$ac_ext
   17163            LDFLAGS=$save_LDFLAGS
   17164 fi
   17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17166 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17167 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17168           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'
   17169 	fi
   17170       else
   17171 	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'
   17172 	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'
   17173       fi
   17174       archive_cmds_need_lc='no'
   17175       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17176       hardcode_libdir_separator=:
   17177       inherit_rpath=yes
   17178       link_all_deplibs=yes
   17179       ;;
   17180 
   17181     linux*)
   17182       case $cc_basename in
   17183       tcc*)
   17184 	# Fabrice Bellard et al's Tiny C Compiler
   17185 	ld_shlibs=yes
   17186 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17187 	;;
   17188       esac
   17189       ;;
   17190 
   17191     netbsd*)
   17192       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17193 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17194       else
   17195 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17196       fi
   17197       hardcode_libdir_flag_spec='-R$libdir'
   17198       hardcode_direct=yes
   17199       hardcode_shlibpath_var=no
   17200       ;;
   17201 
   17202     newsos6)
   17203       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17204       hardcode_direct=yes
   17205       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17206       hardcode_libdir_separator=:
   17207       hardcode_shlibpath_var=no
   17208       ;;
   17209 
   17210     *nto* | *qnx*)
   17211       ;;
   17212 
   17213     openbsd* | bitrig*)
   17214       if test -f /usr/libexec/ld.so; then
   17215 	hardcode_direct=yes
   17216 	hardcode_shlibpath_var=no
   17217 	hardcode_direct_absolute=yes
   17218 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17219 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17220 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17221 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17222 	  export_dynamic_flag_spec='$wl-E'
   17223 	else
   17224 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17225 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17226 	fi
   17227       else
   17228 	ld_shlibs=no
   17229       fi
   17230       ;;
   17231 
   17232     os2*)
   17233       hardcode_libdir_flag_spec='-L$libdir'
   17234       hardcode_minus_L=yes
   17235       allow_undefined_flag=unsupported
   17236       shrext_cmds=.dll
   17237       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17238 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17239 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17240 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17241 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17242 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17243 	emximp -o $lib $output_objdir/$libname.def'
   17244       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17245 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17246 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17247 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17248 	prefix_cmds="$SED"~
   17249 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17250 	  prefix_cmds="$prefix_cmds -e 1d";
   17251 	fi~
   17252 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17253 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17254 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17255 	emximp -o $lib $output_objdir/$libname.def'
   17256       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17257       enable_shared_with_static_runtimes=yes
   17258       file_list_spec='@'
   17259       ;;
   17260 
   17261     osf3*)
   17262       if test yes = "$GCC"; then
   17263 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17264 	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'
   17265       else
   17266 	allow_undefined_flag=' -expect_unresolved \*'
   17267 	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'
   17268       fi
   17269       archive_cmds_need_lc='no'
   17270       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17271       hardcode_libdir_separator=:
   17272       ;;
   17273 
   17274     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17275       if test yes = "$GCC"; then
   17276 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17277 	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'
   17278 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17279       else
   17280 	allow_undefined_flag=' -expect_unresolved \*'
   17281 	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'
   17282 	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~
   17283           $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'
   17284 
   17285 	# Both c and cxx compiler support -rpath directly
   17286 	hardcode_libdir_flag_spec='-rpath $libdir'
   17287       fi
   17288       archive_cmds_need_lc='no'
   17289       hardcode_libdir_separator=:
   17290       ;;
   17291 
   17292     solaris*)
   17293       no_undefined_flag=' -z defs'
   17294       if test yes = "$GCC"; then
   17295 	wlarc='$wl'
   17296 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17297 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17298           $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'
   17299       else
   17300 	case `$CC -V 2>&1` in
   17301 	*"Compilers 5.0"*)
   17302 	  wlarc=''
   17303 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17304 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17305             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17306 	  ;;
   17307 	*)
   17308 	  wlarc='$wl'
   17309 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17310 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17311             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17312 	  ;;
   17313 	esac
   17314       fi
   17315       hardcode_libdir_flag_spec='-R$libdir'
   17316       hardcode_shlibpath_var=no
   17317       case $host_os in
   17318       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17319       *)
   17320 	# The compiler driver will combine and reorder linker options,
   17321 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17322 	# but is careful enough not to reorder.
   17323 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17324 	if test yes = "$GCC"; then
   17325 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17326 	else
   17327 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17328 	fi
   17329 	;;
   17330       esac
   17331       link_all_deplibs=yes
   17332       ;;
   17333 
   17334     sunos4*)
   17335       if test sequent = "$host_vendor"; then
   17336 	# Use $CC to link under sequent, because it throws in some extra .o
   17337 	# files that make .init and .fini sections work.
   17338 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17339       else
   17340 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17341       fi
   17342       hardcode_libdir_flag_spec='-L$libdir'
   17343       hardcode_direct=yes
   17344       hardcode_minus_L=yes
   17345       hardcode_shlibpath_var=no
   17346       ;;
   17347 
   17348     sysv4)
   17349       case $host_vendor in
   17350 	sni)
   17351 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17352 	  hardcode_direct=yes # is this really true???
   17353 	;;
   17354 	siemens)
   17355 	  ## LD is ld it makes a PLAMLIB
   17356 	  ## CC just makes a GrossModule.
   17357 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17358 	  reload_cmds='$CC -r -o $output$reload_objs'
   17359 	  hardcode_direct=no
   17360         ;;
   17361 	motorola)
   17362 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17363 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17364 	;;
   17365       esac
   17366       runpath_var='LD_RUN_PATH'
   17367       hardcode_shlibpath_var=no
   17368       ;;
   17369 
   17370     sysv4.3*)
   17371       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17372       hardcode_shlibpath_var=no
   17373       export_dynamic_flag_spec='-Bexport'
   17374       ;;
   17375 
   17376     sysv4*MP*)
   17377       if test -d /usr/nec; then
   17378 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17379 	hardcode_shlibpath_var=no
   17380 	runpath_var=LD_RUN_PATH
   17381 	hardcode_runpath_var=yes
   17382 	ld_shlibs=yes
   17383       fi
   17384       ;;
   17385 
   17386     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17387       no_undefined_flag='$wl-z,text'
   17388       archive_cmds_need_lc=no
   17389       hardcode_shlibpath_var=no
   17390       runpath_var='LD_RUN_PATH'
   17391 
   17392       if test yes = "$GCC"; then
   17393 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17394 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17395       else
   17396 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17397 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17398       fi
   17399       ;;
   17400 
   17401     sysv5* | sco3.2v5* | sco5v6*)
   17402       # Note: We CANNOT use -z defs as we might desire, because we do not
   17403       # link with -lc, and that would cause any symbols used from libc to
   17404       # always be unresolved, which means just about no library would
   17405       # ever link correctly.  If we're not using GNU ld we use -z text
   17406       # though, which does catch some bad symbols but isn't as heavy-handed
   17407       # as -z defs.
   17408       no_undefined_flag='$wl-z,text'
   17409       allow_undefined_flag='$wl-z,nodefs'
   17410       archive_cmds_need_lc=no
   17411       hardcode_shlibpath_var=no
   17412       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17413       hardcode_libdir_separator=':'
   17414       link_all_deplibs=yes
   17415       export_dynamic_flag_spec='$wl-Bexport'
   17416       runpath_var='LD_RUN_PATH'
   17417 
   17418       if test yes = "$GCC"; then
   17419 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17420 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17421       else
   17422 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17423 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17424       fi
   17425       ;;
   17426 
   17427     uts4*)
   17428       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17429       hardcode_libdir_flag_spec='-L$libdir'
   17430       hardcode_shlibpath_var=no
   17431       ;;
   17432 
   17433     *)
   17434       ld_shlibs=no
   17435       ;;
   17436     esac
   17437 
   17438     if test sni = "$host_vendor"; then
   17439       case $host in
   17440       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17441 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17442 	;;
   17443       esac
   17444     fi
   17445   fi
   17446 
   17447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17448 printf "%s\n" "$ld_shlibs" >&6; }
   17449 test no = "$ld_shlibs" && can_build_shared=no
   17450 
   17451 with_gnu_ld=$with_gnu_ld
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 #
   17468 # Do we need to explicitly link libc?
   17469 #
   17470 case "x$archive_cmds_need_lc" in
   17471 x|xyes)
   17472   # Assume -lc should be added
   17473   archive_cmds_need_lc=yes
   17474 
   17475   if test yes,yes = "$GCC,$enable_shared"; then
   17476     case $archive_cmds in
   17477     *'~'*)
   17478       # FIXME: we may have to deal with multi-command sequences.
   17479       ;;
   17480     '$CC '*)
   17481       # Test whether the compiler implicitly links with -lc since on some
   17482       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17483       # to ld, don't add -lc before -lgcc.
   17484       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17485 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17486 if test ${lt_cv_archive_cmds_need_lc+y}
   17487 then :
   17488   printf %s "(cached) " >&6
   17489 else $as_nop
   17490   $RM conftest*
   17491 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17492 
   17493 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17494   (eval $ac_compile) 2>&5
   17495   ac_status=$?
   17496   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17497   test $ac_status = 0; } 2>conftest.err; then
   17498 	  soname=conftest
   17499 	  lib=conftest
   17500 	  libobjs=conftest.$ac_objext
   17501 	  deplibs=
   17502 	  wl=$lt_prog_compiler_wl
   17503 	  pic_flag=$lt_prog_compiler_pic
   17504 	  compiler_flags=-v
   17505 	  linker_flags=-v
   17506 	  verstring=
   17507 	  output_objdir=.
   17508 	  libname=conftest
   17509 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17510 	  allow_undefined_flag=
   17511 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17512   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17513   ac_status=$?
   17514   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17515   test $ac_status = 0; }
   17516 	  then
   17517 	    lt_cv_archive_cmds_need_lc=no
   17518 	  else
   17519 	    lt_cv_archive_cmds_need_lc=yes
   17520 	  fi
   17521 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17522 	else
   17523 	  cat conftest.err 1>&5
   17524 	fi
   17525 	$RM conftest*
   17526 
   17527 fi
   17528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17529 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17530       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17531       ;;
   17532     esac
   17533   fi
   17534   ;;
   17535 esac
   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 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17689 printf %s "checking dynamic linker characteristics... " >&6; }
   17690 
   17691 if test yes = "$GCC"; then
   17692   case $host_os in
   17693     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17694     *) lt_awk_arg='/^libraries:/' ;;
   17695   esac
   17696   case $host_os in
   17697     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17698     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17699   esac
   17700   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17701   case $lt_search_path_spec in
   17702   *\;*)
   17703     # if the path contains ";" then we assume it to be the separator
   17704     # otherwise default to the standard path separator (i.e. ":") - it is
   17705     # assumed that no part of a normal pathname contains ";" but that should
   17706     # okay in the real world where ";" in dirpaths is itself problematic.
   17707     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17708     ;;
   17709   *)
   17710     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17711     ;;
   17712   esac
   17713   # Ok, now we have the path, separated by spaces, we can step through it
   17714   # and add multilib dir if necessary...
   17715   lt_tmp_lt_search_path_spec=
   17716   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17717   # ...but if some path component already ends with the multilib dir we assume
   17718   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17719   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17720   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17721     lt_multi_os_dir=
   17722     ;;
   17723   esac
   17724   for lt_sys_path in $lt_search_path_spec; do
   17725     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17726       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17727     elif test -n "$lt_multi_os_dir"; then
   17728       test -d "$lt_sys_path" && \
   17729 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17730     fi
   17731   done
   17732   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17733 BEGIN {RS = " "; FS = "/|\n";} {
   17734   lt_foo = "";
   17735   lt_count = 0;
   17736   for (lt_i = NF; lt_i > 0; lt_i--) {
   17737     if ($lt_i != "" && $lt_i != ".") {
   17738       if ($lt_i == "..") {
   17739         lt_count++;
   17740       } else {
   17741         if (lt_count == 0) {
   17742           lt_foo = "/" $lt_i lt_foo;
   17743         } else {
   17744           lt_count--;
   17745         }
   17746       }
   17747     }
   17748   }
   17749   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17750   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17751 }'`
   17752   # AWK program above erroneously prepends '/' to C:/dos/paths
   17753   # for these hosts.
   17754   case $host_os in
   17755     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17756       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17757   esac
   17758   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17759 else
   17760   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17761 fi
   17762 library_names_spec=
   17763 libname_spec='lib$name'
   17764 soname_spec=
   17765 shrext_cmds=.so
   17766 postinstall_cmds=
   17767 postuninstall_cmds=
   17768 finish_cmds=
   17769 finish_eval=
   17770 shlibpath_var=
   17771 shlibpath_overrides_runpath=unknown
   17772 version_type=none
   17773 dynamic_linker="$host_os ld.so"
   17774 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17775 need_lib_prefix=unknown
   17776 hardcode_into_libs=no
   17777 
   17778 # when you set need_version to no, make sure it does not cause -set_version
   17779 # flags to be left without arguments
   17780 need_version=unknown
   17781 
   17782 
   17783 
   17784 case $host_os in
   17785 aix3*)
   17786   version_type=linux # correct to gnu/linux during the next big refactor
   17787   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17788   shlibpath_var=LIBPATH
   17789 
   17790   # AIX 3 has no versioning support, so we append a major version to the name.
   17791   soname_spec='$libname$release$shared_ext$major'
   17792   ;;
   17793 
   17794 aix[4-9]*)
   17795   version_type=linux # correct to gnu/linux during the next big refactor
   17796   need_lib_prefix=no
   17797   need_version=no
   17798   hardcode_into_libs=yes
   17799   if test ia64 = "$host_cpu"; then
   17800     # AIX 5 supports IA64
   17801     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17802     shlibpath_var=LD_LIBRARY_PATH
   17803   else
   17804     # With GCC up to 2.95.x, collect2 would create an import file
   17805     # for dependence libraries.  The import file would start with
   17806     # the line '#! .'.  This would cause the generated library to
   17807     # depend on '.', always an invalid library.  This was fixed in
   17808     # development snapshots of GCC prior to 3.0.
   17809     case $host_os in
   17810       aix4 | aix4.[01] | aix4.[01].*)
   17811       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17812 	   echo ' yes '
   17813 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17814 	:
   17815       else
   17816 	can_build_shared=no
   17817       fi
   17818       ;;
   17819     esac
   17820     # Using Import Files as archive members, it is possible to support
   17821     # filename-based versioning of shared library archives on AIX. While
   17822     # this would work for both with and without runtime linking, it will
   17823     # prevent static linking of such archives. So we do filename-based
   17824     # shared library versioning with .so extension only, which is used
   17825     # when both runtime linking and shared linking is enabled.
   17826     # Unfortunately, runtime linking may impact performance, so we do
   17827     # not want this to be the default eventually. Also, we use the
   17828     # versioned .so libs for executables only if there is the -brtl
   17829     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17830     # To allow for filename-based versioning support, we need to create
   17831     # libNAME.so.V as an archive file, containing:
   17832     # *) an Import File, referring to the versioned filename of the
   17833     #    archive as well as the shared archive member, telling the
   17834     #    bitwidth (32 or 64) of that shared object, and providing the
   17835     #    list of exported symbols of that shared object, eventually
   17836     #    decorated with the 'weak' keyword
   17837     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17838     #    it being seen by the linker.
   17839     # At run time we better use the real file rather than another symlink,
   17840     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17841 
   17842     case $with_aix_soname,$aix_use_runtimelinking in
   17843     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17844     # soname into executable. Probably we can add versioning support to
   17845     # collect2, so additional links can be useful in future.
   17846     aix,yes) # traditional libtool
   17847       dynamic_linker='AIX unversionable lib.so'
   17848       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17849       # instead of lib<name>.a to let people know that these are not
   17850       # typical AIX shared libraries.
   17851       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17852       ;;
   17853     aix,no) # traditional AIX only
   17854       dynamic_linker='AIX lib.a(lib.so.V)'
   17855       # We preserve .a as extension for shared libraries through AIX4.2
   17856       # and later when we are not doing run time linking.
   17857       library_names_spec='$libname$release.a $libname.a'
   17858       soname_spec='$libname$release$shared_ext$major'
   17859       ;;
   17860     svr4,*) # full svr4 only
   17861       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17862       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17863       # We do not specify a path in Import Files, so LIBPATH fires.
   17864       shlibpath_overrides_runpath=yes
   17865       ;;
   17866     *,yes) # both, prefer svr4
   17867       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17868       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17869       # unpreferred sharedlib libNAME.a needs extra handling
   17870       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"'
   17871       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"'
   17872       # We do not specify a path in Import Files, so LIBPATH fires.
   17873       shlibpath_overrides_runpath=yes
   17874       ;;
   17875     *,no) # both, prefer aix
   17876       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17877       library_names_spec='$libname$release.a $libname.a'
   17878       soname_spec='$libname$release$shared_ext$major'
   17879       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17880       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)'
   17881       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"'
   17882       ;;
   17883     esac
   17884     shlibpath_var=LIBPATH
   17885   fi
   17886   ;;
   17887 
   17888 amigaos*)
   17889   case $host_cpu in
   17890   powerpc)
   17891     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17892     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17893     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17894     ;;
   17895   m68k)
   17896     library_names_spec='$libname.ixlibrary $libname.a'
   17897     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17898     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'
   17899     ;;
   17900   esac
   17901   ;;
   17902 
   17903 beos*)
   17904   library_names_spec='$libname$shared_ext'
   17905   dynamic_linker="$host_os ld.so"
   17906   shlibpath_var=LIBRARY_PATH
   17907   ;;
   17908 
   17909 bsdi[45]*)
   17910   version_type=linux # correct to gnu/linux during the next big refactor
   17911   need_version=no
   17912   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17913   soname_spec='$libname$release$shared_ext$major'
   17914   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17915   shlibpath_var=LD_LIBRARY_PATH
   17916   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17917   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17918   # the default ld.so.conf also contains /usr/contrib/lib and
   17919   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17920   # libtool to hard-code these into programs
   17921   ;;
   17922 
   17923 cygwin* | mingw* | pw32* | cegcc*)
   17924   version_type=windows
   17925   shrext_cmds=.dll
   17926   need_version=no
   17927   need_lib_prefix=no
   17928 
   17929   case $GCC,$cc_basename in
   17930   yes,*)
   17931     # gcc
   17932     library_names_spec='$libname.dll.a'
   17933     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17934     postinstall_cmds='base_file=`basename \$file`~
   17935       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17936       dldir=$destdir/`dirname \$dlpath`~
   17937       test -d \$dldir || mkdir -p \$dldir~
   17938       $install_prog $dir/$dlname \$dldir/$dlname~
   17939       chmod a+x \$dldir/$dlname~
   17940       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17941         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17942       fi'
   17943     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17944       dlpath=$dir/\$dldll~
   17945        $RM \$dlpath'
   17946     shlibpath_overrides_runpath=yes
   17947 
   17948     case $host_os in
   17949     cygwin*)
   17950       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17951       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17952 
   17953       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17954       ;;
   17955     mingw* | cegcc*)
   17956       # MinGW DLLs use traditional 'lib' prefix
   17957       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17958       ;;
   17959     pw32*)
   17960       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17961       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17962       ;;
   17963     esac
   17964     dynamic_linker='Win32 ld.exe'
   17965     ;;
   17966 
   17967   *,cl* | *,icl*)
   17968     # Native MSVC or ICC
   17969     libname_spec='$name'
   17970     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17971     library_names_spec='$libname.dll.lib'
   17972 
   17973     case $build_os in
   17974     mingw*)
   17975       sys_lib_search_path_spec=
   17976       lt_save_ifs=$IFS
   17977       IFS=';'
   17978       for lt_path in $LIB
   17979       do
   17980         IFS=$lt_save_ifs
   17981         # Let DOS variable expansion print the short 8.3 style file name.
   17982         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17983         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17984       done
   17985       IFS=$lt_save_ifs
   17986       # Convert to MSYS style.
   17987       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17988       ;;
   17989     cygwin*)
   17990       # Convert to unix form, then to dos form, then back to unix form
   17991       # but this time dos style (no spaces!) so that the unix form looks
   17992       # like /cygdrive/c/PROGRA~1:/cygdr...
   17993       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17994       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17995       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17996       ;;
   17997     *)
   17998       sys_lib_search_path_spec=$LIB
   17999       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18000         # It is most probably a Windows format PATH.
   18001         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18002       else
   18003         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18004       fi
   18005       # FIXME: find the short name or the path components, as spaces are
   18006       # common. (e.g. "Program Files" -> "PROGRA~1")
   18007       ;;
   18008     esac
   18009 
   18010     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18011     postinstall_cmds='base_file=`basename \$file`~
   18012       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18013       dldir=$destdir/`dirname \$dlpath`~
   18014       test -d \$dldir || mkdir -p \$dldir~
   18015       $install_prog $dir/$dlname \$dldir/$dlname'
   18016     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18017       dlpath=$dir/\$dldll~
   18018        $RM \$dlpath'
   18019     shlibpath_overrides_runpath=yes
   18020     dynamic_linker='Win32 link.exe'
   18021     ;;
   18022 
   18023   *)
   18024     # Assume MSVC and ICC wrapper
   18025     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18026     dynamic_linker='Win32 ld.exe'
   18027     ;;
   18028   esac
   18029   # FIXME: first we should search . and the directory the executable is in
   18030   shlibpath_var=PATH
   18031   ;;
   18032 
   18033 darwin* | rhapsody*)
   18034   dynamic_linker="$host_os dyld"
   18035   version_type=darwin
   18036   need_lib_prefix=no
   18037   need_version=no
   18038   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18039   soname_spec='$libname$release$major$shared_ext'
   18040   shlibpath_overrides_runpath=yes
   18041   shlibpath_var=DYLD_LIBRARY_PATH
   18042   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18043 
   18044   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18045   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18046   ;;
   18047 
   18048 dgux*)
   18049   version_type=linux # correct to gnu/linux during the next big refactor
   18050   need_lib_prefix=no
   18051   need_version=no
   18052   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18053   soname_spec='$libname$release$shared_ext$major'
   18054   shlibpath_var=LD_LIBRARY_PATH
   18055   ;;
   18056 
   18057 freebsd* | dragonfly* | midnightbsd*)
   18058   # DragonFly does not have aout.  When/if they implement a new
   18059   # versioning mechanism, adjust this.
   18060   if test -x /usr/bin/objformat; then
   18061     objformat=`/usr/bin/objformat`
   18062   else
   18063     case $host_os in
   18064     freebsd[23].*) objformat=aout ;;
   18065     *) objformat=elf ;;
   18066     esac
   18067   fi
   18068   version_type=freebsd-$objformat
   18069   case $version_type in
   18070     freebsd-elf*)
   18071       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18072       soname_spec='$libname$release$shared_ext$major'
   18073       need_version=no
   18074       need_lib_prefix=no
   18075       ;;
   18076     freebsd-*)
   18077       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18078       need_version=yes
   18079       ;;
   18080   esac
   18081   shlibpath_var=LD_LIBRARY_PATH
   18082   case $host_os in
   18083   freebsd2.*)
   18084     shlibpath_overrides_runpath=yes
   18085     ;;
   18086   freebsd3.[01]* | freebsdelf3.[01]*)
   18087     shlibpath_overrides_runpath=yes
   18088     hardcode_into_libs=yes
   18089     ;;
   18090   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18091   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18092     shlibpath_overrides_runpath=no
   18093     hardcode_into_libs=yes
   18094     ;;
   18095   *) # from 4.6 on, and DragonFly
   18096     shlibpath_overrides_runpath=yes
   18097     hardcode_into_libs=yes
   18098     ;;
   18099   esac
   18100   ;;
   18101 
   18102 haiku*)
   18103   version_type=linux # correct to gnu/linux during the next big refactor
   18104   need_lib_prefix=no
   18105   need_version=no
   18106   dynamic_linker="$host_os runtime_loader"
   18107   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18108   soname_spec='$libname$release$shared_ext$major'
   18109   shlibpath_var=LIBRARY_PATH
   18110   shlibpath_overrides_runpath=no
   18111   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18112   hardcode_into_libs=yes
   18113   ;;
   18114 
   18115 hpux9* | hpux10* | hpux11*)
   18116   # Give a soname corresponding to the major version so that dld.sl refuses to
   18117   # link against other versions.
   18118   version_type=sunos
   18119   need_lib_prefix=no
   18120   need_version=no
   18121   case $host_cpu in
   18122   ia64*)
   18123     shrext_cmds='.so'
   18124     hardcode_into_libs=yes
   18125     dynamic_linker="$host_os dld.so"
   18126     shlibpath_var=LD_LIBRARY_PATH
   18127     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18128     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18129     soname_spec='$libname$release$shared_ext$major'
   18130     if test 32 = "$HPUX_IA64_MODE"; then
   18131       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18132       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18133     else
   18134       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18135       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18136     fi
   18137     ;;
   18138   hppa*64*)
   18139     shrext_cmds='.sl'
   18140     hardcode_into_libs=yes
   18141     dynamic_linker="$host_os dld.sl"
   18142     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18143     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18144     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18145     soname_spec='$libname$release$shared_ext$major'
   18146     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18147     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18148     ;;
   18149   *)
   18150     shrext_cmds='.sl'
   18151     dynamic_linker="$host_os dld.sl"
   18152     shlibpath_var=SHLIB_PATH
   18153     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18154     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18155     soname_spec='$libname$release$shared_ext$major'
   18156     ;;
   18157   esac
   18158   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18159   postinstall_cmds='chmod 555 $lib'
   18160   # or fails outright, so override atomically:
   18161   install_override_mode=555
   18162   ;;
   18163 
   18164 interix[3-9]*)
   18165   version_type=linux # correct to gnu/linux during the next big refactor
   18166   need_lib_prefix=no
   18167   need_version=no
   18168   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18169   soname_spec='$libname$release$shared_ext$major'
   18170   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18171   shlibpath_var=LD_LIBRARY_PATH
   18172   shlibpath_overrides_runpath=no
   18173   hardcode_into_libs=yes
   18174   ;;
   18175 
   18176 irix5* | irix6* | nonstopux*)
   18177   case $host_os in
   18178     nonstopux*) version_type=nonstopux ;;
   18179     *)
   18180 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18181 		version_type=linux # correct to gnu/linux during the next big refactor
   18182 	else
   18183 		version_type=irix
   18184 	fi ;;
   18185   esac
   18186   need_lib_prefix=no
   18187   need_version=no
   18188   soname_spec='$libname$release$shared_ext$major'
   18189   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18190   case $host_os in
   18191   irix5* | nonstopux*)
   18192     libsuff= shlibsuff=
   18193     ;;
   18194   *)
   18195     case $LD in # libtool.m4 will add one of these switches to LD
   18196     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18197       libsuff= shlibsuff= libmagic=32-bit;;
   18198     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18199       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18200     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18201       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18202     *) libsuff= shlibsuff= libmagic=never-match;;
   18203     esac
   18204     ;;
   18205   esac
   18206   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18207   shlibpath_overrides_runpath=no
   18208   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18209   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18210   hardcode_into_libs=yes
   18211   ;;
   18212 
   18213 # No shared lib support for Linux oldld, aout, or coff.
   18214 linux*oldld* | linux*aout* | linux*coff*)
   18215   dynamic_linker=no
   18216   ;;
   18217 
   18218 linux*android*)
   18219   version_type=none # Android doesn't support versioned libraries.
   18220   need_lib_prefix=no
   18221   need_version=no
   18222   library_names_spec='$libname$release$shared_ext'
   18223   soname_spec='$libname$release$shared_ext'
   18224   finish_cmds=
   18225   shlibpath_var=LD_LIBRARY_PATH
   18226   shlibpath_overrides_runpath=yes
   18227 
   18228   # This implies no fast_install, which is unacceptable.
   18229   # Some rework will be needed to allow for fast_install
   18230   # before this can be enabled.
   18231   hardcode_into_libs=yes
   18232 
   18233   dynamic_linker='Android linker'
   18234   # Don't embed -rpath directories since the linker doesn't support them.
   18235   hardcode_libdir_flag_spec='-L$libdir'
   18236   ;;
   18237 
   18238 # This must be glibc/ELF.
   18239 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18240   version_type=linux # correct to gnu/linux during the next big refactor
   18241   need_lib_prefix=no
   18242   need_version=no
   18243   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18244   soname_spec='$libname$release$shared_ext$major'
   18245   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18246   shlibpath_var=LD_LIBRARY_PATH
   18247   shlibpath_overrides_runpath=no
   18248 
   18249   # Some binutils ld are patched to set DT_RUNPATH
   18250   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18251 then :
   18252   printf %s "(cached) " >&6
   18253 else $as_nop
   18254   lt_cv_shlibpath_overrides_runpath=no
   18255     save_LDFLAGS=$LDFLAGS
   18256     save_libdir=$libdir
   18257     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18258 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18259     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18260 /* end confdefs.h.  */
   18261 
   18262 int
   18263 main (void)
   18264 {
   18265 
   18266   ;
   18267   return 0;
   18268 }
   18269 _ACEOF
   18270 if ac_fn_c_try_link "$LINENO"
   18271 then :
   18272   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18273 then :
   18274   lt_cv_shlibpath_overrides_runpath=yes
   18275 fi
   18276 fi
   18277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18278     conftest$ac_exeext conftest.$ac_ext
   18279     LDFLAGS=$save_LDFLAGS
   18280     libdir=$save_libdir
   18281 
   18282 fi
   18283 
   18284   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18285 
   18286   # This implies no fast_install, which is unacceptable.
   18287   # Some rework will be needed to allow for fast_install
   18288   # before this can be enabled.
   18289   hardcode_into_libs=yes
   18290 
   18291   # Ideally, we could use ldconfig to report *all* directores which are
   18292   # searched for libraries, however this is still not possible.  Aside from not
   18293   # being certain /sbin/ldconfig is available, command
   18294   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18295   # even though it is searched at run-time.  Try to do the best guess by
   18296   # appending ld.so.conf contents (and includes) to the search path.
   18297   if test -f /etc/ld.so.conf; then
   18298     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' ' '`
   18299     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18300   fi
   18301 
   18302   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18303   # powerpc, because MkLinux only supported shared libraries with the
   18304   # GNU dynamic linker.  Since this was broken with cross compilers,
   18305   # most powerpc-linux boxes support dynamic linking these days and
   18306   # people can always --disable-shared, the test was removed, and we
   18307   # assume the GNU/Linux dynamic linker is in use.
   18308   dynamic_linker='GNU/Linux ld.so'
   18309   ;;
   18310 
   18311 netbsd*)
   18312   version_type=sunos
   18313   need_lib_prefix=no
   18314   need_version=no
   18315   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18316     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18317     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18318     dynamic_linker='NetBSD (a.out) ld.so'
   18319   else
   18320     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18321     soname_spec='$libname$release$shared_ext$major'
   18322     dynamic_linker='NetBSD ld.elf_so'
   18323   fi
   18324   shlibpath_var=LD_LIBRARY_PATH
   18325   shlibpath_overrides_runpath=yes
   18326   hardcode_into_libs=yes
   18327   ;;
   18328 
   18329 newsos6)
   18330   version_type=linux # correct to gnu/linux during the next big refactor
   18331   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18332   shlibpath_var=LD_LIBRARY_PATH
   18333   shlibpath_overrides_runpath=yes
   18334   ;;
   18335 
   18336 *nto* | *qnx*)
   18337   version_type=qnx
   18338   need_lib_prefix=no
   18339   need_version=no
   18340   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18341   soname_spec='$libname$release$shared_ext$major'
   18342   shlibpath_var=LD_LIBRARY_PATH
   18343   shlibpath_overrides_runpath=no
   18344   hardcode_into_libs=yes
   18345   dynamic_linker='ldqnx.so'
   18346   ;;
   18347 
   18348 openbsd* | bitrig*)
   18349   version_type=sunos
   18350   sys_lib_dlsearch_path_spec=/usr/lib
   18351   need_lib_prefix=no
   18352   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18353     need_version=no
   18354   else
   18355     need_version=yes
   18356   fi
   18357   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18358   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18359   shlibpath_var=LD_LIBRARY_PATH
   18360   shlibpath_overrides_runpath=yes
   18361   ;;
   18362 
   18363 os2*)
   18364   libname_spec='$name'
   18365   version_type=windows
   18366   shrext_cmds=.dll
   18367   need_version=no
   18368   need_lib_prefix=no
   18369   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18370   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18371     v=$($ECHO $release$versuffix | tr -d .-);
   18372     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18373     $ECHO $n$v`$shared_ext'
   18374   library_names_spec='${libname}_dll.$libext'
   18375   dynamic_linker='OS/2 ld.exe'
   18376   shlibpath_var=BEGINLIBPATH
   18377   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18378   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18379   postinstall_cmds='base_file=`basename \$file`~
   18380     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18381     dldir=$destdir/`dirname \$dlpath`~
   18382     test -d \$dldir || mkdir -p \$dldir~
   18383     $install_prog $dir/$dlname \$dldir/$dlname~
   18384     chmod a+x \$dldir/$dlname~
   18385     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18386       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18387     fi'
   18388   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18389     dlpath=$dir/\$dldll~
   18390     $RM \$dlpath'
   18391   ;;
   18392 
   18393 osf3* | osf4* | osf5*)
   18394   version_type=osf
   18395   need_lib_prefix=no
   18396   need_version=no
   18397   soname_spec='$libname$release$shared_ext$major'
   18398   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18399   shlibpath_var=LD_LIBRARY_PATH
   18400   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18401   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18402   ;;
   18403 
   18404 rdos*)
   18405   dynamic_linker=no
   18406   ;;
   18407 
   18408 solaris*)
   18409   version_type=linux # correct to gnu/linux during the next big refactor
   18410   need_lib_prefix=no
   18411   need_version=no
   18412   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18413   soname_spec='$libname$release$shared_ext$major'
   18414   shlibpath_var=LD_LIBRARY_PATH
   18415   shlibpath_overrides_runpath=yes
   18416   hardcode_into_libs=yes
   18417   # ldd complains unless libraries are executable
   18418   postinstall_cmds='chmod +x $lib'
   18419   ;;
   18420 
   18421 sunos4*)
   18422   version_type=sunos
   18423   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18424   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18425   shlibpath_var=LD_LIBRARY_PATH
   18426   shlibpath_overrides_runpath=yes
   18427   if test yes = "$with_gnu_ld"; then
   18428     need_lib_prefix=no
   18429   fi
   18430   need_version=yes
   18431   ;;
   18432 
   18433 sysv4 | sysv4.3*)
   18434   version_type=linux # correct to gnu/linux during the next big refactor
   18435   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18436   soname_spec='$libname$release$shared_ext$major'
   18437   shlibpath_var=LD_LIBRARY_PATH
   18438   case $host_vendor in
   18439     sni)
   18440       shlibpath_overrides_runpath=no
   18441       need_lib_prefix=no
   18442       runpath_var=LD_RUN_PATH
   18443       ;;
   18444     siemens)
   18445       need_lib_prefix=no
   18446       ;;
   18447     motorola)
   18448       need_lib_prefix=no
   18449       need_version=no
   18450       shlibpath_overrides_runpath=no
   18451       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18452       ;;
   18453   esac
   18454   ;;
   18455 
   18456 sysv4*MP*)
   18457   if test -d /usr/nec; then
   18458     version_type=linux # correct to gnu/linux during the next big refactor
   18459     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18460     soname_spec='$libname$shared_ext.$major'
   18461     shlibpath_var=LD_LIBRARY_PATH
   18462   fi
   18463   ;;
   18464 
   18465 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18466   version_type=sco
   18467   need_lib_prefix=no
   18468   need_version=no
   18469   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18470   soname_spec='$libname$release$shared_ext$major'
   18471   shlibpath_var=LD_LIBRARY_PATH
   18472   shlibpath_overrides_runpath=yes
   18473   hardcode_into_libs=yes
   18474   if test yes = "$with_gnu_ld"; then
   18475     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18476   else
   18477     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18478     case $host_os in
   18479       sco3.2v5*)
   18480         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18481 	;;
   18482     esac
   18483   fi
   18484   sys_lib_dlsearch_path_spec='/usr/lib'
   18485   ;;
   18486 
   18487 tpf*)
   18488   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18489   version_type=linux # correct to gnu/linux during the next big refactor
   18490   need_lib_prefix=no
   18491   need_version=no
   18492   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18493   shlibpath_var=LD_LIBRARY_PATH
   18494   shlibpath_overrides_runpath=no
   18495   hardcode_into_libs=yes
   18496   ;;
   18497 
   18498 uts4*)
   18499   version_type=linux # correct to gnu/linux during the next big refactor
   18500   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18501   soname_spec='$libname$release$shared_ext$major'
   18502   shlibpath_var=LD_LIBRARY_PATH
   18503   ;;
   18504 
   18505 *)
   18506   dynamic_linker=no
   18507   ;;
   18508 esac
   18509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18510 printf "%s\n" "$dynamic_linker" >&6; }
   18511 test no = "$dynamic_linker" && can_build_shared=no
   18512 
   18513 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18514 if test yes = "$GCC"; then
   18515   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18516 fi
   18517 
   18518 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18519   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18520 fi
   18521 
   18522 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18523   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18524 fi
   18525 
   18526 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18527 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18528 
   18529 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18530 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18531 
   18532 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18533 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18632 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18633 hardcode_action=
   18634 if test -n "$hardcode_libdir_flag_spec" ||
   18635    test -n "$runpath_var" ||
   18636    test yes = "$hardcode_automatic"; then
   18637 
   18638   # We can hardcode non-existent directories.
   18639   if test no != "$hardcode_direct" &&
   18640      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18641      # have to relink, otherwise we might link with an installed library
   18642      # when we should be linking with a yet-to-be-installed one
   18643      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18644      test no != "$hardcode_minus_L"; then
   18645     # Linking always hardcodes the temporary library directory.
   18646     hardcode_action=relink
   18647   else
   18648     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18649     hardcode_action=immediate
   18650   fi
   18651 else
   18652   # We cannot hardcode anything, or else we can only hardcode existing
   18653   # directories.
   18654   hardcode_action=unsupported
   18655 fi
   18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18657 printf "%s\n" "$hardcode_action" >&6; }
   18658 
   18659 if test relink = "$hardcode_action" ||
   18660    test yes = "$inherit_rpath"; then
   18661   # Fast installation is not supported
   18662   enable_fast_install=no
   18663 elif test yes = "$shlibpath_overrides_runpath" ||
   18664      test no = "$enable_shared"; then
   18665   # Fast installation is not necessary
   18666   enable_fast_install=needless
   18667 fi
   18668 
   18669 
   18670 
   18671 
   18672 
   18673 
   18674   if test yes != "$enable_dlopen"; then
   18675   enable_dlopen=unknown
   18676   enable_dlopen_self=unknown
   18677   enable_dlopen_self_static=unknown
   18678 else
   18679   lt_cv_dlopen=no
   18680   lt_cv_dlopen_libs=
   18681 
   18682   case $host_os in
   18683   beos*)
   18684     lt_cv_dlopen=load_add_on
   18685     lt_cv_dlopen_libs=
   18686     lt_cv_dlopen_self=yes
   18687     ;;
   18688 
   18689   mingw* | pw32* | cegcc*)
   18690     lt_cv_dlopen=LoadLibrary
   18691     lt_cv_dlopen_libs=
   18692     ;;
   18693 
   18694   cygwin*)
   18695     lt_cv_dlopen=dlopen
   18696     lt_cv_dlopen_libs=
   18697     ;;
   18698 
   18699   darwin*)
   18700     # if libdl is installed we need to link against it
   18701     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18702 printf %s "checking for dlopen in -ldl... " >&6; }
   18703 if test ${ac_cv_lib_dl_dlopen+y}
   18704 then :
   18705   printf %s "(cached) " >&6
   18706 else $as_nop
   18707   ac_check_lib_save_LIBS=$LIBS
   18708 LIBS="-ldl  $LIBS"
   18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18710 /* end confdefs.h.  */
   18711 
   18712 /* Override any GCC internal prototype to avoid an error.
   18713    Use char because int might match the return type of a GCC
   18714    builtin and then its argument prototype would still apply.  */
   18715 char dlopen ();
   18716 int
   18717 main (void)
   18718 {
   18719 return dlopen ();
   18720   ;
   18721   return 0;
   18722 }
   18723 _ACEOF
   18724 if ac_fn_c_try_link "$LINENO"
   18725 then :
   18726   ac_cv_lib_dl_dlopen=yes
   18727 else $as_nop
   18728   ac_cv_lib_dl_dlopen=no
   18729 fi
   18730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18731     conftest$ac_exeext conftest.$ac_ext
   18732 LIBS=$ac_check_lib_save_LIBS
   18733 fi
   18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18735 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18736 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18737 then :
   18738   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18739 else $as_nop
   18740 
   18741     lt_cv_dlopen=dyld
   18742     lt_cv_dlopen_libs=
   18743     lt_cv_dlopen_self=yes
   18744 
   18745 fi
   18746 
   18747     ;;
   18748 
   18749   tpf*)
   18750     # Don't try to run any link tests for TPF.  We know it's impossible
   18751     # because TPF is a cross-compiler, and we know how we open DSOs.
   18752     lt_cv_dlopen=dlopen
   18753     lt_cv_dlopen_libs=
   18754     lt_cv_dlopen_self=no
   18755     ;;
   18756 
   18757   *)
   18758     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18759 if test "x$ac_cv_func_shl_load" = xyes
   18760 then :
   18761   lt_cv_dlopen=shl_load
   18762 else $as_nop
   18763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18764 printf %s "checking for shl_load in -ldld... " >&6; }
   18765 if test ${ac_cv_lib_dld_shl_load+y}
   18766 then :
   18767   printf %s "(cached) " >&6
   18768 else $as_nop
   18769   ac_check_lib_save_LIBS=$LIBS
   18770 LIBS="-ldld  $LIBS"
   18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18772 /* end confdefs.h.  */
   18773 
   18774 /* Override any GCC internal prototype to avoid an error.
   18775    Use char because int might match the return type of a GCC
   18776    builtin and then its argument prototype would still apply.  */
   18777 char shl_load ();
   18778 int
   18779 main (void)
   18780 {
   18781 return shl_load ();
   18782   ;
   18783   return 0;
   18784 }
   18785 _ACEOF
   18786 if ac_fn_c_try_link "$LINENO"
   18787 then :
   18788   ac_cv_lib_dld_shl_load=yes
   18789 else $as_nop
   18790   ac_cv_lib_dld_shl_load=no
   18791 fi
   18792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18793     conftest$ac_exeext conftest.$ac_ext
   18794 LIBS=$ac_check_lib_save_LIBS
   18795 fi
   18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18797 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   18798 if test "x$ac_cv_lib_dld_shl_load" = xyes
   18799 then :
   18800   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18801 else $as_nop
   18802   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18803 if test "x$ac_cv_func_dlopen" = xyes
   18804 then :
   18805   lt_cv_dlopen=dlopen
   18806 else $as_nop
   18807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18808 printf %s "checking for dlopen in -ldl... " >&6; }
   18809 if test ${ac_cv_lib_dl_dlopen+y}
   18810 then :
   18811   printf %s "(cached) " >&6
   18812 else $as_nop
   18813   ac_check_lib_save_LIBS=$LIBS
   18814 LIBS="-ldl  $LIBS"
   18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18816 /* end confdefs.h.  */
   18817 
   18818 /* Override any GCC internal prototype to avoid an error.
   18819    Use char because int might match the return type of a GCC
   18820    builtin and then its argument prototype would still apply.  */
   18821 char dlopen ();
   18822 int
   18823 main (void)
   18824 {
   18825 return dlopen ();
   18826   ;
   18827   return 0;
   18828 }
   18829 _ACEOF
   18830 if ac_fn_c_try_link "$LINENO"
   18831 then :
   18832   ac_cv_lib_dl_dlopen=yes
   18833 else $as_nop
   18834   ac_cv_lib_dl_dlopen=no
   18835 fi
   18836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18837     conftest$ac_exeext conftest.$ac_ext
   18838 LIBS=$ac_check_lib_save_LIBS
   18839 fi
   18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18841 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18842 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18843 then :
   18844   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18845 else $as_nop
   18846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18847 printf %s "checking for dlopen in -lsvld... " >&6; }
   18848 if test ${ac_cv_lib_svld_dlopen+y}
   18849 then :
   18850   printf %s "(cached) " >&6
   18851 else $as_nop
   18852   ac_check_lib_save_LIBS=$LIBS
   18853 LIBS="-lsvld  $LIBS"
   18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18855 /* end confdefs.h.  */
   18856 
   18857 /* Override any GCC internal prototype to avoid an error.
   18858    Use char because int might match the return type of a GCC
   18859    builtin and then its argument prototype would still apply.  */
   18860 char dlopen ();
   18861 int
   18862 main (void)
   18863 {
   18864 return dlopen ();
   18865   ;
   18866   return 0;
   18867 }
   18868 _ACEOF
   18869 if ac_fn_c_try_link "$LINENO"
   18870 then :
   18871   ac_cv_lib_svld_dlopen=yes
   18872 else $as_nop
   18873   ac_cv_lib_svld_dlopen=no
   18874 fi
   18875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18876     conftest$ac_exeext conftest.$ac_ext
   18877 LIBS=$ac_check_lib_save_LIBS
   18878 fi
   18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18880 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   18881 if test "x$ac_cv_lib_svld_dlopen" = xyes
   18882 then :
   18883   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18884 else $as_nop
   18885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18886 printf %s "checking for dld_link in -ldld... " >&6; }
   18887 if test ${ac_cv_lib_dld_dld_link+y}
   18888 then :
   18889   printf %s "(cached) " >&6
   18890 else $as_nop
   18891   ac_check_lib_save_LIBS=$LIBS
   18892 LIBS="-ldld  $LIBS"
   18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18894 /* end confdefs.h.  */
   18895 
   18896 /* Override any GCC internal prototype to avoid an error.
   18897    Use char because int might match the return type of a GCC
   18898    builtin and then its argument prototype would still apply.  */
   18899 char dld_link ();
   18900 int
   18901 main (void)
   18902 {
   18903 return dld_link ();
   18904   ;
   18905   return 0;
   18906 }
   18907 _ACEOF
   18908 if ac_fn_c_try_link "$LINENO"
   18909 then :
   18910   ac_cv_lib_dld_dld_link=yes
   18911 else $as_nop
   18912   ac_cv_lib_dld_dld_link=no
   18913 fi
   18914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18915     conftest$ac_exeext conftest.$ac_ext
   18916 LIBS=$ac_check_lib_save_LIBS
   18917 fi
   18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18919 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   18920 if test "x$ac_cv_lib_dld_dld_link" = xyes
   18921 then :
   18922   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18923 fi
   18924 
   18925 
   18926 fi
   18927 
   18928 
   18929 fi
   18930 
   18931 
   18932 fi
   18933 
   18934 
   18935 fi
   18936 
   18937 
   18938 fi
   18939 
   18940     ;;
   18941   esac
   18942 
   18943   if test no = "$lt_cv_dlopen"; then
   18944     enable_dlopen=no
   18945   else
   18946     enable_dlopen=yes
   18947   fi
   18948 
   18949   case $lt_cv_dlopen in
   18950   dlopen)
   18951     save_CPPFLAGS=$CPPFLAGS
   18952     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18953 
   18954     save_LDFLAGS=$LDFLAGS
   18955     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18956 
   18957     save_LIBS=$LIBS
   18958     LIBS="$lt_cv_dlopen_libs $LIBS"
   18959 
   18960     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18961 printf %s "checking whether a program can dlopen itself... " >&6; }
   18962 if test ${lt_cv_dlopen_self+y}
   18963 then :
   18964   printf %s "(cached) " >&6
   18965 else $as_nop
   18966   	  if test yes = "$cross_compiling"; then :
   18967   lt_cv_dlopen_self=cross
   18968 else
   18969   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18970   lt_status=$lt_dlunknown
   18971   cat > conftest.$ac_ext <<_LT_EOF
   18972 #line $LINENO "configure"
   18973 #include "confdefs.h"
   18974 
   18975 #if HAVE_DLFCN_H
   18976 #include <dlfcn.h>
   18977 #endif
   18978 
   18979 #include <stdio.h>
   18980 
   18981 #ifdef RTLD_GLOBAL
   18982 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18983 #else
   18984 #  ifdef DL_GLOBAL
   18985 #    define LT_DLGLOBAL		DL_GLOBAL
   18986 #  else
   18987 #    define LT_DLGLOBAL		0
   18988 #  endif
   18989 #endif
   18990 
   18991 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18992    find out it does not work in some platform. */
   18993 #ifndef LT_DLLAZY_OR_NOW
   18994 #  ifdef RTLD_LAZY
   18995 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18996 #  else
   18997 #    ifdef DL_LAZY
   18998 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18999 #    else
   19000 #      ifdef RTLD_NOW
   19001 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19002 #      else
   19003 #        ifdef DL_NOW
   19004 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19005 #        else
   19006 #          define LT_DLLAZY_OR_NOW	0
   19007 #        endif
   19008 #      endif
   19009 #    endif
   19010 #  endif
   19011 #endif
   19012 
   19013 /* When -fvisibility=hidden is used, assume the code has been annotated
   19014    correspondingly for the symbols needed.  */
   19015 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19016 int fnord () __attribute__((visibility("default")));
   19017 #endif
   19018 
   19019 int fnord () { return 42; }
   19020 int main ()
   19021 {
   19022   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19023   int status = $lt_dlunknown;
   19024 
   19025   if (self)
   19026     {
   19027       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19028       else
   19029         {
   19030 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19031           else puts (dlerror ());
   19032 	}
   19033       /* dlclose (self); */
   19034     }
   19035   else
   19036     puts (dlerror ());
   19037 
   19038   return status;
   19039 }
   19040 _LT_EOF
   19041   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19042   (eval $ac_link) 2>&5
   19043   ac_status=$?
   19044   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19045   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19046     (./conftest; exit; ) >&5 2>/dev/null
   19047     lt_status=$?
   19048     case x$lt_status in
   19049       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19050       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19051       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19052     esac
   19053   else :
   19054     # compilation failed
   19055     lt_cv_dlopen_self=no
   19056   fi
   19057 fi
   19058 rm -fr conftest*
   19059 
   19060 
   19061 fi
   19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19063 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19064 
   19065     if test yes = "$lt_cv_dlopen_self"; then
   19066       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19067       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19068 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19069 if test ${lt_cv_dlopen_self_static+y}
   19070 then :
   19071   printf %s "(cached) " >&6
   19072 else $as_nop
   19073   	  if test yes = "$cross_compiling"; then :
   19074   lt_cv_dlopen_self_static=cross
   19075 else
   19076   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19077   lt_status=$lt_dlunknown
   19078   cat > conftest.$ac_ext <<_LT_EOF
   19079 #line $LINENO "configure"
   19080 #include "confdefs.h"
   19081 
   19082 #if HAVE_DLFCN_H
   19083 #include <dlfcn.h>
   19084 #endif
   19085 
   19086 #include <stdio.h>
   19087 
   19088 #ifdef RTLD_GLOBAL
   19089 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19090 #else
   19091 #  ifdef DL_GLOBAL
   19092 #    define LT_DLGLOBAL		DL_GLOBAL
   19093 #  else
   19094 #    define LT_DLGLOBAL		0
   19095 #  endif
   19096 #endif
   19097 
   19098 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19099    find out it does not work in some platform. */
   19100 #ifndef LT_DLLAZY_OR_NOW
   19101 #  ifdef RTLD_LAZY
   19102 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19103 #  else
   19104 #    ifdef DL_LAZY
   19105 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19106 #    else
   19107 #      ifdef RTLD_NOW
   19108 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19109 #      else
   19110 #        ifdef DL_NOW
   19111 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19112 #        else
   19113 #          define LT_DLLAZY_OR_NOW	0
   19114 #        endif
   19115 #      endif
   19116 #    endif
   19117 #  endif
   19118 #endif
   19119 
   19120 /* When -fvisibility=hidden is used, assume the code has been annotated
   19121    correspondingly for the symbols needed.  */
   19122 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19123 int fnord () __attribute__((visibility("default")));
   19124 #endif
   19125 
   19126 int fnord () { return 42; }
   19127 int main ()
   19128 {
   19129   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19130   int status = $lt_dlunknown;
   19131 
   19132   if (self)
   19133     {
   19134       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19135       else
   19136         {
   19137 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19138           else puts (dlerror ());
   19139 	}
   19140       /* dlclose (self); */
   19141     }
   19142   else
   19143     puts (dlerror ());
   19144 
   19145   return status;
   19146 }
   19147 _LT_EOF
   19148   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19149   (eval $ac_link) 2>&5
   19150   ac_status=$?
   19151   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19152   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19153     (./conftest; exit; ) >&5 2>/dev/null
   19154     lt_status=$?
   19155     case x$lt_status in
   19156       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19157       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19158       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19159     esac
   19160   else :
   19161     # compilation failed
   19162     lt_cv_dlopen_self_static=no
   19163   fi
   19164 fi
   19165 rm -fr conftest*
   19166 
   19167 
   19168 fi
   19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19170 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19171     fi
   19172 
   19173     CPPFLAGS=$save_CPPFLAGS
   19174     LDFLAGS=$save_LDFLAGS
   19175     LIBS=$save_LIBS
   19176     ;;
   19177   esac
   19178 
   19179   case $lt_cv_dlopen_self in
   19180   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19181   *) enable_dlopen_self=unknown ;;
   19182   esac
   19183 
   19184   case $lt_cv_dlopen_self_static in
   19185   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19186   *) enable_dlopen_self_static=unknown ;;
   19187   esac
   19188 fi
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 striplib=
   19207 old_striplib=
   19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19209 printf %s "checking whether stripping libraries is possible... " >&6; }
   19210 if test -z "$STRIP"; then
   19211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19212 printf "%s\n" "no" >&6; }
   19213 else
   19214   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19215     old_striplib="$STRIP --strip-debug"
   19216     striplib="$STRIP --strip-unneeded"
   19217     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19218 printf "%s\n" "yes" >&6; }
   19219   else
   19220     case $host_os in
   19221     darwin*)
   19222       # FIXME - insert some real tests, host_os isn't really good enough
   19223       striplib="$STRIP -x"
   19224       old_striplib="$STRIP -S"
   19225       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19226 printf "%s\n" "yes" >&6; }
   19227       ;;
   19228     freebsd*)
   19229       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19230         old_striplib="$STRIP --strip-debug"
   19231         striplib="$STRIP --strip-unneeded"
   19232         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19233 printf "%s\n" "yes" >&6; }
   19234       else
   19235         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19236 printf "%s\n" "no" >&6; }
   19237       fi
   19238       ;;
   19239     *)
   19240       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19241 printf "%s\n" "no" >&6; }
   19242       ;;
   19243     esac
   19244   fi
   19245 fi
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258   # Report what library types will actually be built
   19259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19260 printf %s "checking if libtool supports shared libraries... " >&6; }
   19261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19262 printf "%s\n" "$can_build_shared" >&6; }
   19263 
   19264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19265 printf %s "checking whether to build shared libraries... " >&6; }
   19266   test no = "$can_build_shared" && enable_shared=no
   19267 
   19268   # On AIX, shared libraries and static libraries use the same namespace, and
   19269   # are all built from PIC.
   19270   case $host_os in
   19271   aix3*)
   19272     test yes = "$enable_shared" && enable_static=no
   19273     if test -n "$RANLIB"; then
   19274       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19275       postinstall_cmds='$RANLIB $lib'
   19276     fi
   19277     ;;
   19278 
   19279   aix[4-9]*)
   19280     if test ia64 != "$host_cpu"; then
   19281       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19282       yes,aix,yes) ;;			# shared object as lib.so file only
   19283       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19284       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19285       esac
   19286     fi
   19287     ;;
   19288   esac
   19289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19290 printf "%s\n" "$enable_shared" >&6; }
   19291 
   19292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19293 printf %s "checking whether to build static libraries... " >&6; }
   19294   # Make sure either enable_shared or enable_static is yes.
   19295   test yes = "$enable_shared" || enable_static=yes
   19296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19297 printf "%s\n" "$enable_static" >&6; }
   19298 
   19299 
   19300 
   19301 
   19302 fi
   19303 ac_ext=c
   19304 ac_cpp='$CPP $CPPFLAGS'
   19305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19308 
   19309 CC=$lt_save_CC
   19310 
   19311 
   19312 
   19313 
   19314 
   19315 
   19316 
   19317 
   19318 
   19319 
   19320 
   19321 
   19322 
   19323 
   19324 
   19325         ac_config_commands="$ac_config_commands libtool"
   19326 
   19327 
   19328 
   19329 
   19330 # Only expand once:
   19331 
   19332 
   19333 case $host_cpu in
   19334     sparc*)
   19335         CCASFLAGS="-x assembler-with-cpp -Wa,-Av9a"
   19336         SPARC=yes
   19337 esac
   19338 # By default we simply use the C compiler to build assembly code.
   19339 
   19340 test "${CCAS+set}" = set || CCAS=$CC
   19341 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   19342 
   19343 
   19344 
   19345 depcc="$CCAS"   am_compiler_list=
   19346 
   19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   19348 printf %s "checking dependency style of $depcc... " >&6; }
   19349 if test ${am_cv_CCAS_dependencies_compiler_type+y}
   19350 then :
   19351   printf %s "(cached) " >&6
   19352 else $as_nop
   19353   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19354   # We make a subdir and do the tests there.  Otherwise we can end up
   19355   # making bogus files that we don't know about and never remove.  For
   19356   # instance it was reported that on HP-UX the gcc test will end up
   19357   # making a dummy file named 'D' -- because '-MD' means "put the output
   19358   # in D".
   19359   rm -rf conftest.dir
   19360   mkdir conftest.dir
   19361   # Copy depcomp to subdir because otherwise we won't find it if we're
   19362   # using a relative directory.
   19363   cp "$am_depcomp" conftest.dir
   19364   cd conftest.dir
   19365   # We will build objects and dependencies in a subdirectory because
   19366   # it helps to detect inapplicable dependency modes.  For instance
   19367   # both Tru64's cc and ICC support -MD to output dependencies as a
   19368   # side effect of compilation, but ICC will put the dependencies in
   19369   # the current directory while Tru64 will put them in the object
   19370   # directory.
   19371   mkdir sub
   19372 
   19373   am_cv_CCAS_dependencies_compiler_type=none
   19374   if test "$am_compiler_list" = ""; then
   19375      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19376   fi
   19377   am__universal=false
   19378 
   19379 
   19380   for depmode in $am_compiler_list; do
   19381     # Setup a source with many dependencies, because some compilers
   19382     # like to wrap large dependency lists on column 80 (with \), and
   19383     # we should not choose a depcomp mode which is confused by this.
   19384     #
   19385     # We need to recreate these files for each test, as the compiler may
   19386     # overwrite some of them when testing with obscure command lines.
   19387     # This happens at least with the AIX C compiler.
   19388     : > sub/conftest.c
   19389     for i in 1 2 3 4 5 6; do
   19390       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19391       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   19392       # Solaris 10 /bin/sh.
   19393       echo '/* dummy */' > sub/conftst$i.h
   19394     done
   19395     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19396 
   19397     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   19398     # mode.  It turns out that the SunPro C++ compiler does not properly
   19399     # handle '-M -o', and we need to detect this.  Also, some Intel
   19400     # versions had trouble with output in subdirs.
   19401     am__obj=sub/conftest.${OBJEXT-o}
   19402     am__minus_obj="-o $am__obj"
   19403     case $depmode in
   19404     gcc)
   19405       # This depmode causes a compiler race in universal mode.
   19406       test "$am__universal" = false || continue
   19407       ;;
   19408     nosideeffect)
   19409       # After this tag, mechanisms are not by side-effect, so they'll
   19410       # only be used when explicitly requested.
   19411       if test "x$enable_dependency_tracking" = xyes; then
   19412 	continue
   19413       else
   19414 	break
   19415       fi
   19416       ;;
   19417     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   19418       # This compiler won't grok '-c -o', but also, the minuso test has
   19419       # not run yet.  These depmodes are late enough in the game, and
   19420       # so weak that their functioning should not be impacted.
   19421       am__obj=conftest.${OBJEXT-o}
   19422       am__minus_obj=
   19423       ;;
   19424     none) break ;;
   19425     esac
   19426     if depmode=$depmode \
   19427        source=sub/conftest.c object=$am__obj \
   19428        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   19429        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   19430          >/dev/null 2>conftest.err &&
   19431        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   19432        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   19433        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   19434        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   19435       # icc doesn't choke on unknown options, it will just issue warnings
   19436       # or remarks (even with -Werror).  So we grep stderr for any message
   19437       # that says an option was ignored or not supported.
   19438       # When given -MP, icc 7.0 and 7.1 complain thusly:
   19439       #   icc: Command line warning: ignoring option '-M'; no argument required
   19440       # The diagnosis changed in icc 8.0:
   19441       #   icc: Command line remark: option '-MP' not supported
   19442       if (grep 'ignoring option' conftest.err ||
   19443           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   19444         am_cv_CCAS_dependencies_compiler_type=$depmode
   19445         break
   19446       fi
   19447     fi
   19448   done
   19449 
   19450   cd ..
   19451   rm -rf conftest.dir
   19452 else
   19453   am_cv_CCAS_dependencies_compiler_type=none
   19454 fi
   19455 
   19456 fi
   19457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   19458 printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   19459 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   19460 
   19461  if
   19462   test "x$enable_dependency_tracking" != xno \
   19463   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   19464   am__fastdepCCAS_TRUE=
   19465   am__fastdepCCAS_FALSE='#'
   19466 else
   19467   am__fastdepCCAS_TRUE='#'
   19468   am__fastdepCCAS_FALSE=
   19469 fi
   19470 
   19471 
   19472 
   19473 
   19474 
   19475 # Define a configure option for an alternate module directory
   19476 
   19477 # Check whether --with-xorg-module-dir was given.
   19478 if test ${with_xorg_module_dir+y}
   19479 then :
   19480   withval=$with_xorg_module_dir; moduledir="$withval"
   19481 else $as_nop
   19482   moduledir="$libdir/xorg/modules"
   19483 fi
   19484 
   19485 
   19486 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19487 
   19488 
   19489 	SAVE_CFLAGS="$CFLAGS"
   19490 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19491 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19492 /* end confdefs.h.  */
   19493 
   19494 #include "xorg-server.h"
   19495 #if !defined RANDR
   19496 #error RANDR not defined
   19497 #endif
   19498 
   19499 int
   19500 main (void)
   19501 {
   19502 
   19503   ;
   19504   return 0;
   19505 }
   19506 _ACEOF
   19507 if ac_fn_c_try_compile "$LINENO"
   19508 then :
   19509   _EXT_CHECK=yes
   19510 else $as_nop
   19511   _EXT_CHECK=no
   19512 fi
   19513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19514 	CFLAGS="$SAVE_CFLAGS"
   19515 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19516 printf %s "checking if RANDR is defined... " >&6; }
   19517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19518 printf "%s\n" "$_EXT_CHECK" >&6; }
   19519 	if test "$_EXT_CHECK" != no; then
   19520 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19521 	fi
   19522 
   19523 
   19524 
   19525 	SAVE_CFLAGS="$CFLAGS"
   19526 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19527 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19528 /* end confdefs.h.  */
   19529 
   19530 #include "xorg-server.h"
   19531 #if !defined RENDER
   19532 #error RENDER not defined
   19533 #endif
   19534 
   19535 int
   19536 main (void)
   19537 {
   19538 
   19539   ;
   19540   return 0;
   19541 }
   19542 _ACEOF
   19543 if ac_fn_c_try_compile "$LINENO"
   19544 then :
   19545   _EXT_CHECK=yes
   19546 else $as_nop
   19547   _EXT_CHECK=no
   19548 fi
   19549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19550 	CFLAGS="$SAVE_CFLAGS"
   19551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19552 printf %s "checking if RENDER is defined... " >&6; }
   19553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19554 printf "%s\n" "$_EXT_CHECK" >&6; }
   19555 	if test "$_EXT_CHECK" != no; then
   19556 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19557 	fi
   19558 
   19559 
   19560 
   19561 	SAVE_CFLAGS="$CFLAGS"
   19562 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19563 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19564 /* end confdefs.h.  */
   19565 
   19566 #include "xorg-server.h"
   19567 #if !defined DPMSExtension
   19568 #error DPMSExtension not defined
   19569 #endif
   19570 
   19571 int
   19572 main (void)
   19573 {
   19574 
   19575   ;
   19576   return 0;
   19577 }
   19578 _ACEOF
   19579 if ac_fn_c_try_compile "$LINENO"
   19580 then :
   19581   _EXT_CHECK=yes
   19582 else $as_nop
   19583   _EXT_CHECK=no
   19584 fi
   19585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19586 	CFLAGS="$SAVE_CFLAGS"
   19587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   19588 printf %s "checking if DPMSExtension is defined... " >&6; }
   19589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19590 printf "%s\n" "$_EXT_CHECK" >&6; }
   19591 	if test "$_EXT_CHECK" != no; then
   19592 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19593 	fi
   19594 
   19595 
   19596 # Obtain compiler/linker options for the driver dependencies
   19597 
   19598 pkg_failed=no
   19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19600 printf %s "checking for XORG... " >&6; }
   19601 
   19602 if test -n "$XORG_CFLAGS"; then
   19603     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19604  elif test -n "$PKG_CONFIG"; then
   19605     if test -n "$PKG_CONFIG" && \
   19606     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19607   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19608   ac_status=$?
   19609   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19610   test $ac_status = 0; }; then
   19611   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19612 		      test "x$?" != "x0" && pkg_failed=yes
   19613 else
   19614   pkg_failed=yes
   19615 fi
   19616  else
   19617     pkg_failed=untried
   19618 fi
   19619 if test -n "$XORG_LIBS"; then
   19620     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19621  elif test -n "$PKG_CONFIG"; then
   19622     if test -n "$PKG_CONFIG" && \
   19623     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19624   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19625   ac_status=$?
   19626   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19627   test $ac_status = 0; }; then
   19628   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19629 		      test "x$?" != "x0" && pkg_failed=yes
   19630 else
   19631   pkg_failed=yes
   19632 fi
   19633  else
   19634     pkg_failed=untried
   19635 fi
   19636 
   19637 
   19638 
   19639 if test $pkg_failed = yes; then
   19640    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19641 printf "%s\n" "no" >&6; }
   19642 
   19643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19644         _pkg_short_errors_supported=yes
   19645 else
   19646         _pkg_short_errors_supported=no
   19647 fi
   19648         if test $_pkg_short_errors_supported = yes; then
   19649 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19650         else
   19651 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19652         fi
   19653 	# Put the nasty error message in config.log where it belongs
   19654 	echo "$XORG_PKG_ERRORS" >&5
   19655 
   19656 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   19657 
   19658 $XORG_PKG_ERRORS
   19659 
   19660 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19661 installed software in a non-standard prefix.
   19662 
   19663 Alternatively, you may set the environment variables XORG_CFLAGS
   19664 and XORG_LIBS to avoid the need to call pkg-config.
   19665 See the pkg-config man page for more details." "$LINENO" 5
   19666 elif test $pkg_failed = untried; then
   19667      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19668 printf "%s\n" "no" >&6; }
   19669 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19670 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19671 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19672 is in your PATH or set the PKG_CONFIG environment variable to the full
   19673 path to pkg-config.
   19674 
   19675 Alternatively, you may set the environment variables XORG_CFLAGS
   19676 and XORG_LIBS to avoid the need to call pkg-config.
   19677 See the pkg-config man page for more details.
   19678 
   19679 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19680 See \`config.log' for more details" "$LINENO" 5; }
   19681 else
   19682 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19683 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19684         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19685 printf "%s\n" "yes" >&6; }
   19686 
   19687 fi
   19688 
   19689 pkg_failed=no
   19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   19691 printf %s "checking for XEXT... " >&6; }
   19692 
   19693 if test -n "$XEXT_CFLAGS"; then
   19694     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   19695  elif test -n "$PKG_CONFIG"; then
   19696     if test -n "$PKG_CONFIG" && \
   19697     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19698   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19699   ac_status=$?
   19700   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19701   test $ac_status = 0; }; then
   19702   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   19703 		      test "x$?" != "x0" && pkg_failed=yes
   19704 else
   19705   pkg_failed=yes
   19706 fi
   19707  else
   19708     pkg_failed=untried
   19709 fi
   19710 if test -n "$XEXT_LIBS"; then
   19711     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   19712  elif test -n "$PKG_CONFIG"; then
   19713     if test -n "$PKG_CONFIG" && \
   19714     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   19715   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   19716   ac_status=$?
   19717   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19718   test $ac_status = 0; }; then
   19719   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   19720 		      test "x$?" != "x0" && pkg_failed=yes
   19721 else
   19722   pkg_failed=yes
   19723 fi
   19724  else
   19725     pkg_failed=untried
   19726 fi
   19727 
   19728 
   19729 
   19730 if test $pkg_failed = yes; then
   19731    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19732 printf "%s\n" "no" >&6; }
   19733 
   19734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19735         _pkg_short_errors_supported=yes
   19736 else
   19737         _pkg_short_errors_supported=no
   19738 fi
   19739         if test $_pkg_short_errors_supported = yes; then
   19740 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19741         else
   19742 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19743         fi
   19744 	# Put the nasty error message in config.log where it belongs
   19745 	echo "$XEXT_PKG_ERRORS" >&5
   19746 
   19747 	HAVE_XEXTPROTO_71="no"
   19748 elif test $pkg_failed = untried; then
   19749      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19750 printf "%s\n" "no" >&6; }
   19751 	HAVE_XEXTPROTO_71="no"
   19752 else
   19753 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19754 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19755         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19756 printf "%s\n" "yes" >&6; }
   19757 	HAVE_XEXTPROTO_71="yes";
   19758 printf "%s\n" "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   19759 
   19760 fi
   19761  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   19762   HAVE_XEXTPROTO_71_TRUE=
   19763   HAVE_XEXTPROTO_71_FALSE='#'
   19764 else
   19765   HAVE_XEXTPROTO_71_TRUE='#'
   19766   HAVE_XEXTPROTO_71_FALSE=
   19767 fi
   19768 
   19769 
   19770 # Checks for libraries.
   19771 
   19772 # Check whether --enable-xaa was given.
   19773 if test ${enable_xaa+y}
   19774 then :
   19775   enableval=$enable_xaa; XAA="$enableval"
   19776 else $as_nop
   19777   XAA=auto
   19778 fi
   19779 
   19780 if test "x$XAA" != xno; then
   19781         save_CFLAGS=$CFLAGS
   19782         save_CPPFLAGS=$CPPFLAGS
   19783         CFLAGS=$XORG_CFLAGS
   19784         CPPFLAGS="$XORG_CFLAGS"
   19785                for ac_header in xaa.h
   19786 do :
   19787   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19788 if test "x$ac_cv_header_xaa_h" = xyes
   19789 then :
   19790   printf "%s\n" "#define HAVE_XAA_H 1" >>confdefs.h
   19791  XAA=yes
   19792 else $as_nop
   19793   XAA=no
   19794 fi
   19795 
   19796 done
   19797         CFLAGS=$save_CFLAGS
   19798         CPPFLAGS=$save_CPPFLAGS
   19799 fi
   19800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19801 printf %s "checking whether to include XAA support... " >&6; }
   19802  if test "x$XAA" = xyes; then
   19803   XAA_TRUE=
   19804   XAA_FALSE='#'
   19805 else
   19806   XAA_TRUE='#'
   19807   XAA_FALSE=
   19808 fi
   19809 
   19810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19811 printf "%s\n" "$XAA" >&6; }
   19812 
   19813  if test x$SPARC = xyes; then
   19814   SPARC_TRUE=
   19815   SPARC_FALSE='#'
   19816 else
   19817   SPARC_TRUE='#'
   19818   SPARC_FALSE=
   19819 fi
   19820 
   19821 
   19822 
   19823 
   19824 DRIVER_NAME=sunffb
   19825 
   19826 
   19827 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19828 
   19829 cat >confcache <<\_ACEOF
   19830 # This file is a shell script that caches the results of configure
   19831 # tests run on this system so they can be shared between configure
   19832 # scripts and configure runs, see configure's option --config-cache.
   19833 # It is not useful on other systems.  If it contains results you don't
   19834 # want to keep, you may remove or edit it.
   19835 #
   19836 # config.status only pays attention to the cache file if you give it
   19837 # the --recheck option to rerun configure.
   19838 #
   19839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19841 # following values.
   19842 
   19843 _ACEOF
   19844 
   19845 # The following way of writing the cache mishandles newlines in values,
   19846 # but we know of no workaround that is simple, portable, and efficient.
   19847 # So, we kill variables containing newlines.
   19848 # Ultrix sh set writes to stderr and can't be redirected directly,
   19849 # and sets the high bit in the cache file unless we assign to the vars.
   19850 (
   19851   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19852     eval ac_val=\$$ac_var
   19853     case $ac_val in #(
   19854     *${as_nl}*)
   19855       case $ac_var in #(
   19856       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19857 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19858       esac
   19859       case $ac_var in #(
   19860       _ | IFS | as_nl) ;; #(
   19861       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19862       *) { eval $ac_var=; unset $ac_var;} ;;
   19863       esac ;;
   19864     esac
   19865   done
   19866 
   19867   (set) 2>&1 |
   19868     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19869     *${as_nl}ac_space=\ *)
   19870       # `set' does not quote correctly, so add quotes: double-quote
   19871       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19872       sed -n \
   19873 	"s/'/'\\\\''/g;
   19874 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19875       ;; #(
   19876     *)
   19877       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19879       ;;
   19880     esac |
   19881     sort
   19882 ) |
   19883   sed '
   19884      /^ac_cv_env_/b end
   19885      t clear
   19886      :clear
   19887      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19888      t end
   19889      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19890      :end' >>confcache
   19891 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19892   if test -w "$cache_file"; then
   19893     if test "x$cache_file" != "x/dev/null"; then
   19894       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19895 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19896       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19897 	cat confcache >"$cache_file"
   19898       else
   19899         case $cache_file in #(
   19900         */* | ?:*)
   19901 	  mv -f confcache "$cache_file"$$ &&
   19902 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19903         *)
   19904 	  mv -f confcache "$cache_file" ;;
   19905 	esac
   19906       fi
   19907     fi
   19908   else
   19909     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19910 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19911   fi
   19912 fi
   19913 rm -f confcache
   19914 
   19915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19916 # Let make expand exec_prefix.
   19917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19918 
   19919 DEFS=-DHAVE_CONFIG_H
   19920 
   19921 ac_libobjs=
   19922 ac_ltlibobjs=
   19923 U=
   19924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19925   # 1. Remove the extension, and $U if already installed.
   19926   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19927   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19928   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19929   #    will be set to the directory where LIBOBJS objects are built.
   19930   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19931   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19932 done
   19933 LIBOBJS=$ac_libobjs
   19934 
   19935 LTLIBOBJS=$ac_ltlibobjs
   19936 
   19937 
   19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19939 printf %s "checking that generated files are newer than configure... " >&6; }
   19940    if test -n "$am_sleep_pid"; then
   19941      # Hide warnings about reused PIDs.
   19942      wait $am_sleep_pid 2>/dev/null
   19943    fi
   19944    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19945 printf "%s\n" "done" >&6; }
   19946  if test -n "$EXEEXT"; then
   19947   am__EXEEXT_TRUE=
   19948   am__EXEEXT_FALSE='#'
   19949 else
   19950   am__EXEEXT_TRUE='#'
   19951   am__EXEEXT_FALSE=
   19952 fi
   19953 
   19954 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19955   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19957 fi
   19958 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19959   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19961 fi
   19962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19963   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19965 fi
   19966 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   19967   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   19968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19969 fi
   19970 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19971   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19973 fi
   19974 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19975   as_fn_error $? "conditional \"XAA\" was never defined.
   19976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19977 fi
   19978 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
   19979   as_fn_error $? "conditional \"SPARC\" was never defined.
   19980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19981 fi
   19982 
   19983 : "${CONFIG_STATUS=./config.status}"
   19984 ac_write_fail=0
   19985 ac_clean_files_save=$ac_clean_files
   19986 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19988 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19989 as_write_fail=0
   19990 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19991 #! $SHELL
   19992 # Generated by $as_me.
   19993 # Run this file to recreate the current configuration.
   19994 # Compiler output produced by configure, useful for debugging
   19995 # configure, is in config.log if it exists.
   19996 
   19997 debug=false
   19998 ac_cs_recheck=false
   19999 ac_cs_silent=false
   20000 
   20001 SHELL=\${CONFIG_SHELL-$SHELL}
   20002 export SHELL
   20003 _ASEOF
   20004 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20005 ## -------------------- ##
   20006 ## M4sh Initialization. ##
   20007 ## -------------------- ##
   20008 
   20009 # Be more Bourne compatible
   20010 DUALCASE=1; export DUALCASE # for MKS sh
   20011 as_nop=:
   20012 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20013 then :
   20014   emulate sh
   20015   NULLCMD=:
   20016   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20017   # is contrary to our usage.  Disable this feature.
   20018   alias -g '${1+"$@"}'='"$@"'
   20019   setopt NO_GLOB_SUBST
   20020 else $as_nop
   20021   case `(set -o) 2>/dev/null` in #(
   20022   *posix*) :
   20023     set -o posix ;; #(
   20024   *) :
   20025      ;;
   20026 esac
   20027 fi
   20028 
   20029 
   20030 
   20031 # Reset variables that may have inherited troublesome values from
   20032 # the environment.
   20033 
   20034 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20035 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20036 # side effect of setting IFS to empty, thus disabling word splitting.)
   20037 # Quoting is to prevent editors from complaining about space-tab.
   20038 as_nl='
   20039 '
   20040 export as_nl
   20041 IFS=" ""	$as_nl"
   20042 
   20043 PS1='$ '
   20044 PS2='> '
   20045 PS4='+ '
   20046 
   20047 # Ensure predictable behavior from utilities with locale-dependent output.
   20048 LC_ALL=C
   20049 export LC_ALL
   20050 LANGUAGE=C
   20051 export LANGUAGE
   20052 
   20053 # We cannot yet rely on "unset" to work, but we need these variables
   20054 # to be unset--not just set to an empty or harmless value--now, to
   20055 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20056 # also avoids known problems related to "unset" and subshell syntax
   20057 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20058 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20059 do eval test \${$as_var+y} \
   20060   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20061 done
   20062 
   20063 # Ensure that fds 0, 1, and 2 are open.
   20064 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20065 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20066 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20067 
   20068 # The user is always right.
   20069 if ${PATH_SEPARATOR+false} :; then
   20070   PATH_SEPARATOR=:
   20071   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20072     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20073       PATH_SEPARATOR=';'
   20074   }
   20075 fi
   20076 
   20077 
   20078 # Find who we are.  Look in the path if we contain no directory separator.
   20079 as_myself=
   20080 case $0 in #((
   20081   *[\\/]* ) as_myself=$0 ;;
   20082   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20083 for as_dir in $PATH
   20084 do
   20085   IFS=$as_save_IFS
   20086   case $as_dir in #(((
   20087     '') as_dir=./ ;;
   20088     */) ;;
   20089     *) as_dir=$as_dir/ ;;
   20090   esac
   20091     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20092   done
   20093 IFS=$as_save_IFS
   20094 
   20095      ;;
   20096 esac
   20097 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20098 # in which case we are not to be found in the path.
   20099 if test "x$as_myself" = x; then
   20100   as_myself=$0
   20101 fi
   20102 if test ! -f "$as_myself"; then
   20103   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20104   exit 1
   20105 fi
   20106 
   20107 
   20108 
   20109 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20110 # ----------------------------------------
   20111 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20112 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20113 # script with STATUS, using 1 if that was 0.
   20114 as_fn_error ()
   20115 {
   20116   as_status=$1; test $as_status -eq 0 && as_status=1
   20117   if test "$4"; then
   20118     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20119     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20120   fi
   20121   printf "%s\n" "$as_me: error: $2" >&2
   20122   as_fn_exit $as_status
   20123 } # as_fn_error
   20124 
   20125 
   20126 
   20127 # as_fn_set_status STATUS
   20128 # -----------------------
   20129 # Set $? to STATUS, without forking.
   20130 as_fn_set_status ()
   20131 {
   20132   return $1
   20133 } # as_fn_set_status
   20134 
   20135 # as_fn_exit STATUS
   20136 # -----------------
   20137 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20138 as_fn_exit ()
   20139 {
   20140   set +e
   20141   as_fn_set_status $1
   20142   exit $1
   20143 } # as_fn_exit
   20144 
   20145 # as_fn_unset VAR
   20146 # ---------------
   20147 # Portably unset VAR.
   20148 as_fn_unset ()
   20149 {
   20150   { eval $1=; unset $1;}
   20151 }
   20152 as_unset=as_fn_unset
   20153 
   20154 # as_fn_append VAR VALUE
   20155 # ----------------------
   20156 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20157 # advantage of any shell optimizations that allow amortized linear growth over
   20158 # repeated appends, instead of the typical quadratic growth present in naive
   20159 # implementations.
   20160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20161 then :
   20162   eval 'as_fn_append ()
   20163   {
   20164     eval $1+=\$2
   20165   }'
   20166 else $as_nop
   20167   as_fn_append ()
   20168   {
   20169     eval $1=\$$1\$2
   20170   }
   20171 fi # as_fn_append
   20172 
   20173 # as_fn_arith ARG...
   20174 # ------------------
   20175 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20176 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20177 # must be portable across $(()) and expr.
   20178 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20179 then :
   20180   eval 'as_fn_arith ()
   20181   {
   20182     as_val=$(( $* ))
   20183   }'
   20184 else $as_nop
   20185   as_fn_arith ()
   20186   {
   20187     as_val=`expr "$@" || test $? -eq 1`
   20188   }
   20189 fi # as_fn_arith
   20190 
   20191 
   20192 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20193    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20194   as_expr=expr
   20195 else
   20196   as_expr=false
   20197 fi
   20198 
   20199 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20200   as_basename=basename
   20201 else
   20202   as_basename=false
   20203 fi
   20204 
   20205 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20206   as_dirname=dirname
   20207 else
   20208   as_dirname=false
   20209 fi
   20210 
   20211 as_me=`$as_basename -- "$0" ||
   20212 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20213 	 X"$0" : 'X\(//\)$' \| \
   20214 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20215 printf "%s\n" X/"$0" |
   20216     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20217 	    s//\1/
   20218 	    q
   20219 	  }
   20220 	  /^X\/\(\/\/\)$/{
   20221 	    s//\1/
   20222 	    q
   20223 	  }
   20224 	  /^X\/\(\/\).*/{
   20225 	    s//\1/
   20226 	    q
   20227 	  }
   20228 	  s/.*/./; q'`
   20229 
   20230 # Avoid depending upon Character Ranges.
   20231 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20233 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20234 as_cr_digits='0123456789'
   20235 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20236 
   20237 
   20238 # Determine whether it's possible to make 'echo' print without a newline.
   20239 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20240 # for compatibility with existing Makefiles.
   20241 ECHO_C= ECHO_N= ECHO_T=
   20242 case `echo -n x` in #(((((
   20243 -n*)
   20244   case `echo 'xy\c'` in
   20245   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20246   xy)  ECHO_C='\c';;
   20247   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20248        ECHO_T='	';;
   20249   esac;;
   20250 *)
   20251   ECHO_N='-n';;
   20252 esac
   20253 
   20254 # For backward compatibility with old third-party macros, we provide
   20255 # the shell variables $as_echo and $as_echo_n.  New code should use
   20256 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20257 as_echo='printf %s\n'
   20258 as_echo_n='printf %s'
   20259 
   20260 rm -f conf$$ conf$$.exe conf$$.file
   20261 if test -d conf$$.dir; then
   20262   rm -f conf$$.dir/conf$$.file
   20263 else
   20264   rm -f conf$$.dir
   20265   mkdir conf$$.dir 2>/dev/null
   20266 fi
   20267 if (echo >conf$$.file) 2>/dev/null; then
   20268   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20269     as_ln_s='ln -s'
   20270     # ... but there are two gotchas:
   20271     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20272     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20273     # In both cases, we have to default to `cp -pR'.
   20274     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20275       as_ln_s='cp -pR'
   20276   elif ln conf$$.file conf$$ 2>/dev/null; then
   20277     as_ln_s=ln
   20278   else
   20279     as_ln_s='cp -pR'
   20280   fi
   20281 else
   20282   as_ln_s='cp -pR'
   20283 fi
   20284 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20285 rmdir conf$$.dir 2>/dev/null
   20286 
   20287 
   20288 # as_fn_mkdir_p
   20289 # -------------
   20290 # Create "$as_dir" as a directory, including parents if necessary.
   20291 as_fn_mkdir_p ()
   20292 {
   20293 
   20294   case $as_dir in #(
   20295   -*) as_dir=./$as_dir;;
   20296   esac
   20297   test -d "$as_dir" || eval $as_mkdir_p || {
   20298     as_dirs=
   20299     while :; do
   20300       case $as_dir in #(
   20301       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20302       *) as_qdir=$as_dir;;
   20303       esac
   20304       as_dirs="'$as_qdir' $as_dirs"
   20305       as_dir=`$as_dirname -- "$as_dir" ||
   20306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20308 	 X"$as_dir" : 'X\(//\)$' \| \
   20309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20310 printf "%s\n" X"$as_dir" |
   20311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20312 	    s//\1/
   20313 	    q
   20314 	  }
   20315 	  /^X\(\/\/\)[^/].*/{
   20316 	    s//\1/
   20317 	    q
   20318 	  }
   20319 	  /^X\(\/\/\)$/{
   20320 	    s//\1/
   20321 	    q
   20322 	  }
   20323 	  /^X\(\/\).*/{
   20324 	    s//\1/
   20325 	    q
   20326 	  }
   20327 	  s/.*/./; q'`
   20328       test -d "$as_dir" && break
   20329     done
   20330     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20332 
   20333 
   20334 } # as_fn_mkdir_p
   20335 if mkdir -p . 2>/dev/null; then
   20336   as_mkdir_p='mkdir -p "$as_dir"'
   20337 else
   20338   test -d ./-p && rmdir ./-p
   20339   as_mkdir_p=false
   20340 fi
   20341 
   20342 
   20343 # as_fn_executable_p FILE
   20344 # -----------------------
   20345 # Test if FILE is an executable regular file.
   20346 as_fn_executable_p ()
   20347 {
   20348   test -f "$1" && test -x "$1"
   20349 } # as_fn_executable_p
   20350 as_test_x='test -x'
   20351 as_executable_p=as_fn_executable_p
   20352 
   20353 # Sed expression to map a string onto a valid CPP name.
   20354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20355 
   20356 # Sed expression to map a string onto a valid variable name.
   20357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20358 
   20359 
   20360 exec 6>&1
   20361 ## ----------------------------------- ##
   20362 ## Main body of $CONFIG_STATUS script. ##
   20363 ## ----------------------------------- ##
   20364 _ASEOF
   20365 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20366 
   20367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20368 # Save the log message, to keep $0 and so on meaningful, and to
   20369 # report actual input values of CONFIG_FILES etc. instead of their
   20370 # values after options handling.
   20371 ac_log="
   20372 This file was extended by xf86-video-sunffb $as_me 1.2.3, which was
   20373 generated by GNU Autoconf 2.71.  Invocation command line was
   20374 
   20375   CONFIG_FILES    = $CONFIG_FILES
   20376   CONFIG_HEADERS  = $CONFIG_HEADERS
   20377   CONFIG_LINKS    = $CONFIG_LINKS
   20378   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20379   $ $0 $@
   20380 
   20381 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20382 "
   20383 
   20384 _ACEOF
   20385 
   20386 case $ac_config_files in *"
   20387 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20388 esac
   20389 
   20390 case $ac_config_headers in *"
   20391 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20392 esac
   20393 
   20394 
   20395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20396 # Files that config.status was made for.
   20397 config_files="$ac_config_files"
   20398 config_headers="$ac_config_headers"
   20399 config_commands="$ac_config_commands"
   20400 
   20401 _ACEOF
   20402 
   20403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20404 ac_cs_usage="\
   20405 \`$as_me' instantiates files and other configuration actions
   20406 from templates according to the current configuration.  Unless the files
   20407 and actions are specified as TAGs, all are instantiated by default.
   20408 
   20409 Usage: $0 [OPTION]... [TAG]...
   20410 
   20411   -h, --help       print this help, then exit
   20412   -V, --version    print version number and configuration settings, then exit
   20413       --config     print configuration, then exit
   20414   -q, --quiet, --silent
   20415                    do not print progress messages
   20416   -d, --debug      don't remove temporary files
   20417       --recheck    update $as_me by reconfiguring in the same conditions
   20418       --file=FILE[:TEMPLATE]
   20419                    instantiate the configuration file FILE
   20420       --header=FILE[:TEMPLATE]
   20421                    instantiate the configuration header FILE
   20422 
   20423 Configuration files:
   20424 $config_files
   20425 
   20426 Configuration headers:
   20427 $config_headers
   20428 
   20429 Configuration commands:
   20430 $config_commands
   20431 
   20432 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/issues>."
   20433 
   20434 _ACEOF
   20435 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20436 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20438 ac_cs_config='$ac_cs_config_escaped'
   20439 ac_cs_version="\\
   20440 xf86-video-sunffb config.status 1.2.3
   20441 configured by $0, generated by GNU Autoconf 2.71,
   20442   with options \\"\$ac_cs_config\\"
   20443 
   20444 Copyright (C) 2021 Free Software Foundation, Inc.
   20445 This config.status script is free software; the Free Software Foundation
   20446 gives unlimited permission to copy, distribute and modify it."
   20447 
   20448 ac_pwd='$ac_pwd'
   20449 srcdir='$srcdir'
   20450 INSTALL='$INSTALL'
   20451 MKDIR_P='$MKDIR_P'
   20452 AWK='$AWK'
   20453 test -n "\$AWK" || AWK=awk
   20454 _ACEOF
   20455 
   20456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20457 # The default lists apply if the user does not specify any file.
   20458 ac_need_defaults=:
   20459 while test $# != 0
   20460 do
   20461   case $1 in
   20462   --*=?*)
   20463     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20464     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20465     ac_shift=:
   20466     ;;
   20467   --*=)
   20468     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20469     ac_optarg=
   20470     ac_shift=:
   20471     ;;
   20472   *)
   20473     ac_option=$1
   20474     ac_optarg=$2
   20475     ac_shift=shift
   20476     ;;
   20477   esac
   20478 
   20479   case $ac_option in
   20480   # Handling of the options.
   20481   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20482     ac_cs_recheck=: ;;
   20483   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20484     printf "%s\n" "$ac_cs_version"; exit ;;
   20485   --config | --confi | --conf | --con | --co | --c )
   20486     printf "%s\n" "$ac_cs_config"; exit ;;
   20487   --debug | --debu | --deb | --de | --d | -d )
   20488     debug=: ;;
   20489   --file | --fil | --fi | --f )
   20490     $ac_shift
   20491     case $ac_optarg in
   20492     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20493     '') as_fn_error $? "missing file argument" ;;
   20494     esac
   20495     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20496     ac_need_defaults=false;;
   20497   --header | --heade | --head | --hea )
   20498     $ac_shift
   20499     case $ac_optarg in
   20500     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20501     esac
   20502     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20503     ac_need_defaults=false;;
   20504   --he | --h)
   20505     # Conflict between --help and --header
   20506     as_fn_error $? "ambiguous option: \`$1'
   20507 Try \`$0 --help' for more information.";;
   20508   --help | --hel | -h )
   20509     printf "%s\n" "$ac_cs_usage"; exit ;;
   20510   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20511   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20512     ac_cs_silent=: ;;
   20513 
   20514   # This is an error.
   20515   -*) as_fn_error $? "unrecognized option: \`$1'
   20516 Try \`$0 --help' for more information." ;;
   20517 
   20518   *) as_fn_append ac_config_targets " $1"
   20519      ac_need_defaults=false ;;
   20520 
   20521   esac
   20522   shift
   20523 done
   20524 
   20525 ac_configure_extra_args=
   20526 
   20527 if $ac_cs_silent; then
   20528   exec 6>/dev/null
   20529   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20530 fi
   20531 
   20532 _ACEOF
   20533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20534 if \$ac_cs_recheck; then
   20535   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20536   shift
   20537   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20538   CONFIG_SHELL='$SHELL'
   20539   export CONFIG_SHELL
   20540   exec "\$@"
   20541 fi
   20542 
   20543 _ACEOF
   20544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20545 exec 5>>config.log
   20546 {
   20547   echo
   20548   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20549 ## Running $as_me. ##
   20550 _ASBOX
   20551   printf "%s\n" "$ac_log"
   20552 } >&5
   20553 
   20554 _ACEOF
   20555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20556 #
   20557 # INIT-COMMANDS
   20558 #
   20559 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20560 
   20561 
   20562 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20563 # if CDPATH is set.
   20564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20565 
   20566 sed_quote_subst='$sed_quote_subst'
   20567 double_quote_subst='$double_quote_subst'
   20568 delay_variable_subst='$delay_variable_subst'
   20569 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20570 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20571 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20572 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20573 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20574 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20575 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20576 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20577 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20578 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20579 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20580 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20581 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20582 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20583 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20584 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20585 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20586 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20587 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20588 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20589 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20590 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20591 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20592 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20593 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20594 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20595 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20596 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20597 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20598 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20599 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20600 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20601 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20602 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20603 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20604 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20605 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20606 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20607 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20608 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20609 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20610 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20611 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20612 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20613 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20614 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20615 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20616 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20617 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20618 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20619 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20620 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20621 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20622 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20623 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20624 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20625 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20626 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20627 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20628 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20629 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"`'
   20630 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20631 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20632 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20633 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20634 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20635 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20636 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20637 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20638 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20639 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20640 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20641 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20642 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20643 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20644 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20645 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20646 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20647 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20648 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20649 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20650 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20651 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20652 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20653 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20654 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20655 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20656 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20657 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20658 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20659 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20660 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20661 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20662 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20663 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20664 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20665 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20666 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20667 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20668 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20669 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20670 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20671 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20672 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20673 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20674 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20675 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20676 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20677 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20678 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20679 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20680 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20681 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20682 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20683 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20684 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20685 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20686 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20687 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20688 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20689 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20690 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20691 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20692 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20693 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20694 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20695 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20696 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20697 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20698 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20699 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20700 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20701 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20702 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20703 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20704 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20705 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20706 
   20707 LTCC='$LTCC'
   20708 LTCFLAGS='$LTCFLAGS'
   20709 compiler='$compiler_DEFAULT'
   20710 
   20711 # A function that is used when there is no print builtin or printf.
   20712 func_fallback_echo ()
   20713 {
   20714   eval 'cat <<_LTECHO_EOF
   20715 \$1
   20716 _LTECHO_EOF'
   20717 }
   20718 
   20719 # Quote evaled strings.
   20720 for var in SHELL \
   20721 ECHO \
   20722 PATH_SEPARATOR \
   20723 SED \
   20724 GREP \
   20725 EGREP \
   20726 FGREP \
   20727 LD \
   20728 NM \
   20729 LN_S \
   20730 lt_SP2NL \
   20731 lt_NL2SP \
   20732 reload_flag \
   20733 FILECMD \
   20734 OBJDUMP \
   20735 deplibs_check_method \
   20736 file_magic_cmd \
   20737 file_magic_glob \
   20738 want_nocaseglob \
   20739 DLLTOOL \
   20740 sharedlib_from_linklib_cmd \
   20741 AR \
   20742 archiver_list_spec \
   20743 STRIP \
   20744 RANLIB \
   20745 CC \
   20746 CFLAGS \
   20747 compiler \
   20748 lt_cv_sys_global_symbol_pipe \
   20749 lt_cv_sys_global_symbol_to_cdecl \
   20750 lt_cv_sys_global_symbol_to_import \
   20751 lt_cv_sys_global_symbol_to_c_name_address \
   20752 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20753 lt_cv_nm_interface \
   20754 nm_file_list_spec \
   20755 lt_cv_truncate_bin \
   20756 lt_prog_compiler_no_builtin_flag \
   20757 lt_prog_compiler_pic \
   20758 lt_prog_compiler_wl \
   20759 lt_prog_compiler_static \
   20760 lt_cv_prog_compiler_c_o \
   20761 need_locks \
   20762 MANIFEST_TOOL \
   20763 DSYMUTIL \
   20764 NMEDIT \
   20765 LIPO \
   20766 OTOOL \
   20767 OTOOL64 \
   20768 shrext_cmds \
   20769 export_dynamic_flag_spec \
   20770 whole_archive_flag_spec \
   20771 compiler_needs_object \
   20772 with_gnu_ld \
   20773 allow_undefined_flag \
   20774 no_undefined_flag \
   20775 hardcode_libdir_flag_spec \
   20776 hardcode_libdir_separator \
   20777 exclude_expsyms \
   20778 include_expsyms \
   20779 file_list_spec \
   20780 variables_saved_for_relink \
   20781 libname_spec \
   20782 library_names_spec \
   20783 soname_spec \
   20784 install_override_mode \
   20785 finish_eval \
   20786 old_striplib \
   20787 striplib; do
   20788     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20789     *[\\\\\\\`\\"\\\$]*)
   20790       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20791       ;;
   20792     *)
   20793       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20794       ;;
   20795     esac
   20796 done
   20797 
   20798 # Double-quote double-evaled strings.
   20799 for var in reload_cmds \
   20800 old_postinstall_cmds \
   20801 old_postuninstall_cmds \
   20802 old_archive_cmds \
   20803 extract_expsyms_cmds \
   20804 old_archive_from_new_cmds \
   20805 old_archive_from_expsyms_cmds \
   20806 archive_cmds \
   20807 archive_expsym_cmds \
   20808 module_cmds \
   20809 module_expsym_cmds \
   20810 export_symbols_cmds \
   20811 prelink_cmds \
   20812 postlink_cmds \
   20813 postinstall_cmds \
   20814 postuninstall_cmds \
   20815 finish_cmds \
   20816 sys_lib_search_path_spec \
   20817 configure_time_dlsearch_path \
   20818 configure_time_lt_sys_library_path; do
   20819     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20820     *[\\\\\\\`\\"\\\$]*)
   20821       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20822       ;;
   20823     *)
   20824       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20825       ;;
   20826     esac
   20827 done
   20828 
   20829 ac_aux_dir='$ac_aux_dir'
   20830 
   20831 # See if we are running on zsh, and set the options that allow our
   20832 # commands through without removal of \ escapes INIT.
   20833 if test -n "\${ZSH_VERSION+set}"; then
   20834    setopt NO_GLOB_SUBST
   20835 fi
   20836 
   20837 
   20838     PACKAGE='$PACKAGE'
   20839     VERSION='$VERSION'
   20840     RM='$RM'
   20841     ofile='$ofile'
   20842 
   20843 
   20844 
   20845 
   20846 _ACEOF
   20847 
   20848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20849 
   20850 # Handling of arguments.
   20851 for ac_config_target in $ac_config_targets
   20852 do
   20853   case $ac_config_target in
   20854     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20855     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20856     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20857     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20858     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20859     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20860 
   20861   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20862   esac
   20863 done
   20864 
   20865 
   20866 # If the user did not use the arguments to specify the items to instantiate,
   20867 # then the envvar interface is used.  Set only those that are not.
   20868 # We use the long form for the default assignment because of an extremely
   20869 # bizarre bug on SunOS 4.1.3.
   20870 if $ac_need_defaults; then
   20871   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20872   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20873   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20874 fi
   20875 
   20876 # Have a temporary directory for convenience.  Make it in the build tree
   20877 # simply because there is no reason against having it here, and in addition,
   20878 # creating and moving files from /tmp can sometimes cause problems.
   20879 # Hook for its removal unless debugging.
   20880 # Note that there is a small window in which the directory will not be cleaned:
   20881 # after its creation but before its name has been assigned to `$tmp'.
   20882 $debug ||
   20883 {
   20884   tmp= ac_tmp=
   20885   trap 'exit_status=$?
   20886   : "${ac_tmp:=$tmp}"
   20887   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20888 ' 0
   20889   trap 'as_fn_exit 1' 1 2 13 15
   20890 }
   20891 # Create a (secure) tmp directory for tmp files.
   20892 
   20893 {
   20894   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20895   test -d "$tmp"
   20896 }  ||
   20897 {
   20898   tmp=./conf$$-$RANDOM
   20899   (umask 077 && mkdir "$tmp")
   20900 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20901 ac_tmp=$tmp
   20902 
   20903 # Set up the scripts for CONFIG_FILES section.
   20904 # No need to generate them if there are no CONFIG_FILES.
   20905 # This happens for instance with `./config.status config.h'.
   20906 if test -n "$CONFIG_FILES"; then
   20907 
   20908 
   20909 ac_cr=`echo X | tr X '\015'`
   20910 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20911 # But we know of no other shell where ac_cr would be empty at this
   20912 # point, so we can use a bashism as a fallback.
   20913 if test "x$ac_cr" = x; then
   20914   eval ac_cr=\$\'\\r\'
   20915 fi
   20916 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20917 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20918   ac_cs_awk_cr='\\r'
   20919 else
   20920   ac_cs_awk_cr=$ac_cr
   20921 fi
   20922 
   20923 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20924 _ACEOF
   20925 
   20926 
   20927 {
   20928   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20929   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20930   echo "_ACEOF"
   20931 } >conf$$subs.sh ||
   20932   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20933 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20934 ac_delim='%!_!# '
   20935 for ac_last_try in false false false false false :; do
   20936   . ./conf$$subs.sh ||
   20937     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20938 
   20939   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20940   if test $ac_delim_n = $ac_delim_num; then
   20941     break
   20942   elif $ac_last_try; then
   20943     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20944   else
   20945     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20946   fi
   20947 done
   20948 rm -f conf$$subs.sh
   20949 
   20950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20951 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20952 _ACEOF
   20953 sed -n '
   20954 h
   20955 s/^/S["/; s/!.*/"]=/
   20956 p
   20957 g
   20958 s/^[^!]*!//
   20959 :repl
   20960 t repl
   20961 s/'"$ac_delim"'$//
   20962 t delim
   20963 :nl
   20964 h
   20965 s/\(.\{148\}\)..*/\1/
   20966 t more1
   20967 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20968 p
   20969 n
   20970 b repl
   20971 :more1
   20972 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20973 p
   20974 g
   20975 s/.\{148\}//
   20976 t nl
   20977 :delim
   20978 h
   20979 s/\(.\{148\}\)..*/\1/
   20980 t more2
   20981 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20982 p
   20983 b
   20984 :more2
   20985 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20986 p
   20987 g
   20988 s/.\{148\}//
   20989 t delim
   20990 ' <conf$$subs.awk | sed '
   20991 /^[^""]/{
   20992   N
   20993   s/\n//
   20994 }
   20995 ' >>$CONFIG_STATUS || ac_write_fail=1
   20996 rm -f conf$$subs.awk
   20997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20998 _ACAWK
   20999 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21000   for (key in S) S_is_set[key] = 1
   21001   FS = ""
   21002 
   21003 }
   21004 {
   21005   line = $ 0
   21006   nfields = split(line, field, "@")
   21007   substed = 0
   21008   len = length(field[1])
   21009   for (i = 2; i < nfields; i++) {
   21010     key = field[i]
   21011     keylen = length(key)
   21012     if (S_is_set[key]) {
   21013       value = S[key]
   21014       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21015       len += length(value) + length(field[++i])
   21016       substed = 1
   21017     } else
   21018       len += 1 + keylen
   21019   }
   21020 
   21021   print line
   21022 }
   21023 
   21024 _ACAWK
   21025 _ACEOF
   21026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21027 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21028   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21029 else
   21030   cat
   21031 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21032   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21033 _ACEOF
   21034 
   21035 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21036 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21037 # trailing colons and then remove the whole line if VPATH becomes empty
   21038 # (actually we leave an empty line to preserve line numbers).
   21039 if test "x$srcdir" = x.; then
   21040   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21041 h
   21042 s///
   21043 s/^/:/
   21044 s/[	 ]*$/:/
   21045 s/:\$(srcdir):/:/g
   21046 s/:\${srcdir}:/:/g
   21047 s/:@srcdir@:/:/g
   21048 s/^:*//
   21049 s/:*$//
   21050 x
   21051 s/\(=[	 ]*\).*/\1/
   21052 G
   21053 s/\n//
   21054 s/^[^=]*=[	 ]*$//
   21055 }'
   21056 fi
   21057 
   21058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21059 fi # test -n "$CONFIG_FILES"
   21060 
   21061 # Set up the scripts for CONFIG_HEADERS section.
   21062 # No need to generate them if there are no CONFIG_HEADERS.
   21063 # This happens for instance with `./config.status Makefile'.
   21064 if test -n "$CONFIG_HEADERS"; then
   21065 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21066 BEGIN {
   21067 _ACEOF
   21068 
   21069 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21070 # here-document in config.status, that substitutes the proper values into
   21071 # config.h.in to produce config.h.
   21072 
   21073 # Create a delimiter string that does not exist in confdefs.h, to ease
   21074 # handling of long lines.
   21075 ac_delim='%!_!# '
   21076 for ac_last_try in false false :; do
   21077   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21078   if test -z "$ac_tt"; then
   21079     break
   21080   elif $ac_last_try; then
   21081     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21082   else
   21083     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21084   fi
   21085 done
   21086 
   21087 # For the awk script, D is an array of macro values keyed by name,
   21088 # likewise P contains macro parameters if any.  Preserve backslash
   21089 # newline sequences.
   21090 
   21091 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21092 sed -n '
   21093 s/.\{148\}/&'"$ac_delim"'/g
   21094 t rset
   21095 :rset
   21096 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21097 t def
   21098 d
   21099 :def
   21100 s/\\$//
   21101 t bsnl
   21102 s/["\\]/\\&/g
   21103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21104 D["\1"]=" \3"/p
   21105 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21106 d
   21107 :bsnl
   21108 s/["\\]/\\&/g
   21109 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21110 D["\1"]=" \3\\\\\\n"\\/p
   21111 t cont
   21112 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21113 t cont
   21114 d
   21115 :cont
   21116 n
   21117 s/.\{148\}/&'"$ac_delim"'/g
   21118 t clear
   21119 :clear
   21120 s/\\$//
   21121 t bsnlc
   21122 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21123 d
   21124 :bsnlc
   21125 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21126 b cont
   21127 ' <confdefs.h | sed '
   21128 s/'"$ac_delim"'/"\\\
   21129 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21130 
   21131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21132   for (key in D) D_is_set[key] = 1
   21133   FS = ""
   21134 }
   21135 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21136   line = \$ 0
   21137   split(line, arg, " ")
   21138   if (arg[1] == "#") {
   21139     defundef = arg[2]
   21140     mac1 = arg[3]
   21141   } else {
   21142     defundef = substr(arg[1], 2)
   21143     mac1 = arg[2]
   21144   }
   21145   split(mac1, mac2, "(") #)
   21146   macro = mac2[1]
   21147   prefix = substr(line, 1, index(line, defundef) - 1)
   21148   if (D_is_set[macro]) {
   21149     # Preserve the white space surrounding the "#".
   21150     print prefix "define", macro P[macro] D[macro]
   21151     next
   21152   } else {
   21153     # Replace #undef with comments.  This is necessary, for example,
   21154     # in the case of _POSIX_SOURCE, which is predefined and required
   21155     # on some systems where configure will not decide to define it.
   21156     if (defundef == "undef") {
   21157       print "/*", prefix defundef, macro, "*/"
   21158       next
   21159     }
   21160   }
   21161 }
   21162 { print }
   21163 _ACAWK
   21164 _ACEOF
   21165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21166   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21167 fi # test -n "$CONFIG_HEADERS"
   21168 
   21169 
   21170 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21171 shift
   21172 for ac_tag
   21173 do
   21174   case $ac_tag in
   21175   :[FHLC]) ac_mode=$ac_tag; continue;;
   21176   esac
   21177   case $ac_mode$ac_tag in
   21178   :[FHL]*:*);;
   21179   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21180   :[FH]-) ac_tag=-:-;;
   21181   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21182   esac
   21183   ac_save_IFS=$IFS
   21184   IFS=:
   21185   set x $ac_tag
   21186   IFS=$ac_save_IFS
   21187   shift
   21188   ac_file=$1
   21189   shift
   21190 
   21191   case $ac_mode in
   21192   :L) ac_source=$1;;
   21193   :[FH])
   21194     ac_file_inputs=
   21195     for ac_f
   21196     do
   21197       case $ac_f in
   21198       -) ac_f="$ac_tmp/stdin";;
   21199       *) # Look for the file first in the build tree, then in the source tree
   21200 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21201 	 # because $ac_f cannot contain `:'.
   21202 	 test -f "$ac_f" ||
   21203 	   case $ac_f in
   21204 	   [\\/$]*) false;;
   21205 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21206 	   esac ||
   21207 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21208       esac
   21209       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21210       as_fn_append ac_file_inputs " '$ac_f'"
   21211     done
   21212 
   21213     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21214     # use $as_me), people would be surprised to read:
   21215     #    /* config.h.  Generated by config.status.  */
   21216     configure_input='Generated from '`
   21217 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21218 	`' by configure.'
   21219     if test x"$ac_file" != x-; then
   21220       configure_input="$ac_file.  $configure_input"
   21221       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21222 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21223     fi
   21224     # Neutralize special characters interpreted by sed in replacement strings.
   21225     case $configure_input in #(
   21226     *\&* | *\|* | *\\* )
   21227        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21228        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21229     *) ac_sed_conf_input=$configure_input;;
   21230     esac
   21231 
   21232     case $ac_tag in
   21233     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21234       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21235     esac
   21236     ;;
   21237   esac
   21238 
   21239   ac_dir=`$as_dirname -- "$ac_file" ||
   21240 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21241 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21242 	 X"$ac_file" : 'X\(//\)$' \| \
   21243 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21244 printf "%s\n" X"$ac_file" |
   21245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21246 	    s//\1/
   21247 	    q
   21248 	  }
   21249 	  /^X\(\/\/\)[^/].*/{
   21250 	    s//\1/
   21251 	    q
   21252 	  }
   21253 	  /^X\(\/\/\)$/{
   21254 	    s//\1/
   21255 	    q
   21256 	  }
   21257 	  /^X\(\/\).*/{
   21258 	    s//\1/
   21259 	    q
   21260 	  }
   21261 	  s/.*/./; q'`
   21262   as_dir="$ac_dir"; as_fn_mkdir_p
   21263   ac_builddir=.
   21264 
   21265 case "$ac_dir" in
   21266 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21267 *)
   21268   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21269   # A ".." for each directory in $ac_dir_suffix.
   21270   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21271   case $ac_top_builddir_sub in
   21272   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21273   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21274   esac ;;
   21275 esac
   21276 ac_abs_top_builddir=$ac_pwd
   21277 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21278 # for backward compatibility:
   21279 ac_top_builddir=$ac_top_build_prefix
   21280 
   21281 case $srcdir in
   21282   .)  # We are building in place.
   21283     ac_srcdir=.
   21284     ac_top_srcdir=$ac_top_builddir_sub
   21285     ac_abs_top_srcdir=$ac_pwd ;;
   21286   [\\/]* | ?:[\\/]* )  # Absolute name.
   21287     ac_srcdir=$srcdir$ac_dir_suffix;
   21288     ac_top_srcdir=$srcdir
   21289     ac_abs_top_srcdir=$srcdir ;;
   21290   *) # Relative name.
   21291     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21292     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21293     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21294 esac
   21295 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21296 
   21297 
   21298   case $ac_mode in
   21299   :F)
   21300   #
   21301   # CONFIG_FILE
   21302   #
   21303 
   21304   case $INSTALL in
   21305   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21306   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21307   esac
   21308   ac_MKDIR_P=$MKDIR_P
   21309   case $MKDIR_P in
   21310   [\\/$]* | ?:[\\/]* ) ;;
   21311   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21312   esac
   21313 _ACEOF
   21314 
   21315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21316 # If the template does not know about datarootdir, expand it.
   21317 # FIXME: This hack should be removed a few years after 2.60.
   21318 ac_datarootdir_hack=; ac_datarootdir_seen=
   21319 ac_sed_dataroot='
   21320 /datarootdir/ {
   21321   p
   21322   q
   21323 }
   21324 /@datadir@/p
   21325 /@docdir@/p
   21326 /@infodir@/p
   21327 /@localedir@/p
   21328 /@mandir@/p'
   21329 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21330 *datarootdir*) ac_datarootdir_seen=yes;;
   21331 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21333 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21334 _ACEOF
   21335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21336   ac_datarootdir_hack='
   21337   s&@datadir@&$datadir&g
   21338   s&@docdir@&$docdir&g
   21339   s&@infodir@&$infodir&g
   21340   s&@localedir@&$localedir&g
   21341   s&@mandir@&$mandir&g
   21342   s&\\\${datarootdir}&$datarootdir&g' ;;
   21343 esac
   21344 _ACEOF
   21345 
   21346 # Neutralize VPATH when `$srcdir' = `.'.
   21347 # Shell code in configure.ac might set extrasub.
   21348 # FIXME: do we really want to maintain this feature?
   21349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21350 ac_sed_extra="$ac_vpsub
   21351 $extrasub
   21352 _ACEOF
   21353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21354 :t
   21355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21356 s|@configure_input@|$ac_sed_conf_input|;t t
   21357 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21358 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21359 s&@srcdir@&$ac_srcdir&;t t
   21360 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21361 s&@top_srcdir@&$ac_top_srcdir&;t t
   21362 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21363 s&@builddir@&$ac_builddir&;t t
   21364 s&@abs_builddir@&$ac_abs_builddir&;t t
   21365 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21366 s&@INSTALL@&$ac_INSTALL&;t t
   21367 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21368 $ac_datarootdir_hack
   21369 "
   21370 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21371   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21372 
   21373 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21374   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21375   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21376       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21378 which seems to be undefined.  Please make sure it is defined" >&5
   21379 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21380 which seems to be undefined.  Please make sure it is defined" >&2;}
   21381 
   21382   rm -f "$ac_tmp/stdin"
   21383   case $ac_file in
   21384   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21385   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21386   esac \
   21387   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21388  ;;
   21389   :H)
   21390   #
   21391   # CONFIG_HEADER
   21392   #
   21393   if test x"$ac_file" != x-; then
   21394     {
   21395       printf "%s\n" "/* $configure_input  */" >&1 \
   21396       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21397     } >"$ac_tmp/config.h" \
   21398       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21399     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21400       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21401 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21402     else
   21403       rm -f "$ac_file"
   21404       mv "$ac_tmp/config.h" "$ac_file" \
   21405 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21406     fi
   21407   else
   21408     printf "%s\n" "/* $configure_input  */" >&1 \
   21409       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21410       || as_fn_error $? "could not create -" "$LINENO" 5
   21411   fi
   21412 # Compute "$ac_file"'s index in $config_headers.
   21413 _am_arg="$ac_file"
   21414 _am_stamp_count=1
   21415 for _am_header in $config_headers :; do
   21416   case $_am_header in
   21417     $_am_arg | $_am_arg:* )
   21418       break ;;
   21419     * )
   21420       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21421   esac
   21422 done
   21423 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21424 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21425 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21426 	 X"$_am_arg" : 'X\(//\)$' \| \
   21427 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21428 printf "%s\n" X"$_am_arg" |
   21429     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21430 	    s//\1/
   21431 	    q
   21432 	  }
   21433 	  /^X\(\/\/\)[^/].*/{
   21434 	    s//\1/
   21435 	    q
   21436 	  }
   21437 	  /^X\(\/\/\)$/{
   21438 	    s//\1/
   21439 	    q
   21440 	  }
   21441 	  /^X\(\/\).*/{
   21442 	    s//\1/
   21443 	    q
   21444 	  }
   21445 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21446  ;;
   21447 
   21448   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21449 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21450  ;;
   21451   esac
   21452 
   21453 
   21454   case $ac_file$ac_mode in
   21455     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21456   # Older Autoconf quotes --file arguments for eval, but not when files
   21457   # are listed without --file.  Let's play safe and only enable the eval
   21458   # if we detect the quoting.
   21459   # TODO: see whether this extra hack can be removed once we start
   21460   # requiring Autoconf 2.70 or later.
   21461   case $CONFIG_FILES in #(
   21462   *\'*) :
   21463     eval set x "$CONFIG_FILES" ;; #(
   21464   *) :
   21465     set x $CONFIG_FILES ;; #(
   21466   *) :
   21467      ;;
   21468 esac
   21469   shift
   21470   # Used to flag and report bootstrapping failures.
   21471   am_rc=0
   21472   for am_mf
   21473   do
   21474     # Strip MF so we end up with the name of the file.
   21475     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21476     # Check whether this is an Automake generated Makefile which includes
   21477     # dependency-tracking related rules and includes.
   21478     # Grep'ing the whole file directly is not great: AIX grep has a line
   21479     # limit of 2048, but all sed's we know have understand at least 4000.
   21480     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21481       || continue
   21482     am_dirpart=`$as_dirname -- "$am_mf" ||
   21483 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21484 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21485 	 X"$am_mf" : 'X\(//\)$' \| \
   21486 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21487 printf "%s\n" X"$am_mf" |
   21488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21489 	    s//\1/
   21490 	    q
   21491 	  }
   21492 	  /^X\(\/\/\)[^/].*/{
   21493 	    s//\1/
   21494 	    q
   21495 	  }
   21496 	  /^X\(\/\/\)$/{
   21497 	    s//\1/
   21498 	    q
   21499 	  }
   21500 	  /^X\(\/\).*/{
   21501 	    s//\1/
   21502 	    q
   21503 	  }
   21504 	  s/.*/./; q'`
   21505     am_filepart=`$as_basename -- "$am_mf" ||
   21506 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21507 	 X"$am_mf" : 'X\(//\)$' \| \
   21508 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21509 printf "%s\n" X/"$am_mf" |
   21510     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21511 	    s//\1/
   21512 	    q
   21513 	  }
   21514 	  /^X\/\(\/\/\)$/{
   21515 	    s//\1/
   21516 	    q
   21517 	  }
   21518 	  /^X\/\(\/\).*/{
   21519 	    s//\1/
   21520 	    q
   21521 	  }
   21522 	  s/.*/./; q'`
   21523     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21524       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21525         | $MAKE -f - am--depfiles" >&5
   21526    (cd "$am_dirpart" \
   21527       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21528         | $MAKE -f - am--depfiles) >&5 2>&5
   21529    ac_status=$?
   21530    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21531    (exit $ac_status); } || am_rc=$?
   21532   done
   21533   if test $am_rc -ne 0; then
   21534     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21535 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21536 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21537     for automatic dependency tracking.  If GNU make was not used, consider
   21538     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21539     necessary).  You can also try re-running configure with the
   21540     '--disable-dependency-tracking' option to at least be able to build
   21541     the package (albeit without support for automatic dependency tracking).
   21542 See \`config.log' for more details" "$LINENO" 5; }
   21543   fi
   21544   { am_dirpart=; unset am_dirpart;}
   21545   { am_filepart=; unset am_filepart;}
   21546   { am_mf=; unset am_mf;}
   21547   { am_rc=; unset am_rc;}
   21548   rm -f conftest-deps.mk
   21549 }
   21550  ;;
   21551     "libtool":C)
   21552 
   21553     # See if we are running on zsh, and set the options that allow our
   21554     # commands through without removal of \ escapes.
   21555     if test -n "${ZSH_VERSION+set}"; then
   21556       setopt NO_GLOB_SUBST
   21557     fi
   21558 
   21559     cfgfile=${ofile}T
   21560     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21561     $RM "$cfgfile"
   21562 
   21563     cat <<_LT_EOF >> "$cfgfile"
   21564 #! $SHELL
   21565 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21566 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21567 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21568 
   21569 # Provide generalized library-building support services.
   21570 # Written by Gordon Matzigkeit, 1996
   21571 
   21572 # Copyright (C) 2014 Free Software Foundation, Inc.
   21573 # This is free software; see the source for copying conditions.  There is NO
   21574 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21575 
   21576 # GNU Libtool is free software; you can redistribute it and/or modify
   21577 # it under the terms of the GNU General Public License as published by
   21578 # the Free Software Foundation; either version 2 of of the License, or
   21579 # (at your option) any later version.
   21580 #
   21581 # As a special exception to the GNU General Public License, if you
   21582 # distribute this file as part of a program or library that is built
   21583 # using GNU Libtool, you may include this file under the  same
   21584 # distribution terms that you use for the rest of that program.
   21585 #
   21586 # GNU Libtool is distributed in the hope that it will be useful, but
   21587 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21588 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21589 # GNU General Public License for more details.
   21590 #
   21591 # You should have received a copy of the GNU General Public License
   21592 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21593 
   21594 
   21595 # The names of the tagged configurations supported by this script.
   21596 available_tags=''
   21597 
   21598 # Configured defaults for sys_lib_dlsearch_path munging.
   21599 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21600 
   21601 # ### BEGIN LIBTOOL CONFIG
   21602 
   21603 # Whether or not to build static libraries.
   21604 build_old_libs=$enable_static
   21605 
   21606 # Which release of libtool.m4 was used?
   21607 macro_version=$macro_version
   21608 macro_revision=$macro_revision
   21609 
   21610 # Whether or not to build shared libraries.
   21611 build_libtool_libs=$enable_shared
   21612 
   21613 # What type of objects to build.
   21614 pic_mode=$pic_mode
   21615 
   21616 # Whether or not to optimize for fast installation.
   21617 fast_install=$enable_fast_install
   21618 
   21619 # Shared archive member basename,for filename based shared library versioning on AIX.
   21620 shared_archive_member_spec=$shared_archive_member_spec
   21621 
   21622 # Shell to use when invoking shell scripts.
   21623 SHELL=$lt_SHELL
   21624 
   21625 # An echo program that protects backslashes.
   21626 ECHO=$lt_ECHO
   21627 
   21628 # The PATH separator for the build system.
   21629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21630 
   21631 # The host system.
   21632 host_alias=$host_alias
   21633 host=$host
   21634 host_os=$host_os
   21635 
   21636 # The build system.
   21637 build_alias=$build_alias
   21638 build=$build
   21639 build_os=$build_os
   21640 
   21641 # A sed program that does not truncate output.
   21642 SED=$lt_SED
   21643 
   21644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21645 Xsed="\$SED -e 1s/^X//"
   21646 
   21647 # A grep program that handles long lines.
   21648 GREP=$lt_GREP
   21649 
   21650 # An ERE matcher.
   21651 EGREP=$lt_EGREP
   21652 
   21653 # A literal string matcher.
   21654 FGREP=$lt_FGREP
   21655 
   21656 # A BSD- or MS-compatible name lister.
   21657 NM=$lt_NM
   21658 
   21659 # Whether we need soft or hard links.
   21660 LN_S=$lt_LN_S
   21661 
   21662 # What is the maximum length of a command?
   21663 max_cmd_len=$max_cmd_len
   21664 
   21665 # Object file suffix (normally "o").
   21666 objext=$ac_objext
   21667 
   21668 # Executable file suffix (normally "").
   21669 exeext=$exeext
   21670 
   21671 # whether the shell understands "unset".
   21672 lt_unset=$lt_unset
   21673 
   21674 # turn spaces into newlines.
   21675 SP2NL=$lt_lt_SP2NL
   21676 
   21677 # turn newlines into spaces.
   21678 NL2SP=$lt_lt_NL2SP
   21679 
   21680 # convert \$build file names to \$host format.
   21681 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21682 
   21683 # convert \$build files to toolchain format.
   21684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21685 
   21686 # A file(cmd) program that detects file types.
   21687 FILECMD=$lt_FILECMD
   21688 
   21689 # An object symbol dumper.
   21690 OBJDUMP=$lt_OBJDUMP
   21691 
   21692 # Method to check whether dependent libraries are shared objects.
   21693 deplibs_check_method=$lt_deplibs_check_method
   21694 
   21695 # Command to use when deplibs_check_method = "file_magic".
   21696 file_magic_cmd=$lt_file_magic_cmd
   21697 
   21698 # How to find potential files when deplibs_check_method = "file_magic".
   21699 file_magic_glob=$lt_file_magic_glob
   21700 
   21701 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21702 want_nocaseglob=$lt_want_nocaseglob
   21703 
   21704 # DLL creation program.
   21705 DLLTOOL=$lt_DLLTOOL
   21706 
   21707 # Command to associate shared and link libraries.
   21708 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21709 
   21710 # The archiver.
   21711 AR=$lt_AR
   21712 
   21713 # Flags to create an archive (by configure).
   21714 lt_ar_flags=$lt_ar_flags
   21715 
   21716 # Flags to create an archive.
   21717 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21718 
   21719 # How to feed a file listing to the archiver.
   21720 archiver_list_spec=$lt_archiver_list_spec
   21721 
   21722 # A symbol stripping program.
   21723 STRIP=$lt_STRIP
   21724 
   21725 # Commands used to install an old-style archive.
   21726 RANLIB=$lt_RANLIB
   21727 old_postinstall_cmds=$lt_old_postinstall_cmds
   21728 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21729 
   21730 # Whether to use a lock for old archive extraction.
   21731 lock_old_archive_extraction=$lock_old_archive_extraction
   21732 
   21733 # A C compiler.
   21734 LTCC=$lt_CC
   21735 
   21736 # LTCC compiler flags.
   21737 LTCFLAGS=$lt_CFLAGS
   21738 
   21739 # Take the output of nm and produce a listing of raw symbols and C names.
   21740 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21741 
   21742 # Transform the output of nm in a proper C declaration.
   21743 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21744 
   21745 # Transform the output of nm into a list of symbols to manually relocate.
   21746 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21747 
   21748 # Transform the output of nm in a C name address pair.
   21749 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21750 
   21751 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21752 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21753 
   21754 # The name lister interface.
   21755 nm_interface=$lt_lt_cv_nm_interface
   21756 
   21757 # Specify filename containing input files for \$NM.
   21758 nm_file_list_spec=$lt_nm_file_list_spec
   21759 
   21760 # The root where to search for dependent libraries,and where our libraries should be installed.
   21761 lt_sysroot=$lt_sysroot
   21762 
   21763 # Command to truncate a binary pipe.
   21764 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21765 
   21766 # The name of the directory that contains temporary libtool files.
   21767 objdir=$objdir
   21768 
   21769 # Used to examine libraries when file_magic_cmd begins with "file".
   21770 MAGIC_CMD=$MAGIC_CMD
   21771 
   21772 # Must we lock files when doing compilation?
   21773 need_locks=$lt_need_locks
   21774 
   21775 # Manifest tool.
   21776 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21777 
   21778 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21779 DSYMUTIL=$lt_DSYMUTIL
   21780 
   21781 # Tool to change global to local symbols on Mac OS X.
   21782 NMEDIT=$lt_NMEDIT
   21783 
   21784 # Tool to manipulate fat objects and archives on Mac OS X.
   21785 LIPO=$lt_LIPO
   21786 
   21787 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21788 OTOOL=$lt_OTOOL
   21789 
   21790 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21791 OTOOL64=$lt_OTOOL64
   21792 
   21793 # Old archive suffix (normally "a").
   21794 libext=$libext
   21795 
   21796 # Shared library suffix (normally ".so").
   21797 shrext_cmds=$lt_shrext_cmds
   21798 
   21799 # The commands to extract the exported symbol list from a shared archive.
   21800 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21801 
   21802 # Variables whose values should be saved in libtool wrapper scripts and
   21803 # restored at link time.
   21804 variables_saved_for_relink=$lt_variables_saved_for_relink
   21805 
   21806 # Do we need the "lib" prefix for modules?
   21807 need_lib_prefix=$need_lib_prefix
   21808 
   21809 # Do we need a version for libraries?
   21810 need_version=$need_version
   21811 
   21812 # Library versioning type.
   21813 version_type=$version_type
   21814 
   21815 # Shared library runtime path variable.
   21816 runpath_var=$runpath_var
   21817 
   21818 # Shared library path variable.
   21819 shlibpath_var=$shlibpath_var
   21820 
   21821 # Is shlibpath searched before the hard-coded library search path?
   21822 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21823 
   21824 # Format of library name prefix.
   21825 libname_spec=$lt_libname_spec
   21826 
   21827 # List of archive names.  First name is the real one, the rest are links.
   21828 # The last name is the one that the linker finds with -lNAME
   21829 library_names_spec=$lt_library_names_spec
   21830 
   21831 # The coded name of the library, if different from the real name.
   21832 soname_spec=$lt_soname_spec
   21833 
   21834 # Permission mode override for installation of shared libraries.
   21835 install_override_mode=$lt_install_override_mode
   21836 
   21837 # Command to use after installation of a shared archive.
   21838 postinstall_cmds=$lt_postinstall_cmds
   21839 
   21840 # Command to use after uninstallation of a shared archive.
   21841 postuninstall_cmds=$lt_postuninstall_cmds
   21842 
   21843 # Commands used to finish a libtool library installation in a directory.
   21844 finish_cmds=$lt_finish_cmds
   21845 
   21846 # As "finish_cmds", except a single script fragment to be evaled but
   21847 # not shown.
   21848 finish_eval=$lt_finish_eval
   21849 
   21850 # Whether we should hardcode library paths into libraries.
   21851 hardcode_into_libs=$hardcode_into_libs
   21852 
   21853 # Compile-time system search path for libraries.
   21854 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21855 
   21856 # Detected run-time system search path for libraries.
   21857 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21858 
   21859 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21860 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21861 
   21862 # Whether dlopen is supported.
   21863 dlopen_support=$enable_dlopen
   21864 
   21865 # Whether dlopen of programs is supported.
   21866 dlopen_self=$enable_dlopen_self
   21867 
   21868 # Whether dlopen of statically linked programs is supported.
   21869 dlopen_self_static=$enable_dlopen_self_static
   21870 
   21871 # Commands to strip libraries.
   21872 old_striplib=$lt_old_striplib
   21873 striplib=$lt_striplib
   21874 
   21875 
   21876 # The linker used to build libraries.
   21877 LD=$lt_LD
   21878 
   21879 # How to create reloadable object files.
   21880 reload_flag=$lt_reload_flag
   21881 reload_cmds=$lt_reload_cmds
   21882 
   21883 # Commands used to build an old-style archive.
   21884 old_archive_cmds=$lt_old_archive_cmds
   21885 
   21886 # A language specific compiler.
   21887 CC=$lt_compiler
   21888 
   21889 # Is the compiler the GNU compiler?
   21890 with_gcc=$GCC
   21891 
   21892 # Compiler flag to turn off builtin functions.
   21893 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21894 
   21895 # Additional compiler flags for building library objects.
   21896 pic_flag=$lt_lt_prog_compiler_pic
   21897 
   21898 # How to pass a linker flag through the compiler.
   21899 wl=$lt_lt_prog_compiler_wl
   21900 
   21901 # Compiler flag to prevent dynamic linking.
   21902 link_static_flag=$lt_lt_prog_compiler_static
   21903 
   21904 # Does compiler simultaneously support -c and -o options?
   21905 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21906 
   21907 # Whether or not to add -lc for building shared libraries.
   21908 build_libtool_need_lc=$archive_cmds_need_lc
   21909 
   21910 # Whether or not to disallow shared libs when runtime libs are static.
   21911 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21912 
   21913 # Compiler flag to allow reflexive dlopens.
   21914 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21915 
   21916 # Compiler flag to generate shared objects directly from archives.
   21917 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21918 
   21919 # Whether the compiler copes with passing no objects directly.
   21920 compiler_needs_object=$lt_compiler_needs_object
   21921 
   21922 # Create an old-style archive from a shared archive.
   21923 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21924 
   21925 # Create a temporary old-style archive to link instead of a shared archive.
   21926 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21927 
   21928 # Commands used to build a shared archive.
   21929 archive_cmds=$lt_archive_cmds
   21930 archive_expsym_cmds=$lt_archive_expsym_cmds
   21931 
   21932 # Commands used to build a loadable module if different from building
   21933 # a shared archive.
   21934 module_cmds=$lt_module_cmds
   21935 module_expsym_cmds=$lt_module_expsym_cmds
   21936 
   21937 # Whether we are building with GNU ld or not.
   21938 with_gnu_ld=$lt_with_gnu_ld
   21939 
   21940 # Flag that allows shared libraries with undefined symbols to be built.
   21941 allow_undefined_flag=$lt_allow_undefined_flag
   21942 
   21943 # Flag that enforces no undefined symbols.
   21944 no_undefined_flag=$lt_no_undefined_flag
   21945 
   21946 # Flag to hardcode \$libdir into a binary during linking.
   21947 # This must work even if \$libdir does not exist
   21948 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21949 
   21950 # Whether we need a single "-rpath" flag with a separated argument.
   21951 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21952 
   21953 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21954 # DIR into the resulting binary.
   21955 hardcode_direct=$hardcode_direct
   21956 
   21957 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21958 # DIR into the resulting binary and the resulting library dependency is
   21959 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21960 # library is relocated.
   21961 hardcode_direct_absolute=$hardcode_direct_absolute
   21962 
   21963 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21964 # into the resulting binary.
   21965 hardcode_minus_L=$hardcode_minus_L
   21966 
   21967 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21968 # into the resulting binary.
   21969 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21970 
   21971 # Set to "yes" if building a shared library automatically hardcodes DIR
   21972 # into the library and all subsequent libraries and executables linked
   21973 # against it.
   21974 hardcode_automatic=$hardcode_automatic
   21975 
   21976 # Set to yes if linker adds runtime paths of dependent libraries
   21977 # to runtime path list.
   21978 inherit_rpath=$inherit_rpath
   21979 
   21980 # Whether libtool must link a program against all its dependency libraries.
   21981 link_all_deplibs=$link_all_deplibs
   21982 
   21983 # Set to "yes" if exported symbols are required.
   21984 always_export_symbols=$always_export_symbols
   21985 
   21986 # The commands to list exported symbols.
   21987 export_symbols_cmds=$lt_export_symbols_cmds
   21988 
   21989 # Symbols that should not be listed in the preloaded symbols.
   21990 exclude_expsyms=$lt_exclude_expsyms
   21991 
   21992 # Symbols that must always be exported.
   21993 include_expsyms=$lt_include_expsyms
   21994 
   21995 # Commands necessary for linking programs (against libraries) with templates.
   21996 prelink_cmds=$lt_prelink_cmds
   21997 
   21998 # Commands necessary for finishing linking programs.
   21999 postlink_cmds=$lt_postlink_cmds
   22000 
   22001 # Specify filename containing input files.
   22002 file_list_spec=$lt_file_list_spec
   22003 
   22004 # How to hardcode a shared library path into an executable.
   22005 hardcode_action=$hardcode_action
   22006 
   22007 # ### END LIBTOOL CONFIG
   22008 
   22009 _LT_EOF
   22010 
   22011     cat <<'_LT_EOF' >> "$cfgfile"
   22012 
   22013 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22014 
   22015 # func_munge_path_list VARIABLE PATH
   22016 # -----------------------------------
   22017 # VARIABLE is name of variable containing _space_ separated list of
   22018 # directories to be munged by the contents of PATH, which is string
   22019 # having a format:
   22020 # "DIR[:DIR]:"
   22021 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22022 # ":DIR[:DIR]"
   22023 #       string "DIR[ DIR]" will be appended to VARIABLE
   22024 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22025 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22026 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22027 # "DIR[:DIR]"
   22028 #       VARIABLE will be replaced by "DIR[ DIR]"
   22029 func_munge_path_list ()
   22030 {
   22031     case x$2 in
   22032     x)
   22033         ;;
   22034     *:)
   22035         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22036         ;;
   22037     x:*)
   22038         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22039         ;;
   22040     *::*)
   22041         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22042         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22043         ;;
   22044     *)
   22045         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22046         ;;
   22047     esac
   22048 }
   22049 
   22050 
   22051 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22052 func_cc_basename ()
   22053 {
   22054     for cc_temp in $*""; do
   22055       case $cc_temp in
   22056         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22057         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22058         \-*) ;;
   22059         *) break;;
   22060       esac
   22061     done
   22062     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22063 }
   22064 
   22065 
   22066 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22067 
   22068 _LT_EOF
   22069 
   22070   case $host_os in
   22071   aix3*)
   22072     cat <<\_LT_EOF >> "$cfgfile"
   22073 # AIX sometimes has problems with the GCC collect2 program.  For some
   22074 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22075 # vanish in a puff of smoke.
   22076 if test set != "${COLLECT_NAMES+set}"; then
   22077   COLLECT_NAMES=
   22078   export COLLECT_NAMES
   22079 fi
   22080 _LT_EOF
   22081     ;;
   22082   esac
   22083 
   22084 
   22085 
   22086 ltmain=$ac_aux_dir/ltmain.sh
   22087 
   22088 
   22089   # We use sed instead of cat because bash on DJGPP gets confused if
   22090   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22091   # text mode, it properly converts lines to CR/LF.  This bash problem
   22092   # is reportedly fixed, but why not run on old versions too?
   22093   $SED '$q' "$ltmain" >> "$cfgfile" \
   22094      || (rm -f "$cfgfile"; exit 1)
   22095 
   22096    mv -f "$cfgfile" "$ofile" ||
   22097     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22098   chmod +x "$ofile"
   22099 
   22100  ;;
   22101 
   22102   esac
   22103 done # for ac_tag
   22104 
   22105 
   22106 as_fn_exit 0
   22107 _ACEOF
   22108 ac_clean_files=$ac_clean_files_save
   22109 
   22110 test $ac_write_fail = 0 ||
   22111   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22112 
   22113 
   22114 # configure is writing to config.log, and then calls config.status.
   22115 # config.status does its own redirection, appending to config.log.
   22116 # Unfortunately, on DOS this fails, as config.log is still kept open
   22117 # by configure, so config.status won't be able to write to it; its
   22118 # output is simply discarded.  So we exec the FD to /dev/null,
   22119 # effectively closing config.log, so it can be properly (re)opened and
   22120 # appended to by config.status.  When coming back to configure, we
   22121 # need to make the FD available again.
   22122 if test "$no_create" != yes; then
   22123   ac_cs_success=:
   22124   ac_config_status_args=
   22125   test "$silent" = yes &&
   22126     ac_config_status_args="$ac_config_status_args --quiet"
   22127   exec 5>/dev/null
   22128   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22129   exec 5>>config.log
   22130   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22131   # would make configure fail if this is the last instruction.
   22132   $ac_cs_success || as_fn_exit 1
   22133 fi
   22134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22136 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22137 fi
   22138 
   22139 
   22140