Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xf86-video-vboxvideo 1.0.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1
    188 
    189   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    190     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    193     PATH=/empty FPATH=/empty; export PATH FPATH
    194     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    195       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='xf86-video-vboxvideo'
    617 PACKAGE_TARNAME='xf86-video-vboxvideo'
    618 PACKAGE_VERSION='1.0.1'
    619 PACKAGE_STRING='xf86-video-vboxvideo 1.0.1'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 DRIVER_NAME
    661 PCIACCESS_LIBS
    662 PCIACCESS_CFLAGS
    663 XEXT_LIBS
    664 XEXT_CFLAGS
    665 XORG_LIBS
    666 XORG_CFLAGS
    667 moduledir
    668 LT_SYS_LIBRARY_PATH
    669 OTOOL64
    670 OTOOL
    671 LIPO
    672 NMEDIT
    673 DSYMUTIL
    674 MANIFEST_TOOL
    675 RANLIB
    676 ac_ct_AR
    677 AR
    678 DLLTOOL
    679 OBJDUMP
    680 FILECMD
    681 LN_S
    682 NM
    683 ac_ct_DUMPBIN
    684 DUMPBIN
    685 LD
    686 FGREP
    687 EGREP
    688 GREP
    689 LIBTOOL
    690 MAN_SUBSTS
    691 XORG_MAN_PAGE
    692 ADMIN_MAN_DIR
    693 DRIVER_MAN_DIR
    694 MISC_MAN_DIR
    695 FILE_MAN_DIR
    696 LIB_MAN_DIR
    697 APP_MAN_DIR
    698 ADMIN_MAN_SUFFIX
    699 DRIVER_MAN_SUFFIX
    700 MISC_MAN_SUFFIX
    701 FILE_MAN_SUFFIX
    702 LIB_MAN_SUFFIX
    703 APP_MAN_SUFFIX
    704 SED
    705 host_os
    706 host_vendor
    707 host_cpu
    708 host
    709 build_os
    710 build_vendor
    711 build_cpu
    712 build
    713 INSTALL_CMD
    714 PKG_CONFIG_LIBDIR
    715 PKG_CONFIG_PATH
    716 PKG_CONFIG
    717 CHANGELOG_CMD
    718 STRICT_CFLAGS
    719 CWARNFLAGS
    720 BASE_CFLAGS
    721 am__fastdepCC_FALSE
    722 am__fastdepCC_TRUE
    723 CCDEPMODE
    724 am__nodep
    725 AMDEPBACKSLASH
    726 AMDEP_FALSE
    727 AMDEP_TRUE
    728 am__include
    729 DEPDIR
    730 OBJEXT
    731 EXEEXT
    732 ac_ct_CC
    733 CPPFLAGS
    734 LDFLAGS
    735 CFLAGS
    736 CC
    737 AM_BACKSLASH
    738 AM_DEFAULT_VERBOSITY
    739 AM_DEFAULT_V
    740 AM_V
    741 CSCOPE
    742 ETAGS
    743 CTAGS
    744 am__untar
    745 am__tar
    746 AMTAR
    747 am__leading_dot
    748 SET_MAKE
    749 AWK
    750 mkdir_p
    751 MKDIR_P
    752 INSTALL_STRIP_PROGRAM
    753 STRIP
    754 install_sh
    755 MAKEINFO
    756 AUTOHEADER
    757 AUTOMAKE
    758 AUTOCONF
    759 ACLOCAL
    760 VERSION
    761 PACKAGE
    762 CYGPATH_W
    763 am__isrc
    764 INSTALL_DATA
    765 INSTALL_SCRIPT
    766 INSTALL_PROGRAM
    767 target_alias
    768 host_alias
    769 build_alias
    770 LIBS
    771 ECHO_T
    772 ECHO_N
    773 ECHO_C
    774 DEFS
    775 mandir
    776 localedir
    777 libdir
    778 psdir
    779 pdfdir
    780 dvidir
    781 htmldir
    782 infodir
    783 docdir
    784 oldincludedir
    785 includedir
    786 runstatedir
    787 localstatedir
    788 sharedstatedir
    789 sysconfdir
    790 datadir
    791 datarootdir
    792 libexecdir
    793 sbindir
    794 bindir
    795 program_transform_name
    796 prefix
    797 exec_prefix
    798 PACKAGE_URL
    799 PACKAGE_BUGREPORT
    800 PACKAGE_STRING
    801 PACKAGE_VERSION
    802 PACKAGE_TARNAME
    803 PACKAGE_NAME
    804 PATH_SEPARATOR
    805 SHELL
    806 am__quote'
    807 ac_subst_files=''
    808 ac_user_opts='
    809 enable_option_checking
    810 enable_silent_rules
    811 enable_dependency_tracking
    812 enable_selective_werror
    813 enable_strict_compilation
    814 enable_static
    815 enable_shared
    816 with_pic
    817 enable_fast_install
    818 with_aix_soname
    819 with_gnu_ld
    820 with_sysroot
    821 enable_libtool_lock
    822 with_xorg_module_dir
    823 '
    824       ac_precious_vars='build_alias
    825 host_alias
    826 target_alias
    827 CC
    828 CFLAGS
    829 LDFLAGS
    830 LIBS
    831 CPPFLAGS
    832 PKG_CONFIG
    833 PKG_CONFIG_PATH
    834 PKG_CONFIG_LIBDIR
    835 LT_SYS_LIBRARY_PATH
    836 XORG_CFLAGS
    837 XORG_LIBS
    838 XEXT_CFLAGS
    839 XEXT_LIBS
    840 PCIACCESS_CFLAGS
    841 PCIACCESS_LIBS'
    842 
    843 
    844 # Initialize some variables set by options.
    845 ac_init_help=
    846 ac_init_version=false
    847 ac_unrecognized_opts=
    848 ac_unrecognized_sep=
    849 # The variables have the same names as the options, with
    850 # dashes changed to underlines.
    851 cache_file=/dev/null
    852 exec_prefix=NONE
    853 no_create=
    854 no_recursion=
    855 prefix=NONE
    856 program_prefix=NONE
    857 program_suffix=NONE
    858 program_transform_name=s,x,x,
    859 silent=
    860 site=
    861 srcdir=
    862 verbose=
    863 x_includes=NONE
    864 x_libraries=NONE
    865 
    866 # Installation directory options.
    867 # These are left unexpanded so users can "make install exec_prefix=/foo"
    868 # and all the variables that are supposed to be based on exec_prefix
    869 # by default will actually change.
    870 # Use braces instead of parens because sh, perl, etc. also accept them.
    871 # (The list follows the same order as the GNU Coding Standards.)
    872 bindir='${exec_prefix}/bin'
    873 sbindir='${exec_prefix}/sbin'
    874 libexecdir='${exec_prefix}/libexec'
    875 datarootdir='${prefix}/share'
    876 datadir='${datarootdir}'
    877 sysconfdir='${prefix}/etc'
    878 sharedstatedir='${prefix}/com'
    879 localstatedir='${prefix}/var'
    880 runstatedir='${localstatedir}/run'
    881 includedir='${prefix}/include'
    882 oldincludedir='/usr/include'
    883 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    884 infodir='${datarootdir}/info'
    885 htmldir='${docdir}'
    886 dvidir='${docdir}'
    887 pdfdir='${docdir}'
    888 psdir='${docdir}'
    889 libdir='${exec_prefix}/lib'
    890 localedir='${datarootdir}/locale'
    891 mandir='${datarootdir}/man'
    892 
    893 ac_prev=
    894 ac_dashdash=
    895 for ac_option
    896 do
    897   # If the previous option needs an argument, assign it.
    898   if test -n "$ac_prev"; then
    899     eval $ac_prev=\$ac_option
    900     ac_prev=
    901     continue
    902   fi
    903 
    904   case $ac_option in
    905   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    906   *=)   ac_optarg= ;;
    907   *)    ac_optarg=yes ;;
    908   esac
    909 
    910   case $ac_dashdash$ac_option in
    911   --)
    912     ac_dashdash=yes ;;
    913 
    914   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    915     ac_prev=bindir ;;
    916   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    917     bindir=$ac_optarg ;;
    918 
    919   -build | --build | --buil | --bui | --bu)
    920     ac_prev=build_alias ;;
    921   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    922     build_alias=$ac_optarg ;;
    923 
    924   -cache-file | --cache-file | --cache-fil | --cache-fi \
    925   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    926     ac_prev=cache_file ;;
    927   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    928   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    929     cache_file=$ac_optarg ;;
    930 
    931   --config-cache | -C)
    932     cache_file=config.cache ;;
    933 
    934   -datadir | --datadir | --datadi | --datad)
    935     ac_prev=datadir ;;
    936   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    937     datadir=$ac_optarg ;;
    938 
    939   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    940   | --dataroo | --dataro | --datar)
    941     ac_prev=datarootdir ;;
    942   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    943   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    944     datarootdir=$ac_optarg ;;
    945 
    946   -disable-* | --disable-*)
    947     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    948     # Reject names that are not valid shell variable names.
    949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    950       as_fn_error $? "invalid feature name: '$ac_useropt'"
    951     ac_useropt_orig=$ac_useropt
    952     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    953     case $ac_user_opts in
    954       *"
    955 "enable_$ac_useropt"
    956 "*) ;;
    957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    958 	 ac_unrecognized_sep=', ';;
    959     esac
    960     eval enable_$ac_useropt=no ;;
    961 
    962   -docdir | --docdir | --docdi | --doc | --do)
    963     ac_prev=docdir ;;
    964   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    965     docdir=$ac_optarg ;;
    966 
    967   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    968     ac_prev=dvidir ;;
    969   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    970     dvidir=$ac_optarg ;;
    971 
    972   -enable-* | --enable-*)
    973     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    974     # Reject names that are not valid shell variable names.
    975     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    976       as_fn_error $? "invalid feature name: '$ac_useropt'"
    977     ac_useropt_orig=$ac_useropt
    978     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    979     case $ac_user_opts in
    980       *"
    981 "enable_$ac_useropt"
    982 "*) ;;
    983       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    984 	 ac_unrecognized_sep=', ';;
    985     esac
    986     eval enable_$ac_useropt=\$ac_optarg ;;
    987 
    988   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    989   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    990   | --exec | --exe | --ex)
    991     ac_prev=exec_prefix ;;
    992   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    993   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    994   | --exec=* | --exe=* | --ex=*)
    995     exec_prefix=$ac_optarg ;;
    996 
    997   -gas | --gas | --ga | --g)
    998     # Obsolete; use --with-gas.
    999     with_gas=yes ;;
   1000 
   1001   -help | --help | --hel | --he | -h)
   1002     ac_init_help=long ;;
   1003   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1004     ac_init_help=recursive ;;
   1005   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1006     ac_init_help=short ;;
   1007 
   1008   -host | --host | --hos | --ho)
   1009     ac_prev=host_alias ;;
   1010   -host=* | --host=* | --hos=* | --ho=*)
   1011     host_alias=$ac_optarg ;;
   1012 
   1013   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1014     ac_prev=htmldir ;;
   1015   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1016   | --ht=*)
   1017     htmldir=$ac_optarg ;;
   1018 
   1019   -includedir | --includedir | --includedi | --included | --include \
   1020   | --includ | --inclu | --incl | --inc)
   1021     ac_prev=includedir ;;
   1022   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1023   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1024     includedir=$ac_optarg ;;
   1025 
   1026   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1027     ac_prev=infodir ;;
   1028   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1029     infodir=$ac_optarg ;;
   1030 
   1031   -libdir | --libdir | --libdi | --libd)
   1032     ac_prev=libdir ;;
   1033   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1034     libdir=$ac_optarg ;;
   1035 
   1036   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1037   | --libexe | --libex | --libe)
   1038     ac_prev=libexecdir ;;
   1039   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1040   | --libexe=* | --libex=* | --libe=*)
   1041     libexecdir=$ac_optarg ;;
   1042 
   1043   -localedir | --localedir | --localedi | --localed | --locale)
   1044     ac_prev=localedir ;;
   1045   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1046     localedir=$ac_optarg ;;
   1047 
   1048   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1049   | --localstate | --localstat | --localsta | --localst | --locals)
   1050     ac_prev=localstatedir ;;
   1051   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1052   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1053     localstatedir=$ac_optarg ;;
   1054 
   1055   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1056     ac_prev=mandir ;;
   1057   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1058     mandir=$ac_optarg ;;
   1059 
   1060   -nfp | --nfp | --nf)
   1061     # Obsolete; use --without-fp.
   1062     with_fp=no ;;
   1063 
   1064   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1065   | --no-cr | --no-c | -n)
   1066     no_create=yes ;;
   1067 
   1068   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1069   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1070     no_recursion=yes ;;
   1071 
   1072   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1073   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1074   | --oldin | --oldi | --old | --ol | --o)
   1075     ac_prev=oldincludedir ;;
   1076   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1077   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1078   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1079     oldincludedir=$ac_optarg ;;
   1080 
   1081   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1082     ac_prev=prefix ;;
   1083   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1084     prefix=$ac_optarg ;;
   1085 
   1086   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1087   | --program-pre | --program-pr | --program-p)
   1088     ac_prev=program_prefix ;;
   1089   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1090   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1091     program_prefix=$ac_optarg ;;
   1092 
   1093   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1094   | --program-suf | --program-su | --program-s)
   1095     ac_prev=program_suffix ;;
   1096   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1097   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1098     program_suffix=$ac_optarg ;;
   1099 
   1100   -program-transform-name | --program-transform-name \
   1101   | --program-transform-nam | --program-transform-na \
   1102   | --program-transform-n | --program-transform- \
   1103   | --program-transform | --program-transfor \
   1104   | --program-transfo | --program-transf \
   1105   | --program-trans | --program-tran \
   1106   | --progr-tra | --program-tr | --program-t)
   1107     ac_prev=program_transform_name ;;
   1108   -program-transform-name=* | --program-transform-name=* \
   1109   | --program-transform-nam=* | --program-transform-na=* \
   1110   | --program-transform-n=* | --program-transform-=* \
   1111   | --program-transform=* | --program-transfor=* \
   1112   | --program-transfo=* | --program-transf=* \
   1113   | --program-trans=* | --program-tran=* \
   1114   | --progr-tra=* | --program-tr=* | --program-t=*)
   1115     program_transform_name=$ac_optarg ;;
   1116 
   1117   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1118     ac_prev=pdfdir ;;
   1119   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1120     pdfdir=$ac_optarg ;;
   1121 
   1122   -psdir | --psdir | --psdi | --psd | --ps)
   1123     ac_prev=psdir ;;
   1124   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1125     psdir=$ac_optarg ;;
   1126 
   1127   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1128   | -silent | --silent | --silen | --sile | --sil)
   1129     silent=yes ;;
   1130 
   1131   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1132   | --runstate | --runstat | --runsta | --runst | --runs \
   1133   | --run | --ru | --r)
   1134     ac_prev=runstatedir ;;
   1135   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1136   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1137   | --run=* | --ru=* | --r=*)
   1138     runstatedir=$ac_optarg ;;
   1139 
   1140   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1141     ac_prev=sbindir ;;
   1142   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1143   | --sbi=* | --sb=*)
   1144     sbindir=$ac_optarg ;;
   1145 
   1146   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1147   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1148   | --sharedst | --shareds | --shared | --share | --shar \
   1149   | --sha | --sh)
   1150     ac_prev=sharedstatedir ;;
   1151   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1152   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1153   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1154   | --sha=* | --sh=*)
   1155     sharedstatedir=$ac_optarg ;;
   1156 
   1157   -site | --site | --sit)
   1158     ac_prev=site ;;
   1159   -site=* | --site=* | --sit=*)
   1160     site=$ac_optarg ;;
   1161 
   1162   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1163     ac_prev=srcdir ;;
   1164   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1165     srcdir=$ac_optarg ;;
   1166 
   1167   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1168   | --syscon | --sysco | --sysc | --sys | --sy)
   1169     ac_prev=sysconfdir ;;
   1170   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1171   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1172     sysconfdir=$ac_optarg ;;
   1173 
   1174   -target | --target | --targe | --targ | --tar | --ta | --t)
   1175     ac_prev=target_alias ;;
   1176   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1177     target_alias=$ac_optarg ;;
   1178 
   1179   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1180     verbose=yes ;;
   1181 
   1182   -version | --version | --versio | --versi | --vers | -V)
   1183     ac_init_version=: ;;
   1184 
   1185   -with-* | --with-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: '$ac_useropt'"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=\$ac_optarg ;;
   1200 
   1201   -without-* | --without-*)
   1202     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1203     # Reject names that are not valid shell variable names.
   1204     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1205       as_fn_error $? "invalid package name: '$ac_useropt'"
   1206     ac_useropt_orig=$ac_useropt
   1207     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1208     case $ac_user_opts in
   1209       *"
   1210 "with_$ac_useropt"
   1211 "*) ;;
   1212       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1213 	 ac_unrecognized_sep=', ';;
   1214     esac
   1215     eval with_$ac_useropt=no ;;
   1216 
   1217   --x)
   1218     # Obsolete; use --with-x.
   1219     with_x=yes ;;
   1220 
   1221   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1222   | --x-incl | --x-inc | --x-in | --x-i)
   1223     ac_prev=x_includes ;;
   1224   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1225   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1226     x_includes=$ac_optarg ;;
   1227 
   1228   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1229   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1230     ac_prev=x_libraries ;;
   1231   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1232   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1233     x_libraries=$ac_optarg ;;
   1234 
   1235   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1236 Try '$0 --help' for more information"
   1237     ;;
   1238 
   1239   *=*)
   1240     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1241     # Reject names that are not valid shell variable names.
   1242     case $ac_envvar in #(
   1243       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1244       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1245     esac
   1246     eval $ac_envvar=\$ac_optarg
   1247     export $ac_envvar ;;
   1248 
   1249   *)
   1250     # FIXME: should be removed in autoconf 3.0.
   1251     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1252     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1253       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1254     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1255     ;;
   1256 
   1257   esac
   1258 done
   1259 
   1260 if test -n "$ac_prev"; then
   1261   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1262   as_fn_error $? "missing argument to $ac_option"
   1263 fi
   1264 
   1265 if test -n "$ac_unrecognized_opts"; then
   1266   case $enable_option_checking in
   1267     no) ;;
   1268     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1269     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1270   esac
   1271 fi
   1272 
   1273 # Check all directory arguments for consistency.
   1274 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1275 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1276 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1277 		libdir localedir mandir runstatedir
   1278 do
   1279   eval ac_val=\$$ac_var
   1280   # Remove trailing slashes.
   1281   case $ac_val in
   1282     */ )
   1283       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1284       eval $ac_var=\$ac_val;;
   1285   esac
   1286   # Be sure to have absolute directory names.
   1287   case $ac_val in
   1288     [\\/$]* | ?:[\\/]* )  continue;;
   1289     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1290   esac
   1291   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1292 done
   1293 
   1294 # There might be people who depend on the old broken behavior: '$host'
   1295 # used to hold the argument of --host etc.
   1296 # FIXME: To remove some day.
   1297 build=$build_alias
   1298 host=$host_alias
   1299 target=$target_alias
   1300 
   1301 # FIXME: To remove some day.
   1302 if test "x$host_alias" != x; then
   1303   if test "x$build_alias" = x; then
   1304     cross_compiling=maybe
   1305   elif test "x$build_alias" != "x$host_alias"; then
   1306     cross_compiling=yes
   1307   fi
   1308 fi
   1309 
   1310 ac_tool_prefix=
   1311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1312 
   1313 test "$silent" = yes && exec 6>/dev/null
   1314 
   1315 
   1316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1317 ac_ls_di=`ls -di .` &&
   1318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1319   as_fn_error $? "working directory cannot be determined"
   1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1321   as_fn_error $? "pwd does not report name of working directory"
   1322 
   1323 
   1324 # Find the source files, if location was not specified.
   1325 if test -z "$srcdir"; then
   1326   ac_srcdir_defaulted=yes
   1327   # Try the directory containing this script, then the parent directory.
   1328   ac_confdir=`$as_dirname -- "$as_myself" ||
   1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1330 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1331 	 X"$as_myself" : 'X\(//\)$' \| \
   1332 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1333 printf "%s\n" X"$as_myself" |
   1334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\/\)[^/].*/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\/\)$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\).*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  s/.*/./; q'`
   1351   srcdir=$ac_confdir
   1352   if test ! -r "$srcdir/$ac_unique_file"; then
   1353     srcdir=..
   1354   fi
   1355 else
   1356   ac_srcdir_defaulted=no
   1357 fi
   1358 if test ! -r "$srcdir/$ac_unique_file"; then
   1359   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1360   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1361 fi
   1362 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1363 ac_abs_confdir=`(
   1364 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1365 	pwd)`
   1366 # When building in place, set srcdir=.
   1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1368   srcdir=.
   1369 fi
   1370 # Remove unnecessary trailing slashes from srcdir.
   1371 # Double slashes in file names in object file debugging info
   1372 # mess up M-x gdb in Emacs.
   1373 case $srcdir in
   1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1375 esac
   1376 for ac_var in $ac_precious_vars; do
   1377   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1378   eval ac_env_${ac_var}_value=\$${ac_var}
   1379   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1380   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1381 done
   1382 
   1383 #
   1384 # Report the --help message.
   1385 #
   1386 if test "$ac_init_help" = "long"; then
   1387   # Omit some internal or obsolete options to make the list less imposing.
   1388   # This message is too long to be a string in the A/UX 3.1 sh.
   1389   cat <<_ACEOF
   1390 'configure' configures xf86-video-vboxvideo 1.0.1 to adapt to many kinds of systems.
   1391 
   1392 Usage: $0 [OPTION]... [VAR=VALUE]...
   1393 
   1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1395 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1396 
   1397 Defaults for the options are specified in brackets.
   1398 
   1399 Configuration:
   1400   -h, --help              display this help and exit
   1401       --help=short        display options specific to this package
   1402       --help=recursive    display the short help of all the included packages
   1403   -V, --version           display version information and exit
   1404   -q, --quiet, --silent   do not print 'checking ...' messages
   1405       --cache-file=FILE   cache test results in FILE [disabled]
   1406   -C, --config-cache      alias for '--cache-file=config.cache'
   1407   -n, --no-create         do not create output files
   1408       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1409 
   1410 Installation directories:
   1411   --prefix=PREFIX         install architecture-independent files in PREFIX
   1412                           [$ac_default_prefix]
   1413   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1414                           [PREFIX]
   1415 
   1416 By default, 'make install' will install all the files in
   1417 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1418 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1419 for instance '--prefix=\$HOME'.
   1420 
   1421 For better control, use the options below.
   1422 
   1423 Fine tuning of the installation directories:
   1424   --bindir=DIR            user executables [EPREFIX/bin]
   1425   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1426   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1427   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1428   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1429   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1430   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1431   --libdir=DIR            object code libraries [EPREFIX/lib]
   1432   --includedir=DIR        C header files [PREFIX/include]
   1433   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1434   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1435   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1436   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1437   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1438   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1439   --docdir=DIR            documentation root
   1440                           [DATAROOTDIR/doc/xf86-video-vboxvideo]
   1441   --htmldir=DIR           html documentation [DOCDIR]
   1442   --dvidir=DIR            dvi documentation [DOCDIR]
   1443   --pdfdir=DIR            pdf documentation [DOCDIR]
   1444   --psdir=DIR             ps documentation [DOCDIR]
   1445 _ACEOF
   1446 
   1447   cat <<\_ACEOF
   1448 
   1449 Program names:
   1450   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1451   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1452   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1453 
   1454 System types:
   1455   --build=BUILD     configure for building on BUILD [guessed]
   1456   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1457 _ACEOF
   1458 fi
   1459 
   1460 if test -n "$ac_init_help"; then
   1461   case $ac_init_help in
   1462      short | recursive ) echo "Configuration of xf86-video-vboxvideo 1.0.1:";;
   1463    esac
   1464   cat <<\_ACEOF
   1465 
   1466 Optional Features:
   1467   --disable-option-checking  ignore unrecognized --enable/--with options
   1468   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1469   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1470   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1471   --disable-silent-rules  verbose build output (undo: "make V=0")
   1472   --enable-dependency-tracking
   1473                           do not reject slow dependency extractors
   1474   --disable-dependency-tracking
   1475                           speeds up one-time build
   1476   --disable-selective-werror
   1477                           Turn off selective compiler errors. (default:
   1478                           enabled)
   1479   --enable-strict-compilation
   1480                           Enable all warnings from compiler and make them
   1481                           errors (default: disabled)
   1482   --enable-static[=PKGS]  build static libraries [default=no]
   1483   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1484   --enable-fast-install[=PKGS]
   1485                           optimize for fast installation [default=yes]
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487 
   1488 Optional Packages:
   1489   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1490   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1491   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1492                           both]
   1493   --with-aix-soname=aix|svr4|both
   1494                           shared library versioning (aka "SONAME") variant to
   1495                           provide on AIX, [default=aix].
   1496   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1497   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1498                           compiler's sysroot if not specified).
   1499   --with-xorg-module-dir=DIR
   1500 
   1501 Some influential environment variables:
   1502   CC          C compiler command
   1503   CFLAGS      C compiler flags
   1504   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1505               nonstandard directory <lib dir>
   1506   LIBS        libraries to pass to the linker, e.g. -l<library>
   1507   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1508               you have headers in a nonstandard directory <include dir>
   1509   PKG_CONFIG  path to pkg-config utility
   1510   PKG_CONFIG_PATH
   1511               directories to add to pkg-config's search path
   1512   PKG_CONFIG_LIBDIR
   1513               path overriding pkg-config's built-in search path
   1514   LT_SYS_LIBRARY_PATH
   1515               User-defined run-time library search path.
   1516   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1517   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1518   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1519   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1520   PCIACCESS_CFLAGS
   1521               C compiler flags for PCIACCESS, overriding pkg-config
   1522   PCIACCESS_LIBS
   1523               linker flags for PCIACCESS, overriding pkg-config
   1524 
   1525 Use these variables to override the choices made by 'configure' or to help
   1526 it to find libraries and programs with nonstandard names/locations.
   1527 
   1528 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/issues>.
   1529 _ACEOF
   1530 ac_status=$?
   1531 fi
   1532 
   1533 if test "$ac_init_help" = "recursive"; then
   1534   # If there are subdirs, report their specific --help.
   1535   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1536     test -d "$ac_dir" ||
   1537       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1538       continue
   1539     ac_builddir=.
   1540 
   1541 case "$ac_dir" in
   1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1543 *)
   1544   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1545   # A ".." for each directory in $ac_dir_suffix.
   1546   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1547   case $ac_top_builddir_sub in
   1548   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1549   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1550   esac ;;
   1551 esac
   1552 ac_abs_top_builddir=$ac_pwd
   1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1554 # for backward compatibility:
   1555 ac_top_builddir=$ac_top_build_prefix
   1556 
   1557 case $srcdir in
   1558   .)  # We are building in place.
   1559     ac_srcdir=.
   1560     ac_top_srcdir=$ac_top_builddir_sub
   1561     ac_abs_top_srcdir=$ac_pwd ;;
   1562   [\\/]* | ?:[\\/]* )  # Absolute name.
   1563     ac_srcdir=$srcdir$ac_dir_suffix;
   1564     ac_top_srcdir=$srcdir
   1565     ac_abs_top_srcdir=$srcdir ;;
   1566   *) # Relative name.
   1567     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1568     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1569     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1570 esac
   1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1572 
   1573     cd "$ac_dir" || { ac_status=$?; continue; }
   1574     # Check for configure.gnu first; this name is used for a wrapper for
   1575     # Metaconfig's "Configure" on case-insensitive file systems.
   1576     if test -f "$ac_srcdir/configure.gnu"; then
   1577       echo &&
   1578       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1579     elif test -f "$ac_srcdir/configure"; then
   1580       echo &&
   1581       $SHELL "$ac_srcdir/configure" --help=recursive
   1582     else
   1583       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1584     fi || ac_status=$?
   1585     cd "$ac_pwd" || { ac_status=$?; break; }
   1586   done
   1587 fi
   1588 
   1589 test -n "$ac_init_help" && exit $ac_status
   1590 if $ac_init_version; then
   1591   cat <<\_ACEOF
   1592 xf86-video-vboxvideo configure 1.0.1
   1593 generated by GNU Autoconf 2.72
   1594 
   1595 Copyright (C) 2023 Free Software Foundation, Inc.
   1596 This configure script is free software; the Free Software Foundation
   1597 gives unlimited permission to copy, distribute and modify it.
   1598 _ACEOF
   1599   exit
   1600 fi
   1601 
   1602 ## ------------------------ ##
   1603 ## Autoconf initialization. ##
   1604 ## ------------------------ ##
   1605 
   1606 # ac_fn_c_try_compile LINENO
   1607 # --------------------------
   1608 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1609 ac_fn_c_try_compile ()
   1610 {
   1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1612   rm -f conftest.$ac_objext conftest.beam
   1613   if { { ac_try="$ac_compile"
   1614 case "(($ac_try" in
   1615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1616   *) ac_try_echo=$ac_try;;
   1617 esac
   1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1619 printf "%s\n" "$ac_try_echo"; } >&5
   1620   (eval "$ac_compile") 2>conftest.err
   1621   ac_status=$?
   1622   if test -s conftest.err; then
   1623     grep -v '^ *+' conftest.err >conftest.er1
   1624     cat conftest.er1 >&5
   1625     mv -f conftest.er1 conftest.err
   1626   fi
   1627   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1628   test $ac_status = 0; } && {
   1629 	 test -z "$ac_c_werror_flag" ||
   1630 	 test ! -s conftest.err
   1631        } && test -s conftest.$ac_objext
   1632 then :
   1633   ac_retval=0
   1634 else case e in #(
   1635   e) printf "%s\n" "$as_me: failed program was:" >&5
   1636 sed 's/^/| /' conftest.$ac_ext >&5
   1637 
   1638 	ac_retval=1 ;;
   1639 esac
   1640 fi
   1641   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1642   as_fn_set_status $ac_retval
   1643 
   1644 } # ac_fn_c_try_compile
   1645 
   1646 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1647 # ------------------------------------------------------------------
   1648 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1649 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1650 ac_fn_check_decl ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1655 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1656 if eval test \${$3+y}
   1657 then :
   1658   printf %s "(cached) " >&6
   1659 else case e in #(
   1660   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1661   eval ac_save_FLAGS=\$$6
   1662   as_fn_append $6 " $5"
   1663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1664 /* end confdefs.h.  */
   1665 $4
   1666 int
   1667 main (void)
   1668 {
   1669 #ifndef $as_decl_name
   1670 #ifdef __cplusplus
   1671   (void) $as_decl_use;
   1672 #else
   1673   (void) $as_decl_name;
   1674 #endif
   1675 #endif
   1676 
   1677   ;
   1678   return 0;
   1679 }
   1680 _ACEOF
   1681 if ac_fn_c_try_compile "$LINENO"
   1682 then :
   1683   eval "$3=yes"
   1684 else case e in #(
   1685   e) eval "$3=no" ;;
   1686 esac
   1687 fi
   1688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1689   eval $6=\$ac_save_FLAGS
   1690  ;;
   1691 esac
   1692 fi
   1693 eval ac_res=\$$3
   1694 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1695 printf "%s\n" "$ac_res" >&6; }
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697 
   1698 } # ac_fn_check_decl
   1699 
   1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1701 # -------------------------------------------------------
   1702 # Tests whether HEADER exists and can be compiled using the include files in
   1703 # INCLUDES, setting the cache variable VAR accordingly.
   1704 ac_fn_c_check_header_compile ()
   1705 {
   1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1708 printf %s "checking for $2... " >&6; }
   1709 if eval test \${$3+y}
   1710 then :
   1711   printf %s "(cached) " >&6
   1712 else case e in #(
   1713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1714 /* end confdefs.h.  */
   1715 $4
   1716 #include <$2>
   1717 _ACEOF
   1718 if ac_fn_c_try_compile "$LINENO"
   1719 then :
   1720   eval "$3=yes"
   1721 else case e in #(
   1722   e) eval "$3=no" ;;
   1723 esac
   1724 fi
   1725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1726 esac
   1727 fi
   1728 eval ac_res=\$$3
   1729 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1730 printf "%s\n" "$ac_res" >&6; }
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732 
   1733 } # ac_fn_c_check_header_compile
   1734 
   1735 # ac_fn_c_try_link LINENO
   1736 # -----------------------
   1737 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1738 ac_fn_c_try_link ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1742   if { { ac_try="$ac_link"
   1743 case "(($ac_try" in
   1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1745   *) ac_try_echo=$ac_try;;
   1746 esac
   1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1748 printf "%s\n" "$ac_try_echo"; } >&5
   1749   (eval "$ac_link") 2>conftest.err
   1750   ac_status=$?
   1751   if test -s conftest.err; then
   1752     grep -v '^ *+' conftest.err >conftest.er1
   1753     cat conftest.er1 >&5
   1754     mv -f conftest.er1 conftest.err
   1755   fi
   1756   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1757   test $ac_status = 0; } && {
   1758 	 test -z "$ac_c_werror_flag" ||
   1759 	 test ! -s conftest.err
   1760        } && test -s conftest$ac_exeext && {
   1761 	 test "$cross_compiling" = yes ||
   1762 	 test -x conftest$ac_exeext
   1763        }
   1764 then :
   1765   ac_retval=0
   1766 else case e in #(
   1767   e) printf "%s\n" "$as_me: failed program was:" >&5
   1768 sed 's/^/| /' conftest.$ac_ext >&5
   1769 
   1770 	ac_retval=1 ;;
   1771 esac
   1772 fi
   1773   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1774   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1775   # interfere with the next link command; also delete a directory that is
   1776   # left behind by Apple's compiler.  We do this before executing the actions.
   1777   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1779   as_fn_set_status $ac_retval
   1780 
   1781 } # ac_fn_c_try_link
   1782 
   1783 # ac_fn_c_check_func LINENO FUNC VAR
   1784 # ----------------------------------
   1785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1786 ac_fn_c_check_func ()
   1787 {
   1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1790 printf %s "checking for $2... " >&6; }
   1791 if eval test \${$3+y}
   1792 then :
   1793   printf %s "(cached) " >&6
   1794 else case e in #(
   1795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1796 /* end confdefs.h.  */
   1797 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1799 #define $2 innocuous_$2
   1800 
   1801 /* System header to define __stub macros and hopefully few prototypes,
   1802    which can conflict with char $2 (void); below.  */
   1803 
   1804 #include <limits.h>
   1805 #undef $2
   1806 
   1807 /* Override any GCC internal prototype to avoid an error.
   1808    Use char because int might match the return type of a GCC
   1809    builtin and then its argument prototype would still apply.  */
   1810 #ifdef __cplusplus
   1811 extern "C"
   1812 #endif
   1813 char $2 (void);
   1814 /* The GNU C library defines this for functions which it implements
   1815     to always fail with ENOSYS.  Some functions are actually named
   1816     something starting with __ and the normal name is an alias.  */
   1817 #if defined __stub_$2 || defined __stub___$2
   1818 choke me
   1819 #endif
   1820 
   1821 int
   1822 main (void)
   1823 {
   1824 return $2 ();
   1825   ;
   1826   return 0;
   1827 }
   1828 _ACEOF
   1829 if ac_fn_c_try_link "$LINENO"
   1830 then :
   1831   eval "$3=yes"
   1832 else case e in #(
   1833   e) eval "$3=no" ;;
   1834 esac
   1835 fi
   1836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1837     conftest$ac_exeext conftest.$ac_ext ;;
   1838 esac
   1839 fi
   1840 eval ac_res=\$$3
   1841 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842 printf "%s\n" "$ac_res" >&6; }
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844 
   1845 } # ac_fn_c_check_func
   1846 ac_configure_args_raw=
   1847 for ac_arg
   1848 do
   1849   case $ac_arg in
   1850   *\'*)
   1851     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1852   esac
   1853   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1854 done
   1855 
   1856 case $ac_configure_args_raw in
   1857   *$as_nl*)
   1858     ac_safe_unquote= ;;
   1859   *)
   1860     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1861     ac_unsafe_a="$ac_unsafe_z#~"
   1862     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1863     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1864 esac
   1865 
   1866 cat >config.log <<_ACEOF
   1867 This file contains any messages produced by compilers while
   1868 running configure, to aid debugging if configure makes a mistake.
   1869 
   1870 It was created by xf86-video-vboxvideo $as_me 1.0.1, which was
   1871 generated by GNU Autoconf 2.72.  Invocation command line was
   1872 
   1873   $ $0$ac_configure_args_raw
   1874 
   1875 _ACEOF
   1876 exec 5>>config.log
   1877 {
   1878 cat <<_ASUNAME
   1879 ## --------- ##
   1880 ## Platform. ##
   1881 ## --------- ##
   1882 
   1883 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1884 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1885 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1886 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1887 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1888 
   1889 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1890 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1891 
   1892 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1893 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1894 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1895 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1896 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1897 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1898 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1899 
   1900 _ASUNAME
   1901 
   1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1903 for as_dir in $PATH
   1904 do
   1905   IFS=$as_save_IFS
   1906   case $as_dir in #(((
   1907     '') as_dir=./ ;;
   1908     */) ;;
   1909     *) as_dir=$as_dir/ ;;
   1910   esac
   1911     printf "%s\n" "PATH: $as_dir"
   1912   done
   1913 IFS=$as_save_IFS
   1914 
   1915 } >&5
   1916 
   1917 cat >&5 <<_ACEOF
   1918 
   1919 
   1920 ## ----------- ##
   1921 ## Core tests. ##
   1922 ## ----------- ##
   1923 
   1924 _ACEOF
   1925 
   1926 
   1927 # Keep a trace of the command line.
   1928 # Strip out --no-create and --no-recursion so they do not pile up.
   1929 # Strip out --silent because we don't want to record it for future runs.
   1930 # Also quote any args containing shell meta-characters.
   1931 # Make two passes to allow for proper duplicate-argument suppression.
   1932 ac_configure_args=
   1933 ac_configure_args0=
   1934 ac_configure_args1=
   1935 ac_must_keep_next=false
   1936 for ac_pass in 1 2
   1937 do
   1938   for ac_arg
   1939   do
   1940     case $ac_arg in
   1941     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1942     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1943     | -silent | --silent | --silen | --sile | --sil)
   1944       continue ;;
   1945     *\'*)
   1946       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1947     esac
   1948     case $ac_pass in
   1949     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1950     2)
   1951       as_fn_append ac_configure_args1 " '$ac_arg'"
   1952       if test $ac_must_keep_next = true; then
   1953 	ac_must_keep_next=false # Got value, back to normal.
   1954       else
   1955 	case $ac_arg in
   1956 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1957 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1958 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1959 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1960 	    case "$ac_configure_args0 " in
   1961 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1962 	    esac
   1963 	    ;;
   1964 	  -* ) ac_must_keep_next=true ;;
   1965 	esac
   1966       fi
   1967       as_fn_append ac_configure_args " '$ac_arg'"
   1968       ;;
   1969     esac
   1970   done
   1971 done
   1972 { ac_configure_args0=; unset ac_configure_args0;}
   1973 { ac_configure_args1=; unset ac_configure_args1;}
   1974 
   1975 # When interrupted or exit'd, cleanup temporary files, and complete
   1976 # config.log.  We remove comments because anyway the quotes in there
   1977 # would cause problems or look ugly.
   1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1980 trap 'exit_status=$?
   1981   # Sanitize IFS.
   1982   IFS=" ""	$as_nl"
   1983   # Save into config.log some information that might help in debugging.
   1984   {
   1985     echo
   1986 
   1987     printf "%s\n" "## ---------------- ##
   1988 ## Cache variables. ##
   1989 ## ---------------- ##"
   1990     echo
   1991     # The following way of writing the cache mishandles newlines in values,
   1992 (
   1993   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1994     eval ac_val=\$$ac_var
   1995     case $ac_val in #(
   1996     *${as_nl}*)
   1997       case $ac_var in #(
   1998       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1999 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2000       esac
   2001       case $ac_var in #(
   2002       _ | IFS | as_nl) ;; #(
   2003       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2004       *) { eval $ac_var=; unset $ac_var;} ;;
   2005       esac ;;
   2006     esac
   2007   done
   2008   (set) 2>&1 |
   2009     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2010     *${as_nl}ac_space=\ *)
   2011       sed -n \
   2012 	"s/'\''/'\''\\\\'\'''\''/g;
   2013 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2014       ;; #(
   2015     *)
   2016       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2017       ;;
   2018     esac |
   2019     sort
   2020 )
   2021     echo
   2022 
   2023     printf "%s\n" "## ----------------- ##
   2024 ## Output variables. ##
   2025 ## ----------------- ##"
   2026     echo
   2027     for ac_var in $ac_subst_vars
   2028     do
   2029       eval ac_val=\$$ac_var
   2030       case $ac_val in
   2031       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2032       esac
   2033       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2034     done | sort
   2035     echo
   2036 
   2037     if test -n "$ac_subst_files"; then
   2038       printf "%s\n" "## ------------------- ##
   2039 ## File substitutions. ##
   2040 ## ------------------- ##"
   2041       echo
   2042       for ac_var in $ac_subst_files
   2043       do
   2044 	eval ac_val=\$$ac_var
   2045 	case $ac_val in
   2046 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2047 	esac
   2048 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2049       done | sort
   2050       echo
   2051     fi
   2052 
   2053     if test -s confdefs.h; then
   2054       printf "%s\n" "## ----------- ##
   2055 ## confdefs.h. ##
   2056 ## ----------- ##"
   2057       echo
   2058       cat confdefs.h
   2059       echo
   2060     fi
   2061     test "$ac_signal" != 0 &&
   2062       printf "%s\n" "$as_me: caught signal $ac_signal"
   2063     printf "%s\n" "$as_me: exit $exit_status"
   2064   } >&5
   2065   rm -f core *.core core.conftest.* &&
   2066     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2067     exit $exit_status
   2068 ' 0
   2069 for ac_signal in 1 2 13 15; do
   2070   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2071 done
   2072 ac_signal=0
   2073 
   2074 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2075 rm -f -r conftest* confdefs.h
   2076 
   2077 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2078 
   2079 # Predefined preprocessor variables.
   2080 
   2081 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2082 
   2083 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2084 
   2085 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2086 
   2087 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2088 
   2089 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2090 
   2091 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2092 
   2093 
   2094 # Let the site file select an alternate cache file if it wants to.
   2095 # Prefer an explicitly selected file to automatically selected ones.
   2096 if test -n "$CONFIG_SITE"; then
   2097   ac_site_files="$CONFIG_SITE"
   2098 elif test "x$prefix" != xNONE; then
   2099   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2100 else
   2101   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2102 fi
   2103 
   2104 for ac_site_file in $ac_site_files
   2105 do
   2106   case $ac_site_file in #(
   2107   */*) :
   2108      ;; #(
   2109   *) :
   2110     ac_site_file=./$ac_site_file ;;
   2111 esac
   2112   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2113     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2114 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2115     sed 's/^/| /' "$ac_site_file" >&5
   2116     . "$ac_site_file" \
   2117       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2118 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2119 as_fn_error $? "failed to load site script $ac_site_file
   2120 See 'config.log' for more details" "$LINENO" 5; }
   2121   fi
   2122 done
   2123 
   2124 if test -r "$cache_file"; then
   2125   # Some versions of bash will fail to source /dev/null (special files
   2126   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2127   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2128     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2129 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2130     case $cache_file in
   2131       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2132       *)                      . "./$cache_file";;
   2133     esac
   2134   fi
   2135 else
   2136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2137 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2138   >$cache_file
   2139 fi
   2140 
   2141 # Test code for whether the C compiler supports C89 (global declarations)
   2142 ac_c_conftest_c89_globals='
   2143 /* Does the compiler advertise C89 conformance?
   2144    Do not test the value of __STDC__, because some compilers set it to 0
   2145    while being otherwise adequately conformant. */
   2146 #if !defined __STDC__
   2147 # error "Compiler does not advertise C89 conformance"
   2148 #endif
   2149 
   2150 #include <stddef.h>
   2151 #include <stdarg.h>
   2152 struct stat;
   2153 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2154 struct buf { int x; };
   2155 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2156 static char *e (char **p, int i)
   2157 {
   2158   return p[i];
   2159 }
   2160 static char *f (char * (*g) (char **, int), char **p, ...)
   2161 {
   2162   char *s;
   2163   va_list v;
   2164   va_start (v,p);
   2165   s = g (p, va_arg (v,int));
   2166   va_end (v);
   2167   return s;
   2168 }
   2169 
   2170 /* C89 style stringification. */
   2171 #define noexpand_stringify(a) #a
   2172 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2173 
   2174 /* C89 style token pasting.  Exercises some of the corner cases that
   2175    e.g. old MSVC gets wrong, but not very hard. */
   2176 #define noexpand_concat(a,b) a##b
   2177 #define expand_concat(a,b) noexpand_concat(a,b)
   2178 extern int vA;
   2179 extern int vbee;
   2180 #define aye A
   2181 #define bee B
   2182 int *pvA = &expand_concat(v,aye);
   2183 int *pvbee = &noexpand_concat(v,bee);
   2184 
   2185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2186    function prototypes and stuff, but not \xHH hex character constants.
   2187    These do not provoke an error unfortunately, instead are silently treated
   2188    as an "x".  The following induces an error, until -std is added to get
   2189    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2190    array size at least.  It is necessary to write \x00 == 0 to get something
   2191    that is true only with -std.  */
   2192 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2193 
   2194 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2195    inside strings and character constants.  */
   2196 #define FOO(x) '\''x'\''
   2197 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2198 
   2199 int test (int i, double x);
   2200 struct s1 {int (*f) (int a);};
   2201 struct s2 {int (*f) (double a);};
   2202 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2203                int, int);'
   2204 
   2205 # Test code for whether the C compiler supports C89 (body of main).
   2206 ac_c_conftest_c89_main='
   2207 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2208 '
   2209 
   2210 # Test code for whether the C compiler supports C99 (global declarations)
   2211 ac_c_conftest_c99_globals='
   2212 /* Does the compiler advertise C99 conformance? */
   2213 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2214 # error "Compiler does not advertise C99 conformance"
   2215 #endif
   2216 
   2217 // See if C++-style comments work.
   2218 
   2219 #include <stdbool.h>
   2220 extern int puts (const char *);
   2221 extern int printf (const char *, ...);
   2222 extern int dprintf (int, const char *, ...);
   2223 extern void *malloc (size_t);
   2224 extern void free (void *);
   2225 
   2226 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2227 // dprintf is used instead of fprintf to avoid needing to declare
   2228 // FILE and stderr.
   2229 #define debug(...) dprintf (2, __VA_ARGS__)
   2230 #define showlist(...) puts (#__VA_ARGS__)
   2231 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2232 static void
   2233 test_varargs_macros (void)
   2234 {
   2235   int x = 1234;
   2236   int y = 5678;
   2237   debug ("Flag");
   2238   debug ("X = %d\n", x);
   2239   showlist (The first, second, and third items.);
   2240   report (x>y, "x is %d but y is %d", x, y);
   2241 }
   2242 
   2243 // Check long long types.
   2244 #define BIG64 18446744073709551615ull
   2245 #define BIG32 4294967295ul
   2246 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2247 #if !BIG_OK
   2248   #error "your preprocessor is broken"
   2249 #endif
   2250 #if BIG_OK
   2251 #else
   2252   #error "your preprocessor is broken"
   2253 #endif
   2254 static long long int bignum = -9223372036854775807LL;
   2255 static unsigned long long int ubignum = BIG64;
   2256 
   2257 struct incomplete_array
   2258 {
   2259   int datasize;
   2260   double data[];
   2261 };
   2262 
   2263 struct named_init {
   2264   int number;
   2265   const wchar_t *name;
   2266   double average;
   2267 };
   2268 
   2269 typedef const char *ccp;
   2270 
   2271 static inline int
   2272 test_restrict (ccp restrict text)
   2273 {
   2274   // Iterate through items via the restricted pointer.
   2275   // Also check for declarations in for loops.
   2276   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2277     continue;
   2278   return 0;
   2279 }
   2280 
   2281 // Check varargs and va_copy.
   2282 static bool
   2283 test_varargs (const char *format, ...)
   2284 {
   2285   va_list args;
   2286   va_start (args, format);
   2287   va_list args_copy;
   2288   va_copy (args_copy, args);
   2289 
   2290   const char *str = "";
   2291   int number = 0;
   2292   float fnumber = 0;
   2293 
   2294   while (*format)
   2295     {
   2296       switch (*format++)
   2297 	{
   2298 	case '\''s'\'': // string
   2299 	  str = va_arg (args_copy, const char *);
   2300 	  break;
   2301 	case '\''d'\'': // int
   2302 	  number = va_arg (args_copy, int);
   2303 	  break;
   2304 	case '\''f'\'': // float
   2305 	  fnumber = va_arg (args_copy, double);
   2306 	  break;
   2307 	default:
   2308 	  break;
   2309 	}
   2310     }
   2311   va_end (args_copy);
   2312   va_end (args);
   2313 
   2314   return *str && number && fnumber;
   2315 }
   2316 '
   2317 
   2318 # Test code for whether the C compiler supports C99 (body of main).
   2319 ac_c_conftest_c99_main='
   2320   // Check bool.
   2321   _Bool success = false;
   2322   success |= (argc != 0);
   2323 
   2324   // Check restrict.
   2325   if (test_restrict ("String literal") == 0)
   2326     success = true;
   2327   char *restrict newvar = "Another string";
   2328 
   2329   // Check varargs.
   2330   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2331   test_varargs_macros ();
   2332 
   2333   // Check flexible array members.
   2334   struct incomplete_array *ia =
   2335     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2336   ia->datasize = 10;
   2337   for (int i = 0; i < ia->datasize; ++i)
   2338     ia->data[i] = i * 1.234;
   2339   // Work around memory leak warnings.
   2340   free (ia);
   2341 
   2342   // Check named initializers.
   2343   struct named_init ni = {
   2344     .number = 34,
   2345     .name = L"Test wide string",
   2346     .average = 543.34343,
   2347   };
   2348 
   2349   ni.number = 58;
   2350 
   2351   int dynamic_array[ni.number];
   2352   dynamic_array[0] = argv[0][0];
   2353   dynamic_array[ni.number - 1] = 543;
   2354 
   2355   // work around unused variable warnings
   2356   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2357 	 || dynamic_array[ni.number - 1] != 543);
   2358 '
   2359 
   2360 # Test code for whether the C compiler supports C11 (global declarations)
   2361 ac_c_conftest_c11_globals='
   2362 /* Does the compiler advertise C11 conformance? */
   2363 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2364 # error "Compiler does not advertise C11 conformance"
   2365 #endif
   2366 
   2367 // Check _Alignas.
   2368 char _Alignas (double) aligned_as_double;
   2369 char _Alignas (0) no_special_alignment;
   2370 extern char aligned_as_int;
   2371 char _Alignas (0) _Alignas (int) aligned_as_int;
   2372 
   2373 // Check _Alignof.
   2374 enum
   2375 {
   2376   int_alignment = _Alignof (int),
   2377   int_array_alignment = _Alignof (int[100]),
   2378   char_alignment = _Alignof (char)
   2379 };
   2380 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2381 
   2382 // Check _Noreturn.
   2383 int _Noreturn does_not_return (void) { for (;;) continue; }
   2384 
   2385 // Check _Static_assert.
   2386 struct test_static_assert
   2387 {
   2388   int x;
   2389   _Static_assert (sizeof (int) <= sizeof (long int),
   2390                   "_Static_assert does not work in struct");
   2391   long int y;
   2392 };
   2393 
   2394 // Check UTF-8 literals.
   2395 #define u8 syntax error!
   2396 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2397 
   2398 // Check duplicate typedefs.
   2399 typedef long *long_ptr;
   2400 typedef long int *long_ptr;
   2401 typedef long_ptr long_ptr;
   2402 
   2403 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2404 struct anonymous
   2405 {
   2406   union {
   2407     struct { int i; int j; };
   2408     struct { int k; long int l; } w;
   2409   };
   2410   int m;
   2411 } v1;
   2412 '
   2413 
   2414 # Test code for whether the C compiler supports C11 (body of main).
   2415 ac_c_conftest_c11_main='
   2416   _Static_assert ((offsetof (struct anonymous, i)
   2417 		   == offsetof (struct anonymous, w.k)),
   2418 		  "Anonymous union alignment botch");
   2419   v1.i = 2;
   2420   v1.w.k = 5;
   2421   ok |= v1.i != 5;
   2422 '
   2423 
   2424 # Test code for whether the C compiler supports C11 (complete).
   2425 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2426 ${ac_c_conftest_c99_globals}
   2427 ${ac_c_conftest_c11_globals}
   2428 
   2429 int
   2430 main (int argc, char **argv)
   2431 {
   2432   int ok = 0;
   2433   ${ac_c_conftest_c89_main}
   2434   ${ac_c_conftest_c99_main}
   2435   ${ac_c_conftest_c11_main}
   2436   return ok;
   2437 }
   2438 "
   2439 
   2440 # Test code for whether the C compiler supports C99 (complete).
   2441 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2442 ${ac_c_conftest_c99_globals}
   2443 
   2444 int
   2445 main (int argc, char **argv)
   2446 {
   2447   int ok = 0;
   2448   ${ac_c_conftest_c89_main}
   2449   ${ac_c_conftest_c99_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 # Test code for whether the C compiler supports C89 (complete).
   2455 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2456 
   2457 int
   2458 main (int argc, char **argv)
   2459 {
   2460   int ok = 0;
   2461   ${ac_c_conftest_c89_main}
   2462   return ok;
   2463 }
   2464 "
   2465 
   2466 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2467 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2468 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2469 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2470 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2471 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2472 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2473 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2474 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2475 
   2476 # Auxiliary files required by this configure script.
   2477 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2478 
   2479 # Locations in which to look for auxiliary files.
   2480 ac_aux_dir_candidates="${srcdir}/."
   2481 
   2482 # Search for a directory containing all of the required auxiliary files,
   2483 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2484 # If we don't find one directory that contains all the files we need,
   2485 # we report the set of missing files from the *first* directory in
   2486 # $ac_aux_dir_candidates and give up.
   2487 ac_missing_aux_files=""
   2488 ac_first_candidate=:
   2489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2491 as_found=false
   2492 for as_dir in $ac_aux_dir_candidates
   2493 do
   2494   IFS=$as_save_IFS
   2495   case $as_dir in #(((
   2496     '') as_dir=./ ;;
   2497     */) ;;
   2498     *) as_dir=$as_dir/ ;;
   2499   esac
   2500   as_found=:
   2501 
   2502   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2503   ac_aux_dir_found=yes
   2504   ac_install_sh=
   2505   for ac_aux in $ac_aux_files
   2506   do
   2507     # As a special case, if "install-sh" is required, that requirement
   2508     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2509     # and $ac_install_sh is set appropriately for whichever one is found.
   2510     if test x"$ac_aux" = x"install-sh"
   2511     then
   2512       if test -f "${as_dir}install-sh"; then
   2513         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2514         ac_install_sh="${as_dir}install-sh -c"
   2515       elif test -f "${as_dir}install.sh"; then
   2516         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2517         ac_install_sh="${as_dir}install.sh -c"
   2518       elif test -f "${as_dir}shtool"; then
   2519         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2520         ac_install_sh="${as_dir}shtool install -c"
   2521       else
   2522         ac_aux_dir_found=no
   2523         if $ac_first_candidate; then
   2524           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2525         else
   2526           break
   2527         fi
   2528       fi
   2529     else
   2530       if test -f "${as_dir}${ac_aux}"; then
   2531         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2532       else
   2533         ac_aux_dir_found=no
   2534         if $ac_first_candidate; then
   2535           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2536         else
   2537           break
   2538         fi
   2539       fi
   2540     fi
   2541   done
   2542   if test "$ac_aux_dir_found" = yes; then
   2543     ac_aux_dir="$as_dir"
   2544     break
   2545   fi
   2546   ac_first_candidate=false
   2547 
   2548   as_found=false
   2549 done
   2550 IFS=$as_save_IFS
   2551 if $as_found
   2552 then :
   2553 
   2554 else case e in #(
   2555   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2556 esac
   2557 fi
   2558 
   2559 
   2560 # These three variables are undocumented and unsupported,
   2561 # and are intended to be withdrawn in a future Autoconf release.
   2562 # They can cause serious problems if a builder's source tree is in a directory
   2563 # whose full name contains unusual characters.
   2564 if test -f "${ac_aux_dir}config.guess"; then
   2565   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2566 fi
   2567 if test -f "${ac_aux_dir}config.sub"; then
   2568   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2569 fi
   2570 if test -f "$ac_aux_dir/configure"; then
   2571   ac_configure="$SHELL ${ac_aux_dir}configure"
   2572 fi
   2573 
   2574 # Check that the precious variables saved in the cache have kept the same
   2575 # value.
   2576 ac_cache_corrupted=false
   2577 for ac_var in $ac_precious_vars; do
   2578   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2579   eval ac_new_set=\$ac_env_${ac_var}_set
   2580   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2581   eval ac_new_val=\$ac_env_${ac_var}_value
   2582   case $ac_old_set,$ac_new_set in
   2583     set,)
   2584       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2585 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2586       ac_cache_corrupted=: ;;
   2587     ,set)
   2588       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2589 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2590       ac_cache_corrupted=: ;;
   2591     ,);;
   2592     *)
   2593       if test "x$ac_old_val" != "x$ac_new_val"; then
   2594 	# differences in whitespace do not lead to failure.
   2595 	ac_old_val_w=`echo x $ac_old_val`
   2596 	ac_new_val_w=`echo x $ac_new_val`
   2597 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2598 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2599 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2600 	  ac_cache_corrupted=:
   2601 	else
   2602 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2603 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2604 	  eval $ac_var=\$ac_old_val
   2605 	fi
   2606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2607 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2609 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2610       fi;;
   2611   esac
   2612   # Pass precious variables to config.status.
   2613   if test "$ac_new_set" = set; then
   2614     case $ac_new_val in
   2615     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2616     *) ac_arg=$ac_var=$ac_new_val ;;
   2617     esac
   2618     case " $ac_configure_args " in
   2619       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2620       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2621     esac
   2622   fi
   2623 done
   2624 if $ac_cache_corrupted; then
   2625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2626 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2628 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2629   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2630 	    and start over" "$LINENO" 5
   2631 fi
   2632 ## -------------------- ##
   2633 ## Main body of script. ##
   2634 ## -------------------- ##
   2635 
   2636 ac_ext=c
   2637 ac_cpp='$CPP $CPPFLAGS'
   2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2641 
   2642 
   2643 
   2644 ac_config_headers="$ac_config_headers config.h"
   2645 
   2646 
   2647 
   2648 # Initialize Automake
   2649 am__api_version='1.16'
   2650 
   2651 
   2652 
   2653   # Find a good install program.  We prefer a C program (faster),
   2654 # so one script is as good as another.  But avoid the broken or
   2655 # incompatible versions:
   2656 # SysV /etc/install, /usr/sbin/install
   2657 # SunOS /usr/etc/install
   2658 # IRIX /sbin/install
   2659 # AIX /bin/install
   2660 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2664 # OS/2's system install, which has a completely different semantic
   2665 # ./install, which can be erroneously created by make from ./install.sh.
   2666 # Reject install programs that cannot install multiple files.
   2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2668 printf %s "checking for a BSD-compatible install... " >&6; }
   2669 if test -z "$INSTALL"; then
   2670 if test ${ac_cv_path_install+y}
   2671 then :
   2672   printf %s "(cached) " >&6
   2673 else case e in #(
   2674   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2675 for as_dir in $PATH
   2676 do
   2677   IFS=$as_save_IFS
   2678   case $as_dir in #(((
   2679     '') as_dir=./ ;;
   2680     */) ;;
   2681     *) as_dir=$as_dir/ ;;
   2682   esac
   2683     # Account for fact that we put trailing slashes in our PATH walk.
   2684 case $as_dir in #((
   2685   ./ | /[cC]/* | \
   2686   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2687   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2688   /usr/ucb/* ) ;;
   2689   *)
   2690     # OSF1 and SCO ODT 3.0 have their own names for install.
   2691     # Don't use installbsd from OSF since it installs stuff as root
   2692     # by default.
   2693     for ac_prog in ginstall scoinst install; do
   2694       for ac_exec_ext in '' $ac_executable_extensions; do
   2695 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2696 	  if test $ac_prog = install &&
   2697 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2698 	    # AIX install.  It has an incompatible calling convention.
   2699 	    :
   2700 	  elif test $ac_prog = install &&
   2701 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # program-specific install script used by HP pwplus--don't use.
   2703 	    :
   2704 	  else
   2705 	    rm -rf conftest.one conftest.two conftest.dir
   2706 	    echo one > conftest.one
   2707 	    echo two > conftest.two
   2708 	    mkdir conftest.dir
   2709 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2710 	      test -s conftest.one && test -s conftest.two &&
   2711 	      test -s conftest.dir/conftest.one &&
   2712 	      test -s conftest.dir/conftest.two
   2713 	    then
   2714 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2715 	      break 3
   2716 	    fi
   2717 	  fi
   2718 	fi
   2719       done
   2720     done
   2721     ;;
   2722 esac
   2723 
   2724   done
   2725 IFS=$as_save_IFS
   2726 
   2727 rm -rf conftest.one conftest.two conftest.dir
   2728  ;;
   2729 esac
   2730 fi
   2731   if test ${ac_cv_path_install+y}; then
   2732     INSTALL=$ac_cv_path_install
   2733   else
   2734     # As a last resort, use the slow shell script.  Don't cache a
   2735     # value for INSTALL within a source directory, because that will
   2736     # break other packages using the cache if that directory is
   2737     # removed, or if the value is a relative name.
   2738     INSTALL=$ac_install_sh
   2739   fi
   2740 fi
   2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2742 printf "%s\n" "$INSTALL" >&6; }
   2743 
   2744 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2745 # It thinks the first close brace ends the variable substitution.
   2746 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2747 
   2748 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2749 
   2750 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2751 
   2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2753 printf %s "checking whether build environment is sane... " >&6; }
   2754 # Reject unsafe characters in $srcdir or the absolute working directory
   2755 # name.  Accept space and tab only in the latter.
   2756 am_lf='
   2757 '
   2758 case `pwd` in
   2759   *[\\\"\#\$\&\'\`$am_lf]*)
   2760     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2761 esac
   2762 case $srcdir in
   2763   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2764     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2765 esac
   2766 
   2767 # Do 'set' in a subshell so we don't clobber the current shell's
   2768 # arguments.  Must try -L first in case configure is actually a
   2769 # symlink; some systems play weird games with the mod time of symlinks
   2770 # (eg FreeBSD returns the mod time of the symlink's containing
   2771 # directory).
   2772 if (
   2773    am_has_slept=no
   2774    for am_try in 1 2; do
   2775      echo "timestamp, slept: $am_has_slept" > conftest.file
   2776      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2777      if test "$*" = "X"; then
   2778 	# -L didn't work.
   2779 	set X `ls -t "$srcdir/configure" conftest.file`
   2780      fi
   2781      if test "$*" != "X $srcdir/configure conftest.file" \
   2782 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2783 
   2784 	# If neither matched, then we have a broken ls.  This can happen
   2785 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2786 	# broken ls alias from the environment.  This has actually
   2787 	# happened.  Such a system could not be considered "sane".
   2788 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2789   alias in your environment" "$LINENO" 5
   2790      fi
   2791      if test "$2" = conftest.file || test $am_try -eq 2; then
   2792        break
   2793      fi
   2794      # Just in case.
   2795      sleep 1
   2796      am_has_slept=yes
   2797    done
   2798    test "$2" = conftest.file
   2799    )
   2800 then
   2801    # Ok.
   2802    :
   2803 else
   2804    as_fn_error $? "newly created file is older than distributed files!
   2805 Check your system clock" "$LINENO" 5
   2806 fi
   2807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2808 printf "%s\n" "yes" >&6; }
   2809 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2810 # generated files are strictly newer.
   2811 am_sleep_pid=
   2812 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2813   ( sleep 1 ) &
   2814   am_sleep_pid=$!
   2815 fi
   2816 
   2817 rm -f conftest.file
   2818 
   2819 test "$program_prefix" != NONE &&
   2820   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2821 # Use a double $ so make ignores it.
   2822 test "$program_suffix" != NONE &&
   2823   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2824 # Double any \ or $.
   2825 # By default was 's,x,x', remove it if useless.
   2826 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2827 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2828 
   2829 
   2830 # Expand $ac_aux_dir to an absolute path.
   2831 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2832 
   2833 
   2834   if test x"${MISSING+set}" != xset; then
   2835   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2836 fi
   2837 # Use eval to expand $SHELL
   2838 if eval "$MISSING --is-lightweight"; then
   2839   am_missing_run="$MISSING "
   2840 else
   2841   am_missing_run=
   2842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2843 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2844 fi
   2845 
   2846 if test x"${install_sh+set}" != xset; then
   2847   case $am_aux_dir in
   2848   *\ * | *\	*)
   2849     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2850   *)
   2851     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2852   esac
   2853 fi
   2854 
   2855 # Installed binaries are usually stripped using 'strip' when the user
   2856 # run "make install-strip".  However 'strip' might not be the right
   2857 # tool to use in cross-compilation environments, therefore Automake
   2858 # will honor the 'STRIP' environment variable to overrule this program.
   2859 if test "$cross_compiling" != no; then
   2860   if test -n "$ac_tool_prefix"; then
   2861   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2862 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2864 printf %s "checking for $ac_word... " >&6; }
   2865 if test ${ac_cv_prog_STRIP+y}
   2866 then :
   2867   printf %s "(cached) " >&6
   2868 else case e in #(
   2869   e) if test -n "$STRIP"; then
   2870   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   case $as_dir in #(((
   2877     '') as_dir=./ ;;
   2878     */) ;;
   2879     *) as_dir=$as_dir/ ;;
   2880   esac
   2881     for ac_exec_ext in '' $ac_executable_extensions; do
   2882   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2883     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2884     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888   done
   2889 IFS=$as_save_IFS
   2890 
   2891 fi ;;
   2892 esac
   2893 fi
   2894 STRIP=$ac_cv_prog_STRIP
   2895 if test -n "$STRIP"; then
   2896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2897 printf "%s\n" "$STRIP" >&6; }
   2898 else
   2899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2900 printf "%s\n" "no" >&6; }
   2901 fi
   2902 
   2903 
   2904 fi
   2905 if test -z "$ac_cv_prog_STRIP"; then
   2906   ac_ct_STRIP=$STRIP
   2907   # Extract the first word of "strip", so it can be a program name with args.
   2908 set dummy strip; ac_word=$2
   2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2910 printf %s "checking for $ac_word... " >&6; }
   2911 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2912 then :
   2913   printf %s "(cached) " >&6
   2914 else case e in #(
   2915   e) if test -n "$ac_ct_STRIP"; then
   2916   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2917 else
   2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2919 for as_dir in $PATH
   2920 do
   2921   IFS=$as_save_IFS
   2922   case $as_dir in #(((
   2923     '') as_dir=./ ;;
   2924     */) ;;
   2925     *) as_dir=$as_dir/ ;;
   2926   esac
   2927     for ac_exec_ext in '' $ac_executable_extensions; do
   2928   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2929     ac_cv_prog_ac_ct_STRIP="strip"
   2930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2931     break 2
   2932   fi
   2933 done
   2934   done
   2935 IFS=$as_save_IFS
   2936 
   2937 fi ;;
   2938 esac
   2939 fi
   2940 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2941 if test -n "$ac_ct_STRIP"; then
   2942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2943 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2944 else
   2945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2946 printf "%s\n" "no" >&6; }
   2947 fi
   2948 
   2949   if test "x$ac_ct_STRIP" = x; then
   2950     STRIP=":"
   2951   else
   2952     case $cross_compiling:$ac_tool_warned in
   2953 yes:)
   2954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2955 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2956 ac_tool_warned=yes ;;
   2957 esac
   2958     STRIP=$ac_ct_STRIP
   2959   fi
   2960 else
   2961   STRIP="$ac_cv_prog_STRIP"
   2962 fi
   2963 
   2964 fi
   2965 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2966 
   2967 
   2968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2969 printf %s "checking for a race-free mkdir -p... " >&6; }
   2970 if test -z "$MKDIR_P"; then
   2971   if test ${ac_cv_path_mkdir+y}
   2972 then :
   2973   printf %s "(cached) " >&6
   2974 else case e in #(
   2975   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2976 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2977 do
   2978   IFS=$as_save_IFS
   2979   case $as_dir in #(((
   2980     '') as_dir=./ ;;
   2981     */) ;;
   2982     *) as_dir=$as_dir/ ;;
   2983   esac
   2984     for ac_prog in mkdir gmkdir; do
   2985 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2986 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2987 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2988 	     'mkdir ('*'coreutils) '* | \
   2989 	     *'BusyBox '* | \
   2990 	     'mkdir (fileutils) '4.1*)
   2991 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2992 	       break 3;;
   2993 	   esac
   2994 	 done
   2995        done
   2996   done
   2997 IFS=$as_save_IFS
   2998  ;;
   2999 esac
   3000 fi
   3001 
   3002   test -d ./--version && rmdir ./--version
   3003   if test ${ac_cv_path_mkdir+y}; then
   3004     MKDIR_P="$ac_cv_path_mkdir -p"
   3005   else
   3006     # As a last resort, use plain mkdir -p,
   3007     # in the hope it doesn't have the bugs of ancient mkdir.
   3008     MKDIR_P='mkdir -p'
   3009   fi
   3010 fi
   3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3012 printf "%s\n" "$MKDIR_P" >&6; }
   3013 
   3014 for ac_prog in gawk mawk nawk awk
   3015 do
   3016   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3017 set dummy $ac_prog; ac_word=$2
   3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3019 printf %s "checking for $ac_word... " >&6; }
   3020 if test ${ac_cv_prog_AWK+y}
   3021 then :
   3022   printf %s "(cached) " >&6
   3023 else case e in #(
   3024   e) if test -n "$AWK"; then
   3025   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3026 else
   3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH
   3029 do
   3030   IFS=$as_save_IFS
   3031   case $as_dir in #(((
   3032     '') as_dir=./ ;;
   3033     */) ;;
   3034     *) as_dir=$as_dir/ ;;
   3035   esac
   3036     for ac_exec_ext in '' $ac_executable_extensions; do
   3037   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3038     ac_cv_prog_AWK="$ac_prog"
   3039     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3040     break 2
   3041   fi
   3042 done
   3043   done
   3044 IFS=$as_save_IFS
   3045 
   3046 fi ;;
   3047 esac
   3048 fi
   3049 AWK=$ac_cv_prog_AWK
   3050 if test -n "$AWK"; then
   3051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3052 printf "%s\n" "$AWK" >&6; }
   3053 else
   3054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 printf "%s\n" "no" >&6; }
   3056 fi
   3057 
   3058 
   3059   test -n "$AWK" && break
   3060 done
   3061 
   3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3063 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3064 set x ${MAKE-make}
   3065 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3066 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3067 then :
   3068   printf %s "(cached) " >&6
   3069 else case e in #(
   3070   e) cat >conftest.make <<\_ACEOF
   3071 SHELL = /bin/sh
   3072 all:
   3073 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3074 _ACEOF
   3075 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3076 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3077   *@@@%%%=?*=@@@%%%*)
   3078     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3079   *)
   3080     eval ac_cv_prog_make_${ac_make}_set=no;;
   3081 esac
   3082 rm -f conftest.make ;;
   3083 esac
   3084 fi
   3085 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3087 printf "%s\n" "yes" >&6; }
   3088   SET_MAKE=
   3089 else
   3090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3091 printf "%s\n" "no" >&6; }
   3092   SET_MAKE="MAKE=${MAKE-make}"
   3093 fi
   3094 
   3095 rm -rf .tst 2>/dev/null
   3096 mkdir .tst 2>/dev/null
   3097 if test -d .tst; then
   3098   am__leading_dot=.
   3099 else
   3100   am__leading_dot=_
   3101 fi
   3102 rmdir .tst 2>/dev/null
   3103 
   3104 # Check whether --enable-silent-rules was given.
   3105 if test ${enable_silent_rules+y}
   3106 then :
   3107   enableval=$enable_silent_rules;
   3108 fi
   3109 
   3110 case $enable_silent_rules in # (((
   3111   yes) AM_DEFAULT_VERBOSITY=0;;
   3112    no) AM_DEFAULT_VERBOSITY=1;;
   3113     *) AM_DEFAULT_VERBOSITY=1;;
   3114 esac
   3115 am_make=${MAKE-make}
   3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3117 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3118 if test ${am_cv_make_support_nested_variables+y}
   3119 then :
   3120   printf %s "(cached) " >&6
   3121 else case e in #(
   3122   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3123 BAR0=false
   3124 BAR1=true
   3125 V=1
   3126 am__doit:
   3127 	@$(TRUE)
   3128 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3129   am_cv_make_support_nested_variables=yes
   3130 else
   3131   am_cv_make_support_nested_variables=no
   3132 fi ;;
   3133 esac
   3134 fi
   3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3136 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3137 if test $am_cv_make_support_nested_variables = yes; then
   3138     AM_V='$(V)'
   3139   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3140 else
   3141   AM_V=$AM_DEFAULT_VERBOSITY
   3142   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3143 fi
   3144 AM_BACKSLASH='\'
   3145 
   3146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3147   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3148   # is not polluted with repeated "-I."
   3149   am__isrc=' -I$(srcdir)'
   3150   # test to see if srcdir already configured
   3151   if test -f $srcdir/config.status; then
   3152     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3153   fi
   3154 fi
   3155 
   3156 # test whether we have cygpath
   3157 if test -z "$CYGPATH_W"; then
   3158   if (cygpath --version) >/dev/null 2>/dev/null; then
   3159     CYGPATH_W='cygpath -w'
   3160   else
   3161     CYGPATH_W=echo
   3162   fi
   3163 fi
   3164 
   3165 
   3166 # Define the identity of the package.
   3167  PACKAGE='xf86-video-vboxvideo'
   3168  VERSION='1.0.1'
   3169 
   3170 
   3171 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3172 
   3173 
   3174 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3175 
   3176 # Some tools Automake needs.
   3177 
   3178 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3179 
   3180 
   3181 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3182 
   3183 
   3184 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3185 
   3186 
   3187 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3188 
   3189 
   3190 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3191 
   3192 # For better backward compatibility.  To be removed once Automake 1.9.x
   3193 # dies out for good.  For more background, see:
   3194 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3195 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3196 mkdir_p='$(MKDIR_P)'
   3197 
   3198 # We need awk for the "check" target (and possibly the TAP driver).  The
   3199 # system "awk" is bad on some platforms.
   3200 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3201 # in the wild :-(  We should find a proper way to deprecate it ...
   3202 AMTAR='$${TAR-tar}'
   3203 
   3204 
   3205 # We'll loop over all known methods to create a tar archive until one works.
   3206 _am_tools='gnutar  pax cpio none'
   3207 
   3208 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3209 
   3210 
   3211 
   3212 
   3213 
   3214 # Variables for tags utilities; see am/tags.am
   3215 if test -z "$CTAGS"; then
   3216   CTAGS=ctags
   3217 fi
   3218 
   3219 if test -z "$ETAGS"; then
   3220   ETAGS=etags
   3221 fi
   3222 
   3223 if test -z "$CSCOPE"; then
   3224   CSCOPE=cscope
   3225 fi
   3226 
   3227 
   3228 
   3229 # POSIX will say in a future version that running "rm -f" with no argument
   3230 # is OK; and we want to be able to make that assumption in our Makefile
   3231 # recipes.  So use an aggressive probe to check that the usage we want is
   3232 # actually supported "in the wild" to an acceptable degree.
   3233 # See automake bug#10828.
   3234 # To make any issue more visible, cause the running configure to be aborted
   3235 # by default if the 'rm' program in use doesn't match our expectations; the
   3236 # user can still override this though.
   3237 if rm -f && rm -fr && rm -rf; then : OK; else
   3238   cat >&2 <<'END'
   3239 Oops!
   3240 
   3241 Your 'rm' program seems unable to run without file operands specified
   3242 on the command line, even when the '-f' option is present.  This is contrary
   3243 to the behaviour of most rm programs out there, and not conforming with
   3244 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3245 
   3246 Please tell bug-automake@gnu.org about your system, including the value
   3247 of your $PATH and any error possibly output before this message.  This
   3248 can help us improve future automake versions.
   3249 
   3250 END
   3251   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3252     echo 'Configuration will proceed anyway, since you have set the' >&2
   3253     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3254     echo >&2
   3255   else
   3256     cat >&2 <<'END'
   3257 Aborting the configuration process, to ensure you take notice of the issue.
   3258 
   3259 You can download and install GNU coreutils to get an 'rm' implementation
   3260 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3261 
   3262 If you want to complete the configuration process using your problematic
   3263 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3264 to "yes", and re-run configure.
   3265 
   3266 END
   3267     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3268   fi
   3269 fi
   3270 
   3271 
   3272 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3273 
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 DEPDIR="${am__leading_dot}deps"
   3294 
   3295 ac_config_commands="$ac_config_commands depfiles"
   3296 
   3297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3298 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3299 cat > confinc.mk << 'END'
   3300 am__doit:
   3301 	@echo this is the am__doit target >confinc.out
   3302 .PHONY: am__doit
   3303 END
   3304 am__include="#"
   3305 am__quote=
   3306 # BSD make does it like this.
   3307 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3308 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3309 echo 'include confinc.mk # ignored' > confmf.GNU
   3310 _am_result=no
   3311 for s in GNU BSD; do
   3312   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3313    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3314    ac_status=$?
   3315    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3316    (exit $ac_status); }
   3317   case $?:`cat confinc.out 2>/dev/null` in #(
   3318   '0:this is the am__doit target') :
   3319     case $s in #(
   3320   BSD) :
   3321     am__include='.include' am__quote='"' ;; #(
   3322   *) :
   3323     am__include='include' am__quote='' ;;
   3324 esac ;; #(
   3325   *) :
   3326      ;;
   3327 esac
   3328   if test "$am__include" != "#"; then
   3329     _am_result="yes ($s style)"
   3330     break
   3331   fi
   3332 done
   3333 rm -f confinc.* confmf.*
   3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3335 printf "%s\n" "${_am_result}" >&6; }
   3336 
   3337 # Check whether --enable-dependency-tracking was given.
   3338 if test ${enable_dependency_tracking+y}
   3339 then :
   3340   enableval=$enable_dependency_tracking;
   3341 fi
   3342 
   3343 if test "x$enable_dependency_tracking" != xno; then
   3344   am_depcomp="$ac_aux_dir/depcomp"
   3345   AMDEPBACKSLASH='\'
   3346   am__nodep='_no'
   3347 fi
   3348  if test "x$enable_dependency_tracking" != xno; then
   3349   AMDEP_TRUE=
   3350   AMDEP_FALSE='#'
   3351 else
   3352   AMDEP_TRUE='#'
   3353   AMDEP_FALSE=
   3354 fi
   3355 
   3356 
   3357 ac_ext=c
   3358 ac_cpp='$CPP $CPPFLAGS'
   3359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3362 if test -n "$ac_tool_prefix"; then
   3363   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3364 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3366 printf %s "checking for $ac_word... " >&6; }
   3367 if test ${ac_cv_prog_CC+y}
   3368 then :
   3369   printf %s "(cached) " >&6
   3370 else case e in #(
   3371   e) if test -n "$CC"; then
   3372   ac_cv_prog_CC="$CC" # Let the user override the test.
   3373 else
   3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3375 for as_dir in $PATH
   3376 do
   3377   IFS=$as_save_IFS
   3378   case $as_dir in #(((
   3379     '') as_dir=./ ;;
   3380     */) ;;
   3381     *) as_dir=$as_dir/ ;;
   3382   esac
   3383     for ac_exec_ext in '' $ac_executable_extensions; do
   3384   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3385     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3386     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3387     break 2
   3388   fi
   3389 done
   3390   done
   3391 IFS=$as_save_IFS
   3392 
   3393 fi ;;
   3394 esac
   3395 fi
   3396 CC=$ac_cv_prog_CC
   3397 if test -n "$CC"; then
   3398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3399 printf "%s\n" "$CC" >&6; }
   3400 else
   3401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3402 printf "%s\n" "no" >&6; }
   3403 fi
   3404 
   3405 
   3406 fi
   3407 if test -z "$ac_cv_prog_CC"; then
   3408   ac_ct_CC=$CC
   3409   # Extract the first word of "gcc", so it can be a program name with args.
   3410 set dummy gcc; ac_word=$2
   3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3412 printf %s "checking for $ac_word... " >&6; }
   3413 if test ${ac_cv_prog_ac_ct_CC+y}
   3414 then :
   3415   printf %s "(cached) " >&6
   3416 else case e in #(
   3417   e) if test -n "$ac_ct_CC"; then
   3418   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3419 else
   3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3421 for as_dir in $PATH
   3422 do
   3423   IFS=$as_save_IFS
   3424   case $as_dir in #(((
   3425     '') as_dir=./ ;;
   3426     */) ;;
   3427     *) as_dir=$as_dir/ ;;
   3428   esac
   3429     for ac_exec_ext in '' $ac_executable_extensions; do
   3430   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3431     ac_cv_prog_ac_ct_CC="gcc"
   3432     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3433     break 2
   3434   fi
   3435 done
   3436   done
   3437 IFS=$as_save_IFS
   3438 
   3439 fi ;;
   3440 esac
   3441 fi
   3442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3443 if test -n "$ac_ct_CC"; then
   3444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3445 printf "%s\n" "$ac_ct_CC" >&6; }
   3446 else
   3447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3448 printf "%s\n" "no" >&6; }
   3449 fi
   3450 
   3451   if test "x$ac_ct_CC" = x; then
   3452     CC=""
   3453   else
   3454     case $cross_compiling:$ac_tool_warned in
   3455 yes:)
   3456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3457 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3458 ac_tool_warned=yes ;;
   3459 esac
   3460     CC=$ac_ct_CC
   3461   fi
   3462 else
   3463   CC="$ac_cv_prog_CC"
   3464 fi
   3465 
   3466 if test -z "$CC"; then
   3467           if test -n "$ac_tool_prefix"; then
   3468     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3469 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3471 printf %s "checking for $ac_word... " >&6; }
   3472 if test ${ac_cv_prog_CC+y}
   3473 then :
   3474   printf %s "(cached) " >&6
   3475 else case e in #(
   3476   e) if test -n "$CC"; then
   3477   ac_cv_prog_CC="$CC" # Let the user override the test.
   3478 else
   3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3480 for as_dir in $PATH
   3481 do
   3482   IFS=$as_save_IFS
   3483   case $as_dir in #(((
   3484     '') as_dir=./ ;;
   3485     */) ;;
   3486     *) as_dir=$as_dir/ ;;
   3487   esac
   3488     for ac_exec_ext in '' $ac_executable_extensions; do
   3489   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3490     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3491     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3492     break 2
   3493   fi
   3494 done
   3495   done
   3496 IFS=$as_save_IFS
   3497 
   3498 fi ;;
   3499 esac
   3500 fi
   3501 CC=$ac_cv_prog_CC
   3502 if test -n "$CC"; then
   3503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3504 printf "%s\n" "$CC" >&6; }
   3505 else
   3506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3507 printf "%s\n" "no" >&6; }
   3508 fi
   3509 
   3510 
   3511   fi
   3512 fi
   3513 if test -z "$CC"; then
   3514   # Extract the first word of "cc", so it can be a program name with args.
   3515 set dummy cc; ac_word=$2
   3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3517 printf %s "checking for $ac_word... " >&6; }
   3518 if test ${ac_cv_prog_CC+y}
   3519 then :
   3520   printf %s "(cached) " >&6
   3521 else case e in #(
   3522   e) if test -n "$CC"; then
   3523   ac_cv_prog_CC="$CC" # Let the user override the test.
   3524 else
   3525   ac_prog_rejected=no
   3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3527 for as_dir in $PATH
   3528 do
   3529   IFS=$as_save_IFS
   3530   case $as_dir in #(((
   3531     '') as_dir=./ ;;
   3532     */) ;;
   3533     *) as_dir=$as_dir/ ;;
   3534   esac
   3535     for ac_exec_ext in '' $ac_executable_extensions; do
   3536   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3537     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3538        ac_prog_rejected=yes
   3539        continue
   3540      fi
   3541     ac_cv_prog_CC="cc"
   3542     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3543     break 2
   3544   fi
   3545 done
   3546   done
   3547 IFS=$as_save_IFS
   3548 
   3549 if test $ac_prog_rejected = yes; then
   3550   # We found a bogon in the path, so make sure we never use it.
   3551   set dummy $ac_cv_prog_CC
   3552   shift
   3553   if test $# != 0; then
   3554     # We chose a different compiler from the bogus one.
   3555     # However, it has the same basename, so the bogon will be chosen
   3556     # first if we set CC to just the basename; use the full file name.
   3557     shift
   3558     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3559   fi
   3560 fi
   3561 fi ;;
   3562 esac
   3563 fi
   3564 CC=$ac_cv_prog_CC
   3565 if test -n "$CC"; then
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3567 printf "%s\n" "$CC" >&6; }
   3568 else
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3570 printf "%s\n" "no" >&6; }
   3571 fi
   3572 
   3573 
   3574 fi
   3575 if test -z "$CC"; then
   3576   if test -n "$ac_tool_prefix"; then
   3577   for ac_prog in cl.exe
   3578   do
   3579     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3582 printf %s "checking for $ac_word... " >&6; }
   3583 if test ${ac_cv_prog_CC+y}
   3584 then :
   3585   printf %s "(cached) " >&6
   3586 else case e in #(
   3587   e) if test -n "$CC"; then
   3588   ac_cv_prog_CC="$CC" # Let the user override the test.
   3589 else
   3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3591 for as_dir in $PATH
   3592 do
   3593   IFS=$as_save_IFS
   3594   case $as_dir in #(((
   3595     '') as_dir=./ ;;
   3596     */) ;;
   3597     *) as_dir=$as_dir/ ;;
   3598   esac
   3599     for ac_exec_ext in '' $ac_executable_extensions; do
   3600   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3601     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3602     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3603     break 2
   3604   fi
   3605 done
   3606   done
   3607 IFS=$as_save_IFS
   3608 
   3609 fi ;;
   3610 esac
   3611 fi
   3612 CC=$ac_cv_prog_CC
   3613 if test -n "$CC"; then
   3614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3615 printf "%s\n" "$CC" >&6; }
   3616 else
   3617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3618 printf "%s\n" "no" >&6; }
   3619 fi
   3620 
   3621 
   3622     test -n "$CC" && break
   3623   done
   3624 fi
   3625 if test -z "$CC"; then
   3626   ac_ct_CC=$CC
   3627   for ac_prog in cl.exe
   3628 do
   3629   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3630 set dummy $ac_prog; ac_word=$2
   3631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3632 printf %s "checking for $ac_word... " >&6; }
   3633 if test ${ac_cv_prog_ac_ct_CC+y}
   3634 then :
   3635   printf %s "(cached) " >&6
   3636 else case e in #(
   3637   e) if test -n "$ac_ct_CC"; then
   3638   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3639 else
   3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3641 for as_dir in $PATH
   3642 do
   3643   IFS=$as_save_IFS
   3644   case $as_dir in #(((
   3645     '') as_dir=./ ;;
   3646     */) ;;
   3647     *) as_dir=$as_dir/ ;;
   3648   esac
   3649     for ac_exec_ext in '' $ac_executable_extensions; do
   3650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3651     ac_cv_prog_ac_ct_CC="$ac_prog"
   3652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3653     break 2
   3654   fi
   3655 done
   3656   done
   3657 IFS=$as_save_IFS
   3658 
   3659 fi ;;
   3660 esac
   3661 fi
   3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3663 if test -n "$ac_ct_CC"; then
   3664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3665 printf "%s\n" "$ac_ct_CC" >&6; }
   3666 else
   3667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3668 printf "%s\n" "no" >&6; }
   3669 fi
   3670 
   3671 
   3672   test -n "$ac_ct_CC" && break
   3673 done
   3674 
   3675   if test "x$ac_ct_CC" = x; then
   3676     CC=""
   3677   else
   3678     case $cross_compiling:$ac_tool_warned in
   3679 yes:)
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3681 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3682 ac_tool_warned=yes ;;
   3683 esac
   3684     CC=$ac_ct_CC
   3685   fi
   3686 fi
   3687 
   3688 fi
   3689 if test -z "$CC"; then
   3690   if test -n "$ac_tool_prefix"; then
   3691   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3692 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3694 printf %s "checking for $ac_word... " >&6; }
   3695 if test ${ac_cv_prog_CC+y}
   3696 then :
   3697   printf %s "(cached) " >&6
   3698 else case e in #(
   3699   e) if test -n "$CC"; then
   3700   ac_cv_prog_CC="$CC" # Let the user override the test.
   3701 else
   3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3703 for as_dir in $PATH
   3704 do
   3705   IFS=$as_save_IFS
   3706   case $as_dir in #(((
   3707     '') as_dir=./ ;;
   3708     */) ;;
   3709     *) as_dir=$as_dir/ ;;
   3710   esac
   3711     for ac_exec_ext in '' $ac_executable_extensions; do
   3712   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3713     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3714     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3715     break 2
   3716   fi
   3717 done
   3718   done
   3719 IFS=$as_save_IFS
   3720 
   3721 fi ;;
   3722 esac
   3723 fi
   3724 CC=$ac_cv_prog_CC
   3725 if test -n "$CC"; then
   3726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3727 printf "%s\n" "$CC" >&6; }
   3728 else
   3729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3730 printf "%s\n" "no" >&6; }
   3731 fi
   3732 
   3733 
   3734 fi
   3735 if test -z "$ac_cv_prog_CC"; then
   3736   ac_ct_CC=$CC
   3737   # Extract the first word of "clang", so it can be a program name with args.
   3738 set dummy clang; ac_word=$2
   3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3740 printf %s "checking for $ac_word... " >&6; }
   3741 if test ${ac_cv_prog_ac_ct_CC+y}
   3742 then :
   3743   printf %s "(cached) " >&6
   3744 else case e in #(
   3745   e) if test -n "$ac_ct_CC"; then
   3746   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3747 else
   3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3749 for as_dir in $PATH
   3750 do
   3751   IFS=$as_save_IFS
   3752   case $as_dir in #(((
   3753     '') as_dir=./ ;;
   3754     */) ;;
   3755     *) as_dir=$as_dir/ ;;
   3756   esac
   3757     for ac_exec_ext in '' $ac_executable_extensions; do
   3758   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3759     ac_cv_prog_ac_ct_CC="clang"
   3760     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3761     break 2
   3762   fi
   3763 done
   3764   done
   3765 IFS=$as_save_IFS
   3766 
   3767 fi ;;
   3768 esac
   3769 fi
   3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3771 if test -n "$ac_ct_CC"; then
   3772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3773 printf "%s\n" "$ac_ct_CC" >&6; }
   3774 else
   3775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3776 printf "%s\n" "no" >&6; }
   3777 fi
   3778 
   3779   if test "x$ac_ct_CC" = x; then
   3780     CC=""
   3781   else
   3782     case $cross_compiling:$ac_tool_warned in
   3783 yes:)
   3784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3785 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3786 ac_tool_warned=yes ;;
   3787 esac
   3788     CC=$ac_ct_CC
   3789   fi
   3790 else
   3791   CC="$ac_cv_prog_CC"
   3792 fi
   3793 
   3794 fi
   3795 
   3796 
   3797 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3798 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3799 as_fn_error $? "no acceptable C compiler found in \$PATH
   3800 See 'config.log' for more details" "$LINENO" 5; }
   3801 
   3802 # Provide some information about the compiler.
   3803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3804 set X $ac_compile
   3805 ac_compiler=$2
   3806 for ac_option in --version -v -V -qversion -version; do
   3807   { { ac_try="$ac_compiler $ac_option >&5"
   3808 case "(($ac_try" in
   3809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3810   *) ac_try_echo=$ac_try;;
   3811 esac
   3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3813 printf "%s\n" "$ac_try_echo"; } >&5
   3814   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3815   ac_status=$?
   3816   if test -s conftest.err; then
   3817     sed '10a\
   3818 ... rest of stderr output deleted ...
   3819          10q' conftest.err >conftest.er1
   3820     cat conftest.er1 >&5
   3821   fi
   3822   rm -f conftest.er1 conftest.err
   3823   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3824   test $ac_status = 0; }
   3825 done
   3826 
   3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3828 /* end confdefs.h.  */
   3829 
   3830 int
   3831 main (void)
   3832 {
   3833 
   3834   ;
   3835   return 0;
   3836 }
   3837 _ACEOF
   3838 ac_clean_files_save=$ac_clean_files
   3839 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3840 # Try to create an executable without -o first, disregard a.out.
   3841 # It will help us diagnose broken compilers, and finding out an intuition
   3842 # of exeext.
   3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3844 printf %s "checking whether the C compiler works... " >&6; }
   3845 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3846 
   3847 # The possible output files:
   3848 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3849 
   3850 ac_rmfiles=
   3851 for ac_file in $ac_files
   3852 do
   3853   case $ac_file in
   3854     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3855     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3856   esac
   3857 done
   3858 rm -f $ac_rmfiles
   3859 
   3860 if { { ac_try="$ac_link_default"
   3861 case "(($ac_try" in
   3862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3863   *) ac_try_echo=$ac_try;;
   3864 esac
   3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3866 printf "%s\n" "$ac_try_echo"; } >&5
   3867   (eval "$ac_link_default") 2>&5
   3868   ac_status=$?
   3869   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3870   test $ac_status = 0; }
   3871 then :
   3872   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3873 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3874 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3875 # so that the user can short-circuit this test for compilers unknown to
   3876 # Autoconf.
   3877 for ac_file in $ac_files ''
   3878 do
   3879   test -f "$ac_file" || continue
   3880   case $ac_file in
   3881     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3882 	;;
   3883     [ab].out )
   3884 	# We found the default executable, but exeext='' is most
   3885 	# certainly right.
   3886 	break;;
   3887     *.* )
   3888 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3889 	then :; else
   3890 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3891 	fi
   3892 	# We set ac_cv_exeext here because the later test for it is not
   3893 	# safe: cross compilers may not add the suffix if given an '-o'
   3894 	# argument, so we may need to know it at that point already.
   3895 	# Even if this section looks crufty: it has the advantage of
   3896 	# actually working.
   3897 	break;;
   3898     * )
   3899 	break;;
   3900   esac
   3901 done
   3902 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3903 
   3904 else case e in #(
   3905   e) ac_file='' ;;
   3906 esac
   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 case e in #(
   3920   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3921 printf "%s\n" "yes" >&6; } ;;
   3922 esac
   3923 fi
   3924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3925 printf %s "checking for C compiler default output file name... " >&6; }
   3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3927 printf "%s\n" "$ac_file" >&6; }
   3928 ac_exeext=$ac_cv_exeext
   3929 
   3930 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3931 ac_clean_files=$ac_clean_files_save
   3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3933 printf %s "checking for suffix of executables... " >&6; }
   3934 if { { ac_try="$ac_link"
   3935 case "(($ac_try" in
   3936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3937   *) ac_try_echo=$ac_try;;
   3938 esac
   3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3940 printf "%s\n" "$ac_try_echo"; } >&5
   3941   (eval "$ac_link") 2>&5
   3942   ac_status=$?
   3943   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3944   test $ac_status = 0; }
   3945 then :
   3946   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3947 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3948 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3949 # 'rm'.
   3950 for ac_file in conftest.exe conftest conftest.*; do
   3951   test -f "$ac_file" || continue
   3952   case $ac_file in
   3953     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3954     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3955 	  break;;
   3956     * ) break;;
   3957   esac
   3958 done
   3959 else case e in #(
   3960   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3961 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3962 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3963 See 'config.log' for more details" "$LINENO" 5; } ;;
   3964 esac
   3965 fi
   3966 rm -f conftest conftest$ac_cv_exeext
   3967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3968 printf "%s\n" "$ac_cv_exeext" >&6; }
   3969 
   3970 rm -f conftest.$ac_ext
   3971 EXEEXT=$ac_cv_exeext
   3972 ac_exeext=$EXEEXT
   3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3974 /* end confdefs.h.  */
   3975 #include <stdio.h>
   3976 int
   3977 main (void)
   3978 {
   3979 FILE *f = fopen ("conftest.out", "w");
   3980  if (!f)
   3981   return 1;
   3982  return ferror (f) || fclose (f) != 0;
   3983 
   3984   ;
   3985   return 0;
   3986 }
   3987 _ACEOF
   3988 ac_clean_files="$ac_clean_files conftest.out"
   3989 # Check that the compiler produces executables we can run.  If not, either
   3990 # the compiler is broken, or we cross compile.
   3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3992 printf %s "checking whether we are cross compiling... " >&6; }
   3993 if test "$cross_compiling" != yes; then
   3994   { { ac_try="$ac_link"
   3995 case "(($ac_try" in
   3996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3997   *) ac_try_echo=$ac_try;;
   3998 esac
   3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4000 printf "%s\n" "$ac_try_echo"; } >&5
   4001   (eval "$ac_link") 2>&5
   4002   ac_status=$?
   4003   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4004   test $ac_status = 0; }
   4005   if { ac_try='./conftest$ac_cv_exeext'
   4006   { { case "(($ac_try" in
   4007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4008   *) ac_try_echo=$ac_try;;
   4009 esac
   4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4011 printf "%s\n" "$ac_try_echo"; } >&5
   4012   (eval "$ac_try") 2>&5
   4013   ac_status=$?
   4014   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4015   test $ac_status = 0; }; }; then
   4016     cross_compiling=no
   4017   else
   4018     if test "$cross_compiling" = maybe; then
   4019 	cross_compiling=yes
   4020     else
   4021 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4022 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4023 as_fn_error 77 "cannot run C compiled programs.
   4024 If you meant to cross compile, use '--host'.
   4025 See 'config.log' for more details" "$LINENO" 5; }
   4026     fi
   4027   fi
   4028 fi
   4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4030 printf "%s\n" "$cross_compiling" >&6; }
   4031 
   4032 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4033   conftest.o conftest.obj conftest.out
   4034 ac_clean_files=$ac_clean_files_save
   4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4036 printf %s "checking for suffix of object files... " >&6; }
   4037 if test ${ac_cv_objext+y}
   4038 then :
   4039   printf %s "(cached) " >&6
   4040 else case e in #(
   4041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4042 /* end confdefs.h.  */
   4043 
   4044 int
   4045 main (void)
   4046 {
   4047 
   4048   ;
   4049   return 0;
   4050 }
   4051 _ACEOF
   4052 rm -f conftest.o conftest.obj
   4053 if { { ac_try="$ac_compile"
   4054 case "(($ac_try" in
   4055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4056   *) ac_try_echo=$ac_try;;
   4057 esac
   4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4059 printf "%s\n" "$ac_try_echo"; } >&5
   4060   (eval "$ac_compile") 2>&5
   4061   ac_status=$?
   4062   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4063   test $ac_status = 0; }
   4064 then :
   4065   for ac_file in conftest.o conftest.obj conftest.*; do
   4066   test -f "$ac_file" || continue;
   4067   case $ac_file in
   4068     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4069     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4070        break;;
   4071   esac
   4072 done
   4073 else case e in #(
   4074   e) printf "%s\n" "$as_me: failed program was:" >&5
   4075 sed 's/^/| /' conftest.$ac_ext >&5
   4076 
   4077 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4078 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4079 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4080 See 'config.log' for more details" "$LINENO" 5; } ;;
   4081 esac
   4082 fi
   4083 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4084 esac
   4085 fi
   4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4087 printf "%s\n" "$ac_cv_objext" >&6; }
   4088 OBJEXT=$ac_cv_objext
   4089 ac_objext=$OBJEXT
   4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4091 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4092 if test ${ac_cv_c_compiler_gnu+y}
   4093 then :
   4094   printf %s "(cached) " >&6
   4095 else case e in #(
   4096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4097 /* end confdefs.h.  */
   4098 
   4099 int
   4100 main (void)
   4101 {
   4102 #ifndef __GNUC__
   4103        choke me
   4104 #endif
   4105 
   4106   ;
   4107   return 0;
   4108 }
   4109 _ACEOF
   4110 if ac_fn_c_try_compile "$LINENO"
   4111 then :
   4112   ac_compiler_gnu=yes
   4113 else case e in #(
   4114   e) ac_compiler_gnu=no ;;
   4115 esac
   4116 fi
   4117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4119  ;;
   4120 esac
   4121 fi
   4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4123 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4125 
   4126 if test $ac_compiler_gnu = yes; then
   4127   GCC=yes
   4128 else
   4129   GCC=
   4130 fi
   4131 ac_test_CFLAGS=${CFLAGS+y}
   4132 ac_save_CFLAGS=$CFLAGS
   4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4134 printf %s "checking whether $CC accepts -g... " >&6; }
   4135 if test ${ac_cv_prog_cc_g+y}
   4136 then :
   4137   printf %s "(cached) " >&6
   4138 else case e in #(
   4139   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4140    ac_c_werror_flag=yes
   4141    ac_cv_prog_cc_g=no
   4142    CFLAGS="-g"
   4143    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4144 /* end confdefs.h.  */
   4145 
   4146 int
   4147 main (void)
   4148 {
   4149 
   4150   ;
   4151   return 0;
   4152 }
   4153 _ACEOF
   4154 if ac_fn_c_try_compile "$LINENO"
   4155 then :
   4156   ac_cv_prog_cc_g=yes
   4157 else case e in #(
   4158   e) CFLAGS=""
   4159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 
   4162 int
   4163 main (void)
   4164 {
   4165 
   4166   ;
   4167   return 0;
   4168 }
   4169 _ACEOF
   4170 if ac_fn_c_try_compile "$LINENO"
   4171 then :
   4172 
   4173 else case e in #(
   4174   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4175 	 CFLAGS="-g"
   4176 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4177 /* end confdefs.h.  */
   4178 
   4179 int
   4180 main (void)
   4181 {
   4182 
   4183   ;
   4184   return 0;
   4185 }
   4186 _ACEOF
   4187 if ac_fn_c_try_compile "$LINENO"
   4188 then :
   4189   ac_cv_prog_cc_g=yes
   4190 fi
   4191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4192 esac
   4193 fi
   4194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4195 esac
   4196 fi
   4197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4198    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4199 esac
   4200 fi
   4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4202 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4203 if test $ac_test_CFLAGS; then
   4204   CFLAGS=$ac_save_CFLAGS
   4205 elif test $ac_cv_prog_cc_g = yes; then
   4206   if test "$GCC" = yes; then
   4207     CFLAGS="-g -O2"
   4208   else
   4209     CFLAGS="-g"
   4210   fi
   4211 else
   4212   if test "$GCC" = yes; then
   4213     CFLAGS="-O2"
   4214   else
   4215     CFLAGS=
   4216   fi
   4217 fi
   4218 ac_prog_cc_stdc=no
   4219 if test x$ac_prog_cc_stdc = xno
   4220 then :
   4221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4222 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4223 if test ${ac_cv_prog_cc_c11+y}
   4224 then :
   4225   printf %s "(cached) " >&6
   4226 else case e in #(
   4227   e) ac_cv_prog_cc_c11=no
   4228 ac_save_CC=$CC
   4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4230 /* end confdefs.h.  */
   4231 $ac_c_conftest_c11_program
   4232 _ACEOF
   4233 for ac_arg in '' -std=gnu11
   4234 do
   4235   CC="$ac_save_CC $ac_arg"
   4236   if ac_fn_c_try_compile "$LINENO"
   4237 then :
   4238   ac_cv_prog_cc_c11=$ac_arg
   4239 fi
   4240 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4241   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4242 done
   4243 rm -f conftest.$ac_ext
   4244 CC=$ac_save_CC ;;
   4245 esac
   4246 fi
   4247 
   4248 if test "x$ac_cv_prog_cc_c11" = xno
   4249 then :
   4250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4251 printf "%s\n" "unsupported" >&6; }
   4252 else case e in #(
   4253   e) if test "x$ac_cv_prog_cc_c11" = x
   4254 then :
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4256 printf "%s\n" "none needed" >&6; }
   4257 else case e in #(
   4258   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4259 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4260      CC="$CC $ac_cv_prog_cc_c11" ;;
   4261 esac
   4262 fi
   4263   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4264   ac_prog_cc_stdc=c11 ;;
   4265 esac
   4266 fi
   4267 fi
   4268 if test x$ac_prog_cc_stdc = xno
   4269 then :
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4271 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4272 if test ${ac_cv_prog_cc_c99+y}
   4273 then :
   4274   printf %s "(cached) " >&6
   4275 else case e in #(
   4276   e) ac_cv_prog_cc_c99=no
   4277 ac_save_CC=$CC
   4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 $ac_c_conftest_c99_program
   4281 _ACEOF
   4282 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4283 do
   4284   CC="$ac_save_CC $ac_arg"
   4285   if ac_fn_c_try_compile "$LINENO"
   4286 then :
   4287   ac_cv_prog_cc_c99=$ac_arg
   4288 fi
   4289 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4290   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4291 done
   4292 rm -f conftest.$ac_ext
   4293 CC=$ac_save_CC ;;
   4294 esac
   4295 fi
   4296 
   4297 if test "x$ac_cv_prog_cc_c99" = xno
   4298 then :
   4299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4300 printf "%s\n" "unsupported" >&6; }
   4301 else case e in #(
   4302   e) if test "x$ac_cv_prog_cc_c99" = x
   4303 then :
   4304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4305 printf "%s\n" "none needed" >&6; }
   4306 else case e in #(
   4307   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4308 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4309      CC="$CC $ac_cv_prog_cc_c99" ;;
   4310 esac
   4311 fi
   4312   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4313   ac_prog_cc_stdc=c99 ;;
   4314 esac
   4315 fi
   4316 fi
   4317 if test x$ac_prog_cc_stdc = xno
   4318 then :
   4319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4320 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4321 if test ${ac_cv_prog_cc_c89+y}
   4322 then :
   4323   printf %s "(cached) " >&6
   4324 else case e in #(
   4325   e) ac_cv_prog_cc_c89=no
   4326 ac_save_CC=$CC
   4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4328 /* end confdefs.h.  */
   4329 $ac_c_conftest_c89_program
   4330 _ACEOF
   4331 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4332 do
   4333   CC="$ac_save_CC $ac_arg"
   4334   if ac_fn_c_try_compile "$LINENO"
   4335 then :
   4336   ac_cv_prog_cc_c89=$ac_arg
   4337 fi
   4338 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4339   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4340 done
   4341 rm -f conftest.$ac_ext
   4342 CC=$ac_save_CC ;;
   4343 esac
   4344 fi
   4345 
   4346 if test "x$ac_cv_prog_cc_c89" = xno
   4347 then :
   4348   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4349 printf "%s\n" "unsupported" >&6; }
   4350 else case e in #(
   4351   e) if test "x$ac_cv_prog_cc_c89" = x
   4352 then :
   4353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4354 printf "%s\n" "none needed" >&6; }
   4355 else case e in #(
   4356   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4357 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4358      CC="$CC $ac_cv_prog_cc_c89" ;;
   4359 esac
   4360 fi
   4361   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4362   ac_prog_cc_stdc=c89 ;;
   4363 esac
   4364 fi
   4365 fi
   4366 
   4367 ac_ext=c
   4368 ac_cpp='$CPP $CPPFLAGS'
   4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4372 
   4373 
   4374   ac_ext=c
   4375 ac_cpp='$CPP $CPPFLAGS'
   4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4380 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4381 if test ${am_cv_prog_cc_c_o+y}
   4382 then :
   4383   printf %s "(cached) " >&6
   4384 else case e in #(
   4385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4386 /* end confdefs.h.  */
   4387 
   4388 int
   4389 main (void)
   4390 {
   4391 
   4392   ;
   4393   return 0;
   4394 }
   4395 _ACEOF
   4396   # Make sure it works both with $CC and with simple cc.
   4397   # Following AC_PROG_CC_C_O, we do the test twice because some
   4398   # compilers refuse to overwrite an existing .o file with -o,
   4399   # though they will create one.
   4400   am_cv_prog_cc_c_o=yes
   4401   for am_i in 1 2; do
   4402     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4403    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4404    ac_status=$?
   4405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4406    (exit $ac_status); } \
   4407          && test -f conftest2.$ac_objext; then
   4408       : OK
   4409     else
   4410       am_cv_prog_cc_c_o=no
   4411       break
   4412     fi
   4413   done
   4414   rm -f core conftest*
   4415   unset am_i ;;
   4416 esac
   4417 fi
   4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4419 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4420 if test "$am_cv_prog_cc_c_o" != yes; then
   4421    # Losing compiler, so override with the script.
   4422    # FIXME: It is wrong to rewrite CC.
   4423    # But if we don't then we get into trouble of one sort or another.
   4424    # A longer-term fix would be to have automake use am__CC in this case,
   4425    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4426    CC="$am_aux_dir/compile $CC"
   4427 fi
   4428 ac_ext=c
   4429 ac_cpp='$CPP $CPPFLAGS'
   4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4433 
   4434 
   4435 depcc="$CC"   am_compiler_list=
   4436 
   4437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4438 printf %s "checking dependency style of $depcc... " >&6; }
   4439 if test ${am_cv_CC_dependencies_compiler_type+y}
   4440 then :
   4441   printf %s "(cached) " >&6
   4442 else case e in #(
   4443   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4444   # We make a subdir and do the tests there.  Otherwise we can end up
   4445   # making bogus files that we don't know about and never remove.  For
   4446   # instance it was reported that on HP-UX the gcc test will end up
   4447   # making a dummy file named 'D' -- because '-MD' means "put the output
   4448   # in D".
   4449   rm -rf conftest.dir
   4450   mkdir conftest.dir
   4451   # Copy depcomp to subdir because otherwise we won't find it if we're
   4452   # using a relative directory.
   4453   cp "$am_depcomp" conftest.dir
   4454   cd conftest.dir
   4455   # We will build objects and dependencies in a subdirectory because
   4456   # it helps to detect inapplicable dependency modes.  For instance
   4457   # both Tru64's cc and ICC support -MD to output dependencies as a
   4458   # side effect of compilation, but ICC will put the dependencies in
   4459   # the current directory while Tru64 will put them in the object
   4460   # directory.
   4461   mkdir sub
   4462 
   4463   am_cv_CC_dependencies_compiler_type=none
   4464   if test "$am_compiler_list" = ""; then
   4465      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4466   fi
   4467   am__universal=false
   4468   case " $depcc " in #(
   4469      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4470      esac
   4471 
   4472   for depmode in $am_compiler_list; do
   4473     # Setup a source with many dependencies, because some compilers
   4474     # like to wrap large dependency lists on column 80 (with \), and
   4475     # we should not choose a depcomp mode which is confused by this.
   4476     #
   4477     # We need to recreate these files for each test, as the compiler may
   4478     # overwrite some of them when testing with obscure command lines.
   4479     # This happens at least with the AIX C compiler.
   4480     : > sub/conftest.c
   4481     for i in 1 2 3 4 5 6; do
   4482       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4483       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4484       # Solaris 10 /bin/sh.
   4485       echo '/* dummy */' > sub/conftst$i.h
   4486     done
   4487     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4488 
   4489     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4490     # mode.  It turns out that the SunPro C++ compiler does not properly
   4491     # handle '-M -o', and we need to detect this.  Also, some Intel
   4492     # versions had trouble with output in subdirs.
   4493     am__obj=sub/conftest.${OBJEXT-o}
   4494     am__minus_obj="-o $am__obj"
   4495     case $depmode in
   4496     gcc)
   4497       # This depmode causes a compiler race in universal mode.
   4498       test "$am__universal" = false || continue
   4499       ;;
   4500     nosideeffect)
   4501       # After this tag, mechanisms are not by side-effect, so they'll
   4502       # only be used when explicitly requested.
   4503       if test "x$enable_dependency_tracking" = xyes; then
   4504 	continue
   4505       else
   4506 	break
   4507       fi
   4508       ;;
   4509     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4510       # This compiler won't grok '-c -o', but also, the minuso test has
   4511       # not run yet.  These depmodes are late enough in the game, and
   4512       # so weak that their functioning should not be impacted.
   4513       am__obj=conftest.${OBJEXT-o}
   4514       am__minus_obj=
   4515       ;;
   4516     none) break ;;
   4517     esac
   4518     if depmode=$depmode \
   4519        source=sub/conftest.c object=$am__obj \
   4520        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4521        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4522          >/dev/null 2>conftest.err &&
   4523        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4524        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4525        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4526        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4527       # icc doesn't choke on unknown options, it will just issue warnings
   4528       # or remarks (even with -Werror).  So we grep stderr for any message
   4529       # that says an option was ignored or not supported.
   4530       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4531       #   icc: Command line warning: ignoring option '-M'; no argument required
   4532       # The diagnosis changed in icc 8.0:
   4533       #   icc: Command line remark: option '-MP' not supported
   4534       if (grep 'ignoring option' conftest.err ||
   4535           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4536         am_cv_CC_dependencies_compiler_type=$depmode
   4537         break
   4538       fi
   4539     fi
   4540   done
   4541 
   4542   cd ..
   4543   rm -rf conftest.dir
   4544 else
   4545   am_cv_CC_dependencies_compiler_type=none
   4546 fi
   4547  ;;
   4548 esac
   4549 fi
   4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4551 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4552 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4553 
   4554  if
   4555   test "x$enable_dependency_tracking" != xno \
   4556   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4557   am__fastdepCC_TRUE=
   4558   am__fastdepCC_FALSE='#'
   4559 else
   4560   am__fastdepCC_TRUE='#'
   4561   am__fastdepCC_FALSE=
   4562 fi
   4563 
   4564 
   4565 
   4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4567 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4568 if test ${ac_cv_c_undeclared_builtin_options+y}
   4569 then :
   4570   printf %s "(cached) " >&6
   4571 else case e in #(
   4572   e) ac_save_CFLAGS=$CFLAGS
   4573    ac_cv_c_undeclared_builtin_options='cannot detect'
   4574    for ac_arg in '' -fno-builtin; do
   4575      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4576      # This test program should *not* compile successfully.
   4577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4578 /* end confdefs.h.  */
   4579 
   4580 int
   4581 main (void)
   4582 {
   4583 (void) strchr;
   4584   ;
   4585   return 0;
   4586 }
   4587 _ACEOF
   4588 if ac_fn_c_try_compile "$LINENO"
   4589 then :
   4590 
   4591 else case e in #(
   4592   e) # This test program should compile successfully.
   4593         # No library function is consistently available on
   4594         # freestanding implementations, so test against a dummy
   4595         # declaration.  Include always-available headers on the
   4596         # off chance that they somehow elicit warnings.
   4597         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 #include <float.h>
   4600 #include <limits.h>
   4601 #include <stdarg.h>
   4602 #include <stddef.h>
   4603 extern void ac_decl (int, char *);
   4604 
   4605 int
   4606 main (void)
   4607 {
   4608 (void) ac_decl (0, (char *) 0);
   4609   (void) ac_decl;
   4610 
   4611   ;
   4612   return 0;
   4613 }
   4614 _ACEOF
   4615 if ac_fn_c_try_compile "$LINENO"
   4616 then :
   4617   if test x"$ac_arg" = x
   4618 then :
   4619   ac_cv_c_undeclared_builtin_options='none needed'
   4620 else case e in #(
   4621   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4622 esac
   4623 fi
   4624           break
   4625 fi
   4626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4627 esac
   4628 fi
   4629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4630     done
   4631     CFLAGS=$ac_save_CFLAGS
   4632    ;;
   4633 esac
   4634 fi
   4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4636 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4637   case $ac_cv_c_undeclared_builtin_options in #(
   4638   'cannot detect') :
   4639     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4640 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4641 as_fn_error $? "cannot make $CC report undeclared builtins
   4642 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4643   'none needed') :
   4644     ac_c_undeclared_builtin_options='' ;; #(
   4645   *) :
   4646     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4647 esac
   4648 
   4649 ac_header= ac_cache=
   4650 for ac_item in $ac_header_c_list
   4651 do
   4652   if test $ac_cache; then
   4653     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4654     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4655       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4656     fi
   4657     ac_header= ac_cache=
   4658   elif test $ac_header; then
   4659     ac_cache=$ac_item
   4660   else
   4661     ac_header=$ac_item
   4662   fi
   4663 done
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4673 then :
   4674 
   4675 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4676 
   4677 fi
   4678 
   4679 
   4680 
   4681 
   4682 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4683 if test "x$ac_cv_have_decl___clang__" = xyes
   4684 then :
   4685   CLANGCC="yes"
   4686 else case e in #(
   4687   e) CLANGCC="no" ;;
   4688 esac
   4689 fi
   4690 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4691 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4692 then :
   4693   INTELCC="yes"
   4694 else case e in #(
   4695   e) INTELCC="no" ;;
   4696 esac
   4697 fi
   4698 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4699 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4700 then :
   4701   SUNCC="yes"
   4702 else case e in #(
   4703   e) SUNCC="no" ;;
   4704 esac
   4705 fi
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4715 	if test -n "$ac_tool_prefix"; then
   4716   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4717 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4719 printf %s "checking for $ac_word... " >&6; }
   4720 if test ${ac_cv_path_PKG_CONFIG+y}
   4721 then :
   4722   printf %s "(cached) " >&6
   4723 else case e in #(
   4724   e) case $PKG_CONFIG in
   4725   [\\/]* | ?:[\\/]*)
   4726   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4727   ;;
   4728   *)
   4729   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4730 for as_dir in $PATH
   4731 do
   4732   IFS=$as_save_IFS
   4733   case $as_dir in #(((
   4734     '') as_dir=./ ;;
   4735     */) ;;
   4736     *) as_dir=$as_dir/ ;;
   4737   esac
   4738     for ac_exec_ext in '' $ac_executable_extensions; do
   4739   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4740     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4741     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4742     break 2
   4743   fi
   4744 done
   4745   done
   4746 IFS=$as_save_IFS
   4747 
   4748   ;;
   4749 esac ;;
   4750 esac
   4751 fi
   4752 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4753 if test -n "$PKG_CONFIG"; then
   4754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4755 printf "%s\n" "$PKG_CONFIG" >&6; }
   4756 else
   4757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4758 printf "%s\n" "no" >&6; }
   4759 fi
   4760 
   4761 
   4762 fi
   4763 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4764   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4765   # Extract the first word of "pkg-config", so it can be a program name with args.
   4766 set dummy pkg-config; ac_word=$2
   4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4768 printf %s "checking for $ac_word... " >&6; }
   4769 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4770 then :
   4771   printf %s "(cached) " >&6
   4772 else case e in #(
   4773   e) case $ac_pt_PKG_CONFIG in
   4774   [\\/]* | ?:[\\/]*)
   4775   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4776   ;;
   4777   *)
   4778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4779 for as_dir in $PATH
   4780 do
   4781   IFS=$as_save_IFS
   4782   case $as_dir in #(((
   4783     '') as_dir=./ ;;
   4784     */) ;;
   4785     *) as_dir=$as_dir/ ;;
   4786   esac
   4787     for ac_exec_ext in '' $ac_executable_extensions; do
   4788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4789     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4790     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4791     break 2
   4792   fi
   4793 done
   4794   done
   4795 IFS=$as_save_IFS
   4796 
   4797   ;;
   4798 esac ;;
   4799 esac
   4800 fi
   4801 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4802 if test -n "$ac_pt_PKG_CONFIG"; then
   4803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4804 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4805 else
   4806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4807 printf "%s\n" "no" >&6; }
   4808 fi
   4809 
   4810   if test "x$ac_pt_PKG_CONFIG" = x; then
   4811     PKG_CONFIG=""
   4812   else
   4813     case $cross_compiling:$ac_tool_warned in
   4814 yes:)
   4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4817 ac_tool_warned=yes ;;
   4818 esac
   4819     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4820   fi
   4821 else
   4822   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4823 fi
   4824 
   4825 fi
   4826 if test -n "$PKG_CONFIG"; then
   4827 	_pkg_min_version=0.9.0
   4828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4829 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4830 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4831 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4832 printf "%s\n" "yes" >&6; }
   4833 	else
   4834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4835 printf "%s\n" "no" >&6; }
   4836 		PKG_CONFIG=""
   4837 	fi
   4838 fi
   4839 
   4840 
   4841   # Make sure we can run config.sub.
   4842 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4843   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4844 
   4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4846 printf %s "checking build system type... " >&6; }
   4847 if test ${ac_cv_build+y}
   4848 then :
   4849   printf %s "(cached) " >&6
   4850 else case e in #(
   4851   e) ac_build_alias=$build_alias
   4852 test "x$ac_build_alias" = x &&
   4853   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4854 test "x$ac_build_alias" = x &&
   4855   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4856 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4857   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4858  ;;
   4859 esac
   4860 fi
   4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4862 printf "%s\n" "$ac_cv_build" >&6; }
   4863 case $ac_cv_build in
   4864 *-*-*) ;;
   4865 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4866 esac
   4867 build=$ac_cv_build
   4868 ac_save_IFS=$IFS; IFS='-'
   4869 set x $ac_cv_build
   4870 shift
   4871 build_cpu=$1
   4872 build_vendor=$2
   4873 shift; shift
   4874 # Remember, the first character of IFS is used to create $*,
   4875 # except with old shells:
   4876 build_os=$*
   4877 IFS=$ac_save_IFS
   4878 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4879 
   4880 
   4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4882 printf %s "checking host system type... " >&6; }
   4883 if test ${ac_cv_host+y}
   4884 then :
   4885   printf %s "(cached) " >&6
   4886 else case e in #(
   4887   e) if test "x$host_alias" = x; then
   4888   ac_cv_host=$ac_cv_build
   4889 else
   4890   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4891     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4892 fi
   4893  ;;
   4894 esac
   4895 fi
   4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4897 printf "%s\n" "$ac_cv_host" >&6; }
   4898 case $ac_cv_host in
   4899 *-*-*) ;;
   4900 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4901 esac
   4902 host=$ac_cv_host
   4903 ac_save_IFS=$IFS; IFS='-'
   4904 set x $ac_cv_host
   4905 shift
   4906 host_cpu=$1
   4907 host_vendor=$2
   4908 shift; shift
   4909 # Remember, the first character of IFS is used to create $*,
   4910 # except with old shells:
   4911 host_os=$*
   4912 IFS=$ac_save_IFS
   4913 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4914 
   4915 
   4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4917 printf %s "checking for a sed that does not truncate output... " >&6; }
   4918 if test ${ac_cv_path_SED+y}
   4919 then :
   4920   printf %s "(cached) " >&6
   4921 else case e in #(
   4922   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4923      for ac_i in 1 2 3 4 5 6 7; do
   4924        ac_script="$ac_script$as_nl$ac_script"
   4925      done
   4926      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4927      { ac_script=; unset ac_script;}
   4928      if test -z "$SED"; then
   4929   ac_path_SED_found=false
   4930   # Loop through the user's path and test for each of PROGNAME-LIST
   4931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4932 for as_dir in $PATH
   4933 do
   4934   IFS=$as_save_IFS
   4935   case $as_dir in #(((
   4936     '') as_dir=./ ;;
   4937     */) ;;
   4938     *) as_dir=$as_dir/ ;;
   4939   esac
   4940     for ac_prog in sed gsed
   4941    do
   4942     for ac_exec_ext in '' $ac_executable_extensions; do
   4943       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4944       as_fn_executable_p "$ac_path_SED" || continue
   4945 # Check for GNU ac_path_SED and select it if it is found.
   4946   # Check for GNU $ac_path_SED
   4947 case `"$ac_path_SED" --version 2>&1` in #(
   4948 *GNU*)
   4949   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4950 #(
   4951 *)
   4952   ac_count=0
   4953   printf %s 0123456789 >"conftest.in"
   4954   while :
   4955   do
   4956     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4957     mv "conftest.tmp" "conftest.in"
   4958     cp "conftest.in" "conftest.nl"
   4959     printf "%s\n" '' >> "conftest.nl"
   4960     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4961     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4962     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4963     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4964       # Best one so far, save it but keep looking for a better one
   4965       ac_cv_path_SED="$ac_path_SED"
   4966       ac_path_SED_max=$ac_count
   4967     fi
   4968     # 10*(2^10) chars as input seems more than enough
   4969     test $ac_count -gt 10 && break
   4970   done
   4971   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4972 esac
   4973 
   4974       $ac_path_SED_found && break 3
   4975     done
   4976   done
   4977   done
   4978 IFS=$as_save_IFS
   4979   if test -z "$ac_cv_path_SED"; then
   4980     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4981   fi
   4982 else
   4983   ac_cv_path_SED=$SED
   4984 fi
   4985  ;;
   4986 esac
   4987 fi
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4989 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4990  SED="$ac_cv_path_SED"
   4991   rm -f conftest.sed
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 # Check whether --enable-selective-werror was given.
   4999 if test ${enable_selective_werror+y}
   5000 then :
   5001   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5002 else case e in #(
   5003   e) SELECTIVE_WERROR=yes ;;
   5004 esac
   5005 fi
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5012 if test "x$SUNCC" = "xyes"; then
   5013     BASE_CFLAGS="-v"
   5014 else
   5015     BASE_CFLAGS=""
   5016 fi
   5017 
   5018 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 xorg_testset_save_CFLAGS="$CFLAGS"
   5033 
   5034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5039 then :
   5040   printf %s "(cached) " >&6
   5041 else case e in #(
   5042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 _ACEOF
   5046 if ac_fn_c_try_compile "$LINENO"
   5047 then :
   5048   xorg_cv_cc_flag_unknown_warning_option=yes
   5049 else case e in #(
   5050   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5051 esac
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5054 esac
   5055 fi
   5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5059 	CFLAGS="$xorg_testset_save_CFLAGS"
   5060 fi
   5061 
   5062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 	fi
   5066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5070 then :
   5071   printf %s "(cached) " >&6
   5072 else case e in #(
   5073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5074 /* end confdefs.h.  */
   5075 int i;
   5076 _ACEOF
   5077 if ac_fn_c_try_compile "$LINENO"
   5078 then :
   5079   xorg_cv_cc_flag_unused_command_line_argument=yes
   5080 else case e in #(
   5081   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5082 esac
   5083 fi
   5084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5085 esac
   5086 fi
   5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5090 	CFLAGS="$xorg_testset_save_CFLAGS"
   5091 fi
   5092 
   5093 found="no"
   5094 
   5095 	if test $found = "no" ; then
   5096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 		fi
   5099 
   5100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5102 		fi
   5103 
   5104 		CFLAGS="$CFLAGS -Wall"
   5105 
   5106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5107 printf %s "checking if $CC supports -Wall... " >&6; }
   5108 		cacheid=xorg_cv_cc_flag__Wall
   5109 		if eval test \${$cacheid+y}
   5110 then :
   5111   printf %s "(cached) " >&6
   5112 else case e in #(
   5113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5114 /* end confdefs.h.  */
   5115 int i;
   5116 int
   5117 main (void)
   5118 {
   5119 
   5120   ;
   5121   return 0;
   5122 }
   5123 _ACEOF
   5124 if ac_fn_c_try_link "$LINENO"
   5125 then :
   5126   eval $cacheid=yes
   5127 else case e in #(
   5128   e) eval $cacheid=no ;;
   5129 esac
   5130 fi
   5131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5132     conftest$ac_exeext conftest.$ac_ext ;;
   5133 esac
   5134 fi
   5135 
   5136 
   5137 		CFLAGS="$xorg_testset_save_CFLAGS"
   5138 
   5139 		eval supported=\$$cacheid
   5140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5141 printf "%s\n" "$supported" >&6; }
   5142 		if test "$supported" = "yes" ; then
   5143 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5144 			found="yes"
   5145 		fi
   5146 	fi
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 xorg_testset_save_CFLAGS="$CFLAGS"
   5163 
   5164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5167 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5168 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5169 then :
   5170   printf %s "(cached) " >&6
   5171 else case e in #(
   5172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5173 /* end confdefs.h.  */
   5174 int i;
   5175 _ACEOF
   5176 if ac_fn_c_try_compile "$LINENO"
   5177 then :
   5178   xorg_cv_cc_flag_unknown_warning_option=yes
   5179 else case e in #(
   5180   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5181 esac
   5182 fi
   5183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5184 esac
   5185 fi
   5186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5187 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5189 	CFLAGS="$xorg_testset_save_CFLAGS"
   5190 fi
   5191 
   5192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5195 	fi
   5196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5200 then :
   5201   printf %s "(cached) " >&6
   5202 else case e in #(
   5203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5204 /* end confdefs.h.  */
   5205 int i;
   5206 _ACEOF
   5207 if ac_fn_c_try_compile "$LINENO"
   5208 then :
   5209   xorg_cv_cc_flag_unused_command_line_argument=yes
   5210 else case e in #(
   5211   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5212 esac
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5215 esac
   5216 fi
   5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5220 	CFLAGS="$xorg_testset_save_CFLAGS"
   5221 fi
   5222 
   5223 found="no"
   5224 
   5225 	if test $found = "no" ; then
   5226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5228 		fi
   5229 
   5230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5232 		fi
   5233 
   5234 		CFLAGS="$CFLAGS -Wpointer-arith"
   5235 
   5236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5237 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5238 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5239 		if eval test \${$cacheid+y}
   5240 then :
   5241   printf %s "(cached) " >&6
   5242 else case e in #(
   5243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5244 /* end confdefs.h.  */
   5245 int i;
   5246 int
   5247 main (void)
   5248 {
   5249 
   5250   ;
   5251   return 0;
   5252 }
   5253 _ACEOF
   5254 if ac_fn_c_try_link "$LINENO"
   5255 then :
   5256   eval $cacheid=yes
   5257 else case e in #(
   5258   e) eval $cacheid=no ;;
   5259 esac
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5262     conftest$ac_exeext conftest.$ac_ext ;;
   5263 esac
   5264 fi
   5265 
   5266 
   5267 		CFLAGS="$xorg_testset_save_CFLAGS"
   5268 
   5269 		eval supported=\$$cacheid
   5270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5271 printf "%s\n" "$supported" >&6; }
   5272 		if test "$supported" = "yes" ; then
   5273 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5274 			found="yes"
   5275 		fi
   5276 	fi
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 xorg_testset_save_CFLAGS="$CFLAGS"
   5293 
   5294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5299 then :
   5300   printf %s "(cached) " >&6
   5301 else case e in #(
   5302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 int i;
   5305 _ACEOF
   5306 if ac_fn_c_try_compile "$LINENO"
   5307 then :
   5308   xorg_cv_cc_flag_unknown_warning_option=yes
   5309 else case e in #(
   5310   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5311 esac
   5312 fi
   5313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5314 esac
   5315 fi
   5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5317 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5319 	CFLAGS="$xorg_testset_save_CFLAGS"
   5320 fi
   5321 
   5322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5325 	fi
   5326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5330 then :
   5331   printf %s "(cached) " >&6
   5332 else case e in #(
   5333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 _ACEOF
   5337 if ac_fn_c_try_compile "$LINENO"
   5338 then :
   5339   xorg_cv_cc_flag_unused_command_line_argument=yes
   5340 else case e in #(
   5341   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5342 esac
   5343 fi
   5344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5345 esac
   5346 fi
   5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5350 	CFLAGS="$xorg_testset_save_CFLAGS"
   5351 fi
   5352 
   5353 found="no"
   5354 
   5355 	if test $found = "no" ; then
   5356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5358 		fi
   5359 
   5360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5362 		fi
   5363 
   5364 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5365 
   5366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5367 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5368 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5369 		if eval test \${$cacheid+y}
   5370 then :
   5371   printf %s "(cached) " >&6
   5372 else case e in #(
   5373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5374 /* end confdefs.h.  */
   5375 int i;
   5376 int
   5377 main (void)
   5378 {
   5379 
   5380   ;
   5381   return 0;
   5382 }
   5383 _ACEOF
   5384 if ac_fn_c_try_link "$LINENO"
   5385 then :
   5386   eval $cacheid=yes
   5387 else case e in #(
   5388   e) eval $cacheid=no ;;
   5389 esac
   5390 fi
   5391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5392     conftest$ac_exeext conftest.$ac_ext ;;
   5393 esac
   5394 fi
   5395 
   5396 
   5397 		CFLAGS="$xorg_testset_save_CFLAGS"
   5398 
   5399 		eval supported=\$$cacheid
   5400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5401 printf "%s\n" "$supported" >&6; }
   5402 		if test "$supported" = "yes" ; then
   5403 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5404 			found="yes"
   5405 		fi
   5406 	fi
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 xorg_testset_save_CFLAGS="$CFLAGS"
   5423 
   5424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5427 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5428 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5429 then :
   5430   printf %s "(cached) " >&6
   5431 else case e in #(
   5432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"
   5437 then :
   5438   xorg_cv_cc_flag_unknown_warning_option=yes
   5439 else case e in #(
   5440   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5441 esac
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5444 esac
   5445 fi
   5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5449 	CFLAGS="$xorg_testset_save_CFLAGS"
   5450 fi
   5451 
   5452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5455 	fi
   5456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5460 then :
   5461   printf %s "(cached) " >&6
   5462 else case e in #(
   5463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5464 /* end confdefs.h.  */
   5465 int i;
   5466 _ACEOF
   5467 if ac_fn_c_try_compile "$LINENO"
   5468 then :
   5469   xorg_cv_cc_flag_unused_command_line_argument=yes
   5470 else case e in #(
   5471   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5472 esac
   5473 fi
   5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5475 esac
   5476 fi
   5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5478 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5480 	CFLAGS="$xorg_testset_save_CFLAGS"
   5481 fi
   5482 
   5483 found="no"
   5484 
   5485 	if test $found = "no" ; then
   5486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5488 		fi
   5489 
   5490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5492 		fi
   5493 
   5494 		CFLAGS="$CFLAGS -Wformat=2"
   5495 
   5496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5497 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5498 		cacheid=xorg_cv_cc_flag__Wformat_2
   5499 		if eval test \${$cacheid+y}
   5500 then :
   5501   printf %s "(cached) " >&6
   5502 else case e in #(
   5503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5504 /* end confdefs.h.  */
   5505 int i;
   5506 int
   5507 main (void)
   5508 {
   5509 
   5510   ;
   5511   return 0;
   5512 }
   5513 _ACEOF
   5514 if ac_fn_c_try_link "$LINENO"
   5515 then :
   5516   eval $cacheid=yes
   5517 else case e in #(
   5518   e) eval $cacheid=no ;;
   5519 esac
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5522     conftest$ac_exeext conftest.$ac_ext ;;
   5523 esac
   5524 fi
   5525 
   5526 
   5527 		CFLAGS="$xorg_testset_save_CFLAGS"
   5528 
   5529 		eval supported=\$$cacheid
   5530 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5531 printf "%s\n" "$supported" >&6; }
   5532 		if test "$supported" = "yes" ; then
   5533 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5534 			found="yes"
   5535 		fi
   5536 	fi
   5537 
   5538 	if test $found = "no" ; then
   5539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5541 		fi
   5542 
   5543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 		fi
   5546 
   5547 		CFLAGS="$CFLAGS -Wformat"
   5548 
   5549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5550 printf %s "checking if $CC supports -Wformat... " >&6; }
   5551 		cacheid=xorg_cv_cc_flag__Wformat
   5552 		if eval test \${$cacheid+y}
   5553 then :
   5554   printf %s "(cached) " >&6
   5555 else case e in #(
   5556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5557 /* end confdefs.h.  */
   5558 int i;
   5559 int
   5560 main (void)
   5561 {
   5562 
   5563   ;
   5564   return 0;
   5565 }
   5566 _ACEOF
   5567 if ac_fn_c_try_link "$LINENO"
   5568 then :
   5569   eval $cacheid=yes
   5570 else case e in #(
   5571   e) eval $cacheid=no ;;
   5572 esac
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5575     conftest$ac_exeext conftest.$ac_ext ;;
   5576 esac
   5577 fi
   5578 
   5579 
   5580 		CFLAGS="$xorg_testset_save_CFLAGS"
   5581 
   5582 		eval supported=\$$cacheid
   5583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5584 printf "%s\n" "$supported" >&6; }
   5585 		if test "$supported" = "yes" ; then
   5586 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5587 			found="yes"
   5588 		fi
   5589 	fi
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 xorg_testset_save_CFLAGS="$CFLAGS"
   5608 
   5609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5612 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5613 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5614 then :
   5615   printf %s "(cached) " >&6
   5616 else case e in #(
   5617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5618 /* end confdefs.h.  */
   5619 int i;
   5620 _ACEOF
   5621 if ac_fn_c_try_compile "$LINENO"
   5622 then :
   5623   xorg_cv_cc_flag_unknown_warning_option=yes
   5624 else case e in #(
   5625   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5626 esac
   5627 fi
   5628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5629 esac
   5630 fi
   5631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5634 	CFLAGS="$xorg_testset_save_CFLAGS"
   5635 fi
   5636 
   5637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 	fi
   5641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5645 then :
   5646   printf %s "(cached) " >&6
   5647 else case e in #(
   5648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"
   5653 then :
   5654   xorg_cv_cc_flag_unused_command_line_argument=yes
   5655 else case e in #(
   5656   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5657 esac
   5658 fi
   5659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5660 esac
   5661 fi
   5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5663 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5665 	CFLAGS="$xorg_testset_save_CFLAGS"
   5666 fi
   5667 
   5668 found="no"
   5669 
   5670 	if test $found = "no" ; then
   5671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 		fi
   5674 
   5675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5677 		fi
   5678 
   5679 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5680 
   5681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5682 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5683 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5684 		if eval test \${$cacheid+y}
   5685 then :
   5686   printf %s "(cached) " >&6
   5687 else case e in #(
   5688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5689 /* end confdefs.h.  */
   5690 int i;
   5691 int
   5692 main (void)
   5693 {
   5694 
   5695   ;
   5696   return 0;
   5697 }
   5698 _ACEOF
   5699 if ac_fn_c_try_link "$LINENO"
   5700 then :
   5701   eval $cacheid=yes
   5702 else case e in #(
   5703   e) eval $cacheid=no ;;
   5704 esac
   5705 fi
   5706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5707     conftest$ac_exeext conftest.$ac_ext ;;
   5708 esac
   5709 fi
   5710 
   5711 
   5712 		CFLAGS="$xorg_testset_save_CFLAGS"
   5713 
   5714 		eval supported=\$$cacheid
   5715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5716 printf "%s\n" "$supported" >&6; }
   5717 		if test "$supported" = "yes" ; then
   5718 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5719 			found="yes"
   5720 		fi
   5721 	fi
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 xorg_testset_save_CFLAGS="$CFLAGS"
   5738 
   5739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5744 then :
   5745   printf %s "(cached) " >&6
   5746 else case e in #(
   5747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5748 /* end confdefs.h.  */
   5749 int i;
   5750 _ACEOF
   5751 if ac_fn_c_try_compile "$LINENO"
   5752 then :
   5753   xorg_cv_cc_flag_unknown_warning_option=yes
   5754 else case e in #(
   5755   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5756 esac
   5757 fi
   5758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5759 esac
   5760 fi
   5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5762 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5764 	CFLAGS="$xorg_testset_save_CFLAGS"
   5765 fi
   5766 
   5767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5770 	fi
   5771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5773 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5774 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5775 then :
   5776   printf %s "(cached) " >&6
   5777 else case e in #(
   5778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5779 /* end confdefs.h.  */
   5780 int i;
   5781 _ACEOF
   5782 if ac_fn_c_try_compile "$LINENO"
   5783 then :
   5784   xorg_cv_cc_flag_unused_command_line_argument=yes
   5785 else case e in #(
   5786   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5787 esac
   5788 fi
   5789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5790 esac
   5791 fi
   5792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5795 	CFLAGS="$xorg_testset_save_CFLAGS"
   5796 fi
   5797 
   5798 found="no"
   5799 
   5800 	if test $found = "no" ; then
   5801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 		fi
   5804 
   5805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5807 		fi
   5808 
   5809 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5810 
   5811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5812 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5813 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5814 		if eval test \${$cacheid+y}
   5815 then :
   5816   printf %s "(cached) " >&6
   5817 else case e in #(
   5818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5819 /* end confdefs.h.  */
   5820 int i;
   5821 int
   5822 main (void)
   5823 {
   5824 
   5825   ;
   5826   return 0;
   5827 }
   5828 _ACEOF
   5829 if ac_fn_c_try_link "$LINENO"
   5830 then :
   5831   eval $cacheid=yes
   5832 else case e in #(
   5833   e) eval $cacheid=no ;;
   5834 esac
   5835 fi
   5836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5837     conftest$ac_exeext conftest.$ac_ext ;;
   5838 esac
   5839 fi
   5840 
   5841 
   5842 		CFLAGS="$xorg_testset_save_CFLAGS"
   5843 
   5844 		eval supported=\$$cacheid
   5845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5846 printf "%s\n" "$supported" >&6; }
   5847 		if test "$supported" = "yes" ; then
   5848 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5849 			found="yes"
   5850 		fi
   5851 	fi
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 xorg_testset_save_CFLAGS="$CFLAGS"
   5868 
   5869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5872 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5873 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5874 then :
   5875   printf %s "(cached) " >&6
   5876 else case e in #(
   5877   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"
   5882 then :
   5883   xorg_cv_cc_flag_unknown_warning_option=yes
   5884 else case e in #(
   5885   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5886 esac
   5887 fi
   5888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5889 esac
   5890 fi
   5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5894 	CFLAGS="$xorg_testset_save_CFLAGS"
   5895 fi
   5896 
   5897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 	fi
   5901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5905 then :
   5906   printf %s "(cached) " >&6
   5907 else case e in #(
   5908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 _ACEOF
   5912 if ac_fn_c_try_compile "$LINENO"
   5913 then :
   5914   xorg_cv_cc_flag_unused_command_line_argument=yes
   5915 else case e in #(
   5916   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5917 esac
   5918 fi
   5919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5920 esac
   5921 fi
   5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5923 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5925 	CFLAGS="$xorg_testset_save_CFLAGS"
   5926 fi
   5927 
   5928 found="no"
   5929 
   5930 	if test $found = "no" ; then
   5931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 		fi
   5934 
   5935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5937 		fi
   5938 
   5939 		CFLAGS="$CFLAGS -Wnested-externs"
   5940 
   5941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5942 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5943 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5944 		if eval test \${$cacheid+y}
   5945 then :
   5946   printf %s "(cached) " >&6
   5947 else case e in #(
   5948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5949 /* end confdefs.h.  */
   5950 int i;
   5951 int
   5952 main (void)
   5953 {
   5954 
   5955   ;
   5956   return 0;
   5957 }
   5958 _ACEOF
   5959 if ac_fn_c_try_link "$LINENO"
   5960 then :
   5961   eval $cacheid=yes
   5962 else case e in #(
   5963   e) eval $cacheid=no ;;
   5964 esac
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5967     conftest$ac_exeext conftest.$ac_ext ;;
   5968 esac
   5969 fi
   5970 
   5971 
   5972 		CFLAGS="$xorg_testset_save_CFLAGS"
   5973 
   5974 		eval supported=\$$cacheid
   5975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5976 printf "%s\n" "$supported" >&6; }
   5977 		if test "$supported" = "yes" ; then
   5978 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5979 			found="yes"
   5980 		fi
   5981 	fi
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 xorg_testset_save_CFLAGS="$CFLAGS"
   5998 
   5999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6004 then :
   6005   printf %s "(cached) " >&6
   6006 else case e in #(
   6007   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 int i;
   6010 _ACEOF
   6011 if ac_fn_c_try_compile "$LINENO"
   6012 then :
   6013   xorg_cv_cc_flag_unknown_warning_option=yes
   6014 else case e in #(
   6015   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6016 esac
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6019 esac
   6020 fi
   6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6022 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6024 	CFLAGS="$xorg_testset_save_CFLAGS"
   6025 fi
   6026 
   6027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6030 	fi
   6031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6033 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6034 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6035 then :
   6036   printf %s "(cached) " >&6
   6037 else case e in #(
   6038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6039 /* end confdefs.h.  */
   6040 int i;
   6041 _ACEOF
   6042 if ac_fn_c_try_compile "$LINENO"
   6043 then :
   6044   xorg_cv_cc_flag_unused_command_line_argument=yes
   6045 else case e in #(
   6046   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6047 esac
   6048 fi
   6049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6050 esac
   6051 fi
   6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6053 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6055 	CFLAGS="$xorg_testset_save_CFLAGS"
   6056 fi
   6057 
   6058 found="no"
   6059 
   6060 	if test $found = "no" ; then
   6061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6063 		fi
   6064 
   6065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6067 		fi
   6068 
   6069 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6070 
   6071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6072 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6073 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6074 		if eval test \${$cacheid+y}
   6075 then :
   6076   printf %s "(cached) " >&6
   6077 else case e in #(
   6078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6079 /* end confdefs.h.  */
   6080 int i;
   6081 int
   6082 main (void)
   6083 {
   6084 
   6085   ;
   6086   return 0;
   6087 }
   6088 _ACEOF
   6089 if ac_fn_c_try_link "$LINENO"
   6090 then :
   6091   eval $cacheid=yes
   6092 else case e in #(
   6093   e) eval $cacheid=no ;;
   6094 esac
   6095 fi
   6096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6097     conftest$ac_exeext conftest.$ac_ext ;;
   6098 esac
   6099 fi
   6100 
   6101 
   6102 		CFLAGS="$xorg_testset_save_CFLAGS"
   6103 
   6104 		eval supported=\$$cacheid
   6105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6106 printf "%s\n" "$supported" >&6; }
   6107 		if test "$supported" = "yes" ; then
   6108 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6109 			found="yes"
   6110 		fi
   6111 	fi
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 xorg_testset_save_CFLAGS="$CFLAGS"
   6128 
   6129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6132 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6133 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6134 then :
   6135   printf %s "(cached) " >&6
   6136 else case e in #(
   6137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"
   6142 then :
   6143   xorg_cv_cc_flag_unknown_warning_option=yes
   6144 else case e in #(
   6145   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6146 esac
   6147 fi
   6148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6149 esac
   6150 fi
   6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6154 	CFLAGS="$xorg_testset_save_CFLAGS"
   6155 fi
   6156 
   6157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6160 	fi
   6161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6165 then :
   6166   printf %s "(cached) " >&6
   6167 else case e in #(
   6168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6169 /* end confdefs.h.  */
   6170 int i;
   6171 _ACEOF
   6172 if ac_fn_c_try_compile "$LINENO"
   6173 then :
   6174   xorg_cv_cc_flag_unused_command_line_argument=yes
   6175 else case e in #(
   6176   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6177 esac
   6178 fi
   6179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6180 esac
   6181 fi
   6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6183 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6185 	CFLAGS="$xorg_testset_save_CFLAGS"
   6186 fi
   6187 
   6188 found="no"
   6189 
   6190 	if test $found = "no" ; then
   6191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6193 		fi
   6194 
   6195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6197 		fi
   6198 
   6199 		CFLAGS="$CFLAGS -Wold-style-definition"
   6200 
   6201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6202 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6203 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6204 		if eval test \${$cacheid+y}
   6205 then :
   6206   printf %s "(cached) " >&6
   6207 else case e in #(
   6208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6209 /* end confdefs.h.  */
   6210 int i;
   6211 int
   6212 main (void)
   6213 {
   6214 
   6215   ;
   6216   return 0;
   6217 }
   6218 _ACEOF
   6219 if ac_fn_c_try_link "$LINENO"
   6220 then :
   6221   eval $cacheid=yes
   6222 else case e in #(
   6223   e) eval $cacheid=no ;;
   6224 esac
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6227     conftest$ac_exeext conftest.$ac_ext ;;
   6228 esac
   6229 fi
   6230 
   6231 
   6232 		CFLAGS="$xorg_testset_save_CFLAGS"
   6233 
   6234 		eval supported=\$$cacheid
   6235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6236 printf "%s\n" "$supported" >&6; }
   6237 		if test "$supported" = "yes" ; then
   6238 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6239 			found="yes"
   6240 		fi
   6241 	fi
   6242 
   6243 	if test $found = "no" ; then
   6244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6246 		fi
   6247 
   6248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6250 		fi
   6251 
   6252 		CFLAGS="$CFLAGS -fd"
   6253 
   6254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6255 printf %s "checking if $CC supports -fd... " >&6; }
   6256 		cacheid=xorg_cv_cc_flag__fd
   6257 		if eval test \${$cacheid+y}
   6258 then :
   6259   printf %s "(cached) " >&6
   6260 else case e in #(
   6261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 int i;
   6264 int
   6265 main (void)
   6266 {
   6267 
   6268   ;
   6269   return 0;
   6270 }
   6271 _ACEOF
   6272 if ac_fn_c_try_link "$LINENO"
   6273 then :
   6274   eval $cacheid=yes
   6275 else case e in #(
   6276   e) eval $cacheid=no ;;
   6277 esac
   6278 fi
   6279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6280     conftest$ac_exeext conftest.$ac_ext ;;
   6281 esac
   6282 fi
   6283 
   6284 
   6285 		CFLAGS="$xorg_testset_save_CFLAGS"
   6286 
   6287 		eval supported=\$$cacheid
   6288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6289 printf "%s\n" "$supported" >&6; }
   6290 		if test "$supported" = "yes" ; then
   6291 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6292 			found="yes"
   6293 		fi
   6294 	fi
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 xorg_testset_save_CFLAGS="$CFLAGS"
   6311 
   6312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6315 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6316 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6317 then :
   6318   printf %s "(cached) " >&6
   6319 else case e in #(
   6320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6321 /* end confdefs.h.  */
   6322 int i;
   6323 _ACEOF
   6324 if ac_fn_c_try_compile "$LINENO"
   6325 then :
   6326   xorg_cv_cc_flag_unknown_warning_option=yes
   6327 else case e in #(
   6328   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6329 esac
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6332 esac
   6333 fi
   6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6337 	CFLAGS="$xorg_testset_save_CFLAGS"
   6338 fi
   6339 
   6340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6343 	fi
   6344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6348 then :
   6349   printf %s "(cached) " >&6
   6350 else case e in #(
   6351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 _ACEOF
   6355 if ac_fn_c_try_compile "$LINENO"
   6356 then :
   6357   xorg_cv_cc_flag_unused_command_line_argument=yes
   6358 else case e in #(
   6359   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6360 esac
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6363 esac
   6364 fi
   6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6366 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6368 	CFLAGS="$xorg_testset_save_CFLAGS"
   6369 fi
   6370 
   6371 found="no"
   6372 
   6373 	if test $found = "no" ; then
   6374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6376 		fi
   6377 
   6378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6380 		fi
   6381 
   6382 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6383 
   6384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6385 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6386 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6387 		if eval test \${$cacheid+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else case e in #(
   6391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 int
   6395 main (void)
   6396 {
   6397 
   6398   ;
   6399   return 0;
   6400 }
   6401 _ACEOF
   6402 if ac_fn_c_try_link "$LINENO"
   6403 then :
   6404   eval $cacheid=yes
   6405 else case e in #(
   6406   e) eval $cacheid=no ;;
   6407 esac
   6408 fi
   6409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6410     conftest$ac_exeext conftest.$ac_ext ;;
   6411 esac
   6412 fi
   6413 
   6414 
   6415 		CFLAGS="$xorg_testset_save_CFLAGS"
   6416 
   6417 		eval supported=\$$cacheid
   6418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6419 printf "%s\n" "$supported" >&6; }
   6420 		if test "$supported" = "yes" ; then
   6421 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6422 			found="yes"
   6423 		fi
   6424 	fi
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 # This chunk adds additional warnings that could catch undesired effects.
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 xorg_testset_save_CFLAGS="$CFLAGS"
   6445 
   6446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6451 then :
   6452   printf %s "(cached) " >&6
   6453 else case e in #(
   6454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 _ACEOF
   6458 if ac_fn_c_try_compile "$LINENO"
   6459 then :
   6460   xorg_cv_cc_flag_unknown_warning_option=yes
   6461 else case e in #(
   6462   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6463 esac
   6464 fi
   6465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6466 esac
   6467 fi
   6468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6469 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6471 	CFLAGS="$xorg_testset_save_CFLAGS"
   6472 fi
   6473 
   6474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 	fi
   6478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6480 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6481 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6482 then :
   6483   printf %s "(cached) " >&6
   6484 else case e in #(
   6485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6486 /* end confdefs.h.  */
   6487 int i;
   6488 _ACEOF
   6489 if ac_fn_c_try_compile "$LINENO"
   6490 then :
   6491   xorg_cv_cc_flag_unused_command_line_argument=yes
   6492 else case e in #(
   6493   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6494 esac
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6497 esac
   6498 fi
   6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6502 	CFLAGS="$xorg_testset_save_CFLAGS"
   6503 fi
   6504 
   6505 found="no"
   6506 
   6507 	if test $found = "no" ; then
   6508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 		fi
   6511 
   6512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6514 		fi
   6515 
   6516 		CFLAGS="$CFLAGS -Wunused"
   6517 
   6518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6519 printf %s "checking if $CC supports -Wunused... " >&6; }
   6520 		cacheid=xorg_cv_cc_flag__Wunused
   6521 		if eval test \${$cacheid+y}
   6522 then :
   6523   printf %s "(cached) " >&6
   6524 else case e in #(
   6525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6526 /* end confdefs.h.  */
   6527 int i;
   6528 int
   6529 main (void)
   6530 {
   6531 
   6532   ;
   6533   return 0;
   6534 }
   6535 _ACEOF
   6536 if ac_fn_c_try_link "$LINENO"
   6537 then :
   6538   eval $cacheid=yes
   6539 else case e in #(
   6540   e) eval $cacheid=no ;;
   6541 esac
   6542 fi
   6543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6544     conftest$ac_exeext conftest.$ac_ext ;;
   6545 esac
   6546 fi
   6547 
   6548 
   6549 		CFLAGS="$xorg_testset_save_CFLAGS"
   6550 
   6551 		eval supported=\$$cacheid
   6552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6553 printf "%s\n" "$supported" >&6; }
   6554 		if test "$supported" = "yes" ; then
   6555 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6556 			found="yes"
   6557 		fi
   6558 	fi
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 xorg_testset_save_CFLAGS="$CFLAGS"
   6575 
   6576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6581 then :
   6582   printf %s "(cached) " >&6
   6583 else case e in #(
   6584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6585 /* end confdefs.h.  */
   6586 int i;
   6587 _ACEOF
   6588 if ac_fn_c_try_compile "$LINENO"
   6589 then :
   6590   xorg_cv_cc_flag_unknown_warning_option=yes
   6591 else case e in #(
   6592   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6593 esac
   6594 fi
   6595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6596 esac
   6597 fi
   6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6599 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6601 	CFLAGS="$xorg_testset_save_CFLAGS"
   6602 fi
   6603 
   6604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 	fi
   6608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6610 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6611 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6612 then :
   6613   printf %s "(cached) " >&6
   6614 else case e in #(
   6615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6616 /* end confdefs.h.  */
   6617 int i;
   6618 _ACEOF
   6619 if ac_fn_c_try_compile "$LINENO"
   6620 then :
   6621   xorg_cv_cc_flag_unused_command_line_argument=yes
   6622 else case e in #(
   6623   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6624 esac
   6625 fi
   6626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6627 esac
   6628 fi
   6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6632 	CFLAGS="$xorg_testset_save_CFLAGS"
   6633 fi
   6634 
   6635 found="no"
   6636 
   6637 	if test $found = "no" ; then
   6638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6640 		fi
   6641 
   6642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6644 		fi
   6645 
   6646 		CFLAGS="$CFLAGS -Wuninitialized"
   6647 
   6648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6649 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6650 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6651 		if eval test \${$cacheid+y}
   6652 then :
   6653   printf %s "(cached) " >&6
   6654 else case e in #(
   6655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 int
   6659 main (void)
   6660 {
   6661 
   6662   ;
   6663   return 0;
   6664 }
   6665 _ACEOF
   6666 if ac_fn_c_try_link "$LINENO"
   6667 then :
   6668   eval $cacheid=yes
   6669 else case e in #(
   6670   e) eval $cacheid=no ;;
   6671 esac
   6672 fi
   6673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6674     conftest$ac_exeext conftest.$ac_ext ;;
   6675 esac
   6676 fi
   6677 
   6678 
   6679 		CFLAGS="$xorg_testset_save_CFLAGS"
   6680 
   6681 		eval supported=\$$cacheid
   6682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6683 printf "%s\n" "$supported" >&6; }
   6684 		if test "$supported" = "yes" ; then
   6685 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6686 			found="yes"
   6687 		fi
   6688 	fi
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 xorg_testset_save_CFLAGS="$CFLAGS"
   6705 
   6706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6708 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6709 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6710 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6711 then :
   6712   printf %s "(cached) " >&6
   6713 else case e in #(
   6714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 _ACEOF
   6718 if ac_fn_c_try_compile "$LINENO"
   6719 then :
   6720   xorg_cv_cc_flag_unknown_warning_option=yes
   6721 else case e in #(
   6722   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6723 esac
   6724 fi
   6725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6726 esac
   6727 fi
   6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6729 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6731 	CFLAGS="$xorg_testset_save_CFLAGS"
   6732 fi
   6733 
   6734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6737 	fi
   6738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6740 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6741 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6742 then :
   6743   printf %s "(cached) " >&6
   6744 else case e in #(
   6745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 _ACEOF
   6749 if ac_fn_c_try_compile "$LINENO"
   6750 then :
   6751   xorg_cv_cc_flag_unused_command_line_argument=yes
   6752 else case e in #(
   6753   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6754 esac
   6755 fi
   6756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6757 esac
   6758 fi
   6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6760 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6762 	CFLAGS="$xorg_testset_save_CFLAGS"
   6763 fi
   6764 
   6765 found="no"
   6766 
   6767 	if test $found = "no" ; then
   6768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6770 		fi
   6771 
   6772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6774 		fi
   6775 
   6776 		CFLAGS="$CFLAGS -Wshadow"
   6777 
   6778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6779 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6780 		cacheid=xorg_cv_cc_flag__Wshadow
   6781 		if eval test \${$cacheid+y}
   6782 then :
   6783   printf %s "(cached) " >&6
   6784 else case e in #(
   6785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6786 /* end confdefs.h.  */
   6787 int i;
   6788 int
   6789 main (void)
   6790 {
   6791 
   6792   ;
   6793   return 0;
   6794 }
   6795 _ACEOF
   6796 if ac_fn_c_try_link "$LINENO"
   6797 then :
   6798   eval $cacheid=yes
   6799 else case e in #(
   6800   e) eval $cacheid=no ;;
   6801 esac
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6804     conftest$ac_exeext conftest.$ac_ext ;;
   6805 esac
   6806 fi
   6807 
   6808 
   6809 		CFLAGS="$xorg_testset_save_CFLAGS"
   6810 
   6811 		eval supported=\$$cacheid
   6812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6813 printf "%s\n" "$supported" >&6; }
   6814 		if test "$supported" = "yes" ; then
   6815 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6816 			found="yes"
   6817 		fi
   6818 	fi
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 xorg_testset_save_CFLAGS="$CFLAGS"
   6835 
   6836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6841 then :
   6842   printf %s "(cached) " >&6
   6843 else case e in #(
   6844   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 _ACEOF
   6848 if ac_fn_c_try_compile "$LINENO"
   6849 then :
   6850   xorg_cv_cc_flag_unknown_warning_option=yes
   6851 else case e in #(
   6852   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6853 esac
   6854 fi
   6855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6856 esac
   6857 fi
   6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6861 	CFLAGS="$xorg_testset_save_CFLAGS"
   6862 fi
   6863 
   6864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6867 	fi
   6868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6872 then :
   6873   printf %s "(cached) " >&6
   6874 else case e in #(
   6875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6876 /* end confdefs.h.  */
   6877 int i;
   6878 _ACEOF
   6879 if ac_fn_c_try_compile "$LINENO"
   6880 then :
   6881   xorg_cv_cc_flag_unused_command_line_argument=yes
   6882 else case e in #(
   6883   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6884 esac
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6887 esac
   6888 fi
   6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6892 	CFLAGS="$xorg_testset_save_CFLAGS"
   6893 fi
   6894 
   6895 found="no"
   6896 
   6897 	if test $found = "no" ; then
   6898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6900 		fi
   6901 
   6902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6904 		fi
   6905 
   6906 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6907 
   6908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6909 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6910 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6911 		if eval test \${$cacheid+y}
   6912 then :
   6913   printf %s "(cached) " >&6
   6914 else case e in #(
   6915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6916 /* end confdefs.h.  */
   6917 int i;
   6918 int
   6919 main (void)
   6920 {
   6921 
   6922   ;
   6923   return 0;
   6924 }
   6925 _ACEOF
   6926 if ac_fn_c_try_link "$LINENO"
   6927 then :
   6928   eval $cacheid=yes
   6929 else case e in #(
   6930   e) eval $cacheid=no ;;
   6931 esac
   6932 fi
   6933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6934     conftest$ac_exeext conftest.$ac_ext ;;
   6935 esac
   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-noreturn"
   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 case e in #(
   6974   e) 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 case e in #(
   6982   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6983 esac
   6984 fi
   6985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6986 esac
   6987 fi
   6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6991 	CFLAGS="$xorg_testset_save_CFLAGS"
   6992 fi
   6993 
   6994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6997 	fi
   6998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7002 then :
   7003   printf %s "(cached) " >&6
   7004 else case e in #(
   7005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 int i;
   7008 _ACEOF
   7009 if ac_fn_c_try_compile "$LINENO"
   7010 then :
   7011   xorg_cv_cc_flag_unused_command_line_argument=yes
   7012 else case e in #(
   7013   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7014 esac
   7015 fi
   7016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7017 esac
   7018 fi
   7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7020 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7022 	CFLAGS="$xorg_testset_save_CFLAGS"
   7023 fi
   7024 
   7025 found="no"
   7026 
   7027 	if test $found = "no" ; then
   7028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7030 		fi
   7031 
   7032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7034 		fi
   7035 
   7036 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7037 
   7038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7039 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7040 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7041 		if eval test \${$cacheid+y}
   7042 then :
   7043   printf %s "(cached) " >&6
   7044 else case e in #(
   7045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7046 /* end confdefs.h.  */
   7047 int i;
   7048 int
   7049 main (void)
   7050 {
   7051 
   7052   ;
   7053   return 0;
   7054 }
   7055 _ACEOF
   7056 if ac_fn_c_try_link "$LINENO"
   7057 then :
   7058   eval $cacheid=yes
   7059 else case e in #(
   7060   e) eval $cacheid=no ;;
   7061 esac
   7062 fi
   7063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7064     conftest$ac_exeext conftest.$ac_ext ;;
   7065 esac
   7066 fi
   7067 
   7068 
   7069 		CFLAGS="$xorg_testset_save_CFLAGS"
   7070 
   7071 		eval supported=\$$cacheid
   7072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7073 printf "%s\n" "$supported" >&6; }
   7074 		if test "$supported" = "yes" ; then
   7075 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7076 			found="yes"
   7077 		fi
   7078 	fi
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 xorg_testset_save_CFLAGS="$CFLAGS"
   7095 
   7096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7101 then :
   7102   printf %s "(cached) " >&6
   7103 else case e in #(
   7104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 int i;
   7107 _ACEOF
   7108 if ac_fn_c_try_compile "$LINENO"
   7109 then :
   7110   xorg_cv_cc_flag_unknown_warning_option=yes
   7111 else case e in #(
   7112   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7113 esac
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7116 esac
   7117 fi
   7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7119 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7121 	CFLAGS="$xorg_testset_save_CFLAGS"
   7122 fi
   7123 
   7124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7127 	fi
   7128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7130 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7131 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7132 then :
   7133   printf %s "(cached) " >&6
   7134 else case e in #(
   7135   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 _ACEOF
   7139 if ac_fn_c_try_compile "$LINENO"
   7140 then :
   7141   xorg_cv_cc_flag_unused_command_line_argument=yes
   7142 else case e in #(
   7143   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7144 esac
   7145 fi
   7146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7147 esac
   7148 fi
   7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7152 	CFLAGS="$xorg_testset_save_CFLAGS"
   7153 fi
   7154 
   7155 found="no"
   7156 
   7157 	if test $found = "no" ; then
   7158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 		fi
   7161 
   7162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7164 		fi
   7165 
   7166 		CFLAGS="$CFLAGS -Wredundant-decls"
   7167 
   7168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7169 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7170 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7171 		if eval test \${$cacheid+y}
   7172 then :
   7173   printf %s "(cached) " >&6
   7174 else case e in #(
   7175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7176 /* end confdefs.h.  */
   7177 int i;
   7178 int
   7179 main (void)
   7180 {
   7181 
   7182   ;
   7183   return 0;
   7184 }
   7185 _ACEOF
   7186 if ac_fn_c_try_link "$LINENO"
   7187 then :
   7188   eval $cacheid=yes
   7189 else case e in #(
   7190   e) eval $cacheid=no ;;
   7191 esac
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7194     conftest$ac_exeext conftest.$ac_ext ;;
   7195 esac
   7196 fi
   7197 
   7198 
   7199 		CFLAGS="$xorg_testset_save_CFLAGS"
   7200 
   7201 		eval supported=\$$cacheid
   7202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7203 printf "%s\n" "$supported" >&6; }
   7204 		if test "$supported" = "yes" ; then
   7205 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7206 			found="yes"
   7207 		fi
   7208 	fi
   7209 
   7210 
   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 case e in #(
   7234   e) 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 case e in #(
   7242   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7243 esac
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7246 esac
   7247 fi
   7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7249 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7251 	CFLAGS="$xorg_testset_save_CFLAGS"
   7252 fi
   7253 
   7254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7257 	fi
   7258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7260 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7261 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7262 then :
   7263   printf %s "(cached) " >&6
   7264 else case e in #(
   7265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7266 /* end confdefs.h.  */
   7267 int i;
   7268 _ACEOF
   7269 if ac_fn_c_try_compile "$LINENO"
   7270 then :
   7271   xorg_cv_cc_flag_unused_command_line_argument=yes
   7272 else case e in #(
   7273   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7274 esac
   7275 fi
   7276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7277 esac
   7278 fi
   7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7280 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7282 	CFLAGS="$xorg_testset_save_CFLAGS"
   7283 fi
   7284 
   7285 found="no"
   7286 
   7287 	if test $found = "no" ; then
   7288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7290 		fi
   7291 
   7292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7294 		fi
   7295 
   7296 		CFLAGS="$CFLAGS -Wlogical-op"
   7297 
   7298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7299 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7300 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7301 		if eval test \${$cacheid+y}
   7302 then :
   7303   printf %s "(cached) " >&6
   7304 else case e in #(
   7305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7306 /* end confdefs.h.  */
   7307 int i;
   7308 int
   7309 main (void)
   7310 {
   7311 
   7312   ;
   7313   return 0;
   7314 }
   7315 _ACEOF
   7316 if ac_fn_c_try_link "$LINENO"
   7317 then :
   7318   eval $cacheid=yes
   7319 else case e in #(
   7320   e) eval $cacheid=no ;;
   7321 esac
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7324     conftest$ac_exeext conftest.$ac_ext ;;
   7325 esac
   7326 fi
   7327 
   7328 
   7329 		CFLAGS="$xorg_testset_save_CFLAGS"
   7330 
   7331 		eval supported=\$$cacheid
   7332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7333 printf "%s\n" "$supported" >&6; }
   7334 		if test "$supported" = "yes" ; then
   7335 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7336 			found="yes"
   7337 		fi
   7338 	fi
   7339 
   7340 
   7341 
   7342 # These are currently disabled because they are noisy.  They will be enabled
   7343 # in the future once the codebase is sufficiently modernized to silence
   7344 # them.  For now, I don't want them to drown out the other warnings.
   7345 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7346 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7347 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7348 
   7349 # Turn some warnings into errors, so we don't accidentally get successful builds
   7350 # when there are problems that should be fixed.
   7351 
   7352 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 xorg_testset_save_CFLAGS="$CFLAGS"
   7367 
   7368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7373 then :
   7374   printf %s "(cached) " >&6
   7375 else case e in #(
   7376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 _ACEOF
   7380 if ac_fn_c_try_compile "$LINENO"
   7381 then :
   7382   xorg_cv_cc_flag_unknown_warning_option=yes
   7383 else case e in #(
   7384   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7385 esac
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7388 esac
   7389 fi
   7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7393 	CFLAGS="$xorg_testset_save_CFLAGS"
   7394 fi
   7395 
   7396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7399 	fi
   7400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7404 then :
   7405   printf %s "(cached) " >&6
   7406 else case e in #(
   7407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"
   7412 then :
   7413   xorg_cv_cc_flag_unused_command_line_argument=yes
   7414 else case e in #(
   7415   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7416 esac
   7417 fi
   7418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7419 esac
   7420 fi
   7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7422 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7424 	CFLAGS="$xorg_testset_save_CFLAGS"
   7425 fi
   7426 
   7427 found="no"
   7428 
   7429 	if test $found = "no" ; then
   7430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7432 		fi
   7433 
   7434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7436 		fi
   7437 
   7438 		CFLAGS="$CFLAGS -Werror=implicit"
   7439 
   7440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7441 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7442 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7443 		if eval test \${$cacheid+y}
   7444 then :
   7445   printf %s "(cached) " >&6
   7446 else case e in #(
   7447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7448 /* end confdefs.h.  */
   7449 int i;
   7450 int
   7451 main (void)
   7452 {
   7453 
   7454   ;
   7455   return 0;
   7456 }
   7457 _ACEOF
   7458 if ac_fn_c_try_link "$LINENO"
   7459 then :
   7460   eval $cacheid=yes
   7461 else case e in #(
   7462   e) eval $cacheid=no ;;
   7463 esac
   7464 fi
   7465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7466     conftest$ac_exeext conftest.$ac_ext ;;
   7467 esac
   7468 fi
   7469 
   7470 
   7471 		CFLAGS="$xorg_testset_save_CFLAGS"
   7472 
   7473 		eval supported=\$$cacheid
   7474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7475 printf "%s\n" "$supported" >&6; }
   7476 		if test "$supported" = "yes" ; then
   7477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7478 			found="yes"
   7479 		fi
   7480 	fi
   7481 
   7482 	if test $found = "no" ; then
   7483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7485 		fi
   7486 
   7487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7489 		fi
   7490 
   7491 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7492 
   7493 		{ 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
   7494 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7495 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7496 		if eval test \${$cacheid+y}
   7497 then :
   7498   printf %s "(cached) " >&6
   7499 else case e in #(
   7500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 int i;
   7503 int
   7504 main (void)
   7505 {
   7506 
   7507   ;
   7508   return 0;
   7509 }
   7510 _ACEOF
   7511 if ac_fn_c_try_link "$LINENO"
   7512 then :
   7513   eval $cacheid=yes
   7514 else case e in #(
   7515   e) eval $cacheid=no ;;
   7516 esac
   7517 fi
   7518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7519     conftest$ac_exeext conftest.$ac_ext ;;
   7520 esac
   7521 fi
   7522 
   7523 
   7524 		CFLAGS="$xorg_testset_save_CFLAGS"
   7525 
   7526 		eval supported=\$$cacheid
   7527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7528 printf "%s\n" "$supported" >&6; }
   7529 		if test "$supported" = "yes" ; then
   7530 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7531 			found="yes"
   7532 		fi
   7533 	fi
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 xorg_testset_save_CFLAGS="$CFLAGS"
   7550 
   7551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7554 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7555 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7556 then :
   7557   printf %s "(cached) " >&6
   7558 else case e in #(
   7559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7560 /* end confdefs.h.  */
   7561 int i;
   7562 _ACEOF
   7563 if ac_fn_c_try_compile "$LINENO"
   7564 then :
   7565   xorg_cv_cc_flag_unknown_warning_option=yes
   7566 else case e in #(
   7567   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7568 esac
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7571 esac
   7572 fi
   7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7574 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7576 	CFLAGS="$xorg_testset_save_CFLAGS"
   7577 fi
   7578 
   7579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7582 	fi
   7583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7585 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7586 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7587 then :
   7588   printf %s "(cached) " >&6
   7589 else case e in #(
   7590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7591 /* end confdefs.h.  */
   7592 int i;
   7593 _ACEOF
   7594 if ac_fn_c_try_compile "$LINENO"
   7595 then :
   7596   xorg_cv_cc_flag_unused_command_line_argument=yes
   7597 else case e in #(
   7598   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7599 esac
   7600 fi
   7601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7602 esac
   7603 fi
   7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7605 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7607 	CFLAGS="$xorg_testset_save_CFLAGS"
   7608 fi
   7609 
   7610 found="no"
   7611 
   7612 	if test $found = "no" ; then
   7613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 		fi
   7616 
   7617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7619 		fi
   7620 
   7621 		CFLAGS="$CFLAGS -Werror=nonnull"
   7622 
   7623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7624 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7625 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7626 		if eval test \${$cacheid+y}
   7627 then :
   7628   printf %s "(cached) " >&6
   7629 else case e in #(
   7630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7631 /* end confdefs.h.  */
   7632 int i;
   7633 int
   7634 main (void)
   7635 {
   7636 
   7637   ;
   7638   return 0;
   7639 }
   7640 _ACEOF
   7641 if ac_fn_c_try_link "$LINENO"
   7642 then :
   7643   eval $cacheid=yes
   7644 else case e in #(
   7645   e) eval $cacheid=no ;;
   7646 esac
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7649     conftest$ac_exeext conftest.$ac_ext ;;
   7650 esac
   7651 fi
   7652 
   7653 
   7654 		CFLAGS="$xorg_testset_save_CFLAGS"
   7655 
   7656 		eval supported=\$$cacheid
   7657 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7658 printf "%s\n" "$supported" >&6; }
   7659 		if test "$supported" = "yes" ; then
   7660 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7661 			found="yes"
   7662 		fi
   7663 	fi
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 xorg_testset_save_CFLAGS="$CFLAGS"
   7680 
   7681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7684 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7685 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7686 then :
   7687   printf %s "(cached) " >&6
   7688 else case e in #(
   7689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7690 /* end confdefs.h.  */
   7691 int i;
   7692 _ACEOF
   7693 if ac_fn_c_try_compile "$LINENO"
   7694 then :
   7695   xorg_cv_cc_flag_unknown_warning_option=yes
   7696 else case e in #(
   7697   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7698 esac
   7699 fi
   7700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7701 esac
   7702 fi
   7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7704 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7706 	CFLAGS="$xorg_testset_save_CFLAGS"
   7707 fi
   7708 
   7709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7712 	fi
   7713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7717 then :
   7718   printf %s "(cached) " >&6
   7719 else case e in #(
   7720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7721 /* end confdefs.h.  */
   7722 int i;
   7723 _ACEOF
   7724 if ac_fn_c_try_compile "$LINENO"
   7725 then :
   7726   xorg_cv_cc_flag_unused_command_line_argument=yes
   7727 else case e in #(
   7728   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7729 esac
   7730 fi
   7731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7732 esac
   7733 fi
   7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7735 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7737 	CFLAGS="$xorg_testset_save_CFLAGS"
   7738 fi
   7739 
   7740 found="no"
   7741 
   7742 	if test $found = "no" ; then
   7743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 		fi
   7746 
   7747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7749 		fi
   7750 
   7751 		CFLAGS="$CFLAGS -Werror=init-self"
   7752 
   7753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7754 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7755 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7756 		if eval test \${$cacheid+y}
   7757 then :
   7758   printf %s "(cached) " >&6
   7759 else case e in #(
   7760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7761 /* end confdefs.h.  */
   7762 int i;
   7763 int
   7764 main (void)
   7765 {
   7766 
   7767   ;
   7768   return 0;
   7769 }
   7770 _ACEOF
   7771 if ac_fn_c_try_link "$LINENO"
   7772 then :
   7773   eval $cacheid=yes
   7774 else case e in #(
   7775   e) eval $cacheid=no ;;
   7776 esac
   7777 fi
   7778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7779     conftest$ac_exeext conftest.$ac_ext ;;
   7780 esac
   7781 fi
   7782 
   7783 
   7784 		CFLAGS="$xorg_testset_save_CFLAGS"
   7785 
   7786 		eval supported=\$$cacheid
   7787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7788 printf "%s\n" "$supported" >&6; }
   7789 		if test "$supported" = "yes" ; then
   7790 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7791 			found="yes"
   7792 		fi
   7793 	fi
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 xorg_testset_save_CFLAGS="$CFLAGS"
   7810 
   7811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7816 then :
   7817   printf %s "(cached) " >&6
   7818 else case e in #(
   7819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 _ACEOF
   7823 if ac_fn_c_try_compile "$LINENO"
   7824 then :
   7825   xorg_cv_cc_flag_unknown_warning_option=yes
   7826 else case e in #(
   7827   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7828 esac
   7829 fi
   7830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7831 esac
   7832 fi
   7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7836 	CFLAGS="$xorg_testset_save_CFLAGS"
   7837 fi
   7838 
   7839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7842 	fi
   7843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7847 then :
   7848   printf %s "(cached) " >&6
   7849 else case e in #(
   7850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7851 /* end confdefs.h.  */
   7852 int i;
   7853 _ACEOF
   7854 if ac_fn_c_try_compile "$LINENO"
   7855 then :
   7856   xorg_cv_cc_flag_unused_command_line_argument=yes
   7857 else case e in #(
   7858   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7859 esac
   7860 fi
   7861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7862 esac
   7863 fi
   7864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7867 	CFLAGS="$xorg_testset_save_CFLAGS"
   7868 fi
   7869 
   7870 found="no"
   7871 
   7872 	if test $found = "no" ; then
   7873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7875 		fi
   7876 
   7877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7879 		fi
   7880 
   7881 		CFLAGS="$CFLAGS -Werror=main"
   7882 
   7883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7884 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7885 		cacheid=xorg_cv_cc_flag__Werror_main
   7886 		if eval test \${$cacheid+y}
   7887 then :
   7888   printf %s "(cached) " >&6
   7889 else case e in #(
   7890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 int
   7894 main (void)
   7895 {
   7896 
   7897   ;
   7898   return 0;
   7899 }
   7900 _ACEOF
   7901 if ac_fn_c_try_link "$LINENO"
   7902 then :
   7903   eval $cacheid=yes
   7904 else case e in #(
   7905   e) eval $cacheid=no ;;
   7906 esac
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7909     conftest$ac_exeext conftest.$ac_ext ;;
   7910 esac
   7911 fi
   7912 
   7913 
   7914 		CFLAGS="$xorg_testset_save_CFLAGS"
   7915 
   7916 		eval supported=\$$cacheid
   7917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7918 printf "%s\n" "$supported" >&6; }
   7919 		if test "$supported" = "yes" ; then
   7920 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7921 			found="yes"
   7922 		fi
   7923 	fi
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 xorg_testset_save_CFLAGS="$CFLAGS"
   7940 
   7941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7946 then :
   7947   printf %s "(cached) " >&6
   7948 else case e in #(
   7949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7950 /* end confdefs.h.  */
   7951 int i;
   7952 _ACEOF
   7953 if ac_fn_c_try_compile "$LINENO"
   7954 then :
   7955   xorg_cv_cc_flag_unknown_warning_option=yes
   7956 else case e in #(
   7957   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7958 esac
   7959 fi
   7960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7961 esac
   7962 fi
   7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7966 	CFLAGS="$xorg_testset_save_CFLAGS"
   7967 fi
   7968 
   7969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 	fi
   7973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7977 then :
   7978   printf %s "(cached) " >&6
   7979 else case e in #(
   7980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int i;
   7983 _ACEOF
   7984 if ac_fn_c_try_compile "$LINENO"
   7985 then :
   7986   xorg_cv_cc_flag_unused_command_line_argument=yes
   7987 else case e in #(
   7988   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7989 esac
   7990 fi
   7991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7992 esac
   7993 fi
   7994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7997 	CFLAGS="$xorg_testset_save_CFLAGS"
   7998 fi
   7999 
   8000 found="no"
   8001 
   8002 	if test $found = "no" ; then
   8003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8005 		fi
   8006 
   8007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8009 		fi
   8010 
   8011 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8012 
   8013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8014 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8015 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8016 		if eval test \${$cacheid+y}
   8017 then :
   8018   printf %s "(cached) " >&6
   8019 else case e in #(
   8020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8021 /* end confdefs.h.  */
   8022 int i;
   8023 int
   8024 main (void)
   8025 {
   8026 
   8027   ;
   8028   return 0;
   8029 }
   8030 _ACEOF
   8031 if ac_fn_c_try_link "$LINENO"
   8032 then :
   8033   eval $cacheid=yes
   8034 else case e in #(
   8035   e) eval $cacheid=no ;;
   8036 esac
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8039     conftest$ac_exeext conftest.$ac_ext ;;
   8040 esac
   8041 fi
   8042 
   8043 
   8044 		CFLAGS="$xorg_testset_save_CFLAGS"
   8045 
   8046 		eval supported=\$$cacheid
   8047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8048 printf "%s\n" "$supported" >&6; }
   8049 		if test "$supported" = "yes" ; then
   8050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8051 			found="yes"
   8052 		fi
   8053 	fi
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 xorg_testset_save_CFLAGS="$CFLAGS"
   8070 
   8071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8076 then :
   8077   printf %s "(cached) " >&6
   8078 else case e in #(
   8079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8080 /* end confdefs.h.  */
   8081 int i;
   8082 _ACEOF
   8083 if ac_fn_c_try_compile "$LINENO"
   8084 then :
   8085   xorg_cv_cc_flag_unknown_warning_option=yes
   8086 else case e in #(
   8087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8088 esac
   8089 fi
   8090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8091 esac
   8092 fi
   8093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8096 	CFLAGS="$xorg_testset_save_CFLAGS"
   8097 fi
   8098 
   8099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 	fi
   8103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8107 then :
   8108   printf %s "(cached) " >&6
   8109 else case e in #(
   8110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8111 /* end confdefs.h.  */
   8112 int i;
   8113 _ACEOF
   8114 if ac_fn_c_try_compile "$LINENO"
   8115 then :
   8116   xorg_cv_cc_flag_unused_command_line_argument=yes
   8117 else case e in #(
   8118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8119 esac
   8120 fi
   8121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8122 esac
   8123 fi
   8124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8127 	CFLAGS="$xorg_testset_save_CFLAGS"
   8128 fi
   8129 
   8130 found="no"
   8131 
   8132 	if test $found = "no" ; then
   8133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8135 		fi
   8136 
   8137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8139 		fi
   8140 
   8141 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8142 
   8143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8144 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8145 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8146 		if eval test \${$cacheid+y}
   8147 then :
   8148   printf %s "(cached) " >&6
   8149 else case e in #(
   8150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8151 /* end confdefs.h.  */
   8152 int i;
   8153 int
   8154 main (void)
   8155 {
   8156 
   8157   ;
   8158   return 0;
   8159 }
   8160 _ACEOF
   8161 if ac_fn_c_try_link "$LINENO"
   8162 then :
   8163   eval $cacheid=yes
   8164 else case e in #(
   8165   e) eval $cacheid=no ;;
   8166 esac
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8169     conftest$ac_exeext conftest.$ac_ext ;;
   8170 esac
   8171 fi
   8172 
   8173 
   8174 		CFLAGS="$xorg_testset_save_CFLAGS"
   8175 
   8176 		eval supported=\$$cacheid
   8177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8178 printf "%s\n" "$supported" >&6; }
   8179 		if test "$supported" = "yes" ; then
   8180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8181 			found="yes"
   8182 		fi
   8183 	fi
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 xorg_testset_save_CFLAGS="$CFLAGS"
   8200 
   8201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8204 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8205 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8206 then :
   8207   printf %s "(cached) " >&6
   8208 else case e in #(
   8209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8210 /* end confdefs.h.  */
   8211 int i;
   8212 _ACEOF
   8213 if ac_fn_c_try_compile "$LINENO"
   8214 then :
   8215   xorg_cv_cc_flag_unknown_warning_option=yes
   8216 else case e in #(
   8217   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8218 esac
   8219 fi
   8220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8221 esac
   8222 fi
   8223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8224 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8226 	CFLAGS="$xorg_testset_save_CFLAGS"
   8227 fi
   8228 
   8229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8232 	fi
   8233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8237 then :
   8238   printf %s "(cached) " >&6
   8239 else case e in #(
   8240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 _ACEOF
   8244 if ac_fn_c_try_compile "$LINENO"
   8245 then :
   8246   xorg_cv_cc_flag_unused_command_line_argument=yes
   8247 else case e in #(
   8248   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8249 esac
   8250 fi
   8251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8252 esac
   8253 fi
   8254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8255 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8257 	CFLAGS="$xorg_testset_save_CFLAGS"
   8258 fi
   8259 
   8260 found="no"
   8261 
   8262 	if test $found = "no" ; then
   8263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8265 		fi
   8266 
   8267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8269 		fi
   8270 
   8271 		CFLAGS="$CFLAGS -Werror=return-type"
   8272 
   8273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8274 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8275 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8276 		if eval test \${$cacheid+y}
   8277 then :
   8278   printf %s "(cached) " >&6
   8279 else case e in #(
   8280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8281 /* end confdefs.h.  */
   8282 int i;
   8283 int
   8284 main (void)
   8285 {
   8286 
   8287   ;
   8288   return 0;
   8289 }
   8290 _ACEOF
   8291 if ac_fn_c_try_link "$LINENO"
   8292 then :
   8293   eval $cacheid=yes
   8294 else case e in #(
   8295   e) eval $cacheid=no ;;
   8296 esac
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8299     conftest$ac_exeext conftest.$ac_ext ;;
   8300 esac
   8301 fi
   8302 
   8303 
   8304 		CFLAGS="$xorg_testset_save_CFLAGS"
   8305 
   8306 		eval supported=\$$cacheid
   8307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8308 printf "%s\n" "$supported" >&6; }
   8309 		if test "$supported" = "yes" ; then
   8310 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8311 			found="yes"
   8312 		fi
   8313 	fi
   8314 
   8315 	if test $found = "no" ; then
   8316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 		fi
   8319 
   8320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8322 		fi
   8323 
   8324 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8325 
   8326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8327 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8328 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8329 		if eval test \${$cacheid+y}
   8330 then :
   8331   printf %s "(cached) " >&6
   8332 else case e in #(
   8333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8334 /* end confdefs.h.  */
   8335 int i;
   8336 int
   8337 main (void)
   8338 {
   8339 
   8340   ;
   8341   return 0;
   8342 }
   8343 _ACEOF
   8344 if ac_fn_c_try_link "$LINENO"
   8345 then :
   8346   eval $cacheid=yes
   8347 else case e in #(
   8348   e) eval $cacheid=no ;;
   8349 esac
   8350 fi
   8351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8352     conftest$ac_exeext conftest.$ac_ext ;;
   8353 esac
   8354 fi
   8355 
   8356 
   8357 		CFLAGS="$xorg_testset_save_CFLAGS"
   8358 
   8359 		eval supported=\$$cacheid
   8360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8361 printf "%s\n" "$supported" >&6; }
   8362 		if test "$supported" = "yes" ; then
   8363 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8364 			found="yes"
   8365 		fi
   8366 	fi
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 xorg_testset_save_CFLAGS="$CFLAGS"
   8383 
   8384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8389 then :
   8390   printf %s "(cached) " >&6
   8391 else case e in #(
   8392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8393 /* end confdefs.h.  */
   8394 int i;
   8395 _ACEOF
   8396 if ac_fn_c_try_compile "$LINENO"
   8397 then :
   8398   xorg_cv_cc_flag_unknown_warning_option=yes
   8399 else case e in #(
   8400   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8401 esac
   8402 fi
   8403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8404 esac
   8405 fi
   8406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8407 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8409 	CFLAGS="$xorg_testset_save_CFLAGS"
   8410 fi
   8411 
   8412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8415 	fi
   8416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8418 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8419 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8420 then :
   8421   printf %s "(cached) " >&6
   8422 else case e in #(
   8423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8424 /* end confdefs.h.  */
   8425 int i;
   8426 _ACEOF
   8427 if ac_fn_c_try_compile "$LINENO"
   8428 then :
   8429   xorg_cv_cc_flag_unused_command_line_argument=yes
   8430 else case e in #(
   8431   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8432 esac
   8433 fi
   8434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8435 esac
   8436 fi
   8437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8438 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8439 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8440 	CFLAGS="$xorg_testset_save_CFLAGS"
   8441 fi
   8442 
   8443 found="no"
   8444 
   8445 	if test $found = "no" ; then
   8446 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 		fi
   8449 
   8450 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8452 		fi
   8453 
   8454 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8455 
   8456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8457 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8458 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8459 		if eval test \${$cacheid+y}
   8460 then :
   8461   printf %s "(cached) " >&6
   8462 else case e in #(
   8463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 int
   8467 main (void)
   8468 {
   8469 
   8470   ;
   8471   return 0;
   8472 }
   8473 _ACEOF
   8474 if ac_fn_c_try_link "$LINENO"
   8475 then :
   8476   eval $cacheid=yes
   8477 else case e in #(
   8478   e) eval $cacheid=no ;;
   8479 esac
   8480 fi
   8481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8482     conftest$ac_exeext conftest.$ac_ext ;;
   8483 esac
   8484 fi
   8485 
   8486 
   8487 		CFLAGS="$xorg_testset_save_CFLAGS"
   8488 
   8489 		eval supported=\$$cacheid
   8490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8491 printf "%s\n" "$supported" >&6; }
   8492 		if test "$supported" = "yes" ; then
   8493 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8494 			found="yes"
   8495 		fi
   8496 	fi
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 xorg_testset_save_CFLAGS="$CFLAGS"
   8513 
   8514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8517 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8518 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8519 then :
   8520   printf %s "(cached) " >&6
   8521 else case e in #(
   8522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8523 /* end confdefs.h.  */
   8524 int i;
   8525 _ACEOF
   8526 if ac_fn_c_try_compile "$LINENO"
   8527 then :
   8528   xorg_cv_cc_flag_unknown_warning_option=yes
   8529 else case e in #(
   8530   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8531 esac
   8532 fi
   8533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8534 esac
   8535 fi
   8536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8537 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8539 	CFLAGS="$xorg_testset_save_CFLAGS"
   8540 fi
   8541 
   8542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8545 	fi
   8546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8548 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8549 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8550 then :
   8551   printf %s "(cached) " >&6
   8552 else case e in #(
   8553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8554 /* end confdefs.h.  */
   8555 int i;
   8556 _ACEOF
   8557 if ac_fn_c_try_compile "$LINENO"
   8558 then :
   8559   xorg_cv_cc_flag_unused_command_line_argument=yes
   8560 else case e in #(
   8561   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8562 esac
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8565 esac
   8566 fi
   8567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8568 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8570 	CFLAGS="$xorg_testset_save_CFLAGS"
   8571 fi
   8572 
   8573 found="no"
   8574 
   8575 	if test $found = "no" ; then
   8576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 		fi
   8579 
   8580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8582 		fi
   8583 
   8584 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8585 
   8586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8587 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8588 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8589 		if eval test \${$cacheid+y}
   8590 then :
   8591   printf %s "(cached) " >&6
   8592 else case e in #(
   8593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8594 /* end confdefs.h.  */
   8595 int i;
   8596 int
   8597 main (void)
   8598 {
   8599 
   8600   ;
   8601   return 0;
   8602 }
   8603 _ACEOF
   8604 if ac_fn_c_try_link "$LINENO"
   8605 then :
   8606   eval $cacheid=yes
   8607 else case e in #(
   8608   e) eval $cacheid=no ;;
   8609 esac
   8610 fi
   8611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8612     conftest$ac_exeext conftest.$ac_ext ;;
   8613 esac
   8614 fi
   8615 
   8616 
   8617 		CFLAGS="$xorg_testset_save_CFLAGS"
   8618 
   8619 		eval supported=\$$cacheid
   8620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8621 printf "%s\n" "$supported" >&6; }
   8622 		if test "$supported" = "yes" ; then
   8623 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8624 			found="yes"
   8625 		fi
   8626 	fi
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 xorg_testset_save_CFLAGS="$CFLAGS"
   8643 
   8644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8649 then :
   8650   printf %s "(cached) " >&6
   8651 else case e in #(
   8652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653 /* end confdefs.h.  */
   8654 int i;
   8655 _ACEOF
   8656 if ac_fn_c_try_compile "$LINENO"
   8657 then :
   8658   xorg_cv_cc_flag_unknown_warning_option=yes
   8659 else case e in #(
   8660   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8661 esac
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8664 esac
   8665 fi
   8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8667 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8669 	CFLAGS="$xorg_testset_save_CFLAGS"
   8670 fi
   8671 
   8672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8675 	fi
   8676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8678 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8679 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8680 then :
   8681   printf %s "(cached) " >&6
   8682 else case e in #(
   8683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8684 /* end confdefs.h.  */
   8685 int i;
   8686 _ACEOF
   8687 if ac_fn_c_try_compile "$LINENO"
   8688 then :
   8689   xorg_cv_cc_flag_unused_command_line_argument=yes
   8690 else case e in #(
   8691   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8692 esac
   8693 fi
   8694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8695 esac
   8696 fi
   8697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8698 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8700 	CFLAGS="$xorg_testset_save_CFLAGS"
   8701 fi
   8702 
   8703 found="no"
   8704 
   8705 	if test $found = "no" ; then
   8706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 		fi
   8709 
   8710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8712 		fi
   8713 
   8714 		CFLAGS="$CFLAGS -Werror=write-strings"
   8715 
   8716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8717 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8718 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8719 		if eval test \${$cacheid+y}
   8720 then :
   8721   printf %s "(cached) " >&6
   8722 else case e in #(
   8723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8724 /* end confdefs.h.  */
   8725 int i;
   8726 int
   8727 main (void)
   8728 {
   8729 
   8730   ;
   8731   return 0;
   8732 }
   8733 _ACEOF
   8734 if ac_fn_c_try_link "$LINENO"
   8735 then :
   8736   eval $cacheid=yes
   8737 else case e in #(
   8738   e) eval $cacheid=no ;;
   8739 esac
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8742     conftest$ac_exeext conftest.$ac_ext ;;
   8743 esac
   8744 fi
   8745 
   8746 
   8747 		CFLAGS="$xorg_testset_save_CFLAGS"
   8748 
   8749 		eval supported=\$$cacheid
   8750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8751 printf "%s\n" "$supported" >&6; }
   8752 		if test "$supported" = "yes" ; then
   8753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8754 			found="yes"
   8755 		fi
   8756 	fi
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 xorg_testset_save_CFLAGS="$CFLAGS"
   8773 
   8774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8779 then :
   8780   printf %s "(cached) " >&6
   8781 else case e in #(
   8782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8783 /* end confdefs.h.  */
   8784 int i;
   8785 _ACEOF
   8786 if ac_fn_c_try_compile "$LINENO"
   8787 then :
   8788   xorg_cv_cc_flag_unknown_warning_option=yes
   8789 else case e in #(
   8790   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8791 esac
   8792 fi
   8793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8794 esac
   8795 fi
   8796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8799 	CFLAGS="$xorg_testset_save_CFLAGS"
   8800 fi
   8801 
   8802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8805 	fi
   8806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8810 then :
   8811   printf %s "(cached) " >&6
   8812 else case e in #(
   8813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 int i;
   8816 _ACEOF
   8817 if ac_fn_c_try_compile "$LINENO"
   8818 then :
   8819   xorg_cv_cc_flag_unused_command_line_argument=yes
   8820 else case e in #(
   8821   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8822 esac
   8823 fi
   8824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8825 esac
   8826 fi
   8827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8828 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8830 	CFLAGS="$xorg_testset_save_CFLAGS"
   8831 fi
   8832 
   8833 found="no"
   8834 
   8835 	if test $found = "no" ; then
   8836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 		fi
   8839 
   8840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8842 		fi
   8843 
   8844 		CFLAGS="$CFLAGS -Werror=address"
   8845 
   8846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8847 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8848 		cacheid=xorg_cv_cc_flag__Werror_address
   8849 		if eval test \${$cacheid+y}
   8850 then :
   8851   printf %s "(cached) " >&6
   8852 else case e in #(
   8853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8854 /* end confdefs.h.  */
   8855 int i;
   8856 int
   8857 main (void)
   8858 {
   8859 
   8860   ;
   8861   return 0;
   8862 }
   8863 _ACEOF
   8864 if ac_fn_c_try_link "$LINENO"
   8865 then :
   8866   eval $cacheid=yes
   8867 else case e in #(
   8868   e) eval $cacheid=no ;;
   8869 esac
   8870 fi
   8871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8872     conftest$ac_exeext conftest.$ac_ext ;;
   8873 esac
   8874 fi
   8875 
   8876 
   8877 		CFLAGS="$xorg_testset_save_CFLAGS"
   8878 
   8879 		eval supported=\$$cacheid
   8880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8881 printf "%s\n" "$supported" >&6; }
   8882 		if test "$supported" = "yes" ; then
   8883 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8884 			found="yes"
   8885 		fi
   8886 	fi
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 xorg_testset_save_CFLAGS="$CFLAGS"
   8903 
   8904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8907 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8908 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8909 then :
   8910   printf %s "(cached) " >&6
   8911 else case e in #(
   8912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 int i;
   8915 _ACEOF
   8916 if ac_fn_c_try_compile "$LINENO"
   8917 then :
   8918   xorg_cv_cc_flag_unknown_warning_option=yes
   8919 else case e in #(
   8920   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8921 esac
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8924 esac
   8925 fi
   8926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8927 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8929 	CFLAGS="$xorg_testset_save_CFLAGS"
   8930 fi
   8931 
   8932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8935 	fi
   8936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8937 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8938 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8939 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8940 then :
   8941   printf %s "(cached) " >&6
   8942 else case e in #(
   8943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8944 /* end confdefs.h.  */
   8945 int i;
   8946 _ACEOF
   8947 if ac_fn_c_try_compile "$LINENO"
   8948 then :
   8949   xorg_cv_cc_flag_unused_command_line_argument=yes
   8950 else case e in #(
   8951   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8952 esac
   8953 fi
   8954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8955 esac
   8956 fi
   8957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8958 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8960 	CFLAGS="$xorg_testset_save_CFLAGS"
   8961 fi
   8962 
   8963 found="no"
   8964 
   8965 	if test $found = "no" ; then
   8966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 		fi
   8969 
   8970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8972 		fi
   8973 
   8974 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8975 
   8976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8977 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8978 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8979 		if eval test \${$cacheid+y}
   8980 then :
   8981   printf %s "(cached) " >&6
   8982 else case e in #(
   8983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 int i;
   8986 int
   8987 main (void)
   8988 {
   8989 
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"
   8995 then :
   8996   eval $cacheid=yes
   8997 else case e in #(
   8998   e) eval $cacheid=no ;;
   8999 esac
   9000 fi
   9001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9002     conftest$ac_exeext conftest.$ac_ext ;;
   9003 esac
   9004 fi
   9005 
   9006 
   9007 		CFLAGS="$xorg_testset_save_CFLAGS"
   9008 
   9009 		eval supported=\$$cacheid
   9010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9011 printf "%s\n" "$supported" >&6; }
   9012 		if test "$supported" = "yes" ; then
   9013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9014 			found="yes"
   9015 		fi
   9016 	fi
   9017 
   9018 	if test $found = "no" ; then
   9019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 		fi
   9022 
   9023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 		fi
   9026 
   9027 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9028 
   9029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9030 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9031 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9032 		if eval test \${$cacheid+y}
   9033 then :
   9034   printf %s "(cached) " >&6
   9035 else case e in #(
   9036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9037 /* end confdefs.h.  */
   9038 int i;
   9039 int
   9040 main (void)
   9041 {
   9042 
   9043   ;
   9044   return 0;
   9045 }
   9046 _ACEOF
   9047 if ac_fn_c_try_link "$LINENO"
   9048 then :
   9049   eval $cacheid=yes
   9050 else case e in #(
   9051   e) eval $cacheid=no ;;
   9052 esac
   9053 fi
   9054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9055     conftest$ac_exeext conftest.$ac_ext ;;
   9056 esac
   9057 fi
   9058 
   9059 
   9060 		CFLAGS="$xorg_testset_save_CFLAGS"
   9061 
   9062 		eval supported=\$$cacheid
   9063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9064 printf "%s\n" "$supported" >&6; }
   9065 		if test "$supported" = "yes" ; then
   9066 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9067 			found="yes"
   9068 		fi
   9069 	fi
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 xorg_testset_save_CFLAGS="$CFLAGS"
   9086 
   9087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9092 then :
   9093   printf %s "(cached) " >&6
   9094 else case e in #(
   9095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9096 /* end confdefs.h.  */
   9097 int i;
   9098 _ACEOF
   9099 if ac_fn_c_try_compile "$LINENO"
   9100 then :
   9101   xorg_cv_cc_flag_unknown_warning_option=yes
   9102 else case e in #(
   9103   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9104 esac
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9107 esac
   9108 fi
   9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9112 	CFLAGS="$xorg_testset_save_CFLAGS"
   9113 fi
   9114 
   9115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9118 	fi
   9119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9123 then :
   9124   printf %s "(cached) " >&6
   9125 else case e in #(
   9126   e) 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_unused_command_line_argument=yes
   9133 else case e in #(
   9134   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9135 esac
   9136 fi
   9137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9138 esac
   9139 fi
   9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9143 	CFLAGS="$xorg_testset_save_CFLAGS"
   9144 fi
   9145 
   9146 found="no"
   9147 
   9148 	if test $found = "no" ; then
   9149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 		fi
   9152 
   9153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9155 		fi
   9156 
   9157 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9158 
   9159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9160 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9161 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9162 		if eval test \${$cacheid+y}
   9163 then :
   9164   printf %s "(cached) " >&6
   9165 else case e in #(
   9166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9167 /* end confdefs.h.  */
   9168 int i;
   9169 int
   9170 main (void)
   9171 {
   9172 
   9173   ;
   9174   return 0;
   9175 }
   9176 _ACEOF
   9177 if ac_fn_c_try_link "$LINENO"
   9178 then :
   9179   eval $cacheid=yes
   9180 else case e in #(
   9181   e) eval $cacheid=no ;;
   9182 esac
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9185     conftest$ac_exeext conftest.$ac_ext ;;
   9186 esac
   9187 fi
   9188 
   9189 
   9190 		CFLAGS="$xorg_testset_save_CFLAGS"
   9191 
   9192 		eval supported=\$$cacheid
   9193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9194 printf "%s\n" "$supported" >&6; }
   9195 		if test "$supported" = "yes" ; then
   9196 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9197 			found="yes"
   9198 		fi
   9199 	fi
   9200 
   9201  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9202 else
   9203 { 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
   9204 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;}
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 xorg_testset_save_CFLAGS="$CFLAGS"
   9219 
   9220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9225 then :
   9226   printf %s "(cached) " >&6
   9227 else case e in #(
   9228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9229 /* end confdefs.h.  */
   9230 int i;
   9231 _ACEOF
   9232 if ac_fn_c_try_compile "$LINENO"
   9233 then :
   9234   xorg_cv_cc_flag_unknown_warning_option=yes
   9235 else case e in #(
   9236   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9237 esac
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9240 esac
   9241 fi
   9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9243 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9245 	CFLAGS="$xorg_testset_save_CFLAGS"
   9246 fi
   9247 
   9248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9251 	fi
   9252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9256 then :
   9257   printf %s "(cached) " >&6
   9258 else case e in #(
   9259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9260 /* end confdefs.h.  */
   9261 int i;
   9262 _ACEOF
   9263 if ac_fn_c_try_compile "$LINENO"
   9264 then :
   9265   xorg_cv_cc_flag_unused_command_line_argument=yes
   9266 else case e in #(
   9267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9268 esac
   9269 fi
   9270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9271 esac
   9272 fi
   9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9276 	CFLAGS="$xorg_testset_save_CFLAGS"
   9277 fi
   9278 
   9279 found="no"
   9280 
   9281 	if test $found = "no" ; then
   9282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9284 		fi
   9285 
   9286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9288 		fi
   9289 
   9290 		CFLAGS="$CFLAGS -Wimplicit"
   9291 
   9292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9293 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9294 		cacheid=xorg_cv_cc_flag__Wimplicit
   9295 		if eval test \${$cacheid+y}
   9296 then :
   9297   printf %s "(cached) " >&6
   9298 else case e in #(
   9299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int i;
   9302 int
   9303 main (void)
   9304 {
   9305 
   9306   ;
   9307   return 0;
   9308 }
   9309 _ACEOF
   9310 if ac_fn_c_try_link "$LINENO"
   9311 then :
   9312   eval $cacheid=yes
   9313 else case e in #(
   9314   e) eval $cacheid=no ;;
   9315 esac
   9316 fi
   9317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9318     conftest$ac_exeext conftest.$ac_ext ;;
   9319 esac
   9320 fi
   9321 
   9322 
   9323 		CFLAGS="$xorg_testset_save_CFLAGS"
   9324 
   9325 		eval supported=\$$cacheid
   9326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9327 printf "%s\n" "$supported" >&6; }
   9328 		if test "$supported" = "yes" ; then
   9329 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9330 			found="yes"
   9331 		fi
   9332 	fi
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 xorg_testset_save_CFLAGS="$CFLAGS"
   9349 
   9350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9355 then :
   9356   printf %s "(cached) " >&6
   9357 else case e in #(
   9358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 _ACEOF
   9362 if ac_fn_c_try_compile "$LINENO"
   9363 then :
   9364   xorg_cv_cc_flag_unknown_warning_option=yes
   9365 else case e in #(
   9366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9367 esac
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9370 esac
   9371 fi
   9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9375 	CFLAGS="$xorg_testset_save_CFLAGS"
   9376 fi
   9377 
   9378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9381 	fi
   9382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9386 then :
   9387   printf %s "(cached) " >&6
   9388 else case e in #(
   9389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9390 /* end confdefs.h.  */
   9391 int i;
   9392 _ACEOF
   9393 if ac_fn_c_try_compile "$LINENO"
   9394 then :
   9395   xorg_cv_cc_flag_unused_command_line_argument=yes
   9396 else case e in #(
   9397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9398 esac
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9401 esac
   9402 fi
   9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9406 	CFLAGS="$xorg_testset_save_CFLAGS"
   9407 fi
   9408 
   9409 found="no"
   9410 
   9411 	if test $found = "no" ; then
   9412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9414 		fi
   9415 
   9416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9418 		fi
   9419 
   9420 		CFLAGS="$CFLAGS -Wnonnull"
   9421 
   9422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9423 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9424 		cacheid=xorg_cv_cc_flag__Wnonnull
   9425 		if eval test \${$cacheid+y}
   9426 then :
   9427   printf %s "(cached) " >&6
   9428 else case e in #(
   9429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9430 /* end confdefs.h.  */
   9431 int i;
   9432 int
   9433 main (void)
   9434 {
   9435 
   9436   ;
   9437   return 0;
   9438 }
   9439 _ACEOF
   9440 if ac_fn_c_try_link "$LINENO"
   9441 then :
   9442   eval $cacheid=yes
   9443 else case e in #(
   9444   e) eval $cacheid=no ;;
   9445 esac
   9446 fi
   9447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9448     conftest$ac_exeext conftest.$ac_ext ;;
   9449 esac
   9450 fi
   9451 
   9452 
   9453 		CFLAGS="$xorg_testset_save_CFLAGS"
   9454 
   9455 		eval supported=\$$cacheid
   9456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9457 printf "%s\n" "$supported" >&6; }
   9458 		if test "$supported" = "yes" ; then
   9459 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9460 			found="yes"
   9461 		fi
   9462 	fi
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 xorg_testset_save_CFLAGS="$CFLAGS"
   9479 
   9480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9483 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9484 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9485 then :
   9486   printf %s "(cached) " >&6
   9487 else case e in #(
   9488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9489 /* end confdefs.h.  */
   9490 int i;
   9491 _ACEOF
   9492 if ac_fn_c_try_compile "$LINENO"
   9493 then :
   9494   xorg_cv_cc_flag_unknown_warning_option=yes
   9495 else case e in #(
   9496   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9497 esac
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9500 esac
   9501 fi
   9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9505 	CFLAGS="$xorg_testset_save_CFLAGS"
   9506 fi
   9507 
   9508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9511 	fi
   9512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9516 then :
   9517   printf %s "(cached) " >&6
   9518 else case e in #(
   9519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9520 /* end confdefs.h.  */
   9521 int i;
   9522 _ACEOF
   9523 if ac_fn_c_try_compile "$LINENO"
   9524 then :
   9525   xorg_cv_cc_flag_unused_command_line_argument=yes
   9526 else case e in #(
   9527   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9528 esac
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9531 esac
   9532 fi
   9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9534 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9536 	CFLAGS="$xorg_testset_save_CFLAGS"
   9537 fi
   9538 
   9539 found="no"
   9540 
   9541 	if test $found = "no" ; then
   9542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9544 		fi
   9545 
   9546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9548 		fi
   9549 
   9550 		CFLAGS="$CFLAGS -Winit-self"
   9551 
   9552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9553 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9554 		cacheid=xorg_cv_cc_flag__Winit_self
   9555 		if eval test \${$cacheid+y}
   9556 then :
   9557   printf %s "(cached) " >&6
   9558 else case e in #(
   9559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9560 /* end confdefs.h.  */
   9561 int i;
   9562 int
   9563 main (void)
   9564 {
   9565 
   9566   ;
   9567   return 0;
   9568 }
   9569 _ACEOF
   9570 if ac_fn_c_try_link "$LINENO"
   9571 then :
   9572   eval $cacheid=yes
   9573 else case e in #(
   9574   e) eval $cacheid=no ;;
   9575 esac
   9576 fi
   9577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9578     conftest$ac_exeext conftest.$ac_ext ;;
   9579 esac
   9580 fi
   9581 
   9582 
   9583 		CFLAGS="$xorg_testset_save_CFLAGS"
   9584 
   9585 		eval supported=\$$cacheid
   9586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9587 printf "%s\n" "$supported" >&6; }
   9588 		if test "$supported" = "yes" ; then
   9589 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9590 			found="yes"
   9591 		fi
   9592 	fi
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 xorg_testset_save_CFLAGS="$CFLAGS"
   9609 
   9610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9615 then :
   9616   printf %s "(cached) " >&6
   9617 else case e in #(
   9618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9619 /* end confdefs.h.  */
   9620 int i;
   9621 _ACEOF
   9622 if ac_fn_c_try_compile "$LINENO"
   9623 then :
   9624   xorg_cv_cc_flag_unknown_warning_option=yes
   9625 else case e in #(
   9626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9627 esac
   9628 fi
   9629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9630 esac
   9631 fi
   9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9641 	fi
   9642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9646 then :
   9647   printf %s "(cached) " >&6
   9648 else case e in #(
   9649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"
   9654 then :
   9655   xorg_cv_cc_flag_unused_command_line_argument=yes
   9656 else case e in #(
   9657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9658 esac
   9659 fi
   9660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9661 esac
   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 -Wmain"
   9681 
   9682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9683 printf %s "checking if $CC supports -Wmain... " >&6; }
   9684 		cacheid=xorg_cv_cc_flag__Wmain
   9685 		if eval test \${$cacheid+y}
   9686 then :
   9687   printf %s "(cached) " >&6
   9688 else case e in #(
   9689   e) 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 case e in #(
   9704   e) eval $cacheid=no ;;
   9705 esac
   9706 fi
   9707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9708     conftest$ac_exeext conftest.$ac_ext ;;
   9709 esac
   9710 fi
   9711 
   9712 
   9713 		CFLAGS="$xorg_testset_save_CFLAGS"
   9714 
   9715 		eval supported=\$$cacheid
   9716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9717 printf "%s\n" "$supported" >&6; }
   9718 		if test "$supported" = "yes" ; then
   9719 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9720 			found="yes"
   9721 		fi
   9722 	fi
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 xorg_testset_save_CFLAGS="$CFLAGS"
   9739 
   9740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9743 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9744 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9745 then :
   9746   printf %s "(cached) " >&6
   9747 else case e in #(
   9748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 _ACEOF
   9752 if ac_fn_c_try_compile "$LINENO"
   9753 then :
   9754   xorg_cv_cc_flag_unknown_warning_option=yes
   9755 else case e in #(
   9756   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9757 esac
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9760 esac
   9761 fi
   9762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9765 	CFLAGS="$xorg_testset_save_CFLAGS"
   9766 fi
   9767 
   9768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9771 	fi
   9772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9776 then :
   9777   printf %s "(cached) " >&6
   9778 else case e in #(
   9779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9780 /* end confdefs.h.  */
   9781 int i;
   9782 _ACEOF
   9783 if ac_fn_c_try_compile "$LINENO"
   9784 then :
   9785   xorg_cv_cc_flag_unused_command_line_argument=yes
   9786 else case e in #(
   9787   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9788 esac
   9789 fi
   9790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9791 esac
   9792 fi
   9793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9796 	CFLAGS="$xorg_testset_save_CFLAGS"
   9797 fi
   9798 
   9799 found="no"
   9800 
   9801 	if test $found = "no" ; then
   9802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9804 		fi
   9805 
   9806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9808 		fi
   9809 
   9810 		CFLAGS="$CFLAGS -Wmissing-braces"
   9811 
   9812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9813 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9814 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9815 		if eval test \${$cacheid+y}
   9816 then :
   9817   printf %s "(cached) " >&6
   9818 else case e in #(
   9819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9820 /* end confdefs.h.  */
   9821 int i;
   9822 int
   9823 main (void)
   9824 {
   9825 
   9826   ;
   9827   return 0;
   9828 }
   9829 _ACEOF
   9830 if ac_fn_c_try_link "$LINENO"
   9831 then :
   9832   eval $cacheid=yes
   9833 else case e in #(
   9834   e) eval $cacheid=no ;;
   9835 esac
   9836 fi
   9837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9838     conftest$ac_exeext conftest.$ac_ext ;;
   9839 esac
   9840 fi
   9841 
   9842 
   9843 		CFLAGS="$xorg_testset_save_CFLAGS"
   9844 
   9845 		eval supported=\$$cacheid
   9846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9847 printf "%s\n" "$supported" >&6; }
   9848 		if test "$supported" = "yes" ; then
   9849 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9850 			found="yes"
   9851 		fi
   9852 	fi
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 xorg_testset_save_CFLAGS="$CFLAGS"
   9869 
   9870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9873 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9874 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9875 then :
   9876   printf %s "(cached) " >&6
   9877 else case e in #(
   9878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9879 /* end confdefs.h.  */
   9880 int i;
   9881 _ACEOF
   9882 if ac_fn_c_try_compile "$LINENO"
   9883 then :
   9884   xorg_cv_cc_flag_unknown_warning_option=yes
   9885 else case e in #(
   9886   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9887 esac
   9888 fi
   9889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9890 esac
   9891 fi
   9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	fi
   9902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9906 then :
   9907   printf %s "(cached) " >&6
   9908 else case e in #(
   9909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9910 /* end confdefs.h.  */
   9911 int i;
   9912 _ACEOF
   9913 if ac_fn_c_try_compile "$LINENO"
   9914 then :
   9915   xorg_cv_cc_flag_unused_command_line_argument=yes
   9916 else case e in #(
   9917   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9918 esac
   9919 fi
   9920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9921 esac
   9922 fi
   9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9924 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 found="no"
   9930 
   9931 	if test $found = "no" ; then
   9932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 		fi
   9935 
   9936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 		fi
   9939 
   9940 		CFLAGS="$CFLAGS -Wsequence-point"
   9941 
   9942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9943 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9944 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9945 		if eval test \${$cacheid+y}
   9946 then :
   9947   printf %s "(cached) " >&6
   9948 else case e in #(
   9949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9950 /* end confdefs.h.  */
   9951 int i;
   9952 int
   9953 main (void)
   9954 {
   9955 
   9956   ;
   9957   return 0;
   9958 }
   9959 _ACEOF
   9960 if ac_fn_c_try_link "$LINENO"
   9961 then :
   9962   eval $cacheid=yes
   9963 else case e in #(
   9964   e) eval $cacheid=no ;;
   9965 esac
   9966 fi
   9967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9968     conftest$ac_exeext conftest.$ac_ext ;;
   9969 esac
   9970 fi
   9971 
   9972 
   9973 		CFLAGS="$xorg_testset_save_CFLAGS"
   9974 
   9975 		eval supported=\$$cacheid
   9976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9977 printf "%s\n" "$supported" >&6; }
   9978 		if test "$supported" = "yes" ; then
   9979 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9980 			found="yes"
   9981 		fi
   9982 	fi
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 xorg_testset_save_CFLAGS="$CFLAGS"
   9999 
   10000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10003 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10004 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10005 then :
   10006   printf %s "(cached) " >&6
   10007 else case e in #(
   10008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10009 /* end confdefs.h.  */
   10010 int i;
   10011 _ACEOF
   10012 if ac_fn_c_try_compile "$LINENO"
   10013 then :
   10014   xorg_cv_cc_flag_unknown_warning_option=yes
   10015 else case e in #(
   10016   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10017 esac
   10018 fi
   10019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10020 esac
   10021 fi
   10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10023 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10025 	CFLAGS="$xorg_testset_save_CFLAGS"
   10026 fi
   10027 
   10028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10031 	fi
   10032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10034 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10035 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10036 then :
   10037   printf %s "(cached) " >&6
   10038 else case e in #(
   10039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10040 /* end confdefs.h.  */
   10041 int i;
   10042 _ACEOF
   10043 if ac_fn_c_try_compile "$LINENO"
   10044 then :
   10045   xorg_cv_cc_flag_unused_command_line_argument=yes
   10046 else case e in #(
   10047   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10048 esac
   10049 fi
   10050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10051 esac
   10052 fi
   10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10054 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10056 	CFLAGS="$xorg_testset_save_CFLAGS"
   10057 fi
   10058 
   10059 found="no"
   10060 
   10061 	if test $found = "no" ; then
   10062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10064 		fi
   10065 
   10066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10068 		fi
   10069 
   10070 		CFLAGS="$CFLAGS -Wreturn-type"
   10071 
   10072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10073 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10074 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10075 		if eval test \${$cacheid+y}
   10076 then :
   10077   printf %s "(cached) " >&6
   10078 else case e in #(
   10079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10080 /* end confdefs.h.  */
   10081 int i;
   10082 int
   10083 main (void)
   10084 {
   10085 
   10086   ;
   10087   return 0;
   10088 }
   10089 _ACEOF
   10090 if ac_fn_c_try_link "$LINENO"
   10091 then :
   10092   eval $cacheid=yes
   10093 else case e in #(
   10094   e) eval $cacheid=no ;;
   10095 esac
   10096 fi
   10097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10098     conftest$ac_exeext conftest.$ac_ext ;;
   10099 esac
   10100 fi
   10101 
   10102 
   10103 		CFLAGS="$xorg_testset_save_CFLAGS"
   10104 
   10105 		eval supported=\$$cacheid
   10106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10107 printf "%s\n" "$supported" >&6; }
   10108 		if test "$supported" = "yes" ; then
   10109 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10110 			found="yes"
   10111 		fi
   10112 	fi
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 xorg_testset_save_CFLAGS="$CFLAGS"
   10129 
   10130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10133 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10134 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10135 then :
   10136   printf %s "(cached) " >&6
   10137 else case e in #(
   10138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10139 /* end confdefs.h.  */
   10140 int i;
   10141 _ACEOF
   10142 if ac_fn_c_try_compile "$LINENO"
   10143 then :
   10144   xorg_cv_cc_flag_unknown_warning_option=yes
   10145 else case e in #(
   10146   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10147 esac
   10148 fi
   10149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10150 esac
   10151 fi
   10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10155 	CFLAGS="$xorg_testset_save_CFLAGS"
   10156 fi
   10157 
   10158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10161 	fi
   10162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10166 then :
   10167   printf %s "(cached) " >&6
   10168 else case e in #(
   10169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10170 /* end confdefs.h.  */
   10171 int i;
   10172 _ACEOF
   10173 if ac_fn_c_try_compile "$LINENO"
   10174 then :
   10175   xorg_cv_cc_flag_unused_command_line_argument=yes
   10176 else case e in #(
   10177   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10178 esac
   10179 fi
   10180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10181 esac
   10182 fi
   10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10184 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10186 	CFLAGS="$xorg_testset_save_CFLAGS"
   10187 fi
   10188 
   10189 found="no"
   10190 
   10191 	if test $found = "no" ; then
   10192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 		fi
   10195 
   10196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10198 		fi
   10199 
   10200 		CFLAGS="$CFLAGS -Wtrigraphs"
   10201 
   10202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10203 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10204 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10205 		if eval test \${$cacheid+y}
   10206 then :
   10207   printf %s "(cached) " >&6
   10208 else case e in #(
   10209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10210 /* end confdefs.h.  */
   10211 int i;
   10212 int
   10213 main (void)
   10214 {
   10215 
   10216   ;
   10217   return 0;
   10218 }
   10219 _ACEOF
   10220 if ac_fn_c_try_link "$LINENO"
   10221 then :
   10222   eval $cacheid=yes
   10223 else case e in #(
   10224   e) eval $cacheid=no ;;
   10225 esac
   10226 fi
   10227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10228     conftest$ac_exeext conftest.$ac_ext ;;
   10229 esac
   10230 fi
   10231 
   10232 
   10233 		CFLAGS="$xorg_testset_save_CFLAGS"
   10234 
   10235 		eval supported=\$$cacheid
   10236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10237 printf "%s\n" "$supported" >&6; }
   10238 		if test "$supported" = "yes" ; then
   10239 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10240 			found="yes"
   10241 		fi
   10242 	fi
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 xorg_testset_save_CFLAGS="$CFLAGS"
   10259 
   10260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10263 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10264 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10265 then :
   10266   printf %s "(cached) " >&6
   10267 else case e in #(
   10268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10269 /* end confdefs.h.  */
   10270 int i;
   10271 _ACEOF
   10272 if ac_fn_c_try_compile "$LINENO"
   10273 then :
   10274   xorg_cv_cc_flag_unknown_warning_option=yes
   10275 else case e in #(
   10276   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10277 esac
   10278 fi
   10279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10280 esac
   10281 fi
   10282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10283 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10285 	CFLAGS="$xorg_testset_save_CFLAGS"
   10286 fi
   10287 
   10288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10291 	fi
   10292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10294 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10295 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10296 then :
   10297   printf %s "(cached) " >&6
   10298 else case e in #(
   10299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 int i;
   10302 _ACEOF
   10303 if ac_fn_c_try_compile "$LINENO"
   10304 then :
   10305   xorg_cv_cc_flag_unused_command_line_argument=yes
   10306 else case e in #(
   10307   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10308 esac
   10309 fi
   10310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10311 esac
   10312 fi
   10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10314 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10316 	CFLAGS="$xorg_testset_save_CFLAGS"
   10317 fi
   10318 
   10319 found="no"
   10320 
   10321 	if test $found = "no" ; then
   10322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 		fi
   10325 
   10326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 		fi
   10329 
   10330 		CFLAGS="$CFLAGS -Warray-bounds"
   10331 
   10332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10333 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10334 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10335 		if eval test \${$cacheid+y}
   10336 then :
   10337   printf %s "(cached) " >&6
   10338 else case e in #(
   10339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10340 /* end confdefs.h.  */
   10341 int i;
   10342 int
   10343 main (void)
   10344 {
   10345 
   10346   ;
   10347   return 0;
   10348 }
   10349 _ACEOF
   10350 if ac_fn_c_try_link "$LINENO"
   10351 then :
   10352   eval $cacheid=yes
   10353 else case e in #(
   10354   e) eval $cacheid=no ;;
   10355 esac
   10356 fi
   10357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10358     conftest$ac_exeext conftest.$ac_ext ;;
   10359 esac
   10360 fi
   10361 
   10362 
   10363 		CFLAGS="$xorg_testset_save_CFLAGS"
   10364 
   10365 		eval supported=\$$cacheid
   10366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10367 printf "%s\n" "$supported" >&6; }
   10368 		if test "$supported" = "yes" ; then
   10369 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10370 			found="yes"
   10371 		fi
   10372 	fi
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 xorg_testset_save_CFLAGS="$CFLAGS"
   10389 
   10390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10393 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10394 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10395 then :
   10396   printf %s "(cached) " >&6
   10397 else case e in #(
   10398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10399 /* end confdefs.h.  */
   10400 int i;
   10401 _ACEOF
   10402 if ac_fn_c_try_compile "$LINENO"
   10403 then :
   10404   xorg_cv_cc_flag_unknown_warning_option=yes
   10405 else case e in #(
   10406   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10407 esac
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10410 esac
   10411 fi
   10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10413 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10415 	CFLAGS="$xorg_testset_save_CFLAGS"
   10416 fi
   10417 
   10418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10421 	fi
   10422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10424 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10425 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10426 then :
   10427   printf %s "(cached) " >&6
   10428 else case e in #(
   10429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10430 /* end confdefs.h.  */
   10431 int i;
   10432 _ACEOF
   10433 if ac_fn_c_try_compile "$LINENO"
   10434 then :
   10435   xorg_cv_cc_flag_unused_command_line_argument=yes
   10436 else case e in #(
   10437   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10438 esac
   10439 fi
   10440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10441 esac
   10442 fi
   10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10444 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10446 	CFLAGS="$xorg_testset_save_CFLAGS"
   10447 fi
   10448 
   10449 found="no"
   10450 
   10451 	if test $found = "no" ; then
   10452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10454 		fi
   10455 
   10456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10458 		fi
   10459 
   10460 		CFLAGS="$CFLAGS -Wwrite-strings"
   10461 
   10462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10463 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10464 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10465 		if eval test \${$cacheid+y}
   10466 then :
   10467   printf %s "(cached) " >&6
   10468 else case e in #(
   10469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10470 /* end confdefs.h.  */
   10471 int i;
   10472 int
   10473 main (void)
   10474 {
   10475 
   10476   ;
   10477   return 0;
   10478 }
   10479 _ACEOF
   10480 if ac_fn_c_try_link "$LINENO"
   10481 then :
   10482   eval $cacheid=yes
   10483 else case e in #(
   10484   e) eval $cacheid=no ;;
   10485 esac
   10486 fi
   10487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10488     conftest$ac_exeext conftest.$ac_ext ;;
   10489 esac
   10490 fi
   10491 
   10492 
   10493 		CFLAGS="$xorg_testset_save_CFLAGS"
   10494 
   10495 		eval supported=\$$cacheid
   10496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10497 printf "%s\n" "$supported" >&6; }
   10498 		if test "$supported" = "yes" ; then
   10499 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10500 			found="yes"
   10501 		fi
   10502 	fi
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 xorg_testset_save_CFLAGS="$CFLAGS"
   10519 
   10520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10525 then :
   10526   printf %s "(cached) " >&6
   10527 else case e in #(
   10528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10529 /* end confdefs.h.  */
   10530 int i;
   10531 _ACEOF
   10532 if ac_fn_c_try_compile "$LINENO"
   10533 then :
   10534   xorg_cv_cc_flag_unknown_warning_option=yes
   10535 else case e in #(
   10536   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10537 esac
   10538 fi
   10539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10540 esac
   10541 fi
   10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10543 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10545 	CFLAGS="$xorg_testset_save_CFLAGS"
   10546 fi
   10547 
   10548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10551 	fi
   10552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10554 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10555 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10556 then :
   10557   printf %s "(cached) " >&6
   10558 else case e in #(
   10559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10560 /* end confdefs.h.  */
   10561 int i;
   10562 _ACEOF
   10563 if ac_fn_c_try_compile "$LINENO"
   10564 then :
   10565   xorg_cv_cc_flag_unused_command_line_argument=yes
   10566 else case e in #(
   10567   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10568 esac
   10569 fi
   10570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10571 esac
   10572 fi
   10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10574 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10576 	CFLAGS="$xorg_testset_save_CFLAGS"
   10577 fi
   10578 
   10579 found="no"
   10580 
   10581 	if test $found = "no" ; then
   10582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10584 		fi
   10585 
   10586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10588 		fi
   10589 
   10590 		CFLAGS="$CFLAGS -Waddress"
   10591 
   10592 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10593 printf %s "checking if $CC supports -Waddress... " >&6; }
   10594 		cacheid=xorg_cv_cc_flag__Waddress
   10595 		if eval test \${$cacheid+y}
   10596 then :
   10597   printf %s "(cached) " >&6
   10598 else case e in #(
   10599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10600 /* end confdefs.h.  */
   10601 int i;
   10602 int
   10603 main (void)
   10604 {
   10605 
   10606   ;
   10607   return 0;
   10608 }
   10609 _ACEOF
   10610 if ac_fn_c_try_link "$LINENO"
   10611 then :
   10612   eval $cacheid=yes
   10613 else case e in #(
   10614   e) eval $cacheid=no ;;
   10615 esac
   10616 fi
   10617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10618     conftest$ac_exeext conftest.$ac_ext ;;
   10619 esac
   10620 fi
   10621 
   10622 
   10623 		CFLAGS="$xorg_testset_save_CFLAGS"
   10624 
   10625 		eval supported=\$$cacheid
   10626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10627 printf "%s\n" "$supported" >&6; }
   10628 		if test "$supported" = "yes" ; then
   10629 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10630 			found="yes"
   10631 		fi
   10632 	fi
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 xorg_testset_save_CFLAGS="$CFLAGS"
   10649 
   10650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10654 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10655 then :
   10656   printf %s "(cached) " >&6
   10657 else case e in #(
   10658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10659 /* end confdefs.h.  */
   10660 int i;
   10661 _ACEOF
   10662 if ac_fn_c_try_compile "$LINENO"
   10663 then :
   10664   xorg_cv_cc_flag_unknown_warning_option=yes
   10665 else case e in #(
   10666   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10667 esac
   10668 fi
   10669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10670 esac
   10671 fi
   10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10673 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10675 	CFLAGS="$xorg_testset_save_CFLAGS"
   10676 fi
   10677 
   10678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10681 	fi
   10682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10686 then :
   10687   printf %s "(cached) " >&6
   10688 else case e in #(
   10689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10690 /* end confdefs.h.  */
   10691 int i;
   10692 _ACEOF
   10693 if ac_fn_c_try_compile "$LINENO"
   10694 then :
   10695   xorg_cv_cc_flag_unused_command_line_argument=yes
   10696 else case e in #(
   10697   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10698 esac
   10699 fi
   10700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10701 esac
   10702 fi
   10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10704 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10706 	CFLAGS="$xorg_testset_save_CFLAGS"
   10707 fi
   10708 
   10709 found="no"
   10710 
   10711 	if test $found = "no" ; then
   10712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10714 		fi
   10715 
   10716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10718 		fi
   10719 
   10720 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10721 
   10722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10723 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10724 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10725 		if eval test \${$cacheid+y}
   10726 then :
   10727   printf %s "(cached) " >&6
   10728 else case e in #(
   10729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10730 /* end confdefs.h.  */
   10731 int i;
   10732 int
   10733 main (void)
   10734 {
   10735 
   10736   ;
   10737   return 0;
   10738 }
   10739 _ACEOF
   10740 if ac_fn_c_try_link "$LINENO"
   10741 then :
   10742   eval $cacheid=yes
   10743 else case e in #(
   10744   e) eval $cacheid=no ;;
   10745 esac
   10746 fi
   10747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10748     conftest$ac_exeext conftest.$ac_ext ;;
   10749 esac
   10750 fi
   10751 
   10752 
   10753 		CFLAGS="$xorg_testset_save_CFLAGS"
   10754 
   10755 		eval supported=\$$cacheid
   10756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10757 printf "%s\n" "$supported" >&6; }
   10758 		if test "$supported" = "yes" ; then
   10759 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10760 			found="yes"
   10761 		fi
   10762 	fi
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 xorg_testset_save_CFLAGS="$CFLAGS"
   10779 
   10780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10783 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10784 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10785 then :
   10786   printf %s "(cached) " >&6
   10787 else case e in #(
   10788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10789 /* end confdefs.h.  */
   10790 int i;
   10791 _ACEOF
   10792 if ac_fn_c_try_compile "$LINENO"
   10793 then :
   10794   xorg_cv_cc_flag_unknown_warning_option=yes
   10795 else case e in #(
   10796   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10797 esac
   10798 fi
   10799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10800 esac
   10801 fi
   10802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10803 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10805 	CFLAGS="$xorg_testset_save_CFLAGS"
   10806 fi
   10807 
   10808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10811 	fi
   10812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10814 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10815 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10816 then :
   10817   printf %s "(cached) " >&6
   10818 else case e in #(
   10819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10820 /* end confdefs.h.  */
   10821 int i;
   10822 _ACEOF
   10823 if ac_fn_c_try_compile "$LINENO"
   10824 then :
   10825   xorg_cv_cc_flag_unused_command_line_argument=yes
   10826 else case e in #(
   10827   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10828 esac
   10829 fi
   10830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10831 esac
   10832 fi
   10833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10834 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10836 	CFLAGS="$xorg_testset_save_CFLAGS"
   10837 fi
   10838 
   10839 found="no"
   10840 
   10841 	if test $found = "no" ; then
   10842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10844 		fi
   10845 
   10846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10848 		fi
   10849 
   10850 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10851 
   10852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10853 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10854 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10855 		if eval test \${$cacheid+y}
   10856 then :
   10857   printf %s "(cached) " >&6
   10858 else case e in #(
   10859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10860 /* end confdefs.h.  */
   10861 int i;
   10862 int
   10863 main (void)
   10864 {
   10865 
   10866   ;
   10867   return 0;
   10868 }
   10869 _ACEOF
   10870 if ac_fn_c_try_link "$LINENO"
   10871 then :
   10872   eval $cacheid=yes
   10873 else case e in #(
   10874   e) eval $cacheid=no ;;
   10875 esac
   10876 fi
   10877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10878     conftest$ac_exeext conftest.$ac_ext ;;
   10879 esac
   10880 fi
   10881 
   10882 
   10883 		CFLAGS="$xorg_testset_save_CFLAGS"
   10884 
   10885 		eval supported=\$$cacheid
   10886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10887 printf "%s\n" "$supported" >&6; }
   10888 		if test "$supported" = "yes" ; then
   10889 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10890 			found="yes"
   10891 		fi
   10892 	fi
   10893 
   10894 
   10895 fi
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 		CWARNFLAGS="$BASE_CFLAGS"
   10904 		if  test "x$GCC" = xyes ; then
   10905 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10906 		fi
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 # Check whether --enable-strict-compilation was given.
   10916 if test ${enable_strict_compilation+y}
   10917 then :
   10918   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10919 else case e in #(
   10920   e) STRICT_COMPILE=no ;;
   10921 esac
   10922 fi
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 STRICT_CFLAGS=""
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 xorg_testset_save_CFLAGS="$CFLAGS"
   10944 
   10945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10950 then :
   10951   printf %s "(cached) " >&6
   10952 else case e in #(
   10953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10954 /* end confdefs.h.  */
   10955 int i;
   10956 _ACEOF
   10957 if ac_fn_c_try_compile "$LINENO"
   10958 then :
   10959   xorg_cv_cc_flag_unknown_warning_option=yes
   10960 else case e in #(
   10961   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10962 esac
   10963 fi
   10964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10965 esac
   10966 fi
   10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10970 	CFLAGS="$xorg_testset_save_CFLAGS"
   10971 fi
   10972 
   10973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10976 	fi
   10977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10981 then :
   10982   printf %s "(cached) " >&6
   10983 else case e in #(
   10984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10985 /* end confdefs.h.  */
   10986 int i;
   10987 _ACEOF
   10988 if ac_fn_c_try_compile "$LINENO"
   10989 then :
   10990   xorg_cv_cc_flag_unused_command_line_argument=yes
   10991 else case e in #(
   10992   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10993 esac
   10994 fi
   10995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10996 esac
   10997 fi
   10998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11001 	CFLAGS="$xorg_testset_save_CFLAGS"
   11002 fi
   11003 
   11004 found="no"
   11005 
   11006 	if test $found = "no" ; then
   11007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11009 		fi
   11010 
   11011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11013 		fi
   11014 
   11015 		CFLAGS="$CFLAGS -pedantic"
   11016 
   11017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11018 printf %s "checking if $CC supports -pedantic... " >&6; }
   11019 		cacheid=xorg_cv_cc_flag__pedantic
   11020 		if eval test \${$cacheid+y}
   11021 then :
   11022   printf %s "(cached) " >&6
   11023 else case e in #(
   11024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11025 /* end confdefs.h.  */
   11026 int i;
   11027 int
   11028 main (void)
   11029 {
   11030 
   11031   ;
   11032   return 0;
   11033 }
   11034 _ACEOF
   11035 if ac_fn_c_try_link "$LINENO"
   11036 then :
   11037   eval $cacheid=yes
   11038 else case e in #(
   11039   e) eval $cacheid=no ;;
   11040 esac
   11041 fi
   11042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11043     conftest$ac_exeext conftest.$ac_ext ;;
   11044 esac
   11045 fi
   11046 
   11047 
   11048 		CFLAGS="$xorg_testset_save_CFLAGS"
   11049 
   11050 		eval supported=\$$cacheid
   11051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11052 printf "%s\n" "$supported" >&6; }
   11053 		if test "$supported" = "yes" ; then
   11054 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11055 			found="yes"
   11056 		fi
   11057 	fi
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 xorg_testset_save_CFLAGS="$CFLAGS"
   11074 
   11075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11080 then :
   11081   printf %s "(cached) " >&6
   11082 else case e in #(
   11083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11084 /* end confdefs.h.  */
   11085 int i;
   11086 _ACEOF
   11087 if ac_fn_c_try_compile "$LINENO"
   11088 then :
   11089   xorg_cv_cc_flag_unknown_warning_option=yes
   11090 else case e in #(
   11091   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11092 esac
   11093 fi
   11094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11095 esac
   11096 fi
   11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11098 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11100 	CFLAGS="$xorg_testset_save_CFLAGS"
   11101 fi
   11102 
   11103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11106 	fi
   11107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11109 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11110 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11111 then :
   11112   printf %s "(cached) " >&6
   11113 else case e in #(
   11114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11115 /* end confdefs.h.  */
   11116 int i;
   11117 _ACEOF
   11118 if ac_fn_c_try_compile "$LINENO"
   11119 then :
   11120   xorg_cv_cc_flag_unused_command_line_argument=yes
   11121 else case e in #(
   11122   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11123 esac
   11124 fi
   11125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11126 esac
   11127 fi
   11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11129 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11131 	CFLAGS="$xorg_testset_save_CFLAGS"
   11132 fi
   11133 
   11134 found="no"
   11135 
   11136 	if test $found = "no" ; then
   11137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11139 		fi
   11140 
   11141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11143 		fi
   11144 
   11145 		CFLAGS="$CFLAGS -Werror"
   11146 
   11147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11148 printf %s "checking if $CC supports -Werror... " >&6; }
   11149 		cacheid=xorg_cv_cc_flag__Werror
   11150 		if eval test \${$cacheid+y}
   11151 then :
   11152   printf %s "(cached) " >&6
   11153 else case e in #(
   11154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11155 /* end confdefs.h.  */
   11156 int i;
   11157 int
   11158 main (void)
   11159 {
   11160 
   11161   ;
   11162   return 0;
   11163 }
   11164 _ACEOF
   11165 if ac_fn_c_try_link "$LINENO"
   11166 then :
   11167   eval $cacheid=yes
   11168 else case e in #(
   11169   e) eval $cacheid=no ;;
   11170 esac
   11171 fi
   11172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11173     conftest$ac_exeext conftest.$ac_ext ;;
   11174 esac
   11175 fi
   11176 
   11177 
   11178 		CFLAGS="$xorg_testset_save_CFLAGS"
   11179 
   11180 		eval supported=\$$cacheid
   11181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11182 printf "%s\n" "$supported" >&6; }
   11183 		if test "$supported" = "yes" ; then
   11184 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11185 			found="yes"
   11186 		fi
   11187 	fi
   11188 
   11189 	if test $found = "no" ; then
   11190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11192 		fi
   11193 
   11194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11196 		fi
   11197 
   11198 		CFLAGS="$CFLAGS -errwarn"
   11199 
   11200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11201 printf %s "checking if $CC supports -errwarn... " >&6; }
   11202 		cacheid=xorg_cv_cc_flag__errwarn
   11203 		if eval test \${$cacheid+y}
   11204 then :
   11205   printf %s "(cached) " >&6
   11206 else case e in #(
   11207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11208 /* end confdefs.h.  */
   11209 int i;
   11210 int
   11211 main (void)
   11212 {
   11213 
   11214   ;
   11215   return 0;
   11216 }
   11217 _ACEOF
   11218 if ac_fn_c_try_link "$LINENO"
   11219 then :
   11220   eval $cacheid=yes
   11221 else case e in #(
   11222   e) eval $cacheid=no ;;
   11223 esac
   11224 fi
   11225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11226     conftest$ac_exeext conftest.$ac_ext ;;
   11227 esac
   11228 fi
   11229 
   11230 
   11231 		CFLAGS="$xorg_testset_save_CFLAGS"
   11232 
   11233 		eval supported=\$$cacheid
   11234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11235 printf "%s\n" "$supported" >&6; }
   11236 		if test "$supported" = "yes" ; then
   11237 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11238 			found="yes"
   11239 		fi
   11240 	fi
   11241 
   11242 
   11243 
   11244 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11245 # activate it with -Werror, so we add it here explicitly.
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 xorg_testset_save_CFLAGS="$CFLAGS"
   11260 
   11261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11266 then :
   11267   printf %s "(cached) " >&6
   11268 else case e in #(
   11269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11270 /* end confdefs.h.  */
   11271 int i;
   11272 _ACEOF
   11273 if ac_fn_c_try_compile "$LINENO"
   11274 then :
   11275   xorg_cv_cc_flag_unknown_warning_option=yes
   11276 else case e in #(
   11277   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11278 esac
   11279 fi
   11280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11281 esac
   11282 fi
   11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11286 	CFLAGS="$xorg_testset_save_CFLAGS"
   11287 fi
   11288 
   11289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11292 	fi
   11293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11297 then :
   11298   printf %s "(cached) " >&6
   11299 else case e in #(
   11300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11301 /* end confdefs.h.  */
   11302 int i;
   11303 _ACEOF
   11304 if ac_fn_c_try_compile "$LINENO"
   11305 then :
   11306   xorg_cv_cc_flag_unused_command_line_argument=yes
   11307 else case e in #(
   11308   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11309 esac
   11310 fi
   11311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11312 esac
   11313 fi
   11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11315 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11317 	CFLAGS="$xorg_testset_save_CFLAGS"
   11318 fi
   11319 
   11320 found="no"
   11321 
   11322 	if test $found = "no" ; then
   11323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11325 		fi
   11326 
   11327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11329 		fi
   11330 
   11331 		CFLAGS="$CFLAGS -Werror=attributes"
   11332 
   11333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11334 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11335 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11336 		if eval test \${$cacheid+y}
   11337 then :
   11338   printf %s "(cached) " >&6
   11339 else case e in #(
   11340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11341 /* end confdefs.h.  */
   11342 int i;
   11343 int
   11344 main (void)
   11345 {
   11346 
   11347   ;
   11348   return 0;
   11349 }
   11350 _ACEOF
   11351 if ac_fn_c_try_link "$LINENO"
   11352 then :
   11353   eval $cacheid=yes
   11354 else case e in #(
   11355   e) eval $cacheid=no ;;
   11356 esac
   11357 fi
   11358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11359     conftest$ac_exeext conftest.$ac_ext ;;
   11360 esac
   11361 fi
   11362 
   11363 
   11364 		CFLAGS="$xorg_testset_save_CFLAGS"
   11365 
   11366 		eval supported=\$$cacheid
   11367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11368 printf "%s\n" "$supported" >&6; }
   11369 		if test "$supported" = "yes" ; then
   11370 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11371 			found="yes"
   11372 		fi
   11373 	fi
   11374 
   11375 
   11376 
   11377 if test "x$STRICT_COMPILE" = "xyes"; then
   11378     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11379     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11380 fi
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 cat >>confdefs.h <<_ACEOF
   11390 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11391 _ACEOF
   11392 
   11393 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11394 	if test "x$PVM" = "x"; then
   11395 		PVM="0"
   11396 	fi
   11397 
   11398 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11399 
   11400 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11401 	if test "x$PVP" = "x"; then
   11402 		PVP="0"
   11403 	fi
   11404 
   11405 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11406 
   11407 
   11408 
   11409 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11410 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11411 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11412 touch \$(top_srcdir)/ChangeLog; \
   11413 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11414 
   11415 
   11416 
   11417 
   11418 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11419 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11420 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11421 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11422 touch \$(top_srcdir)/INSTALL; \
   11423 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 case $host_os in
   11431     solaris*)
   11432         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11433         # check for a man page file found in later versions that use
   11434         # traditional section numbers instead
   11435         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11436 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11437 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11438 then :
   11439   printf %s "(cached) " >&6
   11440 else case e in #(
   11441   e) test "$cross_compiling" = yes &&
   11442   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11443 if test -r "/usr/share/man/man7/attributes.7"; then
   11444   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11445 else
   11446   ac_cv_file__usr_share_man_man7_attributes_7=no
   11447 fi ;;
   11448 esac
   11449 fi
   11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11451 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11452 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11453 then :
   11454   SYSV_MAN_SECTIONS=false
   11455 else case e in #(
   11456   e) SYSV_MAN_SECTIONS=true ;;
   11457 esac
   11458 fi
   11459 
   11460         ;;
   11461     *) SYSV_MAN_SECTIONS=false ;;
   11462 esac
   11463 
   11464 if test x$APP_MAN_SUFFIX = x    ; then
   11465     APP_MAN_SUFFIX=1
   11466 fi
   11467 if test x$APP_MAN_DIR = x    ; then
   11468     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11469 fi
   11470 
   11471 if test x$LIB_MAN_SUFFIX = x    ; then
   11472     LIB_MAN_SUFFIX=3
   11473 fi
   11474 if test x$LIB_MAN_DIR = x    ; then
   11475     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11476 fi
   11477 
   11478 if test x$FILE_MAN_SUFFIX = x    ; then
   11479     case $SYSV_MAN_SECTIONS in
   11480 	true)				FILE_MAN_SUFFIX=4  ;;
   11481 	*)				FILE_MAN_SUFFIX=5  ;;
   11482     esac
   11483 fi
   11484 if test x$FILE_MAN_DIR = x    ; then
   11485     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11486 fi
   11487 
   11488 if test x$MISC_MAN_SUFFIX = x    ; then
   11489     case $SYSV_MAN_SECTIONS in
   11490 	true)				MISC_MAN_SUFFIX=5  ;;
   11491 	*)				MISC_MAN_SUFFIX=7  ;;
   11492     esac
   11493 fi
   11494 if test x$MISC_MAN_DIR = x    ; then
   11495     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11496 fi
   11497 
   11498 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11499     case $SYSV_MAN_SECTIONS in
   11500 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11501 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11502     esac
   11503 fi
   11504 if test x$DRIVER_MAN_DIR = x    ; then
   11505     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11506 fi
   11507 
   11508 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11509     case $SYSV_MAN_SECTIONS in
   11510 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11511 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11512     esac
   11513 fi
   11514 if test x$ADMIN_MAN_DIR = x    ; then
   11515     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11516 fi
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 XORG_MAN_PAGE="X Version 11"
   11533 
   11534 MAN_SUBSTS="\
   11535 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11536 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11537 	-e 's|__xservername__|Xorg|g' \
   11538 	-e 's|__xconfigfile__|xorg.conf|g' \
   11539 	-e 's|__projectroot__|\$(prefix)|g' \
   11540 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11541 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11542 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11543 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11544 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11545 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11546 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11547 
   11548 
   11549 
   11550 # Check whether --enable-silent-rules was given.
   11551 if test ${enable_silent_rules+y}
   11552 then :
   11553   enableval=$enable_silent_rules;
   11554 fi
   11555 
   11556 case $enable_silent_rules in # (((
   11557   yes) AM_DEFAULT_VERBOSITY=0;;
   11558    no) AM_DEFAULT_VERBOSITY=1;;
   11559     *) AM_DEFAULT_VERBOSITY=0;;
   11560 esac
   11561 am_make=${MAKE-make}
   11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11563 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11564 if test ${am_cv_make_support_nested_variables+y}
   11565 then :
   11566   printf %s "(cached) " >&6
   11567 else case e in #(
   11568   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11569 BAR0=false
   11570 BAR1=true
   11571 V=1
   11572 am__doit:
   11573 	@$(TRUE)
   11574 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11575   am_cv_make_support_nested_variables=yes
   11576 else
   11577   am_cv_make_support_nested_variables=no
   11578 fi ;;
   11579 esac
   11580 fi
   11581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11582 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11583 if test $am_cv_make_support_nested_variables = yes; then
   11584     AM_V='$(V)'
   11585   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11586 else
   11587   AM_V=$AM_DEFAULT_VERBOSITY
   11588   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11589 fi
   11590 AM_BACKSLASH='\'
   11591 
   11592 
   11593 
   11594 
   11595 # Disable some of the warnings xorg-macros.m4 sets by default that cause
   11596 # too much noise here
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 xorg_testset_save_CFLAGS="$CFLAGS"
   11611 
   11612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11615 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11616 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11617 then :
   11618   printf %s "(cached) " >&6
   11619 else case e in #(
   11620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11621 /* end confdefs.h.  */
   11622 int i;
   11623 _ACEOF
   11624 if ac_fn_c_try_compile "$LINENO"
   11625 then :
   11626   xorg_cv_cc_flag_unknown_warning_option=yes
   11627 else case e in #(
   11628   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11629 esac
   11630 fi
   11631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11632 esac
   11633 fi
   11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11637 	CFLAGS="$xorg_testset_save_CFLAGS"
   11638 fi
   11639 
   11640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11643 	fi
   11644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11648 then :
   11649   printf %s "(cached) " >&6
   11650 else case e in #(
   11651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11652 /* end confdefs.h.  */
   11653 int i;
   11654 _ACEOF
   11655 if ac_fn_c_try_compile "$LINENO"
   11656 then :
   11657   xorg_cv_cc_flag_unused_command_line_argument=yes
   11658 else case e in #(
   11659   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11660 esac
   11661 fi
   11662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11663 esac
   11664 fi
   11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11666 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11668 	CFLAGS="$xorg_testset_save_CFLAGS"
   11669 fi
   11670 
   11671 found="no"
   11672 
   11673 	if test $found = "no" ; then
   11674 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11676 		fi
   11677 
   11678 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11680 		fi
   11681 
   11682 		CFLAGS="$CFLAGS -Wno-declaration-after-statement"
   11683 
   11684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-declaration-after-statement" >&5
   11685 printf %s "checking if $CC supports -Wno-declaration-after-statement... " >&6; }
   11686 		cacheid=xorg_cv_cc_flag__Wno_declaration_after_statement
   11687 		if eval test \${$cacheid+y}
   11688 then :
   11689   printf %s "(cached) " >&6
   11690 else case e in #(
   11691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11692 /* end confdefs.h.  */
   11693 int i;
   11694 int
   11695 main (void)
   11696 {
   11697 
   11698   ;
   11699   return 0;
   11700 }
   11701 _ACEOF
   11702 if ac_fn_c_try_link "$LINENO"
   11703 then :
   11704   eval $cacheid=yes
   11705 else case e in #(
   11706   e) eval $cacheid=no ;;
   11707 esac
   11708 fi
   11709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11710     conftest$ac_exeext conftest.$ac_ext ;;
   11711 esac
   11712 fi
   11713 
   11714 
   11715 		CFLAGS="$xorg_testset_save_CFLAGS"
   11716 
   11717 		eval supported=\$$cacheid
   11718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11719 printf "%s\n" "$supported" >&6; }
   11720 		if test "$supported" = "yes" ; then
   11721 			BASE_CFLAGS="$BASE_CFLAGS -Wno-declaration-after-statement"
   11722 			found="yes"
   11723 		fi
   11724 	fi
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 xorg_testset_save_CFLAGS="$CFLAGS"
   11741 
   11742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11745 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11746 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11747 then :
   11748   printf %s "(cached) " >&6
   11749 else case e in #(
   11750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11751 /* end confdefs.h.  */
   11752 int i;
   11753 _ACEOF
   11754 if ac_fn_c_try_compile "$LINENO"
   11755 then :
   11756   xorg_cv_cc_flag_unknown_warning_option=yes
   11757 else case e in #(
   11758   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11759 esac
   11760 fi
   11761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11762 esac
   11763 fi
   11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11765 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11767 	CFLAGS="$xorg_testset_save_CFLAGS"
   11768 fi
   11769 
   11770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11773 	fi
   11774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11776 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11777 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11778 then :
   11779   printf %s "(cached) " >&6
   11780 else case e in #(
   11781   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11782 /* end confdefs.h.  */
   11783 int i;
   11784 _ACEOF
   11785 if ac_fn_c_try_compile "$LINENO"
   11786 then :
   11787   xorg_cv_cc_flag_unused_command_line_argument=yes
   11788 else case e in #(
   11789   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11790 esac
   11791 fi
   11792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11793 esac
   11794 fi
   11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11796 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11798 	CFLAGS="$xorg_testset_save_CFLAGS"
   11799 fi
   11800 
   11801 found="no"
   11802 
   11803 	if test $found = "no" ; then
   11804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11806 		fi
   11807 
   11808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11810 		fi
   11811 
   11812 		CFLAGS="$CFLAGS -Wno-unused-but-set-variable"
   11813 
   11814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unused-but-set-variable" >&5
   11815 printf %s "checking if $CC supports -Wno-unused-but-set-variable... " >&6; }
   11816 		cacheid=xorg_cv_cc_flag__Wno_unused_but_set_variable
   11817 		if eval test \${$cacheid+y}
   11818 then :
   11819   printf %s "(cached) " >&6
   11820 else case e in #(
   11821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11822 /* end confdefs.h.  */
   11823 int i;
   11824 int
   11825 main (void)
   11826 {
   11827 
   11828   ;
   11829   return 0;
   11830 }
   11831 _ACEOF
   11832 if ac_fn_c_try_link "$LINENO"
   11833 then :
   11834   eval $cacheid=yes
   11835 else case e in #(
   11836   e) eval $cacheid=no ;;
   11837 esac
   11838 fi
   11839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11840     conftest$ac_exeext conftest.$ac_ext ;;
   11841 esac
   11842 fi
   11843 
   11844 
   11845 		CFLAGS="$xorg_testset_save_CFLAGS"
   11846 
   11847 		eval supported=\$$cacheid
   11848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11849 printf "%s\n" "$supported" >&6; }
   11850 		if test "$supported" = "yes" ; then
   11851 			BASE_CFLAGS="$BASE_CFLAGS -Wno-unused-but-set-variable"
   11852 			found="yes"
   11853 		fi
   11854 	fi
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 xorg_testset_save_CFLAGS="$CFLAGS"
   11871 
   11872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11875 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11876 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11877 then :
   11878   printf %s "(cached) " >&6
   11879 else case e in #(
   11880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11881 /* end confdefs.h.  */
   11882 int i;
   11883 _ACEOF
   11884 if ac_fn_c_try_compile "$LINENO"
   11885 then :
   11886   xorg_cv_cc_flag_unknown_warning_option=yes
   11887 else case e in #(
   11888   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11889 esac
   11890 fi
   11891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11892 esac
   11893 fi
   11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11895 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11897 	CFLAGS="$xorg_testset_save_CFLAGS"
   11898 fi
   11899 
   11900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11903 	fi
   11904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11905 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11906 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11907 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11908 then :
   11909   printf %s "(cached) " >&6
   11910 else case e in #(
   11911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11912 /* end confdefs.h.  */
   11913 int i;
   11914 _ACEOF
   11915 if ac_fn_c_try_compile "$LINENO"
   11916 then :
   11917   xorg_cv_cc_flag_unused_command_line_argument=yes
   11918 else case e in #(
   11919   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11920 esac
   11921 fi
   11922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11923 esac
   11924 fi
   11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11926 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11928 	CFLAGS="$xorg_testset_save_CFLAGS"
   11929 fi
   11930 
   11931 found="no"
   11932 
   11933 	if test $found = "no" ; then
   11934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11936 		fi
   11937 
   11938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11940 		fi
   11941 
   11942 		CFLAGS="$CFLAGS -Wno-unused-value"
   11943 
   11944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unused-value" >&5
   11945 printf %s "checking if $CC supports -Wno-unused-value... " >&6; }
   11946 		cacheid=xorg_cv_cc_flag__Wno_unused_value
   11947 		if eval test \${$cacheid+y}
   11948 then :
   11949   printf %s "(cached) " >&6
   11950 else case e in #(
   11951   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11952 /* end confdefs.h.  */
   11953 int i;
   11954 int
   11955 main (void)
   11956 {
   11957 
   11958   ;
   11959   return 0;
   11960 }
   11961 _ACEOF
   11962 if ac_fn_c_try_link "$LINENO"
   11963 then :
   11964   eval $cacheid=yes
   11965 else case e in #(
   11966   e) eval $cacheid=no ;;
   11967 esac
   11968 fi
   11969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11970     conftest$ac_exeext conftest.$ac_ext ;;
   11971 esac
   11972 fi
   11973 
   11974 
   11975 		CFLAGS="$xorg_testset_save_CFLAGS"
   11976 
   11977 		eval supported=\$$cacheid
   11978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11979 printf "%s\n" "$supported" >&6; }
   11980 		if test "$supported" = "yes" ; then
   11981 			BASE_CFLAGS="$BASE_CFLAGS -Wno-unused-value"
   11982 			found="yes"
   11983 		fi
   11984 	fi
   11985 
   11986 
   11987 
   11988 # Initialize libtool
   11989 case `pwd` in
   11990   *\ * | *\	*)
   11991     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11992 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11993 esac
   11994 
   11995 
   11996 
   11997 macro_version='2.4.7'
   11998 macro_revision='2.4.7'
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 ltmain=$ac_aux_dir/ltmain.sh
   12014 
   12015 # Backslashify metacharacters that are still active within
   12016 # double-quoted strings.
   12017 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   12018 
   12019 # Same as above, but do not quote variable references.
   12020 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   12021 
   12022 # Sed substitution to delay expansion of an escaped shell variable in a
   12023 # double_quote_subst'ed string.
   12024 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   12025 
   12026 # Sed substitution to delay expansion of an escaped single quote.
   12027 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   12028 
   12029 # Sed substitution to avoid accidental globbing in evaled expressions
   12030 no_glob_subst='s/\*/\\\*/g'
   12031 
   12032 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12033 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   12034 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   12035 
   12036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   12037 printf %s "checking how to print strings... " >&6; }
   12038 # Test print first, because it will be a builtin if present.
   12039 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   12040    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   12041   ECHO='print -r --'
   12042 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   12043   ECHO='printf %s\n'
   12044 else
   12045   # Use this function as a fallback that always works.
   12046   func_fallback_echo ()
   12047   {
   12048     eval 'cat <<_LTECHO_EOF
   12049 $1
   12050 _LTECHO_EOF'
   12051   }
   12052   ECHO='func_fallback_echo'
   12053 fi
   12054 
   12055 # func_echo_all arg...
   12056 # Invoke $ECHO with all args, space-separated.
   12057 func_echo_all ()
   12058 {
   12059     $ECHO ""
   12060 }
   12061 
   12062 case $ECHO in
   12063   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   12064 printf "%s\n" "printf" >&6; } ;;
   12065   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   12066 printf "%s\n" "print -r" >&6; } ;;
   12067   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   12068 printf "%s\n" "cat" >&6; } ;;
   12069 esac
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   12085 printf %s "checking for a sed that does not truncate output... " >&6; }
   12086 if test ${ac_cv_path_SED+y}
   12087 then :
   12088   printf %s "(cached) " >&6
   12089 else case e in #(
   12090   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   12091      for ac_i in 1 2 3 4 5 6 7; do
   12092        ac_script="$ac_script$as_nl$ac_script"
   12093      done
   12094      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   12095      { ac_script=; unset ac_script;}
   12096      if test -z "$SED"; then
   12097   ac_path_SED_found=false
   12098   # Loop through the user's path and test for each of PROGNAME-LIST
   12099   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12100 for as_dir in $PATH
   12101 do
   12102   IFS=$as_save_IFS
   12103   case $as_dir in #(((
   12104     '') as_dir=./ ;;
   12105     */) ;;
   12106     *) as_dir=$as_dir/ ;;
   12107   esac
   12108     for ac_prog in sed gsed
   12109    do
   12110     for ac_exec_ext in '' $ac_executable_extensions; do
   12111       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   12112       as_fn_executable_p "$ac_path_SED" || continue
   12113 # Check for GNU ac_path_SED and select it if it is found.
   12114   # Check for GNU $ac_path_SED
   12115 case `"$ac_path_SED" --version 2>&1` in #(
   12116 *GNU*)
   12117   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   12118 #(
   12119 *)
   12120   ac_count=0
   12121   printf %s 0123456789 >"conftest.in"
   12122   while :
   12123   do
   12124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12125     mv "conftest.tmp" "conftest.in"
   12126     cp "conftest.in" "conftest.nl"
   12127     printf "%s\n" '' >> "conftest.nl"
   12128     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12131     if test $ac_count -gt ${ac_path_SED_max-0}; then
   12132       # Best one so far, save it but keep looking for a better one
   12133       ac_cv_path_SED="$ac_path_SED"
   12134       ac_path_SED_max=$ac_count
   12135     fi
   12136     # 10*(2^10) chars as input seems more than enough
   12137     test $ac_count -gt 10 && break
   12138   done
   12139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12140 esac
   12141 
   12142       $ac_path_SED_found && break 3
   12143     done
   12144   done
   12145   done
   12146 IFS=$as_save_IFS
   12147   if test -z "$ac_cv_path_SED"; then
   12148     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   12149   fi
   12150 else
   12151   ac_cv_path_SED=$SED
   12152 fi
   12153  ;;
   12154 esac
   12155 fi
   12156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   12157 printf "%s\n" "$ac_cv_path_SED" >&6; }
   12158  SED="$ac_cv_path_SED"
   12159   rm -f conftest.sed
   12160 
   12161 test -z "$SED" && SED=sed
   12162 Xsed="$SED -e 1s/^X//"
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   12175 printf %s "checking for grep that handles long lines and -e... " >&6; }
   12176 if test ${ac_cv_path_GREP+y}
   12177 then :
   12178   printf %s "(cached) " >&6
   12179 else case e in #(
   12180   e) if test -z "$GREP"; then
   12181   ac_path_GREP_found=false
   12182   # Loop through the user's path and test for each of PROGNAME-LIST
   12183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12185 do
   12186   IFS=$as_save_IFS
   12187   case $as_dir in #(((
   12188     '') as_dir=./ ;;
   12189     */) ;;
   12190     *) as_dir=$as_dir/ ;;
   12191   esac
   12192     for ac_prog in grep ggrep
   12193    do
   12194     for ac_exec_ext in '' $ac_executable_extensions; do
   12195       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   12196       as_fn_executable_p "$ac_path_GREP" || continue
   12197 # Check for GNU ac_path_GREP and select it if it is found.
   12198   # Check for GNU $ac_path_GREP
   12199 case `"$ac_path_GREP" --version 2>&1` in #(
   12200 *GNU*)
   12201   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   12202 #(
   12203 *)
   12204   ac_count=0
   12205   printf %s 0123456789 >"conftest.in"
   12206   while :
   12207   do
   12208     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12209     mv "conftest.tmp" "conftest.in"
   12210     cp "conftest.in" "conftest.nl"
   12211     printf "%s\n" 'GREP' >> "conftest.nl"
   12212     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12213     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12214     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12215     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   12216       # Best one so far, save it but keep looking for a better one
   12217       ac_cv_path_GREP="$ac_path_GREP"
   12218       ac_path_GREP_max=$ac_count
   12219     fi
   12220     # 10*(2^10) chars as input seems more than enough
   12221     test $ac_count -gt 10 && break
   12222   done
   12223   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12224 esac
   12225 
   12226       $ac_path_GREP_found && break 3
   12227     done
   12228   done
   12229   done
   12230 IFS=$as_save_IFS
   12231   if test -z "$ac_cv_path_GREP"; then
   12232     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12233   fi
   12234 else
   12235   ac_cv_path_GREP=$GREP
   12236 fi
   12237  ;;
   12238 esac
   12239 fi
   12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   12241 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   12242  GREP="$ac_cv_path_GREP"
   12243 
   12244 
   12245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   12246 printf %s "checking for egrep... " >&6; }
   12247 if test ${ac_cv_path_EGREP+y}
   12248 then :
   12249   printf %s "(cached) " >&6
   12250 else case e in #(
   12251   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   12252    then ac_cv_path_EGREP="$GREP -E"
   12253    else
   12254      if test -z "$EGREP"; then
   12255   ac_path_EGREP_found=false
   12256   # Loop through the user's path and test for each of PROGNAME-LIST
   12257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12259 do
   12260   IFS=$as_save_IFS
   12261   case $as_dir in #(((
   12262     '') as_dir=./ ;;
   12263     */) ;;
   12264     *) as_dir=$as_dir/ ;;
   12265   esac
   12266     for ac_prog in egrep
   12267    do
   12268     for ac_exec_ext in '' $ac_executable_extensions; do
   12269       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   12270       as_fn_executable_p "$ac_path_EGREP" || continue
   12271 # Check for GNU ac_path_EGREP and select it if it is found.
   12272   # Check for GNU $ac_path_EGREP
   12273 case `"$ac_path_EGREP" --version 2>&1` in #(
   12274 *GNU*)
   12275   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   12276 #(
   12277 *)
   12278   ac_count=0
   12279   printf %s 0123456789 >"conftest.in"
   12280   while :
   12281   do
   12282     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12283     mv "conftest.tmp" "conftest.in"
   12284     cp "conftest.in" "conftest.nl"
   12285     printf "%s\n" 'EGREP' >> "conftest.nl"
   12286     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12287     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12288     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12289     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   12290       # Best one so far, save it but keep looking for a better one
   12291       ac_cv_path_EGREP="$ac_path_EGREP"
   12292       ac_path_EGREP_max=$ac_count
   12293     fi
   12294     # 10*(2^10) chars as input seems more than enough
   12295     test $ac_count -gt 10 && break
   12296   done
   12297   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12298 esac
   12299 
   12300       $ac_path_EGREP_found && break 3
   12301     done
   12302   done
   12303   done
   12304 IFS=$as_save_IFS
   12305   if test -z "$ac_cv_path_EGREP"; then
   12306     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12307   fi
   12308 else
   12309   ac_cv_path_EGREP=$EGREP
   12310 fi
   12311 
   12312    fi ;;
   12313 esac
   12314 fi
   12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   12316 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   12317  EGREP="$ac_cv_path_EGREP"
   12318 
   12319          EGREP_TRADITIONAL=$EGREP
   12320  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   12321 
   12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   12323 printf %s "checking for fgrep... " >&6; }
   12324 if test ${ac_cv_path_FGREP+y}
   12325 then :
   12326   printf %s "(cached) " >&6
   12327 else case e in #(
   12328   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   12329    then ac_cv_path_FGREP="$GREP -F"
   12330    else
   12331      if test -z "$FGREP"; then
   12332   ac_path_FGREP_found=false
   12333   # Loop through the user's path and test for each of PROGNAME-LIST
   12334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12336 do
   12337   IFS=$as_save_IFS
   12338   case $as_dir in #(((
   12339     '') as_dir=./ ;;
   12340     */) ;;
   12341     *) as_dir=$as_dir/ ;;
   12342   esac
   12343     for ac_prog in fgrep
   12344    do
   12345     for ac_exec_ext in '' $ac_executable_extensions; do
   12346       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   12347       as_fn_executable_p "$ac_path_FGREP" || continue
   12348 # Check for GNU ac_path_FGREP and select it if it is found.
   12349   # Check for GNU $ac_path_FGREP
   12350 case `"$ac_path_FGREP" --version 2>&1` in #(
   12351 *GNU*)
   12352   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   12353 #(
   12354 *)
   12355   ac_count=0
   12356   printf %s 0123456789 >"conftest.in"
   12357   while :
   12358   do
   12359     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12360     mv "conftest.tmp" "conftest.in"
   12361     cp "conftest.in" "conftest.nl"
   12362     printf "%s\n" 'FGREP' >> "conftest.nl"
   12363     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12364     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12365     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12366     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   12367       # Best one so far, save it but keep looking for a better one
   12368       ac_cv_path_FGREP="$ac_path_FGREP"
   12369       ac_path_FGREP_max=$ac_count
   12370     fi
   12371     # 10*(2^10) chars as input seems more than enough
   12372     test $ac_count -gt 10 && break
   12373   done
   12374   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12375 esac
   12376 
   12377       $ac_path_FGREP_found && break 3
   12378     done
   12379   done
   12380   done
   12381 IFS=$as_save_IFS
   12382   if test -z "$ac_cv_path_FGREP"; then
   12383     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12384   fi
   12385 else
   12386   ac_cv_path_FGREP=$FGREP
   12387 fi
   12388 
   12389    fi ;;
   12390 esac
   12391 fi
   12392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12393 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   12394  FGREP="$ac_cv_path_FGREP"
   12395 
   12396 
   12397 test -z "$GREP" && GREP=grep
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 # Check whether --with-gnu-ld was given.
   12418 if test ${with_gnu_ld+y}
   12419 then :
   12420   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12421 else case e in #(
   12422   e) with_gnu_ld=no ;;
   12423 esac
   12424 fi
   12425 
   12426 ac_prog=ld
   12427 if test yes = "$GCC"; then
   12428   # Check if gcc -print-prog-name=ld gives a path.
   12429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12430 printf %s "checking for ld used by $CC... " >&6; }
   12431   case $host in
   12432   *-*-mingw*)
   12433     # gcc leaves a trailing carriage return, which upsets mingw
   12434     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12435   *)
   12436     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12437   esac
   12438   case $ac_prog in
   12439     # Accept absolute paths.
   12440     [\\/]* | ?:[\\/]*)
   12441       re_direlt='/[^/][^/]*/\.\./'
   12442       # Canonicalize the pathname of ld
   12443       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12444       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12445 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12446       done
   12447       test -z "$LD" && LD=$ac_prog
   12448       ;;
   12449   "")
   12450     # If it fails, then pretend we aren't using GCC.
   12451     ac_prog=ld
   12452     ;;
   12453   *)
   12454     # If it is relative, then search for the first ld in PATH.
   12455     with_gnu_ld=unknown
   12456     ;;
   12457   esac
   12458 elif test yes = "$with_gnu_ld"; then
   12459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12460 printf %s "checking for GNU ld... " >&6; }
   12461 else
   12462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12463 printf %s "checking for non-GNU ld... " >&6; }
   12464 fi
   12465 if test ${lt_cv_path_LD+y}
   12466 then :
   12467   printf %s "(cached) " >&6
   12468 else case e in #(
   12469   e) if test -z "$LD"; then
   12470   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12471   for ac_dir in $PATH; do
   12472     IFS=$lt_save_ifs
   12473     test -z "$ac_dir" && ac_dir=.
   12474     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12475       lt_cv_path_LD=$ac_dir/$ac_prog
   12476       # Check to see if the program is GNU ld.  I'd rather use --version,
   12477       # but apparently some variants of GNU ld only accept -v.
   12478       # Break only if it was the GNU/non-GNU ld that we prefer.
   12479       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12480       *GNU* | *'with BFD'*)
   12481 	test no != "$with_gnu_ld" && break
   12482 	;;
   12483       *)
   12484 	test yes != "$with_gnu_ld" && break
   12485 	;;
   12486       esac
   12487     fi
   12488   done
   12489   IFS=$lt_save_ifs
   12490 else
   12491   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12492 fi ;;
   12493 esac
   12494 fi
   12495 
   12496 LD=$lt_cv_path_LD
   12497 if test -n "$LD"; then
   12498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12499 printf "%s\n" "$LD" >&6; }
   12500 else
   12501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12502 printf "%s\n" "no" >&6; }
   12503 fi
   12504 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12506 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12507 if test ${lt_cv_prog_gnu_ld+y}
   12508 then :
   12509   printf %s "(cached) " >&6
   12510 else case e in #(
   12511   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12512 case `$LD -v 2>&1 </dev/null` in
   12513 *GNU* | *'with BFD'*)
   12514   lt_cv_prog_gnu_ld=yes
   12515   ;;
   12516 *)
   12517   lt_cv_prog_gnu_ld=no
   12518   ;;
   12519 esac ;;
   12520 esac
   12521 fi
   12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12523 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12524 with_gnu_ld=$lt_cv_prog_gnu_ld
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12535 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12536 if test ${lt_cv_path_NM+y}
   12537 then :
   12538   printf %s "(cached) " >&6
   12539 else case e in #(
   12540   e) if test -n "$NM"; then
   12541   # Let the user override the test.
   12542   lt_cv_path_NM=$NM
   12543 else
   12544   lt_nm_to_check=${ac_tool_prefix}nm
   12545   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12546     lt_nm_to_check="$lt_nm_to_check nm"
   12547   fi
   12548   for lt_tmp_nm in $lt_nm_to_check; do
   12549     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12550     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12551       IFS=$lt_save_ifs
   12552       test -z "$ac_dir" && ac_dir=.
   12553       tmp_nm=$ac_dir/$lt_tmp_nm
   12554       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12555 	# Check to see if the nm accepts a BSD-compat flag.
   12556 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12557 	#   nm: unknown option "B" ignored
   12558 	# Tru64's nm complains that /dev/null is an invalid object file
   12559 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12560 	case $build_os in
   12561 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12562 	*) lt_bad_file=/dev/null ;;
   12563 	esac
   12564 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12565 	*$lt_bad_file* | *'Invalid file or object type'*)
   12566 	  lt_cv_path_NM="$tmp_nm -B"
   12567 	  break 2
   12568 	  ;;
   12569 	*)
   12570 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12571 	  */dev/null*)
   12572 	    lt_cv_path_NM="$tmp_nm -p"
   12573 	    break 2
   12574 	    ;;
   12575 	  *)
   12576 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12577 	    continue # so that we can try to find one that supports BSD flags
   12578 	    ;;
   12579 	  esac
   12580 	  ;;
   12581 	esac
   12582       fi
   12583     done
   12584     IFS=$lt_save_ifs
   12585   done
   12586   : ${lt_cv_path_NM=no}
   12587 fi ;;
   12588 esac
   12589 fi
   12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12591 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12592 if test no != "$lt_cv_path_NM"; then
   12593   NM=$lt_cv_path_NM
   12594 else
   12595   # Didn't find any BSD compatible name lister, look for dumpbin.
   12596   if test -n "$DUMPBIN"; then :
   12597     # Let the user override the test.
   12598   else
   12599     if test -n "$ac_tool_prefix"; then
   12600   for ac_prog in dumpbin "link -dump"
   12601   do
   12602     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12605 printf %s "checking for $ac_word... " >&6; }
   12606 if test ${ac_cv_prog_DUMPBIN+y}
   12607 then :
   12608   printf %s "(cached) " >&6
   12609 else case e in #(
   12610   e) if test -n "$DUMPBIN"; then
   12611   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12612 else
   12613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12614 for as_dir in $PATH
   12615 do
   12616   IFS=$as_save_IFS
   12617   case $as_dir in #(((
   12618     '') as_dir=./ ;;
   12619     */) ;;
   12620     *) as_dir=$as_dir/ ;;
   12621   esac
   12622     for ac_exec_ext in '' $ac_executable_extensions; do
   12623   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12624     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12625     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12626     break 2
   12627   fi
   12628 done
   12629   done
   12630 IFS=$as_save_IFS
   12631 
   12632 fi ;;
   12633 esac
   12634 fi
   12635 DUMPBIN=$ac_cv_prog_DUMPBIN
   12636 if test -n "$DUMPBIN"; then
   12637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12638 printf "%s\n" "$DUMPBIN" >&6; }
   12639 else
   12640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12641 printf "%s\n" "no" >&6; }
   12642 fi
   12643 
   12644 
   12645     test -n "$DUMPBIN" && break
   12646   done
   12647 fi
   12648 if test -z "$DUMPBIN"; then
   12649   ac_ct_DUMPBIN=$DUMPBIN
   12650   for ac_prog in dumpbin "link -dump"
   12651 do
   12652   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12653 set dummy $ac_prog; ac_word=$2
   12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12655 printf %s "checking for $ac_word... " >&6; }
   12656 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12657 then :
   12658   printf %s "(cached) " >&6
   12659 else case e in #(
   12660   e) if test -n "$ac_ct_DUMPBIN"; then
   12661   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12662 else
   12663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12664 for as_dir in $PATH
   12665 do
   12666   IFS=$as_save_IFS
   12667   case $as_dir in #(((
   12668     '') as_dir=./ ;;
   12669     */) ;;
   12670     *) as_dir=$as_dir/ ;;
   12671   esac
   12672     for ac_exec_ext in '' $ac_executable_extensions; do
   12673   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12674     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12675     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12676     break 2
   12677   fi
   12678 done
   12679   done
   12680 IFS=$as_save_IFS
   12681 
   12682 fi ;;
   12683 esac
   12684 fi
   12685 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12686 if test -n "$ac_ct_DUMPBIN"; then
   12687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12688 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12689 else
   12690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12691 printf "%s\n" "no" >&6; }
   12692 fi
   12693 
   12694 
   12695   test -n "$ac_ct_DUMPBIN" && break
   12696 done
   12697 
   12698   if test "x$ac_ct_DUMPBIN" = x; then
   12699     DUMPBIN=":"
   12700   else
   12701     case $cross_compiling:$ac_tool_warned in
   12702 yes:)
   12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12705 ac_tool_warned=yes ;;
   12706 esac
   12707     DUMPBIN=$ac_ct_DUMPBIN
   12708   fi
   12709 fi
   12710 
   12711     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12712     *COFF*)
   12713       DUMPBIN="$DUMPBIN -symbols -headers"
   12714       ;;
   12715     *)
   12716       DUMPBIN=:
   12717       ;;
   12718     esac
   12719   fi
   12720 
   12721   if test : != "$DUMPBIN"; then
   12722     NM=$DUMPBIN
   12723   fi
   12724 fi
   12725 test -z "$NM" && NM=nm
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12733 printf %s "checking the name lister ($NM) interface... " >&6; }
   12734 if test ${lt_cv_nm_interface+y}
   12735 then :
   12736   printf %s "(cached) " >&6
   12737 else case e in #(
   12738   e) lt_cv_nm_interface="BSD nm"
   12739   echo "int some_variable = 0;" > conftest.$ac_ext
   12740   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12741   (eval "$ac_compile" 2>conftest.err)
   12742   cat conftest.err >&5
   12743   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12744   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12745   cat conftest.err >&5
   12746   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12747   cat conftest.out >&5
   12748   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12749     lt_cv_nm_interface="MS dumpbin"
   12750   fi
   12751   rm -f conftest* ;;
   12752 esac
   12753 fi
   12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12755 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12756 
   12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12758 printf %s "checking whether ln -s works... " >&6; }
   12759 LN_S=$as_ln_s
   12760 if test "$LN_S" = "ln -s"; then
   12761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12762 printf "%s\n" "yes" >&6; }
   12763 else
   12764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12765 printf "%s\n" "no, using $LN_S" >&6; }
   12766 fi
   12767 
   12768 # find the maximum length of command line arguments
   12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12770 printf %s "checking the maximum length of command line arguments... " >&6; }
   12771 if test ${lt_cv_sys_max_cmd_len+y}
   12772 then :
   12773   printf %s "(cached) " >&6
   12774 else case e in #(
   12775   e)   i=0
   12776   teststring=ABCD
   12777 
   12778   case $build_os in
   12779   msdosdjgpp*)
   12780     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12781     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12782     # during glob expansion).  Even if it were fixed, the result of this
   12783     # check would be larger than it should be.
   12784     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12785     ;;
   12786 
   12787   gnu*)
   12788     # Under GNU Hurd, this test is not required because there is
   12789     # no limit to the length of command line arguments.
   12790     # Libtool will interpret -1 as no limit whatsoever
   12791     lt_cv_sys_max_cmd_len=-1;
   12792     ;;
   12793 
   12794   cygwin* | mingw* | cegcc*)
   12795     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12796     # about 5 minutes as the teststring grows exponentially.
   12797     # Worse, since 9x/ME are not pre-emptively multitasking,
   12798     # you end up with a "frozen" computer, even though with patience
   12799     # the test eventually succeeds (with a max line length of 256k).
   12800     # Instead, let's just punt: use the minimum linelength reported by
   12801     # all of the supported platforms: 8192 (on NT/2K/XP).
   12802     lt_cv_sys_max_cmd_len=8192;
   12803     ;;
   12804 
   12805   mint*)
   12806     # On MiNT this can take a long time and run out of memory.
   12807     lt_cv_sys_max_cmd_len=8192;
   12808     ;;
   12809 
   12810   amigaos*)
   12811     # On AmigaOS with pdksh, this test takes hours, literally.
   12812     # So we just punt and use a minimum line length of 8192.
   12813     lt_cv_sys_max_cmd_len=8192;
   12814     ;;
   12815 
   12816   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12817     # This has been around since 386BSD, at least.  Likely further.
   12818     if test -x /sbin/sysctl; then
   12819       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12820     elif test -x /usr/sbin/sysctl; then
   12821       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12822     else
   12823       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12824     fi
   12825     # And add a safety zone
   12826     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12827     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12828     ;;
   12829 
   12830   interix*)
   12831     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12832     lt_cv_sys_max_cmd_len=196608
   12833     ;;
   12834 
   12835   os2*)
   12836     # The test takes a long time on OS/2.
   12837     lt_cv_sys_max_cmd_len=8192
   12838     ;;
   12839 
   12840   osf*)
   12841     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12842     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12843     # nice to cause kernel panics so lets avoid the loop below.
   12844     # First set a reasonable default.
   12845     lt_cv_sys_max_cmd_len=16384
   12846     #
   12847     if test -x /sbin/sysconfig; then
   12848       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12849         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12850       esac
   12851     fi
   12852     ;;
   12853   sco3.2v5*)
   12854     lt_cv_sys_max_cmd_len=102400
   12855     ;;
   12856   sysv5* | sco5v6* | sysv4.2uw2*)
   12857     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12858     if test -n "$kargmax"; then
   12859       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12860     else
   12861       lt_cv_sys_max_cmd_len=32768
   12862     fi
   12863     ;;
   12864   *)
   12865     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12866     if test -n "$lt_cv_sys_max_cmd_len" && \
   12867        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12868       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12869       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12870     else
   12871       # Make teststring a little bigger before we do anything with it.
   12872       # a 1K string should be a reasonable start.
   12873       for i in 1 2 3 4 5 6 7 8; do
   12874         teststring=$teststring$teststring
   12875       done
   12876       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12877       # If test is not a shell built-in, we'll probably end up computing a
   12878       # maximum length that is only half of the actual maximum length, but
   12879       # we can't tell.
   12880       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12881 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12882 	      test 17 != "$i" # 1/2 MB should be enough
   12883       do
   12884         i=`expr $i + 1`
   12885         teststring=$teststring$teststring
   12886       done
   12887       # Only check the string length outside the loop.
   12888       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12889       teststring=
   12890       # Add a significant safety factor because C++ compilers can tack on
   12891       # massive amounts of additional arguments before passing them to the
   12892       # linker.  It appears as though 1/2 is a usable value.
   12893       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12894     fi
   12895     ;;
   12896   esac
   12897  ;;
   12898 esac
   12899 fi
   12900 
   12901 if test -n "$lt_cv_sys_max_cmd_len"; then
   12902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12903 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12904 else
   12905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12906 printf "%s\n" "none" >&6; }
   12907 fi
   12908 max_cmd_len=$lt_cv_sys_max_cmd_len
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 : ${CP="cp -f"}
   12916 : ${MV="mv -f"}
   12917 : ${RM="rm -f"}
   12918 
   12919 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12920   lt_unset=unset
   12921 else
   12922   lt_unset=false
   12923 fi
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 # test EBCDIC or ASCII
   12930 case `echo X|tr X '\101'` in
   12931  A) # ASCII based system
   12932     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12933   lt_SP2NL='tr \040 \012'
   12934   lt_NL2SP='tr \015\012 \040\040'
   12935   ;;
   12936  *) # EBCDIC based system
   12937   lt_SP2NL='tr \100 \n'
   12938   lt_NL2SP='tr \r\n \100\100'
   12939   ;;
   12940 esac
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12951 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12952 if test ${lt_cv_to_host_file_cmd+y}
   12953 then :
   12954   printf %s "(cached) " >&6
   12955 else case e in #(
   12956   e) case $host in
   12957   *-*-mingw* )
   12958     case $build in
   12959       *-*-mingw* ) # actually msys
   12960         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12961         ;;
   12962       *-*-cygwin* )
   12963         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12964         ;;
   12965       * ) # otherwise, assume *nix
   12966         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12967         ;;
   12968     esac
   12969     ;;
   12970   *-*-cygwin* )
   12971     case $build in
   12972       *-*-mingw* ) # actually msys
   12973         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12974         ;;
   12975       *-*-cygwin* )
   12976         lt_cv_to_host_file_cmd=func_convert_file_noop
   12977         ;;
   12978       * ) # otherwise, assume *nix
   12979         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12980         ;;
   12981     esac
   12982     ;;
   12983   * ) # unhandled hosts (and "normal" native builds)
   12984     lt_cv_to_host_file_cmd=func_convert_file_noop
   12985     ;;
   12986 esac
   12987  ;;
   12988 esac
   12989 fi
   12990 
   12991 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12993 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   13000 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   13001 if test ${lt_cv_to_tool_file_cmd+y}
   13002 then :
   13003   printf %s "(cached) " >&6
   13004 else case e in #(
   13005   e) #assume ordinary cross tools, or native build.
   13006 lt_cv_to_tool_file_cmd=func_convert_file_noop
   13007 case $host in
   13008   *-*-mingw* )
   13009     case $build in
   13010       *-*-mingw* ) # actually msys
   13011         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   13012         ;;
   13013     esac
   13014     ;;
   13015 esac
   13016  ;;
   13017 esac
   13018 fi
   13019 
   13020 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   13022 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   13029 printf %s "checking for $LD option to reload object files... " >&6; }
   13030 if test ${lt_cv_ld_reload_flag+y}
   13031 then :
   13032   printf %s "(cached) " >&6
   13033 else case e in #(
   13034   e) lt_cv_ld_reload_flag='-r' ;;
   13035 esac
   13036 fi
   13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   13038 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   13039 reload_flag=$lt_cv_ld_reload_flag
   13040 case $reload_flag in
   13041 "" | " "*) ;;
   13042 *) reload_flag=" $reload_flag" ;;
   13043 esac
   13044 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   13045 case $host_os in
   13046   cygwin* | mingw* | pw32* | cegcc*)
   13047     if test yes != "$GCC"; then
   13048       reload_cmds=false
   13049     fi
   13050     ;;
   13051   darwin*)
   13052     if test yes = "$GCC"; then
   13053       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   13054     else
   13055       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   13056     fi
   13057     ;;
   13058 esac
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 if test -n "$ac_tool_prefix"; then
   13069   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   13070 set dummy ${ac_tool_prefix}file; ac_word=$2
   13071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13072 printf %s "checking for $ac_word... " >&6; }
   13073 if test ${ac_cv_prog_FILECMD+y}
   13074 then :
   13075   printf %s "(cached) " >&6
   13076 else case e in #(
   13077   e) if test -n "$FILECMD"; then
   13078   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   13079 else
   13080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13081 for as_dir in $PATH
   13082 do
   13083   IFS=$as_save_IFS
   13084   case $as_dir in #(((
   13085     '') as_dir=./ ;;
   13086     */) ;;
   13087     *) as_dir=$as_dir/ ;;
   13088   esac
   13089     for ac_exec_ext in '' $ac_executable_extensions; do
   13090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13091     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   13092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13093     break 2
   13094   fi
   13095 done
   13096   done
   13097 IFS=$as_save_IFS
   13098 
   13099 fi ;;
   13100 esac
   13101 fi
   13102 FILECMD=$ac_cv_prog_FILECMD
   13103 if test -n "$FILECMD"; then
   13104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   13105 printf "%s\n" "$FILECMD" >&6; }
   13106 else
   13107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13108 printf "%s\n" "no" >&6; }
   13109 fi
   13110 
   13111 
   13112 fi
   13113 if test -z "$ac_cv_prog_FILECMD"; then
   13114   ac_ct_FILECMD=$FILECMD
   13115   # Extract the first word of "file", so it can be a program name with args.
   13116 set dummy file; ac_word=$2
   13117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13118 printf %s "checking for $ac_word... " >&6; }
   13119 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   13120 then :
   13121   printf %s "(cached) " >&6
   13122 else case e in #(
   13123   e) if test -n "$ac_ct_FILECMD"; then
   13124   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   13125 else
   13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13127 for as_dir in $PATH
   13128 do
   13129   IFS=$as_save_IFS
   13130   case $as_dir in #(((
   13131     '') as_dir=./ ;;
   13132     */) ;;
   13133     *) as_dir=$as_dir/ ;;
   13134   esac
   13135     for ac_exec_ext in '' $ac_executable_extensions; do
   13136   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13137     ac_cv_prog_ac_ct_FILECMD="file"
   13138     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13139     break 2
   13140   fi
   13141 done
   13142   done
   13143 IFS=$as_save_IFS
   13144 
   13145 fi ;;
   13146 esac
   13147 fi
   13148 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   13149 if test -n "$ac_ct_FILECMD"; then
   13150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   13151 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   13152 else
   13153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13154 printf "%s\n" "no" >&6; }
   13155 fi
   13156 
   13157   if test "x$ac_ct_FILECMD" = x; then
   13158     FILECMD=":"
   13159   else
   13160     case $cross_compiling:$ac_tool_warned in
   13161 yes:)
   13162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13163 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13164 ac_tool_warned=yes ;;
   13165 esac
   13166     FILECMD=$ac_ct_FILECMD
   13167   fi
   13168 else
   13169   FILECMD="$ac_cv_prog_FILECMD"
   13170 fi
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 if test -n "$ac_tool_prefix"; then
   13179   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   13180 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   13181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13182 printf %s "checking for $ac_word... " >&6; }
   13183 if test ${ac_cv_prog_OBJDUMP+y}
   13184 then :
   13185   printf %s "(cached) " >&6
   13186 else case e in #(
   13187   e) if test -n "$OBJDUMP"; then
   13188   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   13189 else
   13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13191 for as_dir in $PATH
   13192 do
   13193   IFS=$as_save_IFS
   13194   case $as_dir in #(((
   13195     '') as_dir=./ ;;
   13196     */) ;;
   13197     *) as_dir=$as_dir/ ;;
   13198   esac
   13199     for ac_exec_ext in '' $ac_executable_extensions; do
   13200   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13201     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   13202     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13203     break 2
   13204   fi
   13205 done
   13206   done
   13207 IFS=$as_save_IFS
   13208 
   13209 fi ;;
   13210 esac
   13211 fi
   13212 OBJDUMP=$ac_cv_prog_OBJDUMP
   13213 if test -n "$OBJDUMP"; then
   13214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   13215 printf "%s\n" "$OBJDUMP" >&6; }
   13216 else
   13217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13218 printf "%s\n" "no" >&6; }
   13219 fi
   13220 
   13221 
   13222 fi
   13223 if test -z "$ac_cv_prog_OBJDUMP"; then
   13224   ac_ct_OBJDUMP=$OBJDUMP
   13225   # Extract the first word of "objdump", so it can be a program name with args.
   13226 set dummy objdump; ac_word=$2
   13227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13228 printf %s "checking for $ac_word... " >&6; }
   13229 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   13230 then :
   13231   printf %s "(cached) " >&6
   13232 else case e in #(
   13233   e) if test -n "$ac_ct_OBJDUMP"; then
   13234   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   13235 else
   13236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13237 for as_dir in $PATH
   13238 do
   13239   IFS=$as_save_IFS
   13240   case $as_dir in #(((
   13241     '') as_dir=./ ;;
   13242     */) ;;
   13243     *) as_dir=$as_dir/ ;;
   13244   esac
   13245     for ac_exec_ext in '' $ac_executable_extensions; do
   13246   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13247     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   13248     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13249     break 2
   13250   fi
   13251 done
   13252   done
   13253 IFS=$as_save_IFS
   13254 
   13255 fi ;;
   13256 esac
   13257 fi
   13258 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   13259 if test -n "$ac_ct_OBJDUMP"; then
   13260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   13261 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   13262 else
   13263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13264 printf "%s\n" "no" >&6; }
   13265 fi
   13266 
   13267   if test "x$ac_ct_OBJDUMP" = x; then
   13268     OBJDUMP="false"
   13269   else
   13270     case $cross_compiling:$ac_tool_warned in
   13271 yes:)
   13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13273 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13274 ac_tool_warned=yes ;;
   13275 esac
   13276     OBJDUMP=$ac_ct_OBJDUMP
   13277   fi
   13278 else
   13279   OBJDUMP="$ac_cv_prog_OBJDUMP"
   13280 fi
   13281 
   13282 test -z "$OBJDUMP" && OBJDUMP=objdump
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   13293 printf %s "checking how to recognize dependent libraries... " >&6; }
   13294 if test ${lt_cv_deplibs_check_method+y}
   13295 then :
   13296   printf %s "(cached) " >&6
   13297 else case e in #(
   13298   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   13299 lt_cv_file_magic_test_file=
   13300 lt_cv_deplibs_check_method='unknown'
   13301 # Need to set the preceding variable on all platforms that support
   13302 # interlibrary dependencies.
   13303 # 'none' -- dependencies not supported.
   13304 # 'unknown' -- same as none, but documents that we really don't know.
   13305 # 'pass_all' -- all dependencies passed with no checks.
   13306 # 'test_compile' -- check by making test program.
   13307 # 'file_magic [[regex]]' -- check by looking for files in library path
   13308 # that responds to the $file_magic_cmd with a given extended regex.
   13309 # If you have 'file' or equivalent on your system and you're not sure
   13310 # whether 'pass_all' will *always* work, you probably want this one.
   13311 
   13312 case $host_os in
   13313 aix[4-9]*)
   13314   lt_cv_deplibs_check_method=pass_all
   13315   ;;
   13316 
   13317 beos*)
   13318   lt_cv_deplibs_check_method=pass_all
   13319   ;;
   13320 
   13321 bsdi[45]*)
   13322   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   13323   lt_cv_file_magic_cmd='$FILECMD -L'
   13324   lt_cv_file_magic_test_file=/shlib/libc.so
   13325   ;;
   13326 
   13327 cygwin*)
   13328   # func_win32_libid is a shell function defined in ltmain.sh
   13329   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   13330   lt_cv_file_magic_cmd='func_win32_libid'
   13331   ;;
   13332 
   13333 mingw* | pw32*)
   13334   # Base MSYS/MinGW do not provide the 'file' command needed by
   13335   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   13336   # unless we find 'file', for example because we are cross-compiling.
   13337   if ( file / ) >/dev/null 2>&1; then
   13338     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   13339     lt_cv_file_magic_cmd='func_win32_libid'
   13340   else
   13341     # Keep this pattern in sync with the one in func_win32_libid.
   13342     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   13343     lt_cv_file_magic_cmd='$OBJDUMP -f'
   13344   fi
   13345   ;;
   13346 
   13347 cegcc*)
   13348   # use the weaker test based on 'objdump'. See mingw*.
   13349   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   13350   lt_cv_file_magic_cmd='$OBJDUMP -f'
   13351   ;;
   13352 
   13353 darwin* | rhapsody*)
   13354   lt_cv_deplibs_check_method=pass_all
   13355   ;;
   13356 
   13357 freebsd* | dragonfly* | midnightbsd*)
   13358   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13359     case $host_cpu in
   13360     i*86 )
   13361       # Not sure whether the presence of OpenBSD here was a mistake.
   13362       # Let's accept both of them until this is cleared up.
   13363       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   13364       lt_cv_file_magic_cmd=$FILECMD
   13365       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   13366       ;;
   13367     esac
   13368   else
   13369     lt_cv_deplibs_check_method=pass_all
   13370   fi
   13371   ;;
   13372 
   13373 haiku*)
   13374   lt_cv_deplibs_check_method=pass_all
   13375   ;;
   13376 
   13377 hpux10.20* | hpux11*)
   13378   lt_cv_file_magic_cmd=$FILECMD
   13379   case $host_cpu in
   13380   ia64*)
   13381     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   13382     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   13383     ;;
   13384   hppa*64*)
   13385     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]'
   13386     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   13387     ;;
   13388   *)
   13389     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   13390     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   13391     ;;
   13392   esac
   13393   ;;
   13394 
   13395 interix[3-9]*)
   13396   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   13397   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   13398   ;;
   13399 
   13400 irix5* | irix6* | nonstopux*)
   13401   case $LD in
   13402   *-32|*"-32 ") libmagic=32-bit;;
   13403   *-n32|*"-n32 ") libmagic=N32;;
   13404   *-64|*"-64 ") libmagic=64-bit;;
   13405   *) libmagic=never-match;;
   13406   esac
   13407   lt_cv_deplibs_check_method=pass_all
   13408   ;;
   13409 
   13410 # This must be glibc/ELF.
   13411 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13412   lt_cv_deplibs_check_method=pass_all
   13413   ;;
   13414 
   13415 netbsd*)
   13416   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13417     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13418   else
   13419     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13420   fi
   13421   ;;
   13422 
   13423 newos6*)
   13424   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13425   lt_cv_file_magic_cmd=$FILECMD
   13426   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13427   ;;
   13428 
   13429 *nto* | *qnx*)
   13430   lt_cv_deplibs_check_method=pass_all
   13431   ;;
   13432 
   13433 openbsd* | bitrig*)
   13434   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13435     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13436   else
   13437     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13438   fi
   13439   ;;
   13440 
   13441 osf3* | osf4* | osf5*)
   13442   lt_cv_deplibs_check_method=pass_all
   13443   ;;
   13444 
   13445 rdos*)
   13446   lt_cv_deplibs_check_method=pass_all
   13447   ;;
   13448 
   13449 solaris*)
   13450   lt_cv_deplibs_check_method=pass_all
   13451   ;;
   13452 
   13453 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13454   lt_cv_deplibs_check_method=pass_all
   13455   ;;
   13456 
   13457 sysv4 | sysv4.3*)
   13458   case $host_vendor in
   13459   motorola)
   13460     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]'
   13461     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13462     ;;
   13463   ncr)
   13464     lt_cv_deplibs_check_method=pass_all
   13465     ;;
   13466   sequent)
   13467     lt_cv_file_magic_cmd='/bin/file'
   13468     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13469     ;;
   13470   sni)
   13471     lt_cv_file_magic_cmd='/bin/file'
   13472     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13473     lt_cv_file_magic_test_file=/lib/libc.so
   13474     ;;
   13475   siemens)
   13476     lt_cv_deplibs_check_method=pass_all
   13477     ;;
   13478   pc)
   13479     lt_cv_deplibs_check_method=pass_all
   13480     ;;
   13481   esac
   13482   ;;
   13483 
   13484 tpf*)
   13485   lt_cv_deplibs_check_method=pass_all
   13486   ;;
   13487 os2*)
   13488   lt_cv_deplibs_check_method=pass_all
   13489   ;;
   13490 esac
   13491  ;;
   13492 esac
   13493 fi
   13494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13495 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13496 
   13497 file_magic_glob=
   13498 want_nocaseglob=no
   13499 if test "$build" = "$host"; then
   13500   case $host_os in
   13501   mingw* | pw32*)
   13502     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13503       want_nocaseglob=yes
   13504     else
   13505       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13506     fi
   13507     ;;
   13508   esac
   13509 fi
   13510 
   13511 file_magic_cmd=$lt_cv_file_magic_cmd
   13512 deplibs_check_method=$lt_cv_deplibs_check_method
   13513 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 if test -n "$ac_tool_prefix"; then
   13537   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13538 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13540 printf %s "checking for $ac_word... " >&6; }
   13541 if test ${ac_cv_prog_DLLTOOL+y}
   13542 then :
   13543   printf %s "(cached) " >&6
   13544 else case e in #(
   13545   e) if test -n "$DLLTOOL"; then
   13546   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13547 else
   13548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13549 for as_dir in $PATH
   13550 do
   13551   IFS=$as_save_IFS
   13552   case $as_dir in #(((
   13553     '') as_dir=./ ;;
   13554     */) ;;
   13555     *) as_dir=$as_dir/ ;;
   13556   esac
   13557     for ac_exec_ext in '' $ac_executable_extensions; do
   13558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13559     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13560     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13561     break 2
   13562   fi
   13563 done
   13564   done
   13565 IFS=$as_save_IFS
   13566 
   13567 fi ;;
   13568 esac
   13569 fi
   13570 DLLTOOL=$ac_cv_prog_DLLTOOL
   13571 if test -n "$DLLTOOL"; then
   13572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13573 printf "%s\n" "$DLLTOOL" >&6; }
   13574 else
   13575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13576 printf "%s\n" "no" >&6; }
   13577 fi
   13578 
   13579 
   13580 fi
   13581 if test -z "$ac_cv_prog_DLLTOOL"; then
   13582   ac_ct_DLLTOOL=$DLLTOOL
   13583   # Extract the first word of "dlltool", so it can be a program name with args.
   13584 set dummy dlltool; ac_word=$2
   13585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13586 printf %s "checking for $ac_word... " >&6; }
   13587 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13588 then :
   13589   printf %s "(cached) " >&6
   13590 else case e in #(
   13591   e) if test -n "$ac_ct_DLLTOOL"; then
   13592   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13593 else
   13594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13595 for as_dir in $PATH
   13596 do
   13597   IFS=$as_save_IFS
   13598   case $as_dir in #(((
   13599     '') as_dir=./ ;;
   13600     */) ;;
   13601     *) as_dir=$as_dir/ ;;
   13602   esac
   13603     for ac_exec_ext in '' $ac_executable_extensions; do
   13604   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13605     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13606     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13607     break 2
   13608   fi
   13609 done
   13610   done
   13611 IFS=$as_save_IFS
   13612 
   13613 fi ;;
   13614 esac
   13615 fi
   13616 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13617 if test -n "$ac_ct_DLLTOOL"; then
   13618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13619 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13620 else
   13621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13622 printf "%s\n" "no" >&6; }
   13623 fi
   13624 
   13625   if test "x$ac_ct_DLLTOOL" = x; then
   13626     DLLTOOL="false"
   13627   else
   13628     case $cross_compiling:$ac_tool_warned in
   13629 yes:)
   13630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13631 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13632 ac_tool_warned=yes ;;
   13633 esac
   13634     DLLTOOL=$ac_ct_DLLTOOL
   13635   fi
   13636 else
   13637   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13638 fi
   13639 
   13640 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13652 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13653 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13654 then :
   13655   printf %s "(cached) " >&6
   13656 else case e in #(
   13657   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13658 
   13659 case $host_os in
   13660 cygwin* | mingw* | pw32* | cegcc*)
   13661   # two different shell functions defined in ltmain.sh;
   13662   # decide which one to use based on capabilities of $DLLTOOL
   13663   case `$DLLTOOL --help 2>&1` in
   13664   *--identify-strict*)
   13665     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13666     ;;
   13667   *)
   13668     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13669     ;;
   13670   esac
   13671   ;;
   13672 *)
   13673   # fallback: assume linklib IS sharedlib
   13674   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13675   ;;
   13676 esac
   13677  ;;
   13678 esac
   13679 fi
   13680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13681 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13682 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13683 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 if test -n "$ac_tool_prefix"; then
   13692   for ac_prog in ar
   13693   do
   13694     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13697 printf %s "checking for $ac_word... " >&6; }
   13698 if test ${ac_cv_prog_AR+y}
   13699 then :
   13700   printf %s "(cached) " >&6
   13701 else case e in #(
   13702   e) if test -n "$AR"; then
   13703   ac_cv_prog_AR="$AR" # Let the user override the test.
   13704 else
   13705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13706 for as_dir in $PATH
   13707 do
   13708   IFS=$as_save_IFS
   13709   case $as_dir in #(((
   13710     '') as_dir=./ ;;
   13711     */) ;;
   13712     *) as_dir=$as_dir/ ;;
   13713   esac
   13714     for ac_exec_ext in '' $ac_executable_extensions; do
   13715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13716     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13718     break 2
   13719   fi
   13720 done
   13721   done
   13722 IFS=$as_save_IFS
   13723 
   13724 fi ;;
   13725 esac
   13726 fi
   13727 AR=$ac_cv_prog_AR
   13728 if test -n "$AR"; then
   13729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13730 printf "%s\n" "$AR" >&6; }
   13731 else
   13732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13733 printf "%s\n" "no" >&6; }
   13734 fi
   13735 
   13736 
   13737     test -n "$AR" && break
   13738   done
   13739 fi
   13740 if test -z "$AR"; then
   13741   ac_ct_AR=$AR
   13742   for ac_prog in ar
   13743 do
   13744   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13745 set dummy $ac_prog; ac_word=$2
   13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13747 printf %s "checking for $ac_word... " >&6; }
   13748 if test ${ac_cv_prog_ac_ct_AR+y}
   13749 then :
   13750   printf %s "(cached) " >&6
   13751 else case e in #(
   13752   e) if test -n "$ac_ct_AR"; then
   13753   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13754 else
   13755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13756 for as_dir in $PATH
   13757 do
   13758   IFS=$as_save_IFS
   13759   case $as_dir in #(((
   13760     '') as_dir=./ ;;
   13761     */) ;;
   13762     *) as_dir=$as_dir/ ;;
   13763   esac
   13764     for ac_exec_ext in '' $ac_executable_extensions; do
   13765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13766     ac_cv_prog_ac_ct_AR="$ac_prog"
   13767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13768     break 2
   13769   fi
   13770 done
   13771   done
   13772 IFS=$as_save_IFS
   13773 
   13774 fi ;;
   13775 esac
   13776 fi
   13777 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13778 if test -n "$ac_ct_AR"; then
   13779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13780 printf "%s\n" "$ac_ct_AR" >&6; }
   13781 else
   13782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13783 printf "%s\n" "no" >&6; }
   13784 fi
   13785 
   13786 
   13787   test -n "$ac_ct_AR" && break
   13788 done
   13789 
   13790   if test "x$ac_ct_AR" = x; then
   13791     AR="false"
   13792   else
   13793     case $cross_compiling:$ac_tool_warned in
   13794 yes:)
   13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13797 ac_tool_warned=yes ;;
   13798 esac
   13799     AR=$ac_ct_AR
   13800   fi
   13801 fi
   13802 
   13803 : ${AR=ar}
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13811 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13812 # higher priority because thats what people were doing historically (setting
   13813 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13814 # variable obsoleted/removed.
   13815 
   13816 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13817 lt_ar_flags=$AR_FLAGS
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13825 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13833 printf %s "checking for archiver @FILE support... " >&6; }
   13834 if test ${lt_cv_ar_at_file+y}
   13835 then :
   13836   printf %s "(cached) " >&6
   13837 else case e in #(
   13838   e) lt_cv_ar_at_file=no
   13839    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13840 /* end confdefs.h.  */
   13841 
   13842 int
   13843 main (void)
   13844 {
   13845 
   13846   ;
   13847   return 0;
   13848 }
   13849 _ACEOF
   13850 if ac_fn_c_try_compile "$LINENO"
   13851 then :
   13852   echo conftest.$ac_objext > conftest.lst
   13853       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13854       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13855   (eval $lt_ar_try) 2>&5
   13856   ac_status=$?
   13857   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13858   test $ac_status = 0; }
   13859       if test 0 -eq "$ac_status"; then
   13860 	# Ensure the archiver fails upon bogus file names.
   13861 	rm -f conftest.$ac_objext libconftest.a
   13862 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13863   (eval $lt_ar_try) 2>&5
   13864   ac_status=$?
   13865   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13866   test $ac_status = 0; }
   13867 	if test 0 -ne "$ac_status"; then
   13868           lt_cv_ar_at_file=@
   13869         fi
   13870       fi
   13871       rm -f conftest.* libconftest.a
   13872 
   13873 fi
   13874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13875    ;;
   13876 esac
   13877 fi
   13878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13879 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13880 
   13881 if test no = "$lt_cv_ar_at_file"; then
   13882   archiver_list_spec=
   13883 else
   13884   archiver_list_spec=$lt_cv_ar_at_file
   13885 fi
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 if test -n "$ac_tool_prefix"; then
   13894   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13895 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13897 printf %s "checking for $ac_word... " >&6; }
   13898 if test ${ac_cv_prog_STRIP+y}
   13899 then :
   13900   printf %s "(cached) " >&6
   13901 else case e in #(
   13902   e) if test -n "$STRIP"; then
   13903   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13904 else
   13905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13906 for as_dir in $PATH
   13907 do
   13908   IFS=$as_save_IFS
   13909   case $as_dir in #(((
   13910     '') as_dir=./ ;;
   13911     */) ;;
   13912     *) as_dir=$as_dir/ ;;
   13913   esac
   13914     for ac_exec_ext in '' $ac_executable_extensions; do
   13915   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13916     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13917     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13918     break 2
   13919   fi
   13920 done
   13921   done
   13922 IFS=$as_save_IFS
   13923 
   13924 fi ;;
   13925 esac
   13926 fi
   13927 STRIP=$ac_cv_prog_STRIP
   13928 if test -n "$STRIP"; then
   13929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13930 printf "%s\n" "$STRIP" >&6; }
   13931 else
   13932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13933 printf "%s\n" "no" >&6; }
   13934 fi
   13935 
   13936 
   13937 fi
   13938 if test -z "$ac_cv_prog_STRIP"; then
   13939   ac_ct_STRIP=$STRIP
   13940   # Extract the first word of "strip", so it can be a program name with args.
   13941 set dummy strip; ac_word=$2
   13942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13943 printf %s "checking for $ac_word... " >&6; }
   13944 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13945 then :
   13946   printf %s "(cached) " >&6
   13947 else case e in #(
   13948   e) if test -n "$ac_ct_STRIP"; then
   13949   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13950 else
   13951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13952 for as_dir in $PATH
   13953 do
   13954   IFS=$as_save_IFS
   13955   case $as_dir in #(((
   13956     '') as_dir=./ ;;
   13957     */) ;;
   13958     *) as_dir=$as_dir/ ;;
   13959   esac
   13960     for ac_exec_ext in '' $ac_executable_extensions; do
   13961   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13962     ac_cv_prog_ac_ct_STRIP="strip"
   13963     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13964     break 2
   13965   fi
   13966 done
   13967   done
   13968 IFS=$as_save_IFS
   13969 
   13970 fi ;;
   13971 esac
   13972 fi
   13973 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13974 if test -n "$ac_ct_STRIP"; then
   13975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13976 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13977 else
   13978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13979 printf "%s\n" "no" >&6; }
   13980 fi
   13981 
   13982   if test "x$ac_ct_STRIP" = x; then
   13983     STRIP=":"
   13984   else
   13985     case $cross_compiling:$ac_tool_warned in
   13986 yes:)
   13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13988 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13989 ac_tool_warned=yes ;;
   13990 esac
   13991     STRIP=$ac_ct_STRIP
   13992   fi
   13993 else
   13994   STRIP="$ac_cv_prog_STRIP"
   13995 fi
   13996 
   13997 test -z "$STRIP" && STRIP=:
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 if test -n "$ac_tool_prefix"; then
   14005   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   14006 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14008 printf %s "checking for $ac_word... " >&6; }
   14009 if test ${ac_cv_prog_RANLIB+y}
   14010 then :
   14011   printf %s "(cached) " >&6
   14012 else case e in #(
   14013   e) if test -n "$RANLIB"; then
   14014   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   14015 else
   14016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14017 for as_dir in $PATH
   14018 do
   14019   IFS=$as_save_IFS
   14020   case $as_dir in #(((
   14021     '') as_dir=./ ;;
   14022     */) ;;
   14023     *) as_dir=$as_dir/ ;;
   14024   esac
   14025     for ac_exec_ext in '' $ac_executable_extensions; do
   14026   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14027     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   14028     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14029     break 2
   14030   fi
   14031 done
   14032   done
   14033 IFS=$as_save_IFS
   14034 
   14035 fi ;;
   14036 esac
   14037 fi
   14038 RANLIB=$ac_cv_prog_RANLIB
   14039 if test -n "$RANLIB"; then
   14040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   14041 printf "%s\n" "$RANLIB" >&6; }
   14042 else
   14043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14044 printf "%s\n" "no" >&6; }
   14045 fi
   14046 
   14047 
   14048 fi
   14049 if test -z "$ac_cv_prog_RANLIB"; then
   14050   ac_ct_RANLIB=$RANLIB
   14051   # Extract the first word of "ranlib", so it can be a program name with args.
   14052 set dummy ranlib; ac_word=$2
   14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14054 printf %s "checking for $ac_word... " >&6; }
   14055 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   14056 then :
   14057   printf %s "(cached) " >&6
   14058 else case e in #(
   14059   e) if test -n "$ac_ct_RANLIB"; then
   14060   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   14061 else
   14062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14063 for as_dir in $PATH
   14064 do
   14065   IFS=$as_save_IFS
   14066   case $as_dir in #(((
   14067     '') as_dir=./ ;;
   14068     */) ;;
   14069     *) as_dir=$as_dir/ ;;
   14070   esac
   14071     for ac_exec_ext in '' $ac_executable_extensions; do
   14072   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14073     ac_cv_prog_ac_ct_RANLIB="ranlib"
   14074     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14075     break 2
   14076   fi
   14077 done
   14078   done
   14079 IFS=$as_save_IFS
   14080 
   14081 fi ;;
   14082 esac
   14083 fi
   14084 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   14085 if test -n "$ac_ct_RANLIB"; then
   14086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   14087 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   14088 else
   14089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14090 printf "%s\n" "no" >&6; }
   14091 fi
   14092 
   14093   if test "x$ac_ct_RANLIB" = x; then
   14094     RANLIB=":"
   14095   else
   14096     case $cross_compiling:$ac_tool_warned in
   14097 yes:)
   14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14100 ac_tool_warned=yes ;;
   14101 esac
   14102     RANLIB=$ac_ct_RANLIB
   14103   fi
   14104 else
   14105   RANLIB="$ac_cv_prog_RANLIB"
   14106 fi
   14107 
   14108 test -z "$RANLIB" && RANLIB=:
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 # Determine commands to create old-style static archives.
   14116 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   14117 old_postinstall_cmds='chmod 644 $oldlib'
   14118 old_postuninstall_cmds=
   14119 
   14120 if test -n "$RANLIB"; then
   14121   case $host_os in
   14122   bitrig* | openbsd*)
   14123     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   14124     ;;
   14125   *)
   14126     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   14127     ;;
   14128   esac
   14129   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   14130 fi
   14131 
   14132 case $host_os in
   14133   darwin*)
   14134     lock_old_archive_extraction=yes ;;
   14135   *)
   14136     lock_old_archive_extraction=no ;;
   14137 esac
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 # If no C compiler was specified, use CC.
   14178 LTCC=${LTCC-"$CC"}
   14179 
   14180 # If no C compiler flags were specified, use CFLAGS.
   14181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14182 
   14183 # Allow CC to be a program name with arguments.
   14184 compiler=$CC
   14185 
   14186 
   14187 # Check for command to grab the raw symbol name followed by C symbol from nm.
   14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   14189 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   14190 if test ${lt_cv_sys_global_symbol_pipe+y}
   14191 then :
   14192   printf %s "(cached) " >&6
   14193 else case e in #(
   14194   e)
   14195 # These are sane defaults that work on at least a few old systems.
   14196 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   14197 
   14198 # Character class describing NM global symbol codes.
   14199 symcode='[BCDEGRST]'
   14200 
   14201 # Regexp to match symbols that can be accessed directly from C.
   14202 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   14203 
   14204 # Define system-specific variables.
   14205 case $host_os in
   14206 aix*)
   14207   symcode='[BCDT]'
   14208   ;;
   14209 cygwin* | mingw* | pw32* | cegcc*)
   14210   symcode='[ABCDGISTW]'
   14211   ;;
   14212 hpux*)
   14213   if test ia64 = "$host_cpu"; then
   14214     symcode='[ABCDEGRST]'
   14215   fi
   14216   ;;
   14217 irix* | nonstopux*)
   14218   symcode='[BCDEGRST]'
   14219   ;;
   14220 osf*)
   14221   symcode='[BCDEGQRST]'
   14222   ;;
   14223 solaris*)
   14224   symcode='[BDRT]'
   14225   ;;
   14226 sco3.2v5*)
   14227   symcode='[DT]'
   14228   ;;
   14229 sysv4.2uw2*)
   14230   symcode='[DT]'
   14231   ;;
   14232 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   14233   symcode='[ABDT]'
   14234   ;;
   14235 sysv4)
   14236   symcode='[DFNSTU]'
   14237   ;;
   14238 esac
   14239 
   14240 # If we're using GNU nm, then use its standard symbol codes.
   14241 case `$NM -V 2>&1` in
   14242 *GNU* | *'with BFD'*)
   14243   symcode='[ABCDGIRSTW]' ;;
   14244 esac
   14245 
   14246 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14247   # Gets list of data symbols to import.
   14248   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   14249   # Adjust the below global symbol transforms to fixup imported variables.
   14250   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   14251   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   14252   lt_c_name_lib_hook="\
   14253   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   14254   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   14255 else
   14256   # Disable hooks by default.
   14257   lt_cv_sys_global_symbol_to_import=
   14258   lt_cdecl_hook=
   14259   lt_c_name_hook=
   14260   lt_c_name_lib_hook=
   14261 fi
   14262 
   14263 # Transform an extracted symbol line into a proper C declaration.
   14264 # Some systems (esp. on ia64) link data and code symbols differently,
   14265 # so use this general approach.
   14266 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   14267 $lt_cdecl_hook\
   14268 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   14269 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   14270 
   14271 # Transform an extracted symbol line into symbol name and symbol address
   14272 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   14273 $lt_c_name_hook\
   14274 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   14275 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   14276 
   14277 # Transform an extracted symbol line into symbol name with lib prefix and
   14278 # symbol address.
   14279 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   14280 $lt_c_name_lib_hook\
   14281 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   14282 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   14283 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   14284 
   14285 # Handle CRLF in mingw tool chain
   14286 opt_cr=
   14287 case $build_os in
   14288 mingw*)
   14289   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   14290   ;;
   14291 esac
   14292 
   14293 # Try without a prefix underscore, then with it.
   14294 for ac_symprfx in "" "_"; do
   14295 
   14296   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   14297   symxfrm="\\1 $ac_symprfx\\2 \\2"
   14298 
   14299   # Write the raw and C identifiers.
   14300   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14301     # Fake it for dumpbin and say T for any non-static function,
   14302     # D for any global variable and I for any imported variable.
   14303     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   14304     # which start with @ or ?.
   14305     lt_cv_sys_global_symbol_pipe="$AWK '"\
   14306 "     {last_section=section; section=\$ 3};"\
   14307 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   14308 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   14309 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   14310 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   14311 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   14312 "     \$ 0!~/External *\|/{next};"\
   14313 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   14314 "     {if(hide[section]) next};"\
   14315 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   14316 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   14317 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   14318 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   14319 "     ' prfx=^$ac_symprfx"
   14320   else
   14321     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   14322   fi
   14323   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   14324 
   14325   # Check to see that the pipe works correctly.
   14326   pipe_works=no
   14327 
   14328   rm -f conftest*
   14329   cat > conftest.$ac_ext <<_LT_EOF
   14330 #ifdef __cplusplus
   14331 extern "C" {
   14332 #endif
   14333 char nm_test_var;
   14334 void nm_test_func(void);
   14335 void nm_test_func(void){}
   14336 #ifdef __cplusplus
   14337 }
   14338 #endif
   14339 int main(){nm_test_var='a';nm_test_func();return(0);}
   14340 _LT_EOF
   14341 
   14342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14343   (eval $ac_compile) 2>&5
   14344   ac_status=$?
   14345   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14346   test $ac_status = 0; }; then
   14347     # Now try to grab the symbols.
   14348     nlist=conftest.nm
   14349     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   14350   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   14351   ac_status=$?
   14352   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14353   test $ac_status = 0; } && test -s "$nlist"; then
   14354       # Try sorting and uniquifying the output.
   14355       if sort "$nlist" | uniq > "$nlist"T; then
   14356 	mv -f "$nlist"T "$nlist"
   14357       else
   14358 	rm -f "$nlist"T
   14359       fi
   14360 
   14361       # Make sure that we snagged all the symbols we need.
   14362       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   14363 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   14364 	  cat <<_LT_EOF > conftest.$ac_ext
   14365 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   14366 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   14367 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   14368    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   14369 # define LT_DLSYM_CONST
   14370 #elif defined __osf__
   14371 /* This system does not cope well with relocations in const data.  */
   14372 # define LT_DLSYM_CONST
   14373 #else
   14374 # define LT_DLSYM_CONST const
   14375 #endif
   14376 
   14377 #ifdef __cplusplus
   14378 extern "C" {
   14379 #endif
   14380 
   14381 _LT_EOF
   14382 	  # Now generate the symbol file.
   14383 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   14384 
   14385 	  cat <<_LT_EOF >> conftest.$ac_ext
   14386 
   14387 /* The mapping between symbol names and symbols.  */
   14388 LT_DLSYM_CONST struct {
   14389   const char *name;
   14390   void       *address;
   14391 }
   14392 lt__PROGRAM__LTX_preloaded_symbols[] =
   14393 {
   14394   { "@PROGRAM@", (void *) 0 },
   14395 _LT_EOF
   14396 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   14397 	  cat <<\_LT_EOF >> conftest.$ac_ext
   14398   {0, (void *) 0}
   14399 };
   14400 
   14401 /* This works around a problem in FreeBSD linker */
   14402 #ifdef FREEBSD_WORKAROUND
   14403 static const void *lt_preloaded_setup() {
   14404   return lt__PROGRAM__LTX_preloaded_symbols;
   14405 }
   14406 #endif
   14407 
   14408 #ifdef __cplusplus
   14409 }
   14410 #endif
   14411 _LT_EOF
   14412 	  # Now try linking the two files.
   14413 	  mv conftest.$ac_objext conftstm.$ac_objext
   14414 	  lt_globsym_save_LIBS=$LIBS
   14415 	  lt_globsym_save_CFLAGS=$CFLAGS
   14416 	  LIBS=conftstm.$ac_objext
   14417 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14418 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14419   (eval $ac_link) 2>&5
   14420   ac_status=$?
   14421   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14422   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14423 	    pipe_works=yes
   14424 	  fi
   14425 	  LIBS=$lt_globsym_save_LIBS
   14426 	  CFLAGS=$lt_globsym_save_CFLAGS
   14427 	else
   14428 	  echo "cannot find nm_test_func in $nlist" >&5
   14429 	fi
   14430       else
   14431 	echo "cannot find nm_test_var in $nlist" >&5
   14432       fi
   14433     else
   14434       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14435     fi
   14436   else
   14437     echo "$progname: failed program was:" >&5
   14438     cat conftest.$ac_ext >&5
   14439   fi
   14440   rm -rf conftest* conftst*
   14441 
   14442   # Do not use the global_symbol_pipe unless it works.
   14443   if test yes = "$pipe_works"; then
   14444     break
   14445   else
   14446     lt_cv_sys_global_symbol_pipe=
   14447   fi
   14448 done
   14449  ;;
   14450 esac
   14451 fi
   14452 
   14453 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14454   lt_cv_sys_global_symbol_to_cdecl=
   14455 fi
   14456 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14458 printf "%s\n" "failed" >&6; }
   14459 else
   14460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14461 printf "%s\n" "ok" >&6; }
   14462 fi
   14463 
   14464 # Response file support.
   14465 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14466   nm_file_list_spec='@'
   14467 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14468   nm_file_list_spec='@'
   14469 fi
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14508 printf %s "checking for sysroot... " >&6; }
   14509 
   14510 # Check whether --with-sysroot was given.
   14511 if test ${with_sysroot+y}
   14512 then :
   14513   withval=$with_sysroot;
   14514 else case e in #(
   14515   e) with_sysroot=no ;;
   14516 esac
   14517 fi
   14518 
   14519 
   14520 lt_sysroot=
   14521 case $with_sysroot in #(
   14522  yes)
   14523    if test yes = "$GCC"; then
   14524      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14525    fi
   14526    ;; #(
   14527  /*)
   14528    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14529    ;; #(
   14530  no|'')
   14531    ;; #(
   14532  *)
   14533    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14534 printf "%s\n" "$with_sysroot" >&6; }
   14535    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14536    ;;
   14537 esac
   14538 
   14539  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14540 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14547 printf %s "checking for a working dd... " >&6; }
   14548 if test ${ac_cv_path_lt_DD+y}
   14549 then :
   14550   printf %s "(cached) " >&6
   14551 else case e in #(
   14552   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14553 cat conftest.i conftest.i >conftest2.i
   14554 : ${lt_DD:=$DD}
   14555 if test -z "$lt_DD"; then
   14556   ac_path_lt_DD_found=false
   14557   # Loop through the user's path and test for each of PROGNAME-LIST
   14558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14559 for as_dir in $PATH
   14560 do
   14561   IFS=$as_save_IFS
   14562   case $as_dir in #(((
   14563     '') as_dir=./ ;;
   14564     */) ;;
   14565     *) as_dir=$as_dir/ ;;
   14566   esac
   14567     for ac_prog in dd
   14568    do
   14569     for ac_exec_ext in '' $ac_executable_extensions; do
   14570       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14571       as_fn_executable_p "$ac_path_lt_DD" || continue
   14572 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14573   cmp -s conftest.i conftest.out \
   14574   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14575 fi
   14576       $ac_path_lt_DD_found && break 3
   14577     done
   14578   done
   14579   done
   14580 IFS=$as_save_IFS
   14581   if test -z "$ac_cv_path_lt_DD"; then
   14582     :
   14583   fi
   14584 else
   14585   ac_cv_path_lt_DD=$lt_DD
   14586 fi
   14587 
   14588 rm -f conftest.i conftest2.i conftest.out ;;
   14589 esac
   14590 fi
   14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14592 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14593 
   14594 
   14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14596 printf %s "checking how to truncate binary pipes... " >&6; }
   14597 if test ${lt_cv_truncate_bin+y}
   14598 then :
   14599   printf %s "(cached) " >&6
   14600 else case e in #(
   14601   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14602 cat conftest.i conftest.i >conftest2.i
   14603 lt_cv_truncate_bin=
   14604 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14605   cmp -s conftest.i conftest.out \
   14606   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14607 fi
   14608 rm -f conftest.i conftest2.i conftest.out
   14609 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14610 esac
   14611 fi
   14612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14613 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14622 func_cc_basename ()
   14623 {
   14624     for cc_temp in $*""; do
   14625       case $cc_temp in
   14626         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14627         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14628         \-*) ;;
   14629         *) break;;
   14630       esac
   14631     done
   14632     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14633 }
   14634 
   14635 # Check whether --enable-libtool-lock was given.
   14636 if test ${enable_libtool_lock+y}
   14637 then :
   14638   enableval=$enable_libtool_lock;
   14639 fi
   14640 
   14641 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14642 
   14643 # Some flags need to be propagated to the compiler or linker for good
   14644 # libtool support.
   14645 case $host in
   14646 ia64-*-hpux*)
   14647   # Find out what ABI is being produced by ac_compile, and set mode
   14648   # options accordingly.
   14649   echo 'int i;' > conftest.$ac_ext
   14650   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14651   (eval $ac_compile) 2>&5
   14652   ac_status=$?
   14653   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14654   test $ac_status = 0; }; then
   14655     case `$FILECMD conftest.$ac_objext` in
   14656       *ELF-32*)
   14657 	HPUX_IA64_MODE=32
   14658 	;;
   14659       *ELF-64*)
   14660 	HPUX_IA64_MODE=64
   14661 	;;
   14662     esac
   14663   fi
   14664   rm -rf conftest*
   14665   ;;
   14666 *-*-irix6*)
   14667   # Find out what ABI is being produced by ac_compile, and set linker
   14668   # options accordingly.
   14669   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14670   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14671   (eval $ac_compile) 2>&5
   14672   ac_status=$?
   14673   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14674   test $ac_status = 0; }; then
   14675     if test yes = "$lt_cv_prog_gnu_ld"; then
   14676       case `$FILECMD conftest.$ac_objext` in
   14677 	*32-bit*)
   14678 	  LD="${LD-ld} -melf32bsmip"
   14679 	  ;;
   14680 	*N32*)
   14681 	  LD="${LD-ld} -melf32bmipn32"
   14682 	  ;;
   14683 	*64-bit*)
   14684 	  LD="${LD-ld} -melf64bmip"
   14685 	;;
   14686       esac
   14687     else
   14688       case `$FILECMD conftest.$ac_objext` in
   14689 	*32-bit*)
   14690 	  LD="${LD-ld} -32"
   14691 	  ;;
   14692 	*N32*)
   14693 	  LD="${LD-ld} -n32"
   14694 	  ;;
   14695 	*64-bit*)
   14696 	  LD="${LD-ld} -64"
   14697 	  ;;
   14698       esac
   14699     fi
   14700   fi
   14701   rm -rf conftest*
   14702   ;;
   14703 
   14704 mips64*-*linux*)
   14705   # Find out what ABI is being produced by ac_compile, and set linker
   14706   # options accordingly.
   14707   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14708   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14709   (eval $ac_compile) 2>&5
   14710   ac_status=$?
   14711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14712   test $ac_status = 0; }; then
   14713     emul=elf
   14714     case `$FILECMD conftest.$ac_objext` in
   14715       *32-bit*)
   14716 	emul="${emul}32"
   14717 	;;
   14718       *64-bit*)
   14719 	emul="${emul}64"
   14720 	;;
   14721     esac
   14722     case `$FILECMD conftest.$ac_objext` in
   14723       *MSB*)
   14724 	emul="${emul}btsmip"
   14725 	;;
   14726       *LSB*)
   14727 	emul="${emul}ltsmip"
   14728 	;;
   14729     esac
   14730     case `$FILECMD conftest.$ac_objext` in
   14731       *N32*)
   14732 	emul="${emul}n32"
   14733 	;;
   14734     esac
   14735     LD="${LD-ld} -m $emul"
   14736   fi
   14737   rm -rf conftest*
   14738   ;;
   14739 
   14740 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14741 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14742   # Find out what ABI is being produced by ac_compile, and set linker
   14743   # options accordingly.  Note that the listed cases only cover the
   14744   # situations where additional linker options are needed (such as when
   14745   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14746   # vice versa); the common cases where no linker options are needed do
   14747   # not appear in the list.
   14748   echo 'int i;' > conftest.$ac_ext
   14749   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14750   (eval $ac_compile) 2>&5
   14751   ac_status=$?
   14752   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14753   test $ac_status = 0; }; then
   14754     case `$FILECMD conftest.o` in
   14755       *32-bit*)
   14756 	case $host in
   14757 	  x86_64-*kfreebsd*-gnu)
   14758 	    LD="${LD-ld} -m elf_i386_fbsd"
   14759 	    ;;
   14760 	  x86_64-*linux*)
   14761 	    case `$FILECMD conftest.o` in
   14762 	      *x86-64*)
   14763 		LD="${LD-ld} -m elf32_x86_64"
   14764 		;;
   14765 	      *)
   14766 		LD="${LD-ld} -m elf_i386"
   14767 		;;
   14768 	    esac
   14769 	    ;;
   14770 	  powerpc64le-*linux*)
   14771 	    LD="${LD-ld} -m elf32lppclinux"
   14772 	    ;;
   14773 	  powerpc64-*linux*)
   14774 	    LD="${LD-ld} -m elf32ppclinux"
   14775 	    ;;
   14776 	  s390x-*linux*)
   14777 	    LD="${LD-ld} -m elf_s390"
   14778 	    ;;
   14779 	  sparc64-*linux*)
   14780 	    LD="${LD-ld} -m elf32_sparc"
   14781 	    ;;
   14782 	esac
   14783 	;;
   14784       *64-bit*)
   14785 	case $host in
   14786 	  x86_64-*kfreebsd*-gnu)
   14787 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14788 	    ;;
   14789 	  x86_64-*linux*)
   14790 	    LD="${LD-ld} -m elf_x86_64"
   14791 	    ;;
   14792 	  powerpcle-*linux*)
   14793 	    LD="${LD-ld} -m elf64lppc"
   14794 	    ;;
   14795 	  powerpc-*linux*)
   14796 	    LD="${LD-ld} -m elf64ppc"
   14797 	    ;;
   14798 	  s390*-*linux*|s390*-*tpf*)
   14799 	    LD="${LD-ld} -m elf64_s390"
   14800 	    ;;
   14801 	  sparc*-*linux*)
   14802 	    LD="${LD-ld} -m elf64_sparc"
   14803 	    ;;
   14804 	esac
   14805 	;;
   14806     esac
   14807   fi
   14808   rm -rf conftest*
   14809   ;;
   14810 
   14811 *-*-sco3.2v5*)
   14812   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14813   SAVE_CFLAGS=$CFLAGS
   14814   CFLAGS="$CFLAGS -belf"
   14815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14816 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14817 if test ${lt_cv_cc_needs_belf+y}
   14818 then :
   14819   printf %s "(cached) " >&6
   14820 else case e in #(
   14821   e) ac_ext=c
   14822 ac_cpp='$CPP $CPPFLAGS'
   14823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14826 
   14827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14828 /* end confdefs.h.  */
   14829 
   14830 int
   14831 main (void)
   14832 {
   14833 
   14834   ;
   14835   return 0;
   14836 }
   14837 _ACEOF
   14838 if ac_fn_c_try_link "$LINENO"
   14839 then :
   14840   lt_cv_cc_needs_belf=yes
   14841 else case e in #(
   14842   e) lt_cv_cc_needs_belf=no ;;
   14843 esac
   14844 fi
   14845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14846     conftest$ac_exeext conftest.$ac_ext
   14847      ac_ext=c
   14848 ac_cpp='$CPP $CPPFLAGS'
   14849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14852  ;;
   14853 esac
   14854 fi
   14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14856 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14857   if test yes != "$lt_cv_cc_needs_belf"; then
   14858     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14859     CFLAGS=$SAVE_CFLAGS
   14860   fi
   14861   ;;
   14862 *-*solaris*)
   14863   # Find out what ABI is being produced by ac_compile, and set linker
   14864   # options accordingly.
   14865   echo 'int i;' > conftest.$ac_ext
   14866   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14867   (eval $ac_compile) 2>&5
   14868   ac_status=$?
   14869   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14870   test $ac_status = 0; }; then
   14871     case `$FILECMD conftest.o` in
   14872     *64-bit*)
   14873       case $lt_cv_prog_gnu_ld in
   14874       yes*)
   14875         case $host in
   14876         i?86-*-solaris*|x86_64-*-solaris*)
   14877           LD="${LD-ld} -m elf_x86_64"
   14878           ;;
   14879         sparc*-*-solaris*)
   14880           LD="${LD-ld} -m elf64_sparc"
   14881           ;;
   14882         esac
   14883         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14884         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14885           LD=${LD-ld}_sol2
   14886         fi
   14887         ;;
   14888       *)
   14889 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14890 	  LD="${LD-ld} -64"
   14891 	fi
   14892 	;;
   14893       esac
   14894       ;;
   14895     esac
   14896   fi
   14897   rm -rf conftest*
   14898   ;;
   14899 esac
   14900 
   14901 need_locks=$enable_libtool_lock
   14902 
   14903 if test -n "$ac_tool_prefix"; then
   14904   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14905 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14907 printf %s "checking for $ac_word... " >&6; }
   14908 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14909 then :
   14910   printf %s "(cached) " >&6
   14911 else case e in #(
   14912   e) if test -n "$MANIFEST_TOOL"; then
   14913   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14914 else
   14915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14916 for as_dir in $PATH
   14917 do
   14918   IFS=$as_save_IFS
   14919   case $as_dir in #(((
   14920     '') as_dir=./ ;;
   14921     */) ;;
   14922     *) as_dir=$as_dir/ ;;
   14923   esac
   14924     for ac_exec_ext in '' $ac_executable_extensions; do
   14925   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14926     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14927     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14928     break 2
   14929   fi
   14930 done
   14931   done
   14932 IFS=$as_save_IFS
   14933 
   14934 fi ;;
   14935 esac
   14936 fi
   14937 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14938 if test -n "$MANIFEST_TOOL"; then
   14939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14940 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14941 else
   14942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14943 printf "%s\n" "no" >&6; }
   14944 fi
   14945 
   14946 
   14947 fi
   14948 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14949   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14950   # Extract the first word of "mt", so it can be a program name with args.
   14951 set dummy mt; ac_word=$2
   14952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14953 printf %s "checking for $ac_word... " >&6; }
   14954 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14955 then :
   14956   printf %s "(cached) " >&6
   14957 else case e in #(
   14958   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14959   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14960 else
   14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14962 for as_dir in $PATH
   14963 do
   14964   IFS=$as_save_IFS
   14965   case $as_dir in #(((
   14966     '') as_dir=./ ;;
   14967     */) ;;
   14968     *) as_dir=$as_dir/ ;;
   14969   esac
   14970     for ac_exec_ext in '' $ac_executable_extensions; do
   14971   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14972     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14973     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14974     break 2
   14975   fi
   14976 done
   14977   done
   14978 IFS=$as_save_IFS
   14979 
   14980 fi ;;
   14981 esac
   14982 fi
   14983 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14984 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14986 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14987 else
   14988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14989 printf "%s\n" "no" >&6; }
   14990 fi
   14991 
   14992   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14993     MANIFEST_TOOL=":"
   14994   else
   14995     case $cross_compiling:$ac_tool_warned in
   14996 yes:)
   14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14999 ac_tool_warned=yes ;;
   15000 esac
   15001     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   15002   fi
   15003 else
   15004   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   15005 fi
   15006 
   15007 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   15008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   15009 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   15010 if test ${lt_cv_path_mainfest_tool+y}
   15011 then :
   15012   printf %s "(cached) " >&6
   15013 else case e in #(
   15014   e) lt_cv_path_mainfest_tool=no
   15015   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   15016   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   15017   cat conftest.err >&5
   15018   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   15019     lt_cv_path_mainfest_tool=yes
   15020   fi
   15021   rm -f conftest* ;;
   15022 esac
   15023 fi
   15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   15025 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   15026 if test yes != "$lt_cv_path_mainfest_tool"; then
   15027   MANIFEST_TOOL=:
   15028 fi
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035   case $host_os in
   15036     rhapsody* | darwin*)
   15037     if test -n "$ac_tool_prefix"; then
   15038   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   15039 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15041 printf %s "checking for $ac_word... " >&6; }
   15042 if test ${ac_cv_prog_DSYMUTIL+y}
   15043 then :
   15044   printf %s "(cached) " >&6
   15045 else case e in #(
   15046   e) if test -n "$DSYMUTIL"; then
   15047   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   15048 else
   15049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15050 for as_dir in $PATH
   15051 do
   15052   IFS=$as_save_IFS
   15053   case $as_dir in #(((
   15054     '') as_dir=./ ;;
   15055     */) ;;
   15056     *) as_dir=$as_dir/ ;;
   15057   esac
   15058     for ac_exec_ext in '' $ac_executable_extensions; do
   15059   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15060     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   15061     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15062     break 2
   15063   fi
   15064 done
   15065   done
   15066 IFS=$as_save_IFS
   15067 
   15068 fi ;;
   15069 esac
   15070 fi
   15071 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   15072 if test -n "$DSYMUTIL"; then
   15073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   15074 printf "%s\n" "$DSYMUTIL" >&6; }
   15075 else
   15076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15077 printf "%s\n" "no" >&6; }
   15078 fi
   15079 
   15080 
   15081 fi
   15082 if test -z "$ac_cv_prog_DSYMUTIL"; then
   15083   ac_ct_DSYMUTIL=$DSYMUTIL
   15084   # Extract the first word of "dsymutil", so it can be a program name with args.
   15085 set dummy dsymutil; ac_word=$2
   15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15087 printf %s "checking for $ac_word... " >&6; }
   15088 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   15089 then :
   15090   printf %s "(cached) " >&6
   15091 else case e in #(
   15092   e) if test -n "$ac_ct_DSYMUTIL"; then
   15093   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   15094 else
   15095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15096 for as_dir in $PATH
   15097 do
   15098   IFS=$as_save_IFS
   15099   case $as_dir in #(((
   15100     '') as_dir=./ ;;
   15101     */) ;;
   15102     *) as_dir=$as_dir/ ;;
   15103   esac
   15104     for ac_exec_ext in '' $ac_executable_extensions; do
   15105   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15106     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   15107     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15108     break 2
   15109   fi
   15110 done
   15111   done
   15112 IFS=$as_save_IFS
   15113 
   15114 fi ;;
   15115 esac
   15116 fi
   15117 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   15118 if test -n "$ac_ct_DSYMUTIL"; then
   15119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   15120 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   15121 else
   15122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15123 printf "%s\n" "no" >&6; }
   15124 fi
   15125 
   15126   if test "x$ac_ct_DSYMUTIL" = x; then
   15127     DSYMUTIL=":"
   15128   else
   15129     case $cross_compiling:$ac_tool_warned in
   15130 yes:)
   15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15132 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15133 ac_tool_warned=yes ;;
   15134 esac
   15135     DSYMUTIL=$ac_ct_DSYMUTIL
   15136   fi
   15137 else
   15138   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   15139 fi
   15140 
   15141     if test -n "$ac_tool_prefix"; then
   15142   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   15143 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   15144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15145 printf %s "checking for $ac_word... " >&6; }
   15146 if test ${ac_cv_prog_NMEDIT+y}
   15147 then :
   15148   printf %s "(cached) " >&6
   15149 else case e in #(
   15150   e) if test -n "$NMEDIT"; then
   15151   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   15152 else
   15153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15154 for as_dir in $PATH
   15155 do
   15156   IFS=$as_save_IFS
   15157   case $as_dir in #(((
   15158     '') as_dir=./ ;;
   15159     */) ;;
   15160     *) as_dir=$as_dir/ ;;
   15161   esac
   15162     for ac_exec_ext in '' $ac_executable_extensions; do
   15163   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15164     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   15165     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15166     break 2
   15167   fi
   15168 done
   15169   done
   15170 IFS=$as_save_IFS
   15171 
   15172 fi ;;
   15173 esac
   15174 fi
   15175 NMEDIT=$ac_cv_prog_NMEDIT
   15176 if test -n "$NMEDIT"; then
   15177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   15178 printf "%s\n" "$NMEDIT" >&6; }
   15179 else
   15180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15181 printf "%s\n" "no" >&6; }
   15182 fi
   15183 
   15184 
   15185 fi
   15186 if test -z "$ac_cv_prog_NMEDIT"; then
   15187   ac_ct_NMEDIT=$NMEDIT
   15188   # Extract the first word of "nmedit", so it can be a program name with args.
   15189 set dummy nmedit; ac_word=$2
   15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15191 printf %s "checking for $ac_word... " >&6; }
   15192 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   15193 then :
   15194   printf %s "(cached) " >&6
   15195 else case e in #(
   15196   e) if test -n "$ac_ct_NMEDIT"; then
   15197   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   15198 else
   15199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15200 for as_dir in $PATH
   15201 do
   15202   IFS=$as_save_IFS
   15203   case $as_dir in #(((
   15204     '') as_dir=./ ;;
   15205     */) ;;
   15206     *) as_dir=$as_dir/ ;;
   15207   esac
   15208     for ac_exec_ext in '' $ac_executable_extensions; do
   15209   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15210     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   15211     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15212     break 2
   15213   fi
   15214 done
   15215   done
   15216 IFS=$as_save_IFS
   15217 
   15218 fi ;;
   15219 esac
   15220 fi
   15221 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   15222 if test -n "$ac_ct_NMEDIT"; then
   15223   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   15224 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   15225 else
   15226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15227 printf "%s\n" "no" >&6; }
   15228 fi
   15229 
   15230   if test "x$ac_ct_NMEDIT" = x; then
   15231     NMEDIT=":"
   15232   else
   15233     case $cross_compiling:$ac_tool_warned in
   15234 yes:)
   15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15236 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15237 ac_tool_warned=yes ;;
   15238 esac
   15239     NMEDIT=$ac_ct_NMEDIT
   15240   fi
   15241 else
   15242   NMEDIT="$ac_cv_prog_NMEDIT"
   15243 fi
   15244 
   15245     if test -n "$ac_tool_prefix"; then
   15246   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   15247 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15249 printf %s "checking for $ac_word... " >&6; }
   15250 if test ${ac_cv_prog_LIPO+y}
   15251 then :
   15252   printf %s "(cached) " >&6
   15253 else case e in #(
   15254   e) if test -n "$LIPO"; then
   15255   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   15256 else
   15257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15258 for as_dir in $PATH
   15259 do
   15260   IFS=$as_save_IFS
   15261   case $as_dir in #(((
   15262     '') as_dir=./ ;;
   15263     */) ;;
   15264     *) as_dir=$as_dir/ ;;
   15265   esac
   15266     for ac_exec_ext in '' $ac_executable_extensions; do
   15267   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15268     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   15269     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15270     break 2
   15271   fi
   15272 done
   15273   done
   15274 IFS=$as_save_IFS
   15275 
   15276 fi ;;
   15277 esac
   15278 fi
   15279 LIPO=$ac_cv_prog_LIPO
   15280 if test -n "$LIPO"; then
   15281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   15282 printf "%s\n" "$LIPO" >&6; }
   15283 else
   15284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15285 printf "%s\n" "no" >&6; }
   15286 fi
   15287 
   15288 
   15289 fi
   15290 if test -z "$ac_cv_prog_LIPO"; then
   15291   ac_ct_LIPO=$LIPO
   15292   # Extract the first word of "lipo", so it can be a program name with args.
   15293 set dummy lipo; ac_word=$2
   15294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15295 printf %s "checking for $ac_word... " >&6; }
   15296 if test ${ac_cv_prog_ac_ct_LIPO+y}
   15297 then :
   15298   printf %s "(cached) " >&6
   15299 else case e in #(
   15300   e) if test -n "$ac_ct_LIPO"; then
   15301   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   15302 else
   15303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15304 for as_dir in $PATH
   15305 do
   15306   IFS=$as_save_IFS
   15307   case $as_dir in #(((
   15308     '') as_dir=./ ;;
   15309     */) ;;
   15310     *) as_dir=$as_dir/ ;;
   15311   esac
   15312     for ac_exec_ext in '' $ac_executable_extensions; do
   15313   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15314     ac_cv_prog_ac_ct_LIPO="lipo"
   15315     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15316     break 2
   15317   fi
   15318 done
   15319   done
   15320 IFS=$as_save_IFS
   15321 
   15322 fi ;;
   15323 esac
   15324 fi
   15325 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   15326 if test -n "$ac_ct_LIPO"; then
   15327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   15328 printf "%s\n" "$ac_ct_LIPO" >&6; }
   15329 else
   15330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15331 printf "%s\n" "no" >&6; }
   15332 fi
   15333 
   15334   if test "x$ac_ct_LIPO" = x; then
   15335     LIPO=":"
   15336   else
   15337     case $cross_compiling:$ac_tool_warned in
   15338 yes:)
   15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15340 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15341 ac_tool_warned=yes ;;
   15342 esac
   15343     LIPO=$ac_ct_LIPO
   15344   fi
   15345 else
   15346   LIPO="$ac_cv_prog_LIPO"
   15347 fi
   15348 
   15349     if test -n "$ac_tool_prefix"; then
   15350   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   15351 set dummy ${ac_tool_prefix}otool; ac_word=$2
   15352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15353 printf %s "checking for $ac_word... " >&6; }
   15354 if test ${ac_cv_prog_OTOOL+y}
   15355 then :
   15356   printf %s "(cached) " >&6
   15357 else case e in #(
   15358   e) if test -n "$OTOOL"; then
   15359   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   15360 else
   15361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15362 for as_dir in $PATH
   15363 do
   15364   IFS=$as_save_IFS
   15365   case $as_dir in #(((
   15366     '') as_dir=./ ;;
   15367     */) ;;
   15368     *) as_dir=$as_dir/ ;;
   15369   esac
   15370     for ac_exec_ext in '' $ac_executable_extensions; do
   15371   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15372     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   15373     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15374     break 2
   15375   fi
   15376 done
   15377   done
   15378 IFS=$as_save_IFS
   15379 
   15380 fi ;;
   15381 esac
   15382 fi
   15383 OTOOL=$ac_cv_prog_OTOOL
   15384 if test -n "$OTOOL"; then
   15385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   15386 printf "%s\n" "$OTOOL" >&6; }
   15387 else
   15388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15389 printf "%s\n" "no" >&6; }
   15390 fi
   15391 
   15392 
   15393 fi
   15394 if test -z "$ac_cv_prog_OTOOL"; then
   15395   ac_ct_OTOOL=$OTOOL
   15396   # Extract the first word of "otool", so it can be a program name with args.
   15397 set dummy otool; ac_word=$2
   15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15399 printf %s "checking for $ac_word... " >&6; }
   15400 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   15401 then :
   15402   printf %s "(cached) " >&6
   15403 else case e in #(
   15404   e) if test -n "$ac_ct_OTOOL"; then
   15405   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   15406 else
   15407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15408 for as_dir in $PATH
   15409 do
   15410   IFS=$as_save_IFS
   15411   case $as_dir in #(((
   15412     '') as_dir=./ ;;
   15413     */) ;;
   15414     *) as_dir=$as_dir/ ;;
   15415   esac
   15416     for ac_exec_ext in '' $ac_executable_extensions; do
   15417   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15418     ac_cv_prog_ac_ct_OTOOL="otool"
   15419     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15420     break 2
   15421   fi
   15422 done
   15423   done
   15424 IFS=$as_save_IFS
   15425 
   15426 fi ;;
   15427 esac
   15428 fi
   15429 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15430 if test -n "$ac_ct_OTOOL"; then
   15431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15432 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15433 else
   15434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15435 printf "%s\n" "no" >&6; }
   15436 fi
   15437 
   15438   if test "x$ac_ct_OTOOL" = x; then
   15439     OTOOL=":"
   15440   else
   15441     case $cross_compiling:$ac_tool_warned in
   15442 yes:)
   15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15444 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15445 ac_tool_warned=yes ;;
   15446 esac
   15447     OTOOL=$ac_ct_OTOOL
   15448   fi
   15449 else
   15450   OTOOL="$ac_cv_prog_OTOOL"
   15451 fi
   15452 
   15453     if test -n "$ac_tool_prefix"; then
   15454   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15455 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15457 printf %s "checking for $ac_word... " >&6; }
   15458 if test ${ac_cv_prog_OTOOL64+y}
   15459 then :
   15460   printf %s "(cached) " >&6
   15461 else case e in #(
   15462   e) if test -n "$OTOOL64"; then
   15463   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15464 else
   15465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15466 for as_dir in $PATH
   15467 do
   15468   IFS=$as_save_IFS
   15469   case $as_dir in #(((
   15470     '') as_dir=./ ;;
   15471     */) ;;
   15472     *) as_dir=$as_dir/ ;;
   15473   esac
   15474     for ac_exec_ext in '' $ac_executable_extensions; do
   15475   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15476     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15477     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15478     break 2
   15479   fi
   15480 done
   15481   done
   15482 IFS=$as_save_IFS
   15483 
   15484 fi ;;
   15485 esac
   15486 fi
   15487 OTOOL64=$ac_cv_prog_OTOOL64
   15488 if test -n "$OTOOL64"; then
   15489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15490 printf "%s\n" "$OTOOL64" >&6; }
   15491 else
   15492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15493 printf "%s\n" "no" >&6; }
   15494 fi
   15495 
   15496 
   15497 fi
   15498 if test -z "$ac_cv_prog_OTOOL64"; then
   15499   ac_ct_OTOOL64=$OTOOL64
   15500   # Extract the first word of "otool64", so it can be a program name with args.
   15501 set dummy otool64; ac_word=$2
   15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15503 printf %s "checking for $ac_word... " >&6; }
   15504 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15505 then :
   15506   printf %s "(cached) " >&6
   15507 else case e in #(
   15508   e) if test -n "$ac_ct_OTOOL64"; then
   15509   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15510 else
   15511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15512 for as_dir in $PATH
   15513 do
   15514   IFS=$as_save_IFS
   15515   case $as_dir in #(((
   15516     '') as_dir=./ ;;
   15517     */) ;;
   15518     *) as_dir=$as_dir/ ;;
   15519   esac
   15520     for ac_exec_ext in '' $ac_executable_extensions; do
   15521   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15522     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15523     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15524     break 2
   15525   fi
   15526 done
   15527   done
   15528 IFS=$as_save_IFS
   15529 
   15530 fi ;;
   15531 esac
   15532 fi
   15533 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15534 if test -n "$ac_ct_OTOOL64"; then
   15535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15536 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15537 else
   15538   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15539 printf "%s\n" "no" >&6; }
   15540 fi
   15541 
   15542   if test "x$ac_ct_OTOOL64" = x; then
   15543     OTOOL64=":"
   15544   else
   15545     case $cross_compiling:$ac_tool_warned in
   15546 yes:)
   15547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15548 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15549 ac_tool_warned=yes ;;
   15550 esac
   15551     OTOOL64=$ac_ct_OTOOL64
   15552   fi
   15553 else
   15554   OTOOL64="$ac_cv_prog_OTOOL64"
   15555 fi
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15584 printf %s "checking for -single_module linker flag... " >&6; }
   15585 if test ${lt_cv_apple_cc_single_mod+y}
   15586 then :
   15587   printf %s "(cached) " >&6
   15588 else case e in #(
   15589   e) lt_cv_apple_cc_single_mod=no
   15590       if test -z "$LT_MULTI_MODULE"; then
   15591 	# By default we will add the -single_module flag. You can override
   15592 	# by either setting the environment variable LT_MULTI_MODULE
   15593 	# non-empty at configure time, or by adding -multi_module to the
   15594 	# link flags.
   15595 	rm -rf libconftest.dylib*
   15596 	echo "int foo(void){return 1;}" > conftest.c
   15597 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15598 -dynamiclib -Wl,-single_module conftest.c" >&5
   15599 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15600 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15601         _lt_result=$?
   15602 	# If there is a non-empty error log, and "single_module"
   15603 	# appears in it, assume the flag caused a linker warning
   15604         if test -s conftest.err && $GREP single_module conftest.err; then
   15605 	  cat conftest.err >&5
   15606 	# Otherwise, if the output was created with a 0 exit code from
   15607 	# the compiler, it worked.
   15608 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15609 	  lt_cv_apple_cc_single_mod=yes
   15610 	else
   15611 	  cat conftest.err >&5
   15612 	fi
   15613 	rm -rf libconftest.dylib*
   15614 	rm -f conftest.*
   15615       fi ;;
   15616 esac
   15617 fi
   15618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15619 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15620 
   15621     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15622 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15623 if test ${lt_cv_ld_exported_symbols_list+y}
   15624 then :
   15625   printf %s "(cached) " >&6
   15626 else case e in #(
   15627   e) lt_cv_ld_exported_symbols_list=no
   15628       save_LDFLAGS=$LDFLAGS
   15629       echo "_main" > conftest.sym
   15630       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15632 /* end confdefs.h.  */
   15633 
   15634 int
   15635 main (void)
   15636 {
   15637 
   15638   ;
   15639   return 0;
   15640 }
   15641 _ACEOF
   15642 if ac_fn_c_try_link "$LINENO"
   15643 then :
   15644   lt_cv_ld_exported_symbols_list=yes
   15645 else case e in #(
   15646   e) lt_cv_ld_exported_symbols_list=no ;;
   15647 esac
   15648 fi
   15649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15650     conftest$ac_exeext conftest.$ac_ext
   15651 	LDFLAGS=$save_LDFLAGS
   15652      ;;
   15653 esac
   15654 fi
   15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15656 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15657 
   15658     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15659 printf %s "checking for -force_load linker flag... " >&6; }
   15660 if test ${lt_cv_ld_force_load+y}
   15661 then :
   15662   printf %s "(cached) " >&6
   15663 else case e in #(
   15664   e) lt_cv_ld_force_load=no
   15665       cat > conftest.c << _LT_EOF
   15666 int forced_loaded() { return 2;}
   15667 _LT_EOF
   15668       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15669       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15670       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15671       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15672       echo "$RANLIB libconftest.a" >&5
   15673       $RANLIB libconftest.a 2>&5
   15674       cat > conftest.c << _LT_EOF
   15675 int main() { return 0;}
   15676 _LT_EOF
   15677       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15678       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15679       _lt_result=$?
   15680       if test -s conftest.err && $GREP force_load conftest.err; then
   15681 	cat conftest.err >&5
   15682       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15683 	lt_cv_ld_force_load=yes
   15684       else
   15685 	cat conftest.err >&5
   15686       fi
   15687         rm -f conftest.err libconftest.a conftest conftest.c
   15688         rm -rf conftest.dSYM
   15689      ;;
   15690 esac
   15691 fi
   15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15693 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15694     case $host_os in
   15695     rhapsody* | darwin1.[012])
   15696       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15697     darwin1.*)
   15698       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15699     darwin*)
   15700       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15701         10.[012],*|,*powerpc*-darwin[5-8]*)
   15702           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15703         *)
   15704           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15705       esac
   15706     ;;
   15707   esac
   15708     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15709       _lt_dar_single_mod='$single_module'
   15710     fi
   15711     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15712       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15713     else
   15714       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15715     fi
   15716     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15717       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15718     else
   15719       _lt_dsymutil=
   15720     fi
   15721     ;;
   15722   esac
   15723 
   15724 # func_munge_path_list VARIABLE PATH
   15725 # -----------------------------------
   15726 # VARIABLE is name of variable containing _space_ separated list of
   15727 # directories to be munged by the contents of PATH, which is string
   15728 # having a format:
   15729 # "DIR[:DIR]:"
   15730 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15731 # ":DIR[:DIR]"
   15732 #       string "DIR[ DIR]" will be appended to VARIABLE
   15733 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15734 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15735 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15736 # "DIR[:DIR]"
   15737 #       VARIABLE will be replaced by "DIR[ DIR]"
   15738 func_munge_path_list ()
   15739 {
   15740     case x$2 in
   15741     x)
   15742         ;;
   15743     *:)
   15744         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15745         ;;
   15746     x:*)
   15747         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15748         ;;
   15749     *::*)
   15750         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15751         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15752         ;;
   15753     *)
   15754         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15755         ;;
   15756     esac
   15757 }
   15758 
   15759 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15760 "
   15761 if test "x$ac_cv_header_dlfcn_h" = xyes
   15762 then :
   15763   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15764 
   15765 fi
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 # Set options
   15772 # Check whether --enable-static was given.
   15773 if test ${enable_static+y}
   15774 then :
   15775   enableval=$enable_static; p=${PACKAGE-default}
   15776     case $enableval in
   15777     yes) enable_static=yes ;;
   15778     no) enable_static=no ;;
   15779     *)
   15780      enable_static=no
   15781       # Look at the argument we got.  We use all the common list separators.
   15782       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15783       for pkg in $enableval; do
   15784 	IFS=$lt_save_ifs
   15785 	if test "X$pkg" = "X$p"; then
   15786 	  enable_static=yes
   15787 	fi
   15788       done
   15789       IFS=$lt_save_ifs
   15790       ;;
   15791     esac
   15792 else case e in #(
   15793   e) enable_static=no ;;
   15794 esac
   15795 fi
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806         enable_dlopen=no
   15807 
   15808 
   15809   enable_win32_dll=no
   15810 
   15811 
   15812             # Check whether --enable-shared was given.
   15813 if test ${enable_shared+y}
   15814 then :
   15815   enableval=$enable_shared; p=${PACKAGE-default}
   15816     case $enableval in
   15817     yes) enable_shared=yes ;;
   15818     no) enable_shared=no ;;
   15819     *)
   15820       enable_shared=no
   15821       # Look at the argument we got.  We use all the common list separators.
   15822       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15823       for pkg in $enableval; do
   15824 	IFS=$lt_save_ifs
   15825 	if test "X$pkg" = "X$p"; then
   15826 	  enable_shared=yes
   15827 	fi
   15828       done
   15829       IFS=$lt_save_ifs
   15830       ;;
   15831     esac
   15832 else case e in #(
   15833   e) enable_shared=yes ;;
   15834 esac
   15835 fi
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 # Check whether --with-pic was given.
   15848 if test ${with_pic+y}
   15849 then :
   15850   withval=$with_pic; lt_p=${PACKAGE-default}
   15851     case $withval in
   15852     yes|no) pic_mode=$withval ;;
   15853     *)
   15854       pic_mode=default
   15855       # Look at the argument we got.  We use all the common list separators.
   15856       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15857       for lt_pkg in $withval; do
   15858 	IFS=$lt_save_ifs
   15859 	if test "X$lt_pkg" = "X$lt_p"; then
   15860 	  pic_mode=yes
   15861 	fi
   15862       done
   15863       IFS=$lt_save_ifs
   15864       ;;
   15865     esac
   15866 else case e in #(
   15867   e) pic_mode=default ;;
   15868 esac
   15869 fi
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878   # Check whether --enable-fast-install was given.
   15879 if test ${enable_fast_install+y}
   15880 then :
   15881   enableval=$enable_fast_install; p=${PACKAGE-default}
   15882     case $enableval in
   15883     yes) enable_fast_install=yes ;;
   15884     no) enable_fast_install=no ;;
   15885     *)
   15886       enable_fast_install=no
   15887       # Look at the argument we got.  We use all the common list separators.
   15888       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15889       for pkg in $enableval; do
   15890 	IFS=$lt_save_ifs
   15891 	if test "X$pkg" = "X$p"; then
   15892 	  enable_fast_install=yes
   15893 	fi
   15894       done
   15895       IFS=$lt_save_ifs
   15896       ;;
   15897     esac
   15898 else case e in #(
   15899   e) enable_fast_install=yes ;;
   15900 esac
   15901 fi
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910   shared_archive_member_spec=
   15911 case $host,$enable_shared in
   15912 power*-*-aix[5-9]*,yes)
   15913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15914 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15915 
   15916 # Check whether --with-aix-soname was given.
   15917 if test ${with_aix_soname+y}
   15918 then :
   15919   withval=$with_aix_soname; case $withval in
   15920     aix|svr4|both)
   15921       ;;
   15922     *)
   15923       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15924       ;;
   15925     esac
   15926     lt_cv_with_aix_soname=$with_aix_soname
   15927 else case e in #(
   15928   e) if test ${lt_cv_with_aix_soname+y}
   15929 then :
   15930   printf %s "(cached) " >&6
   15931 else case e in #(
   15932   e) lt_cv_with_aix_soname=aix ;;
   15933 esac
   15934 fi
   15935 
   15936     with_aix_soname=$lt_cv_with_aix_soname ;;
   15937 esac
   15938 fi
   15939 
   15940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15941 printf "%s\n" "$with_aix_soname" >&6; }
   15942   if test aix != "$with_aix_soname"; then
   15943     # For the AIX way of multilib, we name the shared archive member
   15944     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15945     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15946     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15947     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15948     if test 64 = "${OBJECT_MODE-32}"; then
   15949       shared_archive_member_spec=shr_64
   15950     else
   15951       shared_archive_member_spec=shr
   15952     fi
   15953   fi
   15954   ;;
   15955 *)
   15956   with_aix_soname=aix
   15957   ;;
   15958 esac
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 # This can be used to rebuild libtool when needed
   15970 LIBTOOL_DEPS=$ltmain
   15971 
   15972 # Always use our own libtool.
   15973 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 test -z "$LN_S" && LN_S="ln -s"
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 if test -n "${ZSH_VERSION+set}"; then
   16020    setopt NO_GLOB_SUBST
   16021 fi
   16022 
   16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   16024 printf %s "checking for objdir... " >&6; }
   16025 if test ${lt_cv_objdir+y}
   16026 then :
   16027   printf %s "(cached) " >&6
   16028 else case e in #(
   16029   e) rm -f .libs 2>/dev/null
   16030 mkdir .libs 2>/dev/null
   16031 if test -d .libs; then
   16032   lt_cv_objdir=.libs
   16033 else
   16034   # MS-DOS does not allow filenames that begin with a dot.
   16035   lt_cv_objdir=_libs
   16036 fi
   16037 rmdir .libs 2>/dev/null ;;
   16038 esac
   16039 fi
   16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   16041 printf "%s\n" "$lt_cv_objdir" >&6; }
   16042 objdir=$lt_cv_objdir
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   16049 
   16050 
   16051 
   16052 
   16053 case $host_os in
   16054 aix3*)
   16055   # AIX sometimes has problems with the GCC collect2 program.  For some
   16056   # reason, if we set the COLLECT_NAMES environment variable, the problems
   16057   # vanish in a puff of smoke.
   16058   if test set != "${COLLECT_NAMES+set}"; then
   16059     COLLECT_NAMES=
   16060     export COLLECT_NAMES
   16061   fi
   16062   ;;
   16063 esac
   16064 
   16065 # Global variables:
   16066 ofile=libtool
   16067 can_build_shared=yes
   16068 
   16069 # All known linkers require a '.a' archive for static linking (except MSVC and
   16070 # ICC, which need '.lib').
   16071 libext=a
   16072 
   16073 with_gnu_ld=$lt_cv_prog_gnu_ld
   16074 
   16075 old_CC=$CC
   16076 old_CFLAGS=$CFLAGS
   16077 
   16078 # Set sane defaults for various variables
   16079 test -z "$CC" && CC=cc
   16080 test -z "$LTCC" && LTCC=$CC
   16081 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   16082 test -z "$LD" && LD=ld
   16083 test -z "$ac_objext" && ac_objext=o
   16084 
   16085 func_cc_basename $compiler
   16086 cc_basename=$func_cc_basename_result
   16087 
   16088 
   16089 # Only perform the check for file, if the check method requires it
   16090 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   16091 case $deplibs_check_method in
   16092 file_magic*)
   16093   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   16094     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   16095 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   16096 if test ${lt_cv_path_MAGIC_CMD+y}
   16097 then :
   16098   printf %s "(cached) " >&6
   16099 else case e in #(
   16100   e) case $MAGIC_CMD in
   16101 [\\/*] |  ?:[\\/]*)
   16102   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   16103   ;;
   16104 *)
   16105   lt_save_MAGIC_CMD=$MAGIC_CMD
   16106   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   16107   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   16108   for ac_dir in $ac_dummy; do
   16109     IFS=$lt_save_ifs
   16110     test -z "$ac_dir" && ac_dir=.
   16111     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   16112       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   16113       if test -n "$file_magic_test_file"; then
   16114 	case $deplibs_check_method in
   16115 	"file_magic "*)
   16116 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   16117 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16118 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   16119 	    $EGREP "$file_magic_regex" > /dev/null; then
   16120 	    :
   16121 	  else
   16122 	    cat <<_LT_EOF 1>&2
   16123 
   16124 *** Warning: the command libtool uses to detect shared libraries,
   16125 *** $file_magic_cmd, produces output that libtool cannot recognize.
   16126 *** The result is that libtool may fail to recognize shared libraries
   16127 *** as such.  This will affect the creation of libtool libraries that
   16128 *** depend on shared libraries, but programs linked with such libtool
   16129 *** libraries will work regardless of this problem.  Nevertheless, you
   16130 *** may want to report the problem to your system manager and/or to
   16131 *** bug-libtool@gnu.org
   16132 
   16133 _LT_EOF
   16134 	  fi ;;
   16135 	esac
   16136       fi
   16137       break
   16138     fi
   16139   done
   16140   IFS=$lt_save_ifs
   16141   MAGIC_CMD=$lt_save_MAGIC_CMD
   16142   ;;
   16143 esac ;;
   16144 esac
   16145 fi
   16146 
   16147 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16148 if test -n "$MAGIC_CMD"; then
   16149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   16150 printf "%s\n" "$MAGIC_CMD" >&6; }
   16151 else
   16152   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16153 printf "%s\n" "no" >&6; }
   16154 fi
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 if test -z "$lt_cv_path_MAGIC_CMD"; then
   16161   if test -n "$ac_tool_prefix"; then
   16162     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   16163 printf %s "checking for file... " >&6; }
   16164 if test ${lt_cv_path_MAGIC_CMD+y}
   16165 then :
   16166   printf %s "(cached) " >&6
   16167 else case e in #(
   16168   e) case $MAGIC_CMD in
   16169 [\\/*] |  ?:[\\/]*)
   16170   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   16171   ;;
   16172 *)
   16173   lt_save_MAGIC_CMD=$MAGIC_CMD
   16174   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   16175   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   16176   for ac_dir in $ac_dummy; do
   16177     IFS=$lt_save_ifs
   16178     test -z "$ac_dir" && ac_dir=.
   16179     if test -f "$ac_dir/file"; then
   16180       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   16181       if test -n "$file_magic_test_file"; then
   16182 	case $deplibs_check_method in
   16183 	"file_magic "*)
   16184 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   16185 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16186 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   16187 	    $EGREP "$file_magic_regex" > /dev/null; then
   16188 	    :
   16189 	  else
   16190 	    cat <<_LT_EOF 1>&2
   16191 
   16192 *** Warning: the command libtool uses to detect shared libraries,
   16193 *** $file_magic_cmd, produces output that libtool cannot recognize.
   16194 *** The result is that libtool may fail to recognize shared libraries
   16195 *** as such.  This will affect the creation of libtool libraries that
   16196 *** depend on shared libraries, but programs linked with such libtool
   16197 *** libraries will work regardless of this problem.  Nevertheless, you
   16198 *** may want to report the problem to your system manager and/or to
   16199 *** bug-libtool@gnu.org
   16200 
   16201 _LT_EOF
   16202 	  fi ;;
   16203 	esac
   16204       fi
   16205       break
   16206     fi
   16207   done
   16208   IFS=$lt_save_ifs
   16209   MAGIC_CMD=$lt_save_MAGIC_CMD
   16210   ;;
   16211 esac ;;
   16212 esac
   16213 fi
   16214 
   16215 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16216 if test -n "$MAGIC_CMD"; then
   16217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   16218 printf "%s\n" "$MAGIC_CMD" >&6; }
   16219 else
   16220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16221 printf "%s\n" "no" >&6; }
   16222 fi
   16223 
   16224 
   16225   else
   16226     MAGIC_CMD=:
   16227   fi
   16228 fi
   16229 
   16230   fi
   16231   ;;
   16232 esac
   16233 
   16234 # Use C for the default configuration in the libtool script
   16235 
   16236 lt_save_CC=$CC
   16237 ac_ext=c
   16238 ac_cpp='$CPP $CPPFLAGS'
   16239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16242 
   16243 
   16244 # Source file extension for C test sources.
   16245 ac_ext=c
   16246 
   16247 # Object file extension for compiled C test sources.
   16248 objext=o
   16249 objext=$objext
   16250 
   16251 # Code to be used in simple compile tests
   16252 lt_simple_compile_test_code="int some_variable = 0;"
   16253 
   16254 # Code to be used in simple link tests
   16255 lt_simple_link_test_code='int main(){return(0);}'
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 # If no C compiler was specified, use CC.
   16264 LTCC=${LTCC-"$CC"}
   16265 
   16266 # If no C compiler flags were specified, use CFLAGS.
   16267 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16268 
   16269 # Allow CC to be a program name with arguments.
   16270 compiler=$CC
   16271 
   16272 # Save the default compiler, since it gets overwritten when the other
   16273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   16274 compiler_DEFAULT=$CC
   16275 
   16276 # save warnings/boilerplate of simple test code
   16277 ac_outfile=conftest.$ac_objext
   16278 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16279 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16280 _lt_compiler_boilerplate=`cat conftest.err`
   16281 $RM conftest*
   16282 
   16283 ac_outfile=conftest.$ac_objext
   16284 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16285 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16286 _lt_linker_boilerplate=`cat conftest.err`
   16287 $RM -r conftest*
   16288 
   16289 
   16290 if test -n "$compiler"; then
   16291 
   16292 lt_prog_compiler_no_builtin_flag=
   16293 
   16294 if test yes = "$GCC"; then
   16295   case $cc_basename in
   16296   nvcc*)
   16297     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   16298   *)
   16299     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   16300   esac
   16301 
   16302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16303 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16304 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   16305 then :
   16306   printf %s "(cached) " >&6
   16307 else case e in #(
   16308   e) lt_cv_prog_compiler_rtti_exceptions=no
   16309    ac_outfile=conftest.$ac_objext
   16310    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16311    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   16312    # Insert the option either (1) after the last *FLAGS variable, or
   16313    # (2) before a word containing "conftest.", or (3) at the end.
   16314    # Note that $ac_compile itself does not contain backslashes and begins
   16315    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16316    # The option is referenced via a variable to avoid confusing sed.
   16317    lt_compile=`echo "$ac_compile" | $SED \
   16318    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16319    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16320    -e 's:$: $lt_compiler_flag:'`
   16321    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16322    (eval "$lt_compile" 2>conftest.err)
   16323    ac_status=$?
   16324    cat conftest.err >&5
   16325    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16326    if (exit $ac_status) && test -s "$ac_outfile"; then
   16327      # The compiler can only warn and ignore the option if not recognized
   16328      # So say no if there are warnings other than the usual output.
   16329      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16330      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16331      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16332        lt_cv_prog_compiler_rtti_exceptions=yes
   16333      fi
   16334    fi
   16335    $RM conftest*
   16336  ;;
   16337 esac
   16338 fi
   16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16340 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16341 
   16342 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   16343     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   16344 else
   16345     :
   16346 fi
   16347 
   16348 fi
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355   lt_prog_compiler_wl=
   16356 lt_prog_compiler_pic=
   16357 lt_prog_compiler_static=
   16358 
   16359 
   16360   if test yes = "$GCC"; then
   16361     lt_prog_compiler_wl='-Wl,'
   16362     lt_prog_compiler_static='-static'
   16363 
   16364     case $host_os in
   16365       aix*)
   16366       # All AIX code is PIC.
   16367       if test ia64 = "$host_cpu"; then
   16368 	# AIX 5 now supports IA64 processor
   16369 	lt_prog_compiler_static='-Bstatic'
   16370       fi
   16371       lt_prog_compiler_pic='-fPIC'
   16372       ;;
   16373 
   16374     amigaos*)
   16375       case $host_cpu in
   16376       powerpc)
   16377             # see comment about AmigaOS4 .so support
   16378             lt_prog_compiler_pic='-fPIC'
   16379         ;;
   16380       m68k)
   16381             # FIXME: we need at least 68020 code to build shared libraries, but
   16382             # adding the '-m68020' flag to GCC prevents building anything better,
   16383             # like '-m68040'.
   16384             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16385         ;;
   16386       esac
   16387       ;;
   16388 
   16389     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16390       # PIC is the default for these OSes.
   16391       ;;
   16392 
   16393     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16394       # This hack is so that the source file can tell whether it is being
   16395       # built for inclusion in a dll (and should export symbols for example).
   16396       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16397       # (--disable-auto-import) libraries
   16398       lt_prog_compiler_pic='-DDLL_EXPORT'
   16399       case $host_os in
   16400       os2*)
   16401 	lt_prog_compiler_static='$wl-static'
   16402 	;;
   16403       esac
   16404       ;;
   16405 
   16406     darwin* | rhapsody*)
   16407       # PIC is the default on this platform
   16408       # Common symbols not allowed in MH_DYLIB files
   16409       lt_prog_compiler_pic='-fno-common'
   16410       ;;
   16411 
   16412     haiku*)
   16413       # PIC is the default for Haiku.
   16414       # The "-static" flag exists, but is broken.
   16415       lt_prog_compiler_static=
   16416       ;;
   16417 
   16418     hpux*)
   16419       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16420       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16421       # sets the default TLS model and affects inlining.
   16422       case $host_cpu in
   16423       hppa*64*)
   16424 	# +Z the default
   16425 	;;
   16426       *)
   16427 	lt_prog_compiler_pic='-fPIC'
   16428 	;;
   16429       esac
   16430       ;;
   16431 
   16432     interix[3-9]*)
   16433       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16434       # Instead, we relocate shared libraries at runtime.
   16435       ;;
   16436 
   16437     msdosdjgpp*)
   16438       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16439       # on systems that don't support them.
   16440       lt_prog_compiler_can_build_shared=no
   16441       enable_shared=no
   16442       ;;
   16443 
   16444     *nto* | *qnx*)
   16445       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16446       # it will coredump.
   16447       lt_prog_compiler_pic='-fPIC -shared'
   16448       ;;
   16449 
   16450     sysv4*MP*)
   16451       if test -d /usr/nec; then
   16452 	lt_prog_compiler_pic=-Kconform_pic
   16453       fi
   16454       ;;
   16455 
   16456     *)
   16457       lt_prog_compiler_pic='-fPIC'
   16458       ;;
   16459     esac
   16460 
   16461     case $cc_basename in
   16462     nvcc*) # Cuda Compiler Driver 2.2
   16463       lt_prog_compiler_wl='-Xlinker '
   16464       if test -n "$lt_prog_compiler_pic"; then
   16465         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16466       fi
   16467       ;;
   16468     esac
   16469   else
   16470     # PORTME Check for flag to pass linker flags through the system compiler.
   16471     case $host_os in
   16472     aix*)
   16473       lt_prog_compiler_wl='-Wl,'
   16474       if test ia64 = "$host_cpu"; then
   16475 	# AIX 5 now supports IA64 processor
   16476 	lt_prog_compiler_static='-Bstatic'
   16477       else
   16478 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16479       fi
   16480       ;;
   16481 
   16482     darwin* | rhapsody*)
   16483       # PIC is the default on this platform
   16484       # Common symbols not allowed in MH_DYLIB files
   16485       lt_prog_compiler_pic='-fno-common'
   16486       case $cc_basename in
   16487       nagfor*)
   16488         # NAG Fortran compiler
   16489         lt_prog_compiler_wl='-Wl,-Wl,,'
   16490         lt_prog_compiler_pic='-PIC'
   16491         lt_prog_compiler_static='-Bstatic'
   16492         ;;
   16493       esac
   16494       ;;
   16495 
   16496     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16497       # This hack is so that the source file can tell whether it is being
   16498       # built for inclusion in a dll (and should export symbols for example).
   16499       lt_prog_compiler_pic='-DDLL_EXPORT'
   16500       case $host_os in
   16501       os2*)
   16502 	lt_prog_compiler_static='$wl-static'
   16503 	;;
   16504       esac
   16505       ;;
   16506 
   16507     hpux9* | hpux10* | hpux11*)
   16508       lt_prog_compiler_wl='-Wl,'
   16509       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16510       # not for PA HP-UX.
   16511       case $host_cpu in
   16512       hppa*64*|ia64*)
   16513 	# +Z the default
   16514 	;;
   16515       *)
   16516 	lt_prog_compiler_pic='+Z'
   16517 	;;
   16518       esac
   16519       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16520       lt_prog_compiler_static='$wl-a ${wl}archive'
   16521       ;;
   16522 
   16523     irix5* | irix6* | nonstopux*)
   16524       lt_prog_compiler_wl='-Wl,'
   16525       # PIC (with -KPIC) is the default.
   16526       lt_prog_compiler_static='-non_shared'
   16527       ;;
   16528 
   16529     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16530       case $cc_basename in
   16531       # old Intel for x86_64, which still supported -KPIC.
   16532       ecc*)
   16533 	lt_prog_compiler_wl='-Wl,'
   16534 	lt_prog_compiler_pic='-KPIC'
   16535 	lt_prog_compiler_static='-static'
   16536         ;;
   16537       # icc used to be incompatible with GCC.
   16538       # ICC 10 doesn't accept -KPIC any more.
   16539       icc* | ifort*)
   16540 	lt_prog_compiler_wl='-Wl,'
   16541 	lt_prog_compiler_pic='-fPIC'
   16542 	lt_prog_compiler_static='-static'
   16543         ;;
   16544       # Lahey Fortran 8.1.
   16545       lf95*)
   16546 	lt_prog_compiler_wl='-Wl,'
   16547 	lt_prog_compiler_pic='--shared'
   16548 	lt_prog_compiler_static='--static'
   16549 	;;
   16550       nagfor*)
   16551 	# NAG Fortran compiler
   16552 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16553 	lt_prog_compiler_pic='-PIC'
   16554 	lt_prog_compiler_static='-Bstatic'
   16555 	;;
   16556       tcc*)
   16557 	# Fabrice Bellard et al's Tiny C Compiler
   16558 	lt_prog_compiler_wl='-Wl,'
   16559 	lt_prog_compiler_pic='-fPIC'
   16560 	lt_prog_compiler_static='-static'
   16561 	;;
   16562       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16563         # Portland Group compilers (*not* the Pentium gcc compiler,
   16564 	# which looks to be a dead project)
   16565 	lt_prog_compiler_wl='-Wl,'
   16566 	lt_prog_compiler_pic='-fpic'
   16567 	lt_prog_compiler_static='-Bstatic'
   16568         ;;
   16569       ccc*)
   16570         lt_prog_compiler_wl='-Wl,'
   16571         # All Alpha code is PIC.
   16572         lt_prog_compiler_static='-non_shared'
   16573         ;;
   16574       xl* | bgxl* | bgf* | mpixl*)
   16575 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16576 	lt_prog_compiler_wl='-Wl,'
   16577 	lt_prog_compiler_pic='-qpic'
   16578 	lt_prog_compiler_static='-qstaticlink'
   16579 	;;
   16580       *)
   16581 	case `$CC -V 2>&1 | $SED 5q` in
   16582 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16583 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16584 	  lt_prog_compiler_pic='-KPIC'
   16585 	  lt_prog_compiler_static='-Bstatic'
   16586 	  lt_prog_compiler_wl=''
   16587 	  ;;
   16588 	*Sun\ F* | *Sun*Fortran*)
   16589 	  lt_prog_compiler_pic='-KPIC'
   16590 	  lt_prog_compiler_static='-Bstatic'
   16591 	  lt_prog_compiler_wl='-Qoption ld '
   16592 	  ;;
   16593 	*Sun\ C*)
   16594 	  # Sun C 5.9
   16595 	  lt_prog_compiler_pic='-KPIC'
   16596 	  lt_prog_compiler_static='-Bstatic'
   16597 	  lt_prog_compiler_wl='-Wl,'
   16598 	  ;;
   16599         *Intel*\ [CF]*Compiler*)
   16600 	  lt_prog_compiler_wl='-Wl,'
   16601 	  lt_prog_compiler_pic='-fPIC'
   16602 	  lt_prog_compiler_static='-static'
   16603 	  ;;
   16604 	*Portland\ Group*)
   16605 	  lt_prog_compiler_wl='-Wl,'
   16606 	  lt_prog_compiler_pic='-fpic'
   16607 	  lt_prog_compiler_static='-Bstatic'
   16608 	  ;;
   16609 	esac
   16610 	;;
   16611       esac
   16612       ;;
   16613 
   16614     newsos6)
   16615       lt_prog_compiler_pic='-KPIC'
   16616       lt_prog_compiler_static='-Bstatic'
   16617       ;;
   16618 
   16619     *nto* | *qnx*)
   16620       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16621       # it will coredump.
   16622       lt_prog_compiler_pic='-fPIC -shared'
   16623       ;;
   16624 
   16625     osf3* | osf4* | osf5*)
   16626       lt_prog_compiler_wl='-Wl,'
   16627       # All OSF/1 code is PIC.
   16628       lt_prog_compiler_static='-non_shared'
   16629       ;;
   16630 
   16631     rdos*)
   16632       lt_prog_compiler_static='-non_shared'
   16633       ;;
   16634 
   16635     solaris*)
   16636       lt_prog_compiler_pic='-KPIC'
   16637       lt_prog_compiler_static='-Bstatic'
   16638       case $cc_basename in
   16639       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16640 	lt_prog_compiler_wl='-Qoption ld ';;
   16641       *)
   16642 	lt_prog_compiler_wl='-Wl,';;
   16643       esac
   16644       ;;
   16645 
   16646     sunos4*)
   16647       lt_prog_compiler_wl='-Qoption ld '
   16648       lt_prog_compiler_pic='-PIC'
   16649       lt_prog_compiler_static='-Bstatic'
   16650       ;;
   16651 
   16652     sysv4 | sysv4.2uw2* | sysv4.3*)
   16653       lt_prog_compiler_wl='-Wl,'
   16654       lt_prog_compiler_pic='-KPIC'
   16655       lt_prog_compiler_static='-Bstatic'
   16656       ;;
   16657 
   16658     sysv4*MP*)
   16659       if test -d /usr/nec; then
   16660 	lt_prog_compiler_pic='-Kconform_pic'
   16661 	lt_prog_compiler_static='-Bstatic'
   16662       fi
   16663       ;;
   16664 
   16665     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16666       lt_prog_compiler_wl='-Wl,'
   16667       lt_prog_compiler_pic='-KPIC'
   16668       lt_prog_compiler_static='-Bstatic'
   16669       ;;
   16670 
   16671     unicos*)
   16672       lt_prog_compiler_wl='-Wl,'
   16673       lt_prog_compiler_can_build_shared=no
   16674       ;;
   16675 
   16676     uts4*)
   16677       lt_prog_compiler_pic='-pic'
   16678       lt_prog_compiler_static='-Bstatic'
   16679       ;;
   16680 
   16681     *)
   16682       lt_prog_compiler_can_build_shared=no
   16683       ;;
   16684     esac
   16685   fi
   16686 
   16687 case $host_os in
   16688   # For platforms that do not support PIC, -DPIC is meaningless:
   16689   *djgpp*)
   16690     lt_prog_compiler_pic=
   16691     ;;
   16692   *)
   16693     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16694     ;;
   16695 esac
   16696 
   16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16698 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16699 if test ${lt_cv_prog_compiler_pic+y}
   16700 then :
   16701   printf %s "(cached) " >&6
   16702 else case e in #(
   16703   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16704 esac
   16705 fi
   16706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16707 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16708 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16709 
   16710 #
   16711 # Check to make sure the PIC flag actually works.
   16712 #
   16713 if test -n "$lt_prog_compiler_pic"; then
   16714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16715 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16716 if test ${lt_cv_prog_compiler_pic_works+y}
   16717 then :
   16718   printf %s "(cached) " >&6
   16719 else case e in #(
   16720   e) lt_cv_prog_compiler_pic_works=no
   16721    ac_outfile=conftest.$ac_objext
   16722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16723    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16724    # Insert the option either (1) after the last *FLAGS variable, or
   16725    # (2) before a word containing "conftest.", or (3) at the end.
   16726    # Note that $ac_compile itself does not contain backslashes and begins
   16727    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16728    # The option is referenced via a variable to avoid confusing sed.
   16729    lt_compile=`echo "$ac_compile" | $SED \
   16730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16732    -e 's:$: $lt_compiler_flag:'`
   16733    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16734    (eval "$lt_compile" 2>conftest.err)
   16735    ac_status=$?
   16736    cat conftest.err >&5
   16737    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16738    if (exit $ac_status) && test -s "$ac_outfile"; then
   16739      # The compiler can only warn and ignore the option if not recognized
   16740      # So say no if there are warnings other than the usual output.
   16741      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16742      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16743      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16744        lt_cv_prog_compiler_pic_works=yes
   16745      fi
   16746    fi
   16747    $RM conftest*
   16748  ;;
   16749 esac
   16750 fi
   16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16752 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16753 
   16754 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16755     case $lt_prog_compiler_pic in
   16756      "" | " "*) ;;
   16757      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16758      esac
   16759 else
   16760     lt_prog_compiler_pic=
   16761      lt_prog_compiler_can_build_shared=no
   16762 fi
   16763 
   16764 fi
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 #
   16777 # Check to make sure the static flag actually works.
   16778 #
   16779 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16781 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16782 if test ${lt_cv_prog_compiler_static_works+y}
   16783 then :
   16784   printf %s "(cached) " >&6
   16785 else case e in #(
   16786   e) lt_cv_prog_compiler_static_works=no
   16787    save_LDFLAGS=$LDFLAGS
   16788    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16789    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16790    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16791      # The linker can only warn and ignore the option if not recognized
   16792      # So say no if there are warnings
   16793      if test -s conftest.err; then
   16794        # Append any errors to the config.log.
   16795        cat conftest.err 1>&5
   16796        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16797        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16798        if diff conftest.exp conftest.er2 >/dev/null; then
   16799          lt_cv_prog_compiler_static_works=yes
   16800        fi
   16801      else
   16802        lt_cv_prog_compiler_static_works=yes
   16803      fi
   16804    fi
   16805    $RM -r conftest*
   16806    LDFLAGS=$save_LDFLAGS
   16807  ;;
   16808 esac
   16809 fi
   16810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16811 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16812 
   16813 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16814     :
   16815 else
   16816     lt_prog_compiler_static=
   16817 fi
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16826 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16827 if test ${lt_cv_prog_compiler_c_o+y}
   16828 then :
   16829   printf %s "(cached) " >&6
   16830 else case e in #(
   16831   e) lt_cv_prog_compiler_c_o=no
   16832    $RM -r conftest 2>/dev/null
   16833    mkdir conftest
   16834    cd conftest
   16835    mkdir out
   16836    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16837 
   16838    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16839    # Insert the option either (1) after the last *FLAGS variable, or
   16840    # (2) before a word containing "conftest.", or (3) at the end.
   16841    # Note that $ac_compile itself does not contain backslashes and begins
   16842    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16843    lt_compile=`echo "$ac_compile" | $SED \
   16844    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16845    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16846    -e 's:$: $lt_compiler_flag:'`
   16847    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16848    (eval "$lt_compile" 2>out/conftest.err)
   16849    ac_status=$?
   16850    cat out/conftest.err >&5
   16851    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16852    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16853    then
   16854      # The compiler can only warn and ignore the option if not recognized
   16855      # So say no if there are warnings
   16856      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16857      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16858      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16859        lt_cv_prog_compiler_c_o=yes
   16860      fi
   16861    fi
   16862    chmod u+w . 2>&5
   16863    $RM conftest*
   16864    # SGI C++ compiler will create directory out/ii_files/ for
   16865    # template instantiation
   16866    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16867    $RM out/* && rmdir out
   16868    cd ..
   16869    $RM -r conftest
   16870    $RM conftest*
   16871  ;;
   16872 esac
   16873 fi
   16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16875 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16883 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16884 if test ${lt_cv_prog_compiler_c_o+y}
   16885 then :
   16886   printf %s "(cached) " >&6
   16887 else case e in #(
   16888   e) lt_cv_prog_compiler_c_o=no
   16889    $RM -r conftest 2>/dev/null
   16890    mkdir conftest
   16891    cd conftest
   16892    mkdir out
   16893    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16894 
   16895    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16896    # Insert the option either (1) after the last *FLAGS variable, or
   16897    # (2) before a word containing "conftest.", or (3) at the end.
   16898    # Note that $ac_compile itself does not contain backslashes and begins
   16899    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16900    lt_compile=`echo "$ac_compile" | $SED \
   16901    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16902    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16903    -e 's:$: $lt_compiler_flag:'`
   16904    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16905    (eval "$lt_compile" 2>out/conftest.err)
   16906    ac_status=$?
   16907    cat out/conftest.err >&5
   16908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16909    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16910    then
   16911      # The compiler can only warn and ignore the option if not recognized
   16912      # So say no if there are warnings
   16913      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16914      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16915      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16916        lt_cv_prog_compiler_c_o=yes
   16917      fi
   16918    fi
   16919    chmod u+w . 2>&5
   16920    $RM conftest*
   16921    # SGI C++ compiler will create directory out/ii_files/ for
   16922    # template instantiation
   16923    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16924    $RM out/* && rmdir out
   16925    cd ..
   16926    $RM -r conftest
   16927    $RM conftest*
   16928  ;;
   16929 esac
   16930 fi
   16931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16932 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16933 
   16934 
   16935 
   16936 
   16937 hard_links=nottested
   16938 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16939   # do not overwrite the value of need_locks provided by the user
   16940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16941 printf %s "checking if we can lock with hard links... " >&6; }
   16942   hard_links=yes
   16943   $RM conftest*
   16944   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16945   touch conftest.a
   16946   ln conftest.a conftest.b 2>&5 || hard_links=no
   16947   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16949 printf "%s\n" "$hard_links" >&6; }
   16950   if test no = "$hard_links"; then
   16951     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16952 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16953     need_locks=warn
   16954   fi
   16955 else
   16956   need_locks=no
   16957 fi
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16965 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16966 
   16967   runpath_var=
   16968   allow_undefined_flag=
   16969   always_export_symbols=no
   16970   archive_cmds=
   16971   archive_expsym_cmds=
   16972   compiler_needs_object=no
   16973   enable_shared_with_static_runtimes=no
   16974   export_dynamic_flag_spec=
   16975   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16976   hardcode_automatic=no
   16977   hardcode_direct=no
   16978   hardcode_direct_absolute=no
   16979   hardcode_libdir_flag_spec=
   16980   hardcode_libdir_separator=
   16981   hardcode_minus_L=no
   16982   hardcode_shlibpath_var=unsupported
   16983   inherit_rpath=no
   16984   link_all_deplibs=unknown
   16985   module_cmds=
   16986   module_expsym_cmds=
   16987   old_archive_from_new_cmds=
   16988   old_archive_from_expsyms_cmds=
   16989   thread_safe_flag_spec=
   16990   whole_archive_flag_spec=
   16991   # include_expsyms should be a list of space-separated symbols to be *always*
   16992   # included in the symbol list
   16993   include_expsyms=
   16994   # exclude_expsyms can be an extended regexp of symbols to exclude
   16995   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16996   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16997   # as well as any symbol that contains 'd'.
   16998   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16999   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17000   # platforms (ab)use it in PIC code, but their linkers get confused if
   17001   # the symbol is explicitly referenced.  Since portable code cannot
   17002   # rely on this symbol name, it's probably fine to never include it in
   17003   # preloaded symbol tables.
   17004   # Exclude shared library initialization/finalization symbols.
   17005   extract_expsyms_cmds=
   17006 
   17007   case $host_os in
   17008   cygwin* | mingw* | pw32* | cegcc*)
   17009     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   17010     # When not using gcc, we currently assume that we are using
   17011     # Microsoft Visual C++ or Intel C++ Compiler.
   17012     if test yes != "$GCC"; then
   17013       with_gnu_ld=no
   17014     fi
   17015     ;;
   17016   interix*)
   17017     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   17018     with_gnu_ld=yes
   17019     ;;
   17020   openbsd* | bitrig*)
   17021     with_gnu_ld=no
   17022     ;;
   17023   esac
   17024 
   17025   ld_shlibs=yes
   17026 
   17027   # On some targets, GNU ld is compatible enough with the native linker
   17028   # that we're better off using the native interface for both.
   17029   lt_use_gnu_ld_interface=no
   17030   if test yes = "$with_gnu_ld"; then
   17031     case $host_os in
   17032       aix*)
   17033 	# The AIX port of GNU ld has always aspired to compatibility
   17034 	# with the native linker.  However, as the warning in the GNU ld
   17035 	# block says, versions before 2.19.5* couldn't really create working
   17036 	# shared libraries, regardless of the interface used.
   17037 	case `$LD -v 2>&1` in
   17038 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   17039 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   17040 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   17041 	  *)
   17042 	    lt_use_gnu_ld_interface=yes
   17043 	    ;;
   17044 	esac
   17045 	;;
   17046       *)
   17047 	lt_use_gnu_ld_interface=yes
   17048 	;;
   17049     esac
   17050   fi
   17051 
   17052   if test yes = "$lt_use_gnu_ld_interface"; then
   17053     # If archive_cmds runs LD, not CC, wlarc should be empty
   17054     wlarc='$wl'
   17055 
   17056     # Set some defaults for GNU ld with shared library support. These
   17057     # are reset later if shared libraries are not supported. Putting them
   17058     # here allows them to be overridden if necessary.
   17059     runpath_var=LD_RUN_PATH
   17060     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17061     export_dynamic_flag_spec='$wl--export-dynamic'
   17062     # ancient GNU ld didn't support --whole-archive et. al.
   17063     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   17064       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   17065     else
   17066       whole_archive_flag_spec=
   17067     fi
   17068     supports_anon_versioning=no
   17069     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   17070       *GNU\ gold*) supports_anon_versioning=yes ;;
   17071       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17072       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17073       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17074       *\ 2.11.*) ;; # other 2.11 versions
   17075       *) supports_anon_versioning=yes ;;
   17076     esac
   17077 
   17078     # See if GNU ld supports shared libraries.
   17079     case $host_os in
   17080     aix[3-9]*)
   17081       # On AIX/PPC, the GNU linker is very broken
   17082       if test ia64 != "$host_cpu"; then
   17083 	ld_shlibs=no
   17084 	cat <<_LT_EOF 1>&2
   17085 
   17086 *** Warning: the GNU linker, at least up to release 2.19, is reported
   17087 *** to be unable to reliably create shared libraries on AIX.
   17088 *** Therefore, libtool is disabling shared libraries support.  If you
   17089 *** really care for shared libraries, you may want to install binutils
   17090 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   17091 *** You will then need to restart the configuration process.
   17092 
   17093 _LT_EOF
   17094       fi
   17095       ;;
   17096 
   17097     amigaos*)
   17098       case $host_cpu in
   17099       powerpc)
   17100             # see comment about AmigaOS4 .so support
   17101             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17102             archive_expsym_cmds=''
   17103         ;;
   17104       m68k)
   17105             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)'
   17106             hardcode_libdir_flag_spec='-L$libdir'
   17107             hardcode_minus_L=yes
   17108         ;;
   17109       esac
   17110       ;;
   17111 
   17112     beos*)
   17113       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17114 	allow_undefined_flag=unsupported
   17115 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17116 	# support --undefined.  This deserves some investigation.  FIXME
   17117 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17118       else
   17119 	ld_shlibs=no
   17120       fi
   17121       ;;
   17122 
   17123     cygwin* | mingw* | pw32* | cegcc*)
   17124       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   17125       # as there is no search path for DLLs.
   17126       hardcode_libdir_flag_spec='-L$libdir'
   17127       export_dynamic_flag_spec='$wl--export-all-symbols'
   17128       allow_undefined_flag=unsupported
   17129       always_export_symbols=no
   17130       enable_shared_with_static_runtimes=yes
   17131       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'
   17132       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   17133 
   17134       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   17135         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17136 	# If the export-symbols file already is a .def file, use it as
   17137 	# is; otherwise, prepend EXPORTS...
   17138 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17139           cp $export_symbols $output_objdir/$soname.def;
   17140         else
   17141           echo EXPORTS > $output_objdir/$soname.def;
   17142           cat $export_symbols >> $output_objdir/$soname.def;
   17143         fi~
   17144         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17145       else
   17146 	ld_shlibs=no
   17147       fi
   17148       ;;
   17149 
   17150     haiku*)
   17151       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17152       link_all_deplibs=yes
   17153       ;;
   17154 
   17155     os2*)
   17156       hardcode_libdir_flag_spec='-L$libdir'
   17157       hardcode_minus_L=yes
   17158       allow_undefined_flag=unsupported
   17159       shrext_cmds=.dll
   17160       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17161 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17162 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17163 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17164 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17165 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17166 	emximp -o $lib $output_objdir/$libname.def'
   17167       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17168 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17169 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17170 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17171 	prefix_cmds="$SED"~
   17172 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17173 	  prefix_cmds="$prefix_cmds -e 1d";
   17174 	fi~
   17175 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17176 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17177 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17178 	emximp -o $lib $output_objdir/$libname.def'
   17179       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17180       enable_shared_with_static_runtimes=yes
   17181       file_list_spec='@'
   17182       ;;
   17183 
   17184     interix[3-9]*)
   17185       hardcode_direct=no
   17186       hardcode_shlibpath_var=no
   17187       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17188       export_dynamic_flag_spec='$wl-E'
   17189       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17190       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17191       # default) and relocated if they conflict, which is a slow very memory
   17192       # consuming and fragmenting process.  To avoid this, we pick a random,
   17193       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17194       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17195       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17196       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'
   17197       ;;
   17198 
   17199     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   17200       tmp_diet=no
   17201       if test linux-dietlibc = "$host_os"; then
   17202 	case $cc_basename in
   17203 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   17204 	esac
   17205       fi
   17206       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   17207 	 && test no = "$tmp_diet"
   17208       then
   17209 	tmp_addflag=' $pic_flag'
   17210 	tmp_sharedflag='-shared'
   17211 	case $cc_basename,$host_cpu in
   17212         pgcc*)				# Portland Group C compiler
   17213 	  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'
   17214 	  tmp_addflag=' $pic_flag'
   17215 	  ;;
   17216 	pgf77* | pgf90* | pgf95* | pgfortran*)
   17217 					# Portland Group f77 and f90 compilers
   17218 	  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'
   17219 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17220 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   17221 	  tmp_addflag=' -i_dynamic' ;;
   17222 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17223 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17224 	ifc* | ifort*)			# Intel Fortran compiler
   17225 	  tmp_addflag=' -nofor_main' ;;
   17226 	lf95*)				# Lahey Fortran 8.1
   17227 	  whole_archive_flag_spec=
   17228 	  tmp_sharedflag='--shared' ;;
   17229         nagfor*)                        # NAGFOR 5.3
   17230           tmp_sharedflag='-Wl,-shared' ;;
   17231 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   17232 	  tmp_sharedflag='-qmkshrobj'
   17233 	  tmp_addflag= ;;
   17234 	nvcc*)	# Cuda Compiler Driver 2.2
   17235 	  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'
   17236 	  compiler_needs_object=yes
   17237 	  ;;
   17238 	esac
   17239 	case `$CC -V 2>&1 | $SED 5q` in
   17240 	*Sun\ C*)			# Sun C 5.9
   17241 	  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'
   17242 	  compiler_needs_object=yes
   17243 	  tmp_sharedflag='-G' ;;
   17244 	*Sun\ F*)			# Sun Fortran 8.3
   17245 	  tmp_sharedflag='-G' ;;
   17246 	esac
   17247 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17248 
   17249         if test yes = "$supports_anon_versioning"; then
   17250           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   17251             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17252             echo "local: *; };" >> $output_objdir/$libname.ver~
   17253             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   17254         fi
   17255 
   17256 	case $cc_basename in
   17257 	tcc*)
   17258 	  export_dynamic_flag_spec='-rdynamic'
   17259 	  ;;
   17260 	xlf* | bgf* | bgxlf* | mpixlf*)
   17261 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   17262 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   17263 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17264 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   17265 	  if test yes = "$supports_anon_versioning"; then
   17266 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   17267               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17268               echo "local: *; };" >> $output_objdir/$libname.ver~
   17269               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   17270 	  fi
   17271 	  ;;
   17272 	esac
   17273       else
   17274         ld_shlibs=no
   17275       fi
   17276       ;;
   17277 
   17278     netbsd*)
   17279       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17280 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17281 	wlarc=
   17282       else
   17283 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17284 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17285       fi
   17286       ;;
   17287 
   17288     solaris*)
   17289       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   17290 	ld_shlibs=no
   17291 	cat <<_LT_EOF 1>&2
   17292 
   17293 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17294 *** create shared libraries on Solaris systems.  Therefore, libtool
   17295 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17296 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17297 *** your PATH or compiler configuration so that the native linker is
   17298 *** used, and then restart.
   17299 
   17300 _LT_EOF
   17301       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17302 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17303 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17304       else
   17305 	ld_shlibs=no
   17306       fi
   17307       ;;
   17308 
   17309     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17310       case `$LD -v 2>&1` in
   17311         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17312 	ld_shlibs=no
   17313 	cat <<_LT_EOF 1>&2
   17314 
   17315 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   17316 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17317 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17318 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17319 *** your PATH or compiler configuration so that the native linker is
   17320 *** used, and then restart.
   17321 
   17322 _LT_EOF
   17323 	;;
   17324 	*)
   17325 	  # For security reasons, it is highly recommended that you always
   17326 	  # use absolute paths for naming shared libraries, and exclude the
   17327 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   17328 	  # requires that you compile everything twice, which is a pain.
   17329 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17330 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17331 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17332 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17333 	  else
   17334 	    ld_shlibs=no
   17335 	  fi
   17336 	;;
   17337       esac
   17338       ;;
   17339 
   17340     sunos4*)
   17341       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17342       wlarc=
   17343       hardcode_direct=yes
   17344       hardcode_shlibpath_var=no
   17345       ;;
   17346 
   17347     *)
   17348       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17349 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17350 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17351       else
   17352 	ld_shlibs=no
   17353       fi
   17354       ;;
   17355     esac
   17356 
   17357     if test no = "$ld_shlibs"; then
   17358       runpath_var=
   17359       hardcode_libdir_flag_spec=
   17360       export_dynamic_flag_spec=
   17361       whole_archive_flag_spec=
   17362     fi
   17363   else
   17364     # PORTME fill in a description of your system's linker (not GNU ld)
   17365     case $host_os in
   17366     aix3*)
   17367       allow_undefined_flag=unsupported
   17368       always_export_symbols=yes
   17369       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'
   17370       # Note: this linker hardcodes the directories in LIBPATH if there
   17371       # are no directories specified by -L.
   17372       hardcode_minus_L=yes
   17373       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   17374 	# Neither direct hardcoding nor static linking is supported with a
   17375 	# broken collect2.
   17376 	hardcode_direct=unsupported
   17377       fi
   17378       ;;
   17379 
   17380     aix[4-9]*)
   17381       if test ia64 = "$host_cpu"; then
   17382 	# On IA64, the linker does run time linking by default, so we don't
   17383 	# have to do anything special.
   17384 	aix_use_runtimelinking=no
   17385 	exp_sym_flag='-Bexport'
   17386 	no_entry_flag=
   17387       else
   17388 	# If we're using GNU nm, then we don't want the "-C" option.
   17389 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17390 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17391 	# weak defined symbols like other global defined symbols, whereas
   17392 	# GNU nm marks them as "W".
   17393 	# While the 'weak' keyword is ignored in the Export File, we need
   17394 	# it in the Import File for the 'aix-soname' feature, so we have
   17395 	# to replace the "-B" option with "-P" for AIX nm.
   17396 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17397 	  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'
   17398 	else
   17399 	  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'
   17400 	fi
   17401 	aix_use_runtimelinking=no
   17402 
   17403 	# Test if we are trying to use run time linking or normal
   17404 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17405 	# have runtime linking enabled, and use it for executables.
   17406 	# For shared libraries, we enable/disable runtime linking
   17407 	# depending on the kind of the shared library created -
   17408 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17409 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17410 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17411 	#            lib.a           static archive
   17412 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17413 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17414 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17415 	#            lib.a(lib.so.V) shared, rtl:no
   17416 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17417 	#            lib.a           static archive
   17418 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17419 	  for ld_flag in $LDFLAGS; do
   17420 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17421 	    aix_use_runtimelinking=yes
   17422 	    break
   17423 	  fi
   17424 	  done
   17425 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17426 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17427 	    # so we don't have lib.a shared libs to link our executables.
   17428 	    # We have to force runtime linking in this case.
   17429 	    aix_use_runtimelinking=yes
   17430 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17431 	  fi
   17432 	  ;;
   17433 	esac
   17434 
   17435 	exp_sym_flag='-bexport'
   17436 	no_entry_flag='-bnoentry'
   17437       fi
   17438 
   17439       # When large executables or shared objects are built, AIX ld can
   17440       # have problems creating the table of contents.  If linking a library
   17441       # or program results in "error TOC overflow" add -mminimal-toc to
   17442       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17443       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17444 
   17445       archive_cmds=''
   17446       hardcode_direct=yes
   17447       hardcode_direct_absolute=yes
   17448       hardcode_libdir_separator=':'
   17449       link_all_deplibs=yes
   17450       file_list_spec='$wl-f,'
   17451       case $with_aix_soname,$aix_use_runtimelinking in
   17452       aix,*) ;; # traditional, no import file
   17453       svr4,* | *,yes) # use import file
   17454 	# The Import File defines what to hardcode.
   17455 	hardcode_direct=no
   17456 	hardcode_direct_absolute=no
   17457 	;;
   17458       esac
   17459 
   17460       if test yes = "$GCC"; then
   17461 	case $host_os in aix4.[012]|aix4.[012].*)
   17462 	# We only want to do this on AIX 4.2 and lower, the check
   17463 	# below for broken collect2 doesn't work under 4.3+
   17464 	  collect2name=`$CC -print-prog-name=collect2`
   17465 	  if test -f "$collect2name" &&
   17466 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17467 	  then
   17468 	  # We have reworked collect2
   17469 	  :
   17470 	  else
   17471 	  # We have old collect2
   17472 	  hardcode_direct=unsupported
   17473 	  # It fails to find uninstalled libraries when the uninstalled
   17474 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17475 	  # to unsupported forces relinking
   17476 	  hardcode_minus_L=yes
   17477 	  hardcode_libdir_flag_spec='-L$libdir'
   17478 	  hardcode_libdir_separator=
   17479 	  fi
   17480 	  ;;
   17481 	esac
   17482 	shared_flag='-shared'
   17483 	if test yes = "$aix_use_runtimelinking"; then
   17484 	  shared_flag="$shared_flag "'$wl-G'
   17485 	fi
   17486 	# Need to ensure runtime linking is disabled for the traditional
   17487 	# shared library, or the linker may eventually find shared libraries
   17488 	# /with/ Import File - we do not want to mix them.
   17489 	shared_flag_aix='-shared'
   17490 	shared_flag_svr4='-shared $wl-G'
   17491       else
   17492 	# not using gcc
   17493 	if test ia64 = "$host_cpu"; then
   17494 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17495 	# chokes on -Wl,-G. The following line is correct:
   17496 	  shared_flag='-G'
   17497 	else
   17498 	  if test yes = "$aix_use_runtimelinking"; then
   17499 	    shared_flag='$wl-G'
   17500 	  else
   17501 	    shared_flag='$wl-bM:SRE'
   17502 	  fi
   17503 	  shared_flag_aix='$wl-bM:SRE'
   17504 	  shared_flag_svr4='$wl-G'
   17505 	fi
   17506       fi
   17507 
   17508       export_dynamic_flag_spec='$wl-bexpall'
   17509       # It seems that -bexpall does not export symbols beginning with
   17510       # underscore (_), so it is better to generate a list of symbols to export.
   17511       always_export_symbols=yes
   17512       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17513 	# Warning - without using the other runtime loading flags (-brtl),
   17514 	# -berok will link without error, but may produce a broken library.
   17515 	allow_undefined_flag='-berok'
   17516         # Determine the default libpath from the value encoded in an
   17517         # empty executable.
   17518         if test set = "${lt_cv_aix_libpath+set}"; then
   17519   aix_libpath=$lt_cv_aix_libpath
   17520 else
   17521   if test ${lt_cv_aix_libpath_+y}
   17522 then :
   17523   printf %s "(cached) " >&6
   17524 else case e in #(
   17525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17526 /* end confdefs.h.  */
   17527 
   17528 int
   17529 main (void)
   17530 {
   17531 
   17532   ;
   17533   return 0;
   17534 }
   17535 _ACEOF
   17536 if ac_fn_c_try_link "$LINENO"
   17537 then :
   17538 
   17539   lt_aix_libpath_sed='
   17540       /Import File Strings/,/^$/ {
   17541 	  /^0/ {
   17542 	      s/^0  *\([^ ]*\) *$/\1/
   17543 	      p
   17544 	  }
   17545       }'
   17546   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17547   # Check for a 64-bit object if we didn't find anything.
   17548   if test -z "$lt_cv_aix_libpath_"; then
   17549     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17550   fi
   17551 fi
   17552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17553     conftest$ac_exeext conftest.$ac_ext
   17554   if test -z "$lt_cv_aix_libpath_"; then
   17555     lt_cv_aix_libpath_=/usr/lib:/lib
   17556   fi
   17557    ;;
   17558 esac
   17559 fi
   17560 
   17561   aix_libpath=$lt_cv_aix_libpath_
   17562 fi
   17563 
   17564         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17565         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
   17566       else
   17567 	if test ia64 = "$host_cpu"; then
   17568 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17569 	  allow_undefined_flag="-z nodefs"
   17570 	  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"
   17571 	else
   17572 	 # Determine the default libpath from the value encoded in an
   17573 	 # empty executable.
   17574 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17575   aix_libpath=$lt_cv_aix_libpath
   17576 else
   17577   if test ${lt_cv_aix_libpath_+y}
   17578 then :
   17579   printf %s "(cached) " >&6
   17580 else case e in #(
   17581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17582 /* end confdefs.h.  */
   17583 
   17584 int
   17585 main (void)
   17586 {
   17587 
   17588   ;
   17589   return 0;
   17590 }
   17591 _ACEOF
   17592 if ac_fn_c_try_link "$LINENO"
   17593 then :
   17594 
   17595   lt_aix_libpath_sed='
   17596       /Import File Strings/,/^$/ {
   17597 	  /^0/ {
   17598 	      s/^0  *\([^ ]*\) *$/\1/
   17599 	      p
   17600 	  }
   17601       }'
   17602   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17603   # Check for a 64-bit object if we didn't find anything.
   17604   if test -z "$lt_cv_aix_libpath_"; then
   17605     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17606   fi
   17607 fi
   17608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17609     conftest$ac_exeext conftest.$ac_ext
   17610   if test -z "$lt_cv_aix_libpath_"; then
   17611     lt_cv_aix_libpath_=/usr/lib:/lib
   17612   fi
   17613    ;;
   17614 esac
   17615 fi
   17616 
   17617   aix_libpath=$lt_cv_aix_libpath_
   17618 fi
   17619 
   17620 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17621 	  # Warning - without using the other run time loading flags,
   17622 	  # -berok will link without error, but may produce a broken library.
   17623 	  no_undefined_flag=' $wl-bernotok'
   17624 	  allow_undefined_flag=' $wl-berok'
   17625 	  if test yes = "$with_gnu_ld"; then
   17626 	    # We only use this code for GNU lds that support --whole-archive.
   17627 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17628 	  else
   17629 	    # Exported symbols can be pulled into shared objects from archives
   17630 	    whole_archive_flag_spec='$convenience'
   17631 	  fi
   17632 	  archive_cmds_need_lc=yes
   17633 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17634 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17635 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17636 	  if test svr4 != "$with_aix_soname"; then
   17637 	    # This is similar to how AIX traditionally builds its shared libraries.
   17638 	    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'
   17639 	  fi
   17640 	  if test aix != "$with_aix_soname"; then
   17641 	    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'
   17642 	  else
   17643 	    # used by -dlpreopen to get the symbols
   17644 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17645 	  fi
   17646 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17647 	fi
   17648       fi
   17649       ;;
   17650 
   17651     amigaos*)
   17652       case $host_cpu in
   17653       powerpc)
   17654             # see comment about AmigaOS4 .so support
   17655             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17656             archive_expsym_cmds=''
   17657         ;;
   17658       m68k)
   17659             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)'
   17660             hardcode_libdir_flag_spec='-L$libdir'
   17661             hardcode_minus_L=yes
   17662         ;;
   17663       esac
   17664       ;;
   17665 
   17666     bsdi[45]*)
   17667       export_dynamic_flag_spec=-rdynamic
   17668       ;;
   17669 
   17670     cygwin* | mingw* | pw32* | cegcc*)
   17671       # When not using gcc, we currently assume that we are using
   17672       # Microsoft Visual C++ or Intel C++ Compiler.
   17673       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17674       # no search path for DLLs.
   17675       case $cc_basename in
   17676       cl* | icl*)
   17677 	# Native MSVC or ICC
   17678 	hardcode_libdir_flag_spec=' '
   17679 	allow_undefined_flag=unsupported
   17680 	always_export_symbols=yes
   17681 	file_list_spec='@'
   17682 	# Tell ltmain to make .lib files, not .a files.
   17683 	libext=lib
   17684 	# Tell ltmain to make .dll files, not .so files.
   17685 	shrext_cmds=.dll
   17686 	# FIXME: Setting linknames here is a bad hack.
   17687 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17688 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17689             cp "$export_symbols" "$output_objdir/$soname.def";
   17690             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17691           else
   17692             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17693           fi~
   17694           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17695           linknames='
   17696 	# The linker will not automatically build a static lib if we build a DLL.
   17697 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17698 	enable_shared_with_static_runtimes=yes
   17699 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17700 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17701 	# Don't use ranlib
   17702 	old_postinstall_cmds='chmod 644 $oldlib'
   17703 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17704           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17705           case $lt_outputfile in
   17706             *.exe|*.EXE) ;;
   17707             *)
   17708               lt_outputfile=$lt_outputfile.exe
   17709               lt_tool_outputfile=$lt_tool_outputfile.exe
   17710               ;;
   17711           esac~
   17712           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17713             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17714             $RM "$lt_outputfile.manifest";
   17715           fi'
   17716 	;;
   17717       *)
   17718 	# Assume MSVC and ICC wrapper
   17719 	hardcode_libdir_flag_spec=' '
   17720 	allow_undefined_flag=unsupported
   17721 	# Tell ltmain to make .lib files, not .a files.
   17722 	libext=lib
   17723 	# Tell ltmain to make .dll files, not .so files.
   17724 	shrext_cmds=.dll
   17725 	# FIXME: Setting linknames here is a bad hack.
   17726 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17727 	# The linker will automatically build a .lib file if we build a DLL.
   17728 	old_archive_from_new_cmds='true'
   17729 	# FIXME: Should let the user specify the lib program.
   17730 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17731 	enable_shared_with_static_runtimes=yes
   17732 	;;
   17733       esac
   17734       ;;
   17735 
   17736     darwin* | rhapsody*)
   17737 
   17738 
   17739   archive_cmds_need_lc=no
   17740   hardcode_direct=no
   17741   hardcode_automatic=yes
   17742   hardcode_shlibpath_var=unsupported
   17743   if test yes = "$lt_cv_ld_force_load"; then
   17744     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\"`'
   17745 
   17746   else
   17747     whole_archive_flag_spec=''
   17748   fi
   17749   link_all_deplibs=yes
   17750   allow_undefined_flag=$_lt_dar_allow_undefined
   17751   case $cc_basename in
   17752      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17753      *) _lt_dar_can_shared=$GCC ;;
   17754   esac
   17755   if test yes = "$_lt_dar_can_shared"; then
   17756     output_verbose_link_cmd=func_echo_all
   17757     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17758     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17759     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"
   17760     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"
   17761 
   17762   else
   17763   ld_shlibs=no
   17764   fi
   17765 
   17766       ;;
   17767 
   17768     dgux*)
   17769       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17770       hardcode_libdir_flag_spec='-L$libdir'
   17771       hardcode_shlibpath_var=no
   17772       ;;
   17773 
   17774     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17775     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17776     # does not break anything, and helps significantly (at the cost of a little
   17777     # extra space).
   17778     freebsd2.2*)
   17779       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17780       hardcode_libdir_flag_spec='-R$libdir'
   17781       hardcode_direct=yes
   17782       hardcode_shlibpath_var=no
   17783       ;;
   17784 
   17785     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17786     freebsd2.*)
   17787       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17788       hardcode_direct=yes
   17789       hardcode_minus_L=yes
   17790       hardcode_shlibpath_var=no
   17791       ;;
   17792 
   17793     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17794     freebsd* | dragonfly* | midnightbsd*)
   17795       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17796       hardcode_libdir_flag_spec='-R$libdir'
   17797       hardcode_direct=yes
   17798       hardcode_shlibpath_var=no
   17799       ;;
   17800 
   17801     hpux9*)
   17802       if test yes = "$GCC"; then
   17803 	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'
   17804       else
   17805 	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'
   17806       fi
   17807       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17808       hardcode_libdir_separator=:
   17809       hardcode_direct=yes
   17810 
   17811       # hardcode_minus_L: Not really in the search PATH,
   17812       # but as the default location of the library.
   17813       hardcode_minus_L=yes
   17814       export_dynamic_flag_spec='$wl-E'
   17815       ;;
   17816 
   17817     hpux10*)
   17818       if test yes,no = "$GCC,$with_gnu_ld"; then
   17819 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17820       else
   17821 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17822       fi
   17823       if test no = "$with_gnu_ld"; then
   17824 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17825 	hardcode_libdir_separator=:
   17826 	hardcode_direct=yes
   17827 	hardcode_direct_absolute=yes
   17828 	export_dynamic_flag_spec='$wl-E'
   17829 	# hardcode_minus_L: Not really in the search PATH,
   17830 	# but as the default location of the library.
   17831 	hardcode_minus_L=yes
   17832       fi
   17833       ;;
   17834 
   17835     hpux11*)
   17836       if test yes,no = "$GCC,$with_gnu_ld"; then
   17837 	case $host_cpu in
   17838 	hppa*64*)
   17839 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17840 	  ;;
   17841 	ia64*)
   17842 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17843 	  ;;
   17844 	*)
   17845 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17846 	  ;;
   17847 	esac
   17848       else
   17849 	case $host_cpu in
   17850 	hppa*64*)
   17851 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17852 	  ;;
   17853 	ia64*)
   17854 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17855 	  ;;
   17856 	*)
   17857 
   17858 	  # Older versions of the 11.00 compiler do not understand -b yet
   17859 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17860 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17861 printf %s "checking if $CC understands -b... " >&6; }
   17862 if test ${lt_cv_prog_compiler__b+y}
   17863 then :
   17864   printf %s "(cached) " >&6
   17865 else case e in #(
   17866   e) lt_cv_prog_compiler__b=no
   17867    save_LDFLAGS=$LDFLAGS
   17868    LDFLAGS="$LDFLAGS -b"
   17869    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17870    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17871      # The linker can only warn and ignore the option if not recognized
   17872      # So say no if there are warnings
   17873      if test -s conftest.err; then
   17874        # Append any errors to the config.log.
   17875        cat conftest.err 1>&5
   17876        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17877        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17878        if diff conftest.exp conftest.er2 >/dev/null; then
   17879          lt_cv_prog_compiler__b=yes
   17880        fi
   17881      else
   17882        lt_cv_prog_compiler__b=yes
   17883      fi
   17884    fi
   17885    $RM -r conftest*
   17886    LDFLAGS=$save_LDFLAGS
   17887  ;;
   17888 esac
   17889 fi
   17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17891 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17892 
   17893 if test yes = "$lt_cv_prog_compiler__b"; then
   17894     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17895 else
   17896     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17897 fi
   17898 
   17899 	  ;;
   17900 	esac
   17901       fi
   17902       if test no = "$with_gnu_ld"; then
   17903 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17904 	hardcode_libdir_separator=:
   17905 
   17906 	case $host_cpu in
   17907 	hppa*64*|ia64*)
   17908 	  hardcode_direct=no
   17909 	  hardcode_shlibpath_var=no
   17910 	  ;;
   17911 	*)
   17912 	  hardcode_direct=yes
   17913 	  hardcode_direct_absolute=yes
   17914 	  export_dynamic_flag_spec='$wl-E'
   17915 
   17916 	  # hardcode_minus_L: Not really in the search PATH,
   17917 	  # but as the default location of the library.
   17918 	  hardcode_minus_L=yes
   17919 	  ;;
   17920 	esac
   17921       fi
   17922       ;;
   17923 
   17924     irix5* | irix6* | nonstopux*)
   17925       if test yes = "$GCC"; then
   17926 	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'
   17927 	# Try to use the -exported_symbol ld option, if it does not
   17928 	# work, assume that -exports_file does not work either and
   17929 	# implicitly export all symbols.
   17930 	# This should be the same for all languages, so no per-tag cache variable.
   17931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17932 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17933 if test ${lt_cv_irix_exported_symbol+y}
   17934 then :
   17935   printf %s "(cached) " >&6
   17936 else case e in #(
   17937   e) save_LDFLAGS=$LDFLAGS
   17938 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17939 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17940 /* end confdefs.h.  */
   17941 int foo (void) { return 0; }
   17942 _ACEOF
   17943 if ac_fn_c_try_link "$LINENO"
   17944 then :
   17945   lt_cv_irix_exported_symbol=yes
   17946 else case e in #(
   17947   e) lt_cv_irix_exported_symbol=no ;;
   17948 esac
   17949 fi
   17950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17951     conftest$ac_exeext conftest.$ac_ext
   17952            LDFLAGS=$save_LDFLAGS ;;
   17953 esac
   17954 fi
   17955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17956 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17957 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17958           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'
   17959 	fi
   17960       else
   17961 	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'
   17962 	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'
   17963       fi
   17964       archive_cmds_need_lc='no'
   17965       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17966       hardcode_libdir_separator=:
   17967       inherit_rpath=yes
   17968       link_all_deplibs=yes
   17969       ;;
   17970 
   17971     linux*)
   17972       case $cc_basename in
   17973       tcc*)
   17974 	# Fabrice Bellard et al's Tiny C Compiler
   17975 	ld_shlibs=yes
   17976 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17977 	;;
   17978       esac
   17979       ;;
   17980 
   17981     netbsd*)
   17982       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17983 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17984       else
   17985 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17986       fi
   17987       hardcode_libdir_flag_spec='-R$libdir'
   17988       hardcode_direct=yes
   17989       hardcode_shlibpath_var=no
   17990       ;;
   17991 
   17992     newsos6)
   17993       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17994       hardcode_direct=yes
   17995       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17996       hardcode_libdir_separator=:
   17997       hardcode_shlibpath_var=no
   17998       ;;
   17999 
   18000     *nto* | *qnx*)
   18001       ;;
   18002 
   18003     openbsd* | bitrig*)
   18004       if test -f /usr/libexec/ld.so; then
   18005 	hardcode_direct=yes
   18006 	hardcode_shlibpath_var=no
   18007 	hardcode_direct_absolute=yes
   18008 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18009 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18010 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   18011 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   18012 	  export_dynamic_flag_spec='$wl-E'
   18013 	else
   18014 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18015 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   18016 	fi
   18017       else
   18018 	ld_shlibs=no
   18019       fi
   18020       ;;
   18021 
   18022     os2*)
   18023       hardcode_libdir_flag_spec='-L$libdir'
   18024       hardcode_minus_L=yes
   18025       allow_undefined_flag=unsupported
   18026       shrext_cmds=.dll
   18027       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   18028 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   18029 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   18030 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   18031 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   18032 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   18033 	emximp -o $lib $output_objdir/$libname.def'
   18034       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   18035 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   18036 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   18037 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   18038 	prefix_cmds="$SED"~
   18039 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   18040 	  prefix_cmds="$prefix_cmds -e 1d";
   18041 	fi~
   18042 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   18043 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   18044 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   18045 	emximp -o $lib $output_objdir/$libname.def'
   18046       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   18047       enable_shared_with_static_runtimes=yes
   18048       file_list_spec='@'
   18049       ;;
   18050 
   18051     osf3*)
   18052       if test yes = "$GCC"; then
   18053 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   18054 	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'
   18055       else
   18056 	allow_undefined_flag=' -expect_unresolved \*'
   18057 	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'
   18058       fi
   18059       archive_cmds_need_lc='no'
   18060       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   18061       hardcode_libdir_separator=:
   18062       ;;
   18063 
   18064     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18065       if test yes = "$GCC"; then
   18066 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   18067 	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'
   18068 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   18069       else
   18070 	allow_undefined_flag=' -expect_unresolved \*'
   18071 	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'
   18072 	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~
   18073           $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'
   18074 
   18075 	# Both c and cxx compiler support -rpath directly
   18076 	hardcode_libdir_flag_spec='-rpath $libdir'
   18077       fi
   18078       archive_cmds_need_lc='no'
   18079       hardcode_libdir_separator=:
   18080       ;;
   18081 
   18082     solaris*)
   18083       no_undefined_flag=' -z defs'
   18084       if test yes = "$GCC"; then
   18085 	wlarc='$wl'
   18086 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   18087 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18088           $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'
   18089       else
   18090 	case `$CC -V 2>&1` in
   18091 	*"Compilers 5.0"*)
   18092 	  wlarc=''
   18093 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18094 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18095             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   18096 	  ;;
   18097 	*)
   18098 	  wlarc='$wl'
   18099 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18100 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18101             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   18102 	  ;;
   18103 	esac
   18104       fi
   18105       hardcode_libdir_flag_spec='-R$libdir'
   18106       hardcode_shlibpath_var=no
   18107       case $host_os in
   18108       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18109       *)
   18110 	# The compiler driver will combine and reorder linker options,
   18111 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   18112 	# but is careful enough not to reorder.
   18113 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18114 	if test yes = "$GCC"; then
   18115 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   18116 	else
   18117 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   18118 	fi
   18119 	;;
   18120       esac
   18121       link_all_deplibs=yes
   18122       ;;
   18123 
   18124     sunos4*)
   18125       if test sequent = "$host_vendor"; then
   18126 	# Use $CC to link under sequent, because it throws in some extra .o
   18127 	# files that make .init and .fini sections work.
   18128 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18129       else
   18130 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18131       fi
   18132       hardcode_libdir_flag_spec='-L$libdir'
   18133       hardcode_direct=yes
   18134       hardcode_minus_L=yes
   18135       hardcode_shlibpath_var=no
   18136       ;;
   18137 
   18138     sysv4)
   18139       case $host_vendor in
   18140 	sni)
   18141 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18142 	  hardcode_direct=yes # is this really true???
   18143 	;;
   18144 	siemens)
   18145 	  ## LD is ld it makes a PLAMLIB
   18146 	  ## CC just makes a GrossModule.
   18147 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18148 	  reload_cmds='$CC -r -o $output$reload_objs'
   18149 	  hardcode_direct=no
   18150         ;;
   18151 	motorola)
   18152 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18153 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   18154 	;;
   18155       esac
   18156       runpath_var='LD_RUN_PATH'
   18157       hardcode_shlibpath_var=no
   18158       ;;
   18159 
   18160     sysv4.3*)
   18161       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18162       hardcode_shlibpath_var=no
   18163       export_dynamic_flag_spec='-Bexport'
   18164       ;;
   18165 
   18166     sysv4*MP*)
   18167       if test -d /usr/nec; then
   18168 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18169 	hardcode_shlibpath_var=no
   18170 	runpath_var=LD_RUN_PATH
   18171 	hardcode_runpath_var=yes
   18172 	ld_shlibs=yes
   18173       fi
   18174       ;;
   18175 
   18176     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18177       no_undefined_flag='$wl-z,text'
   18178       archive_cmds_need_lc=no
   18179       hardcode_shlibpath_var=no
   18180       runpath_var='LD_RUN_PATH'
   18181 
   18182       if test yes = "$GCC"; then
   18183 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18184 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18185       else
   18186 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18187 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18188       fi
   18189       ;;
   18190 
   18191     sysv5* | sco3.2v5* | sco5v6*)
   18192       # Note: We CANNOT use -z defs as we might desire, because we do not
   18193       # link with -lc, and that would cause any symbols used from libc to
   18194       # always be unresolved, which means just about no library would
   18195       # ever link correctly.  If we're not using GNU ld we use -z text
   18196       # though, which does catch some bad symbols but isn't as heavy-handed
   18197       # as -z defs.
   18198       no_undefined_flag='$wl-z,text'
   18199       allow_undefined_flag='$wl-z,nodefs'
   18200       archive_cmds_need_lc=no
   18201       hardcode_shlibpath_var=no
   18202       hardcode_libdir_flag_spec='$wl-R,$libdir'
   18203       hardcode_libdir_separator=':'
   18204       link_all_deplibs=yes
   18205       export_dynamic_flag_spec='$wl-Bexport'
   18206       runpath_var='LD_RUN_PATH'
   18207 
   18208       if test yes = "$GCC"; then
   18209 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18210 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18211       else
   18212 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18213 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18214       fi
   18215       ;;
   18216 
   18217     uts4*)
   18218       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18219       hardcode_libdir_flag_spec='-L$libdir'
   18220       hardcode_shlibpath_var=no
   18221       ;;
   18222 
   18223     *)
   18224       ld_shlibs=no
   18225       ;;
   18226     esac
   18227 
   18228     if test sni = "$host_vendor"; then
   18229       case $host in
   18230       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   18231 	export_dynamic_flag_spec='$wl-Blargedynsym'
   18232 	;;
   18233       esac
   18234     fi
   18235   fi
   18236 
   18237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   18238 printf "%s\n" "$ld_shlibs" >&6; }
   18239 test no = "$ld_shlibs" && can_build_shared=no
   18240 
   18241 with_gnu_ld=$with_gnu_ld
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 #
   18258 # Do we need to explicitly link libc?
   18259 #
   18260 case "x$archive_cmds_need_lc" in
   18261 x|xyes)
   18262   # Assume -lc should be added
   18263   archive_cmds_need_lc=yes
   18264 
   18265   if test yes,yes = "$GCC,$enable_shared"; then
   18266     case $archive_cmds in
   18267     *'~'*)
   18268       # FIXME: we may have to deal with multi-command sequences.
   18269       ;;
   18270     '$CC '*)
   18271       # Test whether the compiler implicitly links with -lc since on some
   18272       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18273       # to ld, don't add -lc before -lgcc.
   18274       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   18275 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   18276 if test ${lt_cv_archive_cmds_need_lc+y}
   18277 then :
   18278   printf %s "(cached) " >&6
   18279 else case e in #(
   18280   e) $RM conftest*
   18281 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18282 
   18283 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   18284   (eval $ac_compile) 2>&5
   18285   ac_status=$?
   18286   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18287   test $ac_status = 0; } 2>conftest.err; then
   18288 	  soname=conftest
   18289 	  lib=conftest
   18290 	  libobjs=conftest.$ac_objext
   18291 	  deplibs=
   18292 	  wl=$lt_prog_compiler_wl
   18293 	  pic_flag=$lt_prog_compiler_pic
   18294 	  compiler_flags=-v
   18295 	  linker_flags=-v
   18296 	  verstring=
   18297 	  output_objdir=.
   18298 	  libname=conftest
   18299 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   18300 	  allow_undefined_flag=
   18301 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   18302   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18303   ac_status=$?
   18304   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18305   test $ac_status = 0; }
   18306 	  then
   18307 	    lt_cv_archive_cmds_need_lc=no
   18308 	  else
   18309 	    lt_cv_archive_cmds_need_lc=yes
   18310 	  fi
   18311 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   18312 	else
   18313 	  cat conftest.err 1>&5
   18314 	fi
   18315 	$RM conftest*
   18316 	 ;;
   18317 esac
   18318 fi
   18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   18320 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   18321       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   18322       ;;
   18323     esac
   18324   fi
   18325   ;;
   18326 esac
   18327 
   18328 
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 
   18437 
   18438 
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18480 printf %s "checking dynamic linker characteristics... " >&6; }
   18481 
   18482 if test yes = "$GCC"; then
   18483   case $host_os in
   18484     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18485     *) lt_awk_arg='/^libraries:/' ;;
   18486   esac
   18487   case $host_os in
   18488     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18489     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18490   esac
   18491   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18492   case $lt_search_path_spec in
   18493   *\;*)
   18494     # if the path contains ";" then we assume it to be the separator
   18495     # otherwise default to the standard path separator (i.e. ":") - it is
   18496     # assumed that no part of a normal pathname contains ";" but that should
   18497     # okay in the real world where ";" in dirpaths is itself problematic.
   18498     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18499     ;;
   18500   *)
   18501     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18502     ;;
   18503   esac
   18504   # Ok, now we have the path, separated by spaces, we can step through it
   18505   # and add multilib dir if necessary...
   18506   lt_tmp_lt_search_path_spec=
   18507   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18508   # ...but if some path component already ends with the multilib dir we assume
   18509   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18510   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18511   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18512     lt_multi_os_dir=
   18513     ;;
   18514   esac
   18515   for lt_sys_path in $lt_search_path_spec; do
   18516     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18517       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18518     elif test -n "$lt_multi_os_dir"; then
   18519       test -d "$lt_sys_path" && \
   18520 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18521     fi
   18522   done
   18523   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18524 BEGIN {RS = " "; FS = "/|\n";} {
   18525   lt_foo = "";
   18526   lt_count = 0;
   18527   for (lt_i = NF; lt_i > 0; lt_i--) {
   18528     if ($lt_i != "" && $lt_i != ".") {
   18529       if ($lt_i == "..") {
   18530         lt_count++;
   18531       } else {
   18532         if (lt_count == 0) {
   18533           lt_foo = "/" $lt_i lt_foo;
   18534         } else {
   18535           lt_count--;
   18536         }
   18537       }
   18538     }
   18539   }
   18540   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18541   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18542 }'`
   18543   # AWK program above erroneously prepends '/' to C:/dos/paths
   18544   # for these hosts.
   18545   case $host_os in
   18546     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18547       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18548   esac
   18549   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18550 else
   18551   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18552 fi
   18553 library_names_spec=
   18554 libname_spec='lib$name'
   18555 soname_spec=
   18556 shrext_cmds=.so
   18557 postinstall_cmds=
   18558 postuninstall_cmds=
   18559 finish_cmds=
   18560 finish_eval=
   18561 shlibpath_var=
   18562 shlibpath_overrides_runpath=unknown
   18563 version_type=none
   18564 dynamic_linker="$host_os ld.so"
   18565 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18566 need_lib_prefix=unknown
   18567 hardcode_into_libs=no
   18568 
   18569 # when you set need_version to no, make sure it does not cause -set_version
   18570 # flags to be left without arguments
   18571 need_version=unknown
   18572 
   18573 
   18574 
   18575 case $host_os in
   18576 aix3*)
   18577   version_type=linux # correct to gnu/linux during the next big refactor
   18578   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18579   shlibpath_var=LIBPATH
   18580 
   18581   # AIX 3 has no versioning support, so we append a major version to the name.
   18582   soname_spec='$libname$release$shared_ext$major'
   18583   ;;
   18584 
   18585 aix[4-9]*)
   18586   version_type=linux # correct to gnu/linux during the next big refactor
   18587   need_lib_prefix=no
   18588   need_version=no
   18589   hardcode_into_libs=yes
   18590   if test ia64 = "$host_cpu"; then
   18591     # AIX 5 supports IA64
   18592     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18593     shlibpath_var=LD_LIBRARY_PATH
   18594   else
   18595     # With GCC up to 2.95.x, collect2 would create an import file
   18596     # for dependence libraries.  The import file would start with
   18597     # the line '#! .'.  This would cause the generated library to
   18598     # depend on '.', always an invalid library.  This was fixed in
   18599     # development snapshots of GCC prior to 3.0.
   18600     case $host_os in
   18601       aix4 | aix4.[01] | aix4.[01].*)
   18602       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18603 	   echo ' yes '
   18604 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18605 	:
   18606       else
   18607 	can_build_shared=no
   18608       fi
   18609       ;;
   18610     esac
   18611     # Using Import Files as archive members, it is possible to support
   18612     # filename-based versioning of shared library archives on AIX. While
   18613     # this would work for both with and without runtime linking, it will
   18614     # prevent static linking of such archives. So we do filename-based
   18615     # shared library versioning with .so extension only, which is used
   18616     # when both runtime linking and shared linking is enabled.
   18617     # Unfortunately, runtime linking may impact performance, so we do
   18618     # not want this to be the default eventually. Also, we use the
   18619     # versioned .so libs for executables only if there is the -brtl
   18620     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18621     # To allow for filename-based versioning support, we need to create
   18622     # libNAME.so.V as an archive file, containing:
   18623     # *) an Import File, referring to the versioned filename of the
   18624     #    archive as well as the shared archive member, telling the
   18625     #    bitwidth (32 or 64) of that shared object, and providing the
   18626     #    list of exported symbols of that shared object, eventually
   18627     #    decorated with the 'weak' keyword
   18628     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18629     #    it being seen by the linker.
   18630     # At run time we better use the real file rather than another symlink,
   18631     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18632 
   18633     case $with_aix_soname,$aix_use_runtimelinking in
   18634     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18635     # soname into executable. Probably we can add versioning support to
   18636     # collect2, so additional links can be useful in future.
   18637     aix,yes) # traditional libtool
   18638       dynamic_linker='AIX unversionable lib.so'
   18639       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18640       # instead of lib<name>.a to let people know that these are not
   18641       # typical AIX shared libraries.
   18642       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18643       ;;
   18644     aix,no) # traditional AIX only
   18645       dynamic_linker='AIX lib.a(lib.so.V)'
   18646       # We preserve .a as extension for shared libraries through AIX4.2
   18647       # and later when we are not doing run time linking.
   18648       library_names_spec='$libname$release.a $libname.a'
   18649       soname_spec='$libname$release$shared_ext$major'
   18650       ;;
   18651     svr4,*) # full svr4 only
   18652       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18653       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18654       # We do not specify a path in Import Files, so LIBPATH fires.
   18655       shlibpath_overrides_runpath=yes
   18656       ;;
   18657     *,yes) # both, prefer svr4
   18658       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18659       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18660       # unpreferred sharedlib libNAME.a needs extra handling
   18661       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"'
   18662       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"'
   18663       # We do not specify a path in Import Files, so LIBPATH fires.
   18664       shlibpath_overrides_runpath=yes
   18665       ;;
   18666     *,no) # both, prefer aix
   18667       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18668       library_names_spec='$libname$release.a $libname.a'
   18669       soname_spec='$libname$release$shared_ext$major'
   18670       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18671       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)'
   18672       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"'
   18673       ;;
   18674     esac
   18675     shlibpath_var=LIBPATH
   18676   fi
   18677   ;;
   18678 
   18679 amigaos*)
   18680   case $host_cpu in
   18681   powerpc)
   18682     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18683     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18684     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18685     ;;
   18686   m68k)
   18687     library_names_spec='$libname.ixlibrary $libname.a'
   18688     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18689     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'
   18690     ;;
   18691   esac
   18692   ;;
   18693 
   18694 beos*)
   18695   library_names_spec='$libname$shared_ext'
   18696   dynamic_linker="$host_os ld.so"
   18697   shlibpath_var=LIBRARY_PATH
   18698   ;;
   18699 
   18700 bsdi[45]*)
   18701   version_type=linux # correct to gnu/linux during the next big refactor
   18702   need_version=no
   18703   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18704   soname_spec='$libname$release$shared_ext$major'
   18705   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18706   shlibpath_var=LD_LIBRARY_PATH
   18707   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18708   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18709   # the default ld.so.conf also contains /usr/contrib/lib and
   18710   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18711   # libtool to hard-code these into programs
   18712   ;;
   18713 
   18714 cygwin* | mingw* | pw32* | cegcc*)
   18715   version_type=windows
   18716   shrext_cmds=.dll
   18717   need_version=no
   18718   need_lib_prefix=no
   18719 
   18720   case $GCC,$cc_basename in
   18721   yes,*)
   18722     # gcc
   18723     library_names_spec='$libname.dll.a'
   18724     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18725     postinstall_cmds='base_file=`basename \$file`~
   18726       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18727       dldir=$destdir/`dirname \$dlpath`~
   18728       test -d \$dldir || mkdir -p \$dldir~
   18729       $install_prog $dir/$dlname \$dldir/$dlname~
   18730       chmod a+x \$dldir/$dlname~
   18731       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18732         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18733       fi'
   18734     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18735       dlpath=$dir/\$dldll~
   18736        $RM \$dlpath'
   18737     shlibpath_overrides_runpath=yes
   18738 
   18739     case $host_os in
   18740     cygwin*)
   18741       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18742       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18743 
   18744       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18745       ;;
   18746     mingw* | cegcc*)
   18747       # MinGW DLLs use traditional 'lib' prefix
   18748       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18749       ;;
   18750     pw32*)
   18751       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18752       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18753       ;;
   18754     esac
   18755     dynamic_linker='Win32 ld.exe'
   18756     ;;
   18757 
   18758   *,cl* | *,icl*)
   18759     # Native MSVC or ICC
   18760     libname_spec='$name'
   18761     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18762     library_names_spec='$libname.dll.lib'
   18763 
   18764     case $build_os in
   18765     mingw*)
   18766       sys_lib_search_path_spec=
   18767       lt_save_ifs=$IFS
   18768       IFS=';'
   18769       for lt_path in $LIB
   18770       do
   18771         IFS=$lt_save_ifs
   18772         # Let DOS variable expansion print the short 8.3 style file name.
   18773         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18774         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18775       done
   18776       IFS=$lt_save_ifs
   18777       # Convert to MSYS style.
   18778       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18779       ;;
   18780     cygwin*)
   18781       # Convert to unix form, then to dos form, then back to unix form
   18782       # but this time dos style (no spaces!) so that the unix form looks
   18783       # like /cygdrive/c/PROGRA~1:/cygdr...
   18784       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18785       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18786       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18787       ;;
   18788     *)
   18789       sys_lib_search_path_spec=$LIB
   18790       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18791         # It is most probably a Windows format PATH.
   18792         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18793       else
   18794         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18795       fi
   18796       # FIXME: find the short name or the path components, as spaces are
   18797       # common. (e.g. "Program Files" -> "PROGRA~1")
   18798       ;;
   18799     esac
   18800 
   18801     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18802     postinstall_cmds='base_file=`basename \$file`~
   18803       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18804       dldir=$destdir/`dirname \$dlpath`~
   18805       test -d \$dldir || mkdir -p \$dldir~
   18806       $install_prog $dir/$dlname \$dldir/$dlname'
   18807     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18808       dlpath=$dir/\$dldll~
   18809        $RM \$dlpath'
   18810     shlibpath_overrides_runpath=yes
   18811     dynamic_linker='Win32 link.exe'
   18812     ;;
   18813 
   18814   *)
   18815     # Assume MSVC and ICC wrapper
   18816     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18817     dynamic_linker='Win32 ld.exe'
   18818     ;;
   18819   esac
   18820   # FIXME: first we should search . and the directory the executable is in
   18821   shlibpath_var=PATH
   18822   ;;
   18823 
   18824 darwin* | rhapsody*)
   18825   dynamic_linker="$host_os dyld"
   18826   version_type=darwin
   18827   need_lib_prefix=no
   18828   need_version=no
   18829   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18830   soname_spec='$libname$release$major$shared_ext'
   18831   shlibpath_overrides_runpath=yes
   18832   shlibpath_var=DYLD_LIBRARY_PATH
   18833   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18834 
   18835   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18836   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18837   ;;
   18838 
   18839 dgux*)
   18840   version_type=linux # correct to gnu/linux during the next big refactor
   18841   need_lib_prefix=no
   18842   need_version=no
   18843   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18844   soname_spec='$libname$release$shared_ext$major'
   18845   shlibpath_var=LD_LIBRARY_PATH
   18846   ;;
   18847 
   18848 freebsd* | dragonfly* | midnightbsd*)
   18849   # DragonFly does not have aout.  When/if they implement a new
   18850   # versioning mechanism, adjust this.
   18851   if test -x /usr/bin/objformat; then
   18852     objformat=`/usr/bin/objformat`
   18853   else
   18854     case $host_os in
   18855     freebsd[23].*) objformat=aout ;;
   18856     *) objformat=elf ;;
   18857     esac
   18858   fi
   18859   version_type=freebsd-$objformat
   18860   case $version_type in
   18861     freebsd-elf*)
   18862       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18863       soname_spec='$libname$release$shared_ext$major'
   18864       need_version=no
   18865       need_lib_prefix=no
   18866       ;;
   18867     freebsd-*)
   18868       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18869       need_version=yes
   18870       ;;
   18871   esac
   18872   shlibpath_var=LD_LIBRARY_PATH
   18873   case $host_os in
   18874   freebsd2.*)
   18875     shlibpath_overrides_runpath=yes
   18876     ;;
   18877   freebsd3.[01]* | freebsdelf3.[01]*)
   18878     shlibpath_overrides_runpath=yes
   18879     hardcode_into_libs=yes
   18880     ;;
   18881   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18882   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18883     shlibpath_overrides_runpath=no
   18884     hardcode_into_libs=yes
   18885     ;;
   18886   *) # from 4.6 on, and DragonFly
   18887     shlibpath_overrides_runpath=yes
   18888     hardcode_into_libs=yes
   18889     ;;
   18890   esac
   18891   ;;
   18892 
   18893 haiku*)
   18894   version_type=linux # correct to gnu/linux during the next big refactor
   18895   need_lib_prefix=no
   18896   need_version=no
   18897   dynamic_linker="$host_os runtime_loader"
   18898   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18899   soname_spec='$libname$release$shared_ext$major'
   18900   shlibpath_var=LIBRARY_PATH
   18901   shlibpath_overrides_runpath=no
   18902   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18903   hardcode_into_libs=yes
   18904   ;;
   18905 
   18906 hpux9* | hpux10* | hpux11*)
   18907   # Give a soname corresponding to the major version so that dld.sl refuses to
   18908   # link against other versions.
   18909   version_type=sunos
   18910   need_lib_prefix=no
   18911   need_version=no
   18912   case $host_cpu in
   18913   ia64*)
   18914     shrext_cmds='.so'
   18915     hardcode_into_libs=yes
   18916     dynamic_linker="$host_os dld.so"
   18917     shlibpath_var=LD_LIBRARY_PATH
   18918     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18919     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18920     soname_spec='$libname$release$shared_ext$major'
   18921     if test 32 = "$HPUX_IA64_MODE"; then
   18922       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18923       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18924     else
   18925       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18926       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18927     fi
   18928     ;;
   18929   hppa*64*)
   18930     shrext_cmds='.sl'
   18931     hardcode_into_libs=yes
   18932     dynamic_linker="$host_os dld.sl"
   18933     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18934     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18935     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18936     soname_spec='$libname$release$shared_ext$major'
   18937     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18938     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18939     ;;
   18940   *)
   18941     shrext_cmds='.sl'
   18942     dynamic_linker="$host_os dld.sl"
   18943     shlibpath_var=SHLIB_PATH
   18944     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18945     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18946     soname_spec='$libname$release$shared_ext$major'
   18947     ;;
   18948   esac
   18949   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18950   postinstall_cmds='chmod 555 $lib'
   18951   # or fails outright, so override atomically:
   18952   install_override_mode=555
   18953   ;;
   18954 
   18955 interix[3-9]*)
   18956   version_type=linux # correct to gnu/linux during the next big refactor
   18957   need_lib_prefix=no
   18958   need_version=no
   18959   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18960   soname_spec='$libname$release$shared_ext$major'
   18961   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18962   shlibpath_var=LD_LIBRARY_PATH
   18963   shlibpath_overrides_runpath=no
   18964   hardcode_into_libs=yes
   18965   ;;
   18966 
   18967 irix5* | irix6* | nonstopux*)
   18968   case $host_os in
   18969     nonstopux*) version_type=nonstopux ;;
   18970     *)
   18971 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18972 		version_type=linux # correct to gnu/linux during the next big refactor
   18973 	else
   18974 		version_type=irix
   18975 	fi ;;
   18976   esac
   18977   need_lib_prefix=no
   18978   need_version=no
   18979   soname_spec='$libname$release$shared_ext$major'
   18980   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18981   case $host_os in
   18982   irix5* | nonstopux*)
   18983     libsuff= shlibsuff=
   18984     ;;
   18985   *)
   18986     case $LD in # libtool.m4 will add one of these switches to LD
   18987     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18988       libsuff= shlibsuff= libmagic=32-bit;;
   18989     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18990       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18991     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18992       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18993     *) libsuff= shlibsuff= libmagic=never-match;;
   18994     esac
   18995     ;;
   18996   esac
   18997   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18998   shlibpath_overrides_runpath=no
   18999   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   19000   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   19001   hardcode_into_libs=yes
   19002   ;;
   19003 
   19004 # No shared lib support for Linux oldld, aout, or coff.
   19005 linux*oldld* | linux*aout* | linux*coff*)
   19006   dynamic_linker=no
   19007   ;;
   19008 
   19009 linux*android*)
   19010   version_type=none # Android doesn't support versioned libraries.
   19011   need_lib_prefix=no
   19012   need_version=no
   19013   library_names_spec='$libname$release$shared_ext'
   19014   soname_spec='$libname$release$shared_ext'
   19015   finish_cmds=
   19016   shlibpath_var=LD_LIBRARY_PATH
   19017   shlibpath_overrides_runpath=yes
   19018 
   19019   # This implies no fast_install, which is unacceptable.
   19020   # Some rework will be needed to allow for fast_install
   19021   # before this can be enabled.
   19022   hardcode_into_libs=yes
   19023 
   19024   dynamic_linker='Android linker'
   19025   # Don't embed -rpath directories since the linker doesn't support them.
   19026   hardcode_libdir_flag_spec='-L$libdir'
   19027   ;;
   19028 
   19029 # This must be glibc/ELF.
   19030 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19031   version_type=linux # correct to gnu/linux during the next big refactor
   19032   need_lib_prefix=no
   19033   need_version=no
   19034   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19035   soname_spec='$libname$release$shared_ext$major'
   19036   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   19037   shlibpath_var=LD_LIBRARY_PATH
   19038   shlibpath_overrides_runpath=no
   19039 
   19040   # Some binutils ld are patched to set DT_RUNPATH
   19041   if test ${lt_cv_shlibpath_overrides_runpath+y}
   19042 then :
   19043   printf %s "(cached) " >&6
   19044 else case e in #(
   19045   e) lt_cv_shlibpath_overrides_runpath=no
   19046     save_LDFLAGS=$LDFLAGS
   19047     save_libdir=$libdir
   19048     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   19049 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   19050     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19051 /* end confdefs.h.  */
   19052 
   19053 int
   19054 main (void)
   19055 {
   19056 
   19057   ;
   19058   return 0;
   19059 }
   19060 _ACEOF
   19061 if ac_fn_c_try_link "$LINENO"
   19062 then :
   19063   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   19064 then :
   19065   lt_cv_shlibpath_overrides_runpath=yes
   19066 fi
   19067 fi
   19068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19069     conftest$ac_exeext conftest.$ac_ext
   19070     LDFLAGS=$save_LDFLAGS
   19071     libdir=$save_libdir
   19072      ;;
   19073 esac
   19074 fi
   19075 
   19076   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   19077 
   19078   # This implies no fast_install, which is unacceptable.
   19079   # Some rework will be needed to allow for fast_install
   19080   # before this can be enabled.
   19081   hardcode_into_libs=yes
   19082 
   19083   # Ideally, we could use ldconfig to report *all* directores which are
   19084   # searched for libraries, however this is still not possible.  Aside from not
   19085   # being certain /sbin/ldconfig is available, command
   19086   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   19087   # even though it is searched at run-time.  Try to do the best guess by
   19088   # appending ld.so.conf contents (and includes) to the search path.
   19089   if test -f /etc/ld.so.conf; then
   19090     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' ' '`
   19091     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   19092   fi
   19093 
   19094   # We used to test for /lib/ld.so.1 and disable shared libraries on
   19095   # powerpc, because MkLinux only supported shared libraries with the
   19096   # GNU dynamic linker.  Since this was broken with cross compilers,
   19097   # most powerpc-linux boxes support dynamic linking these days and
   19098   # people can always --disable-shared, the test was removed, and we
   19099   # assume the GNU/Linux dynamic linker is in use.
   19100   dynamic_linker='GNU/Linux ld.so'
   19101   ;;
   19102 
   19103 netbsd*)
   19104   version_type=sunos
   19105   need_lib_prefix=no
   19106   need_version=no
   19107   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   19108     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19109     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19110     dynamic_linker='NetBSD (a.out) ld.so'
   19111   else
   19112     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19113     soname_spec='$libname$release$shared_ext$major'
   19114     dynamic_linker='NetBSD ld.elf_so'
   19115   fi
   19116   shlibpath_var=LD_LIBRARY_PATH
   19117   shlibpath_overrides_runpath=yes
   19118   hardcode_into_libs=yes
   19119   ;;
   19120 
   19121 newsos6)
   19122   version_type=linux # correct to gnu/linux during the next big refactor
   19123   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19124   shlibpath_var=LD_LIBRARY_PATH
   19125   shlibpath_overrides_runpath=yes
   19126   ;;
   19127 
   19128 *nto* | *qnx*)
   19129   version_type=qnx
   19130   need_lib_prefix=no
   19131   need_version=no
   19132   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19133   soname_spec='$libname$release$shared_ext$major'
   19134   shlibpath_var=LD_LIBRARY_PATH
   19135   shlibpath_overrides_runpath=no
   19136   hardcode_into_libs=yes
   19137   dynamic_linker='ldqnx.so'
   19138   ;;
   19139 
   19140 openbsd* | bitrig*)
   19141   version_type=sunos
   19142   sys_lib_dlsearch_path_spec=/usr/lib
   19143   need_lib_prefix=no
   19144   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   19145     need_version=no
   19146   else
   19147     need_version=yes
   19148   fi
   19149   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19150   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19151   shlibpath_var=LD_LIBRARY_PATH
   19152   shlibpath_overrides_runpath=yes
   19153   ;;
   19154 
   19155 os2*)
   19156   libname_spec='$name'
   19157   version_type=windows
   19158   shrext_cmds=.dll
   19159   need_version=no
   19160   need_lib_prefix=no
   19161   # OS/2 can only load a DLL with a base name of 8 characters or less.
   19162   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   19163     v=$($ECHO $release$versuffix | tr -d .-);
   19164     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   19165     $ECHO $n$v`$shared_ext'
   19166   library_names_spec='${libname}_dll.$libext'
   19167   dynamic_linker='OS/2 ld.exe'
   19168   shlibpath_var=BEGINLIBPATH
   19169   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   19170   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19171   postinstall_cmds='base_file=`basename \$file`~
   19172     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   19173     dldir=$destdir/`dirname \$dlpath`~
   19174     test -d \$dldir || mkdir -p \$dldir~
   19175     $install_prog $dir/$dlname \$dldir/$dlname~
   19176     chmod a+x \$dldir/$dlname~
   19177     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   19178       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   19179     fi'
   19180   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   19181     dlpath=$dir/\$dldll~
   19182     $RM \$dlpath'
   19183   ;;
   19184 
   19185 osf3* | osf4* | osf5*)
   19186   version_type=osf
   19187   need_lib_prefix=no
   19188   need_version=no
   19189   soname_spec='$libname$release$shared_ext$major'
   19190   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19191   shlibpath_var=LD_LIBRARY_PATH
   19192   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   19193   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19194   ;;
   19195 
   19196 rdos*)
   19197   dynamic_linker=no
   19198   ;;
   19199 
   19200 solaris*)
   19201   version_type=linux # correct to gnu/linux during the next big refactor
   19202   need_lib_prefix=no
   19203   need_version=no
   19204   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19205   soname_spec='$libname$release$shared_ext$major'
   19206   shlibpath_var=LD_LIBRARY_PATH
   19207   shlibpath_overrides_runpath=yes
   19208   hardcode_into_libs=yes
   19209   # ldd complains unless libraries are executable
   19210   postinstall_cmds='chmod +x $lib'
   19211   ;;
   19212 
   19213 sunos4*)
   19214   version_type=sunos
   19215   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19216   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   19217   shlibpath_var=LD_LIBRARY_PATH
   19218   shlibpath_overrides_runpath=yes
   19219   if test yes = "$with_gnu_ld"; then
   19220     need_lib_prefix=no
   19221   fi
   19222   need_version=yes
   19223   ;;
   19224 
   19225 sysv4 | sysv4.3*)
   19226   version_type=linux # correct to gnu/linux during the next big refactor
   19227   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19228   soname_spec='$libname$release$shared_ext$major'
   19229   shlibpath_var=LD_LIBRARY_PATH
   19230   case $host_vendor in
   19231     sni)
   19232       shlibpath_overrides_runpath=no
   19233       need_lib_prefix=no
   19234       runpath_var=LD_RUN_PATH
   19235       ;;
   19236     siemens)
   19237       need_lib_prefix=no
   19238       ;;
   19239     motorola)
   19240       need_lib_prefix=no
   19241       need_version=no
   19242       shlibpath_overrides_runpath=no
   19243       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19244       ;;
   19245   esac
   19246   ;;
   19247 
   19248 sysv4*MP*)
   19249   if test -d /usr/nec; then
   19250     version_type=linux # correct to gnu/linux during the next big refactor
   19251     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   19252     soname_spec='$libname$shared_ext.$major'
   19253     shlibpath_var=LD_LIBRARY_PATH
   19254   fi
   19255   ;;
   19256 
   19257 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19258   version_type=sco
   19259   need_lib_prefix=no
   19260   need_version=no
   19261   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   19262   soname_spec='$libname$release$shared_ext$major'
   19263   shlibpath_var=LD_LIBRARY_PATH
   19264   shlibpath_overrides_runpath=yes
   19265   hardcode_into_libs=yes
   19266   if test yes = "$with_gnu_ld"; then
   19267     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19268   else
   19269     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19270     case $host_os in
   19271       sco3.2v5*)
   19272         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19273 	;;
   19274     esac
   19275   fi
   19276   sys_lib_dlsearch_path_spec='/usr/lib'
   19277   ;;
   19278 
   19279 tpf*)
   19280   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   19281   version_type=linux # correct to gnu/linux during the next big refactor
   19282   need_lib_prefix=no
   19283   need_version=no
   19284   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19285   shlibpath_var=LD_LIBRARY_PATH
   19286   shlibpath_overrides_runpath=no
   19287   hardcode_into_libs=yes
   19288   ;;
   19289 
   19290 uts4*)
   19291   version_type=linux # correct to gnu/linux during the next big refactor
   19292   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19293   soname_spec='$libname$release$shared_ext$major'
   19294   shlibpath_var=LD_LIBRARY_PATH
   19295   ;;
   19296 
   19297 *)
   19298   dynamic_linker=no
   19299   ;;
   19300 esac
   19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   19302 printf "%s\n" "$dynamic_linker" >&6; }
   19303 test no = "$dynamic_linker" && can_build_shared=no
   19304 
   19305 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19306 if test yes = "$GCC"; then
   19307   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19308 fi
   19309 
   19310 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   19311   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   19312 fi
   19313 
   19314 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   19315   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   19316 fi
   19317 
   19318 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   19319 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   19320 
   19321 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   19322 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   19323 
   19324 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   19325 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   19326 
   19327 
   19328 
   19329 
   19330 
   19331 
   19332 
   19333 
   19334 
   19335 
   19336 
   19337 
   19338 
   19339 
   19340 
   19341 
   19342 
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 
   19360 
   19361 
   19362 
   19363 
   19364 
   19365 
   19366 
   19367 
   19368 
   19369 
   19370 
   19371 
   19372 
   19373 
   19374 
   19375 
   19376 
   19377 
   19378 
   19379 
   19380 
   19381 
   19382 
   19383 
   19384 
   19385 
   19386 
   19387 
   19388 
   19389 
   19390 
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 
   19402 
   19403 
   19404 
   19405 
   19406 
   19407 
   19408 
   19409 
   19410 
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 
   19422 
   19423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19424 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19425 hardcode_action=
   19426 if test -n "$hardcode_libdir_flag_spec" ||
   19427    test -n "$runpath_var" ||
   19428    test yes = "$hardcode_automatic"; then
   19429 
   19430   # We can hardcode non-existent directories.
   19431   if test no != "$hardcode_direct" &&
   19432      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19433      # have to relink, otherwise we might link with an installed library
   19434      # when we should be linking with a yet-to-be-installed one
   19435      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19436      test no != "$hardcode_minus_L"; then
   19437     # Linking always hardcodes the temporary library directory.
   19438     hardcode_action=relink
   19439   else
   19440     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19441     hardcode_action=immediate
   19442   fi
   19443 else
   19444   # We cannot hardcode anything, or else we can only hardcode existing
   19445   # directories.
   19446   hardcode_action=unsupported
   19447 fi
   19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19449 printf "%s\n" "$hardcode_action" >&6; }
   19450 
   19451 if test relink = "$hardcode_action" ||
   19452    test yes = "$inherit_rpath"; then
   19453   # Fast installation is not supported
   19454   enable_fast_install=no
   19455 elif test yes = "$shlibpath_overrides_runpath" ||
   19456      test no = "$enable_shared"; then
   19457   # Fast installation is not necessary
   19458   enable_fast_install=needless
   19459 fi
   19460 
   19461 
   19462 
   19463 
   19464 
   19465 
   19466   if test yes != "$enable_dlopen"; then
   19467   enable_dlopen=unknown
   19468   enable_dlopen_self=unknown
   19469   enable_dlopen_self_static=unknown
   19470 else
   19471   lt_cv_dlopen=no
   19472   lt_cv_dlopen_libs=
   19473 
   19474   case $host_os in
   19475   beos*)
   19476     lt_cv_dlopen=load_add_on
   19477     lt_cv_dlopen_libs=
   19478     lt_cv_dlopen_self=yes
   19479     ;;
   19480 
   19481   mingw* | pw32* | cegcc*)
   19482     lt_cv_dlopen=LoadLibrary
   19483     lt_cv_dlopen_libs=
   19484     ;;
   19485 
   19486   cygwin*)
   19487     lt_cv_dlopen=dlopen
   19488     lt_cv_dlopen_libs=
   19489     ;;
   19490 
   19491   darwin*)
   19492     # if libdl is installed we need to link against it
   19493     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19494 printf %s "checking for dlopen in -ldl... " >&6; }
   19495 if test ${ac_cv_lib_dl_dlopen+y}
   19496 then :
   19497   printf %s "(cached) " >&6
   19498 else case e in #(
   19499   e) ac_check_lib_save_LIBS=$LIBS
   19500 LIBS="-ldl  $LIBS"
   19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19502 /* end confdefs.h.  */
   19503 
   19504 /* Override any GCC internal prototype to avoid an error.
   19505    Use char because int might match the return type of a GCC
   19506    builtin and then its argument prototype would still apply.
   19507    The 'extern "C"' is for builds by C++ compilers;
   19508    although this is not generally supported in C code supporting it here
   19509    has little cost and some practical benefit (sr 110532).  */
   19510 #ifdef __cplusplus
   19511 extern "C"
   19512 #endif
   19513 char dlopen (void);
   19514 int
   19515 main (void)
   19516 {
   19517 return dlopen ();
   19518   ;
   19519   return 0;
   19520 }
   19521 _ACEOF
   19522 if ac_fn_c_try_link "$LINENO"
   19523 then :
   19524   ac_cv_lib_dl_dlopen=yes
   19525 else case e in #(
   19526   e) ac_cv_lib_dl_dlopen=no ;;
   19527 esac
   19528 fi
   19529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19530     conftest$ac_exeext conftest.$ac_ext
   19531 LIBS=$ac_check_lib_save_LIBS ;;
   19532 esac
   19533 fi
   19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19535 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19536 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19537 then :
   19538   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19539 else case e in #(
   19540   e)
   19541     lt_cv_dlopen=dyld
   19542     lt_cv_dlopen_libs=
   19543     lt_cv_dlopen_self=yes
   19544      ;;
   19545 esac
   19546 fi
   19547 
   19548     ;;
   19549 
   19550   tpf*)
   19551     # Don't try to run any link tests for TPF.  We know it's impossible
   19552     # because TPF is a cross-compiler, and we know how we open DSOs.
   19553     lt_cv_dlopen=dlopen
   19554     lt_cv_dlopen_libs=
   19555     lt_cv_dlopen_self=no
   19556     ;;
   19557 
   19558   *)
   19559     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19560 if test "x$ac_cv_func_shl_load" = xyes
   19561 then :
   19562   lt_cv_dlopen=shl_load
   19563 else case e in #(
   19564   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19565 printf %s "checking for shl_load in -ldld... " >&6; }
   19566 if test ${ac_cv_lib_dld_shl_load+y}
   19567 then :
   19568   printf %s "(cached) " >&6
   19569 else case e in #(
   19570   e) ac_check_lib_save_LIBS=$LIBS
   19571 LIBS="-ldld  $LIBS"
   19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19573 /* end confdefs.h.  */
   19574 
   19575 /* Override any GCC internal prototype to avoid an error.
   19576    Use char because int might match the return type of a GCC
   19577    builtin and then its argument prototype would still apply.
   19578    The 'extern "C"' is for builds by C++ compilers;
   19579    although this is not generally supported in C code supporting it here
   19580    has little cost and some practical benefit (sr 110532).  */
   19581 #ifdef __cplusplus
   19582 extern "C"
   19583 #endif
   19584 char shl_load (void);
   19585 int
   19586 main (void)
   19587 {
   19588 return shl_load ();
   19589   ;
   19590   return 0;
   19591 }
   19592 _ACEOF
   19593 if ac_fn_c_try_link "$LINENO"
   19594 then :
   19595   ac_cv_lib_dld_shl_load=yes
   19596 else case e in #(
   19597   e) ac_cv_lib_dld_shl_load=no ;;
   19598 esac
   19599 fi
   19600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19601     conftest$ac_exeext conftest.$ac_ext
   19602 LIBS=$ac_check_lib_save_LIBS ;;
   19603 esac
   19604 fi
   19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19606 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19607 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19608 then :
   19609   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19610 else case e in #(
   19611   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19612 if test "x$ac_cv_func_dlopen" = xyes
   19613 then :
   19614   lt_cv_dlopen=dlopen
   19615 else case e in #(
   19616   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19617 printf %s "checking for dlopen in -ldl... " >&6; }
   19618 if test ${ac_cv_lib_dl_dlopen+y}
   19619 then :
   19620   printf %s "(cached) " >&6
   19621 else case e in #(
   19622   e) ac_check_lib_save_LIBS=$LIBS
   19623 LIBS="-ldl  $LIBS"
   19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19625 /* end confdefs.h.  */
   19626 
   19627 /* Override any GCC internal prototype to avoid an error.
   19628    Use char because int might match the return type of a GCC
   19629    builtin and then its argument prototype would still apply.
   19630    The 'extern "C"' is for builds by C++ compilers;
   19631    although this is not generally supported in C code supporting it here
   19632    has little cost and some practical benefit (sr 110532).  */
   19633 #ifdef __cplusplus
   19634 extern "C"
   19635 #endif
   19636 char dlopen (void);
   19637 int
   19638 main (void)
   19639 {
   19640 return dlopen ();
   19641   ;
   19642   return 0;
   19643 }
   19644 _ACEOF
   19645 if ac_fn_c_try_link "$LINENO"
   19646 then :
   19647   ac_cv_lib_dl_dlopen=yes
   19648 else case e in #(
   19649   e) ac_cv_lib_dl_dlopen=no ;;
   19650 esac
   19651 fi
   19652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19653     conftest$ac_exeext conftest.$ac_ext
   19654 LIBS=$ac_check_lib_save_LIBS ;;
   19655 esac
   19656 fi
   19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19658 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19659 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19660 then :
   19661   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19662 else case e in #(
   19663   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19664 printf %s "checking for dlopen in -lsvld... " >&6; }
   19665 if test ${ac_cv_lib_svld_dlopen+y}
   19666 then :
   19667   printf %s "(cached) " >&6
   19668 else case e in #(
   19669   e) ac_check_lib_save_LIBS=$LIBS
   19670 LIBS="-lsvld  $LIBS"
   19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19672 /* end confdefs.h.  */
   19673 
   19674 /* Override any GCC internal prototype to avoid an error.
   19675    Use char because int might match the return type of a GCC
   19676    builtin and then its argument prototype would still apply.
   19677    The 'extern "C"' is for builds by C++ compilers;
   19678    although this is not generally supported in C code supporting it here
   19679    has little cost and some practical benefit (sr 110532).  */
   19680 #ifdef __cplusplus
   19681 extern "C"
   19682 #endif
   19683 char dlopen (void);
   19684 int
   19685 main (void)
   19686 {
   19687 return dlopen ();
   19688   ;
   19689   return 0;
   19690 }
   19691 _ACEOF
   19692 if ac_fn_c_try_link "$LINENO"
   19693 then :
   19694   ac_cv_lib_svld_dlopen=yes
   19695 else case e in #(
   19696   e) ac_cv_lib_svld_dlopen=no ;;
   19697 esac
   19698 fi
   19699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19700     conftest$ac_exeext conftest.$ac_ext
   19701 LIBS=$ac_check_lib_save_LIBS ;;
   19702 esac
   19703 fi
   19704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19705 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19706 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19707 then :
   19708   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19709 else case e in #(
   19710   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19711 printf %s "checking for dld_link in -ldld... " >&6; }
   19712 if test ${ac_cv_lib_dld_dld_link+y}
   19713 then :
   19714   printf %s "(cached) " >&6
   19715 else case e in #(
   19716   e) ac_check_lib_save_LIBS=$LIBS
   19717 LIBS="-ldld  $LIBS"
   19718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19719 /* end confdefs.h.  */
   19720 
   19721 /* Override any GCC internal prototype to avoid an error.
   19722    Use char because int might match the return type of a GCC
   19723    builtin and then its argument prototype would still apply.
   19724    The 'extern "C"' is for builds by C++ compilers;
   19725    although this is not generally supported in C code supporting it here
   19726    has little cost and some practical benefit (sr 110532).  */
   19727 #ifdef __cplusplus
   19728 extern "C"
   19729 #endif
   19730 char dld_link (void);
   19731 int
   19732 main (void)
   19733 {
   19734 return dld_link ();
   19735   ;
   19736   return 0;
   19737 }
   19738 _ACEOF
   19739 if ac_fn_c_try_link "$LINENO"
   19740 then :
   19741   ac_cv_lib_dld_dld_link=yes
   19742 else case e in #(
   19743   e) ac_cv_lib_dld_dld_link=no ;;
   19744 esac
   19745 fi
   19746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19747     conftest$ac_exeext conftest.$ac_ext
   19748 LIBS=$ac_check_lib_save_LIBS ;;
   19749 esac
   19750 fi
   19751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19752 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19753 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19754 then :
   19755   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19756 fi
   19757 
   19758 	       ;;
   19759 esac
   19760 fi
   19761 
   19762 	     ;;
   19763 esac
   19764 fi
   19765 
   19766 	   ;;
   19767 esac
   19768 fi
   19769 
   19770 	 ;;
   19771 esac
   19772 fi
   19773 
   19774        ;;
   19775 esac
   19776 fi
   19777 
   19778     ;;
   19779   esac
   19780 
   19781   if test no = "$lt_cv_dlopen"; then
   19782     enable_dlopen=no
   19783   else
   19784     enable_dlopen=yes
   19785   fi
   19786 
   19787   case $lt_cv_dlopen in
   19788   dlopen)
   19789     save_CPPFLAGS=$CPPFLAGS
   19790     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19791 
   19792     save_LDFLAGS=$LDFLAGS
   19793     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19794 
   19795     save_LIBS=$LIBS
   19796     LIBS="$lt_cv_dlopen_libs $LIBS"
   19797 
   19798     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19799 printf %s "checking whether a program can dlopen itself... " >&6; }
   19800 if test ${lt_cv_dlopen_self+y}
   19801 then :
   19802   printf %s "(cached) " >&6
   19803 else case e in #(
   19804   e) 	  if test yes = "$cross_compiling"; then :
   19805   lt_cv_dlopen_self=cross
   19806 else
   19807   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19808   lt_status=$lt_dlunknown
   19809   cat > conftest.$ac_ext <<_LT_EOF
   19810 #line $LINENO "configure"
   19811 #include "confdefs.h"
   19812 
   19813 #if HAVE_DLFCN_H
   19814 #include <dlfcn.h>
   19815 #endif
   19816 
   19817 #include <stdio.h>
   19818 
   19819 #ifdef RTLD_GLOBAL
   19820 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19821 #else
   19822 #  ifdef DL_GLOBAL
   19823 #    define LT_DLGLOBAL		DL_GLOBAL
   19824 #  else
   19825 #    define LT_DLGLOBAL		0
   19826 #  endif
   19827 #endif
   19828 
   19829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19830    find out it does not work in some platform. */
   19831 #ifndef LT_DLLAZY_OR_NOW
   19832 #  ifdef RTLD_LAZY
   19833 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19834 #  else
   19835 #    ifdef DL_LAZY
   19836 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19837 #    else
   19838 #      ifdef RTLD_NOW
   19839 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19840 #      else
   19841 #        ifdef DL_NOW
   19842 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19843 #        else
   19844 #          define LT_DLLAZY_OR_NOW	0
   19845 #        endif
   19846 #      endif
   19847 #    endif
   19848 #  endif
   19849 #endif
   19850 
   19851 /* When -fvisibility=hidden is used, assume the code has been annotated
   19852    correspondingly for the symbols needed.  */
   19853 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19854 int fnord () __attribute__((visibility("default")));
   19855 #endif
   19856 
   19857 int fnord () { return 42; }
   19858 int main ()
   19859 {
   19860   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19861   int status = $lt_dlunknown;
   19862 
   19863   if (self)
   19864     {
   19865       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19866       else
   19867         {
   19868 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19869           else puts (dlerror ());
   19870 	}
   19871       /* dlclose (self); */
   19872     }
   19873   else
   19874     puts (dlerror ());
   19875 
   19876   return status;
   19877 }
   19878 _LT_EOF
   19879   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19880   (eval $ac_link) 2>&5
   19881   ac_status=$?
   19882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19883   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19884     (./conftest; exit; ) >&5 2>/dev/null
   19885     lt_status=$?
   19886     case x$lt_status in
   19887       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19888       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19889       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19890     esac
   19891   else :
   19892     # compilation failed
   19893     lt_cv_dlopen_self=no
   19894   fi
   19895 fi
   19896 rm -fr conftest*
   19897 
   19898      ;;
   19899 esac
   19900 fi
   19901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19902 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19903 
   19904     if test yes = "$lt_cv_dlopen_self"; then
   19905       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19906       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19907 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19908 if test ${lt_cv_dlopen_self_static+y}
   19909 then :
   19910   printf %s "(cached) " >&6
   19911 else case e in #(
   19912   e) 	  if test yes = "$cross_compiling"; then :
   19913   lt_cv_dlopen_self_static=cross
   19914 else
   19915   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19916   lt_status=$lt_dlunknown
   19917   cat > conftest.$ac_ext <<_LT_EOF
   19918 #line $LINENO "configure"
   19919 #include "confdefs.h"
   19920 
   19921 #if HAVE_DLFCN_H
   19922 #include <dlfcn.h>
   19923 #endif
   19924 
   19925 #include <stdio.h>
   19926 
   19927 #ifdef RTLD_GLOBAL
   19928 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19929 #else
   19930 #  ifdef DL_GLOBAL
   19931 #    define LT_DLGLOBAL		DL_GLOBAL
   19932 #  else
   19933 #    define LT_DLGLOBAL		0
   19934 #  endif
   19935 #endif
   19936 
   19937 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19938    find out it does not work in some platform. */
   19939 #ifndef LT_DLLAZY_OR_NOW
   19940 #  ifdef RTLD_LAZY
   19941 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19942 #  else
   19943 #    ifdef DL_LAZY
   19944 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19945 #    else
   19946 #      ifdef RTLD_NOW
   19947 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19948 #      else
   19949 #        ifdef DL_NOW
   19950 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19951 #        else
   19952 #          define LT_DLLAZY_OR_NOW	0
   19953 #        endif
   19954 #      endif
   19955 #    endif
   19956 #  endif
   19957 #endif
   19958 
   19959 /* When -fvisibility=hidden is used, assume the code has been annotated
   19960    correspondingly for the symbols needed.  */
   19961 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19962 int fnord () __attribute__((visibility("default")));
   19963 #endif
   19964 
   19965 int fnord () { return 42; }
   19966 int main ()
   19967 {
   19968   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19969   int status = $lt_dlunknown;
   19970 
   19971   if (self)
   19972     {
   19973       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19974       else
   19975         {
   19976 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19977           else puts (dlerror ());
   19978 	}
   19979       /* dlclose (self); */
   19980     }
   19981   else
   19982     puts (dlerror ());
   19983 
   19984   return status;
   19985 }
   19986 _LT_EOF
   19987   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19988   (eval $ac_link) 2>&5
   19989   ac_status=$?
   19990   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19991   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19992     (./conftest; exit; ) >&5 2>/dev/null
   19993     lt_status=$?
   19994     case x$lt_status in
   19995       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19996       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19997       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19998     esac
   19999   else :
   20000     # compilation failed
   20001     lt_cv_dlopen_self_static=no
   20002   fi
   20003 fi
   20004 rm -fr conftest*
   20005 
   20006        ;;
   20007 esac
   20008 fi
   20009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   20010 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   20011     fi
   20012 
   20013     CPPFLAGS=$save_CPPFLAGS
   20014     LDFLAGS=$save_LDFLAGS
   20015     LIBS=$save_LIBS
   20016     ;;
   20017   esac
   20018 
   20019   case $lt_cv_dlopen_self in
   20020   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   20021   *) enable_dlopen_self=unknown ;;
   20022   esac
   20023 
   20024   case $lt_cv_dlopen_self_static in
   20025   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   20026   *) enable_dlopen_self_static=unknown ;;
   20027   esac
   20028 fi
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 striplib=
   20047 old_striplib=
   20048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   20049 printf %s "checking whether stripping libraries is possible... " >&6; }
   20050 if test -z "$STRIP"; then
   20051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20052 printf "%s\n" "no" >&6; }
   20053 else
   20054   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   20055     old_striplib="$STRIP --strip-debug"
   20056     striplib="$STRIP --strip-unneeded"
   20057     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20058 printf "%s\n" "yes" >&6; }
   20059   else
   20060     case $host_os in
   20061     darwin*)
   20062       # FIXME - insert some real tests, host_os isn't really good enough
   20063       striplib="$STRIP -x"
   20064       old_striplib="$STRIP -S"
   20065       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20066 printf "%s\n" "yes" >&6; }
   20067       ;;
   20068     freebsd*)
   20069       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   20070         old_striplib="$STRIP --strip-debug"
   20071         striplib="$STRIP --strip-unneeded"
   20072         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20073 printf "%s\n" "yes" >&6; }
   20074       else
   20075         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20076 printf "%s\n" "no" >&6; }
   20077       fi
   20078       ;;
   20079     *)
   20080       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20081 printf "%s\n" "no" >&6; }
   20082       ;;
   20083     esac
   20084   fi
   20085 fi
   20086 
   20087 
   20088 
   20089 
   20090 
   20091 
   20092 
   20093 
   20094 
   20095 
   20096 
   20097 
   20098   # Report what library types will actually be built
   20099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   20100 printf %s "checking if libtool supports shared libraries... " >&6; }
   20101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   20102 printf "%s\n" "$can_build_shared" >&6; }
   20103 
   20104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   20105 printf %s "checking whether to build shared libraries... " >&6; }
   20106   test no = "$can_build_shared" && enable_shared=no
   20107 
   20108   # On AIX, shared libraries and static libraries use the same namespace, and
   20109   # are all built from PIC.
   20110   case $host_os in
   20111   aix3*)
   20112     test yes = "$enable_shared" && enable_static=no
   20113     if test -n "$RANLIB"; then
   20114       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   20115       postinstall_cmds='$RANLIB $lib'
   20116     fi
   20117     ;;
   20118 
   20119   aix[4-9]*)
   20120     if test ia64 != "$host_cpu"; then
   20121       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   20122       yes,aix,yes) ;;			# shared object as lib.so file only
   20123       yes,svr4,*) ;;			# shared object as lib.so archive member only
   20124       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   20125       esac
   20126     fi
   20127     ;;
   20128   esac
   20129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   20130 printf "%s\n" "$enable_shared" >&6; }
   20131 
   20132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   20133 printf %s "checking whether to build static libraries... " >&6; }
   20134   # Make sure either enable_shared or enable_static is yes.
   20135   test yes = "$enable_shared" || enable_static=yes
   20136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   20137 printf "%s\n" "$enable_static" >&6; }
   20138 
   20139 
   20140 
   20141 
   20142 fi
   20143 ac_ext=c
   20144 ac_cpp='$CPP $CPPFLAGS'
   20145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20148 
   20149 CC=$lt_save_CC
   20150 
   20151 
   20152 
   20153 
   20154 
   20155 
   20156 
   20157 
   20158 
   20159 
   20160 
   20161 
   20162 
   20163 
   20164 
   20165         ac_config_commands="$ac_config_commands libtool"
   20166 
   20167 
   20168 
   20169 
   20170 # Only expand once:
   20171 
   20172 
   20173 
   20174 
   20175 
   20176 # Define a configure option for an alternate module directory
   20177 
   20178 # Check whether --with-xorg-module-dir was given.
   20179 if test ${with_xorg_module_dir+y}
   20180 then :
   20181   withval=$with_xorg_module_dir;  moduledir="$withval"
   20182 else case e in #(
   20183   e)  moduledir="$libdir/xorg/modules"  ;;
   20184 esac
   20185 fi
   20186 
   20187 
   20188 
   20189 # Store the list of server defined optional extensions in REQUIRED_MODULES
   20190 
   20191 
   20192 	SAVE_CFLAGS="$CFLAGS"
   20193 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20194 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20195 /* end confdefs.h.  */
   20196 
   20197 #include "xorg-server.h"
   20198 #if !defined RANDR
   20199 #error RANDR not defined
   20200 #endif
   20201 
   20202 int
   20203 main (void)
   20204 {
   20205 
   20206   ;
   20207   return 0;
   20208 }
   20209 _ACEOF
   20210 if ac_fn_c_try_compile "$LINENO"
   20211 then :
   20212   _EXT_CHECK=yes
   20213 else case e in #(
   20214   e) _EXT_CHECK=no ;;
   20215 esac
   20216 fi
   20217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20218 	CFLAGS="$SAVE_CFLAGS"
   20219 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   20220 printf %s "checking if RANDR is defined... " >&6; }
   20221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20222 printf "%s\n" "$_EXT_CHECK" >&6; }
   20223 	if test "$_EXT_CHECK" != no; then
   20224 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20225 	fi
   20226 
   20227 
   20228 
   20229 	SAVE_CFLAGS="$CFLAGS"
   20230 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20231 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20232 /* end confdefs.h.  */
   20233 
   20234 #include "xorg-server.h"
   20235 #if !defined RENDER
   20236 #error RENDER not defined
   20237 #endif
   20238 
   20239 int
   20240 main (void)
   20241 {
   20242 
   20243   ;
   20244   return 0;
   20245 }
   20246 _ACEOF
   20247 if ac_fn_c_try_compile "$LINENO"
   20248 then :
   20249   _EXT_CHECK=yes
   20250 else case e in #(
   20251   e) _EXT_CHECK=no ;;
   20252 esac
   20253 fi
   20254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20255 	CFLAGS="$SAVE_CFLAGS"
   20256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   20257 printf %s "checking if RENDER is defined... " >&6; }
   20258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20259 printf "%s\n" "$_EXT_CHECK" >&6; }
   20260 	if test "$_EXT_CHECK" != no; then
   20261 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20262 	fi
   20263 
   20264 
   20265 
   20266 	SAVE_CFLAGS="$CFLAGS"
   20267 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20268 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20269 /* end confdefs.h.  */
   20270 
   20271 #include "xorg-server.h"
   20272 #if !defined DPMSExtension
   20273 #error DPMSExtension not defined
   20274 #endif
   20275 
   20276 int
   20277 main (void)
   20278 {
   20279 
   20280   ;
   20281   return 0;
   20282 }
   20283 _ACEOF
   20284 if ac_fn_c_try_compile "$LINENO"
   20285 then :
   20286   _EXT_CHECK=yes
   20287 else case e in #(
   20288   e) _EXT_CHECK=no ;;
   20289 esac
   20290 fi
   20291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20292 	CFLAGS="$SAVE_CFLAGS"
   20293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   20294 printf %s "checking if DPMSExtension is defined... " >&6; }
   20295 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20296 printf "%s\n" "$_EXT_CHECK" >&6; }
   20297 	if test "$_EXT_CHECK" != no; then
   20298 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20299 	fi
   20300 
   20301 
   20302 # Obtain compiler/linker options for the driver dependencies
   20303 
   20304 pkg_failed=no
   20305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   20306 printf %s "checking for XORG... " >&6; }
   20307 
   20308 if test -n "$XORG_CFLAGS"; then
   20309     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20310  elif test -n "$PKG_CONFIG"; then
   20311     if test -n "$PKG_CONFIG" && \
   20312     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20313   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20314   ac_status=$?
   20315   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20316   test $ac_status = 0; }; then
   20317   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20318 		      test "x$?" != "x0" && pkg_failed=yes
   20319 else
   20320   pkg_failed=yes
   20321 fi
   20322  else
   20323     pkg_failed=untried
   20324 fi
   20325 if test -n "$XORG_LIBS"; then
   20326     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20327  elif test -n "$PKG_CONFIG"; then
   20328     if test -n "$PKG_CONFIG" && \
   20329     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20330   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20331   ac_status=$?
   20332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20333   test $ac_status = 0; }; then
   20334   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20335 		      test "x$?" != "x0" && pkg_failed=yes
   20336 else
   20337   pkg_failed=yes
   20338 fi
   20339  else
   20340     pkg_failed=untried
   20341 fi
   20342 
   20343 
   20344 
   20345 if test $pkg_failed = yes; then
   20346    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20347 printf "%s\n" "no" >&6; }
   20348 
   20349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20350         _pkg_short_errors_supported=yes
   20351 else
   20352         _pkg_short_errors_supported=no
   20353 fi
   20354         if test $_pkg_short_errors_supported = yes; then
   20355 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20356         else
   20357 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20358         fi
   20359 	# Put the nasty error message in config.log where it belongs
   20360 	echo "$XORG_PKG_ERRORS" >&5
   20361 
   20362 	as_fn_error $? "Package requirements (xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES) were not met:
   20363 
   20364 $XORG_PKG_ERRORS
   20365 
   20366 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20367 installed software in a non-standard prefix.
   20368 
   20369 Alternatively, you may set the environment variables XORG_CFLAGS
   20370 and XORG_LIBS to avoid the need to call pkg-config.
   20371 See the pkg-config man page for more details." "$LINENO" 5
   20372 elif test $pkg_failed = untried; then
   20373      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20374 printf "%s\n" "no" >&6; }
   20375 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20376 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20377 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20378 is in your PATH or set the PKG_CONFIG environment variable to the full
   20379 path to pkg-config.
   20380 
   20381 Alternatively, you may set the environment variables XORG_CFLAGS
   20382 and XORG_LIBS to avoid the need to call pkg-config.
   20383 See the pkg-config man page for more details.
   20384 
   20385 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20386 See 'config.log' for more details" "$LINENO" 5; }
   20387 else
   20388 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20389 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20390         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20391 printf "%s\n" "yes" >&6; }
   20392 
   20393 fi
   20394 
   20395 pkg_failed=no
   20396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   20397 printf %s "checking for XEXT... " >&6; }
   20398 
   20399 if test -n "$XEXT_CFLAGS"; then
   20400     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   20401  elif test -n "$PKG_CONFIG"; then
   20402     if test -n "$PKG_CONFIG" && \
   20403     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20404   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20405   ac_status=$?
   20406   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20407   test $ac_status = 0; }; then
   20408   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   20409 		      test "x$?" != "x0" && pkg_failed=yes
   20410 else
   20411   pkg_failed=yes
   20412 fi
   20413  else
   20414     pkg_failed=untried
   20415 fi
   20416 if test -n "$XEXT_LIBS"; then
   20417     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   20418  elif test -n "$PKG_CONFIG"; then
   20419     if test -n "$PKG_CONFIG" && \
   20420     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20421   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20422   ac_status=$?
   20423   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20424   test $ac_status = 0; }; then
   20425   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   20426 		      test "x$?" != "x0" && pkg_failed=yes
   20427 else
   20428   pkg_failed=yes
   20429 fi
   20430  else
   20431     pkg_failed=untried
   20432 fi
   20433 
   20434 
   20435 
   20436 if test $pkg_failed = yes; then
   20437    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20438 printf "%s\n" "no" >&6; }
   20439 
   20440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20441         _pkg_short_errors_supported=yes
   20442 else
   20443         _pkg_short_errors_supported=no
   20444 fi
   20445         if test $_pkg_short_errors_supported = yes; then
   20446 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20447         else
   20448 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20449         fi
   20450 	# Put the nasty error message in config.log where it belongs
   20451 	echo "$XEXT_PKG_ERRORS" >&5
   20452 
   20453 	HAVE_XEXTPROTO_71="no"
   20454 elif test $pkg_failed = untried; then
   20455      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20456 printf "%s\n" "no" >&6; }
   20457 	HAVE_XEXTPROTO_71="no"
   20458 else
   20459 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   20460 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   20461         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20462 printf "%s\n" "yes" >&6; }
   20463 	HAVE_XEXTPROTO_71="yes"
   20464 fi
   20465 
   20466 if test "x$HAVE_XEXTPROTO_71" = xyes; then
   20467 
   20468 printf "%s\n" "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   20469 
   20470 fi
   20471 
   20472 save_CFLAGS="$CFLAGS"
   20473 CFLAGS="$XORG_CFLAGS"
   20474 ac_fn_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   20475 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20476 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes
   20477 then :
   20478 
   20479 printf "%s\n" "#define HAVE_ISA 1" >>confdefs.h
   20480 
   20481 fi
   20482 CFLAGS="$save_CFLAGS"
   20483 
   20484 save_CFLAGS="$CFLAGS"
   20485 CFLAGS="$XORG_CFLAGS"
   20486 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   20487 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20488 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   20489 then :
   20490   XSERVER_LIBPCIACCESS=yes
   20491 else case e in #(
   20492   e) XSERVER_LIBPCIACCESS=no ;;
   20493 esac
   20494 fi
   20495 CFLAGS="$save_CFLAGS"
   20496 
   20497 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20498 
   20499 pkg_failed=no
   20500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   20501 printf %s "checking for PCIACCESS... " >&6; }
   20502 
   20503 if test -n "$PCIACCESS_CFLAGS"; then
   20504     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20505  elif test -n "$PKG_CONFIG"; then
   20506     if test -n "$PKG_CONFIG" && \
   20507     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   20508   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   20509   ac_status=$?
   20510   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20511   test $ac_status = 0; }; then
   20512   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.12.901" 2>/dev/null`
   20513 		      test "x$?" != "x0" && pkg_failed=yes
   20514 else
   20515   pkg_failed=yes
   20516 fi
   20517  else
   20518     pkg_failed=untried
   20519 fi
   20520 if test -n "$PCIACCESS_LIBS"; then
   20521     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20522  elif test -n "$PKG_CONFIG"; then
   20523     if test -n "$PKG_CONFIG" && \
   20524     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   20525   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   20526   ac_status=$?
   20527   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20528   test $ac_status = 0; }; then
   20529   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.12.901" 2>/dev/null`
   20530 		      test "x$?" != "x0" && pkg_failed=yes
   20531 else
   20532   pkg_failed=yes
   20533 fi
   20534  else
   20535     pkg_failed=untried
   20536 fi
   20537 
   20538 
   20539 
   20540 if test $pkg_failed = yes; then
   20541    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20542 printf "%s\n" "no" >&6; }
   20543 
   20544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20545         _pkg_short_errors_supported=yes
   20546 else
   20547         _pkg_short_errors_supported=no
   20548 fi
   20549         if test $_pkg_short_errors_supported = yes; then
   20550 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   20551         else
   20552 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   20553         fi
   20554 	# Put the nasty error message in config.log where it belongs
   20555 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20556 
   20557 	as_fn_error $? "Package requirements (pciaccess >= 0.12.901) were not met:
   20558 
   20559 $PCIACCESS_PKG_ERRORS
   20560 
   20561 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20562 installed software in a non-standard prefix.
   20563 
   20564 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20565 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20566 See the pkg-config man page for more details." "$LINENO" 5
   20567 elif test $pkg_failed = untried; then
   20568      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20569 printf "%s\n" "no" >&6; }
   20570 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20571 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20572 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20573 is in your PATH or set the PKG_CONFIG environment variable to the full
   20574 path to pkg-config.
   20575 
   20576 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20577 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20578 See the pkg-config man page for more details.
   20579 
   20580 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20581 See 'config.log' for more details" "$LINENO" 5; }
   20582 else
   20583 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20584 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20585         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20586 printf "%s\n" "yes" >&6; }
   20587 
   20588 fi
   20589 fi
   20590 
   20591 # Checks for library functions
   20592 # We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet
   20593 # -Wredundant-decls warning from xorg/os.h which will otherwise redefine them.
   20594 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20595 if test "x$ac_cv_func_strlcat" = xyes
   20596 then :
   20597   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   20598 
   20599 fi
   20600 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   20601 if test "x$ac_cv_func_strlcpy" = xyes
   20602 then :
   20603   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   20604 
   20605 fi
   20606 ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp"
   20607 if test "x$ac_cv_func_timingsafe_memcmp" = xyes
   20608 then :
   20609   printf "%s\n" "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h
   20610 
   20611 fi
   20612 
   20613 
   20614 DRIVER_NAME=vboxvideo
   20615 
   20616 
   20617 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20618 
   20619 cat >confcache <<\_ACEOF
   20620 # This file is a shell script that caches the results of configure
   20621 # tests run on this system so they can be shared between configure
   20622 # scripts and configure runs, see configure's option --config-cache.
   20623 # It is not useful on other systems.  If it contains results you don't
   20624 # want to keep, you may remove or edit it.
   20625 #
   20626 # config.status only pays attention to the cache file if you give it
   20627 # the --recheck option to rerun configure.
   20628 #
   20629 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20630 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20631 # following values.
   20632 
   20633 _ACEOF
   20634 
   20635 # The following way of writing the cache mishandles newlines in values,
   20636 # but we know of no workaround that is simple, portable, and efficient.
   20637 # So, we kill variables containing newlines.
   20638 # Ultrix sh set writes to stderr and can't be redirected directly,
   20639 # and sets the high bit in the cache file unless we assign to the vars.
   20640 (
   20641   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20642     eval ac_val=\$$ac_var
   20643     case $ac_val in #(
   20644     *${as_nl}*)
   20645       case $ac_var in #(
   20646       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20647 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20648       esac
   20649       case $ac_var in #(
   20650       _ | IFS | as_nl) ;; #(
   20651       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20652       *) { eval $ac_var=; unset $ac_var;} ;;
   20653       esac ;;
   20654     esac
   20655   done
   20656 
   20657   (set) 2>&1 |
   20658     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20659     *${as_nl}ac_space=\ *)
   20660       # 'set' does not quote correctly, so add quotes: double-quote
   20661       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20662       sed -n \
   20663 	"s/'/'\\\\''/g;
   20664 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20665       ;; #(
   20666     *)
   20667       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20668       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20669       ;;
   20670     esac |
   20671     sort
   20672 ) |
   20673   sed '
   20674      /^ac_cv_env_/b end
   20675      t clear
   20676      :clear
   20677      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20678      t end
   20679      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20680      :end' >>confcache
   20681 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20682   if test -w "$cache_file"; then
   20683     if test "x$cache_file" != "x/dev/null"; then
   20684       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20685 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20686       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20687 	cat confcache >"$cache_file"
   20688       else
   20689         case $cache_file in #(
   20690         */* | ?:*)
   20691 	  mv -f confcache "$cache_file"$$ &&
   20692 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20693         *)
   20694 	  mv -f confcache "$cache_file" ;;
   20695 	esac
   20696       fi
   20697     fi
   20698   else
   20699     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20700 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20701   fi
   20702 fi
   20703 rm -f confcache
   20704 
   20705 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20706 # Let make expand exec_prefix.
   20707 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20708 
   20709 DEFS=-DHAVE_CONFIG_H
   20710 
   20711 ac_libobjs=
   20712 ac_ltlibobjs=
   20713 U=
   20714 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20715   # 1. Remove the extension, and $U if already installed.
   20716   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20717   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20718   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20719   #    will be set to the directory where LIBOBJS objects are built.
   20720   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20721   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20722 done
   20723 LIBOBJS=$ac_libobjs
   20724 
   20725 LTLIBOBJS=$ac_ltlibobjs
   20726 
   20727 
   20728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20729 printf %s "checking that generated files are newer than configure... " >&6; }
   20730    if test -n "$am_sleep_pid"; then
   20731      # Hide warnings about reused PIDs.
   20732      wait $am_sleep_pid 2>/dev/null
   20733    fi
   20734    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20735 printf "%s\n" "done" >&6; }
   20736  if test -n "$EXEEXT"; then
   20737   am__EXEEXT_TRUE=
   20738   am__EXEEXT_FALSE='#'
   20739 else
   20740   am__EXEEXT_TRUE='#'
   20741   am__EXEEXT_FALSE=
   20742 fi
   20743 
   20744 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20745   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20747 fi
   20748 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20749   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20751 fi
   20752 
   20753 : "${CONFIG_STATUS=./config.status}"
   20754 ac_write_fail=0
   20755 ac_clean_files_save=$ac_clean_files
   20756 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20758 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20759 as_write_fail=0
   20760 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20761 #! $SHELL
   20762 # Generated by $as_me.
   20763 # Run this file to recreate the current configuration.
   20764 # Compiler output produced by configure, useful for debugging
   20765 # configure, is in config.log if it exists.
   20766 
   20767 debug=false
   20768 ac_cs_recheck=false
   20769 ac_cs_silent=false
   20770 
   20771 SHELL=\${CONFIG_SHELL-$SHELL}
   20772 export SHELL
   20773 _ASEOF
   20774 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20775 ## -------------------- ##
   20776 ## M4sh Initialization. ##
   20777 ## -------------------- ##
   20778 
   20779 # Be more Bourne compatible
   20780 DUALCASE=1; export DUALCASE # for MKS sh
   20781 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20782 then :
   20783   emulate sh
   20784   NULLCMD=:
   20785   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20786   # is contrary to our usage.  Disable this feature.
   20787   alias -g '${1+"$@"}'='"$@"'
   20788   setopt NO_GLOB_SUBST
   20789 else case e in #(
   20790   e) case `(set -o) 2>/dev/null` in #(
   20791   *posix*) :
   20792     set -o posix ;; #(
   20793   *) :
   20794      ;;
   20795 esac ;;
   20796 esac
   20797 fi
   20798 
   20799 
   20800 
   20801 # Reset variables that may have inherited troublesome values from
   20802 # the environment.
   20803 
   20804 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20805 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20806 # side effect of setting IFS to empty, thus disabling word splitting.)
   20807 # Quoting is to prevent editors from complaining about space-tab.
   20808 as_nl='
   20809 '
   20810 export as_nl
   20811 IFS=" ""	$as_nl"
   20812 
   20813 PS1='$ '
   20814 PS2='> '
   20815 PS4='+ '
   20816 
   20817 # Ensure predictable behavior from utilities with locale-dependent output.
   20818 LC_ALL=C
   20819 export LC_ALL
   20820 LANGUAGE=C
   20821 export LANGUAGE
   20822 
   20823 # We cannot yet rely on "unset" to work, but we need these variables
   20824 # to be unset--not just set to an empty or harmless value--now, to
   20825 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20826 # also avoids known problems related to "unset" and subshell syntax
   20827 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20828 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20829 do eval test \${$as_var+y} \
   20830   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20831 done
   20832 
   20833 # Ensure that fds 0, 1, and 2 are open.
   20834 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20835 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20836 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20837 
   20838 # The user is always right.
   20839 if ${PATH_SEPARATOR+false} :; then
   20840   PATH_SEPARATOR=:
   20841   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20842     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20843       PATH_SEPARATOR=';'
   20844   }
   20845 fi
   20846 
   20847 
   20848 # Find who we are.  Look in the path if we contain no directory separator.
   20849 as_myself=
   20850 case $0 in #((
   20851   *[\\/]* ) as_myself=$0 ;;
   20852   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20853 for as_dir in $PATH
   20854 do
   20855   IFS=$as_save_IFS
   20856   case $as_dir in #(((
   20857     '') as_dir=./ ;;
   20858     */) ;;
   20859     *) as_dir=$as_dir/ ;;
   20860   esac
   20861     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20862   done
   20863 IFS=$as_save_IFS
   20864 
   20865      ;;
   20866 esac
   20867 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20868 # in which case we are not to be found in the path.
   20869 if test "x$as_myself" = x; then
   20870   as_myself=$0
   20871 fi
   20872 if test ! -f "$as_myself"; then
   20873   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20874   exit 1
   20875 fi
   20876 
   20877 
   20878 
   20879 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20880 # ----------------------------------------
   20881 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20882 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20883 # script with STATUS, using 1 if that was 0.
   20884 as_fn_error ()
   20885 {
   20886   as_status=$1; test $as_status -eq 0 && as_status=1
   20887   if test "$4"; then
   20888     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20890   fi
   20891   printf "%s\n" "$as_me: error: $2" >&2
   20892   as_fn_exit $as_status
   20893 } # as_fn_error
   20894 
   20895 
   20896 # as_fn_set_status STATUS
   20897 # -----------------------
   20898 # Set $? to STATUS, without forking.
   20899 as_fn_set_status ()
   20900 {
   20901   return $1
   20902 } # as_fn_set_status
   20903 
   20904 # as_fn_exit STATUS
   20905 # -----------------
   20906 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20907 as_fn_exit ()
   20908 {
   20909   set +e
   20910   as_fn_set_status $1
   20911   exit $1
   20912 } # as_fn_exit
   20913 
   20914 # as_fn_unset VAR
   20915 # ---------------
   20916 # Portably unset VAR.
   20917 as_fn_unset ()
   20918 {
   20919   { eval $1=; unset $1;}
   20920 }
   20921 as_unset=as_fn_unset
   20922 
   20923 # as_fn_append VAR VALUE
   20924 # ----------------------
   20925 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20926 # advantage of any shell optimizations that allow amortized linear growth over
   20927 # repeated appends, instead of the typical quadratic growth present in naive
   20928 # implementations.
   20929 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20930 then :
   20931   eval 'as_fn_append ()
   20932   {
   20933     eval $1+=\$2
   20934   }'
   20935 else case e in #(
   20936   e) as_fn_append ()
   20937   {
   20938     eval $1=\$$1\$2
   20939   } ;;
   20940 esac
   20941 fi # as_fn_append
   20942 
   20943 # as_fn_arith ARG...
   20944 # ------------------
   20945 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20946 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20947 # must be portable across $(()) and expr.
   20948 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20949 then :
   20950   eval 'as_fn_arith ()
   20951   {
   20952     as_val=$(( $* ))
   20953   }'
   20954 else case e in #(
   20955   e) as_fn_arith ()
   20956   {
   20957     as_val=`expr "$@" || test $? -eq 1`
   20958   } ;;
   20959 esac
   20960 fi # as_fn_arith
   20961 
   20962 
   20963 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20964    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20965   as_expr=expr
   20966 else
   20967   as_expr=false
   20968 fi
   20969 
   20970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20971   as_basename=basename
   20972 else
   20973   as_basename=false
   20974 fi
   20975 
   20976 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20977   as_dirname=dirname
   20978 else
   20979   as_dirname=false
   20980 fi
   20981 
   20982 as_me=`$as_basename -- "$0" ||
   20983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20984 	 X"$0" : 'X\(//\)$' \| \
   20985 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20986 printf "%s\n" X/"$0" |
   20987     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20988 	    s//\1/
   20989 	    q
   20990 	  }
   20991 	  /^X\/\(\/\/\)$/{
   20992 	    s//\1/
   20993 	    q
   20994 	  }
   20995 	  /^X\/\(\/\).*/{
   20996 	    s//\1/
   20997 	    q
   20998 	  }
   20999 	  s/.*/./; q'`
   21000 
   21001 # Avoid depending upon Character Ranges.
   21002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21005 as_cr_digits='0123456789'
   21006 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21007 
   21008 
   21009 # Determine whether it's possible to make 'echo' print without a newline.
   21010 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21011 # for compatibility with existing Makefiles.
   21012 ECHO_C= ECHO_N= ECHO_T=
   21013 case `echo -n x` in #(((((
   21014 -n*)
   21015   case `echo 'xy\c'` in
   21016   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21017   xy)  ECHO_C='\c';;
   21018   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21019        ECHO_T='	';;
   21020   esac;;
   21021 *)
   21022   ECHO_N='-n';;
   21023 esac
   21024 
   21025 # For backward compatibility with old third-party macros, we provide
   21026 # the shell variables $as_echo and $as_echo_n.  New code should use
   21027 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21028 as_echo='printf %s\n'
   21029 as_echo_n='printf %s'
   21030 
   21031 rm -f conf$$ conf$$.exe conf$$.file
   21032 if test -d conf$$.dir; then
   21033   rm -f conf$$.dir/conf$$.file
   21034 else
   21035   rm -f conf$$.dir
   21036   mkdir conf$$.dir 2>/dev/null
   21037 fi
   21038 if (echo >conf$$.file) 2>/dev/null; then
   21039   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21040     as_ln_s='ln -s'
   21041     # ... but there are two gotchas:
   21042     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21043     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21044     # In both cases, we have to default to 'cp -pR'.
   21045     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21046       as_ln_s='cp -pR'
   21047   elif ln conf$$.file conf$$ 2>/dev/null; then
   21048     as_ln_s=ln
   21049   else
   21050     as_ln_s='cp -pR'
   21051   fi
   21052 else
   21053   as_ln_s='cp -pR'
   21054 fi
   21055 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21056 rmdir conf$$.dir 2>/dev/null
   21057 
   21058 
   21059 # as_fn_mkdir_p
   21060 # -------------
   21061 # Create "$as_dir" as a directory, including parents if necessary.
   21062 as_fn_mkdir_p ()
   21063 {
   21064 
   21065   case $as_dir in #(
   21066   -*) as_dir=./$as_dir;;
   21067   esac
   21068   test -d "$as_dir" || eval $as_mkdir_p || {
   21069     as_dirs=
   21070     while :; do
   21071       case $as_dir in #(
   21072       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21073       *) as_qdir=$as_dir;;
   21074       esac
   21075       as_dirs="'$as_qdir' $as_dirs"
   21076       as_dir=`$as_dirname -- "$as_dir" ||
   21077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21078 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21079 	 X"$as_dir" : 'X\(//\)$' \| \
   21080 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21081 printf "%s\n" X"$as_dir" |
   21082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21083 	    s//\1/
   21084 	    q
   21085 	  }
   21086 	  /^X\(\/\/\)[^/].*/{
   21087 	    s//\1/
   21088 	    q
   21089 	  }
   21090 	  /^X\(\/\/\)$/{
   21091 	    s//\1/
   21092 	    q
   21093 	  }
   21094 	  /^X\(\/\).*/{
   21095 	    s//\1/
   21096 	    q
   21097 	  }
   21098 	  s/.*/./; q'`
   21099       test -d "$as_dir" && break
   21100     done
   21101     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21102   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21103 
   21104 
   21105 } # as_fn_mkdir_p
   21106 if mkdir -p . 2>/dev/null; then
   21107   as_mkdir_p='mkdir -p "$as_dir"'
   21108 else
   21109   test -d ./-p && rmdir ./-p
   21110   as_mkdir_p=false
   21111 fi
   21112 
   21113 
   21114 # as_fn_executable_p FILE
   21115 # -----------------------
   21116 # Test if FILE is an executable regular file.
   21117 as_fn_executable_p ()
   21118 {
   21119   test -f "$1" && test -x "$1"
   21120 } # as_fn_executable_p
   21121 as_test_x='test -x'
   21122 as_executable_p=as_fn_executable_p
   21123 
   21124 # Sed expression to map a string onto a valid CPP name.
   21125 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21126 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21127 
   21128 # Sed expression to map a string onto a valid variable name.
   21129 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21130 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21131 
   21132 
   21133 exec 6>&1
   21134 ## ----------------------------------- ##
   21135 ## Main body of $CONFIG_STATUS script. ##
   21136 ## ----------------------------------- ##
   21137 _ASEOF
   21138 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21139 
   21140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21141 # Save the log message, to keep $0 and so on meaningful, and to
   21142 # report actual input values of CONFIG_FILES etc. instead of their
   21143 # values after options handling.
   21144 ac_log="
   21145 This file was extended by xf86-video-vboxvideo $as_me 1.0.1, which was
   21146 generated by GNU Autoconf 2.72.  Invocation command line was
   21147 
   21148   CONFIG_FILES    = $CONFIG_FILES
   21149   CONFIG_HEADERS  = $CONFIG_HEADERS
   21150   CONFIG_LINKS    = $CONFIG_LINKS
   21151   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21152   $ $0 $@
   21153 
   21154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21155 "
   21156 
   21157 _ACEOF
   21158 
   21159 case $ac_config_files in *"
   21160 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21161 esac
   21162 
   21163 case $ac_config_headers in *"
   21164 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21165 esac
   21166 
   21167 
   21168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21169 # Files that config.status was made for.
   21170 config_files="$ac_config_files"
   21171 config_headers="$ac_config_headers"
   21172 config_commands="$ac_config_commands"
   21173 
   21174 _ACEOF
   21175 
   21176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21177 ac_cs_usage="\
   21178 '$as_me' instantiates files and other configuration actions
   21179 from templates according to the current configuration.  Unless the files
   21180 and actions are specified as TAGs, all are instantiated by default.
   21181 
   21182 Usage: $0 [OPTION]... [TAG]...
   21183 
   21184   -h, --help       print this help, then exit
   21185   -V, --version    print version number and configuration settings, then exit
   21186       --config     print configuration, then exit
   21187   -q, --quiet, --silent
   21188                    do not print progress messages
   21189   -d, --debug      don't remove temporary files
   21190       --recheck    update $as_me by reconfiguring in the same conditions
   21191       --file=FILE[:TEMPLATE]
   21192                    instantiate the configuration file FILE
   21193       --header=FILE[:TEMPLATE]
   21194                    instantiate the configuration header FILE
   21195 
   21196 Configuration files:
   21197 $config_files
   21198 
   21199 Configuration headers:
   21200 $config_headers
   21201 
   21202 Configuration commands:
   21203 $config_commands
   21204 
   21205 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/issues>."
   21206 
   21207 _ACEOF
   21208 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21209 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21211 ac_cs_config='$ac_cs_config_escaped'
   21212 ac_cs_version="\\
   21213 xf86-video-vboxvideo config.status 1.0.1
   21214 configured by $0, generated by GNU Autoconf 2.72,
   21215   with options \\"\$ac_cs_config\\"
   21216 
   21217 Copyright (C) 2023 Free Software Foundation, Inc.
   21218 This config.status script is free software; the Free Software Foundation
   21219 gives unlimited permission to copy, distribute and modify it."
   21220 
   21221 ac_pwd='$ac_pwd'
   21222 srcdir='$srcdir'
   21223 INSTALL='$INSTALL'
   21224 MKDIR_P='$MKDIR_P'
   21225 AWK='$AWK'
   21226 test -n "\$AWK" || AWK=awk
   21227 _ACEOF
   21228 
   21229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21230 # The default lists apply if the user does not specify any file.
   21231 ac_need_defaults=:
   21232 while test $# != 0
   21233 do
   21234   case $1 in
   21235   --*=?*)
   21236     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21237     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21238     ac_shift=:
   21239     ;;
   21240   --*=)
   21241     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21242     ac_optarg=
   21243     ac_shift=:
   21244     ;;
   21245   *)
   21246     ac_option=$1
   21247     ac_optarg=$2
   21248     ac_shift=shift
   21249     ;;
   21250   esac
   21251 
   21252   case $ac_option in
   21253   # Handling of the options.
   21254   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21255     ac_cs_recheck=: ;;
   21256   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21257     printf "%s\n" "$ac_cs_version"; exit ;;
   21258   --config | --confi | --conf | --con | --co | --c )
   21259     printf "%s\n" "$ac_cs_config"; exit ;;
   21260   --debug | --debu | --deb | --de | --d | -d )
   21261     debug=: ;;
   21262   --file | --fil | --fi | --f )
   21263     $ac_shift
   21264     case $ac_optarg in
   21265     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21266     '') as_fn_error $? "missing file argument" ;;
   21267     esac
   21268     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21269     ac_need_defaults=false;;
   21270   --header | --heade | --head | --hea )
   21271     $ac_shift
   21272     case $ac_optarg in
   21273     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21274     esac
   21275     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21276     ac_need_defaults=false;;
   21277   --he | --h)
   21278     # Conflict between --help and --header
   21279     as_fn_error $? "ambiguous option: '$1'
   21280 Try '$0 --help' for more information.";;
   21281   --help | --hel | -h )
   21282     printf "%s\n" "$ac_cs_usage"; exit ;;
   21283   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21284   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21285     ac_cs_silent=: ;;
   21286 
   21287   # This is an error.
   21288   -*) as_fn_error $? "unrecognized option: '$1'
   21289 Try '$0 --help' for more information." ;;
   21290 
   21291   *) as_fn_append ac_config_targets " $1"
   21292      ac_need_defaults=false ;;
   21293 
   21294   esac
   21295   shift
   21296 done
   21297 
   21298 ac_configure_extra_args=
   21299 
   21300 if $ac_cs_silent; then
   21301   exec 6>/dev/null
   21302   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21303 fi
   21304 
   21305 _ACEOF
   21306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21307 if \$ac_cs_recheck; then
   21308   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21309   shift
   21310   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21311   CONFIG_SHELL='$SHELL'
   21312   export CONFIG_SHELL
   21313   exec "\$@"
   21314 fi
   21315 
   21316 _ACEOF
   21317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21318 exec 5>>config.log
   21319 {
   21320   echo
   21321   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21322 ## Running $as_me. ##
   21323 _ASBOX
   21324   printf "%s\n" "$ac_log"
   21325 } >&5
   21326 
   21327 _ACEOF
   21328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21329 #
   21330 # INIT-COMMANDS
   21331 #
   21332 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21333 
   21334 
   21335 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21336 # if CDPATH is set.
   21337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21338 
   21339 sed_quote_subst='$sed_quote_subst'
   21340 double_quote_subst='$double_quote_subst'
   21341 delay_variable_subst='$delay_variable_subst'
   21342 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21343 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21344 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21345 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21346 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21347 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21348 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21349 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21350 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21351 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21352 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21353 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21354 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21355 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21356 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21357 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21358 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21359 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21360 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21361 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21362 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21363 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21364 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21365 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21366 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21367 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21368 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21369 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21370 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21371 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21372 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21373 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21374 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21375 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21376 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21377 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21378 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21379 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21380 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21381 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21382 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21383 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21384 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21385 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21386 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21387 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21388 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21389 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21390 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21391 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21392 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21393 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21394 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21395 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21396 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21397 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21398 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21399 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21400 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21401 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21402 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"`'
   21403 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21404 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21405 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21406 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21407 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21408 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21409 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21410 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21411 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21412 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21413 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21414 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21415 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21416 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21417 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21418 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21419 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21420 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21421 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21422 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21423 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21424 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21425 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21426 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21427 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21428 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21429 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21430 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21431 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21432 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21433 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21434 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21435 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21436 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21437 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21438 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21439 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21440 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21441 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21442 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21443 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21444 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21445 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21446 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21447 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21448 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21449 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21450 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21451 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21452 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21453 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21454 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21455 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21456 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21457 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21458 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21459 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21460 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21461 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21462 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21463 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21464 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21465 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21466 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21467 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21468 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21469 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21470 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21471 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21472 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21473 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21474 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21475 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21476 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21477 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21478 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21479 
   21480 LTCC='$LTCC'
   21481 LTCFLAGS='$LTCFLAGS'
   21482 compiler='$compiler_DEFAULT'
   21483 
   21484 # A function that is used when there is no print builtin or printf.
   21485 func_fallback_echo ()
   21486 {
   21487   eval 'cat <<_LTECHO_EOF
   21488 \$1
   21489 _LTECHO_EOF'
   21490 }
   21491 
   21492 # Quote evaled strings.
   21493 for var in SHELL \
   21494 ECHO \
   21495 PATH_SEPARATOR \
   21496 SED \
   21497 GREP \
   21498 EGREP \
   21499 FGREP \
   21500 LD \
   21501 NM \
   21502 LN_S \
   21503 lt_SP2NL \
   21504 lt_NL2SP \
   21505 reload_flag \
   21506 FILECMD \
   21507 OBJDUMP \
   21508 deplibs_check_method \
   21509 file_magic_cmd \
   21510 file_magic_glob \
   21511 want_nocaseglob \
   21512 DLLTOOL \
   21513 sharedlib_from_linklib_cmd \
   21514 AR \
   21515 archiver_list_spec \
   21516 STRIP \
   21517 RANLIB \
   21518 CC \
   21519 CFLAGS \
   21520 compiler \
   21521 lt_cv_sys_global_symbol_pipe \
   21522 lt_cv_sys_global_symbol_to_cdecl \
   21523 lt_cv_sys_global_symbol_to_import \
   21524 lt_cv_sys_global_symbol_to_c_name_address \
   21525 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21526 lt_cv_nm_interface \
   21527 nm_file_list_spec \
   21528 lt_cv_truncate_bin \
   21529 lt_prog_compiler_no_builtin_flag \
   21530 lt_prog_compiler_pic \
   21531 lt_prog_compiler_wl \
   21532 lt_prog_compiler_static \
   21533 lt_cv_prog_compiler_c_o \
   21534 need_locks \
   21535 MANIFEST_TOOL \
   21536 DSYMUTIL \
   21537 NMEDIT \
   21538 LIPO \
   21539 OTOOL \
   21540 OTOOL64 \
   21541 shrext_cmds \
   21542 export_dynamic_flag_spec \
   21543 whole_archive_flag_spec \
   21544 compiler_needs_object \
   21545 with_gnu_ld \
   21546 allow_undefined_flag \
   21547 no_undefined_flag \
   21548 hardcode_libdir_flag_spec \
   21549 hardcode_libdir_separator \
   21550 exclude_expsyms \
   21551 include_expsyms \
   21552 file_list_spec \
   21553 variables_saved_for_relink \
   21554 libname_spec \
   21555 library_names_spec \
   21556 soname_spec \
   21557 install_override_mode \
   21558 finish_eval \
   21559 old_striplib \
   21560 striplib; do
   21561     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21562     *[\\\\\\\`\\"\\\$]*)
   21563       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21564       ;;
   21565     *)
   21566       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21567       ;;
   21568     esac
   21569 done
   21570 
   21571 # Double-quote double-evaled strings.
   21572 for var in reload_cmds \
   21573 old_postinstall_cmds \
   21574 old_postuninstall_cmds \
   21575 old_archive_cmds \
   21576 extract_expsyms_cmds \
   21577 old_archive_from_new_cmds \
   21578 old_archive_from_expsyms_cmds \
   21579 archive_cmds \
   21580 archive_expsym_cmds \
   21581 module_cmds \
   21582 module_expsym_cmds \
   21583 export_symbols_cmds \
   21584 prelink_cmds \
   21585 postlink_cmds \
   21586 postinstall_cmds \
   21587 postuninstall_cmds \
   21588 finish_cmds \
   21589 sys_lib_search_path_spec \
   21590 configure_time_dlsearch_path \
   21591 configure_time_lt_sys_library_path; do
   21592     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21593     *[\\\\\\\`\\"\\\$]*)
   21594       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21595       ;;
   21596     *)
   21597       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21598       ;;
   21599     esac
   21600 done
   21601 
   21602 ac_aux_dir='$ac_aux_dir'
   21603 
   21604 # See if we are running on zsh, and set the options that allow our
   21605 # commands through without removal of \ escapes INIT.
   21606 if test -n "\${ZSH_VERSION+set}"; then
   21607    setopt NO_GLOB_SUBST
   21608 fi
   21609 
   21610 
   21611     PACKAGE='$PACKAGE'
   21612     VERSION='$VERSION'
   21613     RM='$RM'
   21614     ofile='$ofile'
   21615 
   21616 
   21617 
   21618 
   21619 _ACEOF
   21620 
   21621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21622 
   21623 # Handling of arguments.
   21624 for ac_config_target in $ac_config_targets
   21625 do
   21626   case $ac_config_target in
   21627     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21628     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21629     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21630     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21631     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21632     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21633 
   21634   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21635   esac
   21636 done
   21637 
   21638 
   21639 # If the user did not use the arguments to specify the items to instantiate,
   21640 # then the envvar interface is used.  Set only those that are not.
   21641 # We use the long form for the default assignment because of an extremely
   21642 # bizarre bug on SunOS 4.1.3.
   21643 if $ac_need_defaults; then
   21644   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21645   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21646   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21647 fi
   21648 
   21649 # Have a temporary directory for convenience.  Make it in the build tree
   21650 # simply because there is no reason against having it here, and in addition,
   21651 # creating and moving files from /tmp can sometimes cause problems.
   21652 # Hook for its removal unless debugging.
   21653 # Note that there is a small window in which the directory will not be cleaned:
   21654 # after its creation but before its name has been assigned to '$tmp'.
   21655 $debug ||
   21656 {
   21657   tmp= ac_tmp=
   21658   trap 'exit_status=$?
   21659   : "${ac_tmp:=$tmp}"
   21660   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21661 ' 0
   21662   trap 'as_fn_exit 1' 1 2 13 15
   21663 }
   21664 # Create a (secure) tmp directory for tmp files.
   21665 
   21666 {
   21667   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21668   test -d "$tmp"
   21669 }  ||
   21670 {
   21671   tmp=./conf$$-$RANDOM
   21672   (umask 077 && mkdir "$tmp")
   21673 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21674 ac_tmp=$tmp
   21675 
   21676 # Set up the scripts for CONFIG_FILES section.
   21677 # No need to generate them if there are no CONFIG_FILES.
   21678 # This happens for instance with './config.status config.h'.
   21679 if test -n "$CONFIG_FILES"; then
   21680 
   21681 
   21682 ac_cr=`echo X | tr X '\015'`
   21683 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21684 # But we know of no other shell where ac_cr would be empty at this
   21685 # point, so we can use a bashism as a fallback.
   21686 if test "x$ac_cr" = x; then
   21687   eval ac_cr=\$\'\\r\'
   21688 fi
   21689 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21690 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21691   ac_cs_awk_cr='\\r'
   21692 else
   21693   ac_cs_awk_cr=$ac_cr
   21694 fi
   21695 
   21696 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21697 _ACEOF
   21698 
   21699 
   21700 {
   21701   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21702   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21703   echo "_ACEOF"
   21704 } >conf$$subs.sh ||
   21705   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21706 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21707 ac_delim='%!_!# '
   21708 for ac_last_try in false false false false false :; do
   21709   . ./conf$$subs.sh ||
   21710     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21711 
   21712   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21713   if test $ac_delim_n = $ac_delim_num; then
   21714     break
   21715   elif $ac_last_try; then
   21716     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21717   else
   21718     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21719   fi
   21720 done
   21721 rm -f conf$$subs.sh
   21722 
   21723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21724 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21725 _ACEOF
   21726 sed -n '
   21727 h
   21728 s/^/S["/; s/!.*/"]=/
   21729 p
   21730 g
   21731 s/^[^!]*!//
   21732 :repl
   21733 t repl
   21734 s/'"$ac_delim"'$//
   21735 t delim
   21736 :nl
   21737 h
   21738 s/\(.\{148\}\)..*/\1/
   21739 t more1
   21740 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21741 p
   21742 n
   21743 b repl
   21744 :more1
   21745 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21746 p
   21747 g
   21748 s/.\{148\}//
   21749 t nl
   21750 :delim
   21751 h
   21752 s/\(.\{148\}\)..*/\1/
   21753 t more2
   21754 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21755 p
   21756 b
   21757 :more2
   21758 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21759 p
   21760 g
   21761 s/.\{148\}//
   21762 t delim
   21763 ' <conf$$subs.awk | sed '
   21764 /^[^""]/{
   21765   N
   21766   s/\n//
   21767 }
   21768 ' >>$CONFIG_STATUS || ac_write_fail=1
   21769 rm -f conf$$subs.awk
   21770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21771 _ACAWK
   21772 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21773   for (key in S) S_is_set[key] = 1
   21774   FS = ""
   21775 
   21776 }
   21777 {
   21778   line = $ 0
   21779   nfields = split(line, field, "@")
   21780   substed = 0
   21781   len = length(field[1])
   21782   for (i = 2; i < nfields; i++) {
   21783     key = field[i]
   21784     keylen = length(key)
   21785     if (S_is_set[key]) {
   21786       value = S[key]
   21787       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21788       len += length(value) + length(field[++i])
   21789       substed = 1
   21790     } else
   21791       len += 1 + keylen
   21792   }
   21793 
   21794   print line
   21795 }
   21796 
   21797 _ACAWK
   21798 _ACEOF
   21799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21800 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21801   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21802 else
   21803   cat
   21804 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21805   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21806 _ACEOF
   21807 
   21808 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21809 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21810 # trailing colons and then remove the whole line if VPATH becomes empty
   21811 # (actually we leave an empty line to preserve line numbers).
   21812 if test "x$srcdir" = x.; then
   21813   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21814 h
   21815 s///
   21816 s/^/:/
   21817 s/[	 ]*$/:/
   21818 s/:\$(srcdir):/:/g
   21819 s/:\${srcdir}:/:/g
   21820 s/:@srcdir@:/:/g
   21821 s/^:*//
   21822 s/:*$//
   21823 x
   21824 s/\(=[	 ]*\).*/\1/
   21825 G
   21826 s/\n//
   21827 s/^[^=]*=[	 ]*$//
   21828 }'
   21829 fi
   21830 
   21831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21832 fi # test -n "$CONFIG_FILES"
   21833 
   21834 # Set up the scripts for CONFIG_HEADERS section.
   21835 # No need to generate them if there are no CONFIG_HEADERS.
   21836 # This happens for instance with './config.status Makefile'.
   21837 if test -n "$CONFIG_HEADERS"; then
   21838 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21839 BEGIN {
   21840 _ACEOF
   21841 
   21842 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21843 # here-document in config.status, that substitutes the proper values into
   21844 # config.h.in to produce config.h.
   21845 
   21846 # Create a delimiter string that does not exist in confdefs.h, to ease
   21847 # handling of long lines.
   21848 ac_delim='%!_!# '
   21849 for ac_last_try in false false :; do
   21850   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21851   if test -z "$ac_tt"; then
   21852     break
   21853   elif $ac_last_try; then
   21854     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21855   else
   21856     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21857   fi
   21858 done
   21859 
   21860 # For the awk script, D is an array of macro values keyed by name,
   21861 # likewise P contains macro parameters if any.  Preserve backslash
   21862 # newline sequences.
   21863 
   21864 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21865 sed -n '
   21866 s/.\{148\}/&'"$ac_delim"'/g
   21867 t rset
   21868 :rset
   21869 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21870 t def
   21871 d
   21872 :def
   21873 s/\\$//
   21874 t bsnl
   21875 s/["\\]/\\&/g
   21876 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21877 D["\1"]=" \3"/p
   21878 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21879 d
   21880 :bsnl
   21881 s/["\\]/\\&/g
   21882 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21883 D["\1"]=" \3\\\\\\n"\\/p
   21884 t cont
   21885 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21886 t cont
   21887 d
   21888 :cont
   21889 n
   21890 s/.\{148\}/&'"$ac_delim"'/g
   21891 t clear
   21892 :clear
   21893 s/\\$//
   21894 t bsnlc
   21895 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21896 d
   21897 :bsnlc
   21898 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21899 b cont
   21900 ' <confdefs.h | sed '
   21901 s/'"$ac_delim"'/"\\\
   21902 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21903 
   21904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21905   for (key in D) D_is_set[key] = 1
   21906   FS = ""
   21907 }
   21908 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21909   line = \$ 0
   21910   split(line, arg, " ")
   21911   if (arg[1] == "#") {
   21912     defundef = arg[2]
   21913     mac1 = arg[3]
   21914   } else {
   21915     defundef = substr(arg[1], 2)
   21916     mac1 = arg[2]
   21917   }
   21918   split(mac1, mac2, "(") #)
   21919   macro = mac2[1]
   21920   prefix = substr(line, 1, index(line, defundef) - 1)
   21921   if (D_is_set[macro]) {
   21922     # Preserve the white space surrounding the "#".
   21923     print prefix "define", macro P[macro] D[macro]
   21924     next
   21925   } else {
   21926     # Replace #undef with comments.  This is necessary, for example,
   21927     # in the case of _POSIX_SOURCE, which is predefined and required
   21928     # on some systems where configure will not decide to define it.
   21929     if (defundef == "undef") {
   21930       print "/*", prefix defundef, macro, "*/"
   21931       next
   21932     }
   21933   }
   21934 }
   21935 { print }
   21936 _ACAWK
   21937 _ACEOF
   21938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21939   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21940 fi # test -n "$CONFIG_HEADERS"
   21941 
   21942 
   21943 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21944 shift
   21945 for ac_tag
   21946 do
   21947   case $ac_tag in
   21948   :[FHLC]) ac_mode=$ac_tag; continue;;
   21949   esac
   21950   case $ac_mode$ac_tag in
   21951   :[FHL]*:*);;
   21952   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21953   :[FH]-) ac_tag=-:-;;
   21954   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21955   esac
   21956   ac_save_IFS=$IFS
   21957   IFS=:
   21958   set x $ac_tag
   21959   IFS=$ac_save_IFS
   21960   shift
   21961   ac_file=$1
   21962   shift
   21963 
   21964   case $ac_mode in
   21965   :L) ac_source=$1;;
   21966   :[FH])
   21967     ac_file_inputs=
   21968     for ac_f
   21969     do
   21970       case $ac_f in
   21971       -) ac_f="$ac_tmp/stdin";;
   21972       *) # Look for the file first in the build tree, then in the source tree
   21973 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21974 	 # because $ac_f cannot contain ':'.
   21975 	 test -f "$ac_f" ||
   21976 	   case $ac_f in
   21977 	   [\\/$]*) false;;
   21978 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21979 	   esac ||
   21980 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21981       esac
   21982       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21983       as_fn_append ac_file_inputs " '$ac_f'"
   21984     done
   21985 
   21986     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21987     # use $as_me), people would be surprised to read:
   21988     #    /* config.h.  Generated by config.status.  */
   21989     configure_input='Generated from '`
   21990 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21991 	`' by configure.'
   21992     if test x"$ac_file" != x-; then
   21993       configure_input="$ac_file.  $configure_input"
   21994       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21995 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21996     fi
   21997     # Neutralize special characters interpreted by sed in replacement strings.
   21998     case $configure_input in #(
   21999     *\&* | *\|* | *\\* )
   22000        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22001        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22002     *) ac_sed_conf_input=$configure_input;;
   22003     esac
   22004 
   22005     case $ac_tag in
   22006     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22007       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22008     esac
   22009     ;;
   22010   esac
   22011 
   22012   ac_dir=`$as_dirname -- "$ac_file" ||
   22013 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22014 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22015 	 X"$ac_file" : 'X\(//\)$' \| \
   22016 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22017 printf "%s\n" X"$ac_file" |
   22018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22019 	    s//\1/
   22020 	    q
   22021 	  }
   22022 	  /^X\(\/\/\)[^/].*/{
   22023 	    s//\1/
   22024 	    q
   22025 	  }
   22026 	  /^X\(\/\/\)$/{
   22027 	    s//\1/
   22028 	    q
   22029 	  }
   22030 	  /^X\(\/\).*/{
   22031 	    s//\1/
   22032 	    q
   22033 	  }
   22034 	  s/.*/./; q'`
   22035   as_dir="$ac_dir"; as_fn_mkdir_p
   22036   ac_builddir=.
   22037 
   22038 case "$ac_dir" in
   22039 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22040 *)
   22041   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22042   # A ".." for each directory in $ac_dir_suffix.
   22043   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22044   case $ac_top_builddir_sub in
   22045   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22046   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22047   esac ;;
   22048 esac
   22049 ac_abs_top_builddir=$ac_pwd
   22050 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22051 # for backward compatibility:
   22052 ac_top_builddir=$ac_top_build_prefix
   22053 
   22054 case $srcdir in
   22055   .)  # We are building in place.
   22056     ac_srcdir=.
   22057     ac_top_srcdir=$ac_top_builddir_sub
   22058     ac_abs_top_srcdir=$ac_pwd ;;
   22059   [\\/]* | ?:[\\/]* )  # Absolute name.
   22060     ac_srcdir=$srcdir$ac_dir_suffix;
   22061     ac_top_srcdir=$srcdir
   22062     ac_abs_top_srcdir=$srcdir ;;
   22063   *) # Relative name.
   22064     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22065     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22066     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22067 esac
   22068 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22069 
   22070 
   22071   case $ac_mode in
   22072   :F)
   22073   #
   22074   # CONFIG_FILE
   22075   #
   22076 
   22077   case $INSTALL in
   22078   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22079   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22080   esac
   22081   ac_MKDIR_P=$MKDIR_P
   22082   case $MKDIR_P in
   22083   [\\/$]* | ?:[\\/]* ) ;;
   22084   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22085   esac
   22086 _ACEOF
   22087 
   22088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22089 # If the template does not know about datarootdir, expand it.
   22090 # FIXME: This hack should be removed a few years after 2.60.
   22091 ac_datarootdir_hack=; ac_datarootdir_seen=
   22092 ac_sed_dataroot='
   22093 /datarootdir/ {
   22094   p
   22095   q
   22096 }
   22097 /@datadir@/p
   22098 /@docdir@/p
   22099 /@infodir@/p
   22100 /@localedir@/p
   22101 /@mandir@/p'
   22102 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22103 *datarootdir*) ac_datarootdir_seen=yes;;
   22104 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22106 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22107 _ACEOF
   22108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22109   ac_datarootdir_hack='
   22110   s&@datadir@&$datadir&g
   22111   s&@docdir@&$docdir&g
   22112   s&@infodir@&$infodir&g
   22113   s&@localedir@&$localedir&g
   22114   s&@mandir@&$mandir&g
   22115   s&\\\${datarootdir}&$datarootdir&g' ;;
   22116 esac
   22117 _ACEOF
   22118 
   22119 # Neutralize VPATH when '$srcdir' = '.'.
   22120 # Shell code in configure.ac might set extrasub.
   22121 # FIXME: do we really want to maintain this feature?
   22122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22123 ac_sed_extra="$ac_vpsub
   22124 $extrasub
   22125 _ACEOF
   22126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22127 :t
   22128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22129 s|@configure_input@|$ac_sed_conf_input|;t t
   22130 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22131 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22132 s&@srcdir@&$ac_srcdir&;t t
   22133 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22134 s&@top_srcdir@&$ac_top_srcdir&;t t
   22135 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22136 s&@builddir@&$ac_builddir&;t t
   22137 s&@abs_builddir@&$ac_abs_builddir&;t t
   22138 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22139 s&@INSTALL@&$ac_INSTALL&;t t
   22140 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22141 $ac_datarootdir_hack
   22142 "
   22143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22144   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22145 
   22146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22147   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22148   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22149       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22151 which seems to be undefined.  Please make sure it is defined" >&5
   22152 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22153 which seems to be undefined.  Please make sure it is defined" >&2;}
   22154 
   22155   rm -f "$ac_tmp/stdin"
   22156   case $ac_file in
   22157   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22158   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22159   esac \
   22160   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22161  ;;
   22162   :H)
   22163   #
   22164   # CONFIG_HEADER
   22165   #
   22166   if test x"$ac_file" != x-; then
   22167     {
   22168       printf "%s\n" "/* $configure_input  */" >&1 \
   22169       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22170     } >"$ac_tmp/config.h" \
   22171       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22172     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22173       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22174 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22175     else
   22176       rm -f "$ac_file"
   22177       mv "$ac_tmp/config.h" "$ac_file" \
   22178 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22179     fi
   22180   else
   22181     printf "%s\n" "/* $configure_input  */" >&1 \
   22182       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22183       || as_fn_error $? "could not create -" "$LINENO" 5
   22184   fi
   22185 # Compute "$ac_file"'s index in $config_headers.
   22186 _am_arg="$ac_file"
   22187 _am_stamp_count=1
   22188 for _am_header in $config_headers :; do
   22189   case $_am_header in
   22190     $_am_arg | $_am_arg:* )
   22191       break ;;
   22192     * )
   22193       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22194   esac
   22195 done
   22196 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22197 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22198 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22199 	 X"$_am_arg" : 'X\(//\)$' \| \
   22200 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22201 printf "%s\n" X"$_am_arg" |
   22202     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22203 	    s//\1/
   22204 	    q
   22205 	  }
   22206 	  /^X\(\/\/\)[^/].*/{
   22207 	    s//\1/
   22208 	    q
   22209 	  }
   22210 	  /^X\(\/\/\)$/{
   22211 	    s//\1/
   22212 	    q
   22213 	  }
   22214 	  /^X\(\/\).*/{
   22215 	    s//\1/
   22216 	    q
   22217 	  }
   22218 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22219  ;;
   22220 
   22221   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22222 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22223  ;;
   22224   esac
   22225 
   22226 
   22227   case $ac_file$ac_mode in
   22228     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22229   # Older Autoconf quotes --file arguments for eval, but not when files
   22230   # are listed without --file.  Let's play safe and only enable the eval
   22231   # if we detect the quoting.
   22232   # TODO: see whether this extra hack can be removed once we start
   22233   # requiring Autoconf 2.70 or later.
   22234   case $CONFIG_FILES in #(
   22235   *\'*) :
   22236     eval set x "$CONFIG_FILES" ;; #(
   22237   *) :
   22238     set x $CONFIG_FILES ;; #(
   22239   *) :
   22240      ;;
   22241 esac
   22242   shift
   22243   # Used to flag and report bootstrapping failures.
   22244   am_rc=0
   22245   for am_mf
   22246   do
   22247     # Strip MF so we end up with the name of the file.
   22248     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22249     # Check whether this is an Automake generated Makefile which includes
   22250     # dependency-tracking related rules and includes.
   22251     # Grep'ing the whole file directly is not great: AIX grep has a line
   22252     # limit of 2048, but all sed's we know have understand at least 4000.
   22253     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22254       || continue
   22255     am_dirpart=`$as_dirname -- "$am_mf" ||
   22256 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22257 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22258 	 X"$am_mf" : 'X\(//\)$' \| \
   22259 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22260 printf "%s\n" X"$am_mf" |
   22261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22262 	    s//\1/
   22263 	    q
   22264 	  }
   22265 	  /^X\(\/\/\)[^/].*/{
   22266 	    s//\1/
   22267 	    q
   22268 	  }
   22269 	  /^X\(\/\/\)$/{
   22270 	    s//\1/
   22271 	    q
   22272 	  }
   22273 	  /^X\(\/\).*/{
   22274 	    s//\1/
   22275 	    q
   22276 	  }
   22277 	  s/.*/./; q'`
   22278     am_filepart=`$as_basename -- "$am_mf" ||
   22279 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22280 	 X"$am_mf" : 'X\(//\)$' \| \
   22281 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22282 printf "%s\n" X/"$am_mf" |
   22283     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22284 	    s//\1/
   22285 	    q
   22286 	  }
   22287 	  /^X\/\(\/\/\)$/{
   22288 	    s//\1/
   22289 	    q
   22290 	  }
   22291 	  /^X\/\(\/\).*/{
   22292 	    s//\1/
   22293 	    q
   22294 	  }
   22295 	  s/.*/./; q'`
   22296     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22297       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22298         | $MAKE -f - am--depfiles" >&5
   22299    (cd "$am_dirpart" \
   22300       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22301         | $MAKE -f - am--depfiles) >&5 2>&5
   22302    ac_status=$?
   22303    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22304    (exit $ac_status); } || am_rc=$?
   22305   done
   22306   if test $am_rc -ne 0; then
   22307     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22308 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22309 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22310     for automatic dependency tracking.  If GNU make was not used, consider
   22311     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22312     necessary).  You can also try re-running configure with the
   22313     '--disable-dependency-tracking' option to at least be able to build
   22314     the package (albeit without support for automatic dependency tracking).
   22315 See 'config.log' for more details" "$LINENO" 5; }
   22316   fi
   22317   { am_dirpart=; unset am_dirpart;}
   22318   { am_filepart=; unset am_filepart;}
   22319   { am_mf=; unset am_mf;}
   22320   { am_rc=; unset am_rc;}
   22321   rm -f conftest-deps.mk
   22322 }
   22323  ;;
   22324     "libtool":C)
   22325 
   22326     # See if we are running on zsh, and set the options that allow our
   22327     # commands through without removal of \ escapes.
   22328     if test -n "${ZSH_VERSION+set}"; then
   22329       setopt NO_GLOB_SUBST
   22330     fi
   22331 
   22332     cfgfile=${ofile}T
   22333     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22334     $RM "$cfgfile"
   22335 
   22336     cat <<_LT_EOF >> "$cfgfile"
   22337 #! $SHELL
   22338 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22339 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22340 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22341 
   22342 # Provide generalized library-building support services.
   22343 # Written by Gordon Matzigkeit, 1996
   22344 
   22345 # Copyright (C) 2014 Free Software Foundation, Inc.
   22346 # This is free software; see the source for copying conditions.  There is NO
   22347 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22348 
   22349 # GNU Libtool is free software; you can redistribute it and/or modify
   22350 # it under the terms of the GNU General Public License as published by
   22351 # the Free Software Foundation; either version 2 of of the License, or
   22352 # (at your option) any later version.
   22353 #
   22354 # As a special exception to the GNU General Public License, if you
   22355 # distribute this file as part of a program or library that is built
   22356 # using GNU Libtool, you may include this file under the  same
   22357 # distribution terms that you use for the rest of that program.
   22358 #
   22359 # GNU Libtool is distributed in the hope that it will be useful, but
   22360 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22361 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22362 # GNU General Public License for more details.
   22363 #
   22364 # You should have received a copy of the GNU General Public License
   22365 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22366 
   22367 
   22368 # The names of the tagged configurations supported by this script.
   22369 available_tags=''
   22370 
   22371 # Configured defaults for sys_lib_dlsearch_path munging.
   22372 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22373 
   22374 # ### BEGIN LIBTOOL CONFIG
   22375 
   22376 # Which release of libtool.m4 was used?
   22377 macro_version=$macro_version
   22378 macro_revision=$macro_revision
   22379 
   22380 # Whether or not to build static libraries.
   22381 build_old_libs=$enable_static
   22382 
   22383 # Whether or not to build shared libraries.
   22384 build_libtool_libs=$enable_shared
   22385 
   22386 # What type of objects to build.
   22387 pic_mode=$pic_mode
   22388 
   22389 # Whether or not to optimize for fast installation.
   22390 fast_install=$enable_fast_install
   22391 
   22392 # Shared archive member basename,for filename based shared library versioning on AIX.
   22393 shared_archive_member_spec=$shared_archive_member_spec
   22394 
   22395 # Shell to use when invoking shell scripts.
   22396 SHELL=$lt_SHELL
   22397 
   22398 # An echo program that protects backslashes.
   22399 ECHO=$lt_ECHO
   22400 
   22401 # The PATH separator for the build system.
   22402 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22403 
   22404 # The host system.
   22405 host_alias=$host_alias
   22406 host=$host
   22407 host_os=$host_os
   22408 
   22409 # The build system.
   22410 build_alias=$build_alias
   22411 build=$build
   22412 build_os=$build_os
   22413 
   22414 # A sed program that does not truncate output.
   22415 SED=$lt_SED
   22416 
   22417 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22418 Xsed="\$SED -e 1s/^X//"
   22419 
   22420 # A grep program that handles long lines.
   22421 GREP=$lt_GREP
   22422 
   22423 # An ERE matcher.
   22424 EGREP=$lt_EGREP
   22425 
   22426 # A literal string matcher.
   22427 FGREP=$lt_FGREP
   22428 
   22429 # A BSD- or MS-compatible name lister.
   22430 NM=$lt_NM
   22431 
   22432 # Whether we need soft or hard links.
   22433 LN_S=$lt_LN_S
   22434 
   22435 # What is the maximum length of a command?
   22436 max_cmd_len=$max_cmd_len
   22437 
   22438 # Object file suffix (normally "o").
   22439 objext=$ac_objext
   22440 
   22441 # Executable file suffix (normally "").
   22442 exeext=$exeext
   22443 
   22444 # whether the shell understands "unset".
   22445 lt_unset=$lt_unset
   22446 
   22447 # turn spaces into newlines.
   22448 SP2NL=$lt_lt_SP2NL
   22449 
   22450 # turn newlines into spaces.
   22451 NL2SP=$lt_lt_NL2SP
   22452 
   22453 # convert \$build file names to \$host format.
   22454 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22455 
   22456 # convert \$build files to toolchain format.
   22457 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22458 
   22459 # A file(cmd) program that detects file types.
   22460 FILECMD=$lt_FILECMD
   22461 
   22462 # An object symbol dumper.
   22463 OBJDUMP=$lt_OBJDUMP
   22464 
   22465 # Method to check whether dependent libraries are shared objects.
   22466 deplibs_check_method=$lt_deplibs_check_method
   22467 
   22468 # Command to use when deplibs_check_method = "file_magic".
   22469 file_magic_cmd=$lt_file_magic_cmd
   22470 
   22471 # How to find potential files when deplibs_check_method = "file_magic".
   22472 file_magic_glob=$lt_file_magic_glob
   22473 
   22474 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22475 want_nocaseglob=$lt_want_nocaseglob
   22476 
   22477 # DLL creation program.
   22478 DLLTOOL=$lt_DLLTOOL
   22479 
   22480 # Command to associate shared and link libraries.
   22481 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22482 
   22483 # The archiver.
   22484 AR=$lt_AR
   22485 
   22486 # Flags to create an archive (by configure).
   22487 lt_ar_flags=$lt_ar_flags
   22488 
   22489 # Flags to create an archive.
   22490 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22491 
   22492 # How to feed a file listing to the archiver.
   22493 archiver_list_spec=$lt_archiver_list_spec
   22494 
   22495 # A symbol stripping program.
   22496 STRIP=$lt_STRIP
   22497 
   22498 # Commands used to install an old-style archive.
   22499 RANLIB=$lt_RANLIB
   22500 old_postinstall_cmds=$lt_old_postinstall_cmds
   22501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22502 
   22503 # Whether to use a lock for old archive extraction.
   22504 lock_old_archive_extraction=$lock_old_archive_extraction
   22505 
   22506 # A C compiler.
   22507 LTCC=$lt_CC
   22508 
   22509 # LTCC compiler flags.
   22510 LTCFLAGS=$lt_CFLAGS
   22511 
   22512 # Take the output of nm and produce a listing of raw symbols and C names.
   22513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22514 
   22515 # Transform the output of nm in a proper C declaration.
   22516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22517 
   22518 # Transform the output of nm into a list of symbols to manually relocate.
   22519 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22520 
   22521 # Transform the output of nm in a C name address pair.
   22522 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22523 
   22524 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22525 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22526 
   22527 # The name lister interface.
   22528 nm_interface=$lt_lt_cv_nm_interface
   22529 
   22530 # Specify filename containing input files for \$NM.
   22531 nm_file_list_spec=$lt_nm_file_list_spec
   22532 
   22533 # The root where to search for dependent libraries,and where our libraries should be installed.
   22534 lt_sysroot=$lt_sysroot
   22535 
   22536 # Command to truncate a binary pipe.
   22537 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22538 
   22539 # The name of the directory that contains temporary libtool files.
   22540 objdir=$objdir
   22541 
   22542 # Used to examine libraries when file_magic_cmd begins with "file".
   22543 MAGIC_CMD=$MAGIC_CMD
   22544 
   22545 # Must we lock files when doing compilation?
   22546 need_locks=$lt_need_locks
   22547 
   22548 # Manifest tool.
   22549 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22550 
   22551 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22552 DSYMUTIL=$lt_DSYMUTIL
   22553 
   22554 # Tool to change global to local symbols on Mac OS X.
   22555 NMEDIT=$lt_NMEDIT
   22556 
   22557 # Tool to manipulate fat objects and archives on Mac OS X.
   22558 LIPO=$lt_LIPO
   22559 
   22560 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22561 OTOOL=$lt_OTOOL
   22562 
   22563 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22564 OTOOL64=$lt_OTOOL64
   22565 
   22566 # Old archive suffix (normally "a").
   22567 libext=$libext
   22568 
   22569 # Shared library suffix (normally ".so").
   22570 shrext_cmds=$lt_shrext_cmds
   22571 
   22572 # The commands to extract the exported symbol list from a shared archive.
   22573 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22574 
   22575 # Variables whose values should be saved in libtool wrapper scripts and
   22576 # restored at link time.
   22577 variables_saved_for_relink=$lt_variables_saved_for_relink
   22578 
   22579 # Do we need the "lib" prefix for modules?
   22580 need_lib_prefix=$need_lib_prefix
   22581 
   22582 # Do we need a version for libraries?
   22583 need_version=$need_version
   22584 
   22585 # Library versioning type.
   22586 version_type=$version_type
   22587 
   22588 # Shared library runtime path variable.
   22589 runpath_var=$runpath_var
   22590 
   22591 # Shared library path variable.
   22592 shlibpath_var=$shlibpath_var
   22593 
   22594 # Is shlibpath searched before the hard-coded library search path?
   22595 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22596 
   22597 # Format of library name prefix.
   22598 libname_spec=$lt_libname_spec
   22599 
   22600 # List of archive names.  First name is the real one, the rest are links.
   22601 # The last name is the one that the linker finds with -lNAME
   22602 library_names_spec=$lt_library_names_spec
   22603 
   22604 # The coded name of the library, if different from the real name.
   22605 soname_spec=$lt_soname_spec
   22606 
   22607 # Permission mode override for installation of shared libraries.
   22608 install_override_mode=$lt_install_override_mode
   22609 
   22610 # Command to use after installation of a shared archive.
   22611 postinstall_cmds=$lt_postinstall_cmds
   22612 
   22613 # Command to use after uninstallation of a shared archive.
   22614 postuninstall_cmds=$lt_postuninstall_cmds
   22615 
   22616 # Commands used to finish a libtool library installation in a directory.
   22617 finish_cmds=$lt_finish_cmds
   22618 
   22619 # As "finish_cmds", except a single script fragment to be evaled but
   22620 # not shown.
   22621 finish_eval=$lt_finish_eval
   22622 
   22623 # Whether we should hardcode library paths into libraries.
   22624 hardcode_into_libs=$hardcode_into_libs
   22625 
   22626 # Compile-time system search path for libraries.
   22627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22628 
   22629 # Detected run-time system search path for libraries.
   22630 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22631 
   22632 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22633 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22634 
   22635 # Whether dlopen is supported.
   22636 dlopen_support=$enable_dlopen
   22637 
   22638 # Whether dlopen of programs is supported.
   22639 dlopen_self=$enable_dlopen_self
   22640 
   22641 # Whether dlopen of statically linked programs is supported.
   22642 dlopen_self_static=$enable_dlopen_self_static
   22643 
   22644 # Commands to strip libraries.
   22645 old_striplib=$lt_old_striplib
   22646 striplib=$lt_striplib
   22647 
   22648 
   22649 # The linker used to build libraries.
   22650 LD=$lt_LD
   22651 
   22652 # How to create reloadable object files.
   22653 reload_flag=$lt_reload_flag
   22654 reload_cmds=$lt_reload_cmds
   22655 
   22656 # Commands used to build an old-style archive.
   22657 old_archive_cmds=$lt_old_archive_cmds
   22658 
   22659 # A language specific compiler.
   22660 CC=$lt_compiler
   22661 
   22662 # Is the compiler the GNU compiler?
   22663 with_gcc=$GCC
   22664 
   22665 # Compiler flag to turn off builtin functions.
   22666 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22667 
   22668 # Additional compiler flags for building library objects.
   22669 pic_flag=$lt_lt_prog_compiler_pic
   22670 
   22671 # How to pass a linker flag through the compiler.
   22672 wl=$lt_lt_prog_compiler_wl
   22673 
   22674 # Compiler flag to prevent dynamic linking.
   22675 link_static_flag=$lt_lt_prog_compiler_static
   22676 
   22677 # Does compiler simultaneously support -c and -o options?
   22678 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22679 
   22680 # Whether or not to add -lc for building shared libraries.
   22681 build_libtool_need_lc=$archive_cmds_need_lc
   22682 
   22683 # Whether or not to disallow shared libs when runtime libs are static.
   22684 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22685 
   22686 # Compiler flag to allow reflexive dlopens.
   22687 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22688 
   22689 # Compiler flag to generate shared objects directly from archives.
   22690 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22691 
   22692 # Whether the compiler copes with passing no objects directly.
   22693 compiler_needs_object=$lt_compiler_needs_object
   22694 
   22695 # Create an old-style archive from a shared archive.
   22696 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22697 
   22698 # Create a temporary old-style archive to link instead of a shared archive.
   22699 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22700 
   22701 # Commands used to build a shared archive.
   22702 archive_cmds=$lt_archive_cmds
   22703 archive_expsym_cmds=$lt_archive_expsym_cmds
   22704 
   22705 # Commands used to build a loadable module if different from building
   22706 # a shared archive.
   22707 module_cmds=$lt_module_cmds
   22708 module_expsym_cmds=$lt_module_expsym_cmds
   22709 
   22710 # Whether we are building with GNU ld or not.
   22711 with_gnu_ld=$lt_with_gnu_ld
   22712 
   22713 # Flag that allows shared libraries with undefined symbols to be built.
   22714 allow_undefined_flag=$lt_allow_undefined_flag
   22715 
   22716 # Flag that enforces no undefined symbols.
   22717 no_undefined_flag=$lt_no_undefined_flag
   22718 
   22719 # Flag to hardcode \$libdir into a binary during linking.
   22720 # This must work even if \$libdir does not exist
   22721 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22722 
   22723 # Whether we need a single "-rpath" flag with a separated argument.
   22724 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22725 
   22726 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22727 # DIR into the resulting binary.
   22728 hardcode_direct=$hardcode_direct
   22729 
   22730 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22731 # DIR into the resulting binary and the resulting library dependency is
   22732 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22733 # library is relocated.
   22734 hardcode_direct_absolute=$hardcode_direct_absolute
   22735 
   22736 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22737 # into the resulting binary.
   22738 hardcode_minus_L=$hardcode_minus_L
   22739 
   22740 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22741 # into the resulting binary.
   22742 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22743 
   22744 # Set to "yes" if building a shared library automatically hardcodes DIR
   22745 # into the library and all subsequent libraries and executables linked
   22746 # against it.
   22747 hardcode_automatic=$hardcode_automatic
   22748 
   22749 # Set to yes if linker adds runtime paths of dependent libraries
   22750 # to runtime path list.
   22751 inherit_rpath=$inherit_rpath
   22752 
   22753 # Whether libtool must link a program against all its dependency libraries.
   22754 link_all_deplibs=$link_all_deplibs
   22755 
   22756 # Set to "yes" if exported symbols are required.
   22757 always_export_symbols=$always_export_symbols
   22758 
   22759 # The commands to list exported symbols.
   22760 export_symbols_cmds=$lt_export_symbols_cmds
   22761 
   22762 # Symbols that should not be listed in the preloaded symbols.
   22763 exclude_expsyms=$lt_exclude_expsyms
   22764 
   22765 # Symbols that must always be exported.
   22766 include_expsyms=$lt_include_expsyms
   22767 
   22768 # Commands necessary for linking programs (against libraries) with templates.
   22769 prelink_cmds=$lt_prelink_cmds
   22770 
   22771 # Commands necessary for finishing linking programs.
   22772 postlink_cmds=$lt_postlink_cmds
   22773 
   22774 # Specify filename containing input files.
   22775 file_list_spec=$lt_file_list_spec
   22776 
   22777 # How to hardcode a shared library path into an executable.
   22778 hardcode_action=$hardcode_action
   22779 
   22780 # ### END LIBTOOL CONFIG
   22781 
   22782 _LT_EOF
   22783 
   22784     cat <<'_LT_EOF' >> "$cfgfile"
   22785 
   22786 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22787 
   22788 # func_munge_path_list VARIABLE PATH
   22789 # -----------------------------------
   22790 # VARIABLE is name of variable containing _space_ separated list of
   22791 # directories to be munged by the contents of PATH, which is string
   22792 # having a format:
   22793 # "DIR[:DIR]:"
   22794 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22795 # ":DIR[:DIR]"
   22796 #       string "DIR[ DIR]" will be appended to VARIABLE
   22797 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22798 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22799 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22800 # "DIR[:DIR]"
   22801 #       VARIABLE will be replaced by "DIR[ DIR]"
   22802 func_munge_path_list ()
   22803 {
   22804     case x$2 in
   22805     x)
   22806         ;;
   22807     *:)
   22808         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22809         ;;
   22810     x:*)
   22811         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22812         ;;
   22813     *::*)
   22814         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22815         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22816         ;;
   22817     *)
   22818         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22819         ;;
   22820     esac
   22821 }
   22822 
   22823 
   22824 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22825 func_cc_basename ()
   22826 {
   22827     for cc_temp in $*""; do
   22828       case $cc_temp in
   22829         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22830         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22831         \-*) ;;
   22832         *) break;;
   22833       esac
   22834     done
   22835     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22836 }
   22837 
   22838 
   22839 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22840 
   22841 _LT_EOF
   22842 
   22843   case $host_os in
   22844   aix3*)
   22845     cat <<\_LT_EOF >> "$cfgfile"
   22846 # AIX sometimes has problems with the GCC collect2 program.  For some
   22847 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22848 # vanish in a puff of smoke.
   22849 if test set != "${COLLECT_NAMES+set}"; then
   22850   COLLECT_NAMES=
   22851   export COLLECT_NAMES
   22852 fi
   22853 _LT_EOF
   22854     ;;
   22855   esac
   22856 
   22857 
   22858 
   22859 ltmain=$ac_aux_dir/ltmain.sh
   22860 
   22861 
   22862   # We use sed instead of cat because bash on DJGPP gets confused if
   22863   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22864   # text mode, it properly converts lines to CR/LF.  This bash problem
   22865   # is reportedly fixed, but why not run on old versions too?
   22866   $SED '$q' "$ltmain" >> "$cfgfile" \
   22867      || (rm -f "$cfgfile"; exit 1)
   22868 
   22869    mv -f "$cfgfile" "$ofile" ||
   22870     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22871   chmod +x "$ofile"
   22872 
   22873  ;;
   22874 
   22875   esac
   22876 done # for ac_tag
   22877 
   22878 
   22879 as_fn_exit 0
   22880 _ACEOF
   22881 ac_clean_files=$ac_clean_files_save
   22882 
   22883 test $ac_write_fail = 0 ||
   22884   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22885 
   22886 
   22887 # configure is writing to config.log, and then calls config.status.
   22888 # config.status does its own redirection, appending to config.log.
   22889 # Unfortunately, on DOS this fails, as config.log is still kept open
   22890 # by configure, so config.status won't be able to write to it; its
   22891 # output is simply discarded.  So we exec the FD to /dev/null,
   22892 # effectively closing config.log, so it can be properly (re)opened and
   22893 # appended to by config.status.  When coming back to configure, we
   22894 # need to make the FD available again.
   22895 if test "$no_create" != yes; then
   22896   ac_cs_success=:
   22897   ac_config_status_args=
   22898   test "$silent" = yes &&
   22899     ac_config_status_args="$ac_config_status_args --quiet"
   22900   exec 5>/dev/null
   22901   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22902   exec 5>>config.log
   22903   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22904   # would make configure fail if this is the last instruction.
   22905   $ac_cs_success || as_fn_exit 1
   22906 fi
   22907 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22909 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22910 fi
   22911 
   22912 
   22913