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-i128 1.4.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-i128/-/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-i128/-/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-i128'
    624 PACKAGE_TARNAME='xf86-video-i128'
    625 PACKAGE_VERSION='1.4.1'
    626 PACKAGE_STRING='xf86-video-i128 1.4.1'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-i128/-/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 DRIVER_NAME
    668 moduledir
    669 XAA_FALSE
    670 XAA_TRUE
    671 XSERVER_LIBPCIACCESS_FALSE
    672 XSERVER_LIBPCIACCESS_TRUE
    673 PCIACCESS_LIBS
    674 PCIACCESS_CFLAGS
    675 XORG_LIBS
    676 XORG_CFLAGS
    677 LT_SYS_LIBRARY_PATH
    678 OTOOL64
    679 OTOOL
    680 LIPO
    681 NMEDIT
    682 DSYMUTIL
    683 MANIFEST_TOOL
    684 RANLIB
    685 ac_ct_AR
    686 AR
    687 DLLTOOL
    688 OBJDUMP
    689 FILECMD
    690 LN_S
    691 NM
    692 ac_ct_DUMPBIN
    693 DUMPBIN
    694 LD
    695 FGREP
    696 EGREP
    697 GREP
    698 LIBTOOL
    699 MAN_SUBSTS
    700 XORG_MAN_PAGE
    701 ADMIN_MAN_DIR
    702 DRIVER_MAN_DIR
    703 MISC_MAN_DIR
    704 FILE_MAN_DIR
    705 LIB_MAN_DIR
    706 APP_MAN_DIR
    707 ADMIN_MAN_SUFFIX
    708 DRIVER_MAN_SUFFIX
    709 MISC_MAN_SUFFIX
    710 FILE_MAN_SUFFIX
    711 LIB_MAN_SUFFIX
    712 APP_MAN_SUFFIX
    713 SED
    714 host_os
    715 host_vendor
    716 host_cpu
    717 host
    718 build_os
    719 build_vendor
    720 build_cpu
    721 build
    722 INSTALL_CMD
    723 PKG_CONFIG_LIBDIR
    724 PKG_CONFIG_PATH
    725 PKG_CONFIG
    726 CHANGELOG_CMD
    727 STRICT_CFLAGS
    728 CWARNFLAGS
    729 BASE_CFLAGS
    730 am__fastdepCC_FALSE
    731 am__fastdepCC_TRUE
    732 CCDEPMODE
    733 am__nodep
    734 AMDEPBACKSLASH
    735 AMDEP_FALSE
    736 AMDEP_TRUE
    737 am__include
    738 DEPDIR
    739 OBJEXT
    740 EXEEXT
    741 ac_ct_CC
    742 CPPFLAGS
    743 LDFLAGS
    744 CFLAGS
    745 CC
    746 MAINT
    747 MAINTAINER_MODE_FALSE
    748 MAINTAINER_MODE_TRUE
    749 AM_BACKSLASH
    750 AM_DEFAULT_VERBOSITY
    751 AM_DEFAULT_V
    752 AM_V
    753 CSCOPE
    754 ETAGS
    755 CTAGS
    756 am__untar
    757 am__tar
    758 AMTAR
    759 am__leading_dot
    760 SET_MAKE
    761 AWK
    762 mkdir_p
    763 MKDIR_P
    764 INSTALL_STRIP_PROGRAM
    765 STRIP
    766 install_sh
    767 MAKEINFO
    768 AUTOHEADER
    769 AUTOMAKE
    770 AUTOCONF
    771 ACLOCAL
    772 VERSION
    773 PACKAGE
    774 CYGPATH_W
    775 am__isrc
    776 INSTALL_DATA
    777 INSTALL_SCRIPT
    778 INSTALL_PROGRAM
    779 target_alias
    780 host_alias
    781 build_alias
    782 LIBS
    783 ECHO_T
    784 ECHO_N
    785 ECHO_C
    786 DEFS
    787 mandir
    788 localedir
    789 libdir
    790 psdir
    791 pdfdir
    792 dvidir
    793 htmldir
    794 infodir
    795 docdir
    796 oldincludedir
    797 includedir
    798 runstatedir
    799 localstatedir
    800 sharedstatedir
    801 sysconfdir
    802 datadir
    803 datarootdir
    804 libexecdir
    805 sbindir
    806 bindir
    807 program_transform_name
    808 prefix
    809 exec_prefix
    810 PACKAGE_URL
    811 PACKAGE_BUGREPORT
    812 PACKAGE_STRING
    813 PACKAGE_VERSION
    814 PACKAGE_TARNAME
    815 PACKAGE_NAME
    816 PATH_SEPARATOR
    817 SHELL
    818 am__quote'
    819 ac_subst_files=''
    820 ac_user_opts='
    821 enable_option_checking
    822 enable_silent_rules
    823 enable_maintainer_mode
    824 enable_dependency_tracking
    825 enable_selective_werror
    826 enable_strict_compilation
    827 enable_static
    828 enable_shared
    829 with_pic
    830 enable_fast_install
    831 with_aix_soname
    832 with_gnu_ld
    833 with_sysroot
    834 enable_libtool_lock
    835 with_xorg_module_dir
    836 enable_xaa
    837 '
    838       ac_precious_vars='build_alias
    839 host_alias
    840 target_alias
    841 CC
    842 CFLAGS
    843 LDFLAGS
    844 LIBS
    845 CPPFLAGS
    846 PKG_CONFIG
    847 PKG_CONFIG_PATH
    848 PKG_CONFIG_LIBDIR
    849 LT_SYS_LIBRARY_PATH
    850 XORG_CFLAGS
    851 XORG_LIBS
    852 PCIACCESS_CFLAGS
    853 PCIACCESS_LIBS'
    854 
    855 
    856 # Initialize some variables set by options.
    857 ac_init_help=
    858 ac_init_version=false
    859 ac_unrecognized_opts=
    860 ac_unrecognized_sep=
    861 # The variables have the same names as the options, with
    862 # dashes changed to underlines.
    863 cache_file=/dev/null
    864 exec_prefix=NONE
    865 no_create=
    866 no_recursion=
    867 prefix=NONE
    868 program_prefix=NONE
    869 program_suffix=NONE
    870 program_transform_name=s,x,x,
    871 silent=
    872 site=
    873 srcdir=
    874 verbose=
    875 x_includes=NONE
    876 x_libraries=NONE
    877 
    878 # Installation directory options.
    879 # These are left unexpanded so users can "make install exec_prefix=/foo"
    880 # and all the variables that are supposed to be based on exec_prefix
    881 # by default will actually change.
    882 # Use braces instead of parens because sh, perl, etc. also accept them.
    883 # (The list follows the same order as the GNU Coding Standards.)
    884 bindir='${exec_prefix}/bin'
    885 sbindir='${exec_prefix}/sbin'
    886 libexecdir='${exec_prefix}/libexec'
    887 datarootdir='${prefix}/share'
    888 datadir='${datarootdir}'
    889 sysconfdir='${prefix}/etc'
    890 sharedstatedir='${prefix}/com'
    891 localstatedir='${prefix}/var'
    892 runstatedir='${localstatedir}/run'
    893 includedir='${prefix}/include'
    894 oldincludedir='/usr/include'
    895 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    896 infodir='${datarootdir}/info'
    897 htmldir='${docdir}'
    898 dvidir='${docdir}'
    899 pdfdir='${docdir}'
    900 psdir='${docdir}'
    901 libdir='${exec_prefix}/lib'
    902 localedir='${datarootdir}/locale'
    903 mandir='${datarootdir}/man'
    904 
    905 ac_prev=
    906 ac_dashdash=
    907 for ac_option
    908 do
    909   # If the previous option needs an argument, assign it.
    910   if test -n "$ac_prev"; then
    911     eval $ac_prev=\$ac_option
    912     ac_prev=
    913     continue
    914   fi
    915 
    916   case $ac_option in
    917   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    918   *=)   ac_optarg= ;;
    919   *)    ac_optarg=yes ;;
    920   esac
    921 
    922   case $ac_dashdash$ac_option in
    923   --)
    924     ac_dashdash=yes ;;
    925 
    926   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    927     ac_prev=bindir ;;
    928   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    929     bindir=$ac_optarg ;;
    930 
    931   -build | --build | --buil | --bui | --bu)
    932     ac_prev=build_alias ;;
    933   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    934     build_alias=$ac_optarg ;;
    935 
    936   -cache-file | --cache-file | --cache-fil | --cache-fi \
    937   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    938     ac_prev=cache_file ;;
    939   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    940   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    941     cache_file=$ac_optarg ;;
    942 
    943   --config-cache | -C)
    944     cache_file=config.cache ;;
    945 
    946   -datadir | --datadir | --datadi | --datad)
    947     ac_prev=datadir ;;
    948   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    949     datadir=$ac_optarg ;;
    950 
    951   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    952   | --dataroo | --dataro | --datar)
    953     ac_prev=datarootdir ;;
    954   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    955   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    956     datarootdir=$ac_optarg ;;
    957 
    958   -disable-* | --disable-*)
    959     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    960     # Reject names that are not valid shell variable names.
    961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    962       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    963     ac_useropt_orig=$ac_useropt
    964     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    965     case $ac_user_opts in
    966       *"
    967 "enable_$ac_useropt"
    968 "*) ;;
    969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    970 	 ac_unrecognized_sep=', ';;
    971     esac
    972     eval enable_$ac_useropt=no ;;
    973 
    974   -docdir | --docdir | --docdi | --doc | --do)
    975     ac_prev=docdir ;;
    976   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    977     docdir=$ac_optarg ;;
    978 
    979   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    980     ac_prev=dvidir ;;
    981   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    982     dvidir=$ac_optarg ;;
    983 
    984   -enable-* | --enable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=\$ac_optarg ;;
    999 
   1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1002   | --exec | --exe | --ex)
   1003     ac_prev=exec_prefix ;;
   1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1006   | --exec=* | --exe=* | --ex=*)
   1007     exec_prefix=$ac_optarg ;;
   1008 
   1009   -gas | --gas | --ga | --g)
   1010     # Obsolete; use --with-gas.
   1011     with_gas=yes ;;
   1012 
   1013   -help | --help | --hel | --he | -h)
   1014     ac_init_help=long ;;
   1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1016     ac_init_help=recursive ;;
   1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1018     ac_init_help=short ;;
   1019 
   1020   -host | --host | --hos | --ho)
   1021     ac_prev=host_alias ;;
   1022   -host=* | --host=* | --hos=* | --ho=*)
   1023     host_alias=$ac_optarg ;;
   1024 
   1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1026     ac_prev=htmldir ;;
   1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1028   | --ht=*)
   1029     htmldir=$ac_optarg ;;
   1030 
   1031   -includedir | --includedir | --includedi | --included | --include \
   1032   | --includ | --inclu | --incl | --inc)
   1033     ac_prev=includedir ;;
   1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1036     includedir=$ac_optarg ;;
   1037 
   1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1039     ac_prev=infodir ;;
   1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1041     infodir=$ac_optarg ;;
   1042 
   1043   -libdir | --libdir | --libdi | --libd)
   1044     ac_prev=libdir ;;
   1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1046     libdir=$ac_optarg ;;
   1047 
   1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1049   | --libexe | --libex | --libe)
   1050     ac_prev=libexecdir ;;
   1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1052   | --libexe=* | --libex=* | --libe=*)
   1053     libexecdir=$ac_optarg ;;
   1054 
   1055   -localedir | --localedir | --localedi | --localed | --locale)
   1056     ac_prev=localedir ;;
   1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1058     localedir=$ac_optarg ;;
   1059 
   1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1061   | --localstate | --localstat | --localsta | --localst | --locals)
   1062     ac_prev=localstatedir ;;
   1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1065     localstatedir=$ac_optarg ;;
   1066 
   1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1068     ac_prev=mandir ;;
   1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1070     mandir=$ac_optarg ;;
   1071 
   1072   -nfp | --nfp | --nf)
   1073     # Obsolete; use --without-fp.
   1074     with_fp=no ;;
   1075 
   1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1077   | --no-cr | --no-c | -n)
   1078     no_create=yes ;;
   1079 
   1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1082     no_recursion=yes ;;
   1083 
   1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1086   | --oldin | --oldi | --old | --ol | --o)
   1087     ac_prev=oldincludedir ;;
   1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1091     oldincludedir=$ac_optarg ;;
   1092 
   1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1094     ac_prev=prefix ;;
   1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1096     prefix=$ac_optarg ;;
   1097 
   1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1099   | --program-pre | --program-pr | --program-p)
   1100     ac_prev=program_prefix ;;
   1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1103     program_prefix=$ac_optarg ;;
   1104 
   1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1106   | --program-suf | --program-su | --program-s)
   1107     ac_prev=program_suffix ;;
   1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1110     program_suffix=$ac_optarg ;;
   1111 
   1112   -program-transform-name | --program-transform-name \
   1113   | --program-transform-nam | --program-transform-na \
   1114   | --program-transform-n | --program-transform- \
   1115   | --program-transform | --program-transfor \
   1116   | --program-transfo | --program-transf \
   1117   | --program-trans | --program-tran \
   1118   | --progr-tra | --program-tr | --program-t)
   1119     ac_prev=program_transform_name ;;
   1120   -program-transform-name=* | --program-transform-name=* \
   1121   | --program-transform-nam=* | --program-transform-na=* \
   1122   | --program-transform-n=* | --program-transform-=* \
   1123   | --program-transform=* | --program-transfor=* \
   1124   | --program-transfo=* | --program-transf=* \
   1125   | --program-trans=* | --program-tran=* \
   1126   | --progr-tra=* | --program-tr=* | --program-t=*)
   1127     program_transform_name=$ac_optarg ;;
   1128 
   1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1130     ac_prev=pdfdir ;;
   1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1132     pdfdir=$ac_optarg ;;
   1133 
   1134   -psdir | --psdir | --psdi | --psd | --ps)
   1135     ac_prev=psdir ;;
   1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1137     psdir=$ac_optarg ;;
   1138 
   1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1140   | -silent | --silent | --silen | --sile | --sil)
   1141     silent=yes ;;
   1142 
   1143   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1144   | --runstate | --runstat | --runsta | --runst | --runs \
   1145   | --run | --ru | --r)
   1146     ac_prev=runstatedir ;;
   1147   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1148   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1149   | --run=* | --ru=* | --r=*)
   1150     runstatedir=$ac_optarg ;;
   1151 
   1152   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1153     ac_prev=sbindir ;;
   1154   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1155   | --sbi=* | --sb=*)
   1156     sbindir=$ac_optarg ;;
   1157 
   1158   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1159   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1160   | --sharedst | --shareds | --shared | --share | --shar \
   1161   | --sha | --sh)
   1162     ac_prev=sharedstatedir ;;
   1163   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1164   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1165   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1166   | --sha=* | --sh=*)
   1167     sharedstatedir=$ac_optarg ;;
   1168 
   1169   -site | --site | --sit)
   1170     ac_prev=site ;;
   1171   -site=* | --site=* | --sit=*)
   1172     site=$ac_optarg ;;
   1173 
   1174   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1175     ac_prev=srcdir ;;
   1176   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1177     srcdir=$ac_optarg ;;
   1178 
   1179   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1180   | --syscon | --sysco | --sysc | --sys | --sy)
   1181     ac_prev=sysconfdir ;;
   1182   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1183   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1184     sysconfdir=$ac_optarg ;;
   1185 
   1186   -target | --target | --targe | --targ | --tar | --ta | --t)
   1187     ac_prev=target_alias ;;
   1188   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1189     target_alias=$ac_optarg ;;
   1190 
   1191   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1192     verbose=yes ;;
   1193 
   1194   -version | --version | --versio | --versi | --vers | -V)
   1195     ac_init_version=: ;;
   1196 
   1197   -with-* | --with-*)
   1198     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1199     # Reject names that are not valid shell variable names.
   1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1201       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1202     ac_useropt_orig=$ac_useropt
   1203     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1204     case $ac_user_opts in
   1205       *"
   1206 "with_$ac_useropt"
   1207 "*) ;;
   1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1209 	 ac_unrecognized_sep=', ';;
   1210     esac
   1211     eval with_$ac_useropt=\$ac_optarg ;;
   1212 
   1213   -without-* | --without-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=no ;;
   1228 
   1229   --x)
   1230     # Obsolete; use --with-x.
   1231     with_x=yes ;;
   1232 
   1233   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1234   | --x-incl | --x-inc | --x-in | --x-i)
   1235     ac_prev=x_includes ;;
   1236   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1237   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1238     x_includes=$ac_optarg ;;
   1239 
   1240   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1241   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1242     ac_prev=x_libraries ;;
   1243   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1244   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1245     x_libraries=$ac_optarg ;;
   1246 
   1247   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1248 Try \`$0 --help' for more information"
   1249     ;;
   1250 
   1251   *=*)
   1252     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1253     # Reject names that are not valid shell variable names.
   1254     case $ac_envvar in #(
   1255       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1256       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1257     esac
   1258     eval $ac_envvar=\$ac_optarg
   1259     export $ac_envvar ;;
   1260 
   1261   *)
   1262     # FIXME: should be removed in autoconf 3.0.
   1263     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1264     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1265       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1266     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1267     ;;
   1268 
   1269   esac
   1270 done
   1271 
   1272 if test -n "$ac_prev"; then
   1273   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1274   as_fn_error $? "missing argument to $ac_option"
   1275 fi
   1276 
   1277 if test -n "$ac_unrecognized_opts"; then
   1278   case $enable_option_checking in
   1279     no) ;;
   1280     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1281     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1282   esac
   1283 fi
   1284 
   1285 # Check all directory arguments for consistency.
   1286 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1287 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1288 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1289 		libdir localedir mandir runstatedir
   1290 do
   1291   eval ac_val=\$$ac_var
   1292   # Remove trailing slashes.
   1293   case $ac_val in
   1294     */ )
   1295       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1296       eval $ac_var=\$ac_val;;
   1297   esac
   1298   # Be sure to have absolute directory names.
   1299   case $ac_val in
   1300     [\\/$]* | ?:[\\/]* )  continue;;
   1301     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1302   esac
   1303   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1304 done
   1305 
   1306 # There might be people who depend on the old broken behavior: `$host'
   1307 # used to hold the argument of --host etc.
   1308 # FIXME: To remove some day.
   1309 build=$build_alias
   1310 host=$host_alias
   1311 target=$target_alias
   1312 
   1313 # FIXME: To remove some day.
   1314 if test "x$host_alias" != x; then
   1315   if test "x$build_alias" = x; then
   1316     cross_compiling=maybe
   1317   elif test "x$build_alias" != "x$host_alias"; then
   1318     cross_compiling=yes
   1319   fi
   1320 fi
   1321 
   1322 ac_tool_prefix=
   1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1324 
   1325 test "$silent" = yes && exec 6>/dev/null
   1326 
   1327 
   1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1329 ac_ls_di=`ls -di .` &&
   1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1331   as_fn_error $? "working directory cannot be determined"
   1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1333   as_fn_error $? "pwd does not report name of working directory"
   1334 
   1335 
   1336 # Find the source files, if location was not specified.
   1337 if test -z "$srcdir"; then
   1338   ac_srcdir_defaulted=yes
   1339   # Try the directory containing this script, then the parent directory.
   1340   ac_confdir=`$as_dirname -- "$as_myself" ||
   1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1343 	 X"$as_myself" : 'X\(//\)$' \| \
   1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1345 printf "%s\n" X"$as_myself" |
   1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)[^/].*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\/\)$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\).*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  s/.*/./; q'`
   1363   srcdir=$ac_confdir
   1364   if test ! -r "$srcdir/$ac_unique_file"; then
   1365     srcdir=..
   1366   fi
   1367 else
   1368   ac_srcdir_defaulted=no
   1369 fi
   1370 if test ! -r "$srcdir/$ac_unique_file"; then
   1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1372   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1373 fi
   1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1375 ac_abs_confdir=`(
   1376 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1377 	pwd)`
   1378 # When building in place, set srcdir=.
   1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1380   srcdir=.
   1381 fi
   1382 # Remove unnecessary trailing slashes from srcdir.
   1383 # Double slashes in file names in object file debugging info
   1384 # mess up M-x gdb in Emacs.
   1385 case $srcdir in
   1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1387 esac
   1388 for ac_var in $ac_precious_vars; do
   1389   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1390   eval ac_env_${ac_var}_value=\$${ac_var}
   1391   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1392   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1393 done
   1394 
   1395 #
   1396 # Report the --help message.
   1397 #
   1398 if test "$ac_init_help" = "long"; then
   1399   # Omit some internal or obsolete options to make the list less imposing.
   1400   # This message is too long to be a string in the A/UX 3.1 sh.
   1401   cat <<_ACEOF
   1402 \`configure' configures xf86-video-i128 1.4.1 to adapt to many kinds of systems.
   1403 
   1404 Usage: $0 [OPTION]... [VAR=VALUE]...
   1405 
   1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1407 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1408 
   1409 Defaults for the options are specified in brackets.
   1410 
   1411 Configuration:
   1412   -h, --help              display this help and exit
   1413       --help=short        display options specific to this package
   1414       --help=recursive    display the short help of all the included packages
   1415   -V, --version           display version information and exit
   1416   -q, --quiet, --silent   do not print \`checking ...' messages
   1417       --cache-file=FILE   cache test results in FILE [disabled]
   1418   -C, --config-cache      alias for \`--cache-file=config.cache'
   1419   -n, --no-create         do not create output files
   1420       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1421 
   1422 Installation directories:
   1423   --prefix=PREFIX         install architecture-independent files in PREFIX
   1424                           [$ac_default_prefix]
   1425   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1426                           [PREFIX]
   1427 
   1428 By default, \`make install' will install all the files in
   1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1431 for instance \`--prefix=\$HOME'.
   1432 
   1433 For better control, use the options below.
   1434 
   1435 Fine tuning of the installation directories:
   1436   --bindir=DIR            user executables [EPREFIX/bin]
   1437   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1438   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1442   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1443   --libdir=DIR            object code libraries [EPREFIX/lib]
   1444   --includedir=DIR        C header files [PREFIX/include]
   1445   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1446   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1447   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1448   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1449   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1450   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1451   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-i128]
   1452   --htmldir=DIR           html documentation [DOCDIR]
   1453   --dvidir=DIR            dvi documentation [DOCDIR]
   1454   --pdfdir=DIR            pdf documentation [DOCDIR]
   1455   --psdir=DIR             ps documentation [DOCDIR]
   1456 _ACEOF
   1457 
   1458   cat <<\_ACEOF
   1459 
   1460 Program names:
   1461   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1462   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1463   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1464 
   1465 System types:
   1466   --build=BUILD     configure for building on BUILD [guessed]
   1467   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1468 _ACEOF
   1469 fi
   1470 
   1471 if test -n "$ac_init_help"; then
   1472   case $ac_init_help in
   1473      short | recursive ) echo "Configuration of xf86-video-i128 1.4.1:";;
   1474    esac
   1475   cat <<\_ACEOF
   1476 
   1477 Optional Features:
   1478   --disable-option-checking  ignore unrecognized --enable/--with options
   1479   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1480   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1481   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1482   --disable-silent-rules  verbose build output (undo: "make V=0")
   1483   --enable-maintainer-mode
   1484                           enable make rules and dependencies not useful (and
   1485                           sometimes confusing) to the casual installer
   1486   --enable-dependency-tracking
   1487                           do not reject slow dependency extractors
   1488   --disable-dependency-tracking
   1489                           speeds up one-time build
   1490   --disable-selective-werror
   1491                           Turn off selective compiler errors. (default:
   1492                           enabled)
   1493   --enable-strict-compilation
   1494                           Enable all warnings from compiler and make them
   1495                           errors (default: disabled)
   1496   --enable-static[=PKGS]  build static libraries [default=no]
   1497   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1498   --enable-fast-install[=PKGS]
   1499                           optimize for fast installation [default=yes]
   1500   --disable-libtool-lock  avoid locking (might break parallel builds)
   1501   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1502                           [default=auto]
   1503 
   1504 Optional Packages:
   1505   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1506   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1507   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1508                           both]
   1509   --with-aix-soname=aix|svr4|both
   1510                           shared library versioning (aka "SONAME") variant to
   1511                           provide on AIX, [default=aix].
   1512   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1513   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1514                           compiler's sysroot if not specified).
   1515   --with-xorg-module-dir=DIR
   1516                           Default xorg module directory
   1517                           [[default=$libdir/xorg/modules]]
   1518 
   1519 Some influential environment variables:
   1520   CC          C compiler command
   1521   CFLAGS      C compiler flags
   1522   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1523               nonstandard directory <lib dir>
   1524   LIBS        libraries to pass to the linker, e.g. -l<library>
   1525   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1526               you have headers in a nonstandard directory <include dir>
   1527   PKG_CONFIG  path to pkg-config utility
   1528   PKG_CONFIG_PATH
   1529               directories to add to pkg-config's search path
   1530   PKG_CONFIG_LIBDIR
   1531               path overriding pkg-config's built-in search path
   1532   LT_SYS_LIBRARY_PATH
   1533               User-defined run-time library search path.
   1534   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1535   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1536   PCIACCESS_CFLAGS
   1537               C compiler flags for PCIACCESS, overriding pkg-config
   1538   PCIACCESS_LIBS
   1539               linker flags for PCIACCESS, overriding pkg-config
   1540 
   1541 Use these variables to override the choices made by `configure' or to help
   1542 it to find libraries and programs with nonstandard names/locations.
   1543 
   1544 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-i128/-/issues>.
   1545 _ACEOF
   1546 ac_status=$?
   1547 fi
   1548 
   1549 if test "$ac_init_help" = "recursive"; then
   1550   # If there are subdirs, report their specific --help.
   1551   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1552     test -d "$ac_dir" ||
   1553       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1554       continue
   1555     ac_builddir=.
   1556 
   1557 case "$ac_dir" in
   1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1559 *)
   1560   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1561   # A ".." for each directory in $ac_dir_suffix.
   1562   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1563   case $ac_top_builddir_sub in
   1564   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1565   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1566   esac ;;
   1567 esac
   1568 ac_abs_top_builddir=$ac_pwd
   1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1570 # for backward compatibility:
   1571 ac_top_builddir=$ac_top_build_prefix
   1572 
   1573 case $srcdir in
   1574   .)  # We are building in place.
   1575     ac_srcdir=.
   1576     ac_top_srcdir=$ac_top_builddir_sub
   1577     ac_abs_top_srcdir=$ac_pwd ;;
   1578   [\\/]* | ?:[\\/]* )  # Absolute name.
   1579     ac_srcdir=$srcdir$ac_dir_suffix;
   1580     ac_top_srcdir=$srcdir
   1581     ac_abs_top_srcdir=$srcdir ;;
   1582   *) # Relative name.
   1583     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1584     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1585     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1586 esac
   1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1588 
   1589     cd "$ac_dir" || { ac_status=$?; continue; }
   1590     # Check for configure.gnu first; this name is used for a wrapper for
   1591     # Metaconfig's "Configure" on case-insensitive file systems.
   1592     if test -f "$ac_srcdir/configure.gnu"; then
   1593       echo &&
   1594       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1595     elif test -f "$ac_srcdir/configure"; then
   1596       echo &&
   1597       $SHELL "$ac_srcdir/configure" --help=recursive
   1598     else
   1599       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1600     fi || ac_status=$?
   1601     cd "$ac_pwd" || { ac_status=$?; break; }
   1602   done
   1603 fi
   1604 
   1605 test -n "$ac_init_help" && exit $ac_status
   1606 if $ac_init_version; then
   1607   cat <<\_ACEOF
   1608 xf86-video-i128 configure 1.4.1
   1609 generated by GNU Autoconf 2.71
   1610 
   1611 Copyright (C) 2021 Free Software Foundation, Inc.
   1612 This configure script is free software; the Free Software Foundation
   1613 gives unlimited permission to copy, distribute and modify it.
   1614 _ACEOF
   1615   exit
   1616 fi
   1617 
   1618 ## ------------------------ ##
   1619 ## Autoconf initialization. ##
   1620 ## ------------------------ ##
   1621 
   1622 # ac_fn_c_try_compile LINENO
   1623 # --------------------------
   1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1625 ac_fn_c_try_compile ()
   1626 {
   1627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1628   rm -f conftest.$ac_objext conftest.beam
   1629   if { { ac_try="$ac_compile"
   1630 case "(($ac_try" in
   1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1632   *) ac_try_echo=$ac_try;;
   1633 esac
   1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1635 printf "%s\n" "$ac_try_echo"; } >&5
   1636   (eval "$ac_compile") 2>conftest.err
   1637   ac_status=$?
   1638   if test -s conftest.err; then
   1639     grep -v '^ *+' conftest.err >conftest.er1
   1640     cat conftest.er1 >&5
   1641     mv -f conftest.er1 conftest.err
   1642   fi
   1643   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1644   test $ac_status = 0; } && {
   1645 	 test -z "$ac_c_werror_flag" ||
   1646 	 test ! -s conftest.err
   1647        } && test -s conftest.$ac_objext
   1648 then :
   1649   ac_retval=0
   1650 else $as_nop
   1651   printf "%s\n" "$as_me: failed program was:" >&5
   1652 sed 's/^/| /' conftest.$ac_ext >&5
   1653 
   1654 	ac_retval=1
   1655 fi
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_compile
   1660 
   1661 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1662 # ------------------------------------------------------------------
   1663 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1664 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1665 ac_fn_check_decl ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1670 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1671 if eval test \${$3+y}
   1672 then :
   1673   printf %s "(cached) " >&6
   1674 else $as_nop
   1675   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1676   eval ac_save_FLAGS=\$$6
   1677   as_fn_append $6 " $5"
   1678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1679 /* end confdefs.h.  */
   1680 $4
   1681 int
   1682 main (void)
   1683 {
   1684 #ifndef $as_decl_name
   1685 #ifdef __cplusplus
   1686   (void) $as_decl_use;
   1687 #else
   1688   (void) $as_decl_name;
   1689 #endif
   1690 #endif
   1691 
   1692   ;
   1693   return 0;
   1694 }
   1695 _ACEOF
   1696 if ac_fn_c_try_compile "$LINENO"
   1697 then :
   1698   eval "$3=yes"
   1699 else $as_nop
   1700   eval "$3=no"
   1701 fi
   1702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1703   eval $6=\$ac_save_FLAGS
   1704 
   1705 fi
   1706 eval ac_res=\$$3
   1707 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1708 printf "%s\n" "$ac_res" >&6; }
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710 
   1711 } # ac_fn_check_decl
   1712 
   1713 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1714 # -------------------------------------------------------
   1715 # Tests whether HEADER exists and can be compiled using the include files in
   1716 # INCLUDES, setting the cache variable VAR accordingly.
   1717 ac_fn_c_check_header_compile ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1721 printf %s "checking for $2... " >&6; }
   1722 if eval test \${$3+y}
   1723 then :
   1724   printf %s "(cached) " >&6
   1725 else $as_nop
   1726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1727 /* end confdefs.h.  */
   1728 $4
   1729 #include <$2>
   1730 _ACEOF
   1731 if ac_fn_c_try_compile "$LINENO"
   1732 then :
   1733   eval "$3=yes"
   1734 else $as_nop
   1735   eval "$3=no"
   1736 fi
   1737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1738 fi
   1739 eval ac_res=\$$3
   1740 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1741 printf "%s\n" "$ac_res" >&6; }
   1742   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1743 
   1744 } # ac_fn_c_check_header_compile
   1745 
   1746 # ac_fn_c_try_link LINENO
   1747 # -----------------------
   1748 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1749 ac_fn_c_try_link ()
   1750 {
   1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1752   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1753   if { { ac_try="$ac_link"
   1754 case "(($ac_try" in
   1755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1756   *) ac_try_echo=$ac_try;;
   1757 esac
   1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1759 printf "%s\n" "$ac_try_echo"; } >&5
   1760   (eval "$ac_link") 2>conftest.err
   1761   ac_status=$?
   1762   if test -s conftest.err; then
   1763     grep -v '^ *+' conftest.err >conftest.er1
   1764     cat conftest.er1 >&5
   1765     mv -f conftest.er1 conftest.err
   1766   fi
   1767   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1768   test $ac_status = 0; } && {
   1769 	 test -z "$ac_c_werror_flag" ||
   1770 	 test ! -s conftest.err
   1771        } && test -s conftest$ac_exeext && {
   1772 	 test "$cross_compiling" = yes ||
   1773 	 test -x conftest$ac_exeext
   1774        }
   1775 then :
   1776   ac_retval=0
   1777 else $as_nop
   1778   printf "%s\n" "$as_me: failed program was:" >&5
   1779 sed 's/^/| /' conftest.$ac_ext >&5
   1780 
   1781 	ac_retval=1
   1782 fi
   1783   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1784   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1785   # interfere with the next link command; also delete a directory that is
   1786   # left behind by Apple's compiler.  We do this before executing the actions.
   1787   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1789   as_fn_set_status $ac_retval
   1790 
   1791 } # ac_fn_c_try_link
   1792 
   1793 # ac_fn_c_check_func LINENO FUNC VAR
   1794 # ----------------------------------
   1795 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1796 ac_fn_c_check_func ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1800 printf %s "checking for $2... " >&6; }
   1801 if eval test \${$3+y}
   1802 then :
   1803   printf %s "(cached) " >&6
   1804 else $as_nop
   1805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1806 /* end confdefs.h.  */
   1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1809 #define $2 innocuous_$2
   1810 
   1811 /* System header to define __stub macros and hopefully few prototypes,
   1812    which can conflict with char $2 (); below.  */
   1813 
   1814 #include <limits.h>
   1815 #undef $2
   1816 
   1817 /* Override any GCC internal prototype to avoid an error.
   1818    Use char because int might match the return type of a GCC
   1819    builtin and then its argument prototype would still apply.  */
   1820 #ifdef __cplusplus
   1821 extern "C"
   1822 #endif
   1823 char $2 ();
   1824 /* The GNU C library defines this for functions which it implements
   1825     to always fail with ENOSYS.  Some functions are actually named
   1826     something starting with __ and the normal name is an alias.  */
   1827 #if defined __stub_$2 || defined __stub___$2
   1828 choke me
   1829 #endif
   1830 
   1831 int
   1832 main (void)
   1833 {
   1834 return $2 ();
   1835   ;
   1836   return 0;
   1837 }
   1838 _ACEOF
   1839 if ac_fn_c_try_link "$LINENO"
   1840 then :
   1841   eval "$3=yes"
   1842 else $as_nop
   1843   eval "$3=no"
   1844 fi
   1845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1846     conftest$ac_exeext conftest.$ac_ext
   1847 fi
   1848 eval ac_res=\$$3
   1849 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1850 printf "%s\n" "$ac_res" >&6; }
   1851   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1852 
   1853 } # ac_fn_c_check_func
   1854 ac_configure_args_raw=
   1855 for ac_arg
   1856 do
   1857   case $ac_arg in
   1858   *\'*)
   1859     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1860   esac
   1861   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1862 done
   1863 
   1864 case $ac_configure_args_raw in
   1865   *$as_nl*)
   1866     ac_safe_unquote= ;;
   1867   *)
   1868     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1869     ac_unsafe_a="$ac_unsafe_z#~"
   1870     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1871     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1872 esac
   1873 
   1874 cat >config.log <<_ACEOF
   1875 This file contains any messages produced by compilers while
   1876 running configure, to aid debugging if configure makes a mistake.
   1877 
   1878 It was created by xf86-video-i128 $as_me 1.4.1, which was
   1879 generated by GNU Autoconf 2.71.  Invocation command line was
   1880 
   1881   $ $0$ac_configure_args_raw
   1882 
   1883 _ACEOF
   1884 exec 5>>config.log
   1885 {
   1886 cat <<_ASUNAME
   1887 ## --------- ##
   1888 ## Platform. ##
   1889 ## --------- ##
   1890 
   1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1896 
   1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1898 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1899 
   1900 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1901 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1903 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1904 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1905 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1906 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1907 
   1908 _ASUNAME
   1909 
   1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1911 for as_dir in $PATH
   1912 do
   1913   IFS=$as_save_IFS
   1914   case $as_dir in #(((
   1915     '') as_dir=./ ;;
   1916     */) ;;
   1917     *) as_dir=$as_dir/ ;;
   1918   esac
   1919     printf "%s\n" "PATH: $as_dir"
   1920   done
   1921 IFS=$as_save_IFS
   1922 
   1923 } >&5
   1924 
   1925 cat >&5 <<_ACEOF
   1926 
   1927 
   1928 ## ----------- ##
   1929 ## Core tests. ##
   1930 ## ----------- ##
   1931 
   1932 _ACEOF
   1933 
   1934 
   1935 # Keep a trace of the command line.
   1936 # Strip out --no-create and --no-recursion so they do not pile up.
   1937 # Strip out --silent because we don't want to record it for future runs.
   1938 # Also quote any args containing shell meta-characters.
   1939 # Make two passes to allow for proper duplicate-argument suppression.
   1940 ac_configure_args=
   1941 ac_configure_args0=
   1942 ac_configure_args1=
   1943 ac_must_keep_next=false
   1944 for ac_pass in 1 2
   1945 do
   1946   for ac_arg
   1947   do
   1948     case $ac_arg in
   1949     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1950     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1951     | -silent | --silent | --silen | --sile | --sil)
   1952       continue ;;
   1953     *\'*)
   1954       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1955     esac
   1956     case $ac_pass in
   1957     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1958     2)
   1959       as_fn_append ac_configure_args1 " '$ac_arg'"
   1960       if test $ac_must_keep_next = true; then
   1961 	ac_must_keep_next=false # Got value, back to normal.
   1962       else
   1963 	case $ac_arg in
   1964 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1965 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1966 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1967 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1968 	    case "$ac_configure_args0 " in
   1969 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1970 	    esac
   1971 	    ;;
   1972 	  -* ) ac_must_keep_next=true ;;
   1973 	esac
   1974       fi
   1975       as_fn_append ac_configure_args " '$ac_arg'"
   1976       ;;
   1977     esac
   1978   done
   1979 done
   1980 { ac_configure_args0=; unset ac_configure_args0;}
   1981 { ac_configure_args1=; unset ac_configure_args1;}
   1982 
   1983 # When interrupted or exit'd, cleanup temporary files, and complete
   1984 # config.log.  We remove comments because anyway the quotes in there
   1985 # would cause problems or look ugly.
   1986 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1987 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1988 trap 'exit_status=$?
   1989   # Sanitize IFS.
   1990   IFS=" ""	$as_nl"
   1991   # Save into config.log some information that might help in debugging.
   1992   {
   1993     echo
   1994 
   1995     printf "%s\n" "## ---------------- ##
   1996 ## Cache variables. ##
   1997 ## ---------------- ##"
   1998     echo
   1999     # The following way of writing the cache mishandles newlines in values,
   2000 (
   2001   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2002     eval ac_val=\$$ac_var
   2003     case $ac_val in #(
   2004     *${as_nl}*)
   2005       case $ac_var in #(
   2006       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2007 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2008       esac
   2009       case $ac_var in #(
   2010       _ | IFS | as_nl) ;; #(
   2011       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2012       *) { eval $ac_var=; unset $ac_var;} ;;
   2013       esac ;;
   2014     esac
   2015   done
   2016   (set) 2>&1 |
   2017     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2018     *${as_nl}ac_space=\ *)
   2019       sed -n \
   2020 	"s/'\''/'\''\\\\'\'''\''/g;
   2021 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2022       ;; #(
   2023     *)
   2024       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2025       ;;
   2026     esac |
   2027     sort
   2028 )
   2029     echo
   2030 
   2031     printf "%s\n" "## ----------------- ##
   2032 ## Output variables. ##
   2033 ## ----------------- ##"
   2034     echo
   2035     for ac_var in $ac_subst_vars
   2036     do
   2037       eval ac_val=\$$ac_var
   2038       case $ac_val in
   2039       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2040       esac
   2041       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2042     done | sort
   2043     echo
   2044 
   2045     if test -n "$ac_subst_files"; then
   2046       printf "%s\n" "## ------------------- ##
   2047 ## File substitutions. ##
   2048 ## ------------------- ##"
   2049       echo
   2050       for ac_var in $ac_subst_files
   2051       do
   2052 	eval ac_val=\$$ac_var
   2053 	case $ac_val in
   2054 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2055 	esac
   2056 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2057       done | sort
   2058       echo
   2059     fi
   2060 
   2061     if test -s confdefs.h; then
   2062       printf "%s\n" "## ----------- ##
   2063 ## confdefs.h. ##
   2064 ## ----------- ##"
   2065       echo
   2066       cat confdefs.h
   2067       echo
   2068     fi
   2069     test "$ac_signal" != 0 &&
   2070       printf "%s\n" "$as_me: caught signal $ac_signal"
   2071     printf "%s\n" "$as_me: exit $exit_status"
   2072   } >&5
   2073   rm -f core *.core core.conftest.* &&
   2074     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2075     exit $exit_status
   2076 ' 0
   2077 for ac_signal in 1 2 13 15; do
   2078   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2079 done
   2080 ac_signal=0
   2081 
   2082 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2083 rm -f -r conftest* confdefs.h
   2084 
   2085 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2086 
   2087 # Predefined preprocessor variables.
   2088 
   2089 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2090 
   2091 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2092 
   2093 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2094 
   2095 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2096 
   2097 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2098 
   2099 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2100 
   2101 
   2102 # Let the site file select an alternate cache file if it wants to.
   2103 # Prefer an explicitly selected file to automatically selected ones.
   2104 if test -n "$CONFIG_SITE"; then
   2105   ac_site_files="$CONFIG_SITE"
   2106 elif test "x$prefix" != xNONE; then
   2107   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2108 else
   2109   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2110 fi
   2111 
   2112 for ac_site_file in $ac_site_files
   2113 do
   2114   case $ac_site_file in #(
   2115   */*) :
   2116      ;; #(
   2117   *) :
   2118     ac_site_file=./$ac_site_file ;;
   2119 esac
   2120   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2121     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2122 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2123     sed 's/^/| /' "$ac_site_file" >&5
   2124     . "$ac_site_file" \
   2125       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2126 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2127 as_fn_error $? "failed to load site script $ac_site_file
   2128 See \`config.log' for more details" "$LINENO" 5; }
   2129   fi
   2130 done
   2131 
   2132 if test -r "$cache_file"; then
   2133   # Some versions of bash will fail to source /dev/null (special files
   2134   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2135   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2136     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2137 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2138     case $cache_file in
   2139       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2140       *)                      . "./$cache_file";;
   2141     esac
   2142   fi
   2143 else
   2144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2145 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2146   >$cache_file
   2147 fi
   2148 
   2149 # Test code for whether the C compiler supports C89 (global declarations)
   2150 ac_c_conftest_c89_globals='
   2151 /* Does the compiler advertise C89 conformance?
   2152    Do not test the value of __STDC__, because some compilers set it to 0
   2153    while being otherwise adequately conformant. */
   2154 #if !defined __STDC__
   2155 # error "Compiler does not advertise C89 conformance"
   2156 #endif
   2157 
   2158 #include <stddef.h>
   2159 #include <stdarg.h>
   2160 struct stat;
   2161 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2162 struct buf { int x; };
   2163 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2164 static char *e (p, i)
   2165      char **p;
   2166      int i;
   2167 {
   2168   return p[i];
   2169 }
   2170 static char *f (char * (*g) (char **, int), char **p, ...)
   2171 {
   2172   char *s;
   2173   va_list v;
   2174   va_start (v,p);
   2175   s = g (p, va_arg (v,int));
   2176   va_end (v);
   2177   return s;
   2178 }
   2179 
   2180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2181    function prototypes and stuff, but not \xHH hex character constants.
   2182    These do not provoke an error unfortunately, instead are silently treated
   2183    as an "x".  The following induces an error, until -std is added to get
   2184    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2185    array size at least.  It is necessary to write \x00 == 0 to get something
   2186    that is true only with -std.  */
   2187 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2188 
   2189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2190    inside strings and character constants.  */
   2191 #define FOO(x) '\''x'\''
   2192 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2193 
   2194 int test (int i, double x);
   2195 struct s1 {int (*f) (int a);};
   2196 struct s2 {int (*f) (double a);};
   2197 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2198                int, int);'
   2199 
   2200 # Test code for whether the C compiler supports C89 (body of main).
   2201 ac_c_conftest_c89_main='
   2202 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2203 '
   2204 
   2205 # Test code for whether the C compiler supports C99 (global declarations)
   2206 ac_c_conftest_c99_globals='
   2207 // Does the compiler advertise C99 conformance?
   2208 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2209 # error "Compiler does not advertise C99 conformance"
   2210 #endif
   2211 
   2212 #include <stdbool.h>
   2213 extern int puts (const char *);
   2214 extern int printf (const char *, ...);
   2215 extern int dprintf (int, const char *, ...);
   2216 extern void *malloc (size_t);
   2217 
   2218 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2219 // dprintf is used instead of fprintf to avoid needing to declare
   2220 // FILE and stderr.
   2221 #define debug(...) dprintf (2, __VA_ARGS__)
   2222 #define showlist(...) puts (#__VA_ARGS__)
   2223 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2224 static void
   2225 test_varargs_macros (void)
   2226 {
   2227   int x = 1234;
   2228   int y = 5678;
   2229   debug ("Flag");
   2230   debug ("X = %d\n", x);
   2231   showlist (The first, second, and third items.);
   2232   report (x>y, "x is %d but y is %d", x, y);
   2233 }
   2234 
   2235 // Check long long types.
   2236 #define BIG64 18446744073709551615ull
   2237 #define BIG32 4294967295ul
   2238 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2239 #if !BIG_OK
   2240   #error "your preprocessor is broken"
   2241 #endif
   2242 #if BIG_OK
   2243 #else
   2244   #error "your preprocessor is broken"
   2245 #endif
   2246 static long long int bignum = -9223372036854775807LL;
   2247 static unsigned long long int ubignum = BIG64;
   2248 
   2249 struct incomplete_array
   2250 {
   2251   int datasize;
   2252   double data[];
   2253 };
   2254 
   2255 struct named_init {
   2256   int number;
   2257   const wchar_t *name;
   2258   double average;
   2259 };
   2260 
   2261 typedef const char *ccp;
   2262 
   2263 static inline int
   2264 test_restrict (ccp restrict text)
   2265 {
   2266   // See if C++-style comments work.
   2267   // Iterate through items via the restricted pointer.
   2268   // Also check for declarations in for loops.
   2269   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2270     continue;
   2271   return 0;
   2272 }
   2273 
   2274 // Check varargs and va_copy.
   2275 static bool
   2276 test_varargs (const char *format, ...)
   2277 {
   2278   va_list args;
   2279   va_start (args, format);
   2280   va_list args_copy;
   2281   va_copy (args_copy, args);
   2282 
   2283   const char *str = "";
   2284   int number = 0;
   2285   float fnumber = 0;
   2286 
   2287   while (*format)
   2288     {
   2289       switch (*format++)
   2290 	{
   2291 	case '\''s'\'': // string
   2292 	  str = va_arg (args_copy, const char *);
   2293 	  break;
   2294 	case '\''d'\'': // int
   2295 	  number = va_arg (args_copy, int);
   2296 	  break;
   2297 	case '\''f'\'': // float
   2298 	  fnumber = va_arg (args_copy, double);
   2299 	  break;
   2300 	default:
   2301 	  break;
   2302 	}
   2303     }
   2304   va_end (args_copy);
   2305   va_end (args);
   2306 
   2307   return *str && number && fnumber;
   2308 }
   2309 '
   2310 
   2311 # Test code for whether the C compiler supports C99 (body of main).
   2312 ac_c_conftest_c99_main='
   2313   // Check bool.
   2314   _Bool success = false;
   2315   success |= (argc != 0);
   2316 
   2317   // Check restrict.
   2318   if (test_restrict ("String literal") == 0)
   2319     success = true;
   2320   char *restrict newvar = "Another string";
   2321 
   2322   // Check varargs.
   2323   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2324   test_varargs_macros ();
   2325 
   2326   // Check flexible array members.
   2327   struct incomplete_array *ia =
   2328     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2329   ia->datasize = 10;
   2330   for (int i = 0; i < ia->datasize; ++i)
   2331     ia->data[i] = i * 1.234;
   2332 
   2333   // Check named initializers.
   2334   struct named_init ni = {
   2335     .number = 34,
   2336     .name = L"Test wide string",
   2337     .average = 543.34343,
   2338   };
   2339 
   2340   ni.number = 58;
   2341 
   2342   int dynamic_array[ni.number];
   2343   dynamic_array[0] = argv[0][0];
   2344   dynamic_array[ni.number - 1] = 543;
   2345 
   2346   // work around unused variable warnings
   2347   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2348 	 || dynamic_array[ni.number - 1] != 543);
   2349 '
   2350 
   2351 # Test code for whether the C compiler supports C11 (global declarations)
   2352 ac_c_conftest_c11_globals='
   2353 // Does the compiler advertise C11 conformance?
   2354 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2355 # error "Compiler does not advertise C11 conformance"
   2356 #endif
   2357 
   2358 // Check _Alignas.
   2359 char _Alignas (double) aligned_as_double;
   2360 char _Alignas (0) no_special_alignment;
   2361 extern char aligned_as_int;
   2362 char _Alignas (0) _Alignas (int) aligned_as_int;
   2363 
   2364 // Check _Alignof.
   2365 enum
   2366 {
   2367   int_alignment = _Alignof (int),
   2368   int_array_alignment = _Alignof (int[100]),
   2369   char_alignment = _Alignof (char)
   2370 };
   2371 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2372 
   2373 // Check _Noreturn.
   2374 int _Noreturn does_not_return (void) { for (;;) continue; }
   2375 
   2376 // Check _Static_assert.
   2377 struct test_static_assert
   2378 {
   2379   int x;
   2380   _Static_assert (sizeof (int) <= sizeof (long int),
   2381                   "_Static_assert does not work in struct");
   2382   long int y;
   2383 };
   2384 
   2385 // Check UTF-8 literals.
   2386 #define u8 syntax error!
   2387 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2388 
   2389 // Check duplicate typedefs.
   2390 typedef long *long_ptr;
   2391 typedef long int *long_ptr;
   2392 typedef long_ptr long_ptr;
   2393 
   2394 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2395 struct anonymous
   2396 {
   2397   union {
   2398     struct { int i; int j; };
   2399     struct { int k; long int l; } w;
   2400   };
   2401   int m;
   2402 } v1;
   2403 '
   2404 
   2405 # Test code for whether the C compiler supports C11 (body of main).
   2406 ac_c_conftest_c11_main='
   2407   _Static_assert ((offsetof (struct anonymous, i)
   2408 		   == offsetof (struct anonymous, w.k)),
   2409 		  "Anonymous union alignment botch");
   2410   v1.i = 2;
   2411   v1.w.k = 5;
   2412   ok |= v1.i != 5;
   2413 '
   2414 
   2415 # Test code for whether the C compiler supports C11 (complete).
   2416 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2417 ${ac_c_conftest_c99_globals}
   2418 ${ac_c_conftest_c11_globals}
   2419 
   2420 int
   2421 main (int argc, char **argv)
   2422 {
   2423   int ok = 0;
   2424   ${ac_c_conftest_c89_main}
   2425   ${ac_c_conftest_c99_main}
   2426   ${ac_c_conftest_c11_main}
   2427   return ok;
   2428 }
   2429 "
   2430 
   2431 # Test code for whether the C compiler supports C99 (complete).
   2432 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2433 ${ac_c_conftest_c99_globals}
   2434 
   2435 int
   2436 main (int argc, char **argv)
   2437 {
   2438   int ok = 0;
   2439   ${ac_c_conftest_c89_main}
   2440   ${ac_c_conftest_c99_main}
   2441   return ok;
   2442 }
   2443 "
   2444 
   2445 # Test code for whether the C compiler supports C89 (complete).
   2446 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2447 
   2448 int
   2449 main (int argc, char **argv)
   2450 {
   2451   int ok = 0;
   2452   ${ac_c_conftest_c89_main}
   2453   return ok;
   2454 }
   2455 "
   2456 
   2457 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2458 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2459 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2460 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2461 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2462 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2463 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2464 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2465 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2466 
   2467 # Auxiliary files required by this configure script.
   2468 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2469 
   2470 # Locations in which to look for auxiliary files.
   2471 ac_aux_dir_candidates="${srcdir}/."
   2472 
   2473 # Search for a directory containing all of the required auxiliary files,
   2474 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2475 # If we don't find one directory that contains all the files we need,
   2476 # we report the set of missing files from the *first* directory in
   2477 # $ac_aux_dir_candidates and give up.
   2478 ac_missing_aux_files=""
   2479 ac_first_candidate=:
   2480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2482 as_found=false
   2483 for as_dir in $ac_aux_dir_candidates
   2484 do
   2485   IFS=$as_save_IFS
   2486   case $as_dir in #(((
   2487     '') as_dir=./ ;;
   2488     */) ;;
   2489     *) as_dir=$as_dir/ ;;
   2490   esac
   2491   as_found=:
   2492 
   2493   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2494   ac_aux_dir_found=yes
   2495   ac_install_sh=
   2496   for ac_aux in $ac_aux_files
   2497   do
   2498     # As a special case, if "install-sh" is required, that requirement
   2499     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2500     # and $ac_install_sh is set appropriately for whichever one is found.
   2501     if test x"$ac_aux" = x"install-sh"
   2502     then
   2503       if test -f "${as_dir}install-sh"; then
   2504         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2505         ac_install_sh="${as_dir}install-sh -c"
   2506       elif test -f "${as_dir}install.sh"; then
   2507         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2508         ac_install_sh="${as_dir}install.sh -c"
   2509       elif test -f "${as_dir}shtool"; then
   2510         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2511         ac_install_sh="${as_dir}shtool install -c"
   2512       else
   2513         ac_aux_dir_found=no
   2514         if $ac_first_candidate; then
   2515           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2516         else
   2517           break
   2518         fi
   2519       fi
   2520     else
   2521       if test -f "${as_dir}${ac_aux}"; then
   2522         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2523       else
   2524         ac_aux_dir_found=no
   2525         if $ac_first_candidate; then
   2526           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2527         else
   2528           break
   2529         fi
   2530       fi
   2531     fi
   2532   done
   2533   if test "$ac_aux_dir_found" = yes; then
   2534     ac_aux_dir="$as_dir"
   2535     break
   2536   fi
   2537   ac_first_candidate=false
   2538 
   2539   as_found=false
   2540 done
   2541 IFS=$as_save_IFS
   2542 if $as_found
   2543 then :
   2544 
   2545 else $as_nop
   2546   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2547 fi
   2548 
   2549 
   2550 # These three variables are undocumented and unsupported,
   2551 # and are intended to be withdrawn in a future Autoconf release.
   2552 # They can cause serious problems if a builder's source tree is in a directory
   2553 # whose full name contains unusual characters.
   2554 if test -f "${ac_aux_dir}config.guess"; then
   2555   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2556 fi
   2557 if test -f "${ac_aux_dir}config.sub"; then
   2558   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2559 fi
   2560 if test -f "$ac_aux_dir/configure"; then
   2561   ac_configure="$SHELL ${ac_aux_dir}configure"
   2562 fi
   2563 
   2564 # Check that the precious variables saved in the cache have kept the same
   2565 # value.
   2566 ac_cache_corrupted=false
   2567 for ac_var in $ac_precious_vars; do
   2568   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2569   eval ac_new_set=\$ac_env_${ac_var}_set
   2570   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2571   eval ac_new_val=\$ac_env_${ac_var}_value
   2572   case $ac_old_set,$ac_new_set in
   2573     set,)
   2574       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2575 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2576       ac_cache_corrupted=: ;;
   2577     ,set)
   2578       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2579 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2580       ac_cache_corrupted=: ;;
   2581     ,);;
   2582     *)
   2583       if test "x$ac_old_val" != "x$ac_new_val"; then
   2584 	# differences in whitespace do not lead to failure.
   2585 	ac_old_val_w=`echo x $ac_old_val`
   2586 	ac_new_val_w=`echo x $ac_new_val`
   2587 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2588 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2589 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2590 	  ac_cache_corrupted=:
   2591 	else
   2592 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2593 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2594 	  eval $ac_var=\$ac_old_val
   2595 	fi
   2596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2597 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2599 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2600       fi;;
   2601   esac
   2602   # Pass precious variables to config.status.
   2603   if test "$ac_new_set" = set; then
   2604     case $ac_new_val in
   2605     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2606     *) ac_arg=$ac_var=$ac_new_val ;;
   2607     esac
   2608     case " $ac_configure_args " in
   2609       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2610       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2611     esac
   2612   fi
   2613 done
   2614 if $ac_cache_corrupted; then
   2615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2616 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2618 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2619   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2620 	    and start over" "$LINENO" 5
   2621 fi
   2622 ## -------------------- ##
   2623 ## Main body of script. ##
   2624 ## -------------------- ##
   2625 
   2626 ac_ext=c
   2627 ac_cpp='$CPP $CPPFLAGS'
   2628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2631 
   2632 
   2633 
   2634 ac_config_headers="$ac_config_headers config.h"
   2635 
   2636 
   2637 
   2638 # Initialize Automake
   2639 am__api_version='1.16'
   2640 
   2641 
   2642 
   2643   # Find a good install program.  We prefer a C program (faster),
   2644 # so one script is as good as another.  But avoid the broken or
   2645 # incompatible versions:
   2646 # SysV /etc/install, /usr/sbin/install
   2647 # SunOS /usr/etc/install
   2648 # IRIX /sbin/install
   2649 # AIX /bin/install
   2650 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2654 # OS/2's system install, which has a completely different semantic
   2655 # ./install, which can be erroneously created by make from ./install.sh.
   2656 # Reject install programs that cannot install multiple files.
   2657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2658 printf %s "checking for a BSD-compatible install... " >&6; }
   2659 if test -z "$INSTALL"; then
   2660 if test ${ac_cv_path_install+y}
   2661 then :
   2662   printf %s "(cached) " >&6
   2663 else $as_nop
   2664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2665 for as_dir in $PATH
   2666 do
   2667   IFS=$as_save_IFS
   2668   case $as_dir in #(((
   2669     '') as_dir=./ ;;
   2670     */) ;;
   2671     *) as_dir=$as_dir/ ;;
   2672   esac
   2673     # Account for fact that we put trailing slashes in our PATH walk.
   2674 case $as_dir in #((
   2675   ./ | /[cC]/* | \
   2676   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2677   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2678   /usr/ucb/* ) ;;
   2679   *)
   2680     # OSF1 and SCO ODT 3.0 have their own names for install.
   2681     # Don't use installbsd from OSF since it installs stuff as root
   2682     # by default.
   2683     for ac_prog in ginstall scoinst install; do
   2684       for ac_exec_ext in '' $ac_executable_extensions; do
   2685 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2686 	  if test $ac_prog = install &&
   2687 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2688 	    # AIX install.  It has an incompatible calling convention.
   2689 	    :
   2690 	  elif test $ac_prog = install &&
   2691 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2692 	    # program-specific install script used by HP pwplus--don't use.
   2693 	    :
   2694 	  else
   2695 	    rm -rf conftest.one conftest.two conftest.dir
   2696 	    echo one > conftest.one
   2697 	    echo two > conftest.two
   2698 	    mkdir conftest.dir
   2699 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2700 	      test -s conftest.one && test -s conftest.two &&
   2701 	      test -s conftest.dir/conftest.one &&
   2702 	      test -s conftest.dir/conftest.two
   2703 	    then
   2704 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2705 	      break 3
   2706 	    fi
   2707 	  fi
   2708 	fi
   2709       done
   2710     done
   2711     ;;
   2712 esac
   2713 
   2714   done
   2715 IFS=$as_save_IFS
   2716 
   2717 rm -rf conftest.one conftest.two conftest.dir
   2718 
   2719 fi
   2720   if test ${ac_cv_path_install+y}; then
   2721     INSTALL=$ac_cv_path_install
   2722   else
   2723     # As a last resort, use the slow shell script.  Don't cache a
   2724     # value for INSTALL within a source directory, because that will
   2725     # break other packages using the cache if that directory is
   2726     # removed, or if the value is a relative name.
   2727     INSTALL=$ac_install_sh
   2728   fi
   2729 fi
   2730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2731 printf "%s\n" "$INSTALL" >&6; }
   2732 
   2733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2734 # It thinks the first close brace ends the variable substitution.
   2735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2736 
   2737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2738 
   2739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2740 
   2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2742 printf %s "checking whether build environment is sane... " >&6; }
   2743 # Reject unsafe characters in $srcdir or the absolute working directory
   2744 # name.  Accept space and tab only in the latter.
   2745 am_lf='
   2746 '
   2747 case `pwd` in
   2748   *[\\\"\#\$\&\'\`$am_lf]*)
   2749     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2750 esac
   2751 case $srcdir in
   2752   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2753     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2754 esac
   2755 
   2756 # Do 'set' in a subshell so we don't clobber the current shell's
   2757 # arguments.  Must try -L first in case configure is actually a
   2758 # symlink; some systems play weird games with the mod time of symlinks
   2759 # (eg FreeBSD returns the mod time of the symlink's containing
   2760 # directory).
   2761 if (
   2762    am_has_slept=no
   2763    for am_try in 1 2; do
   2764      echo "timestamp, slept: $am_has_slept" > conftest.file
   2765      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2766      if test "$*" = "X"; then
   2767 	# -L didn't work.
   2768 	set X `ls -t "$srcdir/configure" conftest.file`
   2769      fi
   2770      if test "$*" != "X $srcdir/configure conftest.file" \
   2771 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2772 
   2773 	# If neither matched, then we have a broken ls.  This can happen
   2774 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2775 	# broken ls alias from the environment.  This has actually
   2776 	# happened.  Such a system could not be considered "sane".
   2777 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2778   alias in your environment" "$LINENO" 5
   2779      fi
   2780      if test "$2" = conftest.file || test $am_try -eq 2; then
   2781        break
   2782      fi
   2783      # Just in case.
   2784      sleep 1
   2785      am_has_slept=yes
   2786    done
   2787    test "$2" = conftest.file
   2788    )
   2789 then
   2790    # Ok.
   2791    :
   2792 else
   2793    as_fn_error $? "newly created file is older than distributed files!
   2794 Check your system clock" "$LINENO" 5
   2795 fi
   2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2797 printf "%s\n" "yes" >&6; }
   2798 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2799 # generated files are strictly newer.
   2800 am_sleep_pid=
   2801 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2802   ( sleep 1 ) &
   2803   am_sleep_pid=$!
   2804 fi
   2805 
   2806 rm -f conftest.file
   2807 
   2808 test "$program_prefix" != NONE &&
   2809   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2810 # Use a double $ so make ignores it.
   2811 test "$program_suffix" != NONE &&
   2812   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2813 # Double any \ or $.
   2814 # By default was `s,x,x', remove it if useless.
   2815 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2816 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2817 
   2818 
   2819 # Expand $ac_aux_dir to an absolute path.
   2820 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2821 
   2822 
   2823   if test x"${MISSING+set}" != xset; then
   2824   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2825 fi
   2826 # Use eval to expand $SHELL
   2827 if eval "$MISSING --is-lightweight"; then
   2828   am_missing_run="$MISSING "
   2829 else
   2830   am_missing_run=
   2831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2832 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2833 fi
   2834 
   2835 if test x"${install_sh+set}" != xset; then
   2836   case $am_aux_dir in
   2837   *\ * | *\	*)
   2838     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2839   *)
   2840     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2841   esac
   2842 fi
   2843 
   2844 # Installed binaries are usually stripped using 'strip' when the user
   2845 # run "make install-strip".  However 'strip' might not be the right
   2846 # tool to use in cross-compilation environments, therefore Automake
   2847 # will honor the 'STRIP' environment variable to overrule this program.
   2848 if test "$cross_compiling" != no; then
   2849   if test -n "$ac_tool_prefix"; then
   2850   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2851 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2853 printf %s "checking for $ac_word... " >&6; }
   2854 if test ${ac_cv_prog_STRIP+y}
   2855 then :
   2856   printf %s "(cached) " >&6
   2857 else $as_nop
   2858   if test -n "$STRIP"; then
   2859   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2860 else
   2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2862 for as_dir in $PATH
   2863 do
   2864   IFS=$as_save_IFS
   2865   case $as_dir in #(((
   2866     '') as_dir=./ ;;
   2867     */) ;;
   2868     *) as_dir=$as_dir/ ;;
   2869   esac
   2870     for ac_exec_ext in '' $ac_executable_extensions; do
   2871   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2872     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2873     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2874     break 2
   2875   fi
   2876 done
   2877   done
   2878 IFS=$as_save_IFS
   2879 
   2880 fi
   2881 fi
   2882 STRIP=$ac_cv_prog_STRIP
   2883 if test -n "$STRIP"; then
   2884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2885 printf "%s\n" "$STRIP" >&6; }
   2886 else
   2887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2888 printf "%s\n" "no" >&6; }
   2889 fi
   2890 
   2891 
   2892 fi
   2893 if test -z "$ac_cv_prog_STRIP"; then
   2894   ac_ct_STRIP=$STRIP
   2895   # Extract the first word of "strip", so it can be a program name with args.
   2896 set dummy strip; ac_word=$2
   2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2898 printf %s "checking for $ac_word... " >&6; }
   2899 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2900 then :
   2901   printf %s "(cached) " >&6
   2902 else $as_nop
   2903   if test -n "$ac_ct_STRIP"; then
   2904   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2905 else
   2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2907 for as_dir in $PATH
   2908 do
   2909   IFS=$as_save_IFS
   2910   case $as_dir in #(((
   2911     '') as_dir=./ ;;
   2912     */) ;;
   2913     *) as_dir=$as_dir/ ;;
   2914   esac
   2915     for ac_exec_ext in '' $ac_executable_extensions; do
   2916   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2917     ac_cv_prog_ac_ct_STRIP="strip"
   2918     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2919     break 2
   2920   fi
   2921 done
   2922   done
   2923 IFS=$as_save_IFS
   2924 
   2925 fi
   2926 fi
   2927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2928 if test -n "$ac_ct_STRIP"; then
   2929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2930 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2931 else
   2932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2933 printf "%s\n" "no" >&6; }
   2934 fi
   2935 
   2936   if test "x$ac_ct_STRIP" = x; then
   2937     STRIP=":"
   2938   else
   2939     case $cross_compiling:$ac_tool_warned in
   2940 yes:)
   2941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2942 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2943 ac_tool_warned=yes ;;
   2944 esac
   2945     STRIP=$ac_ct_STRIP
   2946   fi
   2947 else
   2948   STRIP="$ac_cv_prog_STRIP"
   2949 fi
   2950 
   2951 fi
   2952 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2953 
   2954 
   2955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2956 printf %s "checking for a race-free mkdir -p... " >&6; }
   2957 if test -z "$MKDIR_P"; then
   2958   if test ${ac_cv_path_mkdir+y}
   2959 then :
   2960   printf %s "(cached) " >&6
   2961 else $as_nop
   2962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2964 do
   2965   IFS=$as_save_IFS
   2966   case $as_dir in #(((
   2967     '') as_dir=./ ;;
   2968     */) ;;
   2969     *) as_dir=$as_dir/ ;;
   2970   esac
   2971     for ac_prog in mkdir gmkdir; do
   2972 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2973 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2974 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2975 	     'mkdir ('*'coreutils) '* | \
   2976 	     'BusyBox '* | \
   2977 	     'mkdir (fileutils) '4.1*)
   2978 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2979 	       break 3;;
   2980 	   esac
   2981 	 done
   2982        done
   2983   done
   2984 IFS=$as_save_IFS
   2985 
   2986 fi
   2987 
   2988   test -d ./--version && rmdir ./--version
   2989   if test ${ac_cv_path_mkdir+y}; then
   2990     MKDIR_P="$ac_cv_path_mkdir -p"
   2991   else
   2992     # As a last resort, use the slow shell script.  Don't cache a
   2993     # value for MKDIR_P within a source directory, because that will
   2994     # break other packages using the cache if that directory is
   2995     # removed, or if the value is a relative name.
   2996     MKDIR_P="$ac_install_sh -d"
   2997   fi
   2998 fi
   2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3000 printf "%s\n" "$MKDIR_P" >&6; }
   3001 
   3002 for ac_prog in gawk mawk nawk awk
   3003 do
   3004   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3005 set dummy $ac_prog; ac_word=$2
   3006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3007 printf %s "checking for $ac_word... " >&6; }
   3008 if test ${ac_cv_prog_AWK+y}
   3009 then :
   3010   printf %s "(cached) " >&6
   3011 else $as_nop
   3012   if test -n "$AWK"; then
   3013   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3014 else
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   case $as_dir in #(((
   3020     '') as_dir=./ ;;
   3021     */) ;;
   3022     *) as_dir=$as_dir/ ;;
   3023   esac
   3024     for ac_exec_ext in '' $ac_executable_extensions; do
   3025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3026     ac_cv_prog_AWK="$ac_prog"
   3027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3028     break 2
   3029   fi
   3030 done
   3031   done
   3032 IFS=$as_save_IFS
   3033 
   3034 fi
   3035 fi
   3036 AWK=$ac_cv_prog_AWK
   3037 if test -n "$AWK"; then
   3038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3039 printf "%s\n" "$AWK" >&6; }
   3040 else
   3041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3042 printf "%s\n" "no" >&6; }
   3043 fi
   3044 
   3045 
   3046   test -n "$AWK" && break
   3047 done
   3048 
   3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3050 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3051 set x ${MAKE-make}
   3052 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3053 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3054 then :
   3055   printf %s "(cached) " >&6
   3056 else $as_nop
   3057   cat >conftest.make <<\_ACEOF
   3058 SHELL = /bin/sh
   3059 all:
   3060 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3061 _ACEOF
   3062 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3063 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3064   *@@@%%%=?*=@@@%%%*)
   3065     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3066   *)
   3067     eval ac_cv_prog_make_${ac_make}_set=no;;
   3068 esac
   3069 rm -f conftest.make
   3070 fi
   3071 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3073 printf "%s\n" "yes" >&6; }
   3074   SET_MAKE=
   3075 else
   3076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3077 printf "%s\n" "no" >&6; }
   3078   SET_MAKE="MAKE=${MAKE-make}"
   3079 fi
   3080 
   3081 rm -rf .tst 2>/dev/null
   3082 mkdir .tst 2>/dev/null
   3083 if test -d .tst; then
   3084   am__leading_dot=.
   3085 else
   3086   am__leading_dot=_
   3087 fi
   3088 rmdir .tst 2>/dev/null
   3089 
   3090 # Check whether --enable-silent-rules was given.
   3091 if test ${enable_silent_rules+y}
   3092 then :
   3093   enableval=$enable_silent_rules;
   3094 fi
   3095 
   3096 case $enable_silent_rules in # (((
   3097   yes) AM_DEFAULT_VERBOSITY=0;;
   3098    no) AM_DEFAULT_VERBOSITY=1;;
   3099     *) AM_DEFAULT_VERBOSITY=1;;
   3100 esac
   3101 am_make=${MAKE-make}
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3103 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3104 if test ${am_cv_make_support_nested_variables+y}
   3105 then :
   3106   printf %s "(cached) " >&6
   3107 else $as_nop
   3108   if printf "%s\n" 'TRUE=$(BAR$(V))
   3109 BAR0=false
   3110 BAR1=true
   3111 V=1
   3112 am__doit:
   3113 	@$(TRUE)
   3114 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3115   am_cv_make_support_nested_variables=yes
   3116 else
   3117   am_cv_make_support_nested_variables=no
   3118 fi
   3119 fi
   3120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3121 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3122 if test $am_cv_make_support_nested_variables = yes; then
   3123     AM_V='$(V)'
   3124   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3125 else
   3126   AM_V=$AM_DEFAULT_VERBOSITY
   3127   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3128 fi
   3129 AM_BACKSLASH='\'
   3130 
   3131 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3132   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3133   # is not polluted with repeated "-I."
   3134   am__isrc=' -I$(srcdir)'
   3135   # test to see if srcdir already configured
   3136   if test -f $srcdir/config.status; then
   3137     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3138   fi
   3139 fi
   3140 
   3141 # test whether we have cygpath
   3142 if test -z "$CYGPATH_W"; then
   3143   if (cygpath --version) >/dev/null 2>/dev/null; then
   3144     CYGPATH_W='cygpath -w'
   3145   else
   3146     CYGPATH_W=echo
   3147   fi
   3148 fi
   3149 
   3150 
   3151 # Define the identity of the package.
   3152  PACKAGE='xf86-video-i128'
   3153  VERSION='1.4.1'
   3154 
   3155 
   3156 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3157 
   3158 
   3159 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3160 
   3161 # Some tools Automake needs.
   3162 
   3163 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3164 
   3165 
   3166 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3167 
   3168 
   3169 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3170 
   3171 
   3172 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3173 
   3174 
   3175 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3176 
   3177 # For better backward compatibility.  To be removed once Automake 1.9.x
   3178 # dies out for good.  For more background, see:
   3179 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3180 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3181 mkdir_p='$(MKDIR_P)'
   3182 
   3183 # We need awk for the "check" target (and possibly the TAP driver).  The
   3184 # system "awk" is bad on some platforms.
   3185 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3186 # in the wild :-(  We should find a proper way to deprecate it ...
   3187 AMTAR='$${TAR-tar}'
   3188 
   3189 
   3190 # We'll loop over all known methods to create a tar archive until one works.
   3191 _am_tools='gnutar  pax cpio none'
   3192 
   3193 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3194 
   3195 
   3196 
   3197 
   3198 
   3199 # Variables for tags utilities; see am/tags.am
   3200 if test -z "$CTAGS"; then
   3201   CTAGS=ctags
   3202 fi
   3203 
   3204 if test -z "$ETAGS"; then
   3205   ETAGS=etags
   3206 fi
   3207 
   3208 if test -z "$CSCOPE"; then
   3209   CSCOPE=cscope
   3210 fi
   3211 
   3212 
   3213 
   3214 # POSIX will say in a future version that running "rm -f" with no argument
   3215 # is OK; and we want to be able to make that assumption in our Makefile
   3216 # recipes.  So use an aggressive probe to check that the usage we want is
   3217 # actually supported "in the wild" to an acceptable degree.
   3218 # See automake bug#10828.
   3219 # To make any issue more visible, cause the running configure to be aborted
   3220 # by default if the 'rm' program in use doesn't match our expectations; the
   3221 # user can still override this though.
   3222 if rm -f && rm -fr && rm -rf; then : OK; else
   3223   cat >&2 <<'END'
   3224 Oops!
   3225 
   3226 Your 'rm' program seems unable to run without file operands specified
   3227 on the command line, even when the '-f' option is present.  This is contrary
   3228 to the behaviour of most rm programs out there, and not conforming with
   3229 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3230 
   3231 Please tell bug-automake@gnu.org about your system, including the value
   3232 of your $PATH and any error possibly output before this message.  This
   3233 can help us improve future automake versions.
   3234 
   3235 END
   3236   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3237     echo 'Configuration will proceed anyway, since you have set the' >&2
   3238     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3239     echo >&2
   3240   else
   3241     cat >&2 <<'END'
   3242 Aborting the configuration process, to ensure you take notice of the issue.
   3243 
   3244 You can download and install GNU coreutils to get an 'rm' implementation
   3245 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3246 
   3247 If you want to complete the configuration process using your problematic
   3248 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3249 to "yes", and re-run configure.
   3250 
   3251 END
   3252     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3253   fi
   3254 fi
   3255 
   3256 
   3257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3258 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3259     # Check whether --enable-maintainer-mode was given.
   3260 if test ${enable_maintainer_mode+y}
   3261 then :
   3262   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3263 else $as_nop
   3264   USE_MAINTAINER_MODE=no
   3265 fi
   3266 
   3267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3268 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3269    if test $USE_MAINTAINER_MODE = yes; then
   3270   MAINTAINER_MODE_TRUE=
   3271   MAINTAINER_MODE_FALSE='#'
   3272 else
   3273   MAINTAINER_MODE_TRUE='#'
   3274   MAINTAINER_MODE_FALSE=
   3275 fi
   3276 
   3277   MAINT=$MAINTAINER_MODE_TRUE
   3278 
   3279 
   3280 
   3281 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 DEPDIR="${am__leading_dot}deps"
   3303 
   3304 ac_config_commands="$ac_config_commands depfiles"
   3305 
   3306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3307 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3308 cat > confinc.mk << 'END'
   3309 am__doit:
   3310 	@echo this is the am__doit target >confinc.out
   3311 .PHONY: am__doit
   3312 END
   3313 am__include="#"
   3314 am__quote=
   3315 # BSD make does it like this.
   3316 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3317 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3318 echo 'include confinc.mk # ignored' > confmf.GNU
   3319 _am_result=no
   3320 for s in GNU BSD; do
   3321   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3322    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3323    ac_status=$?
   3324    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3325    (exit $ac_status); }
   3326   case $?:`cat confinc.out 2>/dev/null` in #(
   3327   '0:this is the am__doit target') :
   3328     case $s in #(
   3329   BSD) :
   3330     am__include='.include' am__quote='"' ;; #(
   3331   *) :
   3332     am__include='include' am__quote='' ;;
   3333 esac ;; #(
   3334   *) :
   3335      ;;
   3336 esac
   3337   if test "$am__include" != "#"; then
   3338     _am_result="yes ($s style)"
   3339     break
   3340   fi
   3341 done
   3342 rm -f confinc.* confmf.*
   3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3344 printf "%s\n" "${_am_result}" >&6; }
   3345 
   3346 # Check whether --enable-dependency-tracking was given.
   3347 if test ${enable_dependency_tracking+y}
   3348 then :
   3349   enableval=$enable_dependency_tracking;
   3350 fi
   3351 
   3352 if test "x$enable_dependency_tracking" != xno; then
   3353   am_depcomp="$ac_aux_dir/depcomp"
   3354   AMDEPBACKSLASH='\'
   3355   am__nodep='_no'
   3356 fi
   3357  if test "x$enable_dependency_tracking" != xno; then
   3358   AMDEP_TRUE=
   3359   AMDEP_FALSE='#'
   3360 else
   3361   AMDEP_TRUE='#'
   3362   AMDEP_FALSE=
   3363 fi
   3364 
   3365 
   3366 ac_ext=c
   3367 ac_cpp='$CPP $CPPFLAGS'
   3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3371 if test -n "$ac_tool_prefix"; then
   3372   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3373 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3375 printf %s "checking for $ac_word... " >&6; }
   3376 if test ${ac_cv_prog_CC+y}
   3377 then :
   3378   printf %s "(cached) " >&6
   3379 else $as_nop
   3380   if test -n "$CC"; then
   3381   ac_cv_prog_CC="$CC" # Let the user override the test.
   3382 else
   3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3384 for as_dir in $PATH
   3385 do
   3386   IFS=$as_save_IFS
   3387   case $as_dir in #(((
   3388     '') as_dir=./ ;;
   3389     */) ;;
   3390     *) as_dir=$as_dir/ ;;
   3391   esac
   3392     for ac_exec_ext in '' $ac_executable_extensions; do
   3393   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3394     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3395     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3396     break 2
   3397   fi
   3398 done
   3399   done
   3400 IFS=$as_save_IFS
   3401 
   3402 fi
   3403 fi
   3404 CC=$ac_cv_prog_CC
   3405 if test -n "$CC"; then
   3406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3407 printf "%s\n" "$CC" >&6; }
   3408 else
   3409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3410 printf "%s\n" "no" >&6; }
   3411 fi
   3412 
   3413 
   3414 fi
   3415 if test -z "$ac_cv_prog_CC"; then
   3416   ac_ct_CC=$CC
   3417   # Extract the first word of "gcc", so it can be a program name with args.
   3418 set dummy gcc; ac_word=$2
   3419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3420 printf %s "checking for $ac_word... " >&6; }
   3421 if test ${ac_cv_prog_ac_ct_CC+y}
   3422 then :
   3423   printf %s "(cached) " >&6
   3424 else $as_nop
   3425   if test -n "$ac_ct_CC"; then
   3426   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3427 else
   3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3429 for as_dir in $PATH
   3430 do
   3431   IFS=$as_save_IFS
   3432   case $as_dir in #(((
   3433     '') as_dir=./ ;;
   3434     */) ;;
   3435     *) as_dir=$as_dir/ ;;
   3436   esac
   3437     for ac_exec_ext in '' $ac_executable_extensions; do
   3438   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3439     ac_cv_prog_ac_ct_CC="gcc"
   3440     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3441     break 2
   3442   fi
   3443 done
   3444   done
   3445 IFS=$as_save_IFS
   3446 
   3447 fi
   3448 fi
   3449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3450 if test -n "$ac_ct_CC"; then
   3451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3452 printf "%s\n" "$ac_ct_CC" >&6; }
   3453 else
   3454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3455 printf "%s\n" "no" >&6; }
   3456 fi
   3457 
   3458   if test "x$ac_ct_CC" = x; then
   3459     CC=""
   3460   else
   3461     case $cross_compiling:$ac_tool_warned in
   3462 yes:)
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3464 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3465 ac_tool_warned=yes ;;
   3466 esac
   3467     CC=$ac_ct_CC
   3468   fi
   3469 else
   3470   CC="$ac_cv_prog_CC"
   3471 fi
   3472 
   3473 if test -z "$CC"; then
   3474           if test -n "$ac_tool_prefix"; then
   3475     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3476 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3478 printf %s "checking for $ac_word... " >&6; }
   3479 if test ${ac_cv_prog_CC+y}
   3480 then :
   3481   printf %s "(cached) " >&6
   3482 else $as_nop
   3483   if test -n "$CC"; then
   3484   ac_cv_prog_CC="$CC" # Let the user override the test.
   3485 else
   3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3487 for as_dir in $PATH
   3488 do
   3489   IFS=$as_save_IFS
   3490   case $as_dir in #(((
   3491     '') as_dir=./ ;;
   3492     */) ;;
   3493     *) as_dir=$as_dir/ ;;
   3494   esac
   3495     for ac_exec_ext in '' $ac_executable_extensions; do
   3496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3497     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3499     break 2
   3500   fi
   3501 done
   3502   done
   3503 IFS=$as_save_IFS
   3504 
   3505 fi
   3506 fi
   3507 CC=$ac_cv_prog_CC
   3508 if test -n "$CC"; then
   3509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3510 printf "%s\n" "$CC" >&6; }
   3511 else
   3512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3513 printf "%s\n" "no" >&6; }
   3514 fi
   3515 
   3516 
   3517   fi
   3518 fi
   3519 if test -z "$CC"; then
   3520   # Extract the first word of "cc", so it can be a program name with args.
   3521 set dummy cc; ac_word=$2
   3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3523 printf %s "checking for $ac_word... " >&6; }
   3524 if test ${ac_cv_prog_CC+y}
   3525 then :
   3526   printf %s "(cached) " >&6
   3527 else $as_nop
   3528   if test -n "$CC"; then
   3529   ac_cv_prog_CC="$CC" # Let the user override the test.
   3530 else
   3531   ac_prog_rejected=no
   3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3533 for as_dir in $PATH
   3534 do
   3535   IFS=$as_save_IFS
   3536   case $as_dir in #(((
   3537     '') as_dir=./ ;;
   3538     */) ;;
   3539     *) as_dir=$as_dir/ ;;
   3540   esac
   3541     for ac_exec_ext in '' $ac_executable_extensions; do
   3542   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3543     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3544        ac_prog_rejected=yes
   3545        continue
   3546      fi
   3547     ac_cv_prog_CC="cc"
   3548     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3549     break 2
   3550   fi
   3551 done
   3552   done
   3553 IFS=$as_save_IFS
   3554 
   3555 if test $ac_prog_rejected = yes; then
   3556   # We found a bogon in the path, so make sure we never use it.
   3557   set dummy $ac_cv_prog_CC
   3558   shift
   3559   if test $# != 0; then
   3560     # We chose a different compiler from the bogus one.
   3561     # However, it has the same basename, so the bogon will be chosen
   3562     # first if we set CC to just the basename; use the full file name.
   3563     shift
   3564     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3565   fi
   3566 fi
   3567 fi
   3568 fi
   3569 CC=$ac_cv_prog_CC
   3570 if test -n "$CC"; then
   3571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3572 printf "%s\n" "$CC" >&6; }
   3573 else
   3574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3575 printf "%s\n" "no" >&6; }
   3576 fi
   3577 
   3578 
   3579 fi
   3580 if test -z "$CC"; then
   3581   if test -n "$ac_tool_prefix"; then
   3582   for ac_prog in cl.exe
   3583   do
   3584     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3585 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3587 printf %s "checking for $ac_word... " >&6; }
   3588 if test ${ac_cv_prog_CC+y}
   3589 then :
   3590   printf %s "(cached) " >&6
   3591 else $as_nop
   3592   if test -n "$CC"; then
   3593   ac_cv_prog_CC="$CC" # Let the user override the test.
   3594 else
   3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3596 for as_dir in $PATH
   3597 do
   3598   IFS=$as_save_IFS
   3599   case $as_dir in #(((
   3600     '') as_dir=./ ;;
   3601     */) ;;
   3602     *) as_dir=$as_dir/ ;;
   3603   esac
   3604     for ac_exec_ext in '' $ac_executable_extensions; do
   3605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3606     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3608     break 2
   3609   fi
   3610 done
   3611   done
   3612 IFS=$as_save_IFS
   3613 
   3614 fi
   3615 fi
   3616 CC=$ac_cv_prog_CC
   3617 if test -n "$CC"; then
   3618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3619 printf "%s\n" "$CC" >&6; }
   3620 else
   3621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3622 printf "%s\n" "no" >&6; }
   3623 fi
   3624 
   3625 
   3626     test -n "$CC" && break
   3627   done
   3628 fi
   3629 if test -z "$CC"; then
   3630   ac_ct_CC=$CC
   3631   for ac_prog in cl.exe
   3632 do
   3633   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3634 set dummy $ac_prog; ac_word=$2
   3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3636 printf %s "checking for $ac_word... " >&6; }
   3637 if test ${ac_cv_prog_ac_ct_CC+y}
   3638 then :
   3639   printf %s "(cached) " >&6
   3640 else $as_nop
   3641   if test -n "$ac_ct_CC"; then
   3642   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3643 else
   3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3645 for as_dir in $PATH
   3646 do
   3647   IFS=$as_save_IFS
   3648   case $as_dir in #(((
   3649     '') as_dir=./ ;;
   3650     */) ;;
   3651     *) as_dir=$as_dir/ ;;
   3652   esac
   3653     for ac_exec_ext in '' $ac_executable_extensions; do
   3654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3655     ac_cv_prog_ac_ct_CC="$ac_prog"
   3656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3657     break 2
   3658   fi
   3659 done
   3660   done
   3661 IFS=$as_save_IFS
   3662 
   3663 fi
   3664 fi
   3665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3666 if test -n "$ac_ct_CC"; then
   3667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3668 printf "%s\n" "$ac_ct_CC" >&6; }
   3669 else
   3670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3671 printf "%s\n" "no" >&6; }
   3672 fi
   3673 
   3674 
   3675   test -n "$ac_ct_CC" && break
   3676 done
   3677 
   3678   if test "x$ac_ct_CC" = x; then
   3679     CC=""
   3680   else
   3681     case $cross_compiling:$ac_tool_warned in
   3682 yes:)
   3683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3684 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3685 ac_tool_warned=yes ;;
   3686 esac
   3687     CC=$ac_ct_CC
   3688   fi
   3689 fi
   3690 
   3691 fi
   3692 if test -z "$CC"; then
   3693   if test -n "$ac_tool_prefix"; then
   3694   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3695 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3697 printf %s "checking for $ac_word... " >&6; }
   3698 if test ${ac_cv_prog_CC+y}
   3699 then :
   3700   printf %s "(cached) " >&6
   3701 else $as_nop
   3702   if test -n "$CC"; then
   3703   ac_cv_prog_CC="$CC" # Let the user override the test.
   3704 else
   3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3706 for as_dir in $PATH
   3707 do
   3708   IFS=$as_save_IFS
   3709   case $as_dir in #(((
   3710     '') as_dir=./ ;;
   3711     */) ;;
   3712     *) as_dir=$as_dir/ ;;
   3713   esac
   3714     for ac_exec_ext in '' $ac_executable_extensions; do
   3715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3716     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3718     break 2
   3719   fi
   3720 done
   3721   done
   3722 IFS=$as_save_IFS
   3723 
   3724 fi
   3725 fi
   3726 CC=$ac_cv_prog_CC
   3727 if test -n "$CC"; then
   3728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3729 printf "%s\n" "$CC" >&6; }
   3730 else
   3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3732 printf "%s\n" "no" >&6; }
   3733 fi
   3734 
   3735 
   3736 fi
   3737 if test -z "$ac_cv_prog_CC"; then
   3738   ac_ct_CC=$CC
   3739   # Extract the first word of "clang", so it can be a program name with args.
   3740 set dummy clang; ac_word=$2
   3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3742 printf %s "checking for $ac_word... " >&6; }
   3743 if test ${ac_cv_prog_ac_ct_CC+y}
   3744 then :
   3745   printf %s "(cached) " >&6
   3746 else $as_nop
   3747   if test -n "$ac_ct_CC"; then
   3748   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3749 else
   3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH
   3752 do
   3753   IFS=$as_save_IFS
   3754   case $as_dir in #(((
   3755     '') as_dir=./ ;;
   3756     */) ;;
   3757     *) as_dir=$as_dir/ ;;
   3758   esac
   3759     for ac_exec_ext in '' $ac_executable_extensions; do
   3760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3761     ac_cv_prog_ac_ct_CC="clang"
   3762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3763     break 2
   3764   fi
   3765 done
   3766   done
   3767 IFS=$as_save_IFS
   3768 
   3769 fi
   3770 fi
   3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3772 if test -n "$ac_ct_CC"; then
   3773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3774 printf "%s\n" "$ac_ct_CC" >&6; }
   3775 else
   3776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3777 printf "%s\n" "no" >&6; }
   3778 fi
   3779 
   3780   if test "x$ac_ct_CC" = x; then
   3781     CC=""
   3782   else
   3783     case $cross_compiling:$ac_tool_warned in
   3784 yes:)
   3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3786 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3787 ac_tool_warned=yes ;;
   3788 esac
   3789     CC=$ac_ct_CC
   3790   fi
   3791 else
   3792   CC="$ac_cv_prog_CC"
   3793 fi
   3794 
   3795 fi
   3796 
   3797 
   3798 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3799 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3800 as_fn_error $? "no acceptable C compiler found in \$PATH
   3801 See \`config.log' for more details" "$LINENO" 5; }
   3802 
   3803 # Provide some information about the compiler.
   3804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3805 set X $ac_compile
   3806 ac_compiler=$2
   3807 for ac_option in --version -v -V -qversion -version; do
   3808   { { ac_try="$ac_compiler $ac_option >&5"
   3809 case "(($ac_try" in
   3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3811   *) ac_try_echo=$ac_try;;
   3812 esac
   3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3814 printf "%s\n" "$ac_try_echo"; } >&5
   3815   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3816   ac_status=$?
   3817   if test -s conftest.err; then
   3818     sed '10a\
   3819 ... rest of stderr output deleted ...
   3820          10q' conftest.err >conftest.er1
   3821     cat conftest.er1 >&5
   3822   fi
   3823   rm -f conftest.er1 conftest.err
   3824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3825   test $ac_status = 0; }
   3826 done
   3827 
   3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3829 /* end confdefs.h.  */
   3830 
   3831 int
   3832 main (void)
   3833 {
   3834 
   3835   ;
   3836   return 0;
   3837 }
   3838 _ACEOF
   3839 ac_clean_files_save=$ac_clean_files
   3840 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3841 # Try to create an executable without -o first, disregard a.out.
   3842 # It will help us diagnose broken compilers, and finding out an intuition
   3843 # of exeext.
   3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3845 printf %s "checking whether the C compiler works... " >&6; }
   3846 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3847 
   3848 # The possible output files:
   3849 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3850 
   3851 ac_rmfiles=
   3852 for ac_file in $ac_files
   3853 do
   3854   case $ac_file in
   3855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3856     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3857   esac
   3858 done
   3859 rm -f $ac_rmfiles
   3860 
   3861 if { { ac_try="$ac_link_default"
   3862 case "(($ac_try" in
   3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3864   *) ac_try_echo=$ac_try;;
   3865 esac
   3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3867 printf "%s\n" "$ac_try_echo"; } >&5
   3868   (eval "$ac_link_default") 2>&5
   3869   ac_status=$?
   3870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3871   test $ac_status = 0; }
   3872 then :
   3873   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3874 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3875 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3876 # so that the user can short-circuit this test for compilers unknown to
   3877 # Autoconf.
   3878 for ac_file in $ac_files ''
   3879 do
   3880   test -f "$ac_file" || continue
   3881   case $ac_file in
   3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3883 	;;
   3884     [ab].out )
   3885 	# We found the default executable, but exeext='' is most
   3886 	# certainly right.
   3887 	break;;
   3888     *.* )
   3889 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3890 	then :; else
   3891 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3892 	fi
   3893 	# We set ac_cv_exeext here because the later test for it is not
   3894 	# safe: cross compilers may not add the suffix if given an `-o'
   3895 	# argument, so we may need to know it at that point already.
   3896 	# Even if this section looks crufty: it has the advantage of
   3897 	# actually working.
   3898 	break;;
   3899     * )
   3900 	break;;
   3901   esac
   3902 done
   3903 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3904 
   3905 else $as_nop
   3906   ac_file=''
   3907 fi
   3908 if test -z "$ac_file"
   3909 then :
   3910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3911 printf "%s\n" "no" >&6; }
   3912 printf "%s\n" "$as_me: failed program was:" >&5
   3913 sed 's/^/| /' conftest.$ac_ext >&5
   3914 
   3915 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3916 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3917 as_fn_error 77 "C compiler cannot create executables
   3918 See \`config.log' for more details" "$LINENO" 5; }
   3919 else $as_nop
   3920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3921 printf "%s\n" "yes" >&6; }
   3922 fi
   3923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3924 printf %s "checking for C compiler default output file name... " >&6; }
   3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3926 printf "%s\n" "$ac_file" >&6; }
   3927 ac_exeext=$ac_cv_exeext
   3928 
   3929 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3930 ac_clean_files=$ac_clean_files_save
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3932 printf %s "checking for suffix of executables... " >&6; }
   3933 if { { ac_try="$ac_link"
   3934 case "(($ac_try" in
   3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3936   *) ac_try_echo=$ac_try;;
   3937 esac
   3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3939 printf "%s\n" "$ac_try_echo"; } >&5
   3940   (eval "$ac_link") 2>&5
   3941   ac_status=$?
   3942   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3943   test $ac_status = 0; }
   3944 then :
   3945   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3946 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3947 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3948 # `rm'.
   3949 for ac_file in conftest.exe conftest conftest.*; do
   3950   test -f "$ac_file" || continue
   3951   case $ac_file in
   3952     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3953     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3954 	  break;;
   3955     * ) break;;
   3956   esac
   3957 done
   3958 else $as_nop
   3959   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3960 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3961 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3962 See \`config.log' for more details" "$LINENO" 5; }
   3963 fi
   3964 rm -f conftest conftest$ac_cv_exeext
   3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3966 printf "%s\n" "$ac_cv_exeext" >&6; }
   3967 
   3968 rm -f conftest.$ac_ext
   3969 EXEEXT=$ac_cv_exeext
   3970 ac_exeext=$EXEEXT
   3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3972 /* end confdefs.h.  */
   3973 #include <stdio.h>
   3974 int
   3975 main (void)
   3976 {
   3977 FILE *f = fopen ("conftest.out", "w");
   3978  return ferror (f) || fclose (f) != 0;
   3979 
   3980   ;
   3981   return 0;
   3982 }
   3983 _ACEOF
   3984 ac_clean_files="$ac_clean_files conftest.out"
   3985 # Check that the compiler produces executables we can run.  If not, either
   3986 # the compiler is broken, or we cross compile.
   3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3988 printf %s "checking whether we are cross compiling... " >&6; }
   3989 if test "$cross_compiling" != yes; then
   3990   { { ac_try="$ac_link"
   3991 case "(($ac_try" in
   3992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3993   *) ac_try_echo=$ac_try;;
   3994 esac
   3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3996 printf "%s\n" "$ac_try_echo"; } >&5
   3997   (eval "$ac_link") 2>&5
   3998   ac_status=$?
   3999   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4000   test $ac_status = 0; }
   4001   if { ac_try='./conftest$ac_cv_exeext'
   4002   { { case "(($ac_try" in
   4003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4004   *) ac_try_echo=$ac_try;;
   4005 esac
   4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4007 printf "%s\n" "$ac_try_echo"; } >&5
   4008   (eval "$ac_try") 2>&5
   4009   ac_status=$?
   4010   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4011   test $ac_status = 0; }; }; then
   4012     cross_compiling=no
   4013   else
   4014     if test "$cross_compiling" = maybe; then
   4015 	cross_compiling=yes
   4016     else
   4017 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4018 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4019 as_fn_error 77 "cannot run C compiled programs.
   4020 If you meant to cross compile, use \`--host'.
   4021 See \`config.log' for more details" "$LINENO" 5; }
   4022     fi
   4023   fi
   4024 fi
   4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4026 printf "%s\n" "$cross_compiling" >&6; }
   4027 
   4028 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4029 ac_clean_files=$ac_clean_files_save
   4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4031 printf %s "checking for suffix of object files... " >&6; }
   4032 if test ${ac_cv_objext+y}
   4033 then :
   4034   printf %s "(cached) " >&6
   4035 else $as_nop
   4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4037 /* end confdefs.h.  */
   4038 
   4039 int
   4040 main (void)
   4041 {
   4042 
   4043   ;
   4044   return 0;
   4045 }
   4046 _ACEOF
   4047 rm -f conftest.o conftest.obj
   4048 if { { ac_try="$ac_compile"
   4049 case "(($ac_try" in
   4050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4051   *) ac_try_echo=$ac_try;;
   4052 esac
   4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4054 printf "%s\n" "$ac_try_echo"; } >&5
   4055   (eval "$ac_compile") 2>&5
   4056   ac_status=$?
   4057   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4058   test $ac_status = 0; }
   4059 then :
   4060   for ac_file in conftest.o conftest.obj conftest.*; do
   4061   test -f "$ac_file" || continue;
   4062   case $ac_file in
   4063     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4064     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4065        break;;
   4066   esac
   4067 done
   4068 else $as_nop
   4069   printf "%s\n" "$as_me: failed program was:" >&5
   4070 sed 's/^/| /' conftest.$ac_ext >&5
   4071 
   4072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4073 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4074 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4075 See \`config.log' for more details" "$LINENO" 5; }
   4076 fi
   4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4078 fi
   4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4080 printf "%s\n" "$ac_cv_objext" >&6; }
   4081 OBJEXT=$ac_cv_objext
   4082 ac_objext=$OBJEXT
   4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4084 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4085 if test ${ac_cv_c_compiler_gnu+y}
   4086 then :
   4087   printf %s "(cached) " >&6
   4088 else $as_nop
   4089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4090 /* end confdefs.h.  */
   4091 
   4092 int
   4093 main (void)
   4094 {
   4095 #ifndef __GNUC__
   4096        choke me
   4097 #endif
   4098 
   4099   ;
   4100   return 0;
   4101 }
   4102 _ACEOF
   4103 if ac_fn_c_try_compile "$LINENO"
   4104 then :
   4105   ac_compiler_gnu=yes
   4106 else $as_nop
   4107   ac_compiler_gnu=no
   4108 fi
   4109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4110 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4111 
   4112 fi
   4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4114 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4116 
   4117 if test $ac_compiler_gnu = yes; then
   4118   GCC=yes
   4119 else
   4120   GCC=
   4121 fi
   4122 ac_test_CFLAGS=${CFLAGS+y}
   4123 ac_save_CFLAGS=$CFLAGS
   4124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4125 printf %s "checking whether $CC accepts -g... " >&6; }
   4126 if test ${ac_cv_prog_cc_g+y}
   4127 then :
   4128   printf %s "(cached) " >&6
   4129 else $as_nop
   4130   ac_save_c_werror_flag=$ac_c_werror_flag
   4131    ac_c_werror_flag=yes
   4132    ac_cv_prog_cc_g=no
   4133    CFLAGS="-g"
   4134    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4135 /* end confdefs.h.  */
   4136 
   4137 int
   4138 main (void)
   4139 {
   4140 
   4141   ;
   4142   return 0;
   4143 }
   4144 _ACEOF
   4145 if ac_fn_c_try_compile "$LINENO"
   4146 then :
   4147   ac_cv_prog_cc_g=yes
   4148 else $as_nop
   4149   CFLAGS=""
   4150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 
   4153 int
   4154 main (void)
   4155 {
   4156 
   4157   ;
   4158   return 0;
   4159 }
   4160 _ACEOF
   4161 if ac_fn_c_try_compile "$LINENO"
   4162 then :
   4163 
   4164 else $as_nop
   4165   ac_c_werror_flag=$ac_save_c_werror_flag
   4166 	 CFLAGS="-g"
   4167 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4168 /* end confdefs.h.  */
   4169 
   4170 int
   4171 main (void)
   4172 {
   4173 
   4174   ;
   4175   return 0;
   4176 }
   4177 _ACEOF
   4178 if ac_fn_c_try_compile "$LINENO"
   4179 then :
   4180   ac_cv_prog_cc_g=yes
   4181 fi
   4182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4183 fi
   4184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4185 fi
   4186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4187    ac_c_werror_flag=$ac_save_c_werror_flag
   4188 fi
   4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4190 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4191 if test $ac_test_CFLAGS; then
   4192   CFLAGS=$ac_save_CFLAGS
   4193 elif test $ac_cv_prog_cc_g = yes; then
   4194   if test "$GCC" = yes; then
   4195     CFLAGS="-g -O2"
   4196   else
   4197     CFLAGS="-g"
   4198   fi
   4199 else
   4200   if test "$GCC" = yes; then
   4201     CFLAGS="-O2"
   4202   else
   4203     CFLAGS=
   4204   fi
   4205 fi
   4206 ac_prog_cc_stdc=no
   4207 if test x$ac_prog_cc_stdc = xno
   4208 then :
   4209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4210 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4211 if test ${ac_cv_prog_cc_c11+y}
   4212 then :
   4213   printf %s "(cached) " >&6
   4214 else $as_nop
   4215   ac_cv_prog_cc_c11=no
   4216 ac_save_CC=$CC
   4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4218 /* end confdefs.h.  */
   4219 $ac_c_conftest_c11_program
   4220 _ACEOF
   4221 for ac_arg in '' -std=gnu11
   4222 do
   4223   CC="$ac_save_CC $ac_arg"
   4224   if ac_fn_c_try_compile "$LINENO"
   4225 then :
   4226   ac_cv_prog_cc_c11=$ac_arg
   4227 fi
   4228 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4229   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4230 done
   4231 rm -f conftest.$ac_ext
   4232 CC=$ac_save_CC
   4233 fi
   4234 
   4235 if test "x$ac_cv_prog_cc_c11" = xno
   4236 then :
   4237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4238 printf "%s\n" "unsupported" >&6; }
   4239 else $as_nop
   4240   if test "x$ac_cv_prog_cc_c11" = x
   4241 then :
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4243 printf "%s\n" "none needed" >&6; }
   4244 else $as_nop
   4245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4246 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4247      CC="$CC $ac_cv_prog_cc_c11"
   4248 fi
   4249   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4250   ac_prog_cc_stdc=c11
   4251 fi
   4252 fi
   4253 if test x$ac_prog_cc_stdc = xno
   4254 then :
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4256 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4257 if test ${ac_cv_prog_cc_c99+y}
   4258 then :
   4259   printf %s "(cached) " >&6
   4260 else $as_nop
   4261   ac_cv_prog_cc_c99=no
   4262 ac_save_CC=$CC
   4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 $ac_c_conftest_c99_program
   4266 _ACEOF
   4267 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4268 do
   4269   CC="$ac_save_CC $ac_arg"
   4270   if ac_fn_c_try_compile "$LINENO"
   4271 then :
   4272   ac_cv_prog_cc_c99=$ac_arg
   4273 fi
   4274 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4275   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4276 done
   4277 rm -f conftest.$ac_ext
   4278 CC=$ac_save_CC
   4279 fi
   4280 
   4281 if test "x$ac_cv_prog_cc_c99" = xno
   4282 then :
   4283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4284 printf "%s\n" "unsupported" >&6; }
   4285 else $as_nop
   4286   if test "x$ac_cv_prog_cc_c99" = x
   4287 then :
   4288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4289 printf "%s\n" "none needed" >&6; }
   4290 else $as_nop
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4292 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4293      CC="$CC $ac_cv_prog_cc_c99"
   4294 fi
   4295   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4296   ac_prog_cc_stdc=c99
   4297 fi
   4298 fi
   4299 if test x$ac_prog_cc_stdc = xno
   4300 then :
   4301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4302 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4303 if test ${ac_cv_prog_cc_c89+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else $as_nop
   4307   ac_cv_prog_cc_c89=no
   4308 ac_save_CC=$CC
   4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4310 /* end confdefs.h.  */
   4311 $ac_c_conftest_c89_program
   4312 _ACEOF
   4313 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4314 do
   4315   CC="$ac_save_CC $ac_arg"
   4316   if ac_fn_c_try_compile "$LINENO"
   4317 then :
   4318   ac_cv_prog_cc_c89=$ac_arg
   4319 fi
   4320 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4321   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4322 done
   4323 rm -f conftest.$ac_ext
   4324 CC=$ac_save_CC
   4325 fi
   4326 
   4327 if test "x$ac_cv_prog_cc_c89" = xno
   4328 then :
   4329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4330 printf "%s\n" "unsupported" >&6; }
   4331 else $as_nop
   4332   if test "x$ac_cv_prog_cc_c89" = x
   4333 then :
   4334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4335 printf "%s\n" "none needed" >&6; }
   4336 else $as_nop
   4337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4338 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4339      CC="$CC $ac_cv_prog_cc_c89"
   4340 fi
   4341   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4342   ac_prog_cc_stdc=c89
   4343 fi
   4344 fi
   4345 
   4346 ac_ext=c
   4347 ac_cpp='$CPP $CPPFLAGS'
   4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4351 
   4352 
   4353   ac_ext=c
   4354 ac_cpp='$CPP $CPPFLAGS'
   4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4359 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4360 if test ${am_cv_prog_cc_c_o+y}
   4361 then :
   4362   printf %s "(cached) " >&6
   4363 else $as_nop
   4364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4365 /* end confdefs.h.  */
   4366 
   4367 int
   4368 main (void)
   4369 {
   4370 
   4371   ;
   4372   return 0;
   4373 }
   4374 _ACEOF
   4375   # Make sure it works both with $CC and with simple cc.
   4376   # Following AC_PROG_CC_C_O, we do the test twice because some
   4377   # compilers refuse to overwrite an existing .o file with -o,
   4378   # though they will create one.
   4379   am_cv_prog_cc_c_o=yes
   4380   for am_i in 1 2; do
   4381     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4382    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4383    ac_status=$?
   4384    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4385    (exit $ac_status); } \
   4386          && test -f conftest2.$ac_objext; then
   4387       : OK
   4388     else
   4389       am_cv_prog_cc_c_o=no
   4390       break
   4391     fi
   4392   done
   4393   rm -f core conftest*
   4394   unset am_i
   4395 fi
   4396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4397 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4398 if test "$am_cv_prog_cc_c_o" != yes; then
   4399    # Losing compiler, so override with the script.
   4400    # FIXME: It is wrong to rewrite CC.
   4401    # But if we don't then we get into trouble of one sort or another.
   4402    # A longer-term fix would be to have automake use am__CC in this case,
   4403    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4404    CC="$am_aux_dir/compile $CC"
   4405 fi
   4406 ac_ext=c
   4407 ac_cpp='$CPP $CPPFLAGS'
   4408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4411 
   4412 
   4413 depcc="$CC"   am_compiler_list=
   4414 
   4415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4416 printf %s "checking dependency style of $depcc... " >&6; }
   4417 if test ${am_cv_CC_dependencies_compiler_type+y}
   4418 then :
   4419   printf %s "(cached) " >&6
   4420 else $as_nop
   4421   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4422   # We make a subdir and do the tests there.  Otherwise we can end up
   4423   # making bogus files that we don't know about and never remove.  For
   4424   # instance it was reported that on HP-UX the gcc test will end up
   4425   # making a dummy file named 'D' -- because '-MD' means "put the output
   4426   # in D".
   4427   rm -rf conftest.dir
   4428   mkdir conftest.dir
   4429   # Copy depcomp to subdir because otherwise we won't find it if we're
   4430   # using a relative directory.
   4431   cp "$am_depcomp" conftest.dir
   4432   cd conftest.dir
   4433   # We will build objects and dependencies in a subdirectory because
   4434   # it helps to detect inapplicable dependency modes.  For instance
   4435   # both Tru64's cc and ICC support -MD to output dependencies as a
   4436   # side effect of compilation, but ICC will put the dependencies in
   4437   # the current directory while Tru64 will put them in the object
   4438   # directory.
   4439   mkdir sub
   4440 
   4441   am_cv_CC_dependencies_compiler_type=none
   4442   if test "$am_compiler_list" = ""; then
   4443      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4444   fi
   4445   am__universal=false
   4446   case " $depcc " in #(
   4447      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4448      esac
   4449 
   4450   for depmode in $am_compiler_list; do
   4451     # Setup a source with many dependencies, because some compilers
   4452     # like to wrap large dependency lists on column 80 (with \), and
   4453     # we should not choose a depcomp mode which is confused by this.
   4454     #
   4455     # We need to recreate these files for each test, as the compiler may
   4456     # overwrite some of them when testing with obscure command lines.
   4457     # This happens at least with the AIX C compiler.
   4458     : > sub/conftest.c
   4459     for i in 1 2 3 4 5 6; do
   4460       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4461       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4462       # Solaris 10 /bin/sh.
   4463       echo '/* dummy */' > sub/conftst$i.h
   4464     done
   4465     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4466 
   4467     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4468     # mode.  It turns out that the SunPro C++ compiler does not properly
   4469     # handle '-M -o', and we need to detect this.  Also, some Intel
   4470     # versions had trouble with output in subdirs.
   4471     am__obj=sub/conftest.${OBJEXT-o}
   4472     am__minus_obj="-o $am__obj"
   4473     case $depmode in
   4474     gcc)
   4475       # This depmode causes a compiler race in universal mode.
   4476       test "$am__universal" = false || continue
   4477       ;;
   4478     nosideeffect)
   4479       # After this tag, mechanisms are not by side-effect, so they'll
   4480       # only be used when explicitly requested.
   4481       if test "x$enable_dependency_tracking" = xyes; then
   4482 	continue
   4483       else
   4484 	break
   4485       fi
   4486       ;;
   4487     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4488       # This compiler won't grok '-c -o', but also, the minuso test has
   4489       # not run yet.  These depmodes are late enough in the game, and
   4490       # so weak that their functioning should not be impacted.
   4491       am__obj=conftest.${OBJEXT-o}
   4492       am__minus_obj=
   4493       ;;
   4494     none) break ;;
   4495     esac
   4496     if depmode=$depmode \
   4497        source=sub/conftest.c object=$am__obj \
   4498        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4499        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4500          >/dev/null 2>conftest.err &&
   4501        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4502        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4503        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4504        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4505       # icc doesn't choke on unknown options, it will just issue warnings
   4506       # or remarks (even with -Werror).  So we grep stderr for any message
   4507       # that says an option was ignored or not supported.
   4508       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4509       #   icc: Command line warning: ignoring option '-M'; no argument required
   4510       # The diagnosis changed in icc 8.0:
   4511       #   icc: Command line remark: option '-MP' not supported
   4512       if (grep 'ignoring option' conftest.err ||
   4513           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4514         am_cv_CC_dependencies_compiler_type=$depmode
   4515         break
   4516       fi
   4517     fi
   4518   done
   4519 
   4520   cd ..
   4521   rm -rf conftest.dir
   4522 else
   4523   am_cv_CC_dependencies_compiler_type=none
   4524 fi
   4525 
   4526 fi
   4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4528 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4529 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4530 
   4531  if
   4532   test "x$enable_dependency_tracking" != xno \
   4533   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4534   am__fastdepCC_TRUE=
   4535   am__fastdepCC_FALSE='#'
   4536 else
   4537   am__fastdepCC_TRUE='#'
   4538   am__fastdepCC_FALSE=
   4539 fi
   4540 
   4541 
   4542 
   4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4544 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4545 if test ${ac_cv_c_undeclared_builtin_options+y}
   4546 then :
   4547   printf %s "(cached) " >&6
   4548 else $as_nop
   4549   ac_save_CFLAGS=$CFLAGS
   4550    ac_cv_c_undeclared_builtin_options='cannot detect'
   4551    for ac_arg in '' -fno-builtin; do
   4552      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4553      # This test program should *not* compile successfully.
   4554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4555 /* end confdefs.h.  */
   4556 
   4557 int
   4558 main (void)
   4559 {
   4560 (void) strchr;
   4561   ;
   4562   return 0;
   4563 }
   4564 _ACEOF
   4565 if ac_fn_c_try_compile "$LINENO"
   4566 then :
   4567 
   4568 else $as_nop
   4569   # This test program should compile successfully.
   4570         # No library function is consistently available on
   4571         # freestanding implementations, so test against a dummy
   4572         # declaration.  Include always-available headers on the
   4573         # off chance that they somehow elicit warnings.
   4574         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4575 /* end confdefs.h.  */
   4576 #include <float.h>
   4577 #include <limits.h>
   4578 #include <stdarg.h>
   4579 #include <stddef.h>
   4580 extern void ac_decl (int, char *);
   4581 
   4582 int
   4583 main (void)
   4584 {
   4585 (void) ac_decl (0, (char *) 0);
   4586   (void) ac_decl;
   4587 
   4588   ;
   4589   return 0;
   4590 }
   4591 _ACEOF
   4592 if ac_fn_c_try_compile "$LINENO"
   4593 then :
   4594   if test x"$ac_arg" = x
   4595 then :
   4596   ac_cv_c_undeclared_builtin_options='none needed'
   4597 else $as_nop
   4598   ac_cv_c_undeclared_builtin_options=$ac_arg
   4599 fi
   4600           break
   4601 fi
   4602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4603 fi
   4604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4605     done
   4606     CFLAGS=$ac_save_CFLAGS
   4607 
   4608 fi
   4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4610 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4611   case $ac_cv_c_undeclared_builtin_options in #(
   4612   'cannot detect') :
   4613     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4614 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4615 as_fn_error $? "cannot make $CC report undeclared builtins
   4616 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4617   'none needed') :
   4618     ac_c_undeclared_builtin_options='' ;; #(
   4619   *) :
   4620     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4621 esac
   4622 
   4623 ac_header= ac_cache=
   4624 for ac_item in $ac_header_c_list
   4625 do
   4626   if test $ac_cache; then
   4627     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4628     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4629       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4630     fi
   4631     ac_header= ac_cache=
   4632   elif test $ac_header; then
   4633     ac_cache=$ac_item
   4634   else
   4635     ac_header=$ac_item
   4636   fi
   4637 done
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4647 then :
   4648 
   4649 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4650 
   4651 fi
   4652 
   4653 
   4654 
   4655 
   4656 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4657 if test "x$ac_cv_have_decl___clang__" = xyes
   4658 then :
   4659   CLANGCC="yes"
   4660 else $as_nop
   4661   CLANGCC="no"
   4662 fi
   4663 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4664 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4665 then :
   4666   INTELCC="yes"
   4667 else $as_nop
   4668   INTELCC="no"
   4669 fi
   4670 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4671 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4672 then :
   4673   SUNCC="yes"
   4674 else $as_nop
   4675   SUNCC="no"
   4676 fi
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4686 	if test -n "$ac_tool_prefix"; then
   4687   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4688 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4690 printf %s "checking for $ac_word... " >&6; }
   4691 if test ${ac_cv_path_PKG_CONFIG+y}
   4692 then :
   4693   printf %s "(cached) " >&6
   4694 else $as_nop
   4695   case $PKG_CONFIG in
   4696   [\\/]* | ?:[\\/]*)
   4697   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4698   ;;
   4699   *)
   4700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4701 for as_dir in $PATH
   4702 do
   4703   IFS=$as_save_IFS
   4704   case $as_dir in #(((
   4705     '') as_dir=./ ;;
   4706     */) ;;
   4707     *) as_dir=$as_dir/ ;;
   4708   esac
   4709     for ac_exec_ext in '' $ac_executable_extensions; do
   4710   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4711     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4712     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4713     break 2
   4714   fi
   4715 done
   4716   done
   4717 IFS=$as_save_IFS
   4718 
   4719   ;;
   4720 esac
   4721 fi
   4722 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4723 if test -n "$PKG_CONFIG"; then
   4724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4725 printf "%s\n" "$PKG_CONFIG" >&6; }
   4726 else
   4727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4728 printf "%s\n" "no" >&6; }
   4729 fi
   4730 
   4731 
   4732 fi
   4733 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4734   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4735   # Extract the first word of "pkg-config", so it can be a program name with args.
   4736 set dummy pkg-config; ac_word=$2
   4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4738 printf %s "checking for $ac_word... " >&6; }
   4739 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4740 then :
   4741   printf %s "(cached) " >&6
   4742 else $as_nop
   4743   case $ac_pt_PKG_CONFIG in
   4744   [\\/]* | ?:[\\/]*)
   4745   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4746   ;;
   4747   *)
   4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4749 for as_dir in $PATH
   4750 do
   4751   IFS=$as_save_IFS
   4752   case $as_dir in #(((
   4753     '') as_dir=./ ;;
   4754     */) ;;
   4755     *) as_dir=$as_dir/ ;;
   4756   esac
   4757     for ac_exec_ext in '' $ac_executable_extensions; do
   4758   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4759     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4760     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4761     break 2
   4762   fi
   4763 done
   4764   done
   4765 IFS=$as_save_IFS
   4766 
   4767   ;;
   4768 esac
   4769 fi
   4770 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4771 if test -n "$ac_pt_PKG_CONFIG"; then
   4772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4773 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4774 else
   4775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4776 printf "%s\n" "no" >&6; }
   4777 fi
   4778 
   4779   if test "x$ac_pt_PKG_CONFIG" = x; then
   4780     PKG_CONFIG=""
   4781   else
   4782     case $cross_compiling:$ac_tool_warned in
   4783 yes:)
   4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4785 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4786 ac_tool_warned=yes ;;
   4787 esac
   4788     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4789   fi
   4790 else
   4791   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4792 fi
   4793 
   4794 fi
   4795 if test -n "$PKG_CONFIG"; then
   4796 	_pkg_min_version=0.9.0
   4797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4798 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4799 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4801 printf "%s\n" "yes" >&6; }
   4802 	else
   4803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4804 printf "%s\n" "no" >&6; }
   4805 		PKG_CONFIG=""
   4806 	fi
   4807 fi
   4808 
   4809 
   4810   # Make sure we can run config.sub.
   4811 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4812   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4813 
   4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4815 printf %s "checking build system type... " >&6; }
   4816 if test ${ac_cv_build+y}
   4817 then :
   4818   printf %s "(cached) " >&6
   4819 else $as_nop
   4820   ac_build_alias=$build_alias
   4821 test "x$ac_build_alias" = x &&
   4822   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4823 test "x$ac_build_alias" = x &&
   4824   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4825 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4826   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4827 
   4828 fi
   4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4830 printf "%s\n" "$ac_cv_build" >&6; }
   4831 case $ac_cv_build in
   4832 *-*-*) ;;
   4833 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4834 esac
   4835 build=$ac_cv_build
   4836 ac_save_IFS=$IFS; IFS='-'
   4837 set x $ac_cv_build
   4838 shift
   4839 build_cpu=$1
   4840 build_vendor=$2
   4841 shift; shift
   4842 # Remember, the first character of IFS is used to create $*,
   4843 # except with old shells:
   4844 build_os=$*
   4845 IFS=$ac_save_IFS
   4846 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4847 
   4848 
   4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4850 printf %s "checking host system type... " >&6; }
   4851 if test ${ac_cv_host+y}
   4852 then :
   4853   printf %s "(cached) " >&6
   4854 else $as_nop
   4855   if test "x$host_alias" = x; then
   4856   ac_cv_host=$ac_cv_build
   4857 else
   4858   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4859     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4860 fi
   4861 
   4862 fi
   4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4864 printf "%s\n" "$ac_cv_host" >&6; }
   4865 case $ac_cv_host in
   4866 *-*-*) ;;
   4867 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4868 esac
   4869 host=$ac_cv_host
   4870 ac_save_IFS=$IFS; IFS='-'
   4871 set x $ac_cv_host
   4872 shift
   4873 host_cpu=$1
   4874 host_vendor=$2
   4875 shift; shift
   4876 # Remember, the first character of IFS is used to create $*,
   4877 # except with old shells:
   4878 host_os=$*
   4879 IFS=$ac_save_IFS
   4880 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4881 
   4882 
   4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4884 printf %s "checking for a sed that does not truncate output... " >&6; }
   4885 if test ${ac_cv_path_SED+y}
   4886 then :
   4887   printf %s "(cached) " >&6
   4888 else $as_nop
   4889             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4890      for ac_i in 1 2 3 4 5 6 7; do
   4891        ac_script="$ac_script$as_nl$ac_script"
   4892      done
   4893      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4894      { ac_script=; unset ac_script;}
   4895      if test -z "$SED"; then
   4896   ac_path_SED_found=false
   4897   # Loop through the user's path and test for each of PROGNAME-LIST
   4898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4899 for as_dir in $PATH
   4900 do
   4901   IFS=$as_save_IFS
   4902   case $as_dir in #(((
   4903     '') as_dir=./ ;;
   4904     */) ;;
   4905     *) as_dir=$as_dir/ ;;
   4906   esac
   4907     for ac_prog in sed gsed
   4908    do
   4909     for ac_exec_ext in '' $ac_executable_extensions; do
   4910       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4911       as_fn_executable_p "$ac_path_SED" || continue
   4912 # Check for GNU ac_path_SED and select it if it is found.
   4913   # Check for GNU $ac_path_SED
   4914 case `"$ac_path_SED" --version 2>&1` in
   4915 *GNU*)
   4916   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4917 *)
   4918   ac_count=0
   4919   printf %s 0123456789 >"conftest.in"
   4920   while :
   4921   do
   4922     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4923     mv "conftest.tmp" "conftest.in"
   4924     cp "conftest.in" "conftest.nl"
   4925     printf "%s\n" '' >> "conftest.nl"
   4926     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4927     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4928     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4929     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4930       # Best one so far, save it but keep looking for a better one
   4931       ac_cv_path_SED="$ac_path_SED"
   4932       ac_path_SED_max=$ac_count
   4933     fi
   4934     # 10*(2^10) chars as input seems more than enough
   4935     test $ac_count -gt 10 && break
   4936   done
   4937   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4938 esac
   4939 
   4940       $ac_path_SED_found && break 3
   4941     done
   4942   done
   4943   done
   4944 IFS=$as_save_IFS
   4945   if test -z "$ac_cv_path_SED"; then
   4946     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4947   fi
   4948 else
   4949   ac_cv_path_SED=$SED
   4950 fi
   4951 
   4952 fi
   4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4954 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4955  SED="$ac_cv_path_SED"
   4956   rm -f conftest.sed
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 # Check whether --enable-selective-werror was given.
   4964 if test ${enable_selective_werror+y}
   4965 then :
   4966   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4967 else $as_nop
   4968   SELECTIVE_WERROR=yes
   4969 fi
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4976 if test "x$SUNCC" = "xyes"; then
   4977     BASE_CFLAGS="-v"
   4978 else
   4979     BASE_CFLAGS=""
   4980 fi
   4981 
   4982 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 xorg_testset_save_CFLAGS="$CFLAGS"
   4997 
   4998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5001 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5002 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5003 then :
   5004   printf %s "(cached) " >&6
   5005 else $as_nop
   5006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5007 /* end confdefs.h.  */
   5008 int i;
   5009 _ACEOF
   5010 if ac_fn_c_try_compile "$LINENO"
   5011 then :
   5012   xorg_cv_cc_flag_unknown_warning_option=yes
   5013 else $as_nop
   5014   xorg_cv_cc_flag_unknown_warning_option=no
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5017 fi
   5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5019 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5021 	CFLAGS="$xorg_testset_save_CFLAGS"
   5022 fi
   5023 
   5024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5027 	fi
   5028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5030 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5031 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5032 then :
   5033   printf %s "(cached) " >&6
   5034 else $as_nop
   5035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5036 /* end confdefs.h.  */
   5037 int i;
   5038 _ACEOF
   5039 if ac_fn_c_try_compile "$LINENO"
   5040 then :
   5041   xorg_cv_cc_flag_unused_command_line_argument=yes
   5042 else $as_nop
   5043   xorg_cv_cc_flag_unused_command_line_argument=no
   5044 fi
   5045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5046 fi
   5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5048 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5050 	CFLAGS="$xorg_testset_save_CFLAGS"
   5051 fi
   5052 
   5053 found="no"
   5054 
   5055 	if test $found = "no" ; then
   5056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5058 		fi
   5059 
   5060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5062 		fi
   5063 
   5064 		CFLAGS="$CFLAGS -Wall"
   5065 
   5066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5067 printf %s "checking if $CC supports -Wall... " >&6; }
   5068 		cacheid=xorg_cv_cc_flag__Wall
   5069 		if eval test \${$cacheid+y}
   5070 then :
   5071   printf %s "(cached) " >&6
   5072 else $as_nop
   5073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5074 /* end confdefs.h.  */
   5075 int i;
   5076 int
   5077 main (void)
   5078 {
   5079 
   5080   ;
   5081   return 0;
   5082 }
   5083 _ACEOF
   5084 if ac_fn_c_try_link "$LINENO"
   5085 then :
   5086   eval $cacheid=yes
   5087 else $as_nop
   5088   eval $cacheid=no
   5089 fi
   5090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5091     conftest$ac_exeext conftest.$ac_ext
   5092 fi
   5093 
   5094 
   5095 		CFLAGS="$xorg_testset_save_CFLAGS"
   5096 
   5097 		eval supported=\$$cacheid
   5098 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5099 printf "%s\n" "$supported" >&6; }
   5100 		if test "$supported" = "yes" ; then
   5101 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5102 			found="yes"
   5103 		fi
   5104 	fi
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 xorg_testset_save_CFLAGS="$CFLAGS"
   5121 
   5122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5125 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5126 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5127 then :
   5128   printf %s "(cached) " >&6
   5129 else $as_nop
   5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 _ACEOF
   5134 if ac_fn_c_try_compile "$LINENO"
   5135 then :
   5136   xorg_cv_cc_flag_unknown_warning_option=yes
   5137 else $as_nop
   5138   xorg_cv_cc_flag_unknown_warning_option=no
   5139 fi
   5140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5141 fi
   5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5143 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5145 	CFLAGS="$xorg_testset_save_CFLAGS"
   5146 fi
   5147 
   5148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 	fi
   5152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5154 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5155 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5156 then :
   5157   printf %s "(cached) " >&6
   5158 else $as_nop
   5159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5160 /* end confdefs.h.  */
   5161 int i;
   5162 _ACEOF
   5163 if ac_fn_c_try_compile "$LINENO"
   5164 then :
   5165   xorg_cv_cc_flag_unused_command_line_argument=yes
   5166 else $as_nop
   5167   xorg_cv_cc_flag_unused_command_line_argument=no
   5168 fi
   5169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5170 fi
   5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5172 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5174 	CFLAGS="$xorg_testset_save_CFLAGS"
   5175 fi
   5176 
   5177 found="no"
   5178 
   5179 	if test $found = "no" ; then
   5180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5182 		fi
   5183 
   5184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5186 		fi
   5187 
   5188 		CFLAGS="$CFLAGS -Wpointer-arith"
   5189 
   5190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5191 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5192 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5193 		if eval test \${$cacheid+y}
   5194 then :
   5195   printf %s "(cached) " >&6
   5196 else $as_nop
   5197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5198 /* end confdefs.h.  */
   5199 int i;
   5200 int
   5201 main (void)
   5202 {
   5203 
   5204   ;
   5205   return 0;
   5206 }
   5207 _ACEOF
   5208 if ac_fn_c_try_link "$LINENO"
   5209 then :
   5210   eval $cacheid=yes
   5211 else $as_nop
   5212   eval $cacheid=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5215     conftest$ac_exeext conftest.$ac_ext
   5216 fi
   5217 
   5218 
   5219 		CFLAGS="$xorg_testset_save_CFLAGS"
   5220 
   5221 		eval supported=\$$cacheid
   5222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5223 printf "%s\n" "$supported" >&6; }
   5224 		if test "$supported" = "yes" ; then
   5225 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5226 			found="yes"
   5227 		fi
   5228 	fi
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 xorg_testset_save_CFLAGS="$CFLAGS"
   5245 
   5246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5249 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5250 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5251 then :
   5252   printf %s "(cached) " >&6
   5253 else $as_nop
   5254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5255 /* end confdefs.h.  */
   5256 int i;
   5257 _ACEOF
   5258 if ac_fn_c_try_compile "$LINENO"
   5259 then :
   5260   xorg_cv_cc_flag_unknown_warning_option=yes
   5261 else $as_nop
   5262   xorg_cv_cc_flag_unknown_warning_option=no
   5263 fi
   5264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5265 fi
   5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5269 	CFLAGS="$xorg_testset_save_CFLAGS"
   5270 fi
   5271 
   5272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 	fi
   5276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5280 then :
   5281   printf %s "(cached) " >&6
   5282 else $as_nop
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 int i;
   5286 _ACEOF
   5287 if ac_fn_c_try_compile "$LINENO"
   5288 then :
   5289   xorg_cv_cc_flag_unused_command_line_argument=yes
   5290 else $as_nop
   5291   xorg_cv_cc_flag_unused_command_line_argument=no
   5292 fi
   5293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5294 fi
   5295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5296 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5298 	CFLAGS="$xorg_testset_save_CFLAGS"
   5299 fi
   5300 
   5301 found="no"
   5302 
   5303 	if test $found = "no" ; then
   5304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5306 		fi
   5307 
   5308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5310 		fi
   5311 
   5312 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5313 
   5314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5315 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5316 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5317 		if eval test \${$cacheid+y}
   5318 then :
   5319   printf %s "(cached) " >&6
   5320 else $as_nop
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 int
   5325 main (void)
   5326 {
   5327 
   5328   ;
   5329   return 0;
   5330 }
   5331 _ACEOF
   5332 if ac_fn_c_try_link "$LINENO"
   5333 then :
   5334   eval $cacheid=yes
   5335 else $as_nop
   5336   eval $cacheid=no
   5337 fi
   5338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5339     conftest$ac_exeext conftest.$ac_ext
   5340 fi
   5341 
   5342 
   5343 		CFLAGS="$xorg_testset_save_CFLAGS"
   5344 
   5345 		eval supported=\$$cacheid
   5346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5347 printf "%s\n" "$supported" >&6; }
   5348 		if test "$supported" = "yes" ; then
   5349 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5350 			found="yes"
   5351 		fi
   5352 	fi
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 xorg_testset_save_CFLAGS="$CFLAGS"
   5369 
   5370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5375 then :
   5376   printf %s "(cached) " >&6
   5377 else $as_nop
   5378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 int i;
   5381 _ACEOF
   5382 if ac_fn_c_try_compile "$LINENO"
   5383 then :
   5384   xorg_cv_cc_flag_unknown_warning_option=yes
   5385 else $as_nop
   5386   xorg_cv_cc_flag_unknown_warning_option=no
   5387 fi
   5388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5389 fi
   5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5393 	CFLAGS="$xorg_testset_save_CFLAGS"
   5394 fi
   5395 
   5396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5399 	fi
   5400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5404 then :
   5405   printf %s "(cached) " >&6
   5406 else $as_nop
   5407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5408 /* end confdefs.h.  */
   5409 int i;
   5410 _ACEOF
   5411 if ac_fn_c_try_compile "$LINENO"
   5412 then :
   5413   xorg_cv_cc_flag_unused_command_line_argument=yes
   5414 else $as_nop
   5415   xorg_cv_cc_flag_unused_command_line_argument=no
   5416 fi
   5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5418 fi
   5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5420 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5422 	CFLAGS="$xorg_testset_save_CFLAGS"
   5423 fi
   5424 
   5425 found="no"
   5426 
   5427 	if test $found = "no" ; then
   5428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5430 		fi
   5431 
   5432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5434 		fi
   5435 
   5436 		CFLAGS="$CFLAGS -Wformat=2"
   5437 
   5438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5439 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5440 		cacheid=xorg_cv_cc_flag__Wformat_2
   5441 		if eval test \${$cacheid+y}
   5442 then :
   5443   printf %s "(cached) " >&6
   5444 else $as_nop
   5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 int
   5449 main (void)
   5450 {
   5451 
   5452   ;
   5453   return 0;
   5454 }
   5455 _ACEOF
   5456 if ac_fn_c_try_link "$LINENO"
   5457 then :
   5458   eval $cacheid=yes
   5459 else $as_nop
   5460   eval $cacheid=no
   5461 fi
   5462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5463     conftest$ac_exeext conftest.$ac_ext
   5464 fi
   5465 
   5466 
   5467 		CFLAGS="$xorg_testset_save_CFLAGS"
   5468 
   5469 		eval supported=\$$cacheid
   5470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5471 printf "%s\n" "$supported" >&6; }
   5472 		if test "$supported" = "yes" ; then
   5473 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5474 			found="yes"
   5475 		fi
   5476 	fi
   5477 
   5478 	if test $found = "no" ; then
   5479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5481 		fi
   5482 
   5483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5485 		fi
   5486 
   5487 		CFLAGS="$CFLAGS -Wformat"
   5488 
   5489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5490 printf %s "checking if $CC supports -Wformat... " >&6; }
   5491 		cacheid=xorg_cv_cc_flag__Wformat
   5492 		if eval test \${$cacheid+y}
   5493 then :
   5494   printf %s "(cached) " >&6
   5495 else $as_nop
   5496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5497 /* end confdefs.h.  */
   5498 int i;
   5499 int
   5500 main (void)
   5501 {
   5502 
   5503   ;
   5504   return 0;
   5505 }
   5506 _ACEOF
   5507 if ac_fn_c_try_link "$LINENO"
   5508 then :
   5509   eval $cacheid=yes
   5510 else $as_nop
   5511   eval $cacheid=no
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5514     conftest$ac_exeext conftest.$ac_ext
   5515 fi
   5516 
   5517 
   5518 		CFLAGS="$xorg_testset_save_CFLAGS"
   5519 
   5520 		eval supported=\$$cacheid
   5521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5522 printf "%s\n" "$supported" >&6; }
   5523 		if test "$supported" = "yes" ; then
   5524 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5525 			found="yes"
   5526 		fi
   5527 	fi
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 xorg_testset_save_CFLAGS="$CFLAGS"
   5546 
   5547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5552 then :
   5553   printf %s "(cached) " >&6
   5554 else $as_nop
   5555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5556 /* end confdefs.h.  */
   5557 int i;
   5558 _ACEOF
   5559 if ac_fn_c_try_compile "$LINENO"
   5560 then :
   5561   xorg_cv_cc_flag_unknown_warning_option=yes
   5562 else $as_nop
   5563   xorg_cv_cc_flag_unknown_warning_option=no
   5564 fi
   5565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5566 fi
   5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5568 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5570 	CFLAGS="$xorg_testset_save_CFLAGS"
   5571 fi
   5572 
   5573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 	fi
   5577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5581 then :
   5582   printf %s "(cached) " >&6
   5583 else $as_nop
   5584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 _ACEOF
   5588 if ac_fn_c_try_compile "$LINENO"
   5589 then :
   5590   xorg_cv_cc_flag_unused_command_line_argument=yes
   5591 else $as_nop
   5592   xorg_cv_cc_flag_unused_command_line_argument=no
   5593 fi
   5594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5595 fi
   5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5597 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5599 	CFLAGS="$xorg_testset_save_CFLAGS"
   5600 fi
   5601 
   5602 found="no"
   5603 
   5604 	if test $found = "no" ; then
   5605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5607 		fi
   5608 
   5609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5611 		fi
   5612 
   5613 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5614 
   5615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5616 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5617 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5618 		if eval test \${$cacheid+y}
   5619 then :
   5620   printf %s "(cached) " >&6
   5621 else $as_nop
   5622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 int i;
   5625 int
   5626 main (void)
   5627 {
   5628 
   5629   ;
   5630   return 0;
   5631 }
   5632 _ACEOF
   5633 if ac_fn_c_try_link "$LINENO"
   5634 then :
   5635   eval $cacheid=yes
   5636 else $as_nop
   5637   eval $cacheid=no
   5638 fi
   5639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5640     conftest$ac_exeext conftest.$ac_ext
   5641 fi
   5642 
   5643 
   5644 		CFLAGS="$xorg_testset_save_CFLAGS"
   5645 
   5646 		eval supported=\$$cacheid
   5647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5648 printf "%s\n" "$supported" >&6; }
   5649 		if test "$supported" = "yes" ; then
   5650 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5651 			found="yes"
   5652 		fi
   5653 	fi
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 xorg_testset_save_CFLAGS="$CFLAGS"
   5670 
   5671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5676 then :
   5677   printf %s "(cached) " >&6
   5678 else $as_nop
   5679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"
   5684 then :
   5685   xorg_cv_cc_flag_unknown_warning_option=yes
   5686 else $as_nop
   5687   xorg_cv_cc_flag_unknown_warning_option=no
   5688 fi
   5689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5690 fi
   5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5694 	CFLAGS="$xorg_testset_save_CFLAGS"
   5695 fi
   5696 
   5697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5700 	fi
   5701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5705 then :
   5706   printf %s "(cached) " >&6
   5707 else $as_nop
   5708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5709 /* end confdefs.h.  */
   5710 int i;
   5711 _ACEOF
   5712 if ac_fn_c_try_compile "$LINENO"
   5713 then :
   5714   xorg_cv_cc_flag_unused_command_line_argument=yes
   5715 else $as_nop
   5716   xorg_cv_cc_flag_unused_command_line_argument=no
   5717 fi
   5718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5719 fi
   5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5723 	CFLAGS="$xorg_testset_save_CFLAGS"
   5724 fi
   5725 
   5726 found="no"
   5727 
   5728 	if test $found = "no" ; then
   5729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5731 		fi
   5732 
   5733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5735 		fi
   5736 
   5737 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5738 
   5739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5740 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5741 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5742 		if eval test \${$cacheid+y}
   5743 then :
   5744   printf %s "(cached) " >&6
   5745 else $as_nop
   5746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5747 /* end confdefs.h.  */
   5748 int i;
   5749 int
   5750 main (void)
   5751 {
   5752 
   5753   ;
   5754   return 0;
   5755 }
   5756 _ACEOF
   5757 if ac_fn_c_try_link "$LINENO"
   5758 then :
   5759   eval $cacheid=yes
   5760 else $as_nop
   5761   eval $cacheid=no
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5764     conftest$ac_exeext conftest.$ac_ext
   5765 fi
   5766 
   5767 
   5768 		CFLAGS="$xorg_testset_save_CFLAGS"
   5769 
   5770 		eval supported=\$$cacheid
   5771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5772 printf "%s\n" "$supported" >&6; }
   5773 		if test "$supported" = "yes" ; then
   5774 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5775 			found="yes"
   5776 		fi
   5777 	fi
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 xorg_testset_save_CFLAGS="$CFLAGS"
   5794 
   5795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5800 then :
   5801   printf %s "(cached) " >&6
   5802 else $as_nop
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"
   5808 then :
   5809   xorg_cv_cc_flag_unknown_warning_option=yes
   5810 else $as_nop
   5811   xorg_cv_cc_flag_unknown_warning_option=no
   5812 fi
   5813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5814 fi
   5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5816 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5818 	CFLAGS="$xorg_testset_save_CFLAGS"
   5819 fi
   5820 
   5821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 	fi
   5825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5829 then :
   5830   printf %s "(cached) " >&6
   5831 else $as_nop
   5832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5833 /* end confdefs.h.  */
   5834 int i;
   5835 _ACEOF
   5836 if ac_fn_c_try_compile "$LINENO"
   5837 then :
   5838   xorg_cv_cc_flag_unused_command_line_argument=yes
   5839 else $as_nop
   5840   xorg_cv_cc_flag_unused_command_line_argument=no
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5843 fi
   5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5845 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5847 	CFLAGS="$xorg_testset_save_CFLAGS"
   5848 fi
   5849 
   5850 found="no"
   5851 
   5852 	if test $found = "no" ; then
   5853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5855 		fi
   5856 
   5857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5859 		fi
   5860 
   5861 		CFLAGS="$CFLAGS -Wnested-externs"
   5862 
   5863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5864 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5865 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5866 		if eval test \${$cacheid+y}
   5867 then :
   5868   printf %s "(cached) " >&6
   5869 else $as_nop
   5870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5871 /* end confdefs.h.  */
   5872 int i;
   5873 int
   5874 main (void)
   5875 {
   5876 
   5877   ;
   5878   return 0;
   5879 }
   5880 _ACEOF
   5881 if ac_fn_c_try_link "$LINENO"
   5882 then :
   5883   eval $cacheid=yes
   5884 else $as_nop
   5885   eval $cacheid=no
   5886 fi
   5887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5888     conftest$ac_exeext conftest.$ac_ext
   5889 fi
   5890 
   5891 
   5892 		CFLAGS="$xorg_testset_save_CFLAGS"
   5893 
   5894 		eval supported=\$$cacheid
   5895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5896 printf "%s\n" "$supported" >&6; }
   5897 		if test "$supported" = "yes" ; then
   5898 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5899 			found="yes"
   5900 		fi
   5901 	fi
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 xorg_testset_save_CFLAGS="$CFLAGS"
   5918 
   5919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5924 then :
   5925   printf %s "(cached) " >&6
   5926 else $as_nop
   5927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5928 /* end confdefs.h.  */
   5929 int i;
   5930 _ACEOF
   5931 if ac_fn_c_try_compile "$LINENO"
   5932 then :
   5933   xorg_cv_cc_flag_unknown_warning_option=yes
   5934 else $as_nop
   5935   xorg_cv_cc_flag_unknown_warning_option=no
   5936 fi
   5937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5938 fi
   5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5940 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5942 	CFLAGS="$xorg_testset_save_CFLAGS"
   5943 fi
   5944 
   5945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5948 	fi
   5949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5951 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5952 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5953 then :
   5954   printf %s "(cached) " >&6
   5955 else $as_nop
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 _ACEOF
   5960 if ac_fn_c_try_compile "$LINENO"
   5961 then :
   5962   xorg_cv_cc_flag_unused_command_line_argument=yes
   5963 else $as_nop
   5964   xorg_cv_cc_flag_unused_command_line_argument=no
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5967 fi
   5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5971 	CFLAGS="$xorg_testset_save_CFLAGS"
   5972 fi
   5973 
   5974 found="no"
   5975 
   5976 	if test $found = "no" ; then
   5977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5979 		fi
   5980 
   5981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5983 		fi
   5984 
   5985 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5986 
   5987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5988 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5989 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5990 		if eval test \${$cacheid+y}
   5991 then :
   5992   printf %s "(cached) " >&6
   5993 else $as_nop
   5994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5995 /* end confdefs.h.  */
   5996 int i;
   5997 int
   5998 main (void)
   5999 {
   6000 
   6001   ;
   6002   return 0;
   6003 }
   6004 _ACEOF
   6005 if ac_fn_c_try_link "$LINENO"
   6006 then :
   6007   eval $cacheid=yes
   6008 else $as_nop
   6009   eval $cacheid=no
   6010 fi
   6011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6012     conftest$ac_exeext conftest.$ac_ext
   6013 fi
   6014 
   6015 
   6016 		CFLAGS="$xorg_testset_save_CFLAGS"
   6017 
   6018 		eval supported=\$$cacheid
   6019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6020 printf "%s\n" "$supported" >&6; }
   6021 		if test "$supported" = "yes" ; then
   6022 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6023 			found="yes"
   6024 		fi
   6025 	fi
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 xorg_testset_save_CFLAGS="$CFLAGS"
   6042 
   6043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6048 then :
   6049   printf %s "(cached) " >&6
   6050 else $as_nop
   6051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6052 /* end confdefs.h.  */
   6053 int i;
   6054 _ACEOF
   6055 if ac_fn_c_try_compile "$LINENO"
   6056 then :
   6057   xorg_cv_cc_flag_unknown_warning_option=yes
   6058 else $as_nop
   6059   xorg_cv_cc_flag_unknown_warning_option=no
   6060 fi
   6061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6062 fi
   6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6066 	CFLAGS="$xorg_testset_save_CFLAGS"
   6067 fi
   6068 
   6069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6072 	fi
   6073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6077 then :
   6078   printf %s "(cached) " >&6
   6079 else $as_nop
   6080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6081 /* end confdefs.h.  */
   6082 int i;
   6083 _ACEOF
   6084 if ac_fn_c_try_compile "$LINENO"
   6085 then :
   6086   xorg_cv_cc_flag_unused_command_line_argument=yes
   6087 else $as_nop
   6088   xorg_cv_cc_flag_unused_command_line_argument=no
   6089 fi
   6090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6091 fi
   6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6095 	CFLAGS="$xorg_testset_save_CFLAGS"
   6096 fi
   6097 
   6098 found="no"
   6099 
   6100 	if test $found = "no" ; then
   6101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6103 		fi
   6104 
   6105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6107 		fi
   6108 
   6109 		CFLAGS="$CFLAGS -Wold-style-definition"
   6110 
   6111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6112 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6113 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6114 		if eval test \${$cacheid+y}
   6115 then :
   6116   printf %s "(cached) " >&6
   6117 else $as_nop
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 int
   6122 main (void)
   6123 {
   6124 
   6125   ;
   6126   return 0;
   6127 }
   6128 _ACEOF
   6129 if ac_fn_c_try_link "$LINENO"
   6130 then :
   6131   eval $cacheid=yes
   6132 else $as_nop
   6133   eval $cacheid=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6136     conftest$ac_exeext conftest.$ac_ext
   6137 fi
   6138 
   6139 
   6140 		CFLAGS="$xorg_testset_save_CFLAGS"
   6141 
   6142 		eval supported=\$$cacheid
   6143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6144 printf "%s\n" "$supported" >&6; }
   6145 		if test "$supported" = "yes" ; then
   6146 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6147 			found="yes"
   6148 		fi
   6149 	fi
   6150 
   6151 	if test $found = "no" ; then
   6152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6154 		fi
   6155 
   6156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6158 		fi
   6159 
   6160 		CFLAGS="$CFLAGS -fd"
   6161 
   6162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6163 printf %s "checking if $CC supports -fd... " >&6; }
   6164 		cacheid=xorg_cv_cc_flag__fd
   6165 		if eval test \${$cacheid+y}
   6166 then :
   6167   printf %s "(cached) " >&6
   6168 else $as_nop
   6169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6170 /* end confdefs.h.  */
   6171 int i;
   6172 int
   6173 main (void)
   6174 {
   6175 
   6176   ;
   6177   return 0;
   6178 }
   6179 _ACEOF
   6180 if ac_fn_c_try_link "$LINENO"
   6181 then :
   6182   eval $cacheid=yes
   6183 else $as_nop
   6184   eval $cacheid=no
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6187     conftest$ac_exeext conftest.$ac_ext
   6188 fi
   6189 
   6190 
   6191 		CFLAGS="$xorg_testset_save_CFLAGS"
   6192 
   6193 		eval supported=\$$cacheid
   6194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6195 printf "%s\n" "$supported" >&6; }
   6196 		if test "$supported" = "yes" ; then
   6197 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6198 			found="yes"
   6199 		fi
   6200 	fi
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 xorg_testset_save_CFLAGS="$CFLAGS"
   6217 
   6218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6223 then :
   6224   printf %s "(cached) " >&6
   6225 else $as_nop
   6226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6227 /* end confdefs.h.  */
   6228 int i;
   6229 _ACEOF
   6230 if ac_fn_c_try_compile "$LINENO"
   6231 then :
   6232   xorg_cv_cc_flag_unknown_warning_option=yes
   6233 else $as_nop
   6234   xorg_cv_cc_flag_unknown_warning_option=no
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6237 fi
   6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6239 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6241 	CFLAGS="$xorg_testset_save_CFLAGS"
   6242 fi
   6243 
   6244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 	fi
   6248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6250 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6251 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6252 then :
   6253   printf %s "(cached) " >&6
   6254 else $as_nop
   6255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 _ACEOF
   6259 if ac_fn_c_try_compile "$LINENO"
   6260 then :
   6261   xorg_cv_cc_flag_unused_command_line_argument=yes
   6262 else $as_nop
   6263   xorg_cv_cc_flag_unused_command_line_argument=no
   6264 fi
   6265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6266 fi
   6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6268 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6270 	CFLAGS="$xorg_testset_save_CFLAGS"
   6271 fi
   6272 
   6273 found="no"
   6274 
   6275 	if test $found = "no" ; then
   6276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6278 		fi
   6279 
   6280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6282 		fi
   6283 
   6284 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6285 
   6286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6287 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6288 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6289 		if eval test \${$cacheid+y}
   6290 then :
   6291   printf %s "(cached) " >&6
   6292 else $as_nop
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 int
   6297 main (void)
   6298 {
   6299 
   6300   ;
   6301   return 0;
   6302 }
   6303 _ACEOF
   6304 if ac_fn_c_try_link "$LINENO"
   6305 then :
   6306   eval $cacheid=yes
   6307 else $as_nop
   6308   eval $cacheid=no
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6311     conftest$ac_exeext conftest.$ac_ext
   6312 fi
   6313 
   6314 
   6315 		CFLAGS="$xorg_testset_save_CFLAGS"
   6316 
   6317 		eval supported=\$$cacheid
   6318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6319 printf "%s\n" "$supported" >&6; }
   6320 		if test "$supported" = "yes" ; then
   6321 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6322 			found="yes"
   6323 		fi
   6324 	fi
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 # This chunk adds additional warnings that could catch undesired effects.
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 xorg_testset_save_CFLAGS="$CFLAGS"
   6345 
   6346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6349 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6350 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6351 then :
   6352   printf %s "(cached) " >&6
   6353 else $as_nop
   6354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6355 /* end confdefs.h.  */
   6356 int i;
   6357 _ACEOF
   6358 if ac_fn_c_try_compile "$LINENO"
   6359 then :
   6360   xorg_cv_cc_flag_unknown_warning_option=yes
   6361 else $as_nop
   6362   xorg_cv_cc_flag_unknown_warning_option=no
   6363 fi
   6364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6365 fi
   6366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6367 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6368 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6369 	CFLAGS="$xorg_testset_save_CFLAGS"
   6370 fi
   6371 
   6372 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6373 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6374 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6375 	fi
   6376 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6378 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6379 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6380 then :
   6381   printf %s "(cached) " >&6
   6382 else $as_nop
   6383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6384 /* end confdefs.h.  */
   6385 int i;
   6386 _ACEOF
   6387 if ac_fn_c_try_compile "$LINENO"
   6388 then :
   6389   xorg_cv_cc_flag_unused_command_line_argument=yes
   6390 else $as_nop
   6391   xorg_cv_cc_flag_unused_command_line_argument=no
   6392 fi
   6393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6394 fi
   6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6396 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6398 	CFLAGS="$xorg_testset_save_CFLAGS"
   6399 fi
   6400 
   6401 found="no"
   6402 
   6403 	if test $found = "no" ; then
   6404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6406 		fi
   6407 
   6408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6410 		fi
   6411 
   6412 		CFLAGS="$CFLAGS -Wunused"
   6413 
   6414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6415 printf %s "checking if $CC supports -Wunused... " >&6; }
   6416 		cacheid=xorg_cv_cc_flag__Wunused
   6417 		if eval test \${$cacheid+y}
   6418 then :
   6419   printf %s "(cached) " >&6
   6420 else $as_nop
   6421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 int
   6425 main (void)
   6426 {
   6427 
   6428   ;
   6429   return 0;
   6430 }
   6431 _ACEOF
   6432 if ac_fn_c_try_link "$LINENO"
   6433 then :
   6434   eval $cacheid=yes
   6435 else $as_nop
   6436   eval $cacheid=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6439     conftest$ac_exeext conftest.$ac_ext
   6440 fi
   6441 
   6442 
   6443 		CFLAGS="$xorg_testset_save_CFLAGS"
   6444 
   6445 		eval supported=\$$cacheid
   6446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6447 printf "%s\n" "$supported" >&6; }
   6448 		if test "$supported" = "yes" ; then
   6449 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6450 			found="yes"
   6451 		fi
   6452 	fi
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 xorg_testset_save_CFLAGS="$CFLAGS"
   6469 
   6470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6473 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6474 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6475 then :
   6476   printf %s "(cached) " >&6
   6477 else $as_nop
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 _ACEOF
   6482 if ac_fn_c_try_compile "$LINENO"
   6483 then :
   6484   xorg_cv_cc_flag_unknown_warning_option=yes
   6485 else $as_nop
   6486   xorg_cv_cc_flag_unknown_warning_option=no
   6487 fi
   6488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6489 fi
   6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6493 	CFLAGS="$xorg_testset_save_CFLAGS"
   6494 fi
   6495 
   6496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6499 	fi
   6500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6504 then :
   6505   printf %s "(cached) " >&6
   6506 else $as_nop
   6507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6508 /* end confdefs.h.  */
   6509 int i;
   6510 _ACEOF
   6511 if ac_fn_c_try_compile "$LINENO"
   6512 then :
   6513   xorg_cv_cc_flag_unused_command_line_argument=yes
   6514 else $as_nop
   6515   xorg_cv_cc_flag_unused_command_line_argument=no
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6518 fi
   6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6520 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6521 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6522 	CFLAGS="$xorg_testset_save_CFLAGS"
   6523 fi
   6524 
   6525 found="no"
   6526 
   6527 	if test $found = "no" ; then
   6528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6530 		fi
   6531 
   6532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6534 		fi
   6535 
   6536 		CFLAGS="$CFLAGS -Wuninitialized"
   6537 
   6538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6539 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6540 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6541 		if eval test \${$cacheid+y}
   6542 then :
   6543   printf %s "(cached) " >&6
   6544 else $as_nop
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 int
   6549 main (void)
   6550 {
   6551 
   6552   ;
   6553   return 0;
   6554 }
   6555 _ACEOF
   6556 if ac_fn_c_try_link "$LINENO"
   6557 then :
   6558   eval $cacheid=yes
   6559 else $as_nop
   6560   eval $cacheid=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6563     conftest$ac_exeext conftest.$ac_ext
   6564 fi
   6565 
   6566 
   6567 		CFLAGS="$xorg_testset_save_CFLAGS"
   6568 
   6569 		eval supported=\$$cacheid
   6570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6571 printf "%s\n" "$supported" >&6; }
   6572 		if test "$supported" = "yes" ; then
   6573 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6574 			found="yes"
   6575 		fi
   6576 	fi
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 xorg_testset_save_CFLAGS="$CFLAGS"
   6593 
   6594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6597 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6598 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6599 then :
   6600   printf %s "(cached) " >&6
   6601 else $as_nop
   6602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6603 /* end confdefs.h.  */
   6604 int i;
   6605 _ACEOF
   6606 if ac_fn_c_try_compile "$LINENO"
   6607 then :
   6608   xorg_cv_cc_flag_unknown_warning_option=yes
   6609 else $as_nop
   6610   xorg_cv_cc_flag_unknown_warning_option=no
   6611 fi
   6612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6613 fi
   6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6615 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6617 	CFLAGS="$xorg_testset_save_CFLAGS"
   6618 fi
   6619 
   6620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6623 	fi
   6624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6628 then :
   6629   printf %s "(cached) " >&6
   6630 else $as_nop
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 _ACEOF
   6635 if ac_fn_c_try_compile "$LINENO"
   6636 then :
   6637   xorg_cv_cc_flag_unused_command_line_argument=yes
   6638 else $as_nop
   6639   xorg_cv_cc_flag_unused_command_line_argument=no
   6640 fi
   6641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6642 fi
   6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6644 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6646 	CFLAGS="$xorg_testset_save_CFLAGS"
   6647 fi
   6648 
   6649 found="no"
   6650 
   6651 	if test $found = "no" ; then
   6652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 		fi
   6655 
   6656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6658 		fi
   6659 
   6660 		CFLAGS="$CFLAGS -Wshadow"
   6661 
   6662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6663 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6664 		cacheid=xorg_cv_cc_flag__Wshadow
   6665 		if eval test \${$cacheid+y}
   6666 then :
   6667   printf %s "(cached) " >&6
   6668 else $as_nop
   6669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6670 /* end confdefs.h.  */
   6671 int i;
   6672 int
   6673 main (void)
   6674 {
   6675 
   6676   ;
   6677   return 0;
   6678 }
   6679 _ACEOF
   6680 if ac_fn_c_try_link "$LINENO"
   6681 then :
   6682   eval $cacheid=yes
   6683 else $as_nop
   6684   eval $cacheid=no
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6687     conftest$ac_exeext conftest.$ac_ext
   6688 fi
   6689 
   6690 
   6691 		CFLAGS="$xorg_testset_save_CFLAGS"
   6692 
   6693 		eval supported=\$$cacheid
   6694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6695 printf "%s\n" "$supported" >&6; }
   6696 		if test "$supported" = "yes" ; then
   6697 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6698 			found="yes"
   6699 		fi
   6700 	fi
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 xorg_testset_save_CFLAGS="$CFLAGS"
   6717 
   6718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6721 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6722 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6723 then :
   6724   printf %s "(cached) " >&6
   6725 else $as_nop
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 _ACEOF
   6730 if ac_fn_c_try_compile "$LINENO"
   6731 then :
   6732   xorg_cv_cc_flag_unknown_warning_option=yes
   6733 else $as_nop
   6734   xorg_cv_cc_flag_unknown_warning_option=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6737 fi
   6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6739 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6741 	CFLAGS="$xorg_testset_save_CFLAGS"
   6742 fi
   6743 
   6744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6747 	fi
   6748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6750 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6751 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6752 then :
   6753   printf %s "(cached) " >&6
   6754 else $as_nop
   6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 _ACEOF
   6759 if ac_fn_c_try_compile "$LINENO"
   6760 then :
   6761   xorg_cv_cc_flag_unused_command_line_argument=yes
   6762 else $as_nop
   6763   xorg_cv_cc_flag_unused_command_line_argument=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6766 fi
   6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6768 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 found="no"
   6774 
   6775 	if test $found = "no" ; then
   6776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6778 		fi
   6779 
   6780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6782 		fi
   6783 
   6784 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6785 
   6786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6787 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6788 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6789 		if eval test \${$cacheid+y}
   6790 then :
   6791   printf %s "(cached) " >&6
   6792 else $as_nop
   6793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6794 /* end confdefs.h.  */
   6795 int i;
   6796 int
   6797 main (void)
   6798 {
   6799 
   6800   ;
   6801   return 0;
   6802 }
   6803 _ACEOF
   6804 if ac_fn_c_try_link "$LINENO"
   6805 then :
   6806   eval $cacheid=yes
   6807 else $as_nop
   6808   eval $cacheid=no
   6809 fi
   6810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6811     conftest$ac_exeext conftest.$ac_ext
   6812 fi
   6813 
   6814 
   6815 		CFLAGS="$xorg_testset_save_CFLAGS"
   6816 
   6817 		eval supported=\$$cacheid
   6818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6819 printf "%s\n" "$supported" >&6; }
   6820 		if test "$supported" = "yes" ; then
   6821 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6822 			found="yes"
   6823 		fi
   6824 	fi
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 xorg_testset_save_CFLAGS="$CFLAGS"
   6841 
   6842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6847 then :
   6848   printf %s "(cached) " >&6
   6849 else $as_nop
   6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6851 /* end confdefs.h.  */
   6852 int i;
   6853 _ACEOF
   6854 if ac_fn_c_try_compile "$LINENO"
   6855 then :
   6856   xorg_cv_cc_flag_unknown_warning_option=yes
   6857 else $as_nop
   6858   xorg_cv_cc_flag_unknown_warning_option=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6861 fi
   6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6863 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6865 	CFLAGS="$xorg_testset_save_CFLAGS"
   6866 fi
   6867 
   6868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6871 	fi
   6872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6876 then :
   6877   printf %s "(cached) " >&6
   6878 else $as_nop
   6879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6880 /* end confdefs.h.  */
   6881 int i;
   6882 _ACEOF
   6883 if ac_fn_c_try_compile "$LINENO"
   6884 then :
   6885   xorg_cv_cc_flag_unused_command_line_argument=yes
   6886 else $as_nop
   6887   xorg_cv_cc_flag_unused_command_line_argument=no
   6888 fi
   6889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6890 fi
   6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6892 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6894 	CFLAGS="$xorg_testset_save_CFLAGS"
   6895 fi
   6896 
   6897 found="no"
   6898 
   6899 	if test $found = "no" ; then
   6900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6902 		fi
   6903 
   6904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6906 		fi
   6907 
   6908 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6909 
   6910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6911 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6912 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6913 		if eval test \${$cacheid+y}
   6914 then :
   6915   printf %s "(cached) " >&6
   6916 else $as_nop
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 int
   6921 main (void)
   6922 {
   6923 
   6924   ;
   6925   return 0;
   6926 }
   6927 _ACEOF
   6928 if ac_fn_c_try_link "$LINENO"
   6929 then :
   6930   eval $cacheid=yes
   6931 else $as_nop
   6932   eval $cacheid=no
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6935     conftest$ac_exeext conftest.$ac_ext
   6936 fi
   6937 
   6938 
   6939 		CFLAGS="$xorg_testset_save_CFLAGS"
   6940 
   6941 		eval supported=\$$cacheid
   6942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6943 printf "%s\n" "$supported" >&6; }
   6944 		if test "$supported" = "yes" ; then
   6945 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6946 			found="yes"
   6947 		fi
   6948 	fi
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 xorg_testset_save_CFLAGS="$CFLAGS"
   6965 
   6966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6969 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6970 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6971 then :
   6972   printf %s "(cached) " >&6
   6973 else $as_nop
   6974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6975 /* end confdefs.h.  */
   6976 int i;
   6977 _ACEOF
   6978 if ac_fn_c_try_compile "$LINENO"
   6979 then :
   6980   xorg_cv_cc_flag_unknown_warning_option=yes
   6981 else $as_nop
   6982   xorg_cv_cc_flag_unknown_warning_option=no
   6983 fi
   6984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6985 fi
   6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6987 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6989 	CFLAGS="$xorg_testset_save_CFLAGS"
   6990 fi
   6991 
   6992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 	fi
   6996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6998 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6999 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else $as_nop
   7003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 _ACEOF
   7007 if ac_fn_c_try_compile "$LINENO"
   7008 then :
   7009   xorg_cv_cc_flag_unused_command_line_argument=yes
   7010 else $as_nop
   7011   xorg_cv_cc_flag_unused_command_line_argument=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7014 fi
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7016 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 found="no"
   7022 
   7023 	if test $found = "no" ; then
   7024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7026 		fi
   7027 
   7028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7030 		fi
   7031 
   7032 		CFLAGS="$CFLAGS -Wredundant-decls"
   7033 
   7034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7035 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7036 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7037 		if eval test \${$cacheid+y}
   7038 then :
   7039   printf %s "(cached) " >&6
   7040 else $as_nop
   7041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7042 /* end confdefs.h.  */
   7043 int i;
   7044 int
   7045 main (void)
   7046 {
   7047 
   7048   ;
   7049   return 0;
   7050 }
   7051 _ACEOF
   7052 if ac_fn_c_try_link "$LINENO"
   7053 then :
   7054   eval $cacheid=yes
   7055 else $as_nop
   7056   eval $cacheid=no
   7057 fi
   7058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7059     conftest$ac_exeext conftest.$ac_ext
   7060 fi
   7061 
   7062 
   7063 		CFLAGS="$xorg_testset_save_CFLAGS"
   7064 
   7065 		eval supported=\$$cacheid
   7066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7067 printf "%s\n" "$supported" >&6; }
   7068 		if test "$supported" = "yes" ; then
   7069 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7070 			found="yes"
   7071 		fi
   7072 	fi
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 xorg_testset_save_CFLAGS="$CFLAGS"
   7089 
   7090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7094 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7095 then :
   7096   printf %s "(cached) " >&6
   7097 else $as_nop
   7098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7099 /* end confdefs.h.  */
   7100 int i;
   7101 _ACEOF
   7102 if ac_fn_c_try_compile "$LINENO"
   7103 then :
   7104   xorg_cv_cc_flag_unknown_warning_option=yes
   7105 else $as_nop
   7106   xorg_cv_cc_flag_unknown_warning_option=no
   7107 fi
   7108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7109 fi
   7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7111 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7113 	CFLAGS="$xorg_testset_save_CFLAGS"
   7114 fi
   7115 
   7116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 	fi
   7120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7124 then :
   7125   printf %s "(cached) " >&6
   7126 else $as_nop
   7127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7128 /* end confdefs.h.  */
   7129 int i;
   7130 _ACEOF
   7131 if ac_fn_c_try_compile "$LINENO"
   7132 then :
   7133   xorg_cv_cc_flag_unused_command_line_argument=yes
   7134 else $as_nop
   7135   xorg_cv_cc_flag_unused_command_line_argument=no
   7136 fi
   7137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7138 fi
   7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7140 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7142 	CFLAGS="$xorg_testset_save_CFLAGS"
   7143 fi
   7144 
   7145 found="no"
   7146 
   7147 	if test $found = "no" ; then
   7148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7150 		fi
   7151 
   7152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7154 		fi
   7155 
   7156 		CFLAGS="$CFLAGS -Wlogical-op"
   7157 
   7158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7159 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7160 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7161 		if eval test \${$cacheid+y}
   7162 then :
   7163   printf %s "(cached) " >&6
   7164 else $as_nop
   7165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7166 /* end confdefs.h.  */
   7167 int i;
   7168 int
   7169 main (void)
   7170 {
   7171 
   7172   ;
   7173   return 0;
   7174 }
   7175 _ACEOF
   7176 if ac_fn_c_try_link "$LINENO"
   7177 then :
   7178   eval $cacheid=yes
   7179 else $as_nop
   7180   eval $cacheid=no
   7181 fi
   7182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7183     conftest$ac_exeext conftest.$ac_ext
   7184 fi
   7185 
   7186 
   7187 		CFLAGS="$xorg_testset_save_CFLAGS"
   7188 
   7189 		eval supported=\$$cacheid
   7190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7191 printf "%s\n" "$supported" >&6; }
   7192 		if test "$supported" = "yes" ; then
   7193 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7194 			found="yes"
   7195 		fi
   7196 	fi
   7197 
   7198 
   7199 
   7200 # These are currently disabled because they are noisy.  They will be enabled
   7201 # in the future once the codebase is sufficiently modernized to silence
   7202 # them.  For now, I don't want them to drown out the other warnings.
   7203 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7204 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7205 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7206 
   7207 # Turn some warnings into errors, so we don't accidentally get successful builds
   7208 # when there are problems that should be fixed.
   7209 
   7210 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 xorg_testset_save_CFLAGS="$CFLAGS"
   7225 
   7226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7229 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7230 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7231 then :
   7232   printf %s "(cached) " >&6
   7233 else $as_nop
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 _ACEOF
   7238 if ac_fn_c_try_compile "$LINENO"
   7239 then :
   7240   xorg_cv_cc_flag_unknown_warning_option=yes
   7241 else $as_nop
   7242   xorg_cv_cc_flag_unknown_warning_option=no
   7243 fi
   7244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7245 fi
   7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7247 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7249 	CFLAGS="$xorg_testset_save_CFLAGS"
   7250 fi
   7251 
   7252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	fi
   7256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7258 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7259 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7260 then :
   7261   printf %s "(cached) " >&6
   7262 else $as_nop
   7263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7264 /* end confdefs.h.  */
   7265 int i;
   7266 _ACEOF
   7267 if ac_fn_c_try_compile "$LINENO"
   7268 then :
   7269   xorg_cv_cc_flag_unused_command_line_argument=yes
   7270 else $as_nop
   7271   xorg_cv_cc_flag_unused_command_line_argument=no
   7272 fi
   7273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7274 fi
   7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7278 	CFLAGS="$xorg_testset_save_CFLAGS"
   7279 fi
   7280 
   7281 found="no"
   7282 
   7283 	if test $found = "no" ; then
   7284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7286 		fi
   7287 
   7288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7290 		fi
   7291 
   7292 		CFLAGS="$CFLAGS -Werror=implicit"
   7293 
   7294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7295 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7296 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7297 		if eval test \${$cacheid+y}
   7298 then :
   7299   printf %s "(cached) " >&6
   7300 else $as_nop
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 int i;
   7304 int
   7305 main (void)
   7306 {
   7307 
   7308   ;
   7309   return 0;
   7310 }
   7311 _ACEOF
   7312 if ac_fn_c_try_link "$LINENO"
   7313 then :
   7314   eval $cacheid=yes
   7315 else $as_nop
   7316   eval $cacheid=no
   7317 fi
   7318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7319     conftest$ac_exeext conftest.$ac_ext
   7320 fi
   7321 
   7322 
   7323 		CFLAGS="$xorg_testset_save_CFLAGS"
   7324 
   7325 		eval supported=\$$cacheid
   7326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7327 printf "%s\n" "$supported" >&6; }
   7328 		if test "$supported" = "yes" ; then
   7329 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7330 			found="yes"
   7331 		fi
   7332 	fi
   7333 
   7334 	if test $found = "no" ; then
   7335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7337 		fi
   7338 
   7339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7341 		fi
   7342 
   7343 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7344 
   7345 		{ 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
   7346 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7347 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7348 		if eval test \${$cacheid+y}
   7349 then :
   7350   printf %s "(cached) " >&6
   7351 else $as_nop
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 int
   7356 main (void)
   7357 {
   7358 
   7359   ;
   7360   return 0;
   7361 }
   7362 _ACEOF
   7363 if ac_fn_c_try_link "$LINENO"
   7364 then :
   7365   eval $cacheid=yes
   7366 else $as_nop
   7367   eval $cacheid=no
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7370     conftest$ac_exeext conftest.$ac_ext
   7371 fi
   7372 
   7373 
   7374 		CFLAGS="$xorg_testset_save_CFLAGS"
   7375 
   7376 		eval supported=\$$cacheid
   7377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7378 printf "%s\n" "$supported" >&6; }
   7379 		if test "$supported" = "yes" ; then
   7380 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7381 			found="yes"
   7382 		fi
   7383 	fi
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 xorg_testset_save_CFLAGS="$CFLAGS"
   7400 
   7401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7403 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7404 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7405 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7406 then :
   7407   printf %s "(cached) " >&6
   7408 else $as_nop
   7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7410 /* end confdefs.h.  */
   7411 int i;
   7412 _ACEOF
   7413 if ac_fn_c_try_compile "$LINENO"
   7414 then :
   7415   xorg_cv_cc_flag_unknown_warning_option=yes
   7416 else $as_nop
   7417   xorg_cv_cc_flag_unknown_warning_option=no
   7418 fi
   7419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7420 fi
   7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7422 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7424 	CFLAGS="$xorg_testset_save_CFLAGS"
   7425 fi
   7426 
   7427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 	fi
   7431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7433 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7434 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7435 then :
   7436   printf %s "(cached) " >&6
   7437 else $as_nop
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"
   7443 then :
   7444   xorg_cv_cc_flag_unused_command_line_argument=yes
   7445 else $as_nop
   7446   xorg_cv_cc_flag_unused_command_line_argument=no
   7447 fi
   7448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7449 fi
   7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7451 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7453 	CFLAGS="$xorg_testset_save_CFLAGS"
   7454 fi
   7455 
   7456 found="no"
   7457 
   7458 	if test $found = "no" ; then
   7459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7461 		fi
   7462 
   7463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7465 		fi
   7466 
   7467 		CFLAGS="$CFLAGS -Werror=nonnull"
   7468 
   7469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7470 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7471 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7472 		if eval test \${$cacheid+y}
   7473 then :
   7474   printf %s "(cached) " >&6
   7475 else $as_nop
   7476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7477 /* end confdefs.h.  */
   7478 int i;
   7479 int
   7480 main (void)
   7481 {
   7482 
   7483   ;
   7484   return 0;
   7485 }
   7486 _ACEOF
   7487 if ac_fn_c_try_link "$LINENO"
   7488 then :
   7489   eval $cacheid=yes
   7490 else $as_nop
   7491   eval $cacheid=no
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7494     conftest$ac_exeext conftest.$ac_ext
   7495 fi
   7496 
   7497 
   7498 		CFLAGS="$xorg_testset_save_CFLAGS"
   7499 
   7500 		eval supported=\$$cacheid
   7501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7502 printf "%s\n" "$supported" >&6; }
   7503 		if test "$supported" = "yes" ; then
   7504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7505 			found="yes"
   7506 		fi
   7507 	fi
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 xorg_testset_save_CFLAGS="$CFLAGS"
   7524 
   7525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7530 then :
   7531   printf %s "(cached) " >&6
   7532 else $as_nop
   7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7534 /* end confdefs.h.  */
   7535 int i;
   7536 _ACEOF
   7537 if ac_fn_c_try_compile "$LINENO"
   7538 then :
   7539   xorg_cv_cc_flag_unknown_warning_option=yes
   7540 else $as_nop
   7541   xorg_cv_cc_flag_unknown_warning_option=no
   7542 fi
   7543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7544 fi
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7546 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7548 	CFLAGS="$xorg_testset_save_CFLAGS"
   7549 fi
   7550 
   7551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 	fi
   7555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7557 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7558 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else $as_nop
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 _ACEOF
   7566 if ac_fn_c_try_compile "$LINENO"
   7567 then :
   7568   xorg_cv_cc_flag_unused_command_line_argument=yes
   7569 else $as_nop
   7570   xorg_cv_cc_flag_unused_command_line_argument=no
   7571 fi
   7572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7573 fi
   7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7577 	CFLAGS="$xorg_testset_save_CFLAGS"
   7578 fi
   7579 
   7580 found="no"
   7581 
   7582 	if test $found = "no" ; then
   7583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7585 		fi
   7586 
   7587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7589 		fi
   7590 
   7591 		CFLAGS="$CFLAGS -Werror=init-self"
   7592 
   7593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7594 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7595 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7596 		if eval test \${$cacheid+y}
   7597 then :
   7598   printf %s "(cached) " >&6
   7599 else $as_nop
   7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 int
   7604 main (void)
   7605 {
   7606 
   7607   ;
   7608   return 0;
   7609 }
   7610 _ACEOF
   7611 if ac_fn_c_try_link "$LINENO"
   7612 then :
   7613   eval $cacheid=yes
   7614 else $as_nop
   7615   eval $cacheid=no
   7616 fi
   7617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7618     conftest$ac_exeext conftest.$ac_ext
   7619 fi
   7620 
   7621 
   7622 		CFLAGS="$xorg_testset_save_CFLAGS"
   7623 
   7624 		eval supported=\$$cacheid
   7625 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7626 printf "%s\n" "$supported" >&6; }
   7627 		if test "$supported" = "yes" ; then
   7628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7629 			found="yes"
   7630 		fi
   7631 	fi
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 xorg_testset_save_CFLAGS="$CFLAGS"
   7648 
   7649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7652 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7653 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7654 then :
   7655   printf %s "(cached) " >&6
   7656 else $as_nop
   7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 int i;
   7660 _ACEOF
   7661 if ac_fn_c_try_compile "$LINENO"
   7662 then :
   7663   xorg_cv_cc_flag_unknown_warning_option=yes
   7664 else $as_nop
   7665   xorg_cv_cc_flag_unknown_warning_option=no
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7668 fi
   7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7670 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7672 	CFLAGS="$xorg_testset_save_CFLAGS"
   7673 fi
   7674 
   7675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7678 	fi
   7679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7681 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7682 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7683 then :
   7684   printf %s "(cached) " >&6
   7685 else $as_nop
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 _ACEOF
   7690 if ac_fn_c_try_compile "$LINENO"
   7691 then :
   7692   xorg_cv_cc_flag_unused_command_line_argument=yes
   7693 else $as_nop
   7694   xorg_cv_cc_flag_unused_command_line_argument=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7697 fi
   7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 found="no"
   7705 
   7706 	if test $found = "no" ; then
   7707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7709 		fi
   7710 
   7711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 		fi
   7714 
   7715 		CFLAGS="$CFLAGS -Werror=main"
   7716 
   7717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7718 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7719 		cacheid=xorg_cv_cc_flag__Werror_main
   7720 		if eval test \${$cacheid+y}
   7721 then :
   7722   printf %s "(cached) " >&6
   7723 else $as_nop
   7724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7725 /* end confdefs.h.  */
   7726 int i;
   7727 int
   7728 main (void)
   7729 {
   7730 
   7731   ;
   7732   return 0;
   7733 }
   7734 _ACEOF
   7735 if ac_fn_c_try_link "$LINENO"
   7736 then :
   7737   eval $cacheid=yes
   7738 else $as_nop
   7739   eval $cacheid=no
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7742     conftest$ac_exeext conftest.$ac_ext
   7743 fi
   7744 
   7745 
   7746 		CFLAGS="$xorg_testset_save_CFLAGS"
   7747 
   7748 		eval supported=\$$cacheid
   7749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7750 printf "%s\n" "$supported" >&6; }
   7751 		if test "$supported" = "yes" ; then
   7752 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7753 			found="yes"
   7754 		fi
   7755 	fi
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 xorg_testset_save_CFLAGS="$CFLAGS"
   7772 
   7773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7776 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7777 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7778 then :
   7779   printf %s "(cached) " >&6
   7780 else $as_nop
   7781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 _ACEOF
   7785 if ac_fn_c_try_compile "$LINENO"
   7786 then :
   7787   xorg_cv_cc_flag_unknown_warning_option=yes
   7788 else $as_nop
   7789   xorg_cv_cc_flag_unknown_warning_option=no
   7790 fi
   7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7792 fi
   7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7794 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7796 	CFLAGS="$xorg_testset_save_CFLAGS"
   7797 fi
   7798 
   7799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7802 	fi
   7803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7805 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7806 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7807 then :
   7808   printf %s "(cached) " >&6
   7809 else $as_nop
   7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 int i;
   7813 _ACEOF
   7814 if ac_fn_c_try_compile "$LINENO"
   7815 then :
   7816   xorg_cv_cc_flag_unused_command_line_argument=yes
   7817 else $as_nop
   7818   xorg_cv_cc_flag_unused_command_line_argument=no
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7821 fi
   7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7823 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 found="no"
   7829 
   7830 	if test $found = "no" ; then
   7831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7833 		fi
   7834 
   7835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7837 		fi
   7838 
   7839 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7840 
   7841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7842 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7843 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7844 		if eval test \${$cacheid+y}
   7845 then :
   7846   printf %s "(cached) " >&6
   7847 else $as_nop
   7848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 int
   7852 main (void)
   7853 {
   7854 
   7855   ;
   7856   return 0;
   7857 }
   7858 _ACEOF
   7859 if ac_fn_c_try_link "$LINENO"
   7860 then :
   7861   eval $cacheid=yes
   7862 else $as_nop
   7863   eval $cacheid=no
   7864 fi
   7865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7866     conftest$ac_exeext conftest.$ac_ext
   7867 fi
   7868 
   7869 
   7870 		CFLAGS="$xorg_testset_save_CFLAGS"
   7871 
   7872 		eval supported=\$$cacheid
   7873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7874 printf "%s\n" "$supported" >&6; }
   7875 		if test "$supported" = "yes" ; then
   7876 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7877 			found="yes"
   7878 		fi
   7879 	fi
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 xorg_testset_save_CFLAGS="$CFLAGS"
   7896 
   7897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7902 then :
   7903   printf %s "(cached) " >&6
   7904 else $as_nop
   7905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7906 /* end confdefs.h.  */
   7907 int i;
   7908 _ACEOF
   7909 if ac_fn_c_try_compile "$LINENO"
   7910 then :
   7911   xorg_cv_cc_flag_unknown_warning_option=yes
   7912 else $as_nop
   7913   xorg_cv_cc_flag_unknown_warning_option=no
   7914 fi
   7915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7916 fi
   7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7918 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7920 	CFLAGS="$xorg_testset_save_CFLAGS"
   7921 fi
   7922 
   7923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7926 	fi
   7927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7929 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7930 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7931 then :
   7932   printf %s "(cached) " >&6
   7933 else $as_nop
   7934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7935 /* end confdefs.h.  */
   7936 int i;
   7937 _ACEOF
   7938 if ac_fn_c_try_compile "$LINENO"
   7939 then :
   7940   xorg_cv_cc_flag_unused_command_line_argument=yes
   7941 else $as_nop
   7942   xorg_cv_cc_flag_unused_command_line_argument=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7945 fi
   7946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7947 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7949 	CFLAGS="$xorg_testset_save_CFLAGS"
   7950 fi
   7951 
   7952 found="no"
   7953 
   7954 	if test $found = "no" ; then
   7955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7957 		fi
   7958 
   7959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7961 		fi
   7962 
   7963 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7964 
   7965 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7966 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7967 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7968 		if eval test \${$cacheid+y}
   7969 then :
   7970   printf %s "(cached) " >&6
   7971 else $as_nop
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 int
   7976 main (void)
   7977 {
   7978 
   7979   ;
   7980   return 0;
   7981 }
   7982 _ACEOF
   7983 if ac_fn_c_try_link "$LINENO"
   7984 then :
   7985   eval $cacheid=yes
   7986 else $as_nop
   7987   eval $cacheid=no
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7990     conftest$ac_exeext conftest.$ac_ext
   7991 fi
   7992 
   7993 
   7994 		CFLAGS="$xorg_testset_save_CFLAGS"
   7995 
   7996 		eval supported=\$$cacheid
   7997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7998 printf "%s\n" "$supported" >&6; }
   7999 		if test "$supported" = "yes" ; then
   8000 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8001 			found="yes"
   8002 		fi
   8003 	fi
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 xorg_testset_save_CFLAGS="$CFLAGS"
   8020 
   8021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8026 then :
   8027   printf %s "(cached) " >&6
   8028 else $as_nop
   8029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8030 /* end confdefs.h.  */
   8031 int i;
   8032 _ACEOF
   8033 if ac_fn_c_try_compile "$LINENO"
   8034 then :
   8035   xorg_cv_cc_flag_unknown_warning_option=yes
   8036 else $as_nop
   8037   xorg_cv_cc_flag_unknown_warning_option=no
   8038 fi
   8039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8040 fi
   8041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8044 	CFLAGS="$xorg_testset_save_CFLAGS"
   8045 fi
   8046 
   8047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8050 	fi
   8051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8055 then :
   8056   printf %s "(cached) " >&6
   8057 else $as_nop
   8058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 _ACEOF
   8062 if ac_fn_c_try_compile "$LINENO"
   8063 then :
   8064   xorg_cv_cc_flag_unused_command_line_argument=yes
   8065 else $as_nop
   8066   xorg_cv_cc_flag_unused_command_line_argument=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8069 fi
   8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8071 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 found="no"
   8077 
   8078 	if test $found = "no" ; then
   8079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8081 		fi
   8082 
   8083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 		fi
   8086 
   8087 		CFLAGS="$CFLAGS -Werror=return-type"
   8088 
   8089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8090 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8091 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8092 		if eval test \${$cacheid+y}
   8093 then :
   8094   printf %s "(cached) " >&6
   8095 else $as_nop
   8096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8097 /* end confdefs.h.  */
   8098 int i;
   8099 int
   8100 main (void)
   8101 {
   8102 
   8103   ;
   8104   return 0;
   8105 }
   8106 _ACEOF
   8107 if ac_fn_c_try_link "$LINENO"
   8108 then :
   8109   eval $cacheid=yes
   8110 else $as_nop
   8111   eval $cacheid=no
   8112 fi
   8113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8114     conftest$ac_exeext conftest.$ac_ext
   8115 fi
   8116 
   8117 
   8118 		CFLAGS="$xorg_testset_save_CFLAGS"
   8119 
   8120 		eval supported=\$$cacheid
   8121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8122 printf "%s\n" "$supported" >&6; }
   8123 		if test "$supported" = "yes" ; then
   8124 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8125 			found="yes"
   8126 		fi
   8127 	fi
   8128 
   8129 	if test $found = "no" ; then
   8130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8132 		fi
   8133 
   8134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8136 		fi
   8137 
   8138 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8139 
   8140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8141 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8142 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8143 		if eval test \${$cacheid+y}
   8144 then :
   8145   printf %s "(cached) " >&6
   8146 else $as_nop
   8147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8148 /* end confdefs.h.  */
   8149 int i;
   8150 int
   8151 main (void)
   8152 {
   8153 
   8154   ;
   8155   return 0;
   8156 }
   8157 _ACEOF
   8158 if ac_fn_c_try_link "$LINENO"
   8159 then :
   8160   eval $cacheid=yes
   8161 else $as_nop
   8162   eval $cacheid=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8165     conftest$ac_exeext conftest.$ac_ext
   8166 fi
   8167 
   8168 
   8169 		CFLAGS="$xorg_testset_save_CFLAGS"
   8170 
   8171 		eval supported=\$$cacheid
   8172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8173 printf "%s\n" "$supported" >&6; }
   8174 		if test "$supported" = "yes" ; then
   8175 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8176 			found="yes"
   8177 		fi
   8178 	fi
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 xorg_testset_save_CFLAGS="$CFLAGS"
   8195 
   8196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else $as_nop
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 _ACEOF
   8208 if ac_fn_c_try_compile "$LINENO"
   8209 then :
   8210   xorg_cv_cc_flag_unknown_warning_option=yes
   8211 else $as_nop
   8212   xorg_cv_cc_flag_unknown_warning_option=no
   8213 fi
   8214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8215 fi
   8216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8219 	CFLAGS="$xorg_testset_save_CFLAGS"
   8220 fi
   8221 
   8222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8225 	fi
   8226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8230 then :
   8231   printf %s "(cached) " >&6
   8232 else $as_nop
   8233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8234 /* end confdefs.h.  */
   8235 int i;
   8236 _ACEOF
   8237 if ac_fn_c_try_compile "$LINENO"
   8238 then :
   8239   xorg_cv_cc_flag_unused_command_line_argument=yes
   8240 else $as_nop
   8241   xorg_cv_cc_flag_unused_command_line_argument=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8244 fi
   8245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8248 	CFLAGS="$xorg_testset_save_CFLAGS"
   8249 fi
   8250 
   8251 found="no"
   8252 
   8253 	if test $found = "no" ; then
   8254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8256 		fi
   8257 
   8258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8260 		fi
   8261 
   8262 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8263 
   8264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8265 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8266 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8267 		if eval test \${$cacheid+y}
   8268 then :
   8269   printf %s "(cached) " >&6
   8270 else $as_nop
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 int
   8275 main (void)
   8276 {
   8277 
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"
   8283 then :
   8284   eval $cacheid=yes
   8285 else $as_nop
   8286   eval $cacheid=no
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8289     conftest$ac_exeext conftest.$ac_ext
   8290 fi
   8291 
   8292 
   8293 		CFLAGS="$xorg_testset_save_CFLAGS"
   8294 
   8295 		eval supported=\$$cacheid
   8296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8297 printf "%s\n" "$supported" >&6; }
   8298 		if test "$supported" = "yes" ; then
   8299 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8300 			found="yes"
   8301 		fi
   8302 	fi
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 xorg_testset_save_CFLAGS="$CFLAGS"
   8319 
   8320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8325 then :
   8326   printf %s "(cached) " >&6
   8327 else $as_nop
   8328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8329 /* end confdefs.h.  */
   8330 int i;
   8331 _ACEOF
   8332 if ac_fn_c_try_compile "$LINENO"
   8333 then :
   8334   xorg_cv_cc_flag_unknown_warning_option=yes
   8335 else $as_nop
   8336   xorg_cv_cc_flag_unknown_warning_option=no
   8337 fi
   8338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8339 fi
   8340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8341 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8343 	CFLAGS="$xorg_testset_save_CFLAGS"
   8344 fi
   8345 
   8346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8349 	fi
   8350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8352 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8353 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8354 then :
   8355   printf %s "(cached) " >&6
   8356 else $as_nop
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"
   8362 then :
   8363   xorg_cv_cc_flag_unused_command_line_argument=yes
   8364 else $as_nop
   8365   xorg_cv_cc_flag_unused_command_line_argument=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8368 fi
   8369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 found="no"
   8376 
   8377 	if test $found = "no" ; then
   8378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8380 		fi
   8381 
   8382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 		fi
   8385 
   8386 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8387 
   8388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8389 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8390 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8391 		if eval test \${$cacheid+y}
   8392 then :
   8393   printf %s "(cached) " >&6
   8394 else $as_nop
   8395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8396 /* end confdefs.h.  */
   8397 int i;
   8398 int
   8399 main (void)
   8400 {
   8401 
   8402   ;
   8403   return 0;
   8404 }
   8405 _ACEOF
   8406 if ac_fn_c_try_link "$LINENO"
   8407 then :
   8408   eval $cacheid=yes
   8409 else $as_nop
   8410   eval $cacheid=no
   8411 fi
   8412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8413     conftest$ac_exeext conftest.$ac_ext
   8414 fi
   8415 
   8416 
   8417 		CFLAGS="$xorg_testset_save_CFLAGS"
   8418 
   8419 		eval supported=\$$cacheid
   8420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8421 printf "%s\n" "$supported" >&6; }
   8422 		if test "$supported" = "yes" ; then
   8423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8424 			found="yes"
   8425 		fi
   8426 	fi
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 xorg_testset_save_CFLAGS="$CFLAGS"
   8443 
   8444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8449 then :
   8450   printf %s "(cached) " >&6
   8451 else $as_nop
   8452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 _ACEOF
   8456 if ac_fn_c_try_compile "$LINENO"
   8457 then :
   8458   xorg_cv_cc_flag_unknown_warning_option=yes
   8459 else $as_nop
   8460   xorg_cv_cc_flag_unknown_warning_option=no
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8463 fi
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8467 	CFLAGS="$xorg_testset_save_CFLAGS"
   8468 fi
   8469 
   8470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 	fi
   8474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8478 then :
   8479   printf %s "(cached) " >&6
   8480 else $as_nop
   8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 _ACEOF
   8485 if ac_fn_c_try_compile "$LINENO"
   8486 then :
   8487   xorg_cv_cc_flag_unused_command_line_argument=yes
   8488 else $as_nop
   8489   xorg_cv_cc_flag_unused_command_line_argument=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8492 fi
   8493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8496 	CFLAGS="$xorg_testset_save_CFLAGS"
   8497 fi
   8498 
   8499 found="no"
   8500 
   8501 	if test $found = "no" ; then
   8502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 		fi
   8505 
   8506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8508 		fi
   8509 
   8510 		CFLAGS="$CFLAGS -Werror=write-strings"
   8511 
   8512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8513 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8514 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8515 		if eval test \${$cacheid+y}
   8516 then :
   8517   printf %s "(cached) " >&6
   8518 else $as_nop
   8519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8520 /* end confdefs.h.  */
   8521 int i;
   8522 int
   8523 main (void)
   8524 {
   8525 
   8526   ;
   8527   return 0;
   8528 }
   8529 _ACEOF
   8530 if ac_fn_c_try_link "$LINENO"
   8531 then :
   8532   eval $cacheid=yes
   8533 else $as_nop
   8534   eval $cacheid=no
   8535 fi
   8536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8537     conftest$ac_exeext conftest.$ac_ext
   8538 fi
   8539 
   8540 
   8541 		CFLAGS="$xorg_testset_save_CFLAGS"
   8542 
   8543 		eval supported=\$$cacheid
   8544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8545 printf "%s\n" "$supported" >&6; }
   8546 		if test "$supported" = "yes" ; then
   8547 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8548 			found="yes"
   8549 		fi
   8550 	fi
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 xorg_testset_save_CFLAGS="$CFLAGS"
   8567 
   8568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8573 then :
   8574   printf %s "(cached) " >&6
   8575 else $as_nop
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 _ACEOF
   8580 if ac_fn_c_try_compile "$LINENO"
   8581 then :
   8582   xorg_cv_cc_flag_unknown_warning_option=yes
   8583 else $as_nop
   8584   xorg_cv_cc_flag_unknown_warning_option=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8587 fi
   8588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8597 	fi
   8598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8602 then :
   8603   printf %s "(cached) " >&6
   8604 else $as_nop
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 _ACEOF
   8609 if ac_fn_c_try_compile "$LINENO"
   8610 then :
   8611   xorg_cv_cc_flag_unused_command_line_argument=yes
   8612 else $as_nop
   8613   xorg_cv_cc_flag_unused_command_line_argument=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8616 fi
   8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8620 	CFLAGS="$xorg_testset_save_CFLAGS"
   8621 fi
   8622 
   8623 found="no"
   8624 
   8625 	if test $found = "no" ; then
   8626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8628 		fi
   8629 
   8630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8632 		fi
   8633 
   8634 		CFLAGS="$CFLAGS -Werror=address"
   8635 
   8636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8637 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8638 		cacheid=xorg_cv_cc_flag__Werror_address
   8639 		if eval test \${$cacheid+y}
   8640 then :
   8641   printf %s "(cached) " >&6
   8642 else $as_nop
   8643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8644 /* end confdefs.h.  */
   8645 int i;
   8646 int
   8647 main (void)
   8648 {
   8649 
   8650   ;
   8651   return 0;
   8652 }
   8653 _ACEOF
   8654 if ac_fn_c_try_link "$LINENO"
   8655 then :
   8656   eval $cacheid=yes
   8657 else $as_nop
   8658   eval $cacheid=no
   8659 fi
   8660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8661     conftest$ac_exeext conftest.$ac_ext
   8662 fi
   8663 
   8664 
   8665 		CFLAGS="$xorg_testset_save_CFLAGS"
   8666 
   8667 		eval supported=\$$cacheid
   8668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8669 printf "%s\n" "$supported" >&6; }
   8670 		if test "$supported" = "yes" ; then
   8671 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8672 			found="yes"
   8673 		fi
   8674 	fi
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 xorg_testset_save_CFLAGS="$CFLAGS"
   8691 
   8692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8697 then :
   8698   printf %s "(cached) " >&6
   8699 else $as_nop
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 _ACEOF
   8704 if ac_fn_c_try_compile "$LINENO"
   8705 then :
   8706   xorg_cv_cc_flag_unknown_warning_option=yes
   8707 else $as_nop
   8708   xorg_cv_cc_flag_unknown_warning_option=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8711 fi
   8712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8715 	CFLAGS="$xorg_testset_save_CFLAGS"
   8716 fi
   8717 
   8718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 	fi
   8722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8726 then :
   8727   printf %s "(cached) " >&6
   8728 else $as_nop
   8729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8730 /* end confdefs.h.  */
   8731 int i;
   8732 _ACEOF
   8733 if ac_fn_c_try_compile "$LINENO"
   8734 then :
   8735   xorg_cv_cc_flag_unused_command_line_argument=yes
   8736 else $as_nop
   8737   xorg_cv_cc_flag_unused_command_line_argument=no
   8738 fi
   8739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8740 fi
   8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8744 	CFLAGS="$xorg_testset_save_CFLAGS"
   8745 fi
   8746 
   8747 found="no"
   8748 
   8749 	if test $found = "no" ; then
   8750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8752 		fi
   8753 
   8754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8756 		fi
   8757 
   8758 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8759 
   8760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8761 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8762 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8763 		if eval test \${$cacheid+y}
   8764 then :
   8765   printf %s "(cached) " >&6
   8766 else $as_nop
   8767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 int
   8771 main (void)
   8772 {
   8773 
   8774   ;
   8775   return 0;
   8776 }
   8777 _ACEOF
   8778 if ac_fn_c_try_link "$LINENO"
   8779 then :
   8780   eval $cacheid=yes
   8781 else $as_nop
   8782   eval $cacheid=no
   8783 fi
   8784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8785     conftest$ac_exeext conftest.$ac_ext
   8786 fi
   8787 
   8788 
   8789 		CFLAGS="$xorg_testset_save_CFLAGS"
   8790 
   8791 		eval supported=\$$cacheid
   8792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8793 printf "%s\n" "$supported" >&6; }
   8794 		if test "$supported" = "yes" ; then
   8795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8796 			found="yes"
   8797 		fi
   8798 	fi
   8799 
   8800 	if test $found = "no" ; then
   8801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 		fi
   8804 
   8805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8807 		fi
   8808 
   8809 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8810 
   8811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8812 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8813 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8814 		if eval test \${$cacheid+y}
   8815 then :
   8816   printf %s "(cached) " >&6
   8817 else $as_nop
   8818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 int
   8822 main (void)
   8823 {
   8824 
   8825   ;
   8826   return 0;
   8827 }
   8828 _ACEOF
   8829 if ac_fn_c_try_link "$LINENO"
   8830 then :
   8831   eval $cacheid=yes
   8832 else $as_nop
   8833   eval $cacheid=no
   8834 fi
   8835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8836     conftest$ac_exeext conftest.$ac_ext
   8837 fi
   8838 
   8839 
   8840 		CFLAGS="$xorg_testset_save_CFLAGS"
   8841 
   8842 		eval supported=\$$cacheid
   8843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8844 printf "%s\n" "$supported" >&6; }
   8845 		if test "$supported" = "yes" ; then
   8846 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8847 			found="yes"
   8848 		fi
   8849 	fi
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 xorg_testset_save_CFLAGS="$CFLAGS"
   8866 
   8867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else $as_nop
   8875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8876 /* end confdefs.h.  */
   8877 int i;
   8878 _ACEOF
   8879 if ac_fn_c_try_compile "$LINENO"
   8880 then :
   8881   xorg_cv_cc_flag_unknown_warning_option=yes
   8882 else $as_nop
   8883   xorg_cv_cc_flag_unknown_warning_option=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8886 fi
   8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8890 	CFLAGS="$xorg_testset_save_CFLAGS"
   8891 fi
   8892 
   8893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 	fi
   8897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8901 then :
   8902   printf %s "(cached) " >&6
   8903 else $as_nop
   8904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 _ACEOF
   8908 if ac_fn_c_try_compile "$LINENO"
   8909 then :
   8910   xorg_cv_cc_flag_unused_command_line_argument=yes
   8911 else $as_nop
   8912   xorg_cv_cc_flag_unused_command_line_argument=no
   8913 fi
   8914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8915 fi
   8916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8919 	CFLAGS="$xorg_testset_save_CFLAGS"
   8920 fi
   8921 
   8922 found="no"
   8923 
   8924 	if test $found = "no" ; then
   8925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 		fi
   8928 
   8929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 		fi
   8932 
   8933 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8934 
   8935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8936 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8937 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8938 		if eval test \${$cacheid+y}
   8939 then :
   8940   printf %s "(cached) " >&6
   8941 else $as_nop
   8942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8943 /* end confdefs.h.  */
   8944 int i;
   8945 int
   8946 main (void)
   8947 {
   8948 
   8949   ;
   8950   return 0;
   8951 }
   8952 _ACEOF
   8953 if ac_fn_c_try_link "$LINENO"
   8954 then :
   8955   eval $cacheid=yes
   8956 else $as_nop
   8957   eval $cacheid=no
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8960     conftest$ac_exeext conftest.$ac_ext
   8961 fi
   8962 
   8963 
   8964 		CFLAGS="$xorg_testset_save_CFLAGS"
   8965 
   8966 		eval supported=\$$cacheid
   8967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8968 printf "%s\n" "$supported" >&6; }
   8969 		if test "$supported" = "yes" ; then
   8970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8971 			found="yes"
   8972 		fi
   8973 	fi
   8974 
   8975  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8976 else
   8977 { 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
   8978 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;}
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 xorg_testset_save_CFLAGS="$CFLAGS"
   8993 
   8994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8998 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8999 then :
   9000   printf %s "(cached) " >&6
   9001 else $as_nop
   9002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9003 /* end confdefs.h.  */
   9004 int i;
   9005 _ACEOF
   9006 if ac_fn_c_try_compile "$LINENO"
   9007 then :
   9008   xorg_cv_cc_flag_unknown_warning_option=yes
   9009 else $as_nop
   9010   xorg_cv_cc_flag_unknown_warning_option=no
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9013 fi
   9014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9015 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9017 	CFLAGS="$xorg_testset_save_CFLAGS"
   9018 fi
   9019 
   9020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9023 	fi
   9024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9026 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9027 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9028 then :
   9029   printf %s "(cached) " >&6
   9030 else $as_nop
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"
   9036 then :
   9037   xorg_cv_cc_flag_unused_command_line_argument=yes
   9038 else $as_nop
   9039   xorg_cv_cc_flag_unused_command_line_argument=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9042 fi
   9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9044 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9046 	CFLAGS="$xorg_testset_save_CFLAGS"
   9047 fi
   9048 
   9049 found="no"
   9050 
   9051 	if test $found = "no" ; then
   9052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 		fi
   9055 
   9056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9058 		fi
   9059 
   9060 		CFLAGS="$CFLAGS -Wimplicit"
   9061 
   9062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9063 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9064 		cacheid=xorg_cv_cc_flag__Wimplicit
   9065 		if eval test \${$cacheid+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else $as_nop
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 int
   9073 main (void)
   9074 {
   9075 
   9076   ;
   9077   return 0;
   9078 }
   9079 _ACEOF
   9080 if ac_fn_c_try_link "$LINENO"
   9081 then :
   9082   eval $cacheid=yes
   9083 else $as_nop
   9084   eval $cacheid=no
   9085 fi
   9086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9087     conftest$ac_exeext conftest.$ac_ext
   9088 fi
   9089 
   9090 
   9091 		CFLAGS="$xorg_testset_save_CFLAGS"
   9092 
   9093 		eval supported=\$$cacheid
   9094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9095 printf "%s\n" "$supported" >&6; }
   9096 		if test "$supported" = "yes" ; then
   9097 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9098 			found="yes"
   9099 		fi
   9100 	fi
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 xorg_testset_save_CFLAGS="$CFLAGS"
   9117 
   9118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9121 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9122 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9123 then :
   9124   printf %s "(cached) " >&6
   9125 else $as_nop
   9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9127 /* end confdefs.h.  */
   9128 int i;
   9129 _ACEOF
   9130 if ac_fn_c_try_compile "$LINENO"
   9131 then :
   9132   xorg_cv_cc_flag_unknown_warning_option=yes
   9133 else $as_nop
   9134   xorg_cv_cc_flag_unknown_warning_option=no
   9135 fi
   9136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9137 fi
   9138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9139 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9141 	CFLAGS="$xorg_testset_save_CFLAGS"
   9142 fi
   9143 
   9144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9147 	fi
   9148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9150 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9151 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9152 then :
   9153   printf %s "(cached) " >&6
   9154 else $as_nop
   9155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9156 /* end confdefs.h.  */
   9157 int i;
   9158 _ACEOF
   9159 if ac_fn_c_try_compile "$LINENO"
   9160 then :
   9161   xorg_cv_cc_flag_unused_command_line_argument=yes
   9162 else $as_nop
   9163   xorg_cv_cc_flag_unused_command_line_argument=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9166 fi
   9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 found="no"
   9174 
   9175 	if test $found = "no" ; then
   9176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 		fi
   9179 
   9180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 		fi
   9183 
   9184 		CFLAGS="$CFLAGS -Wnonnull"
   9185 
   9186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9187 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9188 		cacheid=xorg_cv_cc_flag__Wnonnull
   9189 		if eval test \${$cacheid+y}
   9190 then :
   9191   printf %s "(cached) " >&6
   9192 else $as_nop
   9193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 int
   9197 main (void)
   9198 {
   9199 
   9200   ;
   9201   return 0;
   9202 }
   9203 _ACEOF
   9204 if ac_fn_c_try_link "$LINENO"
   9205 then :
   9206   eval $cacheid=yes
   9207 else $as_nop
   9208   eval $cacheid=no
   9209 fi
   9210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9211     conftest$ac_exeext conftest.$ac_ext
   9212 fi
   9213 
   9214 
   9215 		CFLAGS="$xorg_testset_save_CFLAGS"
   9216 
   9217 		eval supported=\$$cacheid
   9218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9219 printf "%s\n" "$supported" >&6; }
   9220 		if test "$supported" = "yes" ; then
   9221 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9222 			found="yes"
   9223 		fi
   9224 	fi
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 xorg_testset_save_CFLAGS="$CFLAGS"
   9241 
   9242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9247 then :
   9248   printf %s "(cached) " >&6
   9249 else $as_nop
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 _ACEOF
   9254 if ac_fn_c_try_compile "$LINENO"
   9255 then :
   9256   xorg_cv_cc_flag_unknown_warning_option=yes
   9257 else $as_nop
   9258   xorg_cv_cc_flag_unknown_warning_option=no
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9261 fi
   9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9263 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9265 	CFLAGS="$xorg_testset_save_CFLAGS"
   9266 fi
   9267 
   9268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9271 	fi
   9272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9274 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9275 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9276 then :
   9277   printf %s "(cached) " >&6
   9278 else $as_nop
   9279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9280 /* end confdefs.h.  */
   9281 int i;
   9282 _ACEOF
   9283 if ac_fn_c_try_compile "$LINENO"
   9284 then :
   9285   xorg_cv_cc_flag_unused_command_line_argument=yes
   9286 else $as_nop
   9287   xorg_cv_cc_flag_unused_command_line_argument=no
   9288 fi
   9289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9290 fi
   9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9292 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9294 	CFLAGS="$xorg_testset_save_CFLAGS"
   9295 fi
   9296 
   9297 found="no"
   9298 
   9299 	if test $found = "no" ; then
   9300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9302 		fi
   9303 
   9304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9306 		fi
   9307 
   9308 		CFLAGS="$CFLAGS -Winit-self"
   9309 
   9310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9311 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9312 		cacheid=xorg_cv_cc_flag__Winit_self
   9313 		if eval test \${$cacheid+y}
   9314 then :
   9315   printf %s "(cached) " >&6
   9316 else $as_nop
   9317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9318 /* end confdefs.h.  */
   9319 int i;
   9320 int
   9321 main (void)
   9322 {
   9323 
   9324   ;
   9325   return 0;
   9326 }
   9327 _ACEOF
   9328 if ac_fn_c_try_link "$LINENO"
   9329 then :
   9330   eval $cacheid=yes
   9331 else $as_nop
   9332   eval $cacheid=no
   9333 fi
   9334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9335     conftest$ac_exeext conftest.$ac_ext
   9336 fi
   9337 
   9338 
   9339 		CFLAGS="$xorg_testset_save_CFLAGS"
   9340 
   9341 		eval supported=\$$cacheid
   9342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9343 printf "%s\n" "$supported" >&6; }
   9344 		if test "$supported" = "yes" ; then
   9345 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9346 			found="yes"
   9347 		fi
   9348 	fi
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 xorg_testset_save_CFLAGS="$CFLAGS"
   9365 
   9366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9369 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9370 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9371 then :
   9372   printf %s "(cached) " >&6
   9373 else $as_nop
   9374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9375 /* end confdefs.h.  */
   9376 int i;
   9377 _ACEOF
   9378 if ac_fn_c_try_compile "$LINENO"
   9379 then :
   9380   xorg_cv_cc_flag_unknown_warning_option=yes
   9381 else $as_nop
   9382   xorg_cv_cc_flag_unknown_warning_option=no
   9383 fi
   9384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9385 fi
   9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9387 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9389 	CFLAGS="$xorg_testset_save_CFLAGS"
   9390 fi
   9391 
   9392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9395 	fi
   9396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9398 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9399 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else $as_nop
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"
   9408 then :
   9409   xorg_cv_cc_flag_unused_command_line_argument=yes
   9410 else $as_nop
   9411   xorg_cv_cc_flag_unused_command_line_argument=no
   9412 fi
   9413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9414 fi
   9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9416 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9418 	CFLAGS="$xorg_testset_save_CFLAGS"
   9419 fi
   9420 
   9421 found="no"
   9422 
   9423 	if test $found = "no" ; then
   9424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9426 		fi
   9427 
   9428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9430 		fi
   9431 
   9432 		CFLAGS="$CFLAGS -Wmain"
   9433 
   9434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9435 printf %s "checking if $CC supports -Wmain... " >&6; }
   9436 		cacheid=xorg_cv_cc_flag__Wmain
   9437 		if eval test \${$cacheid+y}
   9438 then :
   9439   printf %s "(cached) " >&6
   9440 else $as_nop
   9441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9442 /* end confdefs.h.  */
   9443 int i;
   9444 int
   9445 main (void)
   9446 {
   9447 
   9448   ;
   9449   return 0;
   9450 }
   9451 _ACEOF
   9452 if ac_fn_c_try_link "$LINENO"
   9453 then :
   9454   eval $cacheid=yes
   9455 else $as_nop
   9456   eval $cacheid=no
   9457 fi
   9458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9459     conftest$ac_exeext conftest.$ac_ext
   9460 fi
   9461 
   9462 
   9463 		CFLAGS="$xorg_testset_save_CFLAGS"
   9464 
   9465 		eval supported=\$$cacheid
   9466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9467 printf "%s\n" "$supported" >&6; }
   9468 		if test "$supported" = "yes" ; then
   9469 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9470 			found="yes"
   9471 		fi
   9472 	fi
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 xorg_testset_save_CFLAGS="$CFLAGS"
   9489 
   9490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9495 then :
   9496   printf %s "(cached) " >&6
   9497 else $as_nop
   9498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9499 /* end confdefs.h.  */
   9500 int i;
   9501 _ACEOF
   9502 if ac_fn_c_try_compile "$LINENO"
   9503 then :
   9504   xorg_cv_cc_flag_unknown_warning_option=yes
   9505 else $as_nop
   9506   xorg_cv_cc_flag_unknown_warning_option=no
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9509 fi
   9510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9511 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9513 	CFLAGS="$xorg_testset_save_CFLAGS"
   9514 fi
   9515 
   9516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9519 	fi
   9520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9524 then :
   9525   printf %s "(cached) " >&6
   9526 else $as_nop
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"
   9532 then :
   9533   xorg_cv_cc_flag_unused_command_line_argument=yes
   9534 else $as_nop
   9535   xorg_cv_cc_flag_unused_command_line_argument=no
   9536 fi
   9537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9538 fi
   9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9540 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9542 	CFLAGS="$xorg_testset_save_CFLAGS"
   9543 fi
   9544 
   9545 found="no"
   9546 
   9547 	if test $found = "no" ; then
   9548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9550 		fi
   9551 
   9552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9554 		fi
   9555 
   9556 		CFLAGS="$CFLAGS -Wmissing-braces"
   9557 
   9558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9559 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9560 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9561 		if eval test \${$cacheid+y}
   9562 then :
   9563   printf %s "(cached) " >&6
   9564 else $as_nop
   9565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9566 /* end confdefs.h.  */
   9567 int i;
   9568 int
   9569 main (void)
   9570 {
   9571 
   9572   ;
   9573   return 0;
   9574 }
   9575 _ACEOF
   9576 if ac_fn_c_try_link "$LINENO"
   9577 then :
   9578   eval $cacheid=yes
   9579 else $as_nop
   9580   eval $cacheid=no
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9583     conftest$ac_exeext conftest.$ac_ext
   9584 fi
   9585 
   9586 
   9587 		CFLAGS="$xorg_testset_save_CFLAGS"
   9588 
   9589 		eval supported=\$$cacheid
   9590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9591 printf "%s\n" "$supported" >&6; }
   9592 		if test "$supported" = "yes" ; then
   9593 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9594 			found="yes"
   9595 		fi
   9596 	fi
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 xorg_testset_save_CFLAGS="$CFLAGS"
   9613 
   9614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9619 then :
   9620   printf %s "(cached) " >&6
   9621 else $as_nop
   9622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9623 /* end confdefs.h.  */
   9624 int i;
   9625 _ACEOF
   9626 if ac_fn_c_try_compile "$LINENO"
   9627 then :
   9628   xorg_cv_cc_flag_unknown_warning_option=yes
   9629 else $as_nop
   9630   xorg_cv_cc_flag_unknown_warning_option=no
   9631 fi
   9632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9633 fi
   9634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9637 	CFLAGS="$xorg_testset_save_CFLAGS"
   9638 fi
   9639 
   9640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 	fi
   9644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9648 then :
   9649   printf %s "(cached) " >&6
   9650 else $as_nop
   9651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9652 /* end confdefs.h.  */
   9653 int i;
   9654 _ACEOF
   9655 if ac_fn_c_try_compile "$LINENO"
   9656 then :
   9657   xorg_cv_cc_flag_unused_command_line_argument=yes
   9658 else $as_nop
   9659   xorg_cv_cc_flag_unused_command_line_argument=no
   9660 fi
   9661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9662 fi
   9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9666 	CFLAGS="$xorg_testset_save_CFLAGS"
   9667 fi
   9668 
   9669 found="no"
   9670 
   9671 	if test $found = "no" ; then
   9672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9674 		fi
   9675 
   9676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9678 		fi
   9679 
   9680 		CFLAGS="$CFLAGS -Wsequence-point"
   9681 
   9682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9683 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9684 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9685 		if eval test \${$cacheid+y}
   9686 then :
   9687   printf %s "(cached) " >&6
   9688 else $as_nop
   9689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9690 /* end confdefs.h.  */
   9691 int i;
   9692 int
   9693 main (void)
   9694 {
   9695 
   9696   ;
   9697   return 0;
   9698 }
   9699 _ACEOF
   9700 if ac_fn_c_try_link "$LINENO"
   9701 then :
   9702   eval $cacheid=yes
   9703 else $as_nop
   9704   eval $cacheid=no
   9705 fi
   9706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9707     conftest$ac_exeext conftest.$ac_ext
   9708 fi
   9709 
   9710 
   9711 		CFLAGS="$xorg_testset_save_CFLAGS"
   9712 
   9713 		eval supported=\$$cacheid
   9714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9715 printf "%s\n" "$supported" >&6; }
   9716 		if test "$supported" = "yes" ; then
   9717 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9718 			found="yes"
   9719 		fi
   9720 	fi
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 xorg_testset_save_CFLAGS="$CFLAGS"
   9737 
   9738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9743 then :
   9744   printf %s "(cached) " >&6
   9745 else $as_nop
   9746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 _ACEOF
   9750 if ac_fn_c_try_compile "$LINENO"
   9751 then :
   9752   xorg_cv_cc_flag_unknown_warning_option=yes
   9753 else $as_nop
   9754   xorg_cv_cc_flag_unknown_warning_option=no
   9755 fi
   9756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9757 fi
   9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9759 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9761 	CFLAGS="$xorg_testset_save_CFLAGS"
   9762 fi
   9763 
   9764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9767 	fi
   9768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else $as_nop
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"
   9780 then :
   9781   xorg_cv_cc_flag_unused_command_line_argument=yes
   9782 else $as_nop
   9783   xorg_cv_cc_flag_unused_command_line_argument=no
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9786 fi
   9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9790 	CFLAGS="$xorg_testset_save_CFLAGS"
   9791 fi
   9792 
   9793 found="no"
   9794 
   9795 	if test $found = "no" ; then
   9796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 		fi
   9799 
   9800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9802 		fi
   9803 
   9804 		CFLAGS="$CFLAGS -Wreturn-type"
   9805 
   9806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9807 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9808 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9809 		if eval test \${$cacheid+y}
   9810 then :
   9811   printf %s "(cached) " >&6
   9812 else $as_nop
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 int
   9817 main (void)
   9818 {
   9819 
   9820   ;
   9821   return 0;
   9822 }
   9823 _ACEOF
   9824 if ac_fn_c_try_link "$LINENO"
   9825 then :
   9826   eval $cacheid=yes
   9827 else $as_nop
   9828   eval $cacheid=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9831     conftest$ac_exeext conftest.$ac_ext
   9832 fi
   9833 
   9834 
   9835 		CFLAGS="$xorg_testset_save_CFLAGS"
   9836 
   9837 		eval supported=\$$cacheid
   9838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9839 printf "%s\n" "$supported" >&6; }
   9840 		if test "$supported" = "yes" ; then
   9841 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9842 			found="yes"
   9843 		fi
   9844 	fi
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 xorg_testset_save_CFLAGS="$CFLAGS"
   9861 
   9862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9867 then :
   9868   printf %s "(cached) " >&6
   9869 else $as_nop
   9870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9871 /* end confdefs.h.  */
   9872 int i;
   9873 _ACEOF
   9874 if ac_fn_c_try_compile "$LINENO"
   9875 then :
   9876   xorg_cv_cc_flag_unknown_warning_option=yes
   9877 else $as_nop
   9878   xorg_cv_cc_flag_unknown_warning_option=no
   9879 fi
   9880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9881 fi
   9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9885 	CFLAGS="$xorg_testset_save_CFLAGS"
   9886 fi
   9887 
   9888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 	fi
   9892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9896 then :
   9897   printf %s "(cached) " >&6
   9898 else $as_nop
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"
   9904 then :
   9905   xorg_cv_cc_flag_unused_command_line_argument=yes
   9906 else $as_nop
   9907   xorg_cv_cc_flag_unused_command_line_argument=no
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9910 fi
   9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9914 	CFLAGS="$xorg_testset_save_CFLAGS"
   9915 fi
   9916 
   9917 found="no"
   9918 
   9919 	if test $found = "no" ; then
   9920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9922 		fi
   9923 
   9924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9926 		fi
   9927 
   9928 		CFLAGS="$CFLAGS -Wtrigraphs"
   9929 
   9930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9931 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9932 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9933 		if eval test \${$cacheid+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else $as_nop
   9937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9938 /* end confdefs.h.  */
   9939 int i;
   9940 int
   9941 main (void)
   9942 {
   9943 
   9944   ;
   9945   return 0;
   9946 }
   9947 _ACEOF
   9948 if ac_fn_c_try_link "$LINENO"
   9949 then :
   9950   eval $cacheid=yes
   9951 else $as_nop
   9952   eval $cacheid=no
   9953 fi
   9954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9955     conftest$ac_exeext conftest.$ac_ext
   9956 fi
   9957 
   9958 
   9959 		CFLAGS="$xorg_testset_save_CFLAGS"
   9960 
   9961 		eval supported=\$$cacheid
   9962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9963 printf "%s\n" "$supported" >&6; }
   9964 		if test "$supported" = "yes" ; then
   9965 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9966 			found="yes"
   9967 		fi
   9968 	fi
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 xorg_testset_save_CFLAGS="$CFLAGS"
   9985 
   9986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9989 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9990 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9991 then :
   9992   printf %s "(cached) " >&6
   9993 else $as_nop
   9994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9995 /* end confdefs.h.  */
   9996 int i;
   9997 _ACEOF
   9998 if ac_fn_c_try_compile "$LINENO"
   9999 then :
   10000   xorg_cv_cc_flag_unknown_warning_option=yes
   10001 else $as_nop
   10002   xorg_cv_cc_flag_unknown_warning_option=no
   10003 fi
   10004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10005 fi
   10006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10009 	CFLAGS="$xorg_testset_save_CFLAGS"
   10010 fi
   10011 
   10012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10015 	fi
   10016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10020 then :
   10021   printf %s "(cached) " >&6
   10022 else $as_nop
   10023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10024 /* end confdefs.h.  */
   10025 int i;
   10026 _ACEOF
   10027 if ac_fn_c_try_compile "$LINENO"
   10028 then :
   10029   xorg_cv_cc_flag_unused_command_line_argument=yes
   10030 else $as_nop
   10031   xorg_cv_cc_flag_unused_command_line_argument=no
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10034 fi
   10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10038 	CFLAGS="$xorg_testset_save_CFLAGS"
   10039 fi
   10040 
   10041 found="no"
   10042 
   10043 	if test $found = "no" ; then
   10044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10046 		fi
   10047 
   10048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10050 		fi
   10051 
   10052 		CFLAGS="$CFLAGS -Warray-bounds"
   10053 
   10054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10055 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10056 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10057 		if eval test \${$cacheid+y}
   10058 then :
   10059   printf %s "(cached) " >&6
   10060 else $as_nop
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 int
   10065 main (void)
   10066 {
   10067 
   10068   ;
   10069   return 0;
   10070 }
   10071 _ACEOF
   10072 if ac_fn_c_try_link "$LINENO"
   10073 then :
   10074   eval $cacheid=yes
   10075 else $as_nop
   10076   eval $cacheid=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10079     conftest$ac_exeext conftest.$ac_ext
   10080 fi
   10081 
   10082 
   10083 		CFLAGS="$xorg_testset_save_CFLAGS"
   10084 
   10085 		eval supported=\$$cacheid
   10086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10087 printf "%s\n" "$supported" >&6; }
   10088 		if test "$supported" = "yes" ; then
   10089 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10090 			found="yes"
   10091 		fi
   10092 	fi
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 xorg_testset_save_CFLAGS="$CFLAGS"
   10109 
   10110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10113 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10114 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10115 then :
   10116   printf %s "(cached) " >&6
   10117 else $as_nop
   10118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10119 /* end confdefs.h.  */
   10120 int i;
   10121 _ACEOF
   10122 if ac_fn_c_try_compile "$LINENO"
   10123 then :
   10124   xorg_cv_cc_flag_unknown_warning_option=yes
   10125 else $as_nop
   10126   xorg_cv_cc_flag_unknown_warning_option=no
   10127 fi
   10128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10129 fi
   10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10133 	CFLAGS="$xorg_testset_save_CFLAGS"
   10134 fi
   10135 
   10136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 	fi
   10140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10144 then :
   10145   printf %s "(cached) " >&6
   10146 else $as_nop
   10147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 _ACEOF
   10151 if ac_fn_c_try_compile "$LINENO"
   10152 then :
   10153   xorg_cv_cc_flag_unused_command_line_argument=yes
   10154 else $as_nop
   10155   xorg_cv_cc_flag_unused_command_line_argument=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10158 fi
   10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10160 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 found="no"
   10166 
   10167 	if test $found = "no" ; then
   10168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10170 		fi
   10171 
   10172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 		fi
   10175 
   10176 		CFLAGS="$CFLAGS -Wwrite-strings"
   10177 
   10178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10179 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10180 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10181 		if eval test \${$cacheid+y}
   10182 then :
   10183   printf %s "(cached) " >&6
   10184 else $as_nop
   10185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10186 /* end confdefs.h.  */
   10187 int i;
   10188 int
   10189 main (void)
   10190 {
   10191 
   10192   ;
   10193   return 0;
   10194 }
   10195 _ACEOF
   10196 if ac_fn_c_try_link "$LINENO"
   10197 then :
   10198   eval $cacheid=yes
   10199 else $as_nop
   10200   eval $cacheid=no
   10201 fi
   10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10203     conftest$ac_exeext conftest.$ac_ext
   10204 fi
   10205 
   10206 
   10207 		CFLAGS="$xorg_testset_save_CFLAGS"
   10208 
   10209 		eval supported=\$$cacheid
   10210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10211 printf "%s\n" "$supported" >&6; }
   10212 		if test "$supported" = "yes" ; then
   10213 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10214 			found="yes"
   10215 		fi
   10216 	fi
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 xorg_testset_save_CFLAGS="$CFLAGS"
   10233 
   10234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10239 then :
   10240   printf %s "(cached) " >&6
   10241 else $as_nop
   10242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10243 /* end confdefs.h.  */
   10244 int i;
   10245 _ACEOF
   10246 if ac_fn_c_try_compile "$LINENO"
   10247 then :
   10248   xorg_cv_cc_flag_unknown_warning_option=yes
   10249 else $as_nop
   10250   xorg_cv_cc_flag_unknown_warning_option=no
   10251 fi
   10252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10253 fi
   10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10255 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10257 	CFLAGS="$xorg_testset_save_CFLAGS"
   10258 fi
   10259 
   10260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10263 	fi
   10264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10268 then :
   10269   printf %s "(cached) " >&6
   10270 else $as_nop
   10271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 _ACEOF
   10275 if ac_fn_c_try_compile "$LINENO"
   10276 then :
   10277   xorg_cv_cc_flag_unused_command_line_argument=yes
   10278 else $as_nop
   10279   xorg_cv_cc_flag_unused_command_line_argument=no
   10280 fi
   10281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10282 fi
   10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10284 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10286 	CFLAGS="$xorg_testset_save_CFLAGS"
   10287 fi
   10288 
   10289 found="no"
   10290 
   10291 	if test $found = "no" ; then
   10292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10294 		fi
   10295 
   10296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10298 		fi
   10299 
   10300 		CFLAGS="$CFLAGS -Waddress"
   10301 
   10302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10303 printf %s "checking if $CC supports -Waddress... " >&6; }
   10304 		cacheid=xorg_cv_cc_flag__Waddress
   10305 		if eval test \${$cacheid+y}
   10306 then :
   10307   printf %s "(cached) " >&6
   10308 else $as_nop
   10309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10310 /* end confdefs.h.  */
   10311 int i;
   10312 int
   10313 main (void)
   10314 {
   10315 
   10316   ;
   10317   return 0;
   10318 }
   10319 _ACEOF
   10320 if ac_fn_c_try_link "$LINENO"
   10321 then :
   10322   eval $cacheid=yes
   10323 else $as_nop
   10324   eval $cacheid=no
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10327     conftest$ac_exeext conftest.$ac_ext
   10328 fi
   10329 
   10330 
   10331 		CFLAGS="$xorg_testset_save_CFLAGS"
   10332 
   10333 		eval supported=\$$cacheid
   10334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10335 printf "%s\n" "$supported" >&6; }
   10336 		if test "$supported" = "yes" ; then
   10337 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10338 			found="yes"
   10339 		fi
   10340 	fi
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 xorg_testset_save_CFLAGS="$CFLAGS"
   10357 
   10358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10360 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10361 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10362 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10363 then :
   10364   printf %s "(cached) " >&6
   10365 else $as_nop
   10366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 _ACEOF
   10370 if ac_fn_c_try_compile "$LINENO"
   10371 then :
   10372   xorg_cv_cc_flag_unknown_warning_option=yes
   10373 else $as_nop
   10374   xorg_cv_cc_flag_unknown_warning_option=no
   10375 fi
   10376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10377 fi
   10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10379 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10381 	CFLAGS="$xorg_testset_save_CFLAGS"
   10382 fi
   10383 
   10384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10387 	fi
   10388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10390 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10391 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10392 then :
   10393   printf %s "(cached) " >&6
   10394 else $as_nop
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 int i;
   10398 _ACEOF
   10399 if ac_fn_c_try_compile "$LINENO"
   10400 then :
   10401   xorg_cv_cc_flag_unused_command_line_argument=yes
   10402 else $as_nop
   10403   xorg_cv_cc_flag_unused_command_line_argument=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10406 fi
   10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10408 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10410 	CFLAGS="$xorg_testset_save_CFLAGS"
   10411 fi
   10412 
   10413 found="no"
   10414 
   10415 	if test $found = "no" ; then
   10416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10418 		fi
   10419 
   10420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10422 		fi
   10423 
   10424 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10425 
   10426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10427 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10428 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10429 		if eval test \${$cacheid+y}
   10430 then :
   10431   printf %s "(cached) " >&6
   10432 else $as_nop
   10433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10434 /* end confdefs.h.  */
   10435 int i;
   10436 int
   10437 main (void)
   10438 {
   10439 
   10440   ;
   10441   return 0;
   10442 }
   10443 _ACEOF
   10444 if ac_fn_c_try_link "$LINENO"
   10445 then :
   10446   eval $cacheid=yes
   10447 else $as_nop
   10448   eval $cacheid=no
   10449 fi
   10450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10451     conftest$ac_exeext conftest.$ac_ext
   10452 fi
   10453 
   10454 
   10455 		CFLAGS="$xorg_testset_save_CFLAGS"
   10456 
   10457 		eval supported=\$$cacheid
   10458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10459 printf "%s\n" "$supported" >&6; }
   10460 		if test "$supported" = "yes" ; then
   10461 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10462 			found="yes"
   10463 		fi
   10464 	fi
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 xorg_testset_save_CFLAGS="$CFLAGS"
   10481 
   10482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10485 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10486 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10487 then :
   10488   printf %s "(cached) " >&6
   10489 else $as_nop
   10490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10491 /* end confdefs.h.  */
   10492 int i;
   10493 _ACEOF
   10494 if ac_fn_c_try_compile "$LINENO"
   10495 then :
   10496   xorg_cv_cc_flag_unknown_warning_option=yes
   10497 else $as_nop
   10498   xorg_cv_cc_flag_unknown_warning_option=no
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10501 fi
   10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10505 	CFLAGS="$xorg_testset_save_CFLAGS"
   10506 fi
   10507 
   10508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10511 	fi
   10512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else $as_nop
   10519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10520 /* end confdefs.h.  */
   10521 int i;
   10522 _ACEOF
   10523 if ac_fn_c_try_compile "$LINENO"
   10524 then :
   10525   xorg_cv_cc_flag_unused_command_line_argument=yes
   10526 else $as_nop
   10527   xorg_cv_cc_flag_unused_command_line_argument=no
   10528 fi
   10529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10530 fi
   10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10532 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10534 	CFLAGS="$xorg_testset_save_CFLAGS"
   10535 fi
   10536 
   10537 found="no"
   10538 
   10539 	if test $found = "no" ; then
   10540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 		fi
   10543 
   10544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10546 		fi
   10547 
   10548 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10549 
   10550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10551 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10552 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10553 		if eval test \${$cacheid+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else $as_nop
   10557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 int
   10561 main (void)
   10562 {
   10563 
   10564   ;
   10565   return 0;
   10566 }
   10567 _ACEOF
   10568 if ac_fn_c_try_link "$LINENO"
   10569 then :
   10570   eval $cacheid=yes
   10571 else $as_nop
   10572   eval $cacheid=no
   10573 fi
   10574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10575     conftest$ac_exeext conftest.$ac_ext
   10576 fi
   10577 
   10578 
   10579 		CFLAGS="$xorg_testset_save_CFLAGS"
   10580 
   10581 		eval supported=\$$cacheid
   10582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10583 printf "%s\n" "$supported" >&6; }
   10584 		if test "$supported" = "yes" ; then
   10585 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10586 			found="yes"
   10587 		fi
   10588 	fi
   10589 
   10590 
   10591 fi
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 		CWARNFLAGS="$BASE_CFLAGS"
   10600 		if  test "x$GCC" = xyes ; then
   10601 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10602 		fi
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 # Check whether --enable-strict-compilation was given.
   10612 if test ${enable_strict_compilation+y}
   10613 then :
   10614   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10615 else $as_nop
   10616   STRICT_COMPILE=no
   10617 fi
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 STRICT_CFLAGS=""
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 xorg_testset_save_CFLAGS="$CFLAGS"
   10639 
   10640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10645 then :
   10646   printf %s "(cached) " >&6
   10647 else $as_nop
   10648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10649 /* end confdefs.h.  */
   10650 int i;
   10651 _ACEOF
   10652 if ac_fn_c_try_compile "$LINENO"
   10653 then :
   10654   xorg_cv_cc_flag_unknown_warning_option=yes
   10655 else $as_nop
   10656   xorg_cv_cc_flag_unknown_warning_option=no
   10657 fi
   10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10659 fi
   10660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10663 	CFLAGS="$xorg_testset_save_CFLAGS"
   10664 fi
   10665 
   10666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10669 	fi
   10670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10674 then :
   10675   printf %s "(cached) " >&6
   10676 else $as_nop
   10677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10678 /* end confdefs.h.  */
   10679 int i;
   10680 _ACEOF
   10681 if ac_fn_c_try_compile "$LINENO"
   10682 then :
   10683   xorg_cv_cc_flag_unused_command_line_argument=yes
   10684 else $as_nop
   10685   xorg_cv_cc_flag_unused_command_line_argument=no
   10686 fi
   10687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10688 fi
   10689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10690 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10692 	CFLAGS="$xorg_testset_save_CFLAGS"
   10693 fi
   10694 
   10695 found="no"
   10696 
   10697 	if test $found = "no" ; then
   10698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10700 		fi
   10701 
   10702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10704 		fi
   10705 
   10706 		CFLAGS="$CFLAGS -pedantic"
   10707 
   10708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10709 printf %s "checking if $CC supports -pedantic... " >&6; }
   10710 		cacheid=xorg_cv_cc_flag__pedantic
   10711 		if eval test \${$cacheid+y}
   10712 then :
   10713   printf %s "(cached) " >&6
   10714 else $as_nop
   10715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10716 /* end confdefs.h.  */
   10717 int i;
   10718 int
   10719 main (void)
   10720 {
   10721 
   10722   ;
   10723   return 0;
   10724 }
   10725 _ACEOF
   10726 if ac_fn_c_try_link "$LINENO"
   10727 then :
   10728   eval $cacheid=yes
   10729 else $as_nop
   10730   eval $cacheid=no
   10731 fi
   10732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10733     conftest$ac_exeext conftest.$ac_ext
   10734 fi
   10735 
   10736 
   10737 		CFLAGS="$xorg_testset_save_CFLAGS"
   10738 
   10739 		eval supported=\$$cacheid
   10740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10741 printf "%s\n" "$supported" >&6; }
   10742 		if test "$supported" = "yes" ; then
   10743 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10744 			found="yes"
   10745 		fi
   10746 	fi
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 xorg_testset_save_CFLAGS="$CFLAGS"
   10763 
   10764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10767 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10768 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10769 then :
   10770   printf %s "(cached) " >&6
   10771 else $as_nop
   10772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10773 /* end confdefs.h.  */
   10774 int i;
   10775 _ACEOF
   10776 if ac_fn_c_try_compile "$LINENO"
   10777 then :
   10778   xorg_cv_cc_flag_unknown_warning_option=yes
   10779 else $as_nop
   10780   xorg_cv_cc_flag_unknown_warning_option=no
   10781 fi
   10782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10783 fi
   10784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10785 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10787 	CFLAGS="$xorg_testset_save_CFLAGS"
   10788 fi
   10789 
   10790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10793 	fi
   10794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10796 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10797 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10798 then :
   10799   printf %s "(cached) " >&6
   10800 else $as_nop
   10801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10802 /* end confdefs.h.  */
   10803 int i;
   10804 _ACEOF
   10805 if ac_fn_c_try_compile "$LINENO"
   10806 then :
   10807   xorg_cv_cc_flag_unused_command_line_argument=yes
   10808 else $as_nop
   10809   xorg_cv_cc_flag_unused_command_line_argument=no
   10810 fi
   10811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10812 fi
   10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10816 	CFLAGS="$xorg_testset_save_CFLAGS"
   10817 fi
   10818 
   10819 found="no"
   10820 
   10821 	if test $found = "no" ; then
   10822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10824 		fi
   10825 
   10826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10828 		fi
   10829 
   10830 		CFLAGS="$CFLAGS -Werror"
   10831 
   10832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10833 printf %s "checking if $CC supports -Werror... " >&6; }
   10834 		cacheid=xorg_cv_cc_flag__Werror
   10835 		if eval test \${$cacheid+y}
   10836 then :
   10837   printf %s "(cached) " >&6
   10838 else $as_nop
   10839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10840 /* end confdefs.h.  */
   10841 int i;
   10842 int
   10843 main (void)
   10844 {
   10845 
   10846   ;
   10847   return 0;
   10848 }
   10849 _ACEOF
   10850 if ac_fn_c_try_link "$LINENO"
   10851 then :
   10852   eval $cacheid=yes
   10853 else $as_nop
   10854   eval $cacheid=no
   10855 fi
   10856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10857     conftest$ac_exeext conftest.$ac_ext
   10858 fi
   10859 
   10860 
   10861 		CFLAGS="$xorg_testset_save_CFLAGS"
   10862 
   10863 		eval supported=\$$cacheid
   10864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10865 printf "%s\n" "$supported" >&6; }
   10866 		if test "$supported" = "yes" ; then
   10867 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10868 			found="yes"
   10869 		fi
   10870 	fi
   10871 
   10872 	if test $found = "no" ; then
   10873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10875 		fi
   10876 
   10877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10879 		fi
   10880 
   10881 		CFLAGS="$CFLAGS -errwarn"
   10882 
   10883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10884 printf %s "checking if $CC supports -errwarn... " >&6; }
   10885 		cacheid=xorg_cv_cc_flag__errwarn
   10886 		if eval test \${$cacheid+y}
   10887 then :
   10888   printf %s "(cached) " >&6
   10889 else $as_nop
   10890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10891 /* end confdefs.h.  */
   10892 int i;
   10893 int
   10894 main (void)
   10895 {
   10896 
   10897   ;
   10898   return 0;
   10899 }
   10900 _ACEOF
   10901 if ac_fn_c_try_link "$LINENO"
   10902 then :
   10903   eval $cacheid=yes
   10904 else $as_nop
   10905   eval $cacheid=no
   10906 fi
   10907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10908     conftest$ac_exeext conftest.$ac_ext
   10909 fi
   10910 
   10911 
   10912 		CFLAGS="$xorg_testset_save_CFLAGS"
   10913 
   10914 		eval supported=\$$cacheid
   10915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10916 printf "%s\n" "$supported" >&6; }
   10917 		if test "$supported" = "yes" ; then
   10918 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10919 			found="yes"
   10920 		fi
   10921 	fi
   10922 
   10923 
   10924 
   10925 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10926 # activate it with -Werror, so we add it here explicitly.
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 xorg_testset_save_CFLAGS="$CFLAGS"
   10941 
   10942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10947 then :
   10948   printf %s "(cached) " >&6
   10949 else $as_nop
   10950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10951 /* end confdefs.h.  */
   10952 int i;
   10953 _ACEOF
   10954 if ac_fn_c_try_compile "$LINENO"
   10955 then :
   10956   xorg_cv_cc_flag_unknown_warning_option=yes
   10957 else $as_nop
   10958   xorg_cv_cc_flag_unknown_warning_option=no
   10959 fi
   10960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10961 fi
   10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10965 	CFLAGS="$xorg_testset_save_CFLAGS"
   10966 fi
   10967 
   10968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10971 	fi
   10972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10976 then :
   10977   printf %s "(cached) " >&6
   10978 else $as_nop
   10979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10980 /* end confdefs.h.  */
   10981 int i;
   10982 _ACEOF
   10983 if ac_fn_c_try_compile "$LINENO"
   10984 then :
   10985   xorg_cv_cc_flag_unused_command_line_argument=yes
   10986 else $as_nop
   10987   xorg_cv_cc_flag_unused_command_line_argument=no
   10988 fi
   10989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10990 fi
   10991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10994 	CFLAGS="$xorg_testset_save_CFLAGS"
   10995 fi
   10996 
   10997 found="no"
   10998 
   10999 	if test $found = "no" ; then
   11000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11002 		fi
   11003 
   11004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11006 		fi
   11007 
   11008 		CFLAGS="$CFLAGS -Werror=attributes"
   11009 
   11010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11011 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11012 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11013 		if eval test \${$cacheid+y}
   11014 then :
   11015   printf %s "(cached) " >&6
   11016 else $as_nop
   11017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11018 /* end confdefs.h.  */
   11019 int i;
   11020 int
   11021 main (void)
   11022 {
   11023 
   11024   ;
   11025   return 0;
   11026 }
   11027 _ACEOF
   11028 if ac_fn_c_try_link "$LINENO"
   11029 then :
   11030   eval $cacheid=yes
   11031 else $as_nop
   11032   eval $cacheid=no
   11033 fi
   11034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11035     conftest$ac_exeext conftest.$ac_ext
   11036 fi
   11037 
   11038 
   11039 		CFLAGS="$xorg_testset_save_CFLAGS"
   11040 
   11041 		eval supported=\$$cacheid
   11042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11043 printf "%s\n" "$supported" >&6; }
   11044 		if test "$supported" = "yes" ; then
   11045 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11046 			found="yes"
   11047 		fi
   11048 	fi
   11049 
   11050 
   11051 
   11052 if test "x$STRICT_COMPILE" = "xyes"; then
   11053     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11054     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11055 fi
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 cat >>confdefs.h <<_ACEOF
   11065 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11066 _ACEOF
   11067 
   11068 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11069 	if test "x$PVM" = "x"; then
   11070 		PVM="0"
   11071 	fi
   11072 
   11073 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11074 
   11075 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11076 	if test "x$PVP" = "x"; then
   11077 		PVP="0"
   11078 	fi
   11079 
   11080 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11081 
   11082 
   11083 
   11084 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11085 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11086 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11087 touch \$(top_srcdir)/ChangeLog; \
   11088 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11089 
   11090 
   11091 
   11092 
   11093 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11094 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11095 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11096 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11097 touch \$(top_srcdir)/INSTALL; \
   11098 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 case $host_os in
   11106     solaris*)
   11107         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11108         # check for a man page file found in later versions that use
   11109         # traditional section numbers instead
   11110         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11111 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11112 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11113 then :
   11114   printf %s "(cached) " >&6
   11115 else $as_nop
   11116   test "$cross_compiling" = yes &&
   11117   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11118 if test -r "/usr/share/man/man7/attributes.7"; then
   11119   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11120 else
   11121   ac_cv_file__usr_share_man_man7_attributes_7=no
   11122 fi
   11123 fi
   11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11125 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11126 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11127 then :
   11128   SYSV_MAN_SECTIONS=false
   11129 else $as_nop
   11130   SYSV_MAN_SECTIONS=true
   11131 fi
   11132 
   11133         ;;
   11134     *) SYSV_MAN_SECTIONS=false ;;
   11135 esac
   11136 
   11137 if test x$APP_MAN_SUFFIX = x    ; then
   11138     APP_MAN_SUFFIX=1
   11139 fi
   11140 if test x$APP_MAN_DIR = x    ; then
   11141     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11142 fi
   11143 
   11144 if test x$LIB_MAN_SUFFIX = x    ; then
   11145     LIB_MAN_SUFFIX=3
   11146 fi
   11147 if test x$LIB_MAN_DIR = x    ; then
   11148     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11149 fi
   11150 
   11151 if test x$FILE_MAN_SUFFIX = x    ; then
   11152     case $SYSV_MAN_SECTIONS in
   11153 	true)				FILE_MAN_SUFFIX=4  ;;
   11154 	*)				FILE_MAN_SUFFIX=5  ;;
   11155     esac
   11156 fi
   11157 if test x$FILE_MAN_DIR = x    ; then
   11158     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11159 fi
   11160 
   11161 if test x$MISC_MAN_SUFFIX = x    ; then
   11162     case $SYSV_MAN_SECTIONS in
   11163 	true)				MISC_MAN_SUFFIX=5  ;;
   11164 	*)				MISC_MAN_SUFFIX=7  ;;
   11165     esac
   11166 fi
   11167 if test x$MISC_MAN_DIR = x    ; then
   11168     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11169 fi
   11170 
   11171 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11172     case $SYSV_MAN_SECTIONS in
   11173 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11174 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11175     esac
   11176 fi
   11177 if test x$DRIVER_MAN_DIR = x    ; then
   11178     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11179 fi
   11180 
   11181 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11182     case $SYSV_MAN_SECTIONS in
   11183 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11184 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11185     esac
   11186 fi
   11187 if test x$ADMIN_MAN_DIR = x    ; then
   11188     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11189 fi
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 XORG_MAN_PAGE="X Version 11"
   11206 
   11207 MAN_SUBSTS="\
   11208 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11209 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11210 	-e 's|__xservername__|Xorg|g' \
   11211 	-e 's|__xconfigfile__|xorg.conf|g' \
   11212 	-e 's|__projectroot__|\$(prefix)|g' \
   11213 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11214 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11215 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11216 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11217 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11218 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11219 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11220 
   11221 
   11222 
   11223 # Check whether --enable-silent-rules was given.
   11224 if test ${enable_silent_rules+y}
   11225 then :
   11226   enableval=$enable_silent_rules;
   11227 fi
   11228 
   11229 case $enable_silent_rules in # (((
   11230   yes) AM_DEFAULT_VERBOSITY=0;;
   11231    no) AM_DEFAULT_VERBOSITY=1;;
   11232     *) AM_DEFAULT_VERBOSITY=0;;
   11233 esac
   11234 am_make=${MAKE-make}
   11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11236 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11237 if test ${am_cv_make_support_nested_variables+y}
   11238 then :
   11239   printf %s "(cached) " >&6
   11240 else $as_nop
   11241   if printf "%s\n" 'TRUE=$(BAR$(V))
   11242 BAR0=false
   11243 BAR1=true
   11244 V=1
   11245 am__doit:
   11246 	@$(TRUE)
   11247 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11248   am_cv_make_support_nested_variables=yes
   11249 else
   11250   am_cv_make_support_nested_variables=no
   11251 fi
   11252 fi
   11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11254 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11255 if test $am_cv_make_support_nested_variables = yes; then
   11256     AM_V='$(V)'
   11257   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11258 else
   11259   AM_V=$AM_DEFAULT_VERBOSITY
   11260   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11261 fi
   11262 AM_BACKSLASH='\'
   11263 
   11264 
   11265 
   11266 
   11267 # Initialize libtool
   11268 # Check whether --enable-static was given.
   11269 if test ${enable_static+y}
   11270 then :
   11271   enableval=$enable_static; p=${PACKAGE-default}
   11272     case $enableval in
   11273     yes) enable_static=yes ;;
   11274     no) enable_static=no ;;
   11275     *)
   11276      enable_static=no
   11277       # Look at the argument we got.  We use all the common list separators.
   11278       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11279       for pkg in $enableval; do
   11280 	IFS=$lt_save_ifs
   11281 	if test "X$pkg" = "X$p"; then
   11282 	  enable_static=yes
   11283 	fi
   11284       done
   11285       IFS=$lt_save_ifs
   11286       ;;
   11287     esac
   11288 else $as_nop
   11289   enable_static=no
   11290 fi
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 case `pwd` in
   11301   *\ * | *\	*)
   11302     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11303 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11304 esac
   11305 
   11306 
   11307 
   11308 macro_version='2.4.7'
   11309 macro_revision='2.4.7'
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 ltmain=$ac_aux_dir/ltmain.sh
   11325 
   11326 # Backslashify metacharacters that are still active within
   11327 # double-quoted strings.
   11328 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11329 
   11330 # Same as above, but do not quote variable references.
   11331 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11332 
   11333 # Sed substitution to delay expansion of an escaped shell variable in a
   11334 # double_quote_subst'ed string.
   11335 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11336 
   11337 # Sed substitution to delay expansion of an escaped single quote.
   11338 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11339 
   11340 # Sed substitution to avoid accidental globbing in evaled expressions
   11341 no_glob_subst='s/\*/\\\*/g'
   11342 
   11343 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11344 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11345 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11346 
   11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11348 printf %s "checking how to print strings... " >&6; }
   11349 # Test print first, because it will be a builtin if present.
   11350 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11351    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11352   ECHO='print -r --'
   11353 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11354   ECHO='printf %s\n'
   11355 else
   11356   # Use this function as a fallback that always works.
   11357   func_fallback_echo ()
   11358   {
   11359     eval 'cat <<_LTECHO_EOF
   11360 $1
   11361 _LTECHO_EOF'
   11362   }
   11363   ECHO='func_fallback_echo'
   11364 fi
   11365 
   11366 # func_echo_all arg...
   11367 # Invoke $ECHO with all args, space-separated.
   11368 func_echo_all ()
   11369 {
   11370     $ECHO ""
   11371 }
   11372 
   11373 case $ECHO in
   11374   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11375 printf "%s\n" "printf" >&6; } ;;
   11376   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11377 printf "%s\n" "print -r" >&6; } ;;
   11378   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11379 printf "%s\n" "cat" >&6; } ;;
   11380 esac
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11396 printf %s "checking for a sed that does not truncate output... " >&6; }
   11397 if test ${ac_cv_path_SED+y}
   11398 then :
   11399   printf %s "(cached) " >&6
   11400 else $as_nop
   11401             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11402      for ac_i in 1 2 3 4 5 6 7; do
   11403        ac_script="$ac_script$as_nl$ac_script"
   11404      done
   11405      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11406      { ac_script=; unset ac_script;}
   11407      if test -z "$SED"; then
   11408   ac_path_SED_found=false
   11409   # Loop through the user's path and test for each of PROGNAME-LIST
   11410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11411 for as_dir in $PATH
   11412 do
   11413   IFS=$as_save_IFS
   11414   case $as_dir in #(((
   11415     '') as_dir=./ ;;
   11416     */) ;;
   11417     *) as_dir=$as_dir/ ;;
   11418   esac
   11419     for ac_prog in sed gsed
   11420    do
   11421     for ac_exec_ext in '' $ac_executable_extensions; do
   11422       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11423       as_fn_executable_p "$ac_path_SED" || continue
   11424 # Check for GNU ac_path_SED and select it if it is found.
   11425   # Check for GNU $ac_path_SED
   11426 case `"$ac_path_SED" --version 2>&1` in
   11427 *GNU*)
   11428   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11429 *)
   11430   ac_count=0
   11431   printf %s 0123456789 >"conftest.in"
   11432   while :
   11433   do
   11434     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11435     mv "conftest.tmp" "conftest.in"
   11436     cp "conftest.in" "conftest.nl"
   11437     printf "%s\n" '' >> "conftest.nl"
   11438     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11439     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11440     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11441     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11442       # Best one so far, save it but keep looking for a better one
   11443       ac_cv_path_SED="$ac_path_SED"
   11444       ac_path_SED_max=$ac_count
   11445     fi
   11446     # 10*(2^10) chars as input seems more than enough
   11447     test $ac_count -gt 10 && break
   11448   done
   11449   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11450 esac
   11451 
   11452       $ac_path_SED_found && break 3
   11453     done
   11454   done
   11455   done
   11456 IFS=$as_save_IFS
   11457   if test -z "$ac_cv_path_SED"; then
   11458     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11459   fi
   11460 else
   11461   ac_cv_path_SED=$SED
   11462 fi
   11463 
   11464 fi
   11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11466 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11467  SED="$ac_cv_path_SED"
   11468   rm -f conftest.sed
   11469 
   11470 test -z "$SED" && SED=sed
   11471 Xsed="$SED -e 1s/^X//"
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11484 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11485 if test ${ac_cv_path_GREP+y}
   11486 then :
   11487   printf %s "(cached) " >&6
   11488 else $as_nop
   11489   if test -z "$GREP"; then
   11490   ac_path_GREP_found=false
   11491   # Loop through the user's path and test for each of PROGNAME-LIST
   11492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11493 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11494 do
   11495   IFS=$as_save_IFS
   11496   case $as_dir in #(((
   11497     '') as_dir=./ ;;
   11498     */) ;;
   11499     *) as_dir=$as_dir/ ;;
   11500   esac
   11501     for ac_prog in grep ggrep
   11502    do
   11503     for ac_exec_ext in '' $ac_executable_extensions; do
   11504       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11505       as_fn_executable_p "$ac_path_GREP" || continue
   11506 # Check for GNU ac_path_GREP and select it if it is found.
   11507   # Check for GNU $ac_path_GREP
   11508 case `"$ac_path_GREP" --version 2>&1` in
   11509 *GNU*)
   11510   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11511 *)
   11512   ac_count=0
   11513   printf %s 0123456789 >"conftest.in"
   11514   while :
   11515   do
   11516     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11517     mv "conftest.tmp" "conftest.in"
   11518     cp "conftest.in" "conftest.nl"
   11519     printf "%s\n" 'GREP' >> "conftest.nl"
   11520     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11521     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11522     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11523     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11524       # Best one so far, save it but keep looking for a better one
   11525       ac_cv_path_GREP="$ac_path_GREP"
   11526       ac_path_GREP_max=$ac_count
   11527     fi
   11528     # 10*(2^10) chars as input seems more than enough
   11529     test $ac_count -gt 10 && break
   11530   done
   11531   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11532 esac
   11533 
   11534       $ac_path_GREP_found && break 3
   11535     done
   11536   done
   11537   done
   11538 IFS=$as_save_IFS
   11539   if test -z "$ac_cv_path_GREP"; then
   11540     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11541   fi
   11542 else
   11543   ac_cv_path_GREP=$GREP
   11544 fi
   11545 
   11546 fi
   11547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11548 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11549  GREP="$ac_cv_path_GREP"
   11550 
   11551 
   11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11553 printf %s "checking for egrep... " >&6; }
   11554 if test ${ac_cv_path_EGREP+y}
   11555 then :
   11556   printf %s "(cached) " >&6
   11557 else $as_nop
   11558   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11559    then ac_cv_path_EGREP="$GREP -E"
   11560    else
   11561      if test -z "$EGREP"; then
   11562   ac_path_EGREP_found=false
   11563   # Loop through the user's path and test for each of PROGNAME-LIST
   11564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11566 do
   11567   IFS=$as_save_IFS
   11568   case $as_dir in #(((
   11569     '') as_dir=./ ;;
   11570     */) ;;
   11571     *) as_dir=$as_dir/ ;;
   11572   esac
   11573     for ac_prog in egrep
   11574    do
   11575     for ac_exec_ext in '' $ac_executable_extensions; do
   11576       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11577       as_fn_executable_p "$ac_path_EGREP" || continue
   11578 # Check for GNU ac_path_EGREP and select it if it is found.
   11579   # Check for GNU $ac_path_EGREP
   11580 case `"$ac_path_EGREP" --version 2>&1` in
   11581 *GNU*)
   11582   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11583 *)
   11584   ac_count=0
   11585   printf %s 0123456789 >"conftest.in"
   11586   while :
   11587   do
   11588     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11589     mv "conftest.tmp" "conftest.in"
   11590     cp "conftest.in" "conftest.nl"
   11591     printf "%s\n" 'EGREP' >> "conftest.nl"
   11592     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11593     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11594     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11595     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11596       # Best one so far, save it but keep looking for a better one
   11597       ac_cv_path_EGREP="$ac_path_EGREP"
   11598       ac_path_EGREP_max=$ac_count
   11599     fi
   11600     # 10*(2^10) chars as input seems more than enough
   11601     test $ac_count -gt 10 && break
   11602   done
   11603   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11604 esac
   11605 
   11606       $ac_path_EGREP_found && break 3
   11607     done
   11608   done
   11609   done
   11610 IFS=$as_save_IFS
   11611   if test -z "$ac_cv_path_EGREP"; then
   11612     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11613   fi
   11614 else
   11615   ac_cv_path_EGREP=$EGREP
   11616 fi
   11617 
   11618    fi
   11619 fi
   11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11621 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11622  EGREP="$ac_cv_path_EGREP"
   11623 
   11624 
   11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11626 printf %s "checking for fgrep... " >&6; }
   11627 if test ${ac_cv_path_FGREP+y}
   11628 then :
   11629   printf %s "(cached) " >&6
   11630 else $as_nop
   11631   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11632    then ac_cv_path_FGREP="$GREP -F"
   11633    else
   11634      if test -z "$FGREP"; then
   11635   ac_path_FGREP_found=false
   11636   # Loop through the user's path and test for each of PROGNAME-LIST
   11637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11638 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11639 do
   11640   IFS=$as_save_IFS
   11641   case $as_dir in #(((
   11642     '') as_dir=./ ;;
   11643     */) ;;
   11644     *) as_dir=$as_dir/ ;;
   11645   esac
   11646     for ac_prog in fgrep
   11647    do
   11648     for ac_exec_ext in '' $ac_executable_extensions; do
   11649       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11650       as_fn_executable_p "$ac_path_FGREP" || continue
   11651 # Check for GNU ac_path_FGREP and select it if it is found.
   11652   # Check for GNU $ac_path_FGREP
   11653 case `"$ac_path_FGREP" --version 2>&1` in
   11654 *GNU*)
   11655   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11656 *)
   11657   ac_count=0
   11658   printf %s 0123456789 >"conftest.in"
   11659   while :
   11660   do
   11661     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11662     mv "conftest.tmp" "conftest.in"
   11663     cp "conftest.in" "conftest.nl"
   11664     printf "%s\n" 'FGREP' >> "conftest.nl"
   11665     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11666     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11667     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11668     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11669       # Best one so far, save it but keep looking for a better one
   11670       ac_cv_path_FGREP="$ac_path_FGREP"
   11671       ac_path_FGREP_max=$ac_count
   11672     fi
   11673     # 10*(2^10) chars as input seems more than enough
   11674     test $ac_count -gt 10 && break
   11675   done
   11676   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11677 esac
   11678 
   11679       $ac_path_FGREP_found && break 3
   11680     done
   11681   done
   11682   done
   11683 IFS=$as_save_IFS
   11684   if test -z "$ac_cv_path_FGREP"; then
   11685     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11686   fi
   11687 else
   11688   ac_cv_path_FGREP=$FGREP
   11689 fi
   11690 
   11691    fi
   11692 fi
   11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11694 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11695  FGREP="$ac_cv_path_FGREP"
   11696 
   11697 
   11698 test -z "$GREP" && GREP=grep
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 # Check whether --with-gnu-ld was given.
   11719 if test ${with_gnu_ld+y}
   11720 then :
   11721   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11722 else $as_nop
   11723   with_gnu_ld=no
   11724 fi
   11725 
   11726 ac_prog=ld
   11727 if test yes = "$GCC"; then
   11728   # Check if gcc -print-prog-name=ld gives a path.
   11729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11730 printf %s "checking for ld used by $CC... " >&6; }
   11731   case $host in
   11732   *-*-mingw*)
   11733     # gcc leaves a trailing carriage return, which upsets mingw
   11734     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11735   *)
   11736     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11737   esac
   11738   case $ac_prog in
   11739     # Accept absolute paths.
   11740     [\\/]* | ?:[\\/]*)
   11741       re_direlt='/[^/][^/]*/\.\./'
   11742       # Canonicalize the pathname of ld
   11743       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11744       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11745 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11746       done
   11747       test -z "$LD" && LD=$ac_prog
   11748       ;;
   11749   "")
   11750     # If it fails, then pretend we aren't using GCC.
   11751     ac_prog=ld
   11752     ;;
   11753   *)
   11754     # If it is relative, then search for the first ld in PATH.
   11755     with_gnu_ld=unknown
   11756     ;;
   11757   esac
   11758 elif test yes = "$with_gnu_ld"; then
   11759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11760 printf %s "checking for GNU ld... " >&6; }
   11761 else
   11762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11763 printf %s "checking for non-GNU ld... " >&6; }
   11764 fi
   11765 if test ${lt_cv_path_LD+y}
   11766 then :
   11767   printf %s "(cached) " >&6
   11768 else $as_nop
   11769   if test -z "$LD"; then
   11770   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11771   for ac_dir in $PATH; do
   11772     IFS=$lt_save_ifs
   11773     test -z "$ac_dir" && ac_dir=.
   11774     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11775       lt_cv_path_LD=$ac_dir/$ac_prog
   11776       # Check to see if the program is GNU ld.  I'd rather use --version,
   11777       # but apparently some variants of GNU ld only accept -v.
   11778       # Break only if it was the GNU/non-GNU ld that we prefer.
   11779       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11780       *GNU* | *'with BFD'*)
   11781 	test no != "$with_gnu_ld" && break
   11782 	;;
   11783       *)
   11784 	test yes != "$with_gnu_ld" && break
   11785 	;;
   11786       esac
   11787     fi
   11788   done
   11789   IFS=$lt_save_ifs
   11790 else
   11791   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11792 fi
   11793 fi
   11794 
   11795 LD=$lt_cv_path_LD
   11796 if test -n "$LD"; then
   11797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11798 printf "%s\n" "$LD" >&6; }
   11799 else
   11800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11801 printf "%s\n" "no" >&6; }
   11802 fi
   11803 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11805 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   11806 if test ${lt_cv_prog_gnu_ld+y}
   11807 then :
   11808   printf %s "(cached) " >&6
   11809 else $as_nop
   11810   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11811 case `$LD -v 2>&1 </dev/null` in
   11812 *GNU* | *'with BFD'*)
   11813   lt_cv_prog_gnu_ld=yes
   11814   ;;
   11815 *)
   11816   lt_cv_prog_gnu_ld=no
   11817   ;;
   11818 esac
   11819 fi
   11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11821 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   11822 with_gnu_ld=$lt_cv_prog_gnu_ld
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11833 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11834 if test ${lt_cv_path_NM+y}
   11835 then :
   11836   printf %s "(cached) " >&6
   11837 else $as_nop
   11838   if test -n "$NM"; then
   11839   # Let the user override the test.
   11840   lt_cv_path_NM=$NM
   11841 else
   11842   lt_nm_to_check=${ac_tool_prefix}nm
   11843   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11844     lt_nm_to_check="$lt_nm_to_check nm"
   11845   fi
   11846   for lt_tmp_nm in $lt_nm_to_check; do
   11847     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11848     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11849       IFS=$lt_save_ifs
   11850       test -z "$ac_dir" && ac_dir=.
   11851       tmp_nm=$ac_dir/$lt_tmp_nm
   11852       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11853 	# Check to see if the nm accepts a BSD-compat flag.
   11854 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11855 	#   nm: unknown option "B" ignored
   11856 	# Tru64's nm complains that /dev/null is an invalid object file
   11857 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11858 	case $build_os in
   11859 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11860 	*) lt_bad_file=/dev/null ;;
   11861 	esac
   11862 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   11863 	*$lt_bad_file* | *'Invalid file or object type'*)
   11864 	  lt_cv_path_NM="$tmp_nm -B"
   11865 	  break 2
   11866 	  ;;
   11867 	*)
   11868 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   11869 	  */dev/null*)
   11870 	    lt_cv_path_NM="$tmp_nm -p"
   11871 	    break 2
   11872 	    ;;
   11873 	  *)
   11874 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11875 	    continue # so that we can try to find one that supports BSD flags
   11876 	    ;;
   11877 	  esac
   11878 	  ;;
   11879 	esac
   11880       fi
   11881     done
   11882     IFS=$lt_save_ifs
   11883   done
   11884   : ${lt_cv_path_NM=no}
   11885 fi
   11886 fi
   11887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11888 printf "%s\n" "$lt_cv_path_NM" >&6; }
   11889 if test no != "$lt_cv_path_NM"; then
   11890   NM=$lt_cv_path_NM
   11891 else
   11892   # Didn't find any BSD compatible name lister, look for dumpbin.
   11893   if test -n "$DUMPBIN"; then :
   11894     # Let the user override the test.
   11895   else
   11896     if test -n "$ac_tool_prefix"; then
   11897   for ac_prog in dumpbin "link -dump"
   11898   do
   11899     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11902 printf %s "checking for $ac_word... " >&6; }
   11903 if test ${ac_cv_prog_DUMPBIN+y}
   11904 then :
   11905   printf %s "(cached) " >&6
   11906 else $as_nop
   11907   if test -n "$DUMPBIN"; then
   11908   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11909 else
   11910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11911 for as_dir in $PATH
   11912 do
   11913   IFS=$as_save_IFS
   11914   case $as_dir in #(((
   11915     '') as_dir=./ ;;
   11916     */) ;;
   11917     *) as_dir=$as_dir/ ;;
   11918   esac
   11919     for ac_exec_ext in '' $ac_executable_extensions; do
   11920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11921     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11922     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11923     break 2
   11924   fi
   11925 done
   11926   done
   11927 IFS=$as_save_IFS
   11928 
   11929 fi
   11930 fi
   11931 DUMPBIN=$ac_cv_prog_DUMPBIN
   11932 if test -n "$DUMPBIN"; then
   11933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11934 printf "%s\n" "$DUMPBIN" >&6; }
   11935 else
   11936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11937 printf "%s\n" "no" >&6; }
   11938 fi
   11939 
   11940 
   11941     test -n "$DUMPBIN" && break
   11942   done
   11943 fi
   11944 if test -z "$DUMPBIN"; then
   11945   ac_ct_DUMPBIN=$DUMPBIN
   11946   for ac_prog in dumpbin "link -dump"
   11947 do
   11948   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11949 set dummy $ac_prog; ac_word=$2
   11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11951 printf %s "checking for $ac_word... " >&6; }
   11952 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   11953 then :
   11954   printf %s "(cached) " >&6
   11955 else $as_nop
   11956   if test -n "$ac_ct_DUMPBIN"; then
   11957   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11958 else
   11959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11960 for as_dir in $PATH
   11961 do
   11962   IFS=$as_save_IFS
   11963   case $as_dir in #(((
   11964     '') as_dir=./ ;;
   11965     */) ;;
   11966     *) as_dir=$as_dir/ ;;
   11967   esac
   11968     for ac_exec_ext in '' $ac_executable_extensions; do
   11969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11970     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11972     break 2
   11973   fi
   11974 done
   11975   done
   11976 IFS=$as_save_IFS
   11977 
   11978 fi
   11979 fi
   11980 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11981 if test -n "$ac_ct_DUMPBIN"; then
   11982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11983 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   11984 else
   11985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11986 printf "%s\n" "no" >&6; }
   11987 fi
   11988 
   11989 
   11990   test -n "$ac_ct_DUMPBIN" && break
   11991 done
   11992 
   11993   if test "x$ac_ct_DUMPBIN" = x; then
   11994     DUMPBIN=":"
   11995   else
   11996     case $cross_compiling:$ac_tool_warned in
   11997 yes:)
   11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12000 ac_tool_warned=yes ;;
   12001 esac
   12002     DUMPBIN=$ac_ct_DUMPBIN
   12003   fi
   12004 fi
   12005 
   12006     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12007     *COFF*)
   12008       DUMPBIN="$DUMPBIN -symbols -headers"
   12009       ;;
   12010     *)
   12011       DUMPBIN=:
   12012       ;;
   12013     esac
   12014   fi
   12015 
   12016   if test : != "$DUMPBIN"; then
   12017     NM=$DUMPBIN
   12018   fi
   12019 fi
   12020 test -z "$NM" && NM=nm
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12028 printf %s "checking the name lister ($NM) interface... " >&6; }
   12029 if test ${lt_cv_nm_interface+y}
   12030 then :
   12031   printf %s "(cached) " >&6
   12032 else $as_nop
   12033   lt_cv_nm_interface="BSD nm"
   12034   echo "int some_variable = 0;" > conftest.$ac_ext
   12035   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12036   (eval "$ac_compile" 2>conftest.err)
   12037   cat conftest.err >&5
   12038   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12039   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12040   cat conftest.err >&5
   12041   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12042   cat conftest.out >&5
   12043   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12044     lt_cv_nm_interface="MS dumpbin"
   12045   fi
   12046   rm -f conftest*
   12047 fi
   12048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12049 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12050 
   12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12052 printf %s "checking whether ln -s works... " >&6; }
   12053 LN_S=$as_ln_s
   12054 if test "$LN_S" = "ln -s"; then
   12055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12056 printf "%s\n" "yes" >&6; }
   12057 else
   12058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12059 printf "%s\n" "no, using $LN_S" >&6; }
   12060 fi
   12061 
   12062 # find the maximum length of command line arguments
   12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12064 printf %s "checking the maximum length of command line arguments... " >&6; }
   12065 if test ${lt_cv_sys_max_cmd_len+y}
   12066 then :
   12067   printf %s "(cached) " >&6
   12068 else $as_nop
   12069     i=0
   12070   teststring=ABCD
   12071 
   12072   case $build_os in
   12073   msdosdjgpp*)
   12074     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12075     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12076     # during glob expansion).  Even if it were fixed, the result of this
   12077     # check would be larger than it should be.
   12078     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12079     ;;
   12080 
   12081   gnu*)
   12082     # Under GNU Hurd, this test is not required because there is
   12083     # no limit to the length of command line arguments.
   12084     # Libtool will interpret -1 as no limit whatsoever
   12085     lt_cv_sys_max_cmd_len=-1;
   12086     ;;
   12087 
   12088   cygwin* | mingw* | cegcc*)
   12089     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12090     # about 5 minutes as the teststring grows exponentially.
   12091     # Worse, since 9x/ME are not pre-emptively multitasking,
   12092     # you end up with a "frozen" computer, even though with patience
   12093     # the test eventually succeeds (with a max line length of 256k).
   12094     # Instead, let's just punt: use the minimum linelength reported by
   12095     # all of the supported platforms: 8192 (on NT/2K/XP).
   12096     lt_cv_sys_max_cmd_len=8192;
   12097     ;;
   12098 
   12099   mint*)
   12100     # On MiNT this can take a long time and run out of memory.
   12101     lt_cv_sys_max_cmd_len=8192;
   12102     ;;
   12103 
   12104   amigaos*)
   12105     # On AmigaOS with pdksh, this test takes hours, literally.
   12106     # So we just punt and use a minimum line length of 8192.
   12107     lt_cv_sys_max_cmd_len=8192;
   12108     ;;
   12109 
   12110   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12111     # This has been around since 386BSD, at least.  Likely further.
   12112     if test -x /sbin/sysctl; then
   12113       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12114     elif test -x /usr/sbin/sysctl; then
   12115       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12116     else
   12117       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12118     fi
   12119     # And add a safety zone
   12120     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12121     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12122     ;;
   12123 
   12124   interix*)
   12125     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12126     lt_cv_sys_max_cmd_len=196608
   12127     ;;
   12128 
   12129   os2*)
   12130     # The test takes a long time on OS/2.
   12131     lt_cv_sys_max_cmd_len=8192
   12132     ;;
   12133 
   12134   osf*)
   12135     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12136     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12137     # nice to cause kernel panics so lets avoid the loop below.
   12138     # First set a reasonable default.
   12139     lt_cv_sys_max_cmd_len=16384
   12140     #
   12141     if test -x /sbin/sysconfig; then
   12142       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12143         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12144       esac
   12145     fi
   12146     ;;
   12147   sco3.2v5*)
   12148     lt_cv_sys_max_cmd_len=102400
   12149     ;;
   12150   sysv5* | sco5v6* | sysv4.2uw2*)
   12151     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12152     if test -n "$kargmax"; then
   12153       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12154     else
   12155       lt_cv_sys_max_cmd_len=32768
   12156     fi
   12157     ;;
   12158   *)
   12159     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12160     if test -n "$lt_cv_sys_max_cmd_len" && \
   12161        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12162       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12163       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12164     else
   12165       # Make teststring a little bigger before we do anything with it.
   12166       # a 1K string should be a reasonable start.
   12167       for i in 1 2 3 4 5 6 7 8; do
   12168         teststring=$teststring$teststring
   12169       done
   12170       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12171       # If test is not a shell built-in, we'll probably end up computing a
   12172       # maximum length that is only half of the actual maximum length, but
   12173       # we can't tell.
   12174       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12175 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12176 	      test 17 != "$i" # 1/2 MB should be enough
   12177       do
   12178         i=`expr $i + 1`
   12179         teststring=$teststring$teststring
   12180       done
   12181       # Only check the string length outside the loop.
   12182       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12183       teststring=
   12184       # Add a significant safety factor because C++ compilers can tack on
   12185       # massive amounts of additional arguments before passing them to the
   12186       # linker.  It appears as though 1/2 is a usable value.
   12187       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12188     fi
   12189     ;;
   12190   esac
   12191 
   12192 fi
   12193 
   12194 if test -n "$lt_cv_sys_max_cmd_len"; then
   12195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12196 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12197 else
   12198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12199 printf "%s\n" "none" >&6; }
   12200 fi
   12201 max_cmd_len=$lt_cv_sys_max_cmd_len
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 : ${CP="cp -f"}
   12209 : ${MV="mv -f"}
   12210 : ${RM="rm -f"}
   12211 
   12212 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12213   lt_unset=unset
   12214 else
   12215   lt_unset=false
   12216 fi
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 # test EBCDIC or ASCII
   12223 case `echo X|tr X '\101'` in
   12224  A) # ASCII based system
   12225     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12226   lt_SP2NL='tr \040 \012'
   12227   lt_NL2SP='tr \015\012 \040\040'
   12228   ;;
   12229  *) # EBCDIC based system
   12230   lt_SP2NL='tr \100 \n'
   12231   lt_NL2SP='tr \r\n \100\100'
   12232   ;;
   12233 esac
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12244 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12245 if test ${lt_cv_to_host_file_cmd+y}
   12246 then :
   12247   printf %s "(cached) " >&6
   12248 else $as_nop
   12249   case $host in
   12250   *-*-mingw* )
   12251     case $build in
   12252       *-*-mingw* ) # actually msys
   12253         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12254         ;;
   12255       *-*-cygwin* )
   12256         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12257         ;;
   12258       * ) # otherwise, assume *nix
   12259         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12260         ;;
   12261     esac
   12262     ;;
   12263   *-*-cygwin* )
   12264     case $build in
   12265       *-*-mingw* ) # actually msys
   12266         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12267         ;;
   12268       *-*-cygwin* )
   12269         lt_cv_to_host_file_cmd=func_convert_file_noop
   12270         ;;
   12271       * ) # otherwise, assume *nix
   12272         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12273         ;;
   12274     esac
   12275     ;;
   12276   * ) # unhandled hosts (and "normal" native builds)
   12277     lt_cv_to_host_file_cmd=func_convert_file_noop
   12278     ;;
   12279 esac
   12280 
   12281 fi
   12282 
   12283 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12285 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12292 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12293 if test ${lt_cv_to_tool_file_cmd+y}
   12294 then :
   12295   printf %s "(cached) " >&6
   12296 else $as_nop
   12297   #assume ordinary cross tools, or native build.
   12298 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12299 case $host in
   12300   *-*-mingw* )
   12301     case $build in
   12302       *-*-mingw* ) # actually msys
   12303         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12304         ;;
   12305     esac
   12306     ;;
   12307 esac
   12308 
   12309 fi
   12310 
   12311 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12313 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12320 printf %s "checking for $LD option to reload object files... " >&6; }
   12321 if test ${lt_cv_ld_reload_flag+y}
   12322 then :
   12323   printf %s "(cached) " >&6
   12324 else $as_nop
   12325   lt_cv_ld_reload_flag='-r'
   12326 fi
   12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12328 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12329 reload_flag=$lt_cv_ld_reload_flag
   12330 case $reload_flag in
   12331 "" | " "*) ;;
   12332 *) reload_flag=" $reload_flag" ;;
   12333 esac
   12334 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12335 case $host_os in
   12336   cygwin* | mingw* | pw32* | cegcc*)
   12337     if test yes != "$GCC"; then
   12338       reload_cmds=false
   12339     fi
   12340     ;;
   12341   darwin*)
   12342     if test yes = "$GCC"; then
   12343       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12344     else
   12345       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12346     fi
   12347     ;;
   12348 esac
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 if test -n "$ac_tool_prefix"; then
   12359   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12360 set dummy ${ac_tool_prefix}file; ac_word=$2
   12361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12362 printf %s "checking for $ac_word... " >&6; }
   12363 if test ${ac_cv_prog_FILECMD+y}
   12364 then :
   12365   printf %s "(cached) " >&6
   12366 else $as_nop
   12367   if test -n "$FILECMD"; then
   12368   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12369 else
   12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12371 for as_dir in $PATH
   12372 do
   12373   IFS=$as_save_IFS
   12374   case $as_dir in #(((
   12375     '') as_dir=./ ;;
   12376     */) ;;
   12377     *) as_dir=$as_dir/ ;;
   12378   esac
   12379     for ac_exec_ext in '' $ac_executable_extensions; do
   12380   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12381     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12382     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12383     break 2
   12384   fi
   12385 done
   12386   done
   12387 IFS=$as_save_IFS
   12388 
   12389 fi
   12390 fi
   12391 FILECMD=$ac_cv_prog_FILECMD
   12392 if test -n "$FILECMD"; then
   12393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12394 printf "%s\n" "$FILECMD" >&6; }
   12395 else
   12396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12397 printf "%s\n" "no" >&6; }
   12398 fi
   12399 
   12400 
   12401 fi
   12402 if test -z "$ac_cv_prog_FILECMD"; then
   12403   ac_ct_FILECMD=$FILECMD
   12404   # Extract the first word of "file", so it can be a program name with args.
   12405 set dummy file; ac_word=$2
   12406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12407 printf %s "checking for $ac_word... " >&6; }
   12408 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12409 then :
   12410   printf %s "(cached) " >&6
   12411 else $as_nop
   12412   if test -n "$ac_ct_FILECMD"; then
   12413   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12414 else
   12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12416 for as_dir in $PATH
   12417 do
   12418   IFS=$as_save_IFS
   12419   case $as_dir in #(((
   12420     '') as_dir=./ ;;
   12421     */) ;;
   12422     *) as_dir=$as_dir/ ;;
   12423   esac
   12424     for ac_exec_ext in '' $ac_executable_extensions; do
   12425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12426     ac_cv_prog_ac_ct_FILECMD="file"
   12427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12428     break 2
   12429   fi
   12430 done
   12431   done
   12432 IFS=$as_save_IFS
   12433 
   12434 fi
   12435 fi
   12436 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12437 if test -n "$ac_ct_FILECMD"; then
   12438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12439 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12440 else
   12441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12442 printf "%s\n" "no" >&6; }
   12443 fi
   12444 
   12445   if test "x$ac_ct_FILECMD" = x; then
   12446     FILECMD=":"
   12447   else
   12448     case $cross_compiling:$ac_tool_warned in
   12449 yes:)
   12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12451 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12452 ac_tool_warned=yes ;;
   12453 esac
   12454     FILECMD=$ac_ct_FILECMD
   12455   fi
   12456 else
   12457   FILECMD="$ac_cv_prog_FILECMD"
   12458 fi
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 if test -n "$ac_tool_prefix"; then
   12467   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12468 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12470 printf %s "checking for $ac_word... " >&6; }
   12471 if test ${ac_cv_prog_OBJDUMP+y}
   12472 then :
   12473   printf %s "(cached) " >&6
   12474 else $as_nop
   12475   if test -n "$OBJDUMP"; then
   12476   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12477 else
   12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12479 for as_dir in $PATH
   12480 do
   12481   IFS=$as_save_IFS
   12482   case $as_dir in #(((
   12483     '') as_dir=./ ;;
   12484     */) ;;
   12485     *) as_dir=$as_dir/ ;;
   12486   esac
   12487     for ac_exec_ext in '' $ac_executable_extensions; do
   12488   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12489     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12490     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12491     break 2
   12492   fi
   12493 done
   12494   done
   12495 IFS=$as_save_IFS
   12496 
   12497 fi
   12498 fi
   12499 OBJDUMP=$ac_cv_prog_OBJDUMP
   12500 if test -n "$OBJDUMP"; then
   12501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12502 printf "%s\n" "$OBJDUMP" >&6; }
   12503 else
   12504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12505 printf "%s\n" "no" >&6; }
   12506 fi
   12507 
   12508 
   12509 fi
   12510 if test -z "$ac_cv_prog_OBJDUMP"; then
   12511   ac_ct_OBJDUMP=$OBJDUMP
   12512   # Extract the first word of "objdump", so it can be a program name with args.
   12513 set dummy objdump; ac_word=$2
   12514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12515 printf %s "checking for $ac_word... " >&6; }
   12516 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12517 then :
   12518   printf %s "(cached) " >&6
   12519 else $as_nop
   12520   if test -n "$ac_ct_OBJDUMP"; then
   12521   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12522 else
   12523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12524 for as_dir in $PATH
   12525 do
   12526   IFS=$as_save_IFS
   12527   case $as_dir in #(((
   12528     '') as_dir=./ ;;
   12529     */) ;;
   12530     *) as_dir=$as_dir/ ;;
   12531   esac
   12532     for ac_exec_ext in '' $ac_executable_extensions; do
   12533   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12534     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12535     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12536     break 2
   12537   fi
   12538 done
   12539   done
   12540 IFS=$as_save_IFS
   12541 
   12542 fi
   12543 fi
   12544 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12545 if test -n "$ac_ct_OBJDUMP"; then
   12546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12547 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12548 else
   12549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12550 printf "%s\n" "no" >&6; }
   12551 fi
   12552 
   12553   if test "x$ac_ct_OBJDUMP" = x; then
   12554     OBJDUMP="false"
   12555   else
   12556     case $cross_compiling:$ac_tool_warned in
   12557 yes:)
   12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12559 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12560 ac_tool_warned=yes ;;
   12561 esac
   12562     OBJDUMP=$ac_ct_OBJDUMP
   12563   fi
   12564 else
   12565   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12566 fi
   12567 
   12568 test -z "$OBJDUMP" && OBJDUMP=objdump
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12579 printf %s "checking how to recognize dependent libraries... " >&6; }
   12580 if test ${lt_cv_deplibs_check_method+y}
   12581 then :
   12582   printf %s "(cached) " >&6
   12583 else $as_nop
   12584   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12585 lt_cv_file_magic_test_file=
   12586 lt_cv_deplibs_check_method='unknown'
   12587 # Need to set the preceding variable on all platforms that support
   12588 # interlibrary dependencies.
   12589 # 'none' -- dependencies not supported.
   12590 # 'unknown' -- same as none, but documents that we really don't know.
   12591 # 'pass_all' -- all dependencies passed with no checks.
   12592 # 'test_compile' -- check by making test program.
   12593 # 'file_magic [[regex]]' -- check by looking for files in library path
   12594 # that responds to the $file_magic_cmd with a given extended regex.
   12595 # If you have 'file' or equivalent on your system and you're not sure
   12596 # whether 'pass_all' will *always* work, you probably want this one.
   12597 
   12598 case $host_os in
   12599 aix[4-9]*)
   12600   lt_cv_deplibs_check_method=pass_all
   12601   ;;
   12602 
   12603 beos*)
   12604   lt_cv_deplibs_check_method=pass_all
   12605   ;;
   12606 
   12607 bsdi[45]*)
   12608   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12609   lt_cv_file_magic_cmd='$FILECMD -L'
   12610   lt_cv_file_magic_test_file=/shlib/libc.so
   12611   ;;
   12612 
   12613 cygwin*)
   12614   # func_win32_libid is a shell function defined in ltmain.sh
   12615   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12616   lt_cv_file_magic_cmd='func_win32_libid'
   12617   ;;
   12618 
   12619 mingw* | pw32*)
   12620   # Base MSYS/MinGW do not provide the 'file' command needed by
   12621   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12622   # unless we find 'file', for example because we are cross-compiling.
   12623   if ( file / ) >/dev/null 2>&1; then
   12624     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12625     lt_cv_file_magic_cmd='func_win32_libid'
   12626   else
   12627     # Keep this pattern in sync with the one in func_win32_libid.
   12628     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12629     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12630   fi
   12631   ;;
   12632 
   12633 cegcc*)
   12634   # use the weaker test based on 'objdump'. See mingw*.
   12635   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12636   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12637   ;;
   12638 
   12639 darwin* | rhapsody*)
   12640   lt_cv_deplibs_check_method=pass_all
   12641   ;;
   12642 
   12643 freebsd* | dragonfly* | midnightbsd*)
   12644   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12645     case $host_cpu in
   12646     i*86 )
   12647       # Not sure whether the presence of OpenBSD here was a mistake.
   12648       # Let's accept both of them until this is cleared up.
   12649       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12650       lt_cv_file_magic_cmd=$FILECMD
   12651       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12652       ;;
   12653     esac
   12654   else
   12655     lt_cv_deplibs_check_method=pass_all
   12656   fi
   12657   ;;
   12658 
   12659 haiku*)
   12660   lt_cv_deplibs_check_method=pass_all
   12661   ;;
   12662 
   12663 hpux10.20* | hpux11*)
   12664   lt_cv_file_magic_cmd=$FILECMD
   12665   case $host_cpu in
   12666   ia64*)
   12667     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12668     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12669     ;;
   12670   hppa*64*)
   12671     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]'
   12672     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12673     ;;
   12674   *)
   12675     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12676     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12677     ;;
   12678   esac
   12679   ;;
   12680 
   12681 interix[3-9]*)
   12682   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12683   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12684   ;;
   12685 
   12686 irix5* | irix6* | nonstopux*)
   12687   case $LD in
   12688   *-32|*"-32 ") libmagic=32-bit;;
   12689   *-n32|*"-n32 ") libmagic=N32;;
   12690   *-64|*"-64 ") libmagic=64-bit;;
   12691   *) libmagic=never-match;;
   12692   esac
   12693   lt_cv_deplibs_check_method=pass_all
   12694   ;;
   12695 
   12696 # This must be glibc/ELF.
   12697 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12698   lt_cv_deplibs_check_method=pass_all
   12699   ;;
   12700 
   12701 netbsd*)
   12702   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12703     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12704   else
   12705     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12706   fi
   12707   ;;
   12708 
   12709 newos6*)
   12710   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12711   lt_cv_file_magic_cmd=$FILECMD
   12712   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12713   ;;
   12714 
   12715 *nto* | *qnx*)
   12716   lt_cv_deplibs_check_method=pass_all
   12717   ;;
   12718 
   12719 openbsd* | bitrig*)
   12720   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12721     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12722   else
   12723     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12724   fi
   12725   ;;
   12726 
   12727 osf3* | osf4* | osf5*)
   12728   lt_cv_deplibs_check_method=pass_all
   12729   ;;
   12730 
   12731 rdos*)
   12732   lt_cv_deplibs_check_method=pass_all
   12733   ;;
   12734 
   12735 solaris*)
   12736   lt_cv_deplibs_check_method=pass_all
   12737   ;;
   12738 
   12739 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12740   lt_cv_deplibs_check_method=pass_all
   12741   ;;
   12742 
   12743 sysv4 | sysv4.3*)
   12744   case $host_vendor in
   12745   motorola)
   12746     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]'
   12747     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12748     ;;
   12749   ncr)
   12750     lt_cv_deplibs_check_method=pass_all
   12751     ;;
   12752   sequent)
   12753     lt_cv_file_magic_cmd='/bin/file'
   12754     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12755     ;;
   12756   sni)
   12757     lt_cv_file_magic_cmd='/bin/file'
   12758     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12759     lt_cv_file_magic_test_file=/lib/libc.so
   12760     ;;
   12761   siemens)
   12762     lt_cv_deplibs_check_method=pass_all
   12763     ;;
   12764   pc)
   12765     lt_cv_deplibs_check_method=pass_all
   12766     ;;
   12767   esac
   12768   ;;
   12769 
   12770 tpf*)
   12771   lt_cv_deplibs_check_method=pass_all
   12772   ;;
   12773 os2*)
   12774   lt_cv_deplibs_check_method=pass_all
   12775   ;;
   12776 esac
   12777 
   12778 fi
   12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12780 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12781 
   12782 file_magic_glob=
   12783 want_nocaseglob=no
   12784 if test "$build" = "$host"; then
   12785   case $host_os in
   12786   mingw* | pw32*)
   12787     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12788       want_nocaseglob=yes
   12789     else
   12790       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12791     fi
   12792     ;;
   12793   esac
   12794 fi
   12795 
   12796 file_magic_cmd=$lt_cv_file_magic_cmd
   12797 deplibs_check_method=$lt_cv_deplibs_check_method
   12798 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 if test -n "$ac_tool_prefix"; then
   12822   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12823 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12825 printf %s "checking for $ac_word... " >&6; }
   12826 if test ${ac_cv_prog_DLLTOOL+y}
   12827 then :
   12828   printf %s "(cached) " >&6
   12829 else $as_nop
   12830   if test -n "$DLLTOOL"; then
   12831   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12832 else
   12833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12834 for as_dir in $PATH
   12835 do
   12836   IFS=$as_save_IFS
   12837   case $as_dir in #(((
   12838     '') as_dir=./ ;;
   12839     */) ;;
   12840     *) as_dir=$as_dir/ ;;
   12841   esac
   12842     for ac_exec_ext in '' $ac_executable_extensions; do
   12843   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12844     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12845     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12846     break 2
   12847   fi
   12848 done
   12849   done
   12850 IFS=$as_save_IFS
   12851 
   12852 fi
   12853 fi
   12854 DLLTOOL=$ac_cv_prog_DLLTOOL
   12855 if test -n "$DLLTOOL"; then
   12856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12857 printf "%s\n" "$DLLTOOL" >&6; }
   12858 else
   12859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12860 printf "%s\n" "no" >&6; }
   12861 fi
   12862 
   12863 
   12864 fi
   12865 if test -z "$ac_cv_prog_DLLTOOL"; then
   12866   ac_ct_DLLTOOL=$DLLTOOL
   12867   # Extract the first word of "dlltool", so it can be a program name with args.
   12868 set dummy dlltool; ac_word=$2
   12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12870 printf %s "checking for $ac_word... " >&6; }
   12871 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12872 then :
   12873   printf %s "(cached) " >&6
   12874 else $as_nop
   12875   if test -n "$ac_ct_DLLTOOL"; then
   12876   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12877 else
   12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12879 for as_dir in $PATH
   12880 do
   12881   IFS=$as_save_IFS
   12882   case $as_dir in #(((
   12883     '') as_dir=./ ;;
   12884     */) ;;
   12885     *) as_dir=$as_dir/ ;;
   12886   esac
   12887     for ac_exec_ext in '' $ac_executable_extensions; do
   12888   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12889     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12890     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12891     break 2
   12892   fi
   12893 done
   12894   done
   12895 IFS=$as_save_IFS
   12896 
   12897 fi
   12898 fi
   12899 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12900 if test -n "$ac_ct_DLLTOOL"; then
   12901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12902 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   12903 else
   12904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12905 printf "%s\n" "no" >&6; }
   12906 fi
   12907 
   12908   if test "x$ac_ct_DLLTOOL" = x; then
   12909     DLLTOOL="false"
   12910   else
   12911     case $cross_compiling:$ac_tool_warned in
   12912 yes:)
   12913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12914 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12915 ac_tool_warned=yes ;;
   12916 esac
   12917     DLLTOOL=$ac_ct_DLLTOOL
   12918   fi
   12919 else
   12920   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12921 fi
   12922 
   12923 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12935 printf %s "checking how to associate runtime and link libraries... " >&6; }
   12936 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   12937 then :
   12938   printf %s "(cached) " >&6
   12939 else $as_nop
   12940   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12941 
   12942 case $host_os in
   12943 cygwin* | mingw* | pw32* | cegcc*)
   12944   # two different shell functions defined in ltmain.sh;
   12945   # decide which one to use based on capabilities of $DLLTOOL
   12946   case `$DLLTOOL --help 2>&1` in
   12947   *--identify-strict*)
   12948     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12949     ;;
   12950   *)
   12951     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12952     ;;
   12953   esac
   12954   ;;
   12955 *)
   12956   # fallback: assume linklib IS sharedlib
   12957   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12958   ;;
   12959 esac
   12960 
   12961 fi
   12962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12963 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12964 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12965 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 if test -n "$ac_tool_prefix"; then
   12974   for ac_prog in ar
   12975   do
   12976     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12979 printf %s "checking for $ac_word... " >&6; }
   12980 if test ${ac_cv_prog_AR+y}
   12981 then :
   12982   printf %s "(cached) " >&6
   12983 else $as_nop
   12984   if test -n "$AR"; then
   12985   ac_cv_prog_AR="$AR" # Let the user override the test.
   12986 else
   12987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12988 for as_dir in $PATH
   12989 do
   12990   IFS=$as_save_IFS
   12991   case $as_dir in #(((
   12992     '') as_dir=./ ;;
   12993     */) ;;
   12994     *) as_dir=$as_dir/ ;;
   12995   esac
   12996     for ac_exec_ext in '' $ac_executable_extensions; do
   12997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12998     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12999     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13000     break 2
   13001   fi
   13002 done
   13003   done
   13004 IFS=$as_save_IFS
   13005 
   13006 fi
   13007 fi
   13008 AR=$ac_cv_prog_AR
   13009 if test -n "$AR"; then
   13010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13011 printf "%s\n" "$AR" >&6; }
   13012 else
   13013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13014 printf "%s\n" "no" >&6; }
   13015 fi
   13016 
   13017 
   13018     test -n "$AR" && break
   13019   done
   13020 fi
   13021 if test -z "$AR"; then
   13022   ac_ct_AR=$AR
   13023   for ac_prog in ar
   13024 do
   13025   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13026 set dummy $ac_prog; ac_word=$2
   13027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13028 printf %s "checking for $ac_word... " >&6; }
   13029 if test ${ac_cv_prog_ac_ct_AR+y}
   13030 then :
   13031   printf %s "(cached) " >&6
   13032 else $as_nop
   13033   if test -n "$ac_ct_AR"; then
   13034   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13035 else
   13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13037 for as_dir in $PATH
   13038 do
   13039   IFS=$as_save_IFS
   13040   case $as_dir in #(((
   13041     '') as_dir=./ ;;
   13042     */) ;;
   13043     *) as_dir=$as_dir/ ;;
   13044   esac
   13045     for ac_exec_ext in '' $ac_executable_extensions; do
   13046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13047     ac_cv_prog_ac_ct_AR="$ac_prog"
   13048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13049     break 2
   13050   fi
   13051 done
   13052   done
   13053 IFS=$as_save_IFS
   13054 
   13055 fi
   13056 fi
   13057 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13058 if test -n "$ac_ct_AR"; then
   13059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13060 printf "%s\n" "$ac_ct_AR" >&6; }
   13061 else
   13062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13063 printf "%s\n" "no" >&6; }
   13064 fi
   13065 
   13066 
   13067   test -n "$ac_ct_AR" && break
   13068 done
   13069 
   13070   if test "x$ac_ct_AR" = x; then
   13071     AR="false"
   13072   else
   13073     case $cross_compiling:$ac_tool_warned in
   13074 yes:)
   13075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13077 ac_tool_warned=yes ;;
   13078 esac
   13079     AR=$ac_ct_AR
   13080   fi
   13081 fi
   13082 
   13083 : ${AR=ar}
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13091 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13092 # higher priority because thats what people were doing historically (setting
   13093 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13094 # variable obsoleted/removed.
   13095 
   13096 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13097 lt_ar_flags=$AR_FLAGS
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13105 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13113 printf %s "checking for archiver @FILE support... " >&6; }
   13114 if test ${lt_cv_ar_at_file+y}
   13115 then :
   13116   printf %s "(cached) " >&6
   13117 else $as_nop
   13118   lt_cv_ar_at_file=no
   13119    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13120 /* end confdefs.h.  */
   13121 
   13122 int
   13123 main (void)
   13124 {
   13125 
   13126   ;
   13127   return 0;
   13128 }
   13129 _ACEOF
   13130 if ac_fn_c_try_compile "$LINENO"
   13131 then :
   13132   echo conftest.$ac_objext > conftest.lst
   13133       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13134       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13135   (eval $lt_ar_try) 2>&5
   13136   ac_status=$?
   13137   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13138   test $ac_status = 0; }
   13139       if test 0 -eq "$ac_status"; then
   13140 	# Ensure the archiver fails upon bogus file names.
   13141 	rm -f conftest.$ac_objext libconftest.a
   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 -ne "$ac_status"; then
   13148           lt_cv_ar_at_file=@
   13149         fi
   13150       fi
   13151       rm -f conftest.* libconftest.a
   13152 
   13153 fi
   13154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13155 
   13156 fi
   13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13158 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13159 
   13160 if test no = "$lt_cv_ar_at_file"; then
   13161   archiver_list_spec=
   13162 else
   13163   archiver_list_spec=$lt_cv_ar_at_file
   13164 fi
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 if test -n "$ac_tool_prefix"; then
   13173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13174 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13176 printf %s "checking for $ac_word... " >&6; }
   13177 if test ${ac_cv_prog_STRIP+y}
   13178 then :
   13179   printf %s "(cached) " >&6
   13180 else $as_nop
   13181   if test -n "$STRIP"; then
   13182   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13183 else
   13184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13185 for as_dir in $PATH
   13186 do
   13187   IFS=$as_save_IFS
   13188   case $as_dir in #(((
   13189     '') as_dir=./ ;;
   13190     */) ;;
   13191     *) as_dir=$as_dir/ ;;
   13192   esac
   13193     for ac_exec_ext in '' $ac_executable_extensions; do
   13194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13195     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13197     break 2
   13198   fi
   13199 done
   13200   done
   13201 IFS=$as_save_IFS
   13202 
   13203 fi
   13204 fi
   13205 STRIP=$ac_cv_prog_STRIP
   13206 if test -n "$STRIP"; then
   13207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13208 printf "%s\n" "$STRIP" >&6; }
   13209 else
   13210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13211 printf "%s\n" "no" >&6; }
   13212 fi
   13213 
   13214 
   13215 fi
   13216 if test -z "$ac_cv_prog_STRIP"; then
   13217   ac_ct_STRIP=$STRIP
   13218   # Extract the first word of "strip", so it can be a program name with args.
   13219 set dummy strip; ac_word=$2
   13220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13221 printf %s "checking for $ac_word... " >&6; }
   13222 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13223 then :
   13224   printf %s "(cached) " >&6
   13225 else $as_nop
   13226   if test -n "$ac_ct_STRIP"; then
   13227   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13228 else
   13229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13230 for as_dir in $PATH
   13231 do
   13232   IFS=$as_save_IFS
   13233   case $as_dir in #(((
   13234     '') as_dir=./ ;;
   13235     */) ;;
   13236     *) as_dir=$as_dir/ ;;
   13237   esac
   13238     for ac_exec_ext in '' $ac_executable_extensions; do
   13239   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13240     ac_cv_prog_ac_ct_STRIP="strip"
   13241     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13242     break 2
   13243   fi
   13244 done
   13245   done
   13246 IFS=$as_save_IFS
   13247 
   13248 fi
   13249 fi
   13250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13251 if test -n "$ac_ct_STRIP"; then
   13252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13253 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13254 else
   13255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13256 printf "%s\n" "no" >&6; }
   13257 fi
   13258 
   13259   if test "x$ac_ct_STRIP" = x; then
   13260     STRIP=":"
   13261   else
   13262     case $cross_compiling:$ac_tool_warned in
   13263 yes:)
   13264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13265 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13266 ac_tool_warned=yes ;;
   13267 esac
   13268     STRIP=$ac_ct_STRIP
   13269   fi
   13270 else
   13271   STRIP="$ac_cv_prog_STRIP"
   13272 fi
   13273 
   13274 test -z "$STRIP" && STRIP=:
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 if test -n "$ac_tool_prefix"; then
   13282   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13285 printf %s "checking for $ac_word... " >&6; }
   13286 if test ${ac_cv_prog_RANLIB+y}
   13287 then :
   13288   printf %s "(cached) " >&6
   13289 else $as_nop
   13290   if test -n "$RANLIB"; then
   13291   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13292 else
   13293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13294 for as_dir in $PATH
   13295 do
   13296   IFS=$as_save_IFS
   13297   case $as_dir in #(((
   13298     '') as_dir=./ ;;
   13299     */) ;;
   13300     *) as_dir=$as_dir/ ;;
   13301   esac
   13302     for ac_exec_ext in '' $ac_executable_extensions; do
   13303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13304     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13305     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13306     break 2
   13307   fi
   13308 done
   13309   done
   13310 IFS=$as_save_IFS
   13311 
   13312 fi
   13313 fi
   13314 RANLIB=$ac_cv_prog_RANLIB
   13315 if test -n "$RANLIB"; then
   13316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13317 printf "%s\n" "$RANLIB" >&6; }
   13318 else
   13319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13320 printf "%s\n" "no" >&6; }
   13321 fi
   13322 
   13323 
   13324 fi
   13325 if test -z "$ac_cv_prog_RANLIB"; then
   13326   ac_ct_RANLIB=$RANLIB
   13327   # Extract the first word of "ranlib", so it can be a program name with args.
   13328 set dummy ranlib; ac_word=$2
   13329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13330 printf %s "checking for $ac_word... " >&6; }
   13331 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13332 then :
   13333   printf %s "(cached) " >&6
   13334 else $as_nop
   13335   if test -n "$ac_ct_RANLIB"; then
   13336   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13337 else
   13338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13339 for as_dir in $PATH
   13340 do
   13341   IFS=$as_save_IFS
   13342   case $as_dir in #(((
   13343     '') as_dir=./ ;;
   13344     */) ;;
   13345     *) as_dir=$as_dir/ ;;
   13346   esac
   13347     for ac_exec_ext in '' $ac_executable_extensions; do
   13348   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13349     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13350     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13351     break 2
   13352   fi
   13353 done
   13354   done
   13355 IFS=$as_save_IFS
   13356 
   13357 fi
   13358 fi
   13359 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13360 if test -n "$ac_ct_RANLIB"; then
   13361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13362 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13363 else
   13364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13365 printf "%s\n" "no" >&6; }
   13366 fi
   13367 
   13368   if test "x$ac_ct_RANLIB" = x; then
   13369     RANLIB=":"
   13370   else
   13371     case $cross_compiling:$ac_tool_warned in
   13372 yes:)
   13373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13374 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13375 ac_tool_warned=yes ;;
   13376 esac
   13377     RANLIB=$ac_ct_RANLIB
   13378   fi
   13379 else
   13380   RANLIB="$ac_cv_prog_RANLIB"
   13381 fi
   13382 
   13383 test -z "$RANLIB" && RANLIB=:
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 # Determine commands to create old-style static archives.
   13391 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13392 old_postinstall_cmds='chmod 644 $oldlib'
   13393 old_postuninstall_cmds=
   13394 
   13395 if test -n "$RANLIB"; then
   13396   case $host_os in
   13397   bitrig* | openbsd*)
   13398     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13399     ;;
   13400   *)
   13401     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13402     ;;
   13403   esac
   13404   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13405 fi
   13406 
   13407 case $host_os in
   13408   darwin*)
   13409     lock_old_archive_extraction=yes ;;
   13410   *)
   13411     lock_old_archive_extraction=no ;;
   13412 esac
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   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 # If no C compiler was specified, use CC.
   13453 LTCC=${LTCC-"$CC"}
   13454 
   13455 # If no C compiler flags were specified, use CFLAGS.
   13456 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13457 
   13458 # Allow CC to be a program name with arguments.
   13459 compiler=$CC
   13460 
   13461 
   13462 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13464 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13465 if test ${lt_cv_sys_global_symbol_pipe+y}
   13466 then :
   13467   printf %s "(cached) " >&6
   13468 else $as_nop
   13469 
   13470 # These are sane defaults that work on at least a few old systems.
   13471 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13472 
   13473 # Character class describing NM global symbol codes.
   13474 symcode='[BCDEGRST]'
   13475 
   13476 # Regexp to match symbols that can be accessed directly from C.
   13477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13478 
   13479 # Define system-specific variables.
   13480 case $host_os in
   13481 aix*)
   13482   symcode='[BCDT]'
   13483   ;;
   13484 cygwin* | mingw* | pw32* | cegcc*)
   13485   symcode='[ABCDGISTW]'
   13486   ;;
   13487 hpux*)
   13488   if test ia64 = "$host_cpu"; then
   13489     symcode='[ABCDEGRST]'
   13490   fi
   13491   ;;
   13492 irix* | nonstopux*)
   13493   symcode='[BCDEGRST]'
   13494   ;;
   13495 osf*)
   13496   symcode='[BCDEGQRST]'
   13497   ;;
   13498 solaris*)
   13499   symcode='[BDRT]'
   13500   ;;
   13501 sco3.2v5*)
   13502   symcode='[DT]'
   13503   ;;
   13504 sysv4.2uw2*)
   13505   symcode='[DT]'
   13506   ;;
   13507 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13508   symcode='[ABDT]'
   13509   ;;
   13510 sysv4)
   13511   symcode='[DFNSTU]'
   13512   ;;
   13513 esac
   13514 
   13515 # If we're using GNU nm, then use its standard symbol codes.
   13516 case `$NM -V 2>&1` in
   13517 *GNU* | *'with BFD'*)
   13518   symcode='[ABCDGIRSTW]' ;;
   13519 esac
   13520 
   13521 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13522   # Gets list of data symbols to import.
   13523   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13524   # Adjust the below global symbol transforms to fixup imported variables.
   13525   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13526   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13527   lt_c_name_lib_hook="\
   13528   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13529   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13530 else
   13531   # Disable hooks by default.
   13532   lt_cv_sys_global_symbol_to_import=
   13533   lt_cdecl_hook=
   13534   lt_c_name_hook=
   13535   lt_c_name_lib_hook=
   13536 fi
   13537 
   13538 # Transform an extracted symbol line into a proper C declaration.
   13539 # Some systems (esp. on ia64) link data and code symbols differently,
   13540 # so use this general approach.
   13541 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13542 $lt_cdecl_hook\
   13543 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13544 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13545 
   13546 # Transform an extracted symbol line into symbol name and symbol address
   13547 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13548 $lt_c_name_hook\
   13549 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13550 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13551 
   13552 # Transform an extracted symbol line into symbol name with lib prefix and
   13553 # symbol address.
   13554 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13555 $lt_c_name_lib_hook\
   13556 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13557 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13558 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13559 
   13560 # Handle CRLF in mingw tool chain
   13561 opt_cr=
   13562 case $build_os in
   13563 mingw*)
   13564   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13565   ;;
   13566 esac
   13567 
   13568 # Try without a prefix underscore, then with it.
   13569 for ac_symprfx in "" "_"; do
   13570 
   13571   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13572   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13573 
   13574   # Write the raw and C identifiers.
   13575   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13576     # Fake it for dumpbin and say T for any non-static function,
   13577     # D for any global variable and I for any imported variable.
   13578     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13579     # which start with @ or ?.
   13580     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13581 "     {last_section=section; section=\$ 3};"\
   13582 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13583 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13584 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13585 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13586 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13587 "     \$ 0!~/External *\|/{next};"\
   13588 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13589 "     {if(hide[section]) next};"\
   13590 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13591 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13592 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13593 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13594 "     ' prfx=^$ac_symprfx"
   13595   else
   13596     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13597   fi
   13598   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13599 
   13600   # Check to see that the pipe works correctly.
   13601   pipe_works=no
   13602 
   13603   rm -f conftest*
   13604   cat > conftest.$ac_ext <<_LT_EOF
   13605 #ifdef __cplusplus
   13606 extern "C" {
   13607 #endif
   13608 char nm_test_var;
   13609 void nm_test_func(void);
   13610 void nm_test_func(void){}
   13611 #ifdef __cplusplus
   13612 }
   13613 #endif
   13614 int main(){nm_test_var='a';nm_test_func();return(0);}
   13615 _LT_EOF
   13616 
   13617   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13618   (eval $ac_compile) 2>&5
   13619   ac_status=$?
   13620   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13621   test $ac_status = 0; }; then
   13622     # Now try to grab the symbols.
   13623     nlist=conftest.nm
   13624     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13625   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13626   ac_status=$?
   13627   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13628   test $ac_status = 0; } && test -s "$nlist"; then
   13629       # Try sorting and uniquifying the output.
   13630       if sort "$nlist" | uniq > "$nlist"T; then
   13631 	mv -f "$nlist"T "$nlist"
   13632       else
   13633 	rm -f "$nlist"T
   13634       fi
   13635 
   13636       # Make sure that we snagged all the symbols we need.
   13637       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13638 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13639 	  cat <<_LT_EOF > conftest.$ac_ext
   13640 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13641 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13642 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13643    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13644 # define LT_DLSYM_CONST
   13645 #elif defined __osf__
   13646 /* This system does not cope well with relocations in const data.  */
   13647 # define LT_DLSYM_CONST
   13648 #else
   13649 # define LT_DLSYM_CONST const
   13650 #endif
   13651 
   13652 #ifdef __cplusplus
   13653 extern "C" {
   13654 #endif
   13655 
   13656 _LT_EOF
   13657 	  # Now generate the symbol file.
   13658 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13659 
   13660 	  cat <<_LT_EOF >> conftest.$ac_ext
   13661 
   13662 /* The mapping between symbol names and symbols.  */
   13663 LT_DLSYM_CONST struct {
   13664   const char *name;
   13665   void       *address;
   13666 }
   13667 lt__PROGRAM__LTX_preloaded_symbols[] =
   13668 {
   13669   { "@PROGRAM@", (void *) 0 },
   13670 _LT_EOF
   13671 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13672 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13673   {0, (void *) 0}
   13674 };
   13675 
   13676 /* This works around a problem in FreeBSD linker */
   13677 #ifdef FREEBSD_WORKAROUND
   13678 static const void *lt_preloaded_setup() {
   13679   return lt__PROGRAM__LTX_preloaded_symbols;
   13680 }
   13681 #endif
   13682 
   13683 #ifdef __cplusplus
   13684 }
   13685 #endif
   13686 _LT_EOF
   13687 	  # Now try linking the two files.
   13688 	  mv conftest.$ac_objext conftstm.$ac_objext
   13689 	  lt_globsym_save_LIBS=$LIBS
   13690 	  lt_globsym_save_CFLAGS=$CFLAGS
   13691 	  LIBS=conftstm.$ac_objext
   13692 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13693 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13694   (eval $ac_link) 2>&5
   13695   ac_status=$?
   13696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13697   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13698 	    pipe_works=yes
   13699 	  fi
   13700 	  LIBS=$lt_globsym_save_LIBS
   13701 	  CFLAGS=$lt_globsym_save_CFLAGS
   13702 	else
   13703 	  echo "cannot find nm_test_func in $nlist" >&5
   13704 	fi
   13705       else
   13706 	echo "cannot find nm_test_var in $nlist" >&5
   13707       fi
   13708     else
   13709       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13710     fi
   13711   else
   13712     echo "$progname: failed program was:" >&5
   13713     cat conftest.$ac_ext >&5
   13714   fi
   13715   rm -rf conftest* conftst*
   13716 
   13717   # Do not use the global_symbol_pipe unless it works.
   13718   if test yes = "$pipe_works"; then
   13719     break
   13720   else
   13721     lt_cv_sys_global_symbol_pipe=
   13722   fi
   13723 done
   13724 
   13725 fi
   13726 
   13727 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13728   lt_cv_sys_global_symbol_to_cdecl=
   13729 fi
   13730 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13732 printf "%s\n" "failed" >&6; }
   13733 else
   13734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13735 printf "%s\n" "ok" >&6; }
   13736 fi
   13737 
   13738 # Response file support.
   13739 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13740   nm_file_list_spec='@'
   13741 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13742   nm_file_list_spec='@'
   13743 fi
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13782 printf %s "checking for sysroot... " >&6; }
   13783 
   13784 # Check whether --with-sysroot was given.
   13785 if test ${with_sysroot+y}
   13786 then :
   13787   withval=$with_sysroot;
   13788 else $as_nop
   13789   with_sysroot=no
   13790 fi
   13791 
   13792 
   13793 lt_sysroot=
   13794 case $with_sysroot in #(
   13795  yes)
   13796    if test yes = "$GCC"; then
   13797      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13798    fi
   13799    ;; #(
   13800  /*)
   13801    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   13802    ;; #(
   13803  no|'')
   13804    ;; #(
   13805  *)
   13806    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13807 printf "%s\n" "$with_sysroot" >&6; }
   13808    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13809    ;;
   13810 esac
   13811 
   13812  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13813 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13820 printf %s "checking for a working dd... " >&6; }
   13821 if test ${ac_cv_path_lt_DD+y}
   13822 then :
   13823   printf %s "(cached) " >&6
   13824 else $as_nop
   13825   printf 0123456789abcdef0123456789abcdef >conftest.i
   13826 cat conftest.i conftest.i >conftest2.i
   13827 : ${lt_DD:=$DD}
   13828 if test -z "$lt_DD"; then
   13829   ac_path_lt_DD_found=false
   13830   # Loop through the user's path and test for each of PROGNAME-LIST
   13831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13832 for as_dir in $PATH
   13833 do
   13834   IFS=$as_save_IFS
   13835   case $as_dir in #(((
   13836     '') as_dir=./ ;;
   13837     */) ;;
   13838     *) as_dir=$as_dir/ ;;
   13839   esac
   13840     for ac_prog in dd
   13841    do
   13842     for ac_exec_ext in '' $ac_executable_extensions; do
   13843       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   13844       as_fn_executable_p "$ac_path_lt_DD" || continue
   13845 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13846   cmp -s conftest.i conftest.out \
   13847   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13848 fi
   13849       $ac_path_lt_DD_found && break 3
   13850     done
   13851   done
   13852   done
   13853 IFS=$as_save_IFS
   13854   if test -z "$ac_cv_path_lt_DD"; then
   13855     :
   13856   fi
   13857 else
   13858   ac_cv_path_lt_DD=$lt_DD
   13859 fi
   13860 
   13861 rm -f conftest.i conftest2.i conftest.out
   13862 fi
   13863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13864 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   13865 
   13866 
   13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13868 printf %s "checking how to truncate binary pipes... " >&6; }
   13869 if test ${lt_cv_truncate_bin+y}
   13870 then :
   13871   printf %s "(cached) " >&6
   13872 else $as_nop
   13873   printf 0123456789abcdef0123456789abcdef >conftest.i
   13874 cat conftest.i conftest.i >conftest2.i
   13875 lt_cv_truncate_bin=
   13876 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13877   cmp -s conftest.i conftest.out \
   13878   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13879 fi
   13880 rm -f conftest.i conftest2.i conftest.out
   13881 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13882 fi
   13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13884 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13893 func_cc_basename ()
   13894 {
   13895     for cc_temp in $*""; do
   13896       case $cc_temp in
   13897         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13898         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13899         \-*) ;;
   13900         *) break;;
   13901       esac
   13902     done
   13903     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13904 }
   13905 
   13906 # Check whether --enable-libtool-lock was given.
   13907 if test ${enable_libtool_lock+y}
   13908 then :
   13909   enableval=$enable_libtool_lock;
   13910 fi
   13911 
   13912 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13913 
   13914 # Some flags need to be propagated to the compiler or linker for good
   13915 # libtool support.
   13916 case $host in
   13917 ia64-*-hpux*)
   13918   # Find out what ABI is being produced by ac_compile, and set mode
   13919   # options accordingly.
   13920   echo 'int i;' > conftest.$ac_ext
   13921   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13922   (eval $ac_compile) 2>&5
   13923   ac_status=$?
   13924   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13925   test $ac_status = 0; }; then
   13926     case `$FILECMD conftest.$ac_objext` in
   13927       *ELF-32*)
   13928 	HPUX_IA64_MODE=32
   13929 	;;
   13930       *ELF-64*)
   13931 	HPUX_IA64_MODE=64
   13932 	;;
   13933     esac
   13934   fi
   13935   rm -rf conftest*
   13936   ;;
   13937 *-*-irix6*)
   13938   # Find out what ABI is being produced by ac_compile, and set linker
   13939   # options accordingly.
   13940   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13941   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13942   (eval $ac_compile) 2>&5
   13943   ac_status=$?
   13944   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13945   test $ac_status = 0; }; then
   13946     if test yes = "$lt_cv_prog_gnu_ld"; then
   13947       case `$FILECMD conftest.$ac_objext` in
   13948 	*32-bit*)
   13949 	  LD="${LD-ld} -melf32bsmip"
   13950 	  ;;
   13951 	*N32*)
   13952 	  LD="${LD-ld} -melf32bmipn32"
   13953 	  ;;
   13954 	*64-bit*)
   13955 	  LD="${LD-ld} -melf64bmip"
   13956 	;;
   13957       esac
   13958     else
   13959       case `$FILECMD conftest.$ac_objext` in
   13960 	*32-bit*)
   13961 	  LD="${LD-ld} -32"
   13962 	  ;;
   13963 	*N32*)
   13964 	  LD="${LD-ld} -n32"
   13965 	  ;;
   13966 	*64-bit*)
   13967 	  LD="${LD-ld} -64"
   13968 	  ;;
   13969       esac
   13970     fi
   13971   fi
   13972   rm -rf conftest*
   13973   ;;
   13974 
   13975 mips64*-*linux*)
   13976   # Find out what ABI is being produced by ac_compile, and set linker
   13977   # options accordingly.
   13978   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13979   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13980   (eval $ac_compile) 2>&5
   13981   ac_status=$?
   13982   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13983   test $ac_status = 0; }; then
   13984     emul=elf
   13985     case `$FILECMD conftest.$ac_objext` in
   13986       *32-bit*)
   13987 	emul="${emul}32"
   13988 	;;
   13989       *64-bit*)
   13990 	emul="${emul}64"
   13991 	;;
   13992     esac
   13993     case `$FILECMD conftest.$ac_objext` in
   13994       *MSB*)
   13995 	emul="${emul}btsmip"
   13996 	;;
   13997       *LSB*)
   13998 	emul="${emul}ltsmip"
   13999 	;;
   14000     esac
   14001     case `$FILECMD conftest.$ac_objext` in
   14002       *N32*)
   14003 	emul="${emul}n32"
   14004 	;;
   14005     esac
   14006     LD="${LD-ld} -m $emul"
   14007   fi
   14008   rm -rf conftest*
   14009   ;;
   14010 
   14011 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14012 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14013   # Find out what ABI is being produced by ac_compile, and set linker
   14014   # options accordingly.  Note that the listed cases only cover the
   14015   # situations where additional linker options are needed (such as when
   14016   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14017   # vice versa); the common cases where no linker options are needed do
   14018   # not appear in the list.
   14019   echo 'int i;' > conftest.$ac_ext
   14020   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14021   (eval $ac_compile) 2>&5
   14022   ac_status=$?
   14023   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14024   test $ac_status = 0; }; then
   14025     case `$FILECMD conftest.o` in
   14026       *32-bit*)
   14027 	case $host in
   14028 	  x86_64-*kfreebsd*-gnu)
   14029 	    LD="${LD-ld} -m elf_i386_fbsd"
   14030 	    ;;
   14031 	  x86_64-*linux*)
   14032 	    case `$FILECMD conftest.o` in
   14033 	      *x86-64*)
   14034 		LD="${LD-ld} -m elf32_x86_64"
   14035 		;;
   14036 	      *)
   14037 		LD="${LD-ld} -m elf_i386"
   14038 		;;
   14039 	    esac
   14040 	    ;;
   14041 	  powerpc64le-*linux*)
   14042 	    LD="${LD-ld} -m elf32lppclinux"
   14043 	    ;;
   14044 	  powerpc64-*linux*)
   14045 	    LD="${LD-ld} -m elf32ppclinux"
   14046 	    ;;
   14047 	  s390x-*linux*)
   14048 	    LD="${LD-ld} -m elf_s390"
   14049 	    ;;
   14050 	  sparc64-*linux*)
   14051 	    LD="${LD-ld} -m elf32_sparc"
   14052 	    ;;
   14053 	esac
   14054 	;;
   14055       *64-bit*)
   14056 	case $host in
   14057 	  x86_64-*kfreebsd*-gnu)
   14058 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14059 	    ;;
   14060 	  x86_64-*linux*)
   14061 	    LD="${LD-ld} -m elf_x86_64"
   14062 	    ;;
   14063 	  powerpcle-*linux*)
   14064 	    LD="${LD-ld} -m elf64lppc"
   14065 	    ;;
   14066 	  powerpc-*linux*)
   14067 	    LD="${LD-ld} -m elf64ppc"
   14068 	    ;;
   14069 	  s390*-*linux*|s390*-*tpf*)
   14070 	    LD="${LD-ld} -m elf64_s390"
   14071 	    ;;
   14072 	  sparc*-*linux*)
   14073 	    LD="${LD-ld} -m elf64_sparc"
   14074 	    ;;
   14075 	esac
   14076 	;;
   14077     esac
   14078   fi
   14079   rm -rf conftest*
   14080   ;;
   14081 
   14082 *-*-sco3.2v5*)
   14083   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14084   SAVE_CFLAGS=$CFLAGS
   14085   CFLAGS="$CFLAGS -belf"
   14086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14087 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14088 if test ${lt_cv_cc_needs_belf+y}
   14089 then :
   14090   printf %s "(cached) " >&6
   14091 else $as_nop
   14092   ac_ext=c
   14093 ac_cpp='$CPP $CPPFLAGS'
   14094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14097 
   14098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14099 /* end confdefs.h.  */
   14100 
   14101 int
   14102 main (void)
   14103 {
   14104 
   14105   ;
   14106   return 0;
   14107 }
   14108 _ACEOF
   14109 if ac_fn_c_try_link "$LINENO"
   14110 then :
   14111   lt_cv_cc_needs_belf=yes
   14112 else $as_nop
   14113   lt_cv_cc_needs_belf=no
   14114 fi
   14115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14116     conftest$ac_exeext conftest.$ac_ext
   14117      ac_ext=c
   14118 ac_cpp='$CPP $CPPFLAGS'
   14119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14122 
   14123 fi
   14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14125 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14126   if test yes != "$lt_cv_cc_needs_belf"; then
   14127     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14128     CFLAGS=$SAVE_CFLAGS
   14129   fi
   14130   ;;
   14131 *-*solaris*)
   14132   # Find out what ABI is being produced by ac_compile, and set linker
   14133   # options accordingly.
   14134   echo 'int i;' > conftest.$ac_ext
   14135   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14136   (eval $ac_compile) 2>&5
   14137   ac_status=$?
   14138   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14139   test $ac_status = 0; }; then
   14140     case `$FILECMD conftest.o` in
   14141     *64-bit*)
   14142       case $lt_cv_prog_gnu_ld in
   14143       yes*)
   14144         case $host in
   14145         i?86-*-solaris*|x86_64-*-solaris*)
   14146           LD="${LD-ld} -m elf_x86_64"
   14147           ;;
   14148         sparc*-*-solaris*)
   14149           LD="${LD-ld} -m elf64_sparc"
   14150           ;;
   14151         esac
   14152         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14153         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14154           LD=${LD-ld}_sol2
   14155         fi
   14156         ;;
   14157       *)
   14158 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14159 	  LD="${LD-ld} -64"
   14160 	fi
   14161 	;;
   14162       esac
   14163       ;;
   14164     esac
   14165   fi
   14166   rm -rf conftest*
   14167   ;;
   14168 esac
   14169 
   14170 need_locks=$enable_libtool_lock
   14171 
   14172 if test -n "$ac_tool_prefix"; then
   14173   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14174 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14176 printf %s "checking for $ac_word... " >&6; }
   14177 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14178 then :
   14179   printf %s "(cached) " >&6
   14180 else $as_nop
   14181   if test -n "$MANIFEST_TOOL"; then
   14182   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14183 else
   14184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14185 for as_dir in $PATH
   14186 do
   14187   IFS=$as_save_IFS
   14188   case $as_dir in #(((
   14189     '') as_dir=./ ;;
   14190     */) ;;
   14191     *) as_dir=$as_dir/ ;;
   14192   esac
   14193     for ac_exec_ext in '' $ac_executable_extensions; do
   14194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14195     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14197     break 2
   14198   fi
   14199 done
   14200   done
   14201 IFS=$as_save_IFS
   14202 
   14203 fi
   14204 fi
   14205 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14206 if test -n "$MANIFEST_TOOL"; then
   14207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14208 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14209 else
   14210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14211 printf "%s\n" "no" >&6; }
   14212 fi
   14213 
   14214 
   14215 fi
   14216 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14217   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14218   # Extract the first word of "mt", so it can be a program name with args.
   14219 set dummy mt; ac_word=$2
   14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14221 printf %s "checking for $ac_word... " >&6; }
   14222 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14223 then :
   14224   printf %s "(cached) " >&6
   14225 else $as_nop
   14226   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14227   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14228 else
   14229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14230 for as_dir in $PATH
   14231 do
   14232   IFS=$as_save_IFS
   14233   case $as_dir in #(((
   14234     '') as_dir=./ ;;
   14235     */) ;;
   14236     *) as_dir=$as_dir/ ;;
   14237   esac
   14238     for ac_exec_ext in '' $ac_executable_extensions; do
   14239   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14240     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14241     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14242     break 2
   14243   fi
   14244 done
   14245   done
   14246 IFS=$as_save_IFS
   14247 
   14248 fi
   14249 fi
   14250 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14251 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14253 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14254 else
   14255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14256 printf "%s\n" "no" >&6; }
   14257 fi
   14258 
   14259   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14260     MANIFEST_TOOL=":"
   14261   else
   14262     case $cross_compiling:$ac_tool_warned in
   14263 yes:)
   14264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14265 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14266 ac_tool_warned=yes ;;
   14267 esac
   14268     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14269   fi
   14270 else
   14271   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14272 fi
   14273 
   14274 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14276 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14277 if test ${lt_cv_path_mainfest_tool+y}
   14278 then :
   14279   printf %s "(cached) " >&6
   14280 else $as_nop
   14281   lt_cv_path_mainfest_tool=no
   14282   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14283   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14284   cat conftest.err >&5
   14285   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14286     lt_cv_path_mainfest_tool=yes
   14287   fi
   14288   rm -f conftest*
   14289 fi
   14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14291 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14292 if test yes != "$lt_cv_path_mainfest_tool"; then
   14293   MANIFEST_TOOL=:
   14294 fi
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301   case $host_os in
   14302     rhapsody* | darwin*)
   14303     if test -n "$ac_tool_prefix"; then
   14304   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14305 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14307 printf %s "checking for $ac_word... " >&6; }
   14308 if test ${ac_cv_prog_DSYMUTIL+y}
   14309 then :
   14310   printf %s "(cached) " >&6
   14311 else $as_nop
   14312   if test -n "$DSYMUTIL"; then
   14313   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14314 else
   14315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14316 for as_dir in $PATH
   14317 do
   14318   IFS=$as_save_IFS
   14319   case $as_dir in #(((
   14320     '') as_dir=./ ;;
   14321     */) ;;
   14322     *) as_dir=$as_dir/ ;;
   14323   esac
   14324     for ac_exec_ext in '' $ac_executable_extensions; do
   14325   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14326     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14327     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14328     break 2
   14329   fi
   14330 done
   14331   done
   14332 IFS=$as_save_IFS
   14333 
   14334 fi
   14335 fi
   14336 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14337 if test -n "$DSYMUTIL"; then
   14338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14339 printf "%s\n" "$DSYMUTIL" >&6; }
   14340 else
   14341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14342 printf "%s\n" "no" >&6; }
   14343 fi
   14344 
   14345 
   14346 fi
   14347 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14348   ac_ct_DSYMUTIL=$DSYMUTIL
   14349   # Extract the first word of "dsymutil", so it can be a program name with args.
   14350 set dummy dsymutil; ac_word=$2
   14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14352 printf %s "checking for $ac_word... " >&6; }
   14353 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14354 then :
   14355   printf %s "(cached) " >&6
   14356 else $as_nop
   14357   if test -n "$ac_ct_DSYMUTIL"; then
   14358   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14359 else
   14360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14361 for as_dir in $PATH
   14362 do
   14363   IFS=$as_save_IFS
   14364   case $as_dir in #(((
   14365     '') as_dir=./ ;;
   14366     */) ;;
   14367     *) as_dir=$as_dir/ ;;
   14368   esac
   14369     for ac_exec_ext in '' $ac_executable_extensions; do
   14370   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14371     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14372     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14373     break 2
   14374   fi
   14375 done
   14376   done
   14377 IFS=$as_save_IFS
   14378 
   14379 fi
   14380 fi
   14381 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14382 if test -n "$ac_ct_DSYMUTIL"; then
   14383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14384 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14385 else
   14386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14387 printf "%s\n" "no" >&6; }
   14388 fi
   14389 
   14390   if test "x$ac_ct_DSYMUTIL" = x; then
   14391     DSYMUTIL=":"
   14392   else
   14393     case $cross_compiling:$ac_tool_warned in
   14394 yes:)
   14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14397 ac_tool_warned=yes ;;
   14398 esac
   14399     DSYMUTIL=$ac_ct_DSYMUTIL
   14400   fi
   14401 else
   14402   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14403 fi
   14404 
   14405     if test -n "$ac_tool_prefix"; then
   14406   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14407 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14409 printf %s "checking for $ac_word... " >&6; }
   14410 if test ${ac_cv_prog_NMEDIT+y}
   14411 then :
   14412   printf %s "(cached) " >&6
   14413 else $as_nop
   14414   if test -n "$NMEDIT"; then
   14415   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14416 else
   14417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14418 for as_dir in $PATH
   14419 do
   14420   IFS=$as_save_IFS
   14421   case $as_dir in #(((
   14422     '') as_dir=./ ;;
   14423     */) ;;
   14424     *) as_dir=$as_dir/ ;;
   14425   esac
   14426     for ac_exec_ext in '' $ac_executable_extensions; do
   14427   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14428     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14429     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14430     break 2
   14431   fi
   14432 done
   14433   done
   14434 IFS=$as_save_IFS
   14435 
   14436 fi
   14437 fi
   14438 NMEDIT=$ac_cv_prog_NMEDIT
   14439 if test -n "$NMEDIT"; then
   14440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14441 printf "%s\n" "$NMEDIT" >&6; }
   14442 else
   14443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14444 printf "%s\n" "no" >&6; }
   14445 fi
   14446 
   14447 
   14448 fi
   14449 if test -z "$ac_cv_prog_NMEDIT"; then
   14450   ac_ct_NMEDIT=$NMEDIT
   14451   # Extract the first word of "nmedit", so it can be a program name with args.
   14452 set dummy nmedit; ac_word=$2
   14453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14454 printf %s "checking for $ac_word... " >&6; }
   14455 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14456 then :
   14457   printf %s "(cached) " >&6
   14458 else $as_nop
   14459   if test -n "$ac_ct_NMEDIT"; then
   14460   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14461 else
   14462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14463 for as_dir in $PATH
   14464 do
   14465   IFS=$as_save_IFS
   14466   case $as_dir in #(((
   14467     '') as_dir=./ ;;
   14468     */) ;;
   14469     *) as_dir=$as_dir/ ;;
   14470   esac
   14471     for ac_exec_ext in '' $ac_executable_extensions; do
   14472   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14473     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14474     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14475     break 2
   14476   fi
   14477 done
   14478   done
   14479 IFS=$as_save_IFS
   14480 
   14481 fi
   14482 fi
   14483 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14484 if test -n "$ac_ct_NMEDIT"; then
   14485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14486 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14487 else
   14488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14489 printf "%s\n" "no" >&6; }
   14490 fi
   14491 
   14492   if test "x$ac_ct_NMEDIT" = x; then
   14493     NMEDIT=":"
   14494   else
   14495     case $cross_compiling:$ac_tool_warned in
   14496 yes:)
   14497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14498 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14499 ac_tool_warned=yes ;;
   14500 esac
   14501     NMEDIT=$ac_ct_NMEDIT
   14502   fi
   14503 else
   14504   NMEDIT="$ac_cv_prog_NMEDIT"
   14505 fi
   14506 
   14507     if test -n "$ac_tool_prefix"; then
   14508   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14509 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14511 printf %s "checking for $ac_word... " >&6; }
   14512 if test ${ac_cv_prog_LIPO+y}
   14513 then :
   14514   printf %s "(cached) " >&6
   14515 else $as_nop
   14516   if test -n "$LIPO"; then
   14517   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14518 else
   14519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14520 for as_dir in $PATH
   14521 do
   14522   IFS=$as_save_IFS
   14523   case $as_dir in #(((
   14524     '') as_dir=./ ;;
   14525     */) ;;
   14526     *) as_dir=$as_dir/ ;;
   14527   esac
   14528     for ac_exec_ext in '' $ac_executable_extensions; do
   14529   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14530     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14531     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14532     break 2
   14533   fi
   14534 done
   14535   done
   14536 IFS=$as_save_IFS
   14537 
   14538 fi
   14539 fi
   14540 LIPO=$ac_cv_prog_LIPO
   14541 if test -n "$LIPO"; then
   14542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14543 printf "%s\n" "$LIPO" >&6; }
   14544 else
   14545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14546 printf "%s\n" "no" >&6; }
   14547 fi
   14548 
   14549 
   14550 fi
   14551 if test -z "$ac_cv_prog_LIPO"; then
   14552   ac_ct_LIPO=$LIPO
   14553   # Extract the first word of "lipo", so it can be a program name with args.
   14554 set dummy lipo; ac_word=$2
   14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14556 printf %s "checking for $ac_word... " >&6; }
   14557 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14558 then :
   14559   printf %s "(cached) " >&6
   14560 else $as_nop
   14561   if test -n "$ac_ct_LIPO"; then
   14562   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14563 else
   14564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14565 for as_dir in $PATH
   14566 do
   14567   IFS=$as_save_IFS
   14568   case $as_dir in #(((
   14569     '') as_dir=./ ;;
   14570     */) ;;
   14571     *) as_dir=$as_dir/ ;;
   14572   esac
   14573     for ac_exec_ext in '' $ac_executable_extensions; do
   14574   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14575     ac_cv_prog_ac_ct_LIPO="lipo"
   14576     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14577     break 2
   14578   fi
   14579 done
   14580   done
   14581 IFS=$as_save_IFS
   14582 
   14583 fi
   14584 fi
   14585 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14586 if test -n "$ac_ct_LIPO"; then
   14587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14588 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14589 else
   14590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14591 printf "%s\n" "no" >&6; }
   14592 fi
   14593 
   14594   if test "x$ac_ct_LIPO" = x; then
   14595     LIPO=":"
   14596   else
   14597     case $cross_compiling:$ac_tool_warned in
   14598 yes:)
   14599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14600 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14601 ac_tool_warned=yes ;;
   14602 esac
   14603     LIPO=$ac_ct_LIPO
   14604   fi
   14605 else
   14606   LIPO="$ac_cv_prog_LIPO"
   14607 fi
   14608 
   14609     if test -n "$ac_tool_prefix"; then
   14610   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14611 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14613 printf %s "checking for $ac_word... " >&6; }
   14614 if test ${ac_cv_prog_OTOOL+y}
   14615 then :
   14616   printf %s "(cached) " >&6
   14617 else $as_nop
   14618   if test -n "$OTOOL"; then
   14619   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14620 else
   14621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14622 for as_dir in $PATH
   14623 do
   14624   IFS=$as_save_IFS
   14625   case $as_dir in #(((
   14626     '') as_dir=./ ;;
   14627     */) ;;
   14628     *) as_dir=$as_dir/ ;;
   14629   esac
   14630     for ac_exec_ext in '' $ac_executable_extensions; do
   14631   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14632     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14633     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14634     break 2
   14635   fi
   14636 done
   14637   done
   14638 IFS=$as_save_IFS
   14639 
   14640 fi
   14641 fi
   14642 OTOOL=$ac_cv_prog_OTOOL
   14643 if test -n "$OTOOL"; then
   14644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14645 printf "%s\n" "$OTOOL" >&6; }
   14646 else
   14647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14648 printf "%s\n" "no" >&6; }
   14649 fi
   14650 
   14651 
   14652 fi
   14653 if test -z "$ac_cv_prog_OTOOL"; then
   14654   ac_ct_OTOOL=$OTOOL
   14655   # Extract the first word of "otool", so it can be a program name with args.
   14656 set dummy otool; ac_word=$2
   14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14658 printf %s "checking for $ac_word... " >&6; }
   14659 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14660 then :
   14661   printf %s "(cached) " >&6
   14662 else $as_nop
   14663   if test -n "$ac_ct_OTOOL"; then
   14664   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14665 else
   14666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14667 for as_dir in $PATH
   14668 do
   14669   IFS=$as_save_IFS
   14670   case $as_dir in #(((
   14671     '') as_dir=./ ;;
   14672     */) ;;
   14673     *) as_dir=$as_dir/ ;;
   14674   esac
   14675     for ac_exec_ext in '' $ac_executable_extensions; do
   14676   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14677     ac_cv_prog_ac_ct_OTOOL="otool"
   14678     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14679     break 2
   14680   fi
   14681 done
   14682   done
   14683 IFS=$as_save_IFS
   14684 
   14685 fi
   14686 fi
   14687 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14688 if test -n "$ac_ct_OTOOL"; then
   14689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14690 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   14691 else
   14692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14693 printf "%s\n" "no" >&6; }
   14694 fi
   14695 
   14696   if test "x$ac_ct_OTOOL" = x; then
   14697     OTOOL=":"
   14698   else
   14699     case $cross_compiling:$ac_tool_warned in
   14700 yes:)
   14701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14703 ac_tool_warned=yes ;;
   14704 esac
   14705     OTOOL=$ac_ct_OTOOL
   14706   fi
   14707 else
   14708   OTOOL="$ac_cv_prog_OTOOL"
   14709 fi
   14710 
   14711     if test -n "$ac_tool_prefix"; then
   14712   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14713 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14715 printf %s "checking for $ac_word... " >&6; }
   14716 if test ${ac_cv_prog_OTOOL64+y}
   14717 then :
   14718   printf %s "(cached) " >&6
   14719 else $as_nop
   14720   if test -n "$OTOOL64"; then
   14721   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14722 else
   14723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14724 for as_dir in $PATH
   14725 do
   14726   IFS=$as_save_IFS
   14727   case $as_dir in #(((
   14728     '') as_dir=./ ;;
   14729     */) ;;
   14730     *) as_dir=$as_dir/ ;;
   14731   esac
   14732     for ac_exec_ext in '' $ac_executable_extensions; do
   14733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14734     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14736     break 2
   14737   fi
   14738 done
   14739   done
   14740 IFS=$as_save_IFS
   14741 
   14742 fi
   14743 fi
   14744 OTOOL64=$ac_cv_prog_OTOOL64
   14745 if test -n "$OTOOL64"; then
   14746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14747 printf "%s\n" "$OTOOL64" >&6; }
   14748 else
   14749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14750 printf "%s\n" "no" >&6; }
   14751 fi
   14752 
   14753 
   14754 fi
   14755 if test -z "$ac_cv_prog_OTOOL64"; then
   14756   ac_ct_OTOOL64=$OTOOL64
   14757   # Extract the first word of "otool64", so it can be a program name with args.
   14758 set dummy otool64; ac_word=$2
   14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14760 printf %s "checking for $ac_word... " >&6; }
   14761 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   14762 then :
   14763   printf %s "(cached) " >&6
   14764 else $as_nop
   14765   if test -n "$ac_ct_OTOOL64"; then
   14766   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14767 else
   14768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14769 for as_dir in $PATH
   14770 do
   14771   IFS=$as_save_IFS
   14772   case $as_dir in #(((
   14773     '') as_dir=./ ;;
   14774     */) ;;
   14775     *) as_dir=$as_dir/ ;;
   14776   esac
   14777     for ac_exec_ext in '' $ac_executable_extensions; do
   14778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14779     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14781     break 2
   14782   fi
   14783 done
   14784   done
   14785 IFS=$as_save_IFS
   14786 
   14787 fi
   14788 fi
   14789 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14790 if test -n "$ac_ct_OTOOL64"; then
   14791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14792 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   14793 else
   14794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14795 printf "%s\n" "no" >&6; }
   14796 fi
   14797 
   14798   if test "x$ac_ct_OTOOL64" = x; then
   14799     OTOOL64=":"
   14800   else
   14801     case $cross_compiling:$ac_tool_warned in
   14802 yes:)
   14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14805 ac_tool_warned=yes ;;
   14806 esac
   14807     OTOOL64=$ac_ct_OTOOL64
   14808   fi
   14809 else
   14810   OTOOL64="$ac_cv_prog_OTOOL64"
   14811 fi
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14840 printf %s "checking for -single_module linker flag... " >&6; }
   14841 if test ${lt_cv_apple_cc_single_mod+y}
   14842 then :
   14843   printf %s "(cached) " >&6
   14844 else $as_nop
   14845   lt_cv_apple_cc_single_mod=no
   14846       if test -z "$LT_MULTI_MODULE"; then
   14847 	# By default we will add the -single_module flag. You can override
   14848 	# by either setting the environment variable LT_MULTI_MODULE
   14849 	# non-empty at configure time, or by adding -multi_module to the
   14850 	# link flags.
   14851 	rm -rf libconftest.dylib*
   14852 	echo "int foo(void){return 1;}" > conftest.c
   14853 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14854 -dynamiclib -Wl,-single_module conftest.c" >&5
   14855 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14856 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14857         _lt_result=$?
   14858 	# If there is a non-empty error log, and "single_module"
   14859 	# appears in it, assume the flag caused a linker warning
   14860         if test -s conftest.err && $GREP single_module conftest.err; then
   14861 	  cat conftest.err >&5
   14862 	# Otherwise, if the output was created with a 0 exit code from
   14863 	# the compiler, it worked.
   14864 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14865 	  lt_cv_apple_cc_single_mod=yes
   14866 	else
   14867 	  cat conftest.err >&5
   14868 	fi
   14869 	rm -rf libconftest.dylib*
   14870 	rm -f conftest.*
   14871       fi
   14872 fi
   14873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14874 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   14875 
   14876     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14877 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   14878 if test ${lt_cv_ld_exported_symbols_list+y}
   14879 then :
   14880   printf %s "(cached) " >&6
   14881 else $as_nop
   14882   lt_cv_ld_exported_symbols_list=no
   14883       save_LDFLAGS=$LDFLAGS
   14884       echo "_main" > conftest.sym
   14885       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14887 /* end confdefs.h.  */
   14888 
   14889 int
   14890 main (void)
   14891 {
   14892 
   14893   ;
   14894   return 0;
   14895 }
   14896 _ACEOF
   14897 if ac_fn_c_try_link "$LINENO"
   14898 then :
   14899   lt_cv_ld_exported_symbols_list=yes
   14900 else $as_nop
   14901   lt_cv_ld_exported_symbols_list=no
   14902 fi
   14903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14904     conftest$ac_exeext conftest.$ac_ext
   14905 	LDFLAGS=$save_LDFLAGS
   14906 
   14907 fi
   14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14909 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   14910 
   14911     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14912 printf %s "checking for -force_load linker flag... " >&6; }
   14913 if test ${lt_cv_ld_force_load+y}
   14914 then :
   14915   printf %s "(cached) " >&6
   14916 else $as_nop
   14917   lt_cv_ld_force_load=no
   14918       cat > conftest.c << _LT_EOF
   14919 int forced_loaded() { return 2;}
   14920 _LT_EOF
   14921       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14922       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14923       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   14924       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   14925       echo "$RANLIB libconftest.a" >&5
   14926       $RANLIB libconftest.a 2>&5
   14927       cat > conftest.c << _LT_EOF
   14928 int main() { return 0;}
   14929 _LT_EOF
   14930       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14931       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14932       _lt_result=$?
   14933       if test -s conftest.err && $GREP force_load conftest.err; then
   14934 	cat conftest.err >&5
   14935       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14936 	lt_cv_ld_force_load=yes
   14937       else
   14938 	cat conftest.err >&5
   14939       fi
   14940         rm -f conftest.err libconftest.a conftest conftest.c
   14941         rm -rf conftest.dSYM
   14942 
   14943 fi
   14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14945 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   14946     case $host_os in
   14947     rhapsody* | darwin1.[012])
   14948       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14949     darwin1.*)
   14950       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14951     darwin*)
   14952       case $MACOSX_DEPLOYMENT_TARGET,$host in
   14953         10.[012],*|,*powerpc*-darwin[5-8]*)
   14954           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14955         *)
   14956           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14957       esac
   14958     ;;
   14959   esac
   14960     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14961       _lt_dar_single_mod='$single_module'
   14962     fi
   14963     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14964       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14965     else
   14966       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14967     fi
   14968     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14969       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14970     else
   14971       _lt_dsymutil=
   14972     fi
   14973     ;;
   14974   esac
   14975 
   14976 # func_munge_path_list VARIABLE PATH
   14977 # -----------------------------------
   14978 # VARIABLE is name of variable containing _space_ separated list of
   14979 # directories to be munged by the contents of PATH, which is string
   14980 # having a format:
   14981 # "DIR[:DIR]:"
   14982 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14983 # ":DIR[:DIR]"
   14984 #       string "DIR[ DIR]" will be appended to VARIABLE
   14985 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14986 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14987 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14988 # "DIR[:DIR]"
   14989 #       VARIABLE will be replaced by "DIR[ DIR]"
   14990 func_munge_path_list ()
   14991 {
   14992     case x$2 in
   14993     x)
   14994         ;;
   14995     *:)
   14996         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14997         ;;
   14998     x:*)
   14999         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15000         ;;
   15001     *::*)
   15002         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15003         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15004         ;;
   15005     *)
   15006         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15007         ;;
   15008     esac
   15009 }
   15010 
   15011 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15012 "
   15013 if test "x$ac_cv_header_dlfcn_h" = xyes
   15014 then :
   15015   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15016 
   15017 fi
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 # Set options
   15024 
   15025 
   15026 
   15027         enable_dlopen=no
   15028 
   15029 
   15030   enable_win32_dll=no
   15031 
   15032 
   15033             # Check whether --enable-shared was given.
   15034 if test ${enable_shared+y}
   15035 then :
   15036   enableval=$enable_shared; p=${PACKAGE-default}
   15037     case $enableval in
   15038     yes) enable_shared=yes ;;
   15039     no) enable_shared=no ;;
   15040     *)
   15041       enable_shared=no
   15042       # Look at the argument we got.  We use all the common list separators.
   15043       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15044       for pkg in $enableval; do
   15045 	IFS=$lt_save_ifs
   15046 	if test "X$pkg" = "X$p"; then
   15047 	  enable_shared=yes
   15048 	fi
   15049       done
   15050       IFS=$lt_save_ifs
   15051       ;;
   15052     esac
   15053 else $as_nop
   15054   enable_shared=yes
   15055 fi
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 # Check whether --with-pic was given.
   15068 if test ${with_pic+y}
   15069 then :
   15070   withval=$with_pic; lt_p=${PACKAGE-default}
   15071     case $withval in
   15072     yes|no) pic_mode=$withval ;;
   15073     *)
   15074       pic_mode=default
   15075       # Look at the argument we got.  We use all the common list separators.
   15076       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15077       for lt_pkg in $withval; do
   15078 	IFS=$lt_save_ifs
   15079 	if test "X$lt_pkg" = "X$lt_p"; then
   15080 	  pic_mode=yes
   15081 	fi
   15082       done
   15083       IFS=$lt_save_ifs
   15084       ;;
   15085     esac
   15086 else $as_nop
   15087   pic_mode=default
   15088 fi
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097   # Check whether --enable-fast-install was given.
   15098 if test ${enable_fast_install+y}
   15099 then :
   15100   enableval=$enable_fast_install; p=${PACKAGE-default}
   15101     case $enableval in
   15102     yes) enable_fast_install=yes ;;
   15103     no) enable_fast_install=no ;;
   15104     *)
   15105       enable_fast_install=no
   15106       # Look at the argument we got.  We use all the common list separators.
   15107       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15108       for pkg in $enableval; do
   15109 	IFS=$lt_save_ifs
   15110 	if test "X$pkg" = "X$p"; then
   15111 	  enable_fast_install=yes
   15112 	fi
   15113       done
   15114       IFS=$lt_save_ifs
   15115       ;;
   15116     esac
   15117 else $as_nop
   15118   enable_fast_install=yes
   15119 fi
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128   shared_archive_member_spec=
   15129 case $host,$enable_shared in
   15130 power*-*-aix[5-9]*,yes)
   15131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15132 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15133 
   15134 # Check whether --with-aix-soname was given.
   15135 if test ${with_aix_soname+y}
   15136 then :
   15137   withval=$with_aix_soname; case $withval in
   15138     aix|svr4|both)
   15139       ;;
   15140     *)
   15141       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15142       ;;
   15143     esac
   15144     lt_cv_with_aix_soname=$with_aix_soname
   15145 else $as_nop
   15146   if test ${lt_cv_with_aix_soname+y}
   15147 then :
   15148   printf %s "(cached) " >&6
   15149 else $as_nop
   15150   lt_cv_with_aix_soname=aix
   15151 fi
   15152 
   15153     with_aix_soname=$lt_cv_with_aix_soname
   15154 fi
   15155 
   15156   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15157 printf "%s\n" "$with_aix_soname" >&6; }
   15158   if test aix != "$with_aix_soname"; then
   15159     # For the AIX way of multilib, we name the shared archive member
   15160     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15161     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15162     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15163     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15164     if test 64 = "${OBJECT_MODE-32}"; then
   15165       shared_archive_member_spec=shr_64
   15166     else
   15167       shared_archive_member_spec=shr
   15168     fi
   15169   fi
   15170   ;;
   15171 *)
   15172   with_aix_soname=aix
   15173   ;;
   15174 esac
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 # This can be used to rebuild libtool when needed
   15186 LIBTOOL_DEPS=$ltmain
   15187 
   15188 # Always use our own libtool.
   15189 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 test -z "$LN_S" && LN_S="ln -s"
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 if test -n "${ZSH_VERSION+set}"; then
   15236    setopt NO_GLOB_SUBST
   15237 fi
   15238 
   15239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15240 printf %s "checking for objdir... " >&6; }
   15241 if test ${lt_cv_objdir+y}
   15242 then :
   15243   printf %s "(cached) " >&6
   15244 else $as_nop
   15245   rm -f .libs 2>/dev/null
   15246 mkdir .libs 2>/dev/null
   15247 if test -d .libs; then
   15248   lt_cv_objdir=.libs
   15249 else
   15250   # MS-DOS does not allow filenames that begin with a dot.
   15251   lt_cv_objdir=_libs
   15252 fi
   15253 rmdir .libs 2>/dev/null
   15254 fi
   15255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15256 printf "%s\n" "$lt_cv_objdir" >&6; }
   15257 objdir=$lt_cv_objdir
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15264 
   15265 
   15266 
   15267 
   15268 case $host_os in
   15269 aix3*)
   15270   # AIX sometimes has problems with the GCC collect2 program.  For some
   15271   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15272   # vanish in a puff of smoke.
   15273   if test set != "${COLLECT_NAMES+set}"; then
   15274     COLLECT_NAMES=
   15275     export COLLECT_NAMES
   15276   fi
   15277   ;;
   15278 esac
   15279 
   15280 # Global variables:
   15281 ofile=libtool
   15282 can_build_shared=yes
   15283 
   15284 # All known linkers require a '.a' archive for static linking (except MSVC and
   15285 # ICC, which need '.lib').
   15286 libext=a
   15287 
   15288 with_gnu_ld=$lt_cv_prog_gnu_ld
   15289 
   15290 old_CC=$CC
   15291 old_CFLAGS=$CFLAGS
   15292 
   15293 # Set sane defaults for various variables
   15294 test -z "$CC" && CC=cc
   15295 test -z "$LTCC" && LTCC=$CC
   15296 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15297 test -z "$LD" && LD=ld
   15298 test -z "$ac_objext" && ac_objext=o
   15299 
   15300 func_cc_basename $compiler
   15301 cc_basename=$func_cc_basename_result
   15302 
   15303 
   15304 # Only perform the check for file, if the check method requires it
   15305 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15306 case $deplibs_check_method in
   15307 file_magic*)
   15308   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15309     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15310 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15311 if test ${lt_cv_path_MAGIC_CMD+y}
   15312 then :
   15313   printf %s "(cached) " >&6
   15314 else $as_nop
   15315   case $MAGIC_CMD in
   15316 [\\/*] |  ?:[\\/]*)
   15317   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15318   ;;
   15319 *)
   15320   lt_save_MAGIC_CMD=$MAGIC_CMD
   15321   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15322   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15323   for ac_dir in $ac_dummy; do
   15324     IFS=$lt_save_ifs
   15325     test -z "$ac_dir" && ac_dir=.
   15326     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15327       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15328       if test -n "$file_magic_test_file"; then
   15329 	case $deplibs_check_method in
   15330 	"file_magic "*)
   15331 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15332 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15333 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15334 	    $EGREP "$file_magic_regex" > /dev/null; then
   15335 	    :
   15336 	  else
   15337 	    cat <<_LT_EOF 1>&2
   15338 
   15339 *** Warning: the command libtool uses to detect shared libraries,
   15340 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15341 *** The result is that libtool may fail to recognize shared libraries
   15342 *** as such.  This will affect the creation of libtool libraries that
   15343 *** depend on shared libraries, but programs linked with such libtool
   15344 *** libraries will work regardless of this problem.  Nevertheless, you
   15345 *** may want to report the problem to your system manager and/or to
   15346 *** bug-libtool@gnu.org
   15347 
   15348 _LT_EOF
   15349 	  fi ;;
   15350 	esac
   15351       fi
   15352       break
   15353     fi
   15354   done
   15355   IFS=$lt_save_ifs
   15356   MAGIC_CMD=$lt_save_MAGIC_CMD
   15357   ;;
   15358 esac
   15359 fi
   15360 
   15361 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15362 if test -n "$MAGIC_CMD"; then
   15363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15364 printf "%s\n" "$MAGIC_CMD" >&6; }
   15365 else
   15366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15367 printf "%s\n" "no" >&6; }
   15368 fi
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15375   if test -n "$ac_tool_prefix"; then
   15376     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15377 printf %s "checking for file... " >&6; }
   15378 if test ${lt_cv_path_MAGIC_CMD+y}
   15379 then :
   15380   printf %s "(cached) " >&6
   15381 else $as_nop
   15382   case $MAGIC_CMD in
   15383 [\\/*] |  ?:[\\/]*)
   15384   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15385   ;;
   15386 *)
   15387   lt_save_MAGIC_CMD=$MAGIC_CMD
   15388   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15389   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15390   for ac_dir in $ac_dummy; do
   15391     IFS=$lt_save_ifs
   15392     test -z "$ac_dir" && ac_dir=.
   15393     if test -f "$ac_dir/file"; then
   15394       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15395       if test -n "$file_magic_test_file"; then
   15396 	case $deplibs_check_method in
   15397 	"file_magic "*)
   15398 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15399 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15400 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15401 	    $EGREP "$file_magic_regex" > /dev/null; then
   15402 	    :
   15403 	  else
   15404 	    cat <<_LT_EOF 1>&2
   15405 
   15406 *** Warning: the command libtool uses to detect shared libraries,
   15407 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15408 *** The result is that libtool may fail to recognize shared libraries
   15409 *** as such.  This will affect the creation of libtool libraries that
   15410 *** depend on shared libraries, but programs linked with such libtool
   15411 *** libraries will work regardless of this problem.  Nevertheless, you
   15412 *** may want to report the problem to your system manager and/or to
   15413 *** bug-libtool@gnu.org
   15414 
   15415 _LT_EOF
   15416 	  fi ;;
   15417 	esac
   15418       fi
   15419       break
   15420     fi
   15421   done
   15422   IFS=$lt_save_ifs
   15423   MAGIC_CMD=$lt_save_MAGIC_CMD
   15424   ;;
   15425 esac
   15426 fi
   15427 
   15428 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15429 if test -n "$MAGIC_CMD"; then
   15430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15431 printf "%s\n" "$MAGIC_CMD" >&6; }
   15432 else
   15433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15434 printf "%s\n" "no" >&6; }
   15435 fi
   15436 
   15437 
   15438   else
   15439     MAGIC_CMD=:
   15440   fi
   15441 fi
   15442 
   15443   fi
   15444   ;;
   15445 esac
   15446 
   15447 # Use C for the default configuration in the libtool script
   15448 
   15449 lt_save_CC=$CC
   15450 ac_ext=c
   15451 ac_cpp='$CPP $CPPFLAGS'
   15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15455 
   15456 
   15457 # Source file extension for C test sources.
   15458 ac_ext=c
   15459 
   15460 # Object file extension for compiled C test sources.
   15461 objext=o
   15462 objext=$objext
   15463 
   15464 # Code to be used in simple compile tests
   15465 lt_simple_compile_test_code="int some_variable = 0;"
   15466 
   15467 # Code to be used in simple link tests
   15468 lt_simple_link_test_code='int main(){return(0);}'
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 # If no C compiler was specified, use CC.
   15477 LTCC=${LTCC-"$CC"}
   15478 
   15479 # If no C compiler flags were specified, use CFLAGS.
   15480 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15481 
   15482 # Allow CC to be a program name with arguments.
   15483 compiler=$CC
   15484 
   15485 # Save the default compiler, since it gets overwritten when the other
   15486 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15487 compiler_DEFAULT=$CC
   15488 
   15489 # save warnings/boilerplate of simple test code
   15490 ac_outfile=conftest.$ac_objext
   15491 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15492 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15493 _lt_compiler_boilerplate=`cat conftest.err`
   15494 $RM conftest*
   15495 
   15496 ac_outfile=conftest.$ac_objext
   15497 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15498 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15499 _lt_linker_boilerplate=`cat conftest.err`
   15500 $RM -r conftest*
   15501 
   15502 
   15503 if test -n "$compiler"; then
   15504 
   15505 lt_prog_compiler_no_builtin_flag=
   15506 
   15507 if test yes = "$GCC"; then
   15508   case $cc_basename in
   15509   nvcc*)
   15510     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15511   *)
   15512     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15513   esac
   15514 
   15515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15516 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15517 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15518 then :
   15519   printf %s "(cached) " >&6
   15520 else $as_nop
   15521   lt_cv_prog_compiler_rtti_exceptions=no
   15522    ac_outfile=conftest.$ac_objext
   15523    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15524    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15525    # Insert the option either (1) after the last *FLAGS variable, or
   15526    # (2) before a word containing "conftest.", or (3) at the end.
   15527    # Note that $ac_compile itself does not contain backslashes and begins
   15528    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15529    # The option is referenced via a variable to avoid confusing sed.
   15530    lt_compile=`echo "$ac_compile" | $SED \
   15531    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15532    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15533    -e 's:$: $lt_compiler_flag:'`
   15534    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15535    (eval "$lt_compile" 2>conftest.err)
   15536    ac_status=$?
   15537    cat conftest.err >&5
   15538    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15539    if (exit $ac_status) && test -s "$ac_outfile"; then
   15540      # The compiler can only warn and ignore the option if not recognized
   15541      # So say no if there are warnings other than the usual output.
   15542      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15543      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15544      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15545        lt_cv_prog_compiler_rtti_exceptions=yes
   15546      fi
   15547    fi
   15548    $RM conftest*
   15549 
   15550 fi
   15551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15552 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15553 
   15554 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15555     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15556 else
   15557     :
   15558 fi
   15559 
   15560 fi
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567   lt_prog_compiler_wl=
   15568 lt_prog_compiler_pic=
   15569 lt_prog_compiler_static=
   15570 
   15571 
   15572   if test yes = "$GCC"; then
   15573     lt_prog_compiler_wl='-Wl,'
   15574     lt_prog_compiler_static='-static'
   15575 
   15576     case $host_os in
   15577       aix*)
   15578       # All AIX code is PIC.
   15579       if test ia64 = "$host_cpu"; then
   15580 	# AIX 5 now supports IA64 processor
   15581 	lt_prog_compiler_static='-Bstatic'
   15582       fi
   15583       lt_prog_compiler_pic='-fPIC'
   15584       ;;
   15585 
   15586     amigaos*)
   15587       case $host_cpu in
   15588       powerpc)
   15589             # see comment about AmigaOS4 .so support
   15590             lt_prog_compiler_pic='-fPIC'
   15591         ;;
   15592       m68k)
   15593             # FIXME: we need at least 68020 code to build shared libraries, but
   15594             # adding the '-m68020' flag to GCC prevents building anything better,
   15595             # like '-m68040'.
   15596             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15597         ;;
   15598       esac
   15599       ;;
   15600 
   15601     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15602       # PIC is the default for these OSes.
   15603       ;;
   15604 
   15605     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15606       # This hack is so that the source file can tell whether it is being
   15607       # built for inclusion in a dll (and should export symbols for example).
   15608       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15609       # (--disable-auto-import) libraries
   15610       lt_prog_compiler_pic='-DDLL_EXPORT'
   15611       case $host_os in
   15612       os2*)
   15613 	lt_prog_compiler_static='$wl-static'
   15614 	;;
   15615       esac
   15616       ;;
   15617 
   15618     darwin* | rhapsody*)
   15619       # PIC is the default on this platform
   15620       # Common symbols not allowed in MH_DYLIB files
   15621       lt_prog_compiler_pic='-fno-common'
   15622       ;;
   15623 
   15624     haiku*)
   15625       # PIC is the default for Haiku.
   15626       # The "-static" flag exists, but is broken.
   15627       lt_prog_compiler_static=
   15628       ;;
   15629 
   15630     hpux*)
   15631       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15632       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15633       # sets the default TLS model and affects inlining.
   15634       case $host_cpu in
   15635       hppa*64*)
   15636 	# +Z the default
   15637 	;;
   15638       *)
   15639 	lt_prog_compiler_pic='-fPIC'
   15640 	;;
   15641       esac
   15642       ;;
   15643 
   15644     interix[3-9]*)
   15645       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15646       # Instead, we relocate shared libraries at runtime.
   15647       ;;
   15648 
   15649     msdosdjgpp*)
   15650       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15651       # on systems that don't support them.
   15652       lt_prog_compiler_can_build_shared=no
   15653       enable_shared=no
   15654       ;;
   15655 
   15656     *nto* | *qnx*)
   15657       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15658       # it will coredump.
   15659       lt_prog_compiler_pic='-fPIC -shared'
   15660       ;;
   15661 
   15662     sysv4*MP*)
   15663       if test -d /usr/nec; then
   15664 	lt_prog_compiler_pic=-Kconform_pic
   15665       fi
   15666       ;;
   15667 
   15668     *)
   15669       lt_prog_compiler_pic='-fPIC'
   15670       ;;
   15671     esac
   15672 
   15673     case $cc_basename in
   15674     nvcc*) # Cuda Compiler Driver 2.2
   15675       lt_prog_compiler_wl='-Xlinker '
   15676       if test -n "$lt_prog_compiler_pic"; then
   15677         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15678       fi
   15679       ;;
   15680     esac
   15681   else
   15682     # PORTME Check for flag to pass linker flags through the system compiler.
   15683     case $host_os in
   15684     aix*)
   15685       lt_prog_compiler_wl='-Wl,'
   15686       if test ia64 = "$host_cpu"; then
   15687 	# AIX 5 now supports IA64 processor
   15688 	lt_prog_compiler_static='-Bstatic'
   15689       else
   15690 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15691       fi
   15692       ;;
   15693 
   15694     darwin* | rhapsody*)
   15695       # PIC is the default on this platform
   15696       # Common symbols not allowed in MH_DYLIB files
   15697       lt_prog_compiler_pic='-fno-common'
   15698       case $cc_basename in
   15699       nagfor*)
   15700         # NAG Fortran compiler
   15701         lt_prog_compiler_wl='-Wl,-Wl,,'
   15702         lt_prog_compiler_pic='-PIC'
   15703         lt_prog_compiler_static='-Bstatic'
   15704         ;;
   15705       esac
   15706       ;;
   15707 
   15708     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15709       # This hack is so that the source file can tell whether it is being
   15710       # built for inclusion in a dll (and should export symbols for example).
   15711       lt_prog_compiler_pic='-DDLL_EXPORT'
   15712       case $host_os in
   15713       os2*)
   15714 	lt_prog_compiler_static='$wl-static'
   15715 	;;
   15716       esac
   15717       ;;
   15718 
   15719     hpux9* | hpux10* | hpux11*)
   15720       lt_prog_compiler_wl='-Wl,'
   15721       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15722       # not for PA HP-UX.
   15723       case $host_cpu in
   15724       hppa*64*|ia64*)
   15725 	# +Z the default
   15726 	;;
   15727       *)
   15728 	lt_prog_compiler_pic='+Z'
   15729 	;;
   15730       esac
   15731       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15732       lt_prog_compiler_static='$wl-a ${wl}archive'
   15733       ;;
   15734 
   15735     irix5* | irix6* | nonstopux*)
   15736       lt_prog_compiler_wl='-Wl,'
   15737       # PIC (with -KPIC) is the default.
   15738       lt_prog_compiler_static='-non_shared'
   15739       ;;
   15740 
   15741     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15742       case $cc_basename in
   15743       # old Intel for x86_64, which still supported -KPIC.
   15744       ecc*)
   15745 	lt_prog_compiler_wl='-Wl,'
   15746 	lt_prog_compiler_pic='-KPIC'
   15747 	lt_prog_compiler_static='-static'
   15748         ;;
   15749       # icc used to be incompatible with GCC.
   15750       # ICC 10 doesn't accept -KPIC any more.
   15751       icc* | ifort*)
   15752 	lt_prog_compiler_wl='-Wl,'
   15753 	lt_prog_compiler_pic='-fPIC'
   15754 	lt_prog_compiler_static='-static'
   15755         ;;
   15756       # Lahey Fortran 8.1.
   15757       lf95*)
   15758 	lt_prog_compiler_wl='-Wl,'
   15759 	lt_prog_compiler_pic='--shared'
   15760 	lt_prog_compiler_static='--static'
   15761 	;;
   15762       nagfor*)
   15763 	# NAG Fortran compiler
   15764 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15765 	lt_prog_compiler_pic='-PIC'
   15766 	lt_prog_compiler_static='-Bstatic'
   15767 	;;
   15768       tcc*)
   15769 	# Fabrice Bellard et al's Tiny C Compiler
   15770 	lt_prog_compiler_wl='-Wl,'
   15771 	lt_prog_compiler_pic='-fPIC'
   15772 	lt_prog_compiler_static='-static'
   15773 	;;
   15774       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15775         # Portland Group compilers (*not* the Pentium gcc compiler,
   15776 	# which looks to be a dead project)
   15777 	lt_prog_compiler_wl='-Wl,'
   15778 	lt_prog_compiler_pic='-fpic'
   15779 	lt_prog_compiler_static='-Bstatic'
   15780         ;;
   15781       ccc*)
   15782         lt_prog_compiler_wl='-Wl,'
   15783         # All Alpha code is PIC.
   15784         lt_prog_compiler_static='-non_shared'
   15785         ;;
   15786       xl* | bgxl* | bgf* | mpixl*)
   15787 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15788 	lt_prog_compiler_wl='-Wl,'
   15789 	lt_prog_compiler_pic='-qpic'
   15790 	lt_prog_compiler_static='-qstaticlink'
   15791 	;;
   15792       *)
   15793 	case `$CC -V 2>&1 | $SED 5q` in
   15794 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15795 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15796 	  lt_prog_compiler_pic='-KPIC'
   15797 	  lt_prog_compiler_static='-Bstatic'
   15798 	  lt_prog_compiler_wl=''
   15799 	  ;;
   15800 	*Sun\ F* | *Sun*Fortran*)
   15801 	  lt_prog_compiler_pic='-KPIC'
   15802 	  lt_prog_compiler_static='-Bstatic'
   15803 	  lt_prog_compiler_wl='-Qoption ld '
   15804 	  ;;
   15805 	*Sun\ C*)
   15806 	  # Sun C 5.9
   15807 	  lt_prog_compiler_pic='-KPIC'
   15808 	  lt_prog_compiler_static='-Bstatic'
   15809 	  lt_prog_compiler_wl='-Wl,'
   15810 	  ;;
   15811         *Intel*\ [CF]*Compiler*)
   15812 	  lt_prog_compiler_wl='-Wl,'
   15813 	  lt_prog_compiler_pic='-fPIC'
   15814 	  lt_prog_compiler_static='-static'
   15815 	  ;;
   15816 	*Portland\ Group*)
   15817 	  lt_prog_compiler_wl='-Wl,'
   15818 	  lt_prog_compiler_pic='-fpic'
   15819 	  lt_prog_compiler_static='-Bstatic'
   15820 	  ;;
   15821 	esac
   15822 	;;
   15823       esac
   15824       ;;
   15825 
   15826     newsos6)
   15827       lt_prog_compiler_pic='-KPIC'
   15828       lt_prog_compiler_static='-Bstatic'
   15829       ;;
   15830 
   15831     *nto* | *qnx*)
   15832       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15833       # it will coredump.
   15834       lt_prog_compiler_pic='-fPIC -shared'
   15835       ;;
   15836 
   15837     osf3* | osf4* | osf5*)
   15838       lt_prog_compiler_wl='-Wl,'
   15839       # All OSF/1 code is PIC.
   15840       lt_prog_compiler_static='-non_shared'
   15841       ;;
   15842 
   15843     rdos*)
   15844       lt_prog_compiler_static='-non_shared'
   15845       ;;
   15846 
   15847     solaris*)
   15848       lt_prog_compiler_pic='-KPIC'
   15849       lt_prog_compiler_static='-Bstatic'
   15850       case $cc_basename in
   15851       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15852 	lt_prog_compiler_wl='-Qoption ld ';;
   15853       *)
   15854 	lt_prog_compiler_wl='-Wl,';;
   15855       esac
   15856       ;;
   15857 
   15858     sunos4*)
   15859       lt_prog_compiler_wl='-Qoption ld '
   15860       lt_prog_compiler_pic='-PIC'
   15861       lt_prog_compiler_static='-Bstatic'
   15862       ;;
   15863 
   15864     sysv4 | sysv4.2uw2* | sysv4.3*)
   15865       lt_prog_compiler_wl='-Wl,'
   15866       lt_prog_compiler_pic='-KPIC'
   15867       lt_prog_compiler_static='-Bstatic'
   15868       ;;
   15869 
   15870     sysv4*MP*)
   15871       if test -d /usr/nec; then
   15872 	lt_prog_compiler_pic='-Kconform_pic'
   15873 	lt_prog_compiler_static='-Bstatic'
   15874       fi
   15875       ;;
   15876 
   15877     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15878       lt_prog_compiler_wl='-Wl,'
   15879       lt_prog_compiler_pic='-KPIC'
   15880       lt_prog_compiler_static='-Bstatic'
   15881       ;;
   15882 
   15883     unicos*)
   15884       lt_prog_compiler_wl='-Wl,'
   15885       lt_prog_compiler_can_build_shared=no
   15886       ;;
   15887 
   15888     uts4*)
   15889       lt_prog_compiler_pic='-pic'
   15890       lt_prog_compiler_static='-Bstatic'
   15891       ;;
   15892 
   15893     *)
   15894       lt_prog_compiler_can_build_shared=no
   15895       ;;
   15896     esac
   15897   fi
   15898 
   15899 case $host_os in
   15900   # For platforms that do not support PIC, -DPIC is meaningless:
   15901   *djgpp*)
   15902     lt_prog_compiler_pic=
   15903     ;;
   15904   *)
   15905     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15906     ;;
   15907 esac
   15908 
   15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15910 printf %s "checking for $compiler option to produce PIC... " >&6; }
   15911 if test ${lt_cv_prog_compiler_pic+y}
   15912 then :
   15913   printf %s "(cached) " >&6
   15914 else $as_nop
   15915   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15916 fi
   15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15918 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   15919 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15920 
   15921 #
   15922 # Check to make sure the PIC flag actually works.
   15923 #
   15924 if test -n "$lt_prog_compiler_pic"; then
   15925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15926 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15927 if test ${lt_cv_prog_compiler_pic_works+y}
   15928 then :
   15929   printf %s "(cached) " >&6
   15930 else $as_nop
   15931   lt_cv_prog_compiler_pic_works=no
   15932    ac_outfile=conftest.$ac_objext
   15933    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15934    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15935    # Insert the option either (1) after the last *FLAGS variable, or
   15936    # (2) before a word containing "conftest.", or (3) at the end.
   15937    # Note that $ac_compile itself does not contain backslashes and begins
   15938    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15939    # The option is referenced via a variable to avoid confusing sed.
   15940    lt_compile=`echo "$ac_compile" | $SED \
   15941    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15942    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15943    -e 's:$: $lt_compiler_flag:'`
   15944    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15945    (eval "$lt_compile" 2>conftest.err)
   15946    ac_status=$?
   15947    cat conftest.err >&5
   15948    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15949    if (exit $ac_status) && test -s "$ac_outfile"; then
   15950      # The compiler can only warn and ignore the option if not recognized
   15951      # So say no if there are warnings other than the usual output.
   15952      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15953      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15954      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15955        lt_cv_prog_compiler_pic_works=yes
   15956      fi
   15957    fi
   15958    $RM conftest*
   15959 
   15960 fi
   15961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15962 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   15963 
   15964 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15965     case $lt_prog_compiler_pic in
   15966      "" | " "*) ;;
   15967      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15968      esac
   15969 else
   15970     lt_prog_compiler_pic=
   15971      lt_prog_compiler_can_build_shared=no
   15972 fi
   15973 
   15974 fi
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 #
   15987 # Check to make sure the static flag actually works.
   15988 #
   15989 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15991 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15992 if test ${lt_cv_prog_compiler_static_works+y}
   15993 then :
   15994   printf %s "(cached) " >&6
   15995 else $as_nop
   15996   lt_cv_prog_compiler_static_works=no
   15997    save_LDFLAGS=$LDFLAGS
   15998    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15999    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16000    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16001      # The linker can only warn and ignore the option if not recognized
   16002      # So say no if there are warnings
   16003      if test -s conftest.err; then
   16004        # Append any errors to the config.log.
   16005        cat conftest.err 1>&5
   16006        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16007        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16008        if diff conftest.exp conftest.er2 >/dev/null; then
   16009          lt_cv_prog_compiler_static_works=yes
   16010        fi
   16011      else
   16012        lt_cv_prog_compiler_static_works=yes
   16013      fi
   16014    fi
   16015    $RM -r conftest*
   16016    LDFLAGS=$save_LDFLAGS
   16017 
   16018 fi
   16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16020 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16021 
   16022 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16023     :
   16024 else
   16025     lt_prog_compiler_static=
   16026 fi
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16035 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16036 if test ${lt_cv_prog_compiler_c_o+y}
   16037 then :
   16038   printf %s "(cached) " >&6
   16039 else $as_nop
   16040   lt_cv_prog_compiler_c_o=no
   16041    $RM -r conftest 2>/dev/null
   16042    mkdir conftest
   16043    cd conftest
   16044    mkdir out
   16045    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16046 
   16047    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16048    # Insert the option either (1) after the last *FLAGS variable, or
   16049    # (2) before a word containing "conftest.", or (3) at the end.
   16050    # Note that $ac_compile itself does not contain backslashes and begins
   16051    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16052    lt_compile=`echo "$ac_compile" | $SED \
   16053    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16054    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16055    -e 's:$: $lt_compiler_flag:'`
   16056    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16057    (eval "$lt_compile" 2>out/conftest.err)
   16058    ac_status=$?
   16059    cat out/conftest.err >&5
   16060    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16061    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16062    then
   16063      # The compiler can only warn and ignore the option if not recognized
   16064      # So say no if there are warnings
   16065      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16066      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16067      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16068        lt_cv_prog_compiler_c_o=yes
   16069      fi
   16070    fi
   16071    chmod u+w . 2>&5
   16072    $RM conftest*
   16073    # SGI C++ compiler will create directory out/ii_files/ for
   16074    # template instantiation
   16075    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16076    $RM out/* && rmdir out
   16077    cd ..
   16078    $RM -r conftest
   16079    $RM conftest*
   16080 
   16081 fi
   16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16083 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16091 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16092 if test ${lt_cv_prog_compiler_c_o+y}
   16093 then :
   16094   printf %s "(cached) " >&6
   16095 else $as_nop
   16096   lt_cv_prog_compiler_c_o=no
   16097    $RM -r conftest 2>/dev/null
   16098    mkdir conftest
   16099    cd conftest
   16100    mkdir out
   16101    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16102 
   16103    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16104    # Insert the option either (1) after the last *FLAGS variable, or
   16105    # (2) before a word containing "conftest.", or (3) at the end.
   16106    # Note that $ac_compile itself does not contain backslashes and begins
   16107    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16108    lt_compile=`echo "$ac_compile" | $SED \
   16109    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16110    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16111    -e 's:$: $lt_compiler_flag:'`
   16112    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16113    (eval "$lt_compile" 2>out/conftest.err)
   16114    ac_status=$?
   16115    cat out/conftest.err >&5
   16116    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16117    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16118    then
   16119      # The compiler can only warn and ignore the option if not recognized
   16120      # So say no if there are warnings
   16121      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16122      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16123      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16124        lt_cv_prog_compiler_c_o=yes
   16125      fi
   16126    fi
   16127    chmod u+w . 2>&5
   16128    $RM conftest*
   16129    # SGI C++ compiler will create directory out/ii_files/ for
   16130    # template instantiation
   16131    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16132    $RM out/* && rmdir out
   16133    cd ..
   16134    $RM -r conftest
   16135    $RM conftest*
   16136 
   16137 fi
   16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16139 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16140 
   16141 
   16142 
   16143 
   16144 hard_links=nottested
   16145 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16146   # do not overwrite the value of need_locks provided by the user
   16147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16148 printf %s "checking if we can lock with hard links... " >&6; }
   16149   hard_links=yes
   16150   $RM conftest*
   16151   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16152   touch conftest.a
   16153   ln conftest.a conftest.b 2>&5 || hard_links=no
   16154   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16156 printf "%s\n" "$hard_links" >&6; }
   16157   if test no = "$hard_links"; then
   16158     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16159 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16160     need_locks=warn
   16161   fi
   16162 else
   16163   need_locks=no
   16164 fi
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16172 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16173 
   16174   runpath_var=
   16175   allow_undefined_flag=
   16176   always_export_symbols=no
   16177   archive_cmds=
   16178   archive_expsym_cmds=
   16179   compiler_needs_object=no
   16180   enable_shared_with_static_runtimes=no
   16181   export_dynamic_flag_spec=
   16182   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16183   hardcode_automatic=no
   16184   hardcode_direct=no
   16185   hardcode_direct_absolute=no
   16186   hardcode_libdir_flag_spec=
   16187   hardcode_libdir_separator=
   16188   hardcode_minus_L=no
   16189   hardcode_shlibpath_var=unsupported
   16190   inherit_rpath=no
   16191   link_all_deplibs=unknown
   16192   module_cmds=
   16193   module_expsym_cmds=
   16194   old_archive_from_new_cmds=
   16195   old_archive_from_expsyms_cmds=
   16196   thread_safe_flag_spec=
   16197   whole_archive_flag_spec=
   16198   # include_expsyms should be a list of space-separated symbols to be *always*
   16199   # included in the symbol list
   16200   include_expsyms=
   16201   # exclude_expsyms can be an extended regexp of symbols to exclude
   16202   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16203   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16204   # as well as any symbol that contains 'd'.
   16205   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16206   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16207   # platforms (ab)use it in PIC code, but their linkers get confused if
   16208   # the symbol is explicitly referenced.  Since portable code cannot
   16209   # rely on this symbol name, it's probably fine to never include it in
   16210   # preloaded symbol tables.
   16211   # Exclude shared library initialization/finalization symbols.
   16212   extract_expsyms_cmds=
   16213 
   16214   case $host_os in
   16215   cygwin* | mingw* | pw32* | cegcc*)
   16216     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16217     # When not using gcc, we currently assume that we are using
   16218     # Microsoft Visual C++ or Intel C++ Compiler.
   16219     if test yes != "$GCC"; then
   16220       with_gnu_ld=no
   16221     fi
   16222     ;;
   16223   interix*)
   16224     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16225     with_gnu_ld=yes
   16226     ;;
   16227   openbsd* | bitrig*)
   16228     with_gnu_ld=no
   16229     ;;
   16230   esac
   16231 
   16232   ld_shlibs=yes
   16233 
   16234   # On some targets, GNU ld is compatible enough with the native linker
   16235   # that we're better off using the native interface for both.
   16236   lt_use_gnu_ld_interface=no
   16237   if test yes = "$with_gnu_ld"; then
   16238     case $host_os in
   16239       aix*)
   16240 	# The AIX port of GNU ld has always aspired to compatibility
   16241 	# with the native linker.  However, as the warning in the GNU ld
   16242 	# block says, versions before 2.19.5* couldn't really create working
   16243 	# shared libraries, regardless of the interface used.
   16244 	case `$LD -v 2>&1` in
   16245 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16246 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16247 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16248 	  *)
   16249 	    lt_use_gnu_ld_interface=yes
   16250 	    ;;
   16251 	esac
   16252 	;;
   16253       *)
   16254 	lt_use_gnu_ld_interface=yes
   16255 	;;
   16256     esac
   16257   fi
   16258 
   16259   if test yes = "$lt_use_gnu_ld_interface"; then
   16260     # If archive_cmds runs LD, not CC, wlarc should be empty
   16261     wlarc='$wl'
   16262 
   16263     # Set some defaults for GNU ld with shared library support. These
   16264     # are reset later if shared libraries are not supported. Putting them
   16265     # here allows them to be overridden if necessary.
   16266     runpath_var=LD_RUN_PATH
   16267     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16268     export_dynamic_flag_spec='$wl--export-dynamic'
   16269     # ancient GNU ld didn't support --whole-archive et. al.
   16270     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16271       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16272     else
   16273       whole_archive_flag_spec=
   16274     fi
   16275     supports_anon_versioning=no
   16276     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16277       *GNU\ gold*) supports_anon_versioning=yes ;;
   16278       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16279       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16280       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16281       *\ 2.11.*) ;; # other 2.11 versions
   16282       *) supports_anon_versioning=yes ;;
   16283     esac
   16284 
   16285     # See if GNU ld supports shared libraries.
   16286     case $host_os in
   16287     aix[3-9]*)
   16288       # On AIX/PPC, the GNU linker is very broken
   16289       if test ia64 != "$host_cpu"; then
   16290 	ld_shlibs=no
   16291 	cat <<_LT_EOF 1>&2
   16292 
   16293 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16294 *** to be unable to reliably create shared libraries on AIX.
   16295 *** Therefore, libtool is disabling shared libraries support.  If you
   16296 *** really care for shared libraries, you may want to install binutils
   16297 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16298 *** You will then need to restart the configuration process.
   16299 
   16300 _LT_EOF
   16301       fi
   16302       ;;
   16303 
   16304     amigaos*)
   16305       case $host_cpu in
   16306       powerpc)
   16307             # see comment about AmigaOS4 .so support
   16308             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16309             archive_expsym_cmds=''
   16310         ;;
   16311       m68k)
   16312             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)'
   16313             hardcode_libdir_flag_spec='-L$libdir'
   16314             hardcode_minus_L=yes
   16315         ;;
   16316       esac
   16317       ;;
   16318 
   16319     beos*)
   16320       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16321 	allow_undefined_flag=unsupported
   16322 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16323 	# support --undefined.  This deserves some investigation.  FIXME
   16324 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16325       else
   16326 	ld_shlibs=no
   16327       fi
   16328       ;;
   16329 
   16330     cygwin* | mingw* | pw32* | cegcc*)
   16331       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16332       # as there is no search path for DLLs.
   16333       hardcode_libdir_flag_spec='-L$libdir'
   16334       export_dynamic_flag_spec='$wl--export-all-symbols'
   16335       allow_undefined_flag=unsupported
   16336       always_export_symbols=no
   16337       enable_shared_with_static_runtimes=yes
   16338       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'
   16339       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16340 
   16341       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16342         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16343 	# If the export-symbols file already is a .def file, use it as
   16344 	# is; otherwise, prepend EXPORTS...
   16345 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16346           cp $export_symbols $output_objdir/$soname.def;
   16347         else
   16348           echo EXPORTS > $output_objdir/$soname.def;
   16349           cat $export_symbols >> $output_objdir/$soname.def;
   16350         fi~
   16351         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16352       else
   16353 	ld_shlibs=no
   16354       fi
   16355       ;;
   16356 
   16357     haiku*)
   16358       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16359       link_all_deplibs=yes
   16360       ;;
   16361 
   16362     os2*)
   16363       hardcode_libdir_flag_spec='-L$libdir'
   16364       hardcode_minus_L=yes
   16365       allow_undefined_flag=unsupported
   16366       shrext_cmds=.dll
   16367       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16368 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16369 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16370 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16371 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16372 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16373 	emximp -o $lib $output_objdir/$libname.def'
   16374       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16375 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16376 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16377 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16378 	prefix_cmds="$SED"~
   16379 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16380 	  prefix_cmds="$prefix_cmds -e 1d";
   16381 	fi~
   16382 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16383 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16384 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16385 	emximp -o $lib $output_objdir/$libname.def'
   16386       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16387       enable_shared_with_static_runtimes=yes
   16388       file_list_spec='@'
   16389       ;;
   16390 
   16391     interix[3-9]*)
   16392       hardcode_direct=no
   16393       hardcode_shlibpath_var=no
   16394       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16395       export_dynamic_flag_spec='$wl-E'
   16396       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16397       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16398       # default) and relocated if they conflict, which is a slow very memory
   16399       # consuming and fragmenting process.  To avoid this, we pick a random,
   16400       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16401       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16402       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16403       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'
   16404       ;;
   16405 
   16406     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16407       tmp_diet=no
   16408       if test linux-dietlibc = "$host_os"; then
   16409 	case $cc_basename in
   16410 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16411 	esac
   16412       fi
   16413       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16414 	 && test no = "$tmp_diet"
   16415       then
   16416 	tmp_addflag=' $pic_flag'
   16417 	tmp_sharedflag='-shared'
   16418 	case $cc_basename,$host_cpu in
   16419         pgcc*)				# Portland Group C compiler
   16420 	  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'
   16421 	  tmp_addflag=' $pic_flag'
   16422 	  ;;
   16423 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16424 					# Portland Group f77 and f90 compilers
   16425 	  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'
   16426 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16427 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16428 	  tmp_addflag=' -i_dynamic' ;;
   16429 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16430 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16431 	ifc* | ifort*)			# Intel Fortran compiler
   16432 	  tmp_addflag=' -nofor_main' ;;
   16433 	lf95*)				# Lahey Fortran 8.1
   16434 	  whole_archive_flag_spec=
   16435 	  tmp_sharedflag='--shared' ;;
   16436         nagfor*)                        # NAGFOR 5.3
   16437           tmp_sharedflag='-Wl,-shared' ;;
   16438 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16439 	  tmp_sharedflag='-qmkshrobj'
   16440 	  tmp_addflag= ;;
   16441 	nvcc*)	# Cuda Compiler Driver 2.2
   16442 	  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'
   16443 	  compiler_needs_object=yes
   16444 	  ;;
   16445 	esac
   16446 	case `$CC -V 2>&1 | $SED 5q` in
   16447 	*Sun\ C*)			# Sun C 5.9
   16448 	  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'
   16449 	  compiler_needs_object=yes
   16450 	  tmp_sharedflag='-G' ;;
   16451 	*Sun\ F*)			# Sun Fortran 8.3
   16452 	  tmp_sharedflag='-G' ;;
   16453 	esac
   16454 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16455 
   16456         if test yes = "$supports_anon_versioning"; then
   16457           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16458             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16459             echo "local: *; };" >> $output_objdir/$libname.ver~
   16460             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16461         fi
   16462 
   16463 	case $cc_basename in
   16464 	tcc*)
   16465 	  export_dynamic_flag_spec='-rdynamic'
   16466 	  ;;
   16467 	xlf* | bgf* | bgxlf* | mpixlf*)
   16468 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16469 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16470 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16471 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16472 	  if test yes = "$supports_anon_versioning"; then
   16473 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16474               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16475               echo "local: *; };" >> $output_objdir/$libname.ver~
   16476               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16477 	  fi
   16478 	  ;;
   16479 	esac
   16480       else
   16481         ld_shlibs=no
   16482       fi
   16483       ;;
   16484 
   16485     netbsd*)
   16486       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16487 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16488 	wlarc=
   16489       else
   16490 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16491 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16492       fi
   16493       ;;
   16494 
   16495     solaris*)
   16496       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16497 	ld_shlibs=no
   16498 	cat <<_LT_EOF 1>&2
   16499 
   16500 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16501 *** create shared libraries on Solaris systems.  Therefore, libtool
   16502 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16503 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16504 *** your PATH or compiler configuration so that the native linker is
   16505 *** used, and then restart.
   16506 
   16507 _LT_EOF
   16508       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16509 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16510 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16511       else
   16512 	ld_shlibs=no
   16513       fi
   16514       ;;
   16515 
   16516     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16517       case `$LD -v 2>&1` in
   16518         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16519 	ld_shlibs=no
   16520 	cat <<_LT_EOF 1>&2
   16521 
   16522 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16523 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16524 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16525 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16526 *** your PATH or compiler configuration so that the native linker is
   16527 *** used, and then restart.
   16528 
   16529 _LT_EOF
   16530 	;;
   16531 	*)
   16532 	  # For security reasons, it is highly recommended that you always
   16533 	  # use absolute paths for naming shared libraries, and exclude the
   16534 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16535 	  # requires that you compile everything twice, which is a pain.
   16536 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16537 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16538 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16539 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16540 	  else
   16541 	    ld_shlibs=no
   16542 	  fi
   16543 	;;
   16544       esac
   16545       ;;
   16546 
   16547     sunos4*)
   16548       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16549       wlarc=
   16550       hardcode_direct=yes
   16551       hardcode_shlibpath_var=no
   16552       ;;
   16553 
   16554     *)
   16555       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16556 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16557 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16558       else
   16559 	ld_shlibs=no
   16560       fi
   16561       ;;
   16562     esac
   16563 
   16564     if test no = "$ld_shlibs"; then
   16565       runpath_var=
   16566       hardcode_libdir_flag_spec=
   16567       export_dynamic_flag_spec=
   16568       whole_archive_flag_spec=
   16569     fi
   16570   else
   16571     # PORTME fill in a description of your system's linker (not GNU ld)
   16572     case $host_os in
   16573     aix3*)
   16574       allow_undefined_flag=unsupported
   16575       always_export_symbols=yes
   16576       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'
   16577       # Note: this linker hardcodes the directories in LIBPATH if there
   16578       # are no directories specified by -L.
   16579       hardcode_minus_L=yes
   16580       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16581 	# Neither direct hardcoding nor static linking is supported with a
   16582 	# broken collect2.
   16583 	hardcode_direct=unsupported
   16584       fi
   16585       ;;
   16586 
   16587     aix[4-9]*)
   16588       if test ia64 = "$host_cpu"; then
   16589 	# On IA64, the linker does run time linking by default, so we don't
   16590 	# have to do anything special.
   16591 	aix_use_runtimelinking=no
   16592 	exp_sym_flag='-Bexport'
   16593 	no_entry_flag=
   16594       else
   16595 	# If we're using GNU nm, then we don't want the "-C" option.
   16596 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16597 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16598 	# weak defined symbols like other global defined symbols, whereas
   16599 	# GNU nm marks them as "W".
   16600 	# While the 'weak' keyword is ignored in the Export File, we need
   16601 	# it in the Import File for the 'aix-soname' feature, so we have
   16602 	# to replace the "-B" option with "-P" for AIX nm.
   16603 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16604 	  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'
   16605 	else
   16606 	  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'
   16607 	fi
   16608 	aix_use_runtimelinking=no
   16609 
   16610 	# Test if we are trying to use run time linking or normal
   16611 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16612 	# have runtime linking enabled, and use it for executables.
   16613 	# For shared libraries, we enable/disable runtime linking
   16614 	# depending on the kind of the shared library created -
   16615 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16616 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16617 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16618 	#            lib.a           static archive
   16619 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16620 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16621 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16622 	#            lib.a(lib.so.V) shared, rtl:no
   16623 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16624 	#            lib.a           static archive
   16625 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16626 	  for ld_flag in $LDFLAGS; do
   16627 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16628 	    aix_use_runtimelinking=yes
   16629 	    break
   16630 	  fi
   16631 	  done
   16632 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16633 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16634 	    # so we don't have lib.a shared libs to link our executables.
   16635 	    # We have to force runtime linking in this case.
   16636 	    aix_use_runtimelinking=yes
   16637 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16638 	  fi
   16639 	  ;;
   16640 	esac
   16641 
   16642 	exp_sym_flag='-bexport'
   16643 	no_entry_flag='-bnoentry'
   16644       fi
   16645 
   16646       # When large executables or shared objects are built, AIX ld can
   16647       # have problems creating the table of contents.  If linking a library
   16648       # or program results in "error TOC overflow" add -mminimal-toc to
   16649       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16650       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16651 
   16652       archive_cmds=''
   16653       hardcode_direct=yes
   16654       hardcode_direct_absolute=yes
   16655       hardcode_libdir_separator=':'
   16656       link_all_deplibs=yes
   16657       file_list_spec='$wl-f,'
   16658       case $with_aix_soname,$aix_use_runtimelinking in
   16659       aix,*) ;; # traditional, no import file
   16660       svr4,* | *,yes) # use import file
   16661 	# The Import File defines what to hardcode.
   16662 	hardcode_direct=no
   16663 	hardcode_direct_absolute=no
   16664 	;;
   16665       esac
   16666 
   16667       if test yes = "$GCC"; then
   16668 	case $host_os in aix4.[012]|aix4.[012].*)
   16669 	# We only want to do this on AIX 4.2 and lower, the check
   16670 	# below for broken collect2 doesn't work under 4.3+
   16671 	  collect2name=`$CC -print-prog-name=collect2`
   16672 	  if test -f "$collect2name" &&
   16673 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16674 	  then
   16675 	  # We have reworked collect2
   16676 	  :
   16677 	  else
   16678 	  # We have old collect2
   16679 	  hardcode_direct=unsupported
   16680 	  # It fails to find uninstalled libraries when the uninstalled
   16681 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16682 	  # to unsupported forces relinking
   16683 	  hardcode_minus_L=yes
   16684 	  hardcode_libdir_flag_spec='-L$libdir'
   16685 	  hardcode_libdir_separator=
   16686 	  fi
   16687 	  ;;
   16688 	esac
   16689 	shared_flag='-shared'
   16690 	if test yes = "$aix_use_runtimelinking"; then
   16691 	  shared_flag="$shared_flag "'$wl-G'
   16692 	fi
   16693 	# Need to ensure runtime linking is disabled for the traditional
   16694 	# shared library, or the linker may eventually find shared libraries
   16695 	# /with/ Import File - we do not want to mix them.
   16696 	shared_flag_aix='-shared'
   16697 	shared_flag_svr4='-shared $wl-G'
   16698       else
   16699 	# not using gcc
   16700 	if test ia64 = "$host_cpu"; then
   16701 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16702 	# chokes on -Wl,-G. The following line is correct:
   16703 	  shared_flag='-G'
   16704 	else
   16705 	  if test yes = "$aix_use_runtimelinking"; then
   16706 	    shared_flag='$wl-G'
   16707 	  else
   16708 	    shared_flag='$wl-bM:SRE'
   16709 	  fi
   16710 	  shared_flag_aix='$wl-bM:SRE'
   16711 	  shared_flag_svr4='$wl-G'
   16712 	fi
   16713       fi
   16714 
   16715       export_dynamic_flag_spec='$wl-bexpall'
   16716       # It seems that -bexpall does not export symbols beginning with
   16717       # underscore (_), so it is better to generate a list of symbols to export.
   16718       always_export_symbols=yes
   16719       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16720 	# Warning - without using the other runtime loading flags (-brtl),
   16721 	# -berok will link without error, but may produce a broken library.
   16722 	allow_undefined_flag='-berok'
   16723         # Determine the default libpath from the value encoded in an
   16724         # empty executable.
   16725         if test set = "${lt_cv_aix_libpath+set}"; then
   16726   aix_libpath=$lt_cv_aix_libpath
   16727 else
   16728   if test ${lt_cv_aix_libpath_+y}
   16729 then :
   16730   printf %s "(cached) " >&6
   16731 else $as_nop
   16732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16733 /* end confdefs.h.  */
   16734 
   16735 int
   16736 main (void)
   16737 {
   16738 
   16739   ;
   16740   return 0;
   16741 }
   16742 _ACEOF
   16743 if ac_fn_c_try_link "$LINENO"
   16744 then :
   16745 
   16746   lt_aix_libpath_sed='
   16747       /Import File Strings/,/^$/ {
   16748 	  /^0/ {
   16749 	      s/^0  *\([^ ]*\) *$/\1/
   16750 	      p
   16751 	  }
   16752       }'
   16753   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16754   # Check for a 64-bit object if we didn't find anything.
   16755   if test -z "$lt_cv_aix_libpath_"; then
   16756     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16757   fi
   16758 fi
   16759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16760     conftest$ac_exeext conftest.$ac_ext
   16761   if test -z "$lt_cv_aix_libpath_"; then
   16762     lt_cv_aix_libpath_=/usr/lib:/lib
   16763   fi
   16764 
   16765 fi
   16766 
   16767   aix_libpath=$lt_cv_aix_libpath_
   16768 fi
   16769 
   16770         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16771         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
   16772       else
   16773 	if test ia64 = "$host_cpu"; then
   16774 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16775 	  allow_undefined_flag="-z nodefs"
   16776 	  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"
   16777 	else
   16778 	 # Determine the default libpath from the value encoded in an
   16779 	 # empty executable.
   16780 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16781   aix_libpath=$lt_cv_aix_libpath
   16782 else
   16783   if test ${lt_cv_aix_libpath_+y}
   16784 then :
   16785   printf %s "(cached) " >&6
   16786 else $as_nop
   16787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16788 /* end confdefs.h.  */
   16789 
   16790 int
   16791 main (void)
   16792 {
   16793 
   16794   ;
   16795   return 0;
   16796 }
   16797 _ACEOF
   16798 if ac_fn_c_try_link "$LINENO"
   16799 then :
   16800 
   16801   lt_aix_libpath_sed='
   16802       /Import File Strings/,/^$/ {
   16803 	  /^0/ {
   16804 	      s/^0  *\([^ ]*\) *$/\1/
   16805 	      p
   16806 	  }
   16807       }'
   16808   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16809   # Check for a 64-bit object if we didn't find anything.
   16810   if test -z "$lt_cv_aix_libpath_"; then
   16811     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16812   fi
   16813 fi
   16814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16815     conftest$ac_exeext conftest.$ac_ext
   16816   if test -z "$lt_cv_aix_libpath_"; then
   16817     lt_cv_aix_libpath_=/usr/lib:/lib
   16818   fi
   16819 
   16820 fi
   16821 
   16822   aix_libpath=$lt_cv_aix_libpath_
   16823 fi
   16824 
   16825 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16826 	  # Warning - without using the other run time loading flags,
   16827 	  # -berok will link without error, but may produce a broken library.
   16828 	  no_undefined_flag=' $wl-bernotok'
   16829 	  allow_undefined_flag=' $wl-berok'
   16830 	  if test yes = "$with_gnu_ld"; then
   16831 	    # We only use this code for GNU lds that support --whole-archive.
   16832 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16833 	  else
   16834 	    # Exported symbols can be pulled into shared objects from archives
   16835 	    whole_archive_flag_spec='$convenience'
   16836 	  fi
   16837 	  archive_cmds_need_lc=yes
   16838 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16839 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16840 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16841 	  if test svr4 != "$with_aix_soname"; then
   16842 	    # This is similar to how AIX traditionally builds its shared libraries.
   16843 	    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'
   16844 	  fi
   16845 	  if test aix != "$with_aix_soname"; then
   16846 	    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'
   16847 	  else
   16848 	    # used by -dlpreopen to get the symbols
   16849 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16850 	  fi
   16851 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16852 	fi
   16853       fi
   16854       ;;
   16855 
   16856     amigaos*)
   16857       case $host_cpu in
   16858       powerpc)
   16859             # see comment about AmigaOS4 .so support
   16860             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16861             archive_expsym_cmds=''
   16862         ;;
   16863       m68k)
   16864             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)'
   16865             hardcode_libdir_flag_spec='-L$libdir'
   16866             hardcode_minus_L=yes
   16867         ;;
   16868       esac
   16869       ;;
   16870 
   16871     bsdi[45]*)
   16872       export_dynamic_flag_spec=-rdynamic
   16873       ;;
   16874 
   16875     cygwin* | mingw* | pw32* | cegcc*)
   16876       # When not using gcc, we currently assume that we are using
   16877       # Microsoft Visual C++ or Intel C++ Compiler.
   16878       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16879       # no search path for DLLs.
   16880       case $cc_basename in
   16881       cl* | icl*)
   16882 	# Native MSVC or ICC
   16883 	hardcode_libdir_flag_spec=' '
   16884 	allow_undefined_flag=unsupported
   16885 	always_export_symbols=yes
   16886 	file_list_spec='@'
   16887 	# Tell ltmain to make .lib files, not .a files.
   16888 	libext=lib
   16889 	# Tell ltmain to make .dll files, not .so files.
   16890 	shrext_cmds=.dll
   16891 	# FIXME: Setting linknames here is a bad hack.
   16892 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16893 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16894             cp "$export_symbols" "$output_objdir/$soname.def";
   16895             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16896           else
   16897             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16898           fi~
   16899           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16900           linknames='
   16901 	# The linker will not automatically build a static lib if we build a DLL.
   16902 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16903 	enable_shared_with_static_runtimes=yes
   16904 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16905 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16906 	# Don't use ranlib
   16907 	old_postinstall_cmds='chmod 644 $oldlib'
   16908 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16909           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16910           case $lt_outputfile in
   16911             *.exe|*.EXE) ;;
   16912             *)
   16913               lt_outputfile=$lt_outputfile.exe
   16914               lt_tool_outputfile=$lt_tool_outputfile.exe
   16915               ;;
   16916           esac~
   16917           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16918             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16919             $RM "$lt_outputfile.manifest";
   16920           fi'
   16921 	;;
   16922       *)
   16923 	# Assume MSVC and ICC wrapper
   16924 	hardcode_libdir_flag_spec=' '
   16925 	allow_undefined_flag=unsupported
   16926 	# Tell ltmain to make .lib files, not .a files.
   16927 	libext=lib
   16928 	# Tell ltmain to make .dll files, not .so files.
   16929 	shrext_cmds=.dll
   16930 	# FIXME: Setting linknames here is a bad hack.
   16931 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16932 	# The linker will automatically build a .lib file if we build a DLL.
   16933 	old_archive_from_new_cmds='true'
   16934 	# FIXME: Should let the user specify the lib program.
   16935 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16936 	enable_shared_with_static_runtimes=yes
   16937 	;;
   16938       esac
   16939       ;;
   16940 
   16941     darwin* | rhapsody*)
   16942 
   16943 
   16944   archive_cmds_need_lc=no
   16945   hardcode_direct=no
   16946   hardcode_automatic=yes
   16947   hardcode_shlibpath_var=unsupported
   16948   if test yes = "$lt_cv_ld_force_load"; then
   16949     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\"`'
   16950 
   16951   else
   16952     whole_archive_flag_spec=''
   16953   fi
   16954   link_all_deplibs=yes
   16955   allow_undefined_flag=$_lt_dar_allow_undefined
   16956   case $cc_basename in
   16957      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16958      *) _lt_dar_can_shared=$GCC ;;
   16959   esac
   16960   if test yes = "$_lt_dar_can_shared"; then
   16961     output_verbose_link_cmd=func_echo_all
   16962     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16963     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16964     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"
   16965     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"
   16966 
   16967   else
   16968   ld_shlibs=no
   16969   fi
   16970 
   16971       ;;
   16972 
   16973     dgux*)
   16974       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16975       hardcode_libdir_flag_spec='-L$libdir'
   16976       hardcode_shlibpath_var=no
   16977       ;;
   16978 
   16979     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16980     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16981     # does not break anything, and helps significantly (at the cost of a little
   16982     # extra space).
   16983     freebsd2.2*)
   16984       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16985       hardcode_libdir_flag_spec='-R$libdir'
   16986       hardcode_direct=yes
   16987       hardcode_shlibpath_var=no
   16988       ;;
   16989 
   16990     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16991     freebsd2.*)
   16992       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16993       hardcode_direct=yes
   16994       hardcode_minus_L=yes
   16995       hardcode_shlibpath_var=no
   16996       ;;
   16997 
   16998     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16999     freebsd* | dragonfly* | midnightbsd*)
   17000       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17001       hardcode_libdir_flag_spec='-R$libdir'
   17002       hardcode_direct=yes
   17003       hardcode_shlibpath_var=no
   17004       ;;
   17005 
   17006     hpux9*)
   17007       if test yes = "$GCC"; then
   17008 	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'
   17009       else
   17010 	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'
   17011       fi
   17012       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17013       hardcode_libdir_separator=:
   17014       hardcode_direct=yes
   17015 
   17016       # hardcode_minus_L: Not really in the search PATH,
   17017       # but as the default location of the library.
   17018       hardcode_minus_L=yes
   17019       export_dynamic_flag_spec='$wl-E'
   17020       ;;
   17021 
   17022     hpux10*)
   17023       if test yes,no = "$GCC,$with_gnu_ld"; then
   17024 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17025       else
   17026 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17027       fi
   17028       if test no = "$with_gnu_ld"; then
   17029 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17030 	hardcode_libdir_separator=:
   17031 	hardcode_direct=yes
   17032 	hardcode_direct_absolute=yes
   17033 	export_dynamic_flag_spec='$wl-E'
   17034 	# hardcode_minus_L: Not really in the search PATH,
   17035 	# but as the default location of the library.
   17036 	hardcode_minus_L=yes
   17037       fi
   17038       ;;
   17039 
   17040     hpux11*)
   17041       if test yes,no = "$GCC,$with_gnu_ld"; then
   17042 	case $host_cpu in
   17043 	hppa*64*)
   17044 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17045 	  ;;
   17046 	ia64*)
   17047 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17048 	  ;;
   17049 	*)
   17050 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17051 	  ;;
   17052 	esac
   17053       else
   17054 	case $host_cpu in
   17055 	hppa*64*)
   17056 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17057 	  ;;
   17058 	ia64*)
   17059 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17060 	  ;;
   17061 	*)
   17062 
   17063 	  # Older versions of the 11.00 compiler do not understand -b yet
   17064 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17065 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17066 printf %s "checking if $CC understands -b... " >&6; }
   17067 if test ${lt_cv_prog_compiler__b+y}
   17068 then :
   17069   printf %s "(cached) " >&6
   17070 else $as_nop
   17071   lt_cv_prog_compiler__b=no
   17072    save_LDFLAGS=$LDFLAGS
   17073    LDFLAGS="$LDFLAGS -b"
   17074    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17075    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17076      # The linker can only warn and ignore the option if not recognized
   17077      # So say no if there are warnings
   17078      if test -s conftest.err; then
   17079        # Append any errors to the config.log.
   17080        cat conftest.err 1>&5
   17081        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17082        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17083        if diff conftest.exp conftest.er2 >/dev/null; then
   17084          lt_cv_prog_compiler__b=yes
   17085        fi
   17086      else
   17087        lt_cv_prog_compiler__b=yes
   17088      fi
   17089    fi
   17090    $RM -r conftest*
   17091    LDFLAGS=$save_LDFLAGS
   17092 
   17093 fi
   17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17095 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17096 
   17097 if test yes = "$lt_cv_prog_compiler__b"; then
   17098     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17099 else
   17100     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17101 fi
   17102 
   17103 	  ;;
   17104 	esac
   17105       fi
   17106       if test no = "$with_gnu_ld"; then
   17107 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17108 	hardcode_libdir_separator=:
   17109 
   17110 	case $host_cpu in
   17111 	hppa*64*|ia64*)
   17112 	  hardcode_direct=no
   17113 	  hardcode_shlibpath_var=no
   17114 	  ;;
   17115 	*)
   17116 	  hardcode_direct=yes
   17117 	  hardcode_direct_absolute=yes
   17118 	  export_dynamic_flag_spec='$wl-E'
   17119 
   17120 	  # hardcode_minus_L: Not really in the search PATH,
   17121 	  # but as the default location of the library.
   17122 	  hardcode_minus_L=yes
   17123 	  ;;
   17124 	esac
   17125       fi
   17126       ;;
   17127 
   17128     irix5* | irix6* | nonstopux*)
   17129       if test yes = "$GCC"; then
   17130 	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'
   17131 	# Try to use the -exported_symbol ld option, if it does not
   17132 	# work, assume that -exports_file does not work either and
   17133 	# implicitly export all symbols.
   17134 	# This should be the same for all languages, so no per-tag cache variable.
   17135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17136 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17137 if test ${lt_cv_irix_exported_symbol+y}
   17138 then :
   17139   printf %s "(cached) " >&6
   17140 else $as_nop
   17141   save_LDFLAGS=$LDFLAGS
   17142 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17143 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17144 /* end confdefs.h.  */
   17145 int foo (void) { return 0; }
   17146 _ACEOF
   17147 if ac_fn_c_try_link "$LINENO"
   17148 then :
   17149   lt_cv_irix_exported_symbol=yes
   17150 else $as_nop
   17151   lt_cv_irix_exported_symbol=no
   17152 fi
   17153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17154     conftest$ac_exeext conftest.$ac_ext
   17155            LDFLAGS=$save_LDFLAGS
   17156 fi
   17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17158 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17159 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17160           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'
   17161 	fi
   17162       else
   17163 	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'
   17164 	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'
   17165       fi
   17166       archive_cmds_need_lc='no'
   17167       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17168       hardcode_libdir_separator=:
   17169       inherit_rpath=yes
   17170       link_all_deplibs=yes
   17171       ;;
   17172 
   17173     linux*)
   17174       case $cc_basename in
   17175       tcc*)
   17176 	# Fabrice Bellard et al's Tiny C Compiler
   17177 	ld_shlibs=yes
   17178 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17179 	;;
   17180       esac
   17181       ;;
   17182 
   17183     netbsd*)
   17184       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17185 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17186       else
   17187 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17188       fi
   17189       hardcode_libdir_flag_spec='-R$libdir'
   17190       hardcode_direct=yes
   17191       hardcode_shlibpath_var=no
   17192       ;;
   17193 
   17194     newsos6)
   17195       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17196       hardcode_direct=yes
   17197       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17198       hardcode_libdir_separator=:
   17199       hardcode_shlibpath_var=no
   17200       ;;
   17201 
   17202     *nto* | *qnx*)
   17203       ;;
   17204 
   17205     openbsd* | bitrig*)
   17206       if test -f /usr/libexec/ld.so; then
   17207 	hardcode_direct=yes
   17208 	hardcode_shlibpath_var=no
   17209 	hardcode_direct_absolute=yes
   17210 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17211 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17212 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17213 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17214 	  export_dynamic_flag_spec='$wl-E'
   17215 	else
   17216 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17217 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17218 	fi
   17219       else
   17220 	ld_shlibs=no
   17221       fi
   17222       ;;
   17223 
   17224     os2*)
   17225       hardcode_libdir_flag_spec='-L$libdir'
   17226       hardcode_minus_L=yes
   17227       allow_undefined_flag=unsupported
   17228       shrext_cmds=.dll
   17229       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17230 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17231 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17232 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17233 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17234 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17235 	emximp -o $lib $output_objdir/$libname.def'
   17236       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17237 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17238 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17239 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17240 	prefix_cmds="$SED"~
   17241 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17242 	  prefix_cmds="$prefix_cmds -e 1d";
   17243 	fi~
   17244 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17245 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17246 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17247 	emximp -o $lib $output_objdir/$libname.def'
   17248       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17249       enable_shared_with_static_runtimes=yes
   17250       file_list_spec='@'
   17251       ;;
   17252 
   17253     osf3*)
   17254       if test yes = "$GCC"; then
   17255 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17256 	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'
   17257       else
   17258 	allow_undefined_flag=' -expect_unresolved \*'
   17259 	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'
   17260       fi
   17261       archive_cmds_need_lc='no'
   17262       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17263       hardcode_libdir_separator=:
   17264       ;;
   17265 
   17266     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17267       if test yes = "$GCC"; then
   17268 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17269 	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'
   17270 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17271       else
   17272 	allow_undefined_flag=' -expect_unresolved \*'
   17273 	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'
   17274 	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~
   17275           $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'
   17276 
   17277 	# Both c and cxx compiler support -rpath directly
   17278 	hardcode_libdir_flag_spec='-rpath $libdir'
   17279       fi
   17280       archive_cmds_need_lc='no'
   17281       hardcode_libdir_separator=:
   17282       ;;
   17283 
   17284     solaris*)
   17285       no_undefined_flag=' -z defs'
   17286       if test yes = "$GCC"; then
   17287 	wlarc='$wl'
   17288 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17289 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17290           $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'
   17291       else
   17292 	case `$CC -V 2>&1` in
   17293 	*"Compilers 5.0"*)
   17294 	  wlarc=''
   17295 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17296 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17297             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17298 	  ;;
   17299 	*)
   17300 	  wlarc='$wl'
   17301 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17302 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17303             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17304 	  ;;
   17305 	esac
   17306       fi
   17307       hardcode_libdir_flag_spec='-R$libdir'
   17308       hardcode_shlibpath_var=no
   17309       case $host_os in
   17310       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17311       *)
   17312 	# The compiler driver will combine and reorder linker options,
   17313 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17314 	# but is careful enough not to reorder.
   17315 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17316 	if test yes = "$GCC"; then
   17317 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17318 	else
   17319 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17320 	fi
   17321 	;;
   17322       esac
   17323       link_all_deplibs=yes
   17324       ;;
   17325 
   17326     sunos4*)
   17327       if test sequent = "$host_vendor"; then
   17328 	# Use $CC to link under sequent, because it throws in some extra .o
   17329 	# files that make .init and .fini sections work.
   17330 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17331       else
   17332 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17333       fi
   17334       hardcode_libdir_flag_spec='-L$libdir'
   17335       hardcode_direct=yes
   17336       hardcode_minus_L=yes
   17337       hardcode_shlibpath_var=no
   17338       ;;
   17339 
   17340     sysv4)
   17341       case $host_vendor in
   17342 	sni)
   17343 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17344 	  hardcode_direct=yes # is this really true???
   17345 	;;
   17346 	siemens)
   17347 	  ## LD is ld it makes a PLAMLIB
   17348 	  ## CC just makes a GrossModule.
   17349 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17350 	  reload_cmds='$CC -r -o $output$reload_objs'
   17351 	  hardcode_direct=no
   17352         ;;
   17353 	motorola)
   17354 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17355 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17356 	;;
   17357       esac
   17358       runpath_var='LD_RUN_PATH'
   17359       hardcode_shlibpath_var=no
   17360       ;;
   17361 
   17362     sysv4.3*)
   17363       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17364       hardcode_shlibpath_var=no
   17365       export_dynamic_flag_spec='-Bexport'
   17366       ;;
   17367 
   17368     sysv4*MP*)
   17369       if test -d /usr/nec; then
   17370 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17371 	hardcode_shlibpath_var=no
   17372 	runpath_var=LD_RUN_PATH
   17373 	hardcode_runpath_var=yes
   17374 	ld_shlibs=yes
   17375       fi
   17376       ;;
   17377 
   17378     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17379       no_undefined_flag='$wl-z,text'
   17380       archive_cmds_need_lc=no
   17381       hardcode_shlibpath_var=no
   17382       runpath_var='LD_RUN_PATH'
   17383 
   17384       if test yes = "$GCC"; then
   17385 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17386 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17387       else
   17388 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17389 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17390       fi
   17391       ;;
   17392 
   17393     sysv5* | sco3.2v5* | sco5v6*)
   17394       # Note: We CANNOT use -z defs as we might desire, because we do not
   17395       # link with -lc, and that would cause any symbols used from libc to
   17396       # always be unresolved, which means just about no library would
   17397       # ever link correctly.  If we're not using GNU ld we use -z text
   17398       # though, which does catch some bad symbols but isn't as heavy-handed
   17399       # as -z defs.
   17400       no_undefined_flag='$wl-z,text'
   17401       allow_undefined_flag='$wl-z,nodefs'
   17402       archive_cmds_need_lc=no
   17403       hardcode_shlibpath_var=no
   17404       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17405       hardcode_libdir_separator=':'
   17406       link_all_deplibs=yes
   17407       export_dynamic_flag_spec='$wl-Bexport'
   17408       runpath_var='LD_RUN_PATH'
   17409 
   17410       if test yes = "$GCC"; then
   17411 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17412 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17413       else
   17414 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17415 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17416       fi
   17417       ;;
   17418 
   17419     uts4*)
   17420       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17421       hardcode_libdir_flag_spec='-L$libdir'
   17422       hardcode_shlibpath_var=no
   17423       ;;
   17424 
   17425     *)
   17426       ld_shlibs=no
   17427       ;;
   17428     esac
   17429 
   17430     if test sni = "$host_vendor"; then
   17431       case $host in
   17432       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17433 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17434 	;;
   17435       esac
   17436     fi
   17437   fi
   17438 
   17439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17440 printf "%s\n" "$ld_shlibs" >&6; }
   17441 test no = "$ld_shlibs" && can_build_shared=no
   17442 
   17443 with_gnu_ld=$with_gnu_ld
   17444 
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 #
   17460 # Do we need to explicitly link libc?
   17461 #
   17462 case "x$archive_cmds_need_lc" in
   17463 x|xyes)
   17464   # Assume -lc should be added
   17465   archive_cmds_need_lc=yes
   17466 
   17467   if test yes,yes = "$GCC,$enable_shared"; then
   17468     case $archive_cmds in
   17469     *'~'*)
   17470       # FIXME: we may have to deal with multi-command sequences.
   17471       ;;
   17472     '$CC '*)
   17473       # Test whether the compiler implicitly links with -lc since on some
   17474       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17475       # to ld, don't add -lc before -lgcc.
   17476       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17477 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17478 if test ${lt_cv_archive_cmds_need_lc+y}
   17479 then :
   17480   printf %s "(cached) " >&6
   17481 else $as_nop
   17482   $RM conftest*
   17483 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17484 
   17485 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17486   (eval $ac_compile) 2>&5
   17487   ac_status=$?
   17488   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17489   test $ac_status = 0; } 2>conftest.err; then
   17490 	  soname=conftest
   17491 	  lib=conftest
   17492 	  libobjs=conftest.$ac_objext
   17493 	  deplibs=
   17494 	  wl=$lt_prog_compiler_wl
   17495 	  pic_flag=$lt_prog_compiler_pic
   17496 	  compiler_flags=-v
   17497 	  linker_flags=-v
   17498 	  verstring=
   17499 	  output_objdir=.
   17500 	  libname=conftest
   17501 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17502 	  allow_undefined_flag=
   17503 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17504   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17505   ac_status=$?
   17506   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17507   test $ac_status = 0; }
   17508 	  then
   17509 	    lt_cv_archive_cmds_need_lc=no
   17510 	  else
   17511 	    lt_cv_archive_cmds_need_lc=yes
   17512 	  fi
   17513 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17514 	else
   17515 	  cat conftest.err 1>&5
   17516 	fi
   17517 	$RM conftest*
   17518 
   17519 fi
   17520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17521 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17522       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17523       ;;
   17524     esac
   17525   fi
   17526   ;;
   17527 esac
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17681 printf %s "checking dynamic linker characteristics... " >&6; }
   17682 
   17683 if test yes = "$GCC"; then
   17684   case $host_os in
   17685     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17686     *) lt_awk_arg='/^libraries:/' ;;
   17687   esac
   17688   case $host_os in
   17689     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17690     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17691   esac
   17692   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17693   case $lt_search_path_spec in
   17694   *\;*)
   17695     # if the path contains ";" then we assume it to be the separator
   17696     # otherwise default to the standard path separator (i.e. ":") - it is
   17697     # assumed that no part of a normal pathname contains ";" but that should
   17698     # okay in the real world where ";" in dirpaths is itself problematic.
   17699     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17700     ;;
   17701   *)
   17702     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17703     ;;
   17704   esac
   17705   # Ok, now we have the path, separated by spaces, we can step through it
   17706   # and add multilib dir if necessary...
   17707   lt_tmp_lt_search_path_spec=
   17708   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17709   # ...but if some path component already ends with the multilib dir we assume
   17710   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17711   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17712   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17713     lt_multi_os_dir=
   17714     ;;
   17715   esac
   17716   for lt_sys_path in $lt_search_path_spec; do
   17717     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17718       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17719     elif test -n "$lt_multi_os_dir"; then
   17720       test -d "$lt_sys_path" && \
   17721 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17722     fi
   17723   done
   17724   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17725 BEGIN {RS = " "; FS = "/|\n";} {
   17726   lt_foo = "";
   17727   lt_count = 0;
   17728   for (lt_i = NF; lt_i > 0; lt_i--) {
   17729     if ($lt_i != "" && $lt_i != ".") {
   17730       if ($lt_i == "..") {
   17731         lt_count++;
   17732       } else {
   17733         if (lt_count == 0) {
   17734           lt_foo = "/" $lt_i lt_foo;
   17735         } else {
   17736           lt_count--;
   17737         }
   17738       }
   17739     }
   17740   }
   17741   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17742   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17743 }'`
   17744   # AWK program above erroneously prepends '/' to C:/dos/paths
   17745   # for these hosts.
   17746   case $host_os in
   17747     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17748       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17749   esac
   17750   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17751 else
   17752   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17753 fi
   17754 library_names_spec=
   17755 libname_spec='lib$name'
   17756 soname_spec=
   17757 shrext_cmds=.so
   17758 postinstall_cmds=
   17759 postuninstall_cmds=
   17760 finish_cmds=
   17761 finish_eval=
   17762 shlibpath_var=
   17763 shlibpath_overrides_runpath=unknown
   17764 version_type=none
   17765 dynamic_linker="$host_os ld.so"
   17766 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17767 need_lib_prefix=unknown
   17768 hardcode_into_libs=no
   17769 
   17770 # when you set need_version to no, make sure it does not cause -set_version
   17771 # flags to be left without arguments
   17772 need_version=unknown
   17773 
   17774 
   17775 
   17776 case $host_os in
   17777 aix3*)
   17778   version_type=linux # correct to gnu/linux during the next big refactor
   17779   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17780   shlibpath_var=LIBPATH
   17781 
   17782   # AIX 3 has no versioning support, so we append a major version to the name.
   17783   soname_spec='$libname$release$shared_ext$major'
   17784   ;;
   17785 
   17786 aix[4-9]*)
   17787   version_type=linux # correct to gnu/linux during the next big refactor
   17788   need_lib_prefix=no
   17789   need_version=no
   17790   hardcode_into_libs=yes
   17791   if test ia64 = "$host_cpu"; then
   17792     # AIX 5 supports IA64
   17793     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17794     shlibpath_var=LD_LIBRARY_PATH
   17795   else
   17796     # With GCC up to 2.95.x, collect2 would create an import file
   17797     # for dependence libraries.  The import file would start with
   17798     # the line '#! .'.  This would cause the generated library to
   17799     # depend on '.', always an invalid library.  This was fixed in
   17800     # development snapshots of GCC prior to 3.0.
   17801     case $host_os in
   17802       aix4 | aix4.[01] | aix4.[01].*)
   17803       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17804 	   echo ' yes '
   17805 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17806 	:
   17807       else
   17808 	can_build_shared=no
   17809       fi
   17810       ;;
   17811     esac
   17812     # Using Import Files as archive members, it is possible to support
   17813     # filename-based versioning of shared library archives on AIX. While
   17814     # this would work for both with and without runtime linking, it will
   17815     # prevent static linking of such archives. So we do filename-based
   17816     # shared library versioning with .so extension only, which is used
   17817     # when both runtime linking and shared linking is enabled.
   17818     # Unfortunately, runtime linking may impact performance, so we do
   17819     # not want this to be the default eventually. Also, we use the
   17820     # versioned .so libs for executables only if there is the -brtl
   17821     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17822     # To allow for filename-based versioning support, we need to create
   17823     # libNAME.so.V as an archive file, containing:
   17824     # *) an Import File, referring to the versioned filename of the
   17825     #    archive as well as the shared archive member, telling the
   17826     #    bitwidth (32 or 64) of that shared object, and providing the
   17827     #    list of exported symbols of that shared object, eventually
   17828     #    decorated with the 'weak' keyword
   17829     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17830     #    it being seen by the linker.
   17831     # At run time we better use the real file rather than another symlink,
   17832     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17833 
   17834     case $with_aix_soname,$aix_use_runtimelinking in
   17835     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17836     # soname into executable. Probably we can add versioning support to
   17837     # collect2, so additional links can be useful in future.
   17838     aix,yes) # traditional libtool
   17839       dynamic_linker='AIX unversionable lib.so'
   17840       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17841       # instead of lib<name>.a to let people know that these are not
   17842       # typical AIX shared libraries.
   17843       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17844       ;;
   17845     aix,no) # traditional AIX only
   17846       dynamic_linker='AIX lib.a(lib.so.V)'
   17847       # We preserve .a as extension for shared libraries through AIX4.2
   17848       # and later when we are not doing run time linking.
   17849       library_names_spec='$libname$release.a $libname.a'
   17850       soname_spec='$libname$release$shared_ext$major'
   17851       ;;
   17852     svr4,*) # full svr4 only
   17853       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17854       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17855       # We do not specify a path in Import Files, so LIBPATH fires.
   17856       shlibpath_overrides_runpath=yes
   17857       ;;
   17858     *,yes) # both, prefer svr4
   17859       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17860       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17861       # unpreferred sharedlib libNAME.a needs extra handling
   17862       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"'
   17863       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"'
   17864       # We do not specify a path in Import Files, so LIBPATH fires.
   17865       shlibpath_overrides_runpath=yes
   17866       ;;
   17867     *,no) # both, prefer aix
   17868       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17869       library_names_spec='$libname$release.a $libname.a'
   17870       soname_spec='$libname$release$shared_ext$major'
   17871       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17872       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)'
   17873       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"'
   17874       ;;
   17875     esac
   17876     shlibpath_var=LIBPATH
   17877   fi
   17878   ;;
   17879 
   17880 amigaos*)
   17881   case $host_cpu in
   17882   powerpc)
   17883     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17884     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17885     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17886     ;;
   17887   m68k)
   17888     library_names_spec='$libname.ixlibrary $libname.a'
   17889     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17890     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'
   17891     ;;
   17892   esac
   17893   ;;
   17894 
   17895 beos*)
   17896   library_names_spec='$libname$shared_ext'
   17897   dynamic_linker="$host_os ld.so"
   17898   shlibpath_var=LIBRARY_PATH
   17899   ;;
   17900 
   17901 bsdi[45]*)
   17902   version_type=linux # correct to gnu/linux during the next big refactor
   17903   need_version=no
   17904   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17905   soname_spec='$libname$release$shared_ext$major'
   17906   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17907   shlibpath_var=LD_LIBRARY_PATH
   17908   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17909   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17910   # the default ld.so.conf also contains /usr/contrib/lib and
   17911   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17912   # libtool to hard-code these into programs
   17913   ;;
   17914 
   17915 cygwin* | mingw* | pw32* | cegcc*)
   17916   version_type=windows
   17917   shrext_cmds=.dll
   17918   need_version=no
   17919   need_lib_prefix=no
   17920 
   17921   case $GCC,$cc_basename in
   17922   yes,*)
   17923     # gcc
   17924     library_names_spec='$libname.dll.a'
   17925     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17926     postinstall_cmds='base_file=`basename \$file`~
   17927       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17928       dldir=$destdir/`dirname \$dlpath`~
   17929       test -d \$dldir || mkdir -p \$dldir~
   17930       $install_prog $dir/$dlname \$dldir/$dlname~
   17931       chmod a+x \$dldir/$dlname~
   17932       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17933         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17934       fi'
   17935     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17936       dlpath=$dir/\$dldll~
   17937        $RM \$dlpath'
   17938     shlibpath_overrides_runpath=yes
   17939 
   17940     case $host_os in
   17941     cygwin*)
   17942       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17943       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17944 
   17945       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17946       ;;
   17947     mingw* | cegcc*)
   17948       # MinGW DLLs use traditional 'lib' prefix
   17949       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17950       ;;
   17951     pw32*)
   17952       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17953       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17954       ;;
   17955     esac
   17956     dynamic_linker='Win32 ld.exe'
   17957     ;;
   17958 
   17959   *,cl* | *,icl*)
   17960     # Native MSVC or ICC
   17961     libname_spec='$name'
   17962     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17963     library_names_spec='$libname.dll.lib'
   17964 
   17965     case $build_os in
   17966     mingw*)
   17967       sys_lib_search_path_spec=
   17968       lt_save_ifs=$IFS
   17969       IFS=';'
   17970       for lt_path in $LIB
   17971       do
   17972         IFS=$lt_save_ifs
   17973         # Let DOS variable expansion print the short 8.3 style file name.
   17974         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17975         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17976       done
   17977       IFS=$lt_save_ifs
   17978       # Convert to MSYS style.
   17979       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17980       ;;
   17981     cygwin*)
   17982       # Convert to unix form, then to dos form, then back to unix form
   17983       # but this time dos style (no spaces!) so that the unix form looks
   17984       # like /cygdrive/c/PROGRA~1:/cygdr...
   17985       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17986       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17987       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17988       ;;
   17989     *)
   17990       sys_lib_search_path_spec=$LIB
   17991       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17992         # It is most probably a Windows format PATH.
   17993         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17994       else
   17995         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17996       fi
   17997       # FIXME: find the short name or the path components, as spaces are
   17998       # common. (e.g. "Program Files" -> "PROGRA~1")
   17999       ;;
   18000     esac
   18001 
   18002     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18003     postinstall_cmds='base_file=`basename \$file`~
   18004       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18005       dldir=$destdir/`dirname \$dlpath`~
   18006       test -d \$dldir || mkdir -p \$dldir~
   18007       $install_prog $dir/$dlname \$dldir/$dlname'
   18008     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18009       dlpath=$dir/\$dldll~
   18010        $RM \$dlpath'
   18011     shlibpath_overrides_runpath=yes
   18012     dynamic_linker='Win32 link.exe'
   18013     ;;
   18014 
   18015   *)
   18016     # Assume MSVC and ICC wrapper
   18017     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18018     dynamic_linker='Win32 ld.exe'
   18019     ;;
   18020   esac
   18021   # FIXME: first we should search . and the directory the executable is in
   18022   shlibpath_var=PATH
   18023   ;;
   18024 
   18025 darwin* | rhapsody*)
   18026   dynamic_linker="$host_os dyld"
   18027   version_type=darwin
   18028   need_lib_prefix=no
   18029   need_version=no
   18030   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18031   soname_spec='$libname$release$major$shared_ext'
   18032   shlibpath_overrides_runpath=yes
   18033   shlibpath_var=DYLD_LIBRARY_PATH
   18034   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18035 
   18036   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18037   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18038   ;;
   18039 
   18040 dgux*)
   18041   version_type=linux # correct to gnu/linux during the next big refactor
   18042   need_lib_prefix=no
   18043   need_version=no
   18044   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18045   soname_spec='$libname$release$shared_ext$major'
   18046   shlibpath_var=LD_LIBRARY_PATH
   18047   ;;
   18048 
   18049 freebsd* | dragonfly* | midnightbsd*)
   18050   # DragonFly does not have aout.  When/if they implement a new
   18051   # versioning mechanism, adjust this.
   18052   if test -x /usr/bin/objformat; then
   18053     objformat=`/usr/bin/objformat`
   18054   else
   18055     case $host_os in
   18056     freebsd[23].*) objformat=aout ;;
   18057     *) objformat=elf ;;
   18058     esac
   18059   fi
   18060   version_type=freebsd-$objformat
   18061   case $version_type in
   18062     freebsd-elf*)
   18063       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18064       soname_spec='$libname$release$shared_ext$major'
   18065       need_version=no
   18066       need_lib_prefix=no
   18067       ;;
   18068     freebsd-*)
   18069       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18070       need_version=yes
   18071       ;;
   18072   esac
   18073   shlibpath_var=LD_LIBRARY_PATH
   18074   case $host_os in
   18075   freebsd2.*)
   18076     shlibpath_overrides_runpath=yes
   18077     ;;
   18078   freebsd3.[01]* | freebsdelf3.[01]*)
   18079     shlibpath_overrides_runpath=yes
   18080     hardcode_into_libs=yes
   18081     ;;
   18082   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18083   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18084     shlibpath_overrides_runpath=no
   18085     hardcode_into_libs=yes
   18086     ;;
   18087   *) # from 4.6 on, and DragonFly
   18088     shlibpath_overrides_runpath=yes
   18089     hardcode_into_libs=yes
   18090     ;;
   18091   esac
   18092   ;;
   18093 
   18094 haiku*)
   18095   version_type=linux # correct to gnu/linux during the next big refactor
   18096   need_lib_prefix=no
   18097   need_version=no
   18098   dynamic_linker="$host_os runtime_loader"
   18099   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18100   soname_spec='$libname$release$shared_ext$major'
   18101   shlibpath_var=LIBRARY_PATH
   18102   shlibpath_overrides_runpath=no
   18103   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18104   hardcode_into_libs=yes
   18105   ;;
   18106 
   18107 hpux9* | hpux10* | hpux11*)
   18108   # Give a soname corresponding to the major version so that dld.sl refuses to
   18109   # link against other versions.
   18110   version_type=sunos
   18111   need_lib_prefix=no
   18112   need_version=no
   18113   case $host_cpu in
   18114   ia64*)
   18115     shrext_cmds='.so'
   18116     hardcode_into_libs=yes
   18117     dynamic_linker="$host_os dld.so"
   18118     shlibpath_var=LD_LIBRARY_PATH
   18119     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18120     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18121     soname_spec='$libname$release$shared_ext$major'
   18122     if test 32 = "$HPUX_IA64_MODE"; then
   18123       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18124       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18125     else
   18126       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18127       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18128     fi
   18129     ;;
   18130   hppa*64*)
   18131     shrext_cmds='.sl'
   18132     hardcode_into_libs=yes
   18133     dynamic_linker="$host_os dld.sl"
   18134     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18135     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18136     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18137     soname_spec='$libname$release$shared_ext$major'
   18138     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18139     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18140     ;;
   18141   *)
   18142     shrext_cmds='.sl'
   18143     dynamic_linker="$host_os dld.sl"
   18144     shlibpath_var=SHLIB_PATH
   18145     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18146     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18147     soname_spec='$libname$release$shared_ext$major'
   18148     ;;
   18149   esac
   18150   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18151   postinstall_cmds='chmod 555 $lib'
   18152   # or fails outright, so override atomically:
   18153   install_override_mode=555
   18154   ;;
   18155 
   18156 interix[3-9]*)
   18157   version_type=linux # correct to gnu/linux during the next big refactor
   18158   need_lib_prefix=no
   18159   need_version=no
   18160   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18161   soname_spec='$libname$release$shared_ext$major'
   18162   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18163   shlibpath_var=LD_LIBRARY_PATH
   18164   shlibpath_overrides_runpath=no
   18165   hardcode_into_libs=yes
   18166   ;;
   18167 
   18168 irix5* | irix6* | nonstopux*)
   18169   case $host_os in
   18170     nonstopux*) version_type=nonstopux ;;
   18171     *)
   18172 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18173 		version_type=linux # correct to gnu/linux during the next big refactor
   18174 	else
   18175 		version_type=irix
   18176 	fi ;;
   18177   esac
   18178   need_lib_prefix=no
   18179   need_version=no
   18180   soname_spec='$libname$release$shared_ext$major'
   18181   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18182   case $host_os in
   18183   irix5* | nonstopux*)
   18184     libsuff= shlibsuff=
   18185     ;;
   18186   *)
   18187     case $LD in # libtool.m4 will add one of these switches to LD
   18188     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18189       libsuff= shlibsuff= libmagic=32-bit;;
   18190     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18191       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18192     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18193       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18194     *) libsuff= shlibsuff= libmagic=never-match;;
   18195     esac
   18196     ;;
   18197   esac
   18198   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18199   shlibpath_overrides_runpath=no
   18200   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18201   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18202   hardcode_into_libs=yes
   18203   ;;
   18204 
   18205 # No shared lib support for Linux oldld, aout, or coff.
   18206 linux*oldld* | linux*aout* | linux*coff*)
   18207   dynamic_linker=no
   18208   ;;
   18209 
   18210 linux*android*)
   18211   version_type=none # Android doesn't support versioned libraries.
   18212   need_lib_prefix=no
   18213   need_version=no
   18214   library_names_spec='$libname$release$shared_ext'
   18215   soname_spec='$libname$release$shared_ext'
   18216   finish_cmds=
   18217   shlibpath_var=LD_LIBRARY_PATH
   18218   shlibpath_overrides_runpath=yes
   18219 
   18220   # This implies no fast_install, which is unacceptable.
   18221   # Some rework will be needed to allow for fast_install
   18222   # before this can be enabled.
   18223   hardcode_into_libs=yes
   18224 
   18225   dynamic_linker='Android linker'
   18226   # Don't embed -rpath directories since the linker doesn't support them.
   18227   hardcode_libdir_flag_spec='-L$libdir'
   18228   ;;
   18229 
   18230 # This must be glibc/ELF.
   18231 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18232   version_type=linux # correct to gnu/linux during the next big refactor
   18233   need_lib_prefix=no
   18234   need_version=no
   18235   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18236   soname_spec='$libname$release$shared_ext$major'
   18237   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18238   shlibpath_var=LD_LIBRARY_PATH
   18239   shlibpath_overrides_runpath=no
   18240 
   18241   # Some binutils ld are patched to set DT_RUNPATH
   18242   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18243 then :
   18244   printf %s "(cached) " >&6
   18245 else $as_nop
   18246   lt_cv_shlibpath_overrides_runpath=no
   18247     save_LDFLAGS=$LDFLAGS
   18248     save_libdir=$libdir
   18249     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18250 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18251     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18252 /* end confdefs.h.  */
   18253 
   18254 int
   18255 main (void)
   18256 {
   18257 
   18258   ;
   18259   return 0;
   18260 }
   18261 _ACEOF
   18262 if ac_fn_c_try_link "$LINENO"
   18263 then :
   18264   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18265 then :
   18266   lt_cv_shlibpath_overrides_runpath=yes
   18267 fi
   18268 fi
   18269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18270     conftest$ac_exeext conftest.$ac_ext
   18271     LDFLAGS=$save_LDFLAGS
   18272     libdir=$save_libdir
   18273 
   18274 fi
   18275 
   18276   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18277 
   18278   # This implies no fast_install, which is unacceptable.
   18279   # Some rework will be needed to allow for fast_install
   18280   # before this can be enabled.
   18281   hardcode_into_libs=yes
   18282 
   18283   # Ideally, we could use ldconfig to report *all* directores which are
   18284   # searched for libraries, however this is still not possible.  Aside from not
   18285   # being certain /sbin/ldconfig is available, command
   18286   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18287   # even though it is searched at run-time.  Try to do the best guess by
   18288   # appending ld.so.conf contents (and includes) to the search path.
   18289   if test -f /etc/ld.so.conf; then
   18290     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' ' '`
   18291     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18292   fi
   18293 
   18294   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18295   # powerpc, because MkLinux only supported shared libraries with the
   18296   # GNU dynamic linker.  Since this was broken with cross compilers,
   18297   # most powerpc-linux boxes support dynamic linking these days and
   18298   # people can always --disable-shared, the test was removed, and we
   18299   # assume the GNU/Linux dynamic linker is in use.
   18300   dynamic_linker='GNU/Linux ld.so'
   18301   ;;
   18302 
   18303 netbsd*)
   18304   version_type=sunos
   18305   need_lib_prefix=no
   18306   need_version=no
   18307   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18308     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18309     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18310     dynamic_linker='NetBSD (a.out) ld.so'
   18311   else
   18312     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18313     soname_spec='$libname$release$shared_ext$major'
   18314     dynamic_linker='NetBSD ld.elf_so'
   18315   fi
   18316   shlibpath_var=LD_LIBRARY_PATH
   18317   shlibpath_overrides_runpath=yes
   18318   hardcode_into_libs=yes
   18319   ;;
   18320 
   18321 newsos6)
   18322   version_type=linux # correct to gnu/linux during the next big refactor
   18323   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18324   shlibpath_var=LD_LIBRARY_PATH
   18325   shlibpath_overrides_runpath=yes
   18326   ;;
   18327 
   18328 *nto* | *qnx*)
   18329   version_type=qnx
   18330   need_lib_prefix=no
   18331   need_version=no
   18332   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18333   soname_spec='$libname$release$shared_ext$major'
   18334   shlibpath_var=LD_LIBRARY_PATH
   18335   shlibpath_overrides_runpath=no
   18336   hardcode_into_libs=yes
   18337   dynamic_linker='ldqnx.so'
   18338   ;;
   18339 
   18340 openbsd* | bitrig*)
   18341   version_type=sunos
   18342   sys_lib_dlsearch_path_spec=/usr/lib
   18343   need_lib_prefix=no
   18344   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18345     need_version=no
   18346   else
   18347     need_version=yes
   18348   fi
   18349   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18350   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18351   shlibpath_var=LD_LIBRARY_PATH
   18352   shlibpath_overrides_runpath=yes
   18353   ;;
   18354 
   18355 os2*)
   18356   libname_spec='$name'
   18357   version_type=windows
   18358   shrext_cmds=.dll
   18359   need_version=no
   18360   need_lib_prefix=no
   18361   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18362   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18363     v=$($ECHO $release$versuffix | tr -d .-);
   18364     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18365     $ECHO $n$v`$shared_ext'
   18366   library_names_spec='${libname}_dll.$libext'
   18367   dynamic_linker='OS/2 ld.exe'
   18368   shlibpath_var=BEGINLIBPATH
   18369   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18370   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18371   postinstall_cmds='base_file=`basename \$file`~
   18372     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18373     dldir=$destdir/`dirname \$dlpath`~
   18374     test -d \$dldir || mkdir -p \$dldir~
   18375     $install_prog $dir/$dlname \$dldir/$dlname~
   18376     chmod a+x \$dldir/$dlname~
   18377     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18378       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18379     fi'
   18380   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18381     dlpath=$dir/\$dldll~
   18382     $RM \$dlpath'
   18383   ;;
   18384 
   18385 osf3* | osf4* | osf5*)
   18386   version_type=osf
   18387   need_lib_prefix=no
   18388   need_version=no
   18389   soname_spec='$libname$release$shared_ext$major'
   18390   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18391   shlibpath_var=LD_LIBRARY_PATH
   18392   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18393   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18394   ;;
   18395 
   18396 rdos*)
   18397   dynamic_linker=no
   18398   ;;
   18399 
   18400 solaris*)
   18401   version_type=linux # correct to gnu/linux during the next big refactor
   18402   need_lib_prefix=no
   18403   need_version=no
   18404   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18405   soname_spec='$libname$release$shared_ext$major'
   18406   shlibpath_var=LD_LIBRARY_PATH
   18407   shlibpath_overrides_runpath=yes
   18408   hardcode_into_libs=yes
   18409   # ldd complains unless libraries are executable
   18410   postinstall_cmds='chmod +x $lib'
   18411   ;;
   18412 
   18413 sunos4*)
   18414   version_type=sunos
   18415   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18416   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18417   shlibpath_var=LD_LIBRARY_PATH
   18418   shlibpath_overrides_runpath=yes
   18419   if test yes = "$with_gnu_ld"; then
   18420     need_lib_prefix=no
   18421   fi
   18422   need_version=yes
   18423   ;;
   18424 
   18425 sysv4 | sysv4.3*)
   18426   version_type=linux # correct to gnu/linux during the next big refactor
   18427   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18428   soname_spec='$libname$release$shared_ext$major'
   18429   shlibpath_var=LD_LIBRARY_PATH
   18430   case $host_vendor in
   18431     sni)
   18432       shlibpath_overrides_runpath=no
   18433       need_lib_prefix=no
   18434       runpath_var=LD_RUN_PATH
   18435       ;;
   18436     siemens)
   18437       need_lib_prefix=no
   18438       ;;
   18439     motorola)
   18440       need_lib_prefix=no
   18441       need_version=no
   18442       shlibpath_overrides_runpath=no
   18443       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18444       ;;
   18445   esac
   18446   ;;
   18447 
   18448 sysv4*MP*)
   18449   if test -d /usr/nec; then
   18450     version_type=linux # correct to gnu/linux during the next big refactor
   18451     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18452     soname_spec='$libname$shared_ext.$major'
   18453     shlibpath_var=LD_LIBRARY_PATH
   18454   fi
   18455   ;;
   18456 
   18457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18458   version_type=sco
   18459   need_lib_prefix=no
   18460   need_version=no
   18461   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18462   soname_spec='$libname$release$shared_ext$major'
   18463   shlibpath_var=LD_LIBRARY_PATH
   18464   shlibpath_overrides_runpath=yes
   18465   hardcode_into_libs=yes
   18466   if test yes = "$with_gnu_ld"; then
   18467     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18468   else
   18469     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18470     case $host_os in
   18471       sco3.2v5*)
   18472         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18473 	;;
   18474     esac
   18475   fi
   18476   sys_lib_dlsearch_path_spec='/usr/lib'
   18477   ;;
   18478 
   18479 tpf*)
   18480   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18481   version_type=linux # correct to gnu/linux during the next big refactor
   18482   need_lib_prefix=no
   18483   need_version=no
   18484   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18485   shlibpath_var=LD_LIBRARY_PATH
   18486   shlibpath_overrides_runpath=no
   18487   hardcode_into_libs=yes
   18488   ;;
   18489 
   18490 uts4*)
   18491   version_type=linux # correct to gnu/linux during the next big refactor
   18492   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18493   soname_spec='$libname$release$shared_ext$major'
   18494   shlibpath_var=LD_LIBRARY_PATH
   18495   ;;
   18496 
   18497 *)
   18498   dynamic_linker=no
   18499   ;;
   18500 esac
   18501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18502 printf "%s\n" "$dynamic_linker" >&6; }
   18503 test no = "$dynamic_linker" && can_build_shared=no
   18504 
   18505 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18506 if test yes = "$GCC"; then
   18507   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18508 fi
   18509 
   18510 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18511   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18512 fi
   18513 
   18514 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18515   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18516 fi
   18517 
   18518 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18519 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18520 
   18521 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18522 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18523 
   18524 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18525 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18526 
   18527 
   18528 
   18529 
   18530 
   18531 
   18532 
   18533 
   18534 
   18535 
   18536 
   18537 
   18538 
   18539 
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18624 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18625 hardcode_action=
   18626 if test -n "$hardcode_libdir_flag_spec" ||
   18627    test -n "$runpath_var" ||
   18628    test yes = "$hardcode_automatic"; then
   18629 
   18630   # We can hardcode non-existent directories.
   18631   if test no != "$hardcode_direct" &&
   18632      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18633      # have to relink, otherwise we might link with an installed library
   18634      # when we should be linking with a yet-to-be-installed one
   18635      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18636      test no != "$hardcode_minus_L"; then
   18637     # Linking always hardcodes the temporary library directory.
   18638     hardcode_action=relink
   18639   else
   18640     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18641     hardcode_action=immediate
   18642   fi
   18643 else
   18644   # We cannot hardcode anything, or else we can only hardcode existing
   18645   # directories.
   18646   hardcode_action=unsupported
   18647 fi
   18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18649 printf "%s\n" "$hardcode_action" >&6; }
   18650 
   18651 if test relink = "$hardcode_action" ||
   18652    test yes = "$inherit_rpath"; then
   18653   # Fast installation is not supported
   18654   enable_fast_install=no
   18655 elif test yes = "$shlibpath_overrides_runpath" ||
   18656      test no = "$enable_shared"; then
   18657   # Fast installation is not necessary
   18658   enable_fast_install=needless
   18659 fi
   18660 
   18661 
   18662 
   18663 
   18664 
   18665 
   18666   if test yes != "$enable_dlopen"; then
   18667   enable_dlopen=unknown
   18668   enable_dlopen_self=unknown
   18669   enable_dlopen_self_static=unknown
   18670 else
   18671   lt_cv_dlopen=no
   18672   lt_cv_dlopen_libs=
   18673 
   18674   case $host_os in
   18675   beos*)
   18676     lt_cv_dlopen=load_add_on
   18677     lt_cv_dlopen_libs=
   18678     lt_cv_dlopen_self=yes
   18679     ;;
   18680 
   18681   mingw* | pw32* | cegcc*)
   18682     lt_cv_dlopen=LoadLibrary
   18683     lt_cv_dlopen_libs=
   18684     ;;
   18685 
   18686   cygwin*)
   18687     lt_cv_dlopen=dlopen
   18688     lt_cv_dlopen_libs=
   18689     ;;
   18690 
   18691   darwin*)
   18692     # if libdl is installed we need to link against it
   18693     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18694 printf %s "checking for dlopen in -ldl... " >&6; }
   18695 if test ${ac_cv_lib_dl_dlopen+y}
   18696 then :
   18697   printf %s "(cached) " >&6
   18698 else $as_nop
   18699   ac_check_lib_save_LIBS=$LIBS
   18700 LIBS="-ldl  $LIBS"
   18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18702 /* end confdefs.h.  */
   18703 
   18704 /* Override any GCC internal prototype to avoid an error.
   18705    Use char because int might match the return type of a GCC
   18706    builtin and then its argument prototype would still apply.  */
   18707 char dlopen ();
   18708 int
   18709 main (void)
   18710 {
   18711 return dlopen ();
   18712   ;
   18713   return 0;
   18714 }
   18715 _ACEOF
   18716 if ac_fn_c_try_link "$LINENO"
   18717 then :
   18718   ac_cv_lib_dl_dlopen=yes
   18719 else $as_nop
   18720   ac_cv_lib_dl_dlopen=no
   18721 fi
   18722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18723     conftest$ac_exeext conftest.$ac_ext
   18724 LIBS=$ac_check_lib_save_LIBS
   18725 fi
   18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18727 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18728 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18729 then :
   18730   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18731 else $as_nop
   18732 
   18733     lt_cv_dlopen=dyld
   18734     lt_cv_dlopen_libs=
   18735     lt_cv_dlopen_self=yes
   18736 
   18737 fi
   18738 
   18739     ;;
   18740 
   18741   tpf*)
   18742     # Don't try to run any link tests for TPF.  We know it's impossible
   18743     # because TPF is a cross-compiler, and we know how we open DSOs.
   18744     lt_cv_dlopen=dlopen
   18745     lt_cv_dlopen_libs=
   18746     lt_cv_dlopen_self=no
   18747     ;;
   18748 
   18749   *)
   18750     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18751 if test "x$ac_cv_func_shl_load" = xyes
   18752 then :
   18753   lt_cv_dlopen=shl_load
   18754 else $as_nop
   18755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18756 printf %s "checking for shl_load in -ldld... " >&6; }
   18757 if test ${ac_cv_lib_dld_shl_load+y}
   18758 then :
   18759   printf %s "(cached) " >&6
   18760 else $as_nop
   18761   ac_check_lib_save_LIBS=$LIBS
   18762 LIBS="-ldld  $LIBS"
   18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18764 /* end confdefs.h.  */
   18765 
   18766 /* Override any GCC internal prototype to avoid an error.
   18767    Use char because int might match the return type of a GCC
   18768    builtin and then its argument prototype would still apply.  */
   18769 char shl_load ();
   18770 int
   18771 main (void)
   18772 {
   18773 return shl_load ();
   18774   ;
   18775   return 0;
   18776 }
   18777 _ACEOF
   18778 if ac_fn_c_try_link "$LINENO"
   18779 then :
   18780   ac_cv_lib_dld_shl_load=yes
   18781 else $as_nop
   18782   ac_cv_lib_dld_shl_load=no
   18783 fi
   18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18785     conftest$ac_exeext conftest.$ac_ext
   18786 LIBS=$ac_check_lib_save_LIBS
   18787 fi
   18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18789 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   18790 if test "x$ac_cv_lib_dld_shl_load" = xyes
   18791 then :
   18792   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18793 else $as_nop
   18794   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18795 if test "x$ac_cv_func_dlopen" = xyes
   18796 then :
   18797   lt_cv_dlopen=dlopen
   18798 else $as_nop
   18799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18800 printf %s "checking for dlopen in -ldl... " >&6; }
   18801 if test ${ac_cv_lib_dl_dlopen+y}
   18802 then :
   18803   printf %s "(cached) " >&6
   18804 else $as_nop
   18805   ac_check_lib_save_LIBS=$LIBS
   18806 LIBS="-ldl  $LIBS"
   18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18808 /* end confdefs.h.  */
   18809 
   18810 /* Override any GCC internal prototype to avoid an error.
   18811    Use char because int might match the return type of a GCC
   18812    builtin and then its argument prototype would still apply.  */
   18813 char dlopen ();
   18814 int
   18815 main (void)
   18816 {
   18817 return dlopen ();
   18818   ;
   18819   return 0;
   18820 }
   18821 _ACEOF
   18822 if ac_fn_c_try_link "$LINENO"
   18823 then :
   18824   ac_cv_lib_dl_dlopen=yes
   18825 else $as_nop
   18826   ac_cv_lib_dl_dlopen=no
   18827 fi
   18828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18829     conftest$ac_exeext conftest.$ac_ext
   18830 LIBS=$ac_check_lib_save_LIBS
   18831 fi
   18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18833 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18834 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18835 then :
   18836   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18837 else $as_nop
   18838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18839 printf %s "checking for dlopen in -lsvld... " >&6; }
   18840 if test ${ac_cv_lib_svld_dlopen+y}
   18841 then :
   18842   printf %s "(cached) " >&6
   18843 else $as_nop
   18844   ac_check_lib_save_LIBS=$LIBS
   18845 LIBS="-lsvld  $LIBS"
   18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18847 /* end confdefs.h.  */
   18848 
   18849 /* Override any GCC internal prototype to avoid an error.
   18850    Use char because int might match the return type of a GCC
   18851    builtin and then its argument prototype would still apply.  */
   18852 char dlopen ();
   18853 int
   18854 main (void)
   18855 {
   18856 return dlopen ();
   18857   ;
   18858   return 0;
   18859 }
   18860 _ACEOF
   18861 if ac_fn_c_try_link "$LINENO"
   18862 then :
   18863   ac_cv_lib_svld_dlopen=yes
   18864 else $as_nop
   18865   ac_cv_lib_svld_dlopen=no
   18866 fi
   18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18868     conftest$ac_exeext conftest.$ac_ext
   18869 LIBS=$ac_check_lib_save_LIBS
   18870 fi
   18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18872 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   18873 if test "x$ac_cv_lib_svld_dlopen" = xyes
   18874 then :
   18875   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18876 else $as_nop
   18877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18878 printf %s "checking for dld_link in -ldld... " >&6; }
   18879 if test ${ac_cv_lib_dld_dld_link+y}
   18880 then :
   18881   printf %s "(cached) " >&6
   18882 else $as_nop
   18883   ac_check_lib_save_LIBS=$LIBS
   18884 LIBS="-ldld  $LIBS"
   18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18886 /* end confdefs.h.  */
   18887 
   18888 /* Override any GCC internal prototype to avoid an error.
   18889    Use char because int might match the return type of a GCC
   18890    builtin and then its argument prototype would still apply.  */
   18891 char dld_link ();
   18892 int
   18893 main (void)
   18894 {
   18895 return dld_link ();
   18896   ;
   18897   return 0;
   18898 }
   18899 _ACEOF
   18900 if ac_fn_c_try_link "$LINENO"
   18901 then :
   18902   ac_cv_lib_dld_dld_link=yes
   18903 else $as_nop
   18904   ac_cv_lib_dld_dld_link=no
   18905 fi
   18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18907     conftest$ac_exeext conftest.$ac_ext
   18908 LIBS=$ac_check_lib_save_LIBS
   18909 fi
   18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18911 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   18912 if test "x$ac_cv_lib_dld_dld_link" = xyes
   18913 then :
   18914   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18915 fi
   18916 
   18917 
   18918 fi
   18919 
   18920 
   18921 fi
   18922 
   18923 
   18924 fi
   18925 
   18926 
   18927 fi
   18928 
   18929 
   18930 fi
   18931 
   18932     ;;
   18933   esac
   18934 
   18935   if test no = "$lt_cv_dlopen"; then
   18936     enable_dlopen=no
   18937   else
   18938     enable_dlopen=yes
   18939   fi
   18940 
   18941   case $lt_cv_dlopen in
   18942   dlopen)
   18943     save_CPPFLAGS=$CPPFLAGS
   18944     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18945 
   18946     save_LDFLAGS=$LDFLAGS
   18947     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18948 
   18949     save_LIBS=$LIBS
   18950     LIBS="$lt_cv_dlopen_libs $LIBS"
   18951 
   18952     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18953 printf %s "checking whether a program can dlopen itself... " >&6; }
   18954 if test ${lt_cv_dlopen_self+y}
   18955 then :
   18956   printf %s "(cached) " >&6
   18957 else $as_nop
   18958   	  if test yes = "$cross_compiling"; then :
   18959   lt_cv_dlopen_self=cross
   18960 else
   18961   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18962   lt_status=$lt_dlunknown
   18963   cat > conftest.$ac_ext <<_LT_EOF
   18964 #line $LINENO "configure"
   18965 #include "confdefs.h"
   18966 
   18967 #if HAVE_DLFCN_H
   18968 #include <dlfcn.h>
   18969 #endif
   18970 
   18971 #include <stdio.h>
   18972 
   18973 #ifdef RTLD_GLOBAL
   18974 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18975 #else
   18976 #  ifdef DL_GLOBAL
   18977 #    define LT_DLGLOBAL		DL_GLOBAL
   18978 #  else
   18979 #    define LT_DLGLOBAL		0
   18980 #  endif
   18981 #endif
   18982 
   18983 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18984    find out it does not work in some platform. */
   18985 #ifndef LT_DLLAZY_OR_NOW
   18986 #  ifdef RTLD_LAZY
   18987 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18988 #  else
   18989 #    ifdef DL_LAZY
   18990 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18991 #    else
   18992 #      ifdef RTLD_NOW
   18993 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18994 #      else
   18995 #        ifdef DL_NOW
   18996 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18997 #        else
   18998 #          define LT_DLLAZY_OR_NOW	0
   18999 #        endif
   19000 #      endif
   19001 #    endif
   19002 #  endif
   19003 #endif
   19004 
   19005 /* When -fvisibility=hidden is used, assume the code has been annotated
   19006    correspondingly for the symbols needed.  */
   19007 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19008 int fnord () __attribute__((visibility("default")));
   19009 #endif
   19010 
   19011 int fnord () { return 42; }
   19012 int main ()
   19013 {
   19014   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19015   int status = $lt_dlunknown;
   19016 
   19017   if (self)
   19018     {
   19019       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19020       else
   19021         {
   19022 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19023           else puts (dlerror ());
   19024 	}
   19025       /* dlclose (self); */
   19026     }
   19027   else
   19028     puts (dlerror ());
   19029 
   19030   return status;
   19031 }
   19032 _LT_EOF
   19033   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19034   (eval $ac_link) 2>&5
   19035   ac_status=$?
   19036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19037   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19038     (./conftest; exit; ) >&5 2>/dev/null
   19039     lt_status=$?
   19040     case x$lt_status in
   19041       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19042       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19043       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19044     esac
   19045   else :
   19046     # compilation failed
   19047     lt_cv_dlopen_self=no
   19048   fi
   19049 fi
   19050 rm -fr conftest*
   19051 
   19052 
   19053 fi
   19054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19055 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19056 
   19057     if test yes = "$lt_cv_dlopen_self"; then
   19058       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19059       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19060 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19061 if test ${lt_cv_dlopen_self_static+y}
   19062 then :
   19063   printf %s "(cached) " >&6
   19064 else $as_nop
   19065   	  if test yes = "$cross_compiling"; then :
   19066   lt_cv_dlopen_self_static=cross
   19067 else
   19068   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19069   lt_status=$lt_dlunknown
   19070   cat > conftest.$ac_ext <<_LT_EOF
   19071 #line $LINENO "configure"
   19072 #include "confdefs.h"
   19073 
   19074 #if HAVE_DLFCN_H
   19075 #include <dlfcn.h>
   19076 #endif
   19077 
   19078 #include <stdio.h>
   19079 
   19080 #ifdef RTLD_GLOBAL
   19081 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19082 #else
   19083 #  ifdef DL_GLOBAL
   19084 #    define LT_DLGLOBAL		DL_GLOBAL
   19085 #  else
   19086 #    define LT_DLGLOBAL		0
   19087 #  endif
   19088 #endif
   19089 
   19090 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19091    find out it does not work in some platform. */
   19092 #ifndef LT_DLLAZY_OR_NOW
   19093 #  ifdef RTLD_LAZY
   19094 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19095 #  else
   19096 #    ifdef DL_LAZY
   19097 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19098 #    else
   19099 #      ifdef RTLD_NOW
   19100 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19101 #      else
   19102 #        ifdef DL_NOW
   19103 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19104 #        else
   19105 #          define LT_DLLAZY_OR_NOW	0
   19106 #        endif
   19107 #      endif
   19108 #    endif
   19109 #  endif
   19110 #endif
   19111 
   19112 /* When -fvisibility=hidden is used, assume the code has been annotated
   19113    correspondingly for the symbols needed.  */
   19114 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19115 int fnord () __attribute__((visibility("default")));
   19116 #endif
   19117 
   19118 int fnord () { return 42; }
   19119 int main ()
   19120 {
   19121   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19122   int status = $lt_dlunknown;
   19123 
   19124   if (self)
   19125     {
   19126       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19127       else
   19128         {
   19129 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19130           else puts (dlerror ());
   19131 	}
   19132       /* dlclose (self); */
   19133     }
   19134   else
   19135     puts (dlerror ());
   19136 
   19137   return status;
   19138 }
   19139 _LT_EOF
   19140   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19141   (eval $ac_link) 2>&5
   19142   ac_status=$?
   19143   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19144   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19145     (./conftest; exit; ) >&5 2>/dev/null
   19146     lt_status=$?
   19147     case x$lt_status in
   19148       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19149       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19150       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19151     esac
   19152   else :
   19153     # compilation failed
   19154     lt_cv_dlopen_self_static=no
   19155   fi
   19156 fi
   19157 rm -fr conftest*
   19158 
   19159 
   19160 fi
   19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19162 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19163     fi
   19164 
   19165     CPPFLAGS=$save_CPPFLAGS
   19166     LDFLAGS=$save_LDFLAGS
   19167     LIBS=$save_LIBS
   19168     ;;
   19169   esac
   19170 
   19171   case $lt_cv_dlopen_self in
   19172   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19173   *) enable_dlopen_self=unknown ;;
   19174   esac
   19175 
   19176   case $lt_cv_dlopen_self_static in
   19177   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19178   *) enable_dlopen_self_static=unknown ;;
   19179   esac
   19180 fi
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 
   19188 
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 striplib=
   19199 old_striplib=
   19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19201 printf %s "checking whether stripping libraries is possible... " >&6; }
   19202 if test -z "$STRIP"; then
   19203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19204 printf "%s\n" "no" >&6; }
   19205 else
   19206   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19207     old_striplib="$STRIP --strip-debug"
   19208     striplib="$STRIP --strip-unneeded"
   19209     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19210 printf "%s\n" "yes" >&6; }
   19211   else
   19212     case $host_os in
   19213     darwin*)
   19214       # FIXME - insert some real tests, host_os isn't really good enough
   19215       striplib="$STRIP -x"
   19216       old_striplib="$STRIP -S"
   19217       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19218 printf "%s\n" "yes" >&6; }
   19219       ;;
   19220     freebsd*)
   19221       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19222         old_striplib="$STRIP --strip-debug"
   19223         striplib="$STRIP --strip-unneeded"
   19224         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19225 printf "%s\n" "yes" >&6; }
   19226       else
   19227         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19228 printf "%s\n" "no" >&6; }
   19229       fi
   19230       ;;
   19231     *)
   19232       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19233 printf "%s\n" "no" >&6; }
   19234       ;;
   19235     esac
   19236   fi
   19237 fi
   19238 
   19239 
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250   # Report what library types will actually be built
   19251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19252 printf %s "checking if libtool supports shared libraries... " >&6; }
   19253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19254 printf "%s\n" "$can_build_shared" >&6; }
   19255 
   19256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19257 printf %s "checking whether to build shared libraries... " >&6; }
   19258   test no = "$can_build_shared" && enable_shared=no
   19259 
   19260   # On AIX, shared libraries and static libraries use the same namespace, and
   19261   # are all built from PIC.
   19262   case $host_os in
   19263   aix3*)
   19264     test yes = "$enable_shared" && enable_static=no
   19265     if test -n "$RANLIB"; then
   19266       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19267       postinstall_cmds='$RANLIB $lib'
   19268     fi
   19269     ;;
   19270 
   19271   aix[4-9]*)
   19272     if test ia64 != "$host_cpu"; then
   19273       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19274       yes,aix,yes) ;;			# shared object as lib.so file only
   19275       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19276       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19277       esac
   19278     fi
   19279     ;;
   19280   esac
   19281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19282 printf "%s\n" "$enable_shared" >&6; }
   19283 
   19284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19285 printf %s "checking whether to build static libraries... " >&6; }
   19286   # Make sure either enable_shared or enable_static is yes.
   19287   test yes = "$enable_shared" || enable_static=yes
   19288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19289 printf "%s\n" "$enable_static" >&6; }
   19290 
   19291 
   19292 
   19293 
   19294 fi
   19295 ac_ext=c
   19296 ac_cpp='$CPP $CPPFLAGS'
   19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19300 
   19301 CC=$lt_save_CC
   19302 
   19303 
   19304 
   19305 
   19306 
   19307 
   19308 
   19309 
   19310 
   19311 
   19312 
   19313 
   19314 
   19315 
   19316 
   19317         ac_config_commands="$ac_config_commands libtool"
   19318 
   19319 
   19320 
   19321 
   19322 # Only expand once:
   19323 
   19324 
   19325 
   19326 
   19327 
   19328 # Define a configure option for an alternate module directory
   19329 
   19330 # Check whether --with-xorg-module-dir was given.
   19331 if test ${with_xorg_module_dir+y}
   19332 then :
   19333   withval=$with_xorg_module_dir; moduledir="$withval"
   19334 else $as_nop
   19335   moduledir="$libdir/xorg/modules"
   19336 fi
   19337 
   19338 
   19339 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19340 
   19341 
   19342 	SAVE_CFLAGS="$CFLAGS"
   19343 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19344 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19345 /* end confdefs.h.  */
   19346 
   19347 #include "xorg-server.h"
   19348 #if !defined RANDR
   19349 #error RANDR not defined
   19350 #endif
   19351 
   19352 int
   19353 main (void)
   19354 {
   19355 
   19356   ;
   19357   return 0;
   19358 }
   19359 _ACEOF
   19360 if ac_fn_c_try_compile "$LINENO"
   19361 then :
   19362   _EXT_CHECK=yes
   19363 else $as_nop
   19364   _EXT_CHECK=no
   19365 fi
   19366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19367 	CFLAGS="$SAVE_CFLAGS"
   19368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19369 printf %s "checking if RANDR is defined... " >&6; }
   19370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19371 printf "%s\n" "$_EXT_CHECK" >&6; }
   19372 	if test "$_EXT_CHECK" != no; then
   19373 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19374 	fi
   19375 
   19376 
   19377 
   19378 	SAVE_CFLAGS="$CFLAGS"
   19379 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19380 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19381 /* end confdefs.h.  */
   19382 
   19383 #include "xorg-server.h"
   19384 #if !defined RENDER
   19385 #error RENDER not defined
   19386 #endif
   19387 
   19388 int
   19389 main (void)
   19390 {
   19391 
   19392   ;
   19393   return 0;
   19394 }
   19395 _ACEOF
   19396 if ac_fn_c_try_compile "$LINENO"
   19397 then :
   19398   _EXT_CHECK=yes
   19399 else $as_nop
   19400   _EXT_CHECK=no
   19401 fi
   19402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19403 	CFLAGS="$SAVE_CFLAGS"
   19404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19405 printf %s "checking if RENDER is defined... " >&6; }
   19406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19407 printf "%s\n" "$_EXT_CHECK" >&6; }
   19408 	if test "$_EXT_CHECK" != no; then
   19409 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19410 	fi
   19411 
   19412 
   19413 
   19414 	SAVE_CFLAGS="$CFLAGS"
   19415 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19416 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19417 /* end confdefs.h.  */
   19418 
   19419 #include "xorg-server.h"
   19420 #if !defined XV
   19421 #error XV not defined
   19422 #endif
   19423 
   19424 int
   19425 main (void)
   19426 {
   19427 
   19428   ;
   19429   return 0;
   19430 }
   19431 _ACEOF
   19432 if ac_fn_c_try_compile "$LINENO"
   19433 then :
   19434   _EXT_CHECK=yes
   19435 else $as_nop
   19436   _EXT_CHECK=no
   19437 fi
   19438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19439 	CFLAGS="$SAVE_CFLAGS"
   19440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   19441 printf %s "checking if XV is defined... " >&6; }
   19442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19443 printf "%s\n" "$_EXT_CHECK" >&6; }
   19444 	if test "$_EXT_CHECK" != no; then
   19445 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19446 	fi
   19447 
   19448 
   19449 
   19450 	SAVE_CFLAGS="$CFLAGS"
   19451 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19452 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19453 /* end confdefs.h.  */
   19454 
   19455 #include "xorg-server.h"
   19456 #if !defined DPMSExtension
   19457 #error DPMSExtension not defined
   19458 #endif
   19459 
   19460 int
   19461 main (void)
   19462 {
   19463 
   19464   ;
   19465   return 0;
   19466 }
   19467 _ACEOF
   19468 if ac_fn_c_try_compile "$LINENO"
   19469 then :
   19470   _EXT_CHECK=yes
   19471 else $as_nop
   19472   _EXT_CHECK=no
   19473 fi
   19474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19475 	CFLAGS="$SAVE_CFLAGS"
   19476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   19477 printf %s "checking if DPMSExtension is defined... " >&6; }
   19478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19479 printf "%s\n" "$_EXT_CHECK" >&6; }
   19480 	if test "$_EXT_CHECK" != no; then
   19481 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19482 	fi
   19483 
   19484 
   19485 # Obtain compiler/linker options for the driver dependencies
   19486 
   19487 pkg_failed=no
   19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19489 printf %s "checking for XORG... " >&6; }
   19490 
   19491 if test -n "$XORG_CFLAGS"; then
   19492     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19493  elif test -n "$PKG_CONFIG"; then
   19494     if test -n "$PKG_CONFIG" && \
   19495     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19496   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   19497   ac_status=$?
   19498   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19499   test $ac_status = 0; }; then
   19500   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19501 		      test "x$?" != "x0" && pkg_failed=yes
   19502 else
   19503   pkg_failed=yes
   19504 fi
   19505  else
   19506     pkg_failed=untried
   19507 fi
   19508 if test -n "$XORG_LIBS"; then
   19509     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19510  elif test -n "$PKG_CONFIG"; then
   19511     if test -n "$PKG_CONFIG" && \
   19512     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19513   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   19514   ac_status=$?
   19515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19516   test $ac_status = 0; }; then
   19517   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19518 		      test "x$?" != "x0" && pkg_failed=yes
   19519 else
   19520   pkg_failed=yes
   19521 fi
   19522  else
   19523     pkg_failed=untried
   19524 fi
   19525 
   19526 
   19527 
   19528 if test $pkg_failed = yes; then
   19529    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19530 printf "%s\n" "no" >&6; }
   19531 
   19532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19533         _pkg_short_errors_supported=yes
   19534 else
   19535         _pkg_short_errors_supported=no
   19536 fi
   19537         if test $_pkg_short_errors_supported = yes; then
   19538 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19539         else
   19540 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19541         fi
   19542 	# Put the nasty error message in config.log where it belongs
   19543 	echo "$XORG_PKG_ERRORS" >&5
   19544 
   19545 	as_fn_error $? "Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   19546 
   19547 $XORG_PKG_ERRORS
   19548 
   19549 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19550 installed software in a non-standard prefix.
   19551 
   19552 Alternatively, you may set the environment variables XORG_CFLAGS
   19553 and XORG_LIBS to avoid the need to call pkg-config.
   19554 See the pkg-config man page for more details." "$LINENO" 5
   19555 elif test $pkg_failed = untried; then
   19556      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19557 printf "%s\n" "no" >&6; }
   19558 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19559 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19560 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19561 is in your PATH or set the PKG_CONFIG environment variable to the full
   19562 path to pkg-config.
   19563 
   19564 Alternatively, you may set the environment variables XORG_CFLAGS
   19565 and XORG_LIBS to avoid the need to call pkg-config.
   19566 See the pkg-config man page for more details.
   19567 
   19568 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19569 See \`config.log' for more details" "$LINENO" 5; }
   19570 else
   19571 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19572 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19573         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19574 printf "%s\n" "yes" >&6; }
   19575 
   19576 fi
   19577 
   19578 # Checks for libraries.
   19579 SAVE_CPPFLAGS="$CPPFLAGS"
   19580 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19581 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19582 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   19583 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   19584 then :
   19585   XSERVER_LIBPCIACCESS=yes
   19586 else $as_nop
   19587   XSERVER_LIBPCIACCESS=no
   19588 fi
   19589 ac_fn_c_check_header_compile "$LINENO" "xf1bpp.h" "ac_cv_header_xf1bpp_h" "$ac_includes_default"
   19590 if test "x$ac_cv_header_xf1bpp_h" = xyes
   19591 then :
   19592 
   19593 printf "%s\n" "#define HAVE_XF1BPP 1" >>confdefs.h
   19594 
   19595 fi
   19596 
   19597 ac_fn_c_check_header_compile "$LINENO" "xf4bpp.h" "ac_cv_header_xf4bpp_h" "$ac_includes_default"
   19598 if test "x$ac_cv_header_xf4bpp_h" = xyes
   19599 then :
   19600 
   19601 printf "%s\n" "#define HAVE_XF4BPP 1" >>confdefs.h
   19602 
   19603 fi
   19604 
   19605 CPPFLAGS="$SAVE_CPPFLAGS"
   19606 
   19607 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19608 
   19609 pkg_failed=no
   19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19611 printf %s "checking for PCIACCESS... " >&6; }
   19612 
   19613 if test -n "$PCIACCESS_CFLAGS"; then
   19614     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19615  elif test -n "$PKG_CONFIG"; then
   19616     if test -n "$PKG_CONFIG" && \
   19617     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19618   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19619   ac_status=$?
   19620   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19621   test $ac_status = 0; }; then
   19622   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   19623 		      test "x$?" != "x0" && pkg_failed=yes
   19624 else
   19625   pkg_failed=yes
   19626 fi
   19627  else
   19628     pkg_failed=untried
   19629 fi
   19630 if test -n "$PCIACCESS_LIBS"; then
   19631     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19632  elif test -n "$PKG_CONFIG"; then
   19633     if test -n "$PKG_CONFIG" && \
   19634     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19635   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19636   ac_status=$?
   19637   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19638   test $ac_status = 0; }; then
   19639   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19640 		      test "x$?" != "x0" && pkg_failed=yes
   19641 else
   19642   pkg_failed=yes
   19643 fi
   19644  else
   19645     pkg_failed=untried
   19646 fi
   19647 
   19648 
   19649 
   19650 if test $pkg_failed = yes; then
   19651    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19652 printf "%s\n" "no" >&6; }
   19653 
   19654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19655         _pkg_short_errors_supported=yes
   19656 else
   19657         _pkg_short_errors_supported=no
   19658 fi
   19659         if test $_pkg_short_errors_supported = yes; then
   19660 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19661         else
   19662 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19663         fi
   19664 	# Put the nasty error message in config.log where it belongs
   19665 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19666 
   19667 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19668 
   19669 $PCIACCESS_PKG_ERRORS
   19670 
   19671 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19672 installed software in a non-standard prefix.
   19673 
   19674 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19675 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19676 See the pkg-config man page for more details." "$LINENO" 5
   19677 elif test $pkg_failed = untried; then
   19678      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19679 printf "%s\n" "no" >&6; }
   19680 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19681 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19682 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19683 is in your PATH or set the PKG_CONFIG environment variable to the full
   19684 path to pkg-config.
   19685 
   19686 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19687 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19688 See the pkg-config man page for more details.
   19689 
   19690 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19691 See \`config.log' for more details" "$LINENO" 5; }
   19692 else
   19693 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19694 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19695         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19696 printf "%s\n" "yes" >&6; }
   19697 
   19698 fi
   19699     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19700 fi
   19701  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19702   XSERVER_LIBPCIACCESS_TRUE=
   19703   XSERVER_LIBPCIACCESS_FALSE='#'
   19704 else
   19705   XSERVER_LIBPCIACCESS_TRUE='#'
   19706   XSERVER_LIBPCIACCESS_FALSE=
   19707 fi
   19708 
   19709 
   19710 
   19711 # Check whether --enable-xaa was given.
   19712 if test ${enable_xaa+y}
   19713 then :
   19714   enableval=$enable_xaa; XAA="$enableval"
   19715 else $as_nop
   19716   XAA=auto
   19717 fi
   19718 
   19719 if test "x$XAA" != xno; then
   19720         save_CFLAGS=$CFLAGS
   19721         save_CPPFLAGS=$CPPFLAGS
   19722         CFLAGS=$XORG_CFLAGS
   19723         CPPFLAGS="$XORG_CFLAGS"
   19724                for ac_header in xaa.h
   19725 do :
   19726   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19727 if test "x$ac_cv_header_xaa_h" = xyes
   19728 then :
   19729   printf "%s\n" "#define HAVE_XAA_H 1" >>confdefs.h
   19730  XAA=yes
   19731 else $as_nop
   19732   XAA=no
   19733 fi
   19734 
   19735 done
   19736         CFLAGS=$save_CFLAGS
   19737         CPPFLAGS=$save_CPPFLAGS
   19738 fi
   19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19740 printf %s "checking whether to include XAA support... " >&6; }
   19741  if test "x$XAA" = xyes; then
   19742   XAA_TRUE=
   19743   XAA_FALSE='#'
   19744 else
   19745   XAA_TRUE='#'
   19746   XAA_FALSE=
   19747 fi
   19748 
   19749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19750 printf "%s\n" "$XAA" >&6; }
   19751 
   19752 # Required by exa.h
   19753 
   19754 printf "%s\n" "#define EXA_DRIVER_KNOWN_MAJOR 3" >>confdefs.h
   19755 
   19756 
   19757 
   19758 
   19759 
   19760 DRIVER_NAME=i128
   19761 
   19762 
   19763 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19764 
   19765 cat >confcache <<\_ACEOF
   19766 # This file is a shell script that caches the results of configure
   19767 # tests run on this system so they can be shared between configure
   19768 # scripts and configure runs, see configure's option --config-cache.
   19769 # It is not useful on other systems.  If it contains results you don't
   19770 # want to keep, you may remove or edit it.
   19771 #
   19772 # config.status only pays attention to the cache file if you give it
   19773 # the --recheck option to rerun configure.
   19774 #
   19775 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19776 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19777 # following values.
   19778 
   19779 _ACEOF
   19780 
   19781 # The following way of writing the cache mishandles newlines in values,
   19782 # but we know of no workaround that is simple, portable, and efficient.
   19783 # So, we kill variables containing newlines.
   19784 # Ultrix sh set writes to stderr and can't be redirected directly,
   19785 # and sets the high bit in the cache file unless we assign to the vars.
   19786 (
   19787   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19788     eval ac_val=\$$ac_var
   19789     case $ac_val in #(
   19790     *${as_nl}*)
   19791       case $ac_var in #(
   19792       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19793 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19794       esac
   19795       case $ac_var in #(
   19796       _ | IFS | as_nl) ;; #(
   19797       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19798       *) { eval $ac_var=; unset $ac_var;} ;;
   19799       esac ;;
   19800     esac
   19801   done
   19802 
   19803   (set) 2>&1 |
   19804     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19805     *${as_nl}ac_space=\ *)
   19806       # `set' does not quote correctly, so add quotes: double-quote
   19807       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19808       sed -n \
   19809 	"s/'/'\\\\''/g;
   19810 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19811       ;; #(
   19812     *)
   19813       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19814       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19815       ;;
   19816     esac |
   19817     sort
   19818 ) |
   19819   sed '
   19820      /^ac_cv_env_/b end
   19821      t clear
   19822      :clear
   19823      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19824      t end
   19825      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19826      :end' >>confcache
   19827 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19828   if test -w "$cache_file"; then
   19829     if test "x$cache_file" != "x/dev/null"; then
   19830       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19831 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19832       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19833 	cat confcache >"$cache_file"
   19834       else
   19835         case $cache_file in #(
   19836         */* | ?:*)
   19837 	  mv -f confcache "$cache_file"$$ &&
   19838 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19839         *)
   19840 	  mv -f confcache "$cache_file" ;;
   19841 	esac
   19842       fi
   19843     fi
   19844   else
   19845     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19846 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19847   fi
   19848 fi
   19849 rm -f confcache
   19850 
   19851 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19852 # Let make expand exec_prefix.
   19853 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19854 
   19855 DEFS=-DHAVE_CONFIG_H
   19856 
   19857 ac_libobjs=
   19858 ac_ltlibobjs=
   19859 U=
   19860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19861   # 1. Remove the extension, and $U if already installed.
   19862   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19863   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19864   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19865   #    will be set to the directory where LIBOBJS objects are built.
   19866   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19867   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19868 done
   19869 LIBOBJS=$ac_libobjs
   19870 
   19871 LTLIBOBJS=$ac_ltlibobjs
   19872 
   19873 
   19874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19875 printf %s "checking that generated files are newer than configure... " >&6; }
   19876    if test -n "$am_sleep_pid"; then
   19877      # Hide warnings about reused PIDs.
   19878      wait $am_sleep_pid 2>/dev/null
   19879    fi
   19880    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19881 printf "%s\n" "done" >&6; }
   19882  if test -n "$EXEEXT"; then
   19883   am__EXEEXT_TRUE=
   19884   am__EXEEXT_FALSE='#'
   19885 else
   19886   am__EXEEXT_TRUE='#'
   19887   am__EXEEXT_FALSE=
   19888 fi
   19889 
   19890 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19891   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19893 fi
   19894 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19895   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19897 fi
   19898 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19899   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19901 fi
   19902 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19903   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19905 fi
   19906 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19907   as_fn_error $? "conditional \"XAA\" was never defined.
   19908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19909 fi
   19910 
   19911 : "${CONFIG_STATUS=./config.status}"
   19912 ac_write_fail=0
   19913 ac_clean_files_save=$ac_clean_files
   19914 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19916 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19917 as_write_fail=0
   19918 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19919 #! $SHELL
   19920 # Generated by $as_me.
   19921 # Run this file to recreate the current configuration.
   19922 # Compiler output produced by configure, useful for debugging
   19923 # configure, is in config.log if it exists.
   19924 
   19925 debug=false
   19926 ac_cs_recheck=false
   19927 ac_cs_silent=false
   19928 
   19929 SHELL=\${CONFIG_SHELL-$SHELL}
   19930 export SHELL
   19931 _ASEOF
   19932 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19933 ## -------------------- ##
   19934 ## M4sh Initialization. ##
   19935 ## -------------------- ##
   19936 
   19937 # Be more Bourne compatible
   19938 DUALCASE=1; export DUALCASE # for MKS sh
   19939 as_nop=:
   19940 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19941 then :
   19942   emulate sh
   19943   NULLCMD=:
   19944   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19945   # is contrary to our usage.  Disable this feature.
   19946   alias -g '${1+"$@"}'='"$@"'
   19947   setopt NO_GLOB_SUBST
   19948 else $as_nop
   19949   case `(set -o) 2>/dev/null` in #(
   19950   *posix*) :
   19951     set -o posix ;; #(
   19952   *) :
   19953      ;;
   19954 esac
   19955 fi
   19956 
   19957 
   19958 
   19959 # Reset variables that may have inherited troublesome values from
   19960 # the environment.
   19961 
   19962 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19963 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19964 # side effect of setting IFS to empty, thus disabling word splitting.)
   19965 # Quoting is to prevent editors from complaining about space-tab.
   19966 as_nl='
   19967 '
   19968 export as_nl
   19969 IFS=" ""	$as_nl"
   19970 
   19971 PS1='$ '
   19972 PS2='> '
   19973 PS4='+ '
   19974 
   19975 # Ensure predictable behavior from utilities with locale-dependent output.
   19976 LC_ALL=C
   19977 export LC_ALL
   19978 LANGUAGE=C
   19979 export LANGUAGE
   19980 
   19981 # We cannot yet rely on "unset" to work, but we need these variables
   19982 # to be unset--not just set to an empty or harmless value--now, to
   19983 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19984 # also avoids known problems related to "unset" and subshell syntax
   19985 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19986 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19987 do eval test \${$as_var+y} \
   19988   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19989 done
   19990 
   19991 # Ensure that fds 0, 1, and 2 are open.
   19992 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19993 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19994 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19995 
   19996 # The user is always right.
   19997 if ${PATH_SEPARATOR+false} :; then
   19998   PATH_SEPARATOR=:
   19999   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20000     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20001       PATH_SEPARATOR=';'
   20002   }
   20003 fi
   20004 
   20005 
   20006 # Find who we are.  Look in the path if we contain no directory separator.
   20007 as_myself=
   20008 case $0 in #((
   20009   *[\\/]* ) as_myself=$0 ;;
   20010   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20011 for as_dir in $PATH
   20012 do
   20013   IFS=$as_save_IFS
   20014   case $as_dir in #(((
   20015     '') as_dir=./ ;;
   20016     */) ;;
   20017     *) as_dir=$as_dir/ ;;
   20018   esac
   20019     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20020   done
   20021 IFS=$as_save_IFS
   20022 
   20023      ;;
   20024 esac
   20025 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20026 # in which case we are not to be found in the path.
   20027 if test "x$as_myself" = x; then
   20028   as_myself=$0
   20029 fi
   20030 if test ! -f "$as_myself"; then
   20031   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20032   exit 1
   20033 fi
   20034 
   20035 
   20036 
   20037 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20038 # ----------------------------------------
   20039 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20040 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20041 # script with STATUS, using 1 if that was 0.
   20042 as_fn_error ()
   20043 {
   20044   as_status=$1; test $as_status -eq 0 && as_status=1
   20045   if test "$4"; then
   20046     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20048   fi
   20049   printf "%s\n" "$as_me: error: $2" >&2
   20050   as_fn_exit $as_status
   20051 } # as_fn_error
   20052 
   20053 
   20054 
   20055 # as_fn_set_status STATUS
   20056 # -----------------------
   20057 # Set $? to STATUS, without forking.
   20058 as_fn_set_status ()
   20059 {
   20060   return $1
   20061 } # as_fn_set_status
   20062 
   20063 # as_fn_exit STATUS
   20064 # -----------------
   20065 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20066 as_fn_exit ()
   20067 {
   20068   set +e
   20069   as_fn_set_status $1
   20070   exit $1
   20071 } # as_fn_exit
   20072 
   20073 # as_fn_unset VAR
   20074 # ---------------
   20075 # Portably unset VAR.
   20076 as_fn_unset ()
   20077 {
   20078   { eval $1=; unset $1;}
   20079 }
   20080 as_unset=as_fn_unset
   20081 
   20082 # as_fn_append VAR VALUE
   20083 # ----------------------
   20084 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20085 # advantage of any shell optimizations that allow amortized linear growth over
   20086 # repeated appends, instead of the typical quadratic growth present in naive
   20087 # implementations.
   20088 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20089 then :
   20090   eval 'as_fn_append ()
   20091   {
   20092     eval $1+=\$2
   20093   }'
   20094 else $as_nop
   20095   as_fn_append ()
   20096   {
   20097     eval $1=\$$1\$2
   20098   }
   20099 fi # as_fn_append
   20100 
   20101 # as_fn_arith ARG...
   20102 # ------------------
   20103 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20104 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20105 # must be portable across $(()) and expr.
   20106 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20107 then :
   20108   eval 'as_fn_arith ()
   20109   {
   20110     as_val=$(( $* ))
   20111   }'
   20112 else $as_nop
   20113   as_fn_arith ()
   20114   {
   20115     as_val=`expr "$@" || test $? -eq 1`
   20116   }
   20117 fi # as_fn_arith
   20118 
   20119 
   20120 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20121    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20122   as_expr=expr
   20123 else
   20124   as_expr=false
   20125 fi
   20126 
   20127 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20128   as_basename=basename
   20129 else
   20130   as_basename=false
   20131 fi
   20132 
   20133 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20134   as_dirname=dirname
   20135 else
   20136   as_dirname=false
   20137 fi
   20138 
   20139 as_me=`$as_basename -- "$0" ||
   20140 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20141 	 X"$0" : 'X\(//\)$' \| \
   20142 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20143 printf "%s\n" X/"$0" |
   20144     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20145 	    s//\1/
   20146 	    q
   20147 	  }
   20148 	  /^X\/\(\/\/\)$/{
   20149 	    s//\1/
   20150 	    q
   20151 	  }
   20152 	  /^X\/\(\/\).*/{
   20153 	    s//\1/
   20154 	    q
   20155 	  }
   20156 	  s/.*/./; q'`
   20157 
   20158 # Avoid depending upon Character Ranges.
   20159 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20160 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20161 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20162 as_cr_digits='0123456789'
   20163 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20164 
   20165 
   20166 # Determine whether it's possible to make 'echo' print without a newline.
   20167 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20168 # for compatibility with existing Makefiles.
   20169 ECHO_C= ECHO_N= ECHO_T=
   20170 case `echo -n x` in #(((((
   20171 -n*)
   20172   case `echo 'xy\c'` in
   20173   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20174   xy)  ECHO_C='\c';;
   20175   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20176        ECHO_T='	';;
   20177   esac;;
   20178 *)
   20179   ECHO_N='-n';;
   20180 esac
   20181 
   20182 # For backward compatibility with old third-party macros, we provide
   20183 # the shell variables $as_echo and $as_echo_n.  New code should use
   20184 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20185 as_echo='printf %s\n'
   20186 as_echo_n='printf %s'
   20187 
   20188 rm -f conf$$ conf$$.exe conf$$.file
   20189 if test -d conf$$.dir; then
   20190   rm -f conf$$.dir/conf$$.file
   20191 else
   20192   rm -f conf$$.dir
   20193   mkdir conf$$.dir 2>/dev/null
   20194 fi
   20195 if (echo >conf$$.file) 2>/dev/null; then
   20196   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20197     as_ln_s='ln -s'
   20198     # ... but there are two gotchas:
   20199     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20200     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20201     # In both cases, we have to default to `cp -pR'.
   20202     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20203       as_ln_s='cp -pR'
   20204   elif ln conf$$.file conf$$ 2>/dev/null; then
   20205     as_ln_s=ln
   20206   else
   20207     as_ln_s='cp -pR'
   20208   fi
   20209 else
   20210   as_ln_s='cp -pR'
   20211 fi
   20212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20213 rmdir conf$$.dir 2>/dev/null
   20214 
   20215 
   20216 # as_fn_mkdir_p
   20217 # -------------
   20218 # Create "$as_dir" as a directory, including parents if necessary.
   20219 as_fn_mkdir_p ()
   20220 {
   20221 
   20222   case $as_dir in #(
   20223   -*) as_dir=./$as_dir;;
   20224   esac
   20225   test -d "$as_dir" || eval $as_mkdir_p || {
   20226     as_dirs=
   20227     while :; do
   20228       case $as_dir in #(
   20229       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20230       *) as_qdir=$as_dir;;
   20231       esac
   20232       as_dirs="'$as_qdir' $as_dirs"
   20233       as_dir=`$as_dirname -- "$as_dir" ||
   20234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20235 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20236 	 X"$as_dir" : 'X\(//\)$' \| \
   20237 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20238 printf "%s\n" X"$as_dir" |
   20239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20240 	    s//\1/
   20241 	    q
   20242 	  }
   20243 	  /^X\(\/\/\)[^/].*/{
   20244 	    s//\1/
   20245 	    q
   20246 	  }
   20247 	  /^X\(\/\/\)$/{
   20248 	    s//\1/
   20249 	    q
   20250 	  }
   20251 	  /^X\(\/\).*/{
   20252 	    s//\1/
   20253 	    q
   20254 	  }
   20255 	  s/.*/./; q'`
   20256       test -d "$as_dir" && break
   20257     done
   20258     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20259   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20260 
   20261 
   20262 } # as_fn_mkdir_p
   20263 if mkdir -p . 2>/dev/null; then
   20264   as_mkdir_p='mkdir -p "$as_dir"'
   20265 else
   20266   test -d ./-p && rmdir ./-p
   20267   as_mkdir_p=false
   20268 fi
   20269 
   20270 
   20271 # as_fn_executable_p FILE
   20272 # -----------------------
   20273 # Test if FILE is an executable regular file.
   20274 as_fn_executable_p ()
   20275 {
   20276   test -f "$1" && test -x "$1"
   20277 } # as_fn_executable_p
   20278 as_test_x='test -x'
   20279 as_executable_p=as_fn_executable_p
   20280 
   20281 # Sed expression to map a string onto a valid CPP name.
   20282 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20283 
   20284 # Sed expression to map a string onto a valid variable name.
   20285 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20286 
   20287 
   20288 exec 6>&1
   20289 ## ----------------------------------- ##
   20290 ## Main body of $CONFIG_STATUS script. ##
   20291 ## ----------------------------------- ##
   20292 _ASEOF
   20293 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20294 
   20295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20296 # Save the log message, to keep $0 and so on meaningful, and to
   20297 # report actual input values of CONFIG_FILES etc. instead of their
   20298 # values after options handling.
   20299 ac_log="
   20300 This file was extended by xf86-video-i128 $as_me 1.4.1, which was
   20301 generated by GNU Autoconf 2.71.  Invocation command line was
   20302 
   20303   CONFIG_FILES    = $CONFIG_FILES
   20304   CONFIG_HEADERS  = $CONFIG_HEADERS
   20305   CONFIG_LINKS    = $CONFIG_LINKS
   20306   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20307   $ $0 $@
   20308 
   20309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20310 "
   20311 
   20312 _ACEOF
   20313 
   20314 case $ac_config_files in *"
   20315 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20316 esac
   20317 
   20318 case $ac_config_headers in *"
   20319 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20320 esac
   20321 
   20322 
   20323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20324 # Files that config.status was made for.
   20325 config_files="$ac_config_files"
   20326 config_headers="$ac_config_headers"
   20327 config_commands="$ac_config_commands"
   20328 
   20329 _ACEOF
   20330 
   20331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20332 ac_cs_usage="\
   20333 \`$as_me' instantiates files and other configuration actions
   20334 from templates according to the current configuration.  Unless the files
   20335 and actions are specified as TAGs, all are instantiated by default.
   20336 
   20337 Usage: $0 [OPTION]... [TAG]...
   20338 
   20339   -h, --help       print this help, then exit
   20340   -V, --version    print version number and configuration settings, then exit
   20341       --config     print configuration, then exit
   20342   -q, --quiet, --silent
   20343                    do not print progress messages
   20344   -d, --debug      don't remove temporary files
   20345       --recheck    update $as_me by reconfiguring in the same conditions
   20346       --file=FILE[:TEMPLATE]
   20347                    instantiate the configuration file FILE
   20348       --header=FILE[:TEMPLATE]
   20349                    instantiate the configuration header FILE
   20350 
   20351 Configuration files:
   20352 $config_files
   20353 
   20354 Configuration headers:
   20355 $config_headers
   20356 
   20357 Configuration commands:
   20358 $config_commands
   20359 
   20360 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-i128/-/issues>."
   20361 
   20362 _ACEOF
   20363 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20364 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20366 ac_cs_config='$ac_cs_config_escaped'
   20367 ac_cs_version="\\
   20368 xf86-video-i128 config.status 1.4.1
   20369 configured by $0, generated by GNU Autoconf 2.71,
   20370   with options \\"\$ac_cs_config\\"
   20371 
   20372 Copyright (C) 2021 Free Software Foundation, Inc.
   20373 This config.status script is free software; the Free Software Foundation
   20374 gives unlimited permission to copy, distribute and modify it."
   20375 
   20376 ac_pwd='$ac_pwd'
   20377 srcdir='$srcdir'
   20378 INSTALL='$INSTALL'
   20379 MKDIR_P='$MKDIR_P'
   20380 AWK='$AWK'
   20381 test -n "\$AWK" || AWK=awk
   20382 _ACEOF
   20383 
   20384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20385 # The default lists apply if the user does not specify any file.
   20386 ac_need_defaults=:
   20387 while test $# != 0
   20388 do
   20389   case $1 in
   20390   --*=?*)
   20391     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20392     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20393     ac_shift=:
   20394     ;;
   20395   --*=)
   20396     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20397     ac_optarg=
   20398     ac_shift=:
   20399     ;;
   20400   *)
   20401     ac_option=$1
   20402     ac_optarg=$2
   20403     ac_shift=shift
   20404     ;;
   20405   esac
   20406 
   20407   case $ac_option in
   20408   # Handling of the options.
   20409   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20410     ac_cs_recheck=: ;;
   20411   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20412     printf "%s\n" "$ac_cs_version"; exit ;;
   20413   --config | --confi | --conf | --con | --co | --c )
   20414     printf "%s\n" "$ac_cs_config"; exit ;;
   20415   --debug | --debu | --deb | --de | --d | -d )
   20416     debug=: ;;
   20417   --file | --fil | --fi | --f )
   20418     $ac_shift
   20419     case $ac_optarg in
   20420     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20421     '') as_fn_error $? "missing file argument" ;;
   20422     esac
   20423     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20424     ac_need_defaults=false;;
   20425   --header | --heade | --head | --hea )
   20426     $ac_shift
   20427     case $ac_optarg in
   20428     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20429     esac
   20430     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20431     ac_need_defaults=false;;
   20432   --he | --h)
   20433     # Conflict between --help and --header
   20434     as_fn_error $? "ambiguous option: \`$1'
   20435 Try \`$0 --help' for more information.";;
   20436   --help | --hel | -h )
   20437     printf "%s\n" "$ac_cs_usage"; exit ;;
   20438   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20439   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20440     ac_cs_silent=: ;;
   20441 
   20442   # This is an error.
   20443   -*) as_fn_error $? "unrecognized option: \`$1'
   20444 Try \`$0 --help' for more information." ;;
   20445 
   20446   *) as_fn_append ac_config_targets " $1"
   20447      ac_need_defaults=false ;;
   20448 
   20449   esac
   20450   shift
   20451 done
   20452 
   20453 ac_configure_extra_args=
   20454 
   20455 if $ac_cs_silent; then
   20456   exec 6>/dev/null
   20457   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20458 fi
   20459 
   20460 _ACEOF
   20461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20462 if \$ac_cs_recheck; then
   20463   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20464   shift
   20465   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20466   CONFIG_SHELL='$SHELL'
   20467   export CONFIG_SHELL
   20468   exec "\$@"
   20469 fi
   20470 
   20471 _ACEOF
   20472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20473 exec 5>>config.log
   20474 {
   20475   echo
   20476   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20477 ## Running $as_me. ##
   20478 _ASBOX
   20479   printf "%s\n" "$ac_log"
   20480 } >&5
   20481 
   20482 _ACEOF
   20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20484 #
   20485 # INIT-COMMANDS
   20486 #
   20487 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20488 
   20489 
   20490 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20491 # if CDPATH is set.
   20492 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20493 
   20494 sed_quote_subst='$sed_quote_subst'
   20495 double_quote_subst='$double_quote_subst'
   20496 delay_variable_subst='$delay_variable_subst'
   20497 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20498 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20499 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20500 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20501 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20502 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20503 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20504 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20505 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20506 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20507 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20508 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20509 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20510 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20511 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20512 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20513 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20514 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20515 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20516 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20517 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20518 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20519 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20520 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20521 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20522 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20523 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20524 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20525 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20526 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20527 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20528 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20529 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20530 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20531 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20532 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20533 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20534 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20535 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20536 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20537 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20538 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20539 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20540 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20541 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20542 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20543 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20544 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20545 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20546 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20547 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20548 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20549 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20550 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20551 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20552 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20553 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20554 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20555 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20556 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20557 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"`'
   20558 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20559 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20560 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20561 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20562 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20563 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20564 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20565 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20566 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20567 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20568 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20569 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20570 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20571 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20572 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20573 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20574 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20575 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20576 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20577 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20578 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20579 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20580 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20581 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20582 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20583 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20584 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20585 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20586 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20587 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20588 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20589 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20590 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20591 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20592 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20593 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20594 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20595 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20596 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20597 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20598 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20599 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20600 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20601 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20602 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20603 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20604 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20605 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20606 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20607 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20608 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20609 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20610 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20611 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20612 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20613 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20614 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20615 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20616 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20617 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20618 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20619 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20620 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20621 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20622 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20623 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20624 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20625 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20626 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20627 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20628 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20629 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20630 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20631 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20632 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20633 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20634 
   20635 LTCC='$LTCC'
   20636 LTCFLAGS='$LTCFLAGS'
   20637 compiler='$compiler_DEFAULT'
   20638 
   20639 # A function that is used when there is no print builtin or printf.
   20640 func_fallback_echo ()
   20641 {
   20642   eval 'cat <<_LTECHO_EOF
   20643 \$1
   20644 _LTECHO_EOF'
   20645 }
   20646 
   20647 # Quote evaled strings.
   20648 for var in SHELL \
   20649 ECHO \
   20650 PATH_SEPARATOR \
   20651 SED \
   20652 GREP \
   20653 EGREP \
   20654 FGREP \
   20655 LD \
   20656 NM \
   20657 LN_S \
   20658 lt_SP2NL \
   20659 lt_NL2SP \
   20660 reload_flag \
   20661 FILECMD \
   20662 OBJDUMP \
   20663 deplibs_check_method \
   20664 file_magic_cmd \
   20665 file_magic_glob \
   20666 want_nocaseglob \
   20667 DLLTOOL \
   20668 sharedlib_from_linklib_cmd \
   20669 AR \
   20670 archiver_list_spec \
   20671 STRIP \
   20672 RANLIB \
   20673 CC \
   20674 CFLAGS \
   20675 compiler \
   20676 lt_cv_sys_global_symbol_pipe \
   20677 lt_cv_sys_global_symbol_to_cdecl \
   20678 lt_cv_sys_global_symbol_to_import \
   20679 lt_cv_sys_global_symbol_to_c_name_address \
   20680 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20681 lt_cv_nm_interface \
   20682 nm_file_list_spec \
   20683 lt_cv_truncate_bin \
   20684 lt_prog_compiler_no_builtin_flag \
   20685 lt_prog_compiler_pic \
   20686 lt_prog_compiler_wl \
   20687 lt_prog_compiler_static \
   20688 lt_cv_prog_compiler_c_o \
   20689 need_locks \
   20690 MANIFEST_TOOL \
   20691 DSYMUTIL \
   20692 NMEDIT \
   20693 LIPO \
   20694 OTOOL \
   20695 OTOOL64 \
   20696 shrext_cmds \
   20697 export_dynamic_flag_spec \
   20698 whole_archive_flag_spec \
   20699 compiler_needs_object \
   20700 with_gnu_ld \
   20701 allow_undefined_flag \
   20702 no_undefined_flag \
   20703 hardcode_libdir_flag_spec \
   20704 hardcode_libdir_separator \
   20705 exclude_expsyms \
   20706 include_expsyms \
   20707 file_list_spec \
   20708 variables_saved_for_relink \
   20709 libname_spec \
   20710 library_names_spec \
   20711 soname_spec \
   20712 install_override_mode \
   20713 finish_eval \
   20714 old_striplib \
   20715 striplib; do
   20716     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20717     *[\\\\\\\`\\"\\\$]*)
   20718       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20719       ;;
   20720     *)
   20721       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20722       ;;
   20723     esac
   20724 done
   20725 
   20726 # Double-quote double-evaled strings.
   20727 for var in reload_cmds \
   20728 old_postinstall_cmds \
   20729 old_postuninstall_cmds \
   20730 old_archive_cmds \
   20731 extract_expsyms_cmds \
   20732 old_archive_from_new_cmds \
   20733 old_archive_from_expsyms_cmds \
   20734 archive_cmds \
   20735 archive_expsym_cmds \
   20736 module_cmds \
   20737 module_expsym_cmds \
   20738 export_symbols_cmds \
   20739 prelink_cmds \
   20740 postlink_cmds \
   20741 postinstall_cmds \
   20742 postuninstall_cmds \
   20743 finish_cmds \
   20744 sys_lib_search_path_spec \
   20745 configure_time_dlsearch_path \
   20746 configure_time_lt_sys_library_path; do
   20747     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20748     *[\\\\\\\`\\"\\\$]*)
   20749       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20750       ;;
   20751     *)
   20752       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20753       ;;
   20754     esac
   20755 done
   20756 
   20757 ac_aux_dir='$ac_aux_dir'
   20758 
   20759 # See if we are running on zsh, and set the options that allow our
   20760 # commands through without removal of \ escapes INIT.
   20761 if test -n "\${ZSH_VERSION+set}"; then
   20762    setopt NO_GLOB_SUBST
   20763 fi
   20764 
   20765 
   20766     PACKAGE='$PACKAGE'
   20767     VERSION='$VERSION'
   20768     RM='$RM'
   20769     ofile='$ofile'
   20770 
   20771 
   20772 
   20773 
   20774 _ACEOF
   20775 
   20776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20777 
   20778 # Handling of arguments.
   20779 for ac_config_target in $ac_config_targets
   20780 do
   20781   case $ac_config_target in
   20782     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20783     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20784     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20785     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20786     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20787     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20788 
   20789   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20790   esac
   20791 done
   20792 
   20793 
   20794 # If the user did not use the arguments to specify the items to instantiate,
   20795 # then the envvar interface is used.  Set only those that are not.
   20796 # We use the long form for the default assignment because of an extremely
   20797 # bizarre bug on SunOS 4.1.3.
   20798 if $ac_need_defaults; then
   20799   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20800   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20801   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20802 fi
   20803 
   20804 # Have a temporary directory for convenience.  Make it in the build tree
   20805 # simply because there is no reason against having it here, and in addition,
   20806 # creating and moving files from /tmp can sometimes cause problems.
   20807 # Hook for its removal unless debugging.
   20808 # Note that there is a small window in which the directory will not be cleaned:
   20809 # after its creation but before its name has been assigned to `$tmp'.
   20810 $debug ||
   20811 {
   20812   tmp= ac_tmp=
   20813   trap 'exit_status=$?
   20814   : "${ac_tmp:=$tmp}"
   20815   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20816 ' 0
   20817   trap 'as_fn_exit 1' 1 2 13 15
   20818 }
   20819 # Create a (secure) tmp directory for tmp files.
   20820 
   20821 {
   20822   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20823   test -d "$tmp"
   20824 }  ||
   20825 {
   20826   tmp=./conf$$-$RANDOM
   20827   (umask 077 && mkdir "$tmp")
   20828 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20829 ac_tmp=$tmp
   20830 
   20831 # Set up the scripts for CONFIG_FILES section.
   20832 # No need to generate them if there are no CONFIG_FILES.
   20833 # This happens for instance with `./config.status config.h'.
   20834 if test -n "$CONFIG_FILES"; then
   20835 
   20836 
   20837 ac_cr=`echo X | tr X '\015'`
   20838 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20839 # But we know of no other shell where ac_cr would be empty at this
   20840 # point, so we can use a bashism as a fallback.
   20841 if test "x$ac_cr" = x; then
   20842   eval ac_cr=\$\'\\r\'
   20843 fi
   20844 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20845 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20846   ac_cs_awk_cr='\\r'
   20847 else
   20848   ac_cs_awk_cr=$ac_cr
   20849 fi
   20850 
   20851 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20852 _ACEOF
   20853 
   20854 
   20855 {
   20856   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20857   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20858   echo "_ACEOF"
   20859 } >conf$$subs.sh ||
   20860   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20861 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20862 ac_delim='%!_!# '
   20863 for ac_last_try in false false false false false :; do
   20864   . ./conf$$subs.sh ||
   20865     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20866 
   20867   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20868   if test $ac_delim_n = $ac_delim_num; then
   20869     break
   20870   elif $ac_last_try; then
   20871     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20872   else
   20873     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20874   fi
   20875 done
   20876 rm -f conf$$subs.sh
   20877 
   20878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20879 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20880 _ACEOF
   20881 sed -n '
   20882 h
   20883 s/^/S["/; s/!.*/"]=/
   20884 p
   20885 g
   20886 s/^[^!]*!//
   20887 :repl
   20888 t repl
   20889 s/'"$ac_delim"'$//
   20890 t delim
   20891 :nl
   20892 h
   20893 s/\(.\{148\}\)..*/\1/
   20894 t more1
   20895 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20896 p
   20897 n
   20898 b repl
   20899 :more1
   20900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20901 p
   20902 g
   20903 s/.\{148\}//
   20904 t nl
   20905 :delim
   20906 h
   20907 s/\(.\{148\}\)..*/\1/
   20908 t more2
   20909 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20910 p
   20911 b
   20912 :more2
   20913 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20914 p
   20915 g
   20916 s/.\{148\}//
   20917 t delim
   20918 ' <conf$$subs.awk | sed '
   20919 /^[^""]/{
   20920   N
   20921   s/\n//
   20922 }
   20923 ' >>$CONFIG_STATUS || ac_write_fail=1
   20924 rm -f conf$$subs.awk
   20925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20926 _ACAWK
   20927 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20928   for (key in S) S_is_set[key] = 1
   20929   FS = ""
   20930 
   20931 }
   20932 {
   20933   line = $ 0
   20934   nfields = split(line, field, "@")
   20935   substed = 0
   20936   len = length(field[1])
   20937   for (i = 2; i < nfields; i++) {
   20938     key = field[i]
   20939     keylen = length(key)
   20940     if (S_is_set[key]) {
   20941       value = S[key]
   20942       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20943       len += length(value) + length(field[++i])
   20944       substed = 1
   20945     } else
   20946       len += 1 + keylen
   20947   }
   20948 
   20949   print line
   20950 }
   20951 
   20952 _ACAWK
   20953 _ACEOF
   20954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20955 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20956   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20957 else
   20958   cat
   20959 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20960   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20961 _ACEOF
   20962 
   20963 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20964 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20965 # trailing colons and then remove the whole line if VPATH becomes empty
   20966 # (actually we leave an empty line to preserve line numbers).
   20967 if test "x$srcdir" = x.; then
   20968   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20969 h
   20970 s///
   20971 s/^/:/
   20972 s/[	 ]*$/:/
   20973 s/:\$(srcdir):/:/g
   20974 s/:\${srcdir}:/:/g
   20975 s/:@srcdir@:/:/g
   20976 s/^:*//
   20977 s/:*$//
   20978 x
   20979 s/\(=[	 ]*\).*/\1/
   20980 G
   20981 s/\n//
   20982 s/^[^=]*=[	 ]*$//
   20983 }'
   20984 fi
   20985 
   20986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20987 fi # test -n "$CONFIG_FILES"
   20988 
   20989 # Set up the scripts for CONFIG_HEADERS section.
   20990 # No need to generate them if there are no CONFIG_HEADERS.
   20991 # This happens for instance with `./config.status Makefile'.
   20992 if test -n "$CONFIG_HEADERS"; then
   20993 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20994 BEGIN {
   20995 _ACEOF
   20996 
   20997 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20998 # here-document in config.status, that substitutes the proper values into
   20999 # config.h.in to produce config.h.
   21000 
   21001 # Create a delimiter string that does not exist in confdefs.h, to ease
   21002 # handling of long lines.
   21003 ac_delim='%!_!# '
   21004 for ac_last_try in false false :; do
   21005   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21006   if test -z "$ac_tt"; then
   21007     break
   21008   elif $ac_last_try; then
   21009     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21010   else
   21011     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21012   fi
   21013 done
   21014 
   21015 # For the awk script, D is an array of macro values keyed by name,
   21016 # likewise P contains macro parameters if any.  Preserve backslash
   21017 # newline sequences.
   21018 
   21019 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21020 sed -n '
   21021 s/.\{148\}/&'"$ac_delim"'/g
   21022 t rset
   21023 :rset
   21024 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21025 t def
   21026 d
   21027 :def
   21028 s/\\$//
   21029 t bsnl
   21030 s/["\\]/\\&/g
   21031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21032 D["\1"]=" \3"/p
   21033 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21034 d
   21035 :bsnl
   21036 s/["\\]/\\&/g
   21037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21038 D["\1"]=" \3\\\\\\n"\\/p
   21039 t cont
   21040 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21041 t cont
   21042 d
   21043 :cont
   21044 n
   21045 s/.\{148\}/&'"$ac_delim"'/g
   21046 t clear
   21047 :clear
   21048 s/\\$//
   21049 t bsnlc
   21050 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21051 d
   21052 :bsnlc
   21053 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21054 b cont
   21055 ' <confdefs.h | sed '
   21056 s/'"$ac_delim"'/"\\\
   21057 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21058 
   21059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21060   for (key in D) D_is_set[key] = 1
   21061   FS = ""
   21062 }
   21063 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21064   line = \$ 0
   21065   split(line, arg, " ")
   21066   if (arg[1] == "#") {
   21067     defundef = arg[2]
   21068     mac1 = arg[3]
   21069   } else {
   21070     defundef = substr(arg[1], 2)
   21071     mac1 = arg[2]
   21072   }
   21073   split(mac1, mac2, "(") #)
   21074   macro = mac2[1]
   21075   prefix = substr(line, 1, index(line, defundef) - 1)
   21076   if (D_is_set[macro]) {
   21077     # Preserve the white space surrounding the "#".
   21078     print prefix "define", macro P[macro] D[macro]
   21079     next
   21080   } else {
   21081     # Replace #undef with comments.  This is necessary, for example,
   21082     # in the case of _POSIX_SOURCE, which is predefined and required
   21083     # on some systems where configure will not decide to define it.
   21084     if (defundef == "undef") {
   21085       print "/*", prefix defundef, macro, "*/"
   21086       next
   21087     }
   21088   }
   21089 }
   21090 { print }
   21091 _ACAWK
   21092 _ACEOF
   21093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21094   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21095 fi # test -n "$CONFIG_HEADERS"
   21096 
   21097 
   21098 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21099 shift
   21100 for ac_tag
   21101 do
   21102   case $ac_tag in
   21103   :[FHLC]) ac_mode=$ac_tag; continue;;
   21104   esac
   21105   case $ac_mode$ac_tag in
   21106   :[FHL]*:*);;
   21107   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21108   :[FH]-) ac_tag=-:-;;
   21109   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21110   esac
   21111   ac_save_IFS=$IFS
   21112   IFS=:
   21113   set x $ac_tag
   21114   IFS=$ac_save_IFS
   21115   shift
   21116   ac_file=$1
   21117   shift
   21118 
   21119   case $ac_mode in
   21120   :L) ac_source=$1;;
   21121   :[FH])
   21122     ac_file_inputs=
   21123     for ac_f
   21124     do
   21125       case $ac_f in
   21126       -) ac_f="$ac_tmp/stdin";;
   21127       *) # Look for the file first in the build tree, then in the source tree
   21128 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21129 	 # because $ac_f cannot contain `:'.
   21130 	 test -f "$ac_f" ||
   21131 	   case $ac_f in
   21132 	   [\\/$]*) false;;
   21133 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21134 	   esac ||
   21135 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21136       esac
   21137       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21138       as_fn_append ac_file_inputs " '$ac_f'"
   21139     done
   21140 
   21141     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21142     # use $as_me), people would be surprised to read:
   21143     #    /* config.h.  Generated by config.status.  */
   21144     configure_input='Generated from '`
   21145 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21146 	`' by configure.'
   21147     if test x"$ac_file" != x-; then
   21148       configure_input="$ac_file.  $configure_input"
   21149       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21150 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21151     fi
   21152     # Neutralize special characters interpreted by sed in replacement strings.
   21153     case $configure_input in #(
   21154     *\&* | *\|* | *\\* )
   21155        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21156        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21157     *) ac_sed_conf_input=$configure_input;;
   21158     esac
   21159 
   21160     case $ac_tag in
   21161     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21162       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21163     esac
   21164     ;;
   21165   esac
   21166 
   21167   ac_dir=`$as_dirname -- "$ac_file" ||
   21168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21169 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21170 	 X"$ac_file" : 'X\(//\)$' \| \
   21171 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21172 printf "%s\n" X"$ac_file" |
   21173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21174 	    s//\1/
   21175 	    q
   21176 	  }
   21177 	  /^X\(\/\/\)[^/].*/{
   21178 	    s//\1/
   21179 	    q
   21180 	  }
   21181 	  /^X\(\/\/\)$/{
   21182 	    s//\1/
   21183 	    q
   21184 	  }
   21185 	  /^X\(\/\).*/{
   21186 	    s//\1/
   21187 	    q
   21188 	  }
   21189 	  s/.*/./; q'`
   21190   as_dir="$ac_dir"; as_fn_mkdir_p
   21191   ac_builddir=.
   21192 
   21193 case "$ac_dir" in
   21194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21195 *)
   21196   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21197   # A ".." for each directory in $ac_dir_suffix.
   21198   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21199   case $ac_top_builddir_sub in
   21200   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21201   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21202   esac ;;
   21203 esac
   21204 ac_abs_top_builddir=$ac_pwd
   21205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21206 # for backward compatibility:
   21207 ac_top_builddir=$ac_top_build_prefix
   21208 
   21209 case $srcdir in
   21210   .)  # We are building in place.
   21211     ac_srcdir=.
   21212     ac_top_srcdir=$ac_top_builddir_sub
   21213     ac_abs_top_srcdir=$ac_pwd ;;
   21214   [\\/]* | ?:[\\/]* )  # Absolute name.
   21215     ac_srcdir=$srcdir$ac_dir_suffix;
   21216     ac_top_srcdir=$srcdir
   21217     ac_abs_top_srcdir=$srcdir ;;
   21218   *) # Relative name.
   21219     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21220     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21221     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21222 esac
   21223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21224 
   21225 
   21226   case $ac_mode in
   21227   :F)
   21228   #
   21229   # CONFIG_FILE
   21230   #
   21231 
   21232   case $INSTALL in
   21233   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21234   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21235   esac
   21236   ac_MKDIR_P=$MKDIR_P
   21237   case $MKDIR_P in
   21238   [\\/$]* | ?:[\\/]* ) ;;
   21239   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21240   esac
   21241 _ACEOF
   21242 
   21243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21244 # If the template does not know about datarootdir, expand it.
   21245 # FIXME: This hack should be removed a few years after 2.60.
   21246 ac_datarootdir_hack=; ac_datarootdir_seen=
   21247 ac_sed_dataroot='
   21248 /datarootdir/ {
   21249   p
   21250   q
   21251 }
   21252 /@datadir@/p
   21253 /@docdir@/p
   21254 /@infodir@/p
   21255 /@localedir@/p
   21256 /@mandir@/p'
   21257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21258 *datarootdir*) ac_datarootdir_seen=yes;;
   21259 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21261 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21262 _ACEOF
   21263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21264   ac_datarootdir_hack='
   21265   s&@datadir@&$datadir&g
   21266   s&@docdir@&$docdir&g
   21267   s&@infodir@&$infodir&g
   21268   s&@localedir@&$localedir&g
   21269   s&@mandir@&$mandir&g
   21270   s&\\\${datarootdir}&$datarootdir&g' ;;
   21271 esac
   21272 _ACEOF
   21273 
   21274 # Neutralize VPATH when `$srcdir' = `.'.
   21275 # Shell code in configure.ac might set extrasub.
   21276 # FIXME: do we really want to maintain this feature?
   21277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21278 ac_sed_extra="$ac_vpsub
   21279 $extrasub
   21280 _ACEOF
   21281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21282 :t
   21283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21284 s|@configure_input@|$ac_sed_conf_input|;t t
   21285 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21286 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21287 s&@srcdir@&$ac_srcdir&;t t
   21288 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21289 s&@top_srcdir@&$ac_top_srcdir&;t t
   21290 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21291 s&@builddir@&$ac_builddir&;t t
   21292 s&@abs_builddir@&$ac_abs_builddir&;t t
   21293 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21294 s&@INSTALL@&$ac_INSTALL&;t t
   21295 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21296 $ac_datarootdir_hack
   21297 "
   21298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21299   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21300 
   21301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21302   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21303   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21304       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21306 which seems to be undefined.  Please make sure it is defined" >&5
   21307 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21308 which seems to be undefined.  Please make sure it is defined" >&2;}
   21309 
   21310   rm -f "$ac_tmp/stdin"
   21311   case $ac_file in
   21312   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21313   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21314   esac \
   21315   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21316  ;;
   21317   :H)
   21318   #
   21319   # CONFIG_HEADER
   21320   #
   21321   if test x"$ac_file" != x-; then
   21322     {
   21323       printf "%s\n" "/* $configure_input  */" >&1 \
   21324       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21325     } >"$ac_tmp/config.h" \
   21326       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21327     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21328       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21329 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21330     else
   21331       rm -f "$ac_file"
   21332       mv "$ac_tmp/config.h" "$ac_file" \
   21333 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21334     fi
   21335   else
   21336     printf "%s\n" "/* $configure_input  */" >&1 \
   21337       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21338       || as_fn_error $? "could not create -" "$LINENO" 5
   21339   fi
   21340 # Compute "$ac_file"'s index in $config_headers.
   21341 _am_arg="$ac_file"
   21342 _am_stamp_count=1
   21343 for _am_header in $config_headers :; do
   21344   case $_am_header in
   21345     $_am_arg | $_am_arg:* )
   21346       break ;;
   21347     * )
   21348       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21349   esac
   21350 done
   21351 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21352 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21353 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21354 	 X"$_am_arg" : 'X\(//\)$' \| \
   21355 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21356 printf "%s\n" X"$_am_arg" |
   21357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21358 	    s//\1/
   21359 	    q
   21360 	  }
   21361 	  /^X\(\/\/\)[^/].*/{
   21362 	    s//\1/
   21363 	    q
   21364 	  }
   21365 	  /^X\(\/\/\)$/{
   21366 	    s//\1/
   21367 	    q
   21368 	  }
   21369 	  /^X\(\/\).*/{
   21370 	    s//\1/
   21371 	    q
   21372 	  }
   21373 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21374  ;;
   21375 
   21376   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21377 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21378  ;;
   21379   esac
   21380 
   21381 
   21382   case $ac_file$ac_mode in
   21383     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21384   # Older Autoconf quotes --file arguments for eval, but not when files
   21385   # are listed without --file.  Let's play safe and only enable the eval
   21386   # if we detect the quoting.
   21387   # TODO: see whether this extra hack can be removed once we start
   21388   # requiring Autoconf 2.70 or later.
   21389   case $CONFIG_FILES in #(
   21390   *\'*) :
   21391     eval set x "$CONFIG_FILES" ;; #(
   21392   *) :
   21393     set x $CONFIG_FILES ;; #(
   21394   *) :
   21395      ;;
   21396 esac
   21397   shift
   21398   # Used to flag and report bootstrapping failures.
   21399   am_rc=0
   21400   for am_mf
   21401   do
   21402     # Strip MF so we end up with the name of the file.
   21403     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21404     # Check whether this is an Automake generated Makefile which includes
   21405     # dependency-tracking related rules and includes.
   21406     # Grep'ing the whole file directly is not great: AIX grep has a line
   21407     # limit of 2048, but all sed's we know have understand at least 4000.
   21408     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21409       || continue
   21410     am_dirpart=`$as_dirname -- "$am_mf" ||
   21411 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21412 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21413 	 X"$am_mf" : 'X\(//\)$' \| \
   21414 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21415 printf "%s\n" X"$am_mf" |
   21416     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21417 	    s//\1/
   21418 	    q
   21419 	  }
   21420 	  /^X\(\/\/\)[^/].*/{
   21421 	    s//\1/
   21422 	    q
   21423 	  }
   21424 	  /^X\(\/\/\)$/{
   21425 	    s//\1/
   21426 	    q
   21427 	  }
   21428 	  /^X\(\/\).*/{
   21429 	    s//\1/
   21430 	    q
   21431 	  }
   21432 	  s/.*/./; q'`
   21433     am_filepart=`$as_basename -- "$am_mf" ||
   21434 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21435 	 X"$am_mf" : 'X\(//\)$' \| \
   21436 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21437 printf "%s\n" X/"$am_mf" |
   21438     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21439 	    s//\1/
   21440 	    q
   21441 	  }
   21442 	  /^X\/\(\/\/\)$/{
   21443 	    s//\1/
   21444 	    q
   21445 	  }
   21446 	  /^X\/\(\/\).*/{
   21447 	    s//\1/
   21448 	    q
   21449 	  }
   21450 	  s/.*/./; q'`
   21451     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21452       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21453         | $MAKE -f - am--depfiles" >&5
   21454    (cd "$am_dirpart" \
   21455       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21456         | $MAKE -f - am--depfiles) >&5 2>&5
   21457    ac_status=$?
   21458    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21459    (exit $ac_status); } || am_rc=$?
   21460   done
   21461   if test $am_rc -ne 0; then
   21462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21463 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21464 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21465     for automatic dependency tracking.  If GNU make was not used, consider
   21466     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21467     necessary).  You can also try re-running configure with the
   21468     '--disable-dependency-tracking' option to at least be able to build
   21469     the package (albeit without support for automatic dependency tracking).
   21470 See \`config.log' for more details" "$LINENO" 5; }
   21471   fi
   21472   { am_dirpart=; unset am_dirpart;}
   21473   { am_filepart=; unset am_filepart;}
   21474   { am_mf=; unset am_mf;}
   21475   { am_rc=; unset am_rc;}
   21476   rm -f conftest-deps.mk
   21477 }
   21478  ;;
   21479     "libtool":C)
   21480 
   21481     # See if we are running on zsh, and set the options that allow our
   21482     # commands through without removal of \ escapes.
   21483     if test -n "${ZSH_VERSION+set}"; then
   21484       setopt NO_GLOB_SUBST
   21485     fi
   21486 
   21487     cfgfile=${ofile}T
   21488     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21489     $RM "$cfgfile"
   21490 
   21491     cat <<_LT_EOF >> "$cfgfile"
   21492 #! $SHELL
   21493 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21494 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21495 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21496 
   21497 # Provide generalized library-building support services.
   21498 # Written by Gordon Matzigkeit, 1996
   21499 
   21500 # Copyright (C) 2014 Free Software Foundation, Inc.
   21501 # This is free software; see the source for copying conditions.  There is NO
   21502 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21503 
   21504 # GNU Libtool is free software; you can redistribute it and/or modify
   21505 # it under the terms of the GNU General Public License as published by
   21506 # the Free Software Foundation; either version 2 of of the License, or
   21507 # (at your option) any later version.
   21508 #
   21509 # As a special exception to the GNU General Public License, if you
   21510 # distribute this file as part of a program or library that is built
   21511 # using GNU Libtool, you may include this file under the  same
   21512 # distribution terms that you use for the rest of that program.
   21513 #
   21514 # GNU Libtool is distributed in the hope that it will be useful, but
   21515 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21517 # GNU General Public License for more details.
   21518 #
   21519 # You should have received a copy of the GNU General Public License
   21520 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21521 
   21522 
   21523 # The names of the tagged configurations supported by this script.
   21524 available_tags=''
   21525 
   21526 # Configured defaults for sys_lib_dlsearch_path munging.
   21527 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21528 
   21529 # ### BEGIN LIBTOOL CONFIG
   21530 
   21531 # Whether or not to build static libraries.
   21532 build_old_libs=$enable_static
   21533 
   21534 # Which release of libtool.m4 was used?
   21535 macro_version=$macro_version
   21536 macro_revision=$macro_revision
   21537 
   21538 # Whether or not to build shared libraries.
   21539 build_libtool_libs=$enable_shared
   21540 
   21541 # What type of objects to build.
   21542 pic_mode=$pic_mode
   21543 
   21544 # Whether or not to optimize for fast installation.
   21545 fast_install=$enable_fast_install
   21546 
   21547 # Shared archive member basename,for filename based shared library versioning on AIX.
   21548 shared_archive_member_spec=$shared_archive_member_spec
   21549 
   21550 # Shell to use when invoking shell scripts.
   21551 SHELL=$lt_SHELL
   21552 
   21553 # An echo program that protects backslashes.
   21554 ECHO=$lt_ECHO
   21555 
   21556 # The PATH separator for the build system.
   21557 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21558 
   21559 # The host system.
   21560 host_alias=$host_alias
   21561 host=$host
   21562 host_os=$host_os
   21563 
   21564 # The build system.
   21565 build_alias=$build_alias
   21566 build=$build
   21567 build_os=$build_os
   21568 
   21569 # A sed program that does not truncate output.
   21570 SED=$lt_SED
   21571 
   21572 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21573 Xsed="\$SED -e 1s/^X//"
   21574 
   21575 # A grep program that handles long lines.
   21576 GREP=$lt_GREP
   21577 
   21578 # An ERE matcher.
   21579 EGREP=$lt_EGREP
   21580 
   21581 # A literal string matcher.
   21582 FGREP=$lt_FGREP
   21583 
   21584 # A BSD- or MS-compatible name lister.
   21585 NM=$lt_NM
   21586 
   21587 # Whether we need soft or hard links.
   21588 LN_S=$lt_LN_S
   21589 
   21590 # What is the maximum length of a command?
   21591 max_cmd_len=$max_cmd_len
   21592 
   21593 # Object file suffix (normally "o").
   21594 objext=$ac_objext
   21595 
   21596 # Executable file suffix (normally "").
   21597 exeext=$exeext
   21598 
   21599 # whether the shell understands "unset".
   21600 lt_unset=$lt_unset
   21601 
   21602 # turn spaces into newlines.
   21603 SP2NL=$lt_lt_SP2NL
   21604 
   21605 # turn newlines into spaces.
   21606 NL2SP=$lt_lt_NL2SP
   21607 
   21608 # convert \$build file names to \$host format.
   21609 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21610 
   21611 # convert \$build files to toolchain format.
   21612 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21613 
   21614 # A file(cmd) program that detects file types.
   21615 FILECMD=$lt_FILECMD
   21616 
   21617 # An object symbol dumper.
   21618 OBJDUMP=$lt_OBJDUMP
   21619 
   21620 # Method to check whether dependent libraries are shared objects.
   21621 deplibs_check_method=$lt_deplibs_check_method
   21622 
   21623 # Command to use when deplibs_check_method = "file_magic".
   21624 file_magic_cmd=$lt_file_magic_cmd
   21625 
   21626 # How to find potential files when deplibs_check_method = "file_magic".
   21627 file_magic_glob=$lt_file_magic_glob
   21628 
   21629 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21630 want_nocaseglob=$lt_want_nocaseglob
   21631 
   21632 # DLL creation program.
   21633 DLLTOOL=$lt_DLLTOOL
   21634 
   21635 # Command to associate shared and link libraries.
   21636 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21637 
   21638 # The archiver.
   21639 AR=$lt_AR
   21640 
   21641 # Flags to create an archive (by configure).
   21642 lt_ar_flags=$lt_ar_flags
   21643 
   21644 # Flags to create an archive.
   21645 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21646 
   21647 # How to feed a file listing to the archiver.
   21648 archiver_list_spec=$lt_archiver_list_spec
   21649 
   21650 # A symbol stripping program.
   21651 STRIP=$lt_STRIP
   21652 
   21653 # Commands used to install an old-style archive.
   21654 RANLIB=$lt_RANLIB
   21655 old_postinstall_cmds=$lt_old_postinstall_cmds
   21656 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21657 
   21658 # Whether to use a lock for old archive extraction.
   21659 lock_old_archive_extraction=$lock_old_archive_extraction
   21660 
   21661 # A C compiler.
   21662 LTCC=$lt_CC
   21663 
   21664 # LTCC compiler flags.
   21665 LTCFLAGS=$lt_CFLAGS
   21666 
   21667 # Take the output of nm and produce a listing of raw symbols and C names.
   21668 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21669 
   21670 # Transform the output of nm in a proper C declaration.
   21671 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21672 
   21673 # Transform the output of nm into a list of symbols to manually relocate.
   21674 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21675 
   21676 # Transform the output of nm in a C name address pair.
   21677 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21678 
   21679 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21680 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21681 
   21682 # The name lister interface.
   21683 nm_interface=$lt_lt_cv_nm_interface
   21684 
   21685 # Specify filename containing input files for \$NM.
   21686 nm_file_list_spec=$lt_nm_file_list_spec
   21687 
   21688 # The root where to search for dependent libraries,and where our libraries should be installed.
   21689 lt_sysroot=$lt_sysroot
   21690 
   21691 # Command to truncate a binary pipe.
   21692 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21693 
   21694 # The name of the directory that contains temporary libtool files.
   21695 objdir=$objdir
   21696 
   21697 # Used to examine libraries when file_magic_cmd begins with "file".
   21698 MAGIC_CMD=$MAGIC_CMD
   21699 
   21700 # Must we lock files when doing compilation?
   21701 need_locks=$lt_need_locks
   21702 
   21703 # Manifest tool.
   21704 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21705 
   21706 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21707 DSYMUTIL=$lt_DSYMUTIL
   21708 
   21709 # Tool to change global to local symbols on Mac OS X.
   21710 NMEDIT=$lt_NMEDIT
   21711 
   21712 # Tool to manipulate fat objects and archives on Mac OS X.
   21713 LIPO=$lt_LIPO
   21714 
   21715 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21716 OTOOL=$lt_OTOOL
   21717 
   21718 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21719 OTOOL64=$lt_OTOOL64
   21720 
   21721 # Old archive suffix (normally "a").
   21722 libext=$libext
   21723 
   21724 # Shared library suffix (normally ".so").
   21725 shrext_cmds=$lt_shrext_cmds
   21726 
   21727 # The commands to extract the exported symbol list from a shared archive.
   21728 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21729 
   21730 # Variables whose values should be saved in libtool wrapper scripts and
   21731 # restored at link time.
   21732 variables_saved_for_relink=$lt_variables_saved_for_relink
   21733 
   21734 # Do we need the "lib" prefix for modules?
   21735 need_lib_prefix=$need_lib_prefix
   21736 
   21737 # Do we need a version for libraries?
   21738 need_version=$need_version
   21739 
   21740 # Library versioning type.
   21741 version_type=$version_type
   21742 
   21743 # Shared library runtime path variable.
   21744 runpath_var=$runpath_var
   21745 
   21746 # Shared library path variable.
   21747 shlibpath_var=$shlibpath_var
   21748 
   21749 # Is shlibpath searched before the hard-coded library search path?
   21750 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21751 
   21752 # Format of library name prefix.
   21753 libname_spec=$lt_libname_spec
   21754 
   21755 # List of archive names.  First name is the real one, the rest are links.
   21756 # The last name is the one that the linker finds with -lNAME
   21757 library_names_spec=$lt_library_names_spec
   21758 
   21759 # The coded name of the library, if different from the real name.
   21760 soname_spec=$lt_soname_spec
   21761 
   21762 # Permission mode override for installation of shared libraries.
   21763 install_override_mode=$lt_install_override_mode
   21764 
   21765 # Command to use after installation of a shared archive.
   21766 postinstall_cmds=$lt_postinstall_cmds
   21767 
   21768 # Command to use after uninstallation of a shared archive.
   21769 postuninstall_cmds=$lt_postuninstall_cmds
   21770 
   21771 # Commands used to finish a libtool library installation in a directory.
   21772 finish_cmds=$lt_finish_cmds
   21773 
   21774 # As "finish_cmds", except a single script fragment to be evaled but
   21775 # not shown.
   21776 finish_eval=$lt_finish_eval
   21777 
   21778 # Whether we should hardcode library paths into libraries.
   21779 hardcode_into_libs=$hardcode_into_libs
   21780 
   21781 # Compile-time system search path for libraries.
   21782 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21783 
   21784 # Detected run-time system search path for libraries.
   21785 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21786 
   21787 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21788 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21789 
   21790 # Whether dlopen is supported.
   21791 dlopen_support=$enable_dlopen
   21792 
   21793 # Whether dlopen of programs is supported.
   21794 dlopen_self=$enable_dlopen_self
   21795 
   21796 # Whether dlopen of statically linked programs is supported.
   21797 dlopen_self_static=$enable_dlopen_self_static
   21798 
   21799 # Commands to strip libraries.
   21800 old_striplib=$lt_old_striplib
   21801 striplib=$lt_striplib
   21802 
   21803 
   21804 # The linker used to build libraries.
   21805 LD=$lt_LD
   21806 
   21807 # How to create reloadable object files.
   21808 reload_flag=$lt_reload_flag
   21809 reload_cmds=$lt_reload_cmds
   21810 
   21811 # Commands used to build an old-style archive.
   21812 old_archive_cmds=$lt_old_archive_cmds
   21813 
   21814 # A language specific compiler.
   21815 CC=$lt_compiler
   21816 
   21817 # Is the compiler the GNU compiler?
   21818 with_gcc=$GCC
   21819 
   21820 # Compiler flag to turn off builtin functions.
   21821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21822 
   21823 # Additional compiler flags for building library objects.
   21824 pic_flag=$lt_lt_prog_compiler_pic
   21825 
   21826 # How to pass a linker flag through the compiler.
   21827 wl=$lt_lt_prog_compiler_wl
   21828 
   21829 # Compiler flag to prevent dynamic linking.
   21830 link_static_flag=$lt_lt_prog_compiler_static
   21831 
   21832 # Does compiler simultaneously support -c and -o options?
   21833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21834 
   21835 # Whether or not to add -lc for building shared libraries.
   21836 build_libtool_need_lc=$archive_cmds_need_lc
   21837 
   21838 # Whether or not to disallow shared libs when runtime libs are static.
   21839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21840 
   21841 # Compiler flag to allow reflexive dlopens.
   21842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21843 
   21844 # Compiler flag to generate shared objects directly from archives.
   21845 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21846 
   21847 # Whether the compiler copes with passing no objects directly.
   21848 compiler_needs_object=$lt_compiler_needs_object
   21849 
   21850 # Create an old-style archive from a shared archive.
   21851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21852 
   21853 # Create a temporary old-style archive to link instead of a shared archive.
   21854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21855 
   21856 # Commands used to build a shared archive.
   21857 archive_cmds=$lt_archive_cmds
   21858 archive_expsym_cmds=$lt_archive_expsym_cmds
   21859 
   21860 # Commands used to build a loadable module if different from building
   21861 # a shared archive.
   21862 module_cmds=$lt_module_cmds
   21863 module_expsym_cmds=$lt_module_expsym_cmds
   21864 
   21865 # Whether we are building with GNU ld or not.
   21866 with_gnu_ld=$lt_with_gnu_ld
   21867 
   21868 # Flag that allows shared libraries with undefined symbols to be built.
   21869 allow_undefined_flag=$lt_allow_undefined_flag
   21870 
   21871 # Flag that enforces no undefined symbols.
   21872 no_undefined_flag=$lt_no_undefined_flag
   21873 
   21874 # Flag to hardcode \$libdir into a binary during linking.
   21875 # This must work even if \$libdir does not exist
   21876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21877 
   21878 # Whether we need a single "-rpath" flag with a separated argument.
   21879 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21880 
   21881 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21882 # DIR into the resulting binary.
   21883 hardcode_direct=$hardcode_direct
   21884 
   21885 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21886 # DIR into the resulting binary and the resulting library dependency is
   21887 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21888 # library is relocated.
   21889 hardcode_direct_absolute=$hardcode_direct_absolute
   21890 
   21891 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21892 # into the resulting binary.
   21893 hardcode_minus_L=$hardcode_minus_L
   21894 
   21895 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21896 # into the resulting binary.
   21897 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21898 
   21899 # Set to "yes" if building a shared library automatically hardcodes DIR
   21900 # into the library and all subsequent libraries and executables linked
   21901 # against it.
   21902 hardcode_automatic=$hardcode_automatic
   21903 
   21904 # Set to yes if linker adds runtime paths of dependent libraries
   21905 # to runtime path list.
   21906 inherit_rpath=$inherit_rpath
   21907 
   21908 # Whether libtool must link a program against all its dependency libraries.
   21909 link_all_deplibs=$link_all_deplibs
   21910 
   21911 # Set to "yes" if exported symbols are required.
   21912 always_export_symbols=$always_export_symbols
   21913 
   21914 # The commands to list exported symbols.
   21915 export_symbols_cmds=$lt_export_symbols_cmds
   21916 
   21917 # Symbols that should not be listed in the preloaded symbols.
   21918 exclude_expsyms=$lt_exclude_expsyms
   21919 
   21920 # Symbols that must always be exported.
   21921 include_expsyms=$lt_include_expsyms
   21922 
   21923 # Commands necessary for linking programs (against libraries) with templates.
   21924 prelink_cmds=$lt_prelink_cmds
   21925 
   21926 # Commands necessary for finishing linking programs.
   21927 postlink_cmds=$lt_postlink_cmds
   21928 
   21929 # Specify filename containing input files.
   21930 file_list_spec=$lt_file_list_spec
   21931 
   21932 # How to hardcode a shared library path into an executable.
   21933 hardcode_action=$hardcode_action
   21934 
   21935 # ### END LIBTOOL CONFIG
   21936 
   21937 _LT_EOF
   21938 
   21939     cat <<'_LT_EOF' >> "$cfgfile"
   21940 
   21941 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21942 
   21943 # func_munge_path_list VARIABLE PATH
   21944 # -----------------------------------
   21945 # VARIABLE is name of variable containing _space_ separated list of
   21946 # directories to be munged by the contents of PATH, which is string
   21947 # having a format:
   21948 # "DIR[:DIR]:"
   21949 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21950 # ":DIR[:DIR]"
   21951 #       string "DIR[ DIR]" will be appended to VARIABLE
   21952 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21953 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21954 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21955 # "DIR[:DIR]"
   21956 #       VARIABLE will be replaced by "DIR[ DIR]"
   21957 func_munge_path_list ()
   21958 {
   21959     case x$2 in
   21960     x)
   21961         ;;
   21962     *:)
   21963         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21964         ;;
   21965     x:*)
   21966         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21967         ;;
   21968     *::*)
   21969         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21970         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21971         ;;
   21972     *)
   21973         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21974         ;;
   21975     esac
   21976 }
   21977 
   21978 
   21979 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21980 func_cc_basename ()
   21981 {
   21982     for cc_temp in $*""; do
   21983       case $cc_temp in
   21984         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21985         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21986         \-*) ;;
   21987         *) break;;
   21988       esac
   21989     done
   21990     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21991 }
   21992 
   21993 
   21994 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21995 
   21996 _LT_EOF
   21997 
   21998   case $host_os in
   21999   aix3*)
   22000     cat <<\_LT_EOF >> "$cfgfile"
   22001 # AIX sometimes has problems with the GCC collect2 program.  For some
   22002 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22003 # vanish in a puff of smoke.
   22004 if test set != "${COLLECT_NAMES+set}"; then
   22005   COLLECT_NAMES=
   22006   export COLLECT_NAMES
   22007 fi
   22008 _LT_EOF
   22009     ;;
   22010   esac
   22011 
   22012 
   22013 
   22014 ltmain=$ac_aux_dir/ltmain.sh
   22015 
   22016 
   22017   # We use sed instead of cat because bash on DJGPP gets confused if
   22018   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22019   # text mode, it properly converts lines to CR/LF.  This bash problem
   22020   # is reportedly fixed, but why not run on old versions too?
   22021   $SED '$q' "$ltmain" >> "$cfgfile" \
   22022      || (rm -f "$cfgfile"; exit 1)
   22023 
   22024    mv -f "$cfgfile" "$ofile" ||
   22025     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22026   chmod +x "$ofile"
   22027 
   22028  ;;
   22029 
   22030   esac
   22031 done # for ac_tag
   22032 
   22033 
   22034 as_fn_exit 0
   22035 _ACEOF
   22036 ac_clean_files=$ac_clean_files_save
   22037 
   22038 test $ac_write_fail = 0 ||
   22039   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22040 
   22041 
   22042 # configure is writing to config.log, and then calls config.status.
   22043 # config.status does its own redirection, appending to config.log.
   22044 # Unfortunately, on DOS this fails, as config.log is still kept open
   22045 # by configure, so config.status won't be able to write to it; its
   22046 # output is simply discarded.  So we exec the FD to /dev/null,
   22047 # effectively closing config.log, so it can be properly (re)opened and
   22048 # appended to by config.status.  When coming back to configure, we
   22049 # need to make the FD available again.
   22050 if test "$no_create" != yes; then
   22051   ac_cs_success=:
   22052   ac_config_status_args=
   22053   test "$silent" = yes &&
   22054     ac_config_status_args="$ac_config_status_args --quiet"
   22055   exec 5>/dev/null
   22056   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22057   exec 5>>config.log
   22058   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22059   # would make configure fail if this is the last instruction.
   22060   $ac_cs_success || as_fn_exit 1
   22061 fi
   22062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22064 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22065 fi
   22066 
   22067 
   22068