Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXcomposite 0.4.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 as_awk_strverscmp='
    602   # Use only awk features that work with 7th edition Unix awk (1978).
    603   # My, what an old awk you have, Mr. Solaris!
    604   END {
    605     while (length(v1) && length(v2)) {
    606       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    607       # Normally this is a single character, but if v1 and v2 contain digits,
    608       # compare them as integers and fractions as strverscmp does.
    609       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    610 	# Split v1 and v2 into their leading digit string components d1 and d2,
    611 	# and advance v1 and v2 past the leading digit strings.
    612 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    613 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    614 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    615 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    616 	if (d1 ~ /^0/) {
    617 	  if (d2 ~ /^0/) {
    618 	    # Compare two fractions.
    619 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    620 	      d1 = substr(d1, 2); len1--
    621 	      d2 = substr(d2, 2); len2--
    622 	    }
    623 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    624 	      # The two components differ in length, and the common prefix
    625 	      # contains only leading zeros.  Consider the longer to be less.
    626 	      d1 = -len1
    627 	      d2 = -len2
    628 	    } else {
    629 	      # Otherwise, compare as strings.
    630 	      d1 = "x" d1
    631 	      d2 = "x" d2
    632 	    }
    633 	  } else {
    634 	    # A fraction is less than an integer.
    635 	    exit 1
    636 	  }
    637 	} else {
    638 	  if (d2 ~ /^0/) {
    639 	    # An integer is greater than a fraction.
    640 	    exit 2
    641 	  } else {
    642 	    # Compare two integers.
    643 	    d1 += 0
    644 	    d2 += 0
    645 	  }
    646 	}
    647       } else {
    648 	# The normal case, without worrying about digits.
    649 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    650 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    651       }
    652       if (d1 < d2) exit 1
    653       if (d1 > d2) exit 2
    654     }
    655     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    656     # which mishandles some comparisons of empty strings to integers.
    657     if (length(v2)) exit 1
    658     if (length(v1)) exit 2
    659   }
    660 '
    661 
    662 test -n "$DJDIR" || exec 7<&0 </dev/null
    663 exec 6>&1
    664 
    665 # Name of the host.
    666 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    667 # so uname gets run too.
    668 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    669 
    670 #
    671 # Initializations.
    672 #
    673 ac_default_prefix=/usr/local
    674 ac_clean_files=
    675 ac_config_libobj_dir=.
    676 LIBOBJS=
    677 cross_compiling=no
    678 subdirs=
    679 MFLAGS=
    680 MAKEFLAGS=
    681 
    682 # Identity of this package.
    683 PACKAGE_NAME='libXcomposite'
    684 PACKAGE_TARNAME='libXcomposite'
    685 PACKAGE_VERSION='0.4.6'
    686 PACKAGE_STRING='libXcomposite 0.4.6'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/issues'
    688 PACKAGE_URL=''
    689 
    690 ac_unique_file="Makefile.am"
    691 # Factoring default headers for most tests.
    692 ac_includes_default="\
    693 #include <stddef.h>
    694 #ifdef HAVE_STDIO_H
    695 # include <stdio.h>
    696 #endif
    697 #ifdef HAVE_STDLIB_H
    698 # include <stdlib.h>
    699 #endif
    700 #ifdef HAVE_STRING_H
    701 # include <string.h>
    702 #endif
    703 #ifdef HAVE_INTTYPES_H
    704 # include <inttypes.h>
    705 #endif
    706 #ifdef HAVE_STDINT_H
    707 # include <stdint.h>
    708 #endif
    709 #ifdef HAVE_STRINGS_H
    710 # include <strings.h>
    711 #endif
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef HAVE_UNISTD_H
    719 # include <unistd.h>
    720 #endif"
    721 
    722 ac_header_c_list=
    723 ac_subst_vars='am__EXEEXT_FALSE
    724 am__EXEEXT_TRUE
    725 LTLIBOBJS
    726 LIBOBJS
    727 XFIXES_LIBS
    728 XFIXES_CFLAGS
    729 XCOMPOSITE_LIBS
    730 XCOMPOSITE_CFLAGS
    731 COMPOSITEEXT_VERSION
    732 INSTALL_MANPAGES_FALSE
    733 INSTALL_MANPAGES_TRUE
    734 HAVE_XMLTO_FALSE
    735 HAVE_XMLTO_TRUE
    736 HAVE_XMLTO_TEXT_FALSE
    737 HAVE_XMLTO_TEXT_TRUE
    738 XMLTO
    739 MAN_SUBSTS
    740 XORG_MAN_PAGE
    741 ADMIN_MAN_DIR
    742 DRIVER_MAN_DIR
    743 MISC_MAN_DIR
    744 FILE_MAN_DIR
    745 LIB_MAN_DIR
    746 APP_MAN_DIR
    747 ADMIN_MAN_SUFFIX
    748 DRIVER_MAN_SUFFIX
    749 MISC_MAN_SUFFIX
    750 FILE_MAN_SUFFIX
    751 LIB_MAN_SUFFIX
    752 APP_MAN_SUFFIX
    753 INSTALL_CMD
    754 PKG_CONFIG_LIBDIR
    755 PKG_CONFIG_PATH
    756 PKG_CONFIG
    757 CHANGELOG_CMD
    758 STRICT_CFLAGS
    759 CWARNFLAGS
    760 BASE_CFLAGS
    761 LT_SYS_LIBRARY_PATH
    762 OTOOL64
    763 OTOOL
    764 LIPO
    765 NMEDIT
    766 DSYMUTIL
    767 MANIFEST_TOOL
    768 RANLIB
    769 ac_ct_AR
    770 AR
    771 DLLTOOL
    772 OBJDUMP
    773 FILECMD
    774 LN_S
    775 NM
    776 ac_ct_DUMPBIN
    777 DUMPBIN
    778 LD
    779 FGREP
    780 EGREP
    781 GREP
    782 SED
    783 am__fastdepCC_FALSE
    784 am__fastdepCC_TRUE
    785 CCDEPMODE
    786 am__nodep
    787 AMDEPBACKSLASH
    788 AMDEP_FALSE
    789 AMDEP_TRUE
    790 am__include
    791 DEPDIR
    792 OBJEXT
    793 EXEEXT
    794 ac_ct_CC
    795 CPPFLAGS
    796 LDFLAGS
    797 CFLAGS
    798 CC
    799 host_os
    800 host_vendor
    801 host_cpu
    802 host
    803 build_os
    804 build_vendor
    805 build_cpu
    806 build
    807 LIBTOOL
    808 AM_BACKSLASH
    809 AM_DEFAULT_VERBOSITY
    810 AM_DEFAULT_V
    811 AM_V
    812 CSCOPE
    813 ETAGS
    814 CTAGS
    815 am__untar
    816 am__tar
    817 AMTAR
    818 am__leading_dot
    819 SET_MAKE
    820 AWK
    821 mkdir_p
    822 MKDIR_P
    823 INSTALL_STRIP_PROGRAM
    824 STRIP
    825 install_sh
    826 MAKEINFO
    827 AUTOHEADER
    828 AUTOMAKE
    829 AUTOCONF
    830 ACLOCAL
    831 VERSION
    832 PACKAGE
    833 CYGPATH_W
    834 am__isrc
    835 INSTALL_DATA
    836 INSTALL_SCRIPT
    837 INSTALL_PROGRAM
    838 target_alias
    839 host_alias
    840 build_alias
    841 LIBS
    842 ECHO_T
    843 ECHO_N
    844 ECHO_C
    845 DEFS
    846 mandir
    847 localedir
    848 libdir
    849 psdir
    850 pdfdir
    851 dvidir
    852 htmldir
    853 infodir
    854 docdir
    855 oldincludedir
    856 includedir
    857 runstatedir
    858 localstatedir
    859 sharedstatedir
    860 sysconfdir
    861 datadir
    862 datarootdir
    863 libexecdir
    864 sbindir
    865 bindir
    866 program_transform_name
    867 prefix
    868 exec_prefix
    869 PACKAGE_URL
    870 PACKAGE_BUGREPORT
    871 PACKAGE_STRING
    872 PACKAGE_VERSION
    873 PACKAGE_TARNAME
    874 PACKAGE_NAME
    875 PATH_SEPARATOR
    876 SHELL
    877 am__quote'
    878 ac_subst_files=''
    879 ac_user_opts='
    880 enable_option_checking
    881 enable_silent_rules
    882 enable_shared
    883 enable_static
    884 with_pic
    885 enable_fast_install
    886 with_aix_soname
    887 enable_dependency_tracking
    888 with_gnu_ld
    889 with_sysroot
    890 enable_libtool_lock
    891 enable_selective_werror
    892 enable_strict_compilation
    893 with_xmlto
    894 '
    895       ac_precious_vars='build_alias
    896 host_alias
    897 target_alias
    898 CC
    899 CFLAGS
    900 LDFLAGS
    901 LIBS
    902 CPPFLAGS
    903 LT_SYS_LIBRARY_PATH
    904 PKG_CONFIG
    905 PKG_CONFIG_PATH
    906 PKG_CONFIG_LIBDIR
    907 XMLTO
    908 XCOMPOSITE_CFLAGS
    909 XCOMPOSITE_LIBS
    910 XFIXES_CFLAGS
    911 XFIXES_LIBS'
    912 
    913 
    914 # Initialize some variables set by options.
    915 ac_init_help=
    916 ac_init_version=false
    917 ac_unrecognized_opts=
    918 ac_unrecognized_sep=
    919 # The variables have the same names as the options, with
    920 # dashes changed to underlines.
    921 cache_file=/dev/null
    922 exec_prefix=NONE
    923 no_create=
    924 no_recursion=
    925 prefix=NONE
    926 program_prefix=NONE
    927 program_suffix=NONE
    928 program_transform_name=s,x,x,
    929 silent=
    930 site=
    931 srcdir=
    932 verbose=
    933 x_includes=NONE
    934 x_libraries=NONE
    935 
    936 # Installation directory options.
    937 # These are left unexpanded so users can "make install exec_prefix=/foo"
    938 # and all the variables that are supposed to be based on exec_prefix
    939 # by default will actually change.
    940 # Use braces instead of parens because sh, perl, etc. also accept them.
    941 # (The list follows the same order as the GNU Coding Standards.)
    942 bindir='${exec_prefix}/bin'
    943 sbindir='${exec_prefix}/sbin'
    944 libexecdir='${exec_prefix}/libexec'
    945 datarootdir='${prefix}/share'
    946 datadir='${datarootdir}'
    947 sysconfdir='${prefix}/etc'
    948 sharedstatedir='${prefix}/com'
    949 localstatedir='${prefix}/var'
    950 runstatedir='${localstatedir}/run'
    951 includedir='${prefix}/include'
    952 oldincludedir='/usr/include'
    953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    954 infodir='${datarootdir}/info'
    955 htmldir='${docdir}'
    956 dvidir='${docdir}'
    957 pdfdir='${docdir}'
    958 psdir='${docdir}'
    959 libdir='${exec_prefix}/lib'
    960 localedir='${datarootdir}/locale'
    961 mandir='${datarootdir}/man'
    962 
    963 ac_prev=
    964 ac_dashdash=
    965 for ac_option
    966 do
    967   # If the previous option needs an argument, assign it.
    968   if test -n "$ac_prev"; then
    969     eval $ac_prev=\$ac_option
    970     ac_prev=
    971     continue
    972   fi
    973 
    974   case $ac_option in
    975   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    976   *=)   ac_optarg= ;;
    977   *)    ac_optarg=yes ;;
    978   esac
    979 
    980   case $ac_dashdash$ac_option in
    981   --)
    982     ac_dashdash=yes ;;
    983 
    984   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    985     ac_prev=bindir ;;
    986   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    987     bindir=$ac_optarg ;;
    988 
    989   -build | --build | --buil | --bui | --bu)
    990     ac_prev=build_alias ;;
    991   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    992     build_alias=$ac_optarg ;;
    993 
    994   -cache-file | --cache-file | --cache-fil | --cache-fi \
    995   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    996     ac_prev=cache_file ;;
    997   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    998   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    999     cache_file=$ac_optarg ;;
   1000 
   1001   --config-cache | -C)
   1002     cache_file=config.cache ;;
   1003 
   1004   -datadir | --datadir | --datadi | --datad)
   1005     ac_prev=datadir ;;
   1006   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1007     datadir=$ac_optarg ;;
   1008 
   1009   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1010   | --dataroo | --dataro | --datar)
   1011     ac_prev=datarootdir ;;
   1012   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1013   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1014     datarootdir=$ac_optarg ;;
   1015 
   1016   -disable-* | --disable-*)
   1017     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1018     # Reject names that are not valid shell variable names.
   1019     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1020       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1021     ac_useropt_orig=$ac_useropt
   1022     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1023     case $ac_user_opts in
   1024       *"
   1025 "enable_$ac_useropt"
   1026 "*) ;;
   1027       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1028 	 ac_unrecognized_sep=', ';;
   1029     esac
   1030     eval enable_$ac_useropt=no ;;
   1031 
   1032   -docdir | --docdir | --docdi | --doc | --do)
   1033     ac_prev=docdir ;;
   1034   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1035     docdir=$ac_optarg ;;
   1036 
   1037   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1038     ac_prev=dvidir ;;
   1039   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1040     dvidir=$ac_optarg ;;
   1041 
   1042   -enable-* | --enable-*)
   1043     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1044     # Reject names that are not valid shell variable names.
   1045     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1046       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1047     ac_useropt_orig=$ac_useropt
   1048     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1049     case $ac_user_opts in
   1050       *"
   1051 "enable_$ac_useropt"
   1052 "*) ;;
   1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1054 	 ac_unrecognized_sep=', ';;
   1055     esac
   1056     eval enable_$ac_useropt=\$ac_optarg ;;
   1057 
   1058   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1059   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1060   | --exec | --exe | --ex)
   1061     ac_prev=exec_prefix ;;
   1062   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1063   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1064   | --exec=* | --exe=* | --ex=*)
   1065     exec_prefix=$ac_optarg ;;
   1066 
   1067   -gas | --gas | --ga | --g)
   1068     # Obsolete; use --with-gas.
   1069     with_gas=yes ;;
   1070 
   1071   -help | --help | --hel | --he | -h)
   1072     ac_init_help=long ;;
   1073   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1074     ac_init_help=recursive ;;
   1075   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1076     ac_init_help=short ;;
   1077 
   1078   -host | --host | --hos | --ho)
   1079     ac_prev=host_alias ;;
   1080   -host=* | --host=* | --hos=* | --ho=*)
   1081     host_alias=$ac_optarg ;;
   1082 
   1083   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1084     ac_prev=htmldir ;;
   1085   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1086   | --ht=*)
   1087     htmldir=$ac_optarg ;;
   1088 
   1089   -includedir | --includedir | --includedi | --included | --include \
   1090   | --includ | --inclu | --incl | --inc)
   1091     ac_prev=includedir ;;
   1092   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1093   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1094     includedir=$ac_optarg ;;
   1095 
   1096   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1097     ac_prev=infodir ;;
   1098   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1099     infodir=$ac_optarg ;;
   1100 
   1101   -libdir | --libdir | --libdi | --libd)
   1102     ac_prev=libdir ;;
   1103   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1104     libdir=$ac_optarg ;;
   1105 
   1106   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1107   | --libexe | --libex | --libe)
   1108     ac_prev=libexecdir ;;
   1109   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1110   | --libexe=* | --libex=* | --libe=*)
   1111     libexecdir=$ac_optarg ;;
   1112 
   1113   -localedir | --localedir | --localedi | --localed | --locale)
   1114     ac_prev=localedir ;;
   1115   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1116     localedir=$ac_optarg ;;
   1117 
   1118   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1119   | --localstate | --localstat | --localsta | --localst | --locals)
   1120     ac_prev=localstatedir ;;
   1121   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1122   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1123     localstatedir=$ac_optarg ;;
   1124 
   1125   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1126     ac_prev=mandir ;;
   1127   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1128     mandir=$ac_optarg ;;
   1129 
   1130   -nfp | --nfp | --nf)
   1131     # Obsolete; use --without-fp.
   1132     with_fp=no ;;
   1133 
   1134   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1135   | --no-cr | --no-c | -n)
   1136     no_create=yes ;;
   1137 
   1138   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1139   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1140     no_recursion=yes ;;
   1141 
   1142   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1143   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1144   | --oldin | --oldi | --old | --ol | --o)
   1145     ac_prev=oldincludedir ;;
   1146   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1147   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1148   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1149     oldincludedir=$ac_optarg ;;
   1150 
   1151   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1152     ac_prev=prefix ;;
   1153   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1154     prefix=$ac_optarg ;;
   1155 
   1156   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1157   | --program-pre | --program-pr | --program-p)
   1158     ac_prev=program_prefix ;;
   1159   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1160   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1161     program_prefix=$ac_optarg ;;
   1162 
   1163   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1164   | --program-suf | --program-su | --program-s)
   1165     ac_prev=program_suffix ;;
   1166   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1167   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1168     program_suffix=$ac_optarg ;;
   1169 
   1170   -program-transform-name | --program-transform-name \
   1171   | --program-transform-nam | --program-transform-na \
   1172   | --program-transform-n | --program-transform- \
   1173   | --program-transform | --program-transfor \
   1174   | --program-transfo | --program-transf \
   1175   | --program-trans | --program-tran \
   1176   | --progr-tra | --program-tr | --program-t)
   1177     ac_prev=program_transform_name ;;
   1178   -program-transform-name=* | --program-transform-name=* \
   1179   | --program-transform-nam=* | --program-transform-na=* \
   1180   | --program-transform-n=* | --program-transform-=* \
   1181   | --program-transform=* | --program-transfor=* \
   1182   | --program-transfo=* | --program-transf=* \
   1183   | --program-trans=* | --program-tran=* \
   1184   | --progr-tra=* | --program-tr=* | --program-t=*)
   1185     program_transform_name=$ac_optarg ;;
   1186 
   1187   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1188     ac_prev=pdfdir ;;
   1189   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1190     pdfdir=$ac_optarg ;;
   1191 
   1192   -psdir | --psdir | --psdi | --psd | --ps)
   1193     ac_prev=psdir ;;
   1194   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1195     psdir=$ac_optarg ;;
   1196 
   1197   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1198   | -silent | --silent | --silen | --sile | --sil)
   1199     silent=yes ;;
   1200 
   1201   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1202   | --runstate | --runstat | --runsta | --runst | --runs \
   1203   | --run | --ru | --r)
   1204     ac_prev=runstatedir ;;
   1205   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1206   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1207   | --run=* | --ru=* | --r=*)
   1208     runstatedir=$ac_optarg ;;
   1209 
   1210   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1211     ac_prev=sbindir ;;
   1212   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1213   | --sbi=* | --sb=*)
   1214     sbindir=$ac_optarg ;;
   1215 
   1216   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1217   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1218   | --sharedst | --shareds | --shared | --share | --shar \
   1219   | --sha | --sh)
   1220     ac_prev=sharedstatedir ;;
   1221   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1222   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1223   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1224   | --sha=* | --sh=*)
   1225     sharedstatedir=$ac_optarg ;;
   1226 
   1227   -site | --site | --sit)
   1228     ac_prev=site ;;
   1229   -site=* | --site=* | --sit=*)
   1230     site=$ac_optarg ;;
   1231 
   1232   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1233     ac_prev=srcdir ;;
   1234   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1235     srcdir=$ac_optarg ;;
   1236 
   1237   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1238   | --syscon | --sysco | --sysc | --sys | --sy)
   1239     ac_prev=sysconfdir ;;
   1240   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1241   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1242     sysconfdir=$ac_optarg ;;
   1243 
   1244   -target | --target | --targe | --targ | --tar | --ta | --t)
   1245     ac_prev=target_alias ;;
   1246   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1247     target_alias=$ac_optarg ;;
   1248 
   1249   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1250     verbose=yes ;;
   1251 
   1252   -version | --version | --versio | --versi | --vers | -V)
   1253     ac_init_version=: ;;
   1254 
   1255   -with-* | --with-*)
   1256     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1257     # Reject names that are not valid shell variable names.
   1258     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1259       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1260     ac_useropt_orig=$ac_useropt
   1261     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1262     case $ac_user_opts in
   1263       *"
   1264 "with_$ac_useropt"
   1265 "*) ;;
   1266       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1267 	 ac_unrecognized_sep=', ';;
   1268     esac
   1269     eval with_$ac_useropt=\$ac_optarg ;;
   1270 
   1271   -without-* | --without-*)
   1272     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1273     # Reject names that are not valid shell variable names.
   1274     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1275       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1276     ac_useropt_orig=$ac_useropt
   1277     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1278     case $ac_user_opts in
   1279       *"
   1280 "with_$ac_useropt"
   1281 "*) ;;
   1282       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1283 	 ac_unrecognized_sep=', ';;
   1284     esac
   1285     eval with_$ac_useropt=no ;;
   1286 
   1287   --x)
   1288     # Obsolete; use --with-x.
   1289     with_x=yes ;;
   1290 
   1291   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1292   | --x-incl | --x-inc | --x-in | --x-i)
   1293     ac_prev=x_includes ;;
   1294   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1295   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1296     x_includes=$ac_optarg ;;
   1297 
   1298   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1299   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1300     ac_prev=x_libraries ;;
   1301   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1302   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1303     x_libraries=$ac_optarg ;;
   1304 
   1305   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1306 Try \`$0 --help' for more information"
   1307     ;;
   1308 
   1309   *=*)
   1310     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1311     # Reject names that are not valid shell variable names.
   1312     case $ac_envvar in #(
   1313       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1314       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1315     esac
   1316     eval $ac_envvar=\$ac_optarg
   1317     export $ac_envvar ;;
   1318 
   1319   *)
   1320     # FIXME: should be removed in autoconf 3.0.
   1321     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1322     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1323       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1324     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1325     ;;
   1326 
   1327   esac
   1328 done
   1329 
   1330 if test -n "$ac_prev"; then
   1331   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1332   as_fn_error $? "missing argument to $ac_option"
   1333 fi
   1334 
   1335 if test -n "$ac_unrecognized_opts"; then
   1336   case $enable_option_checking in
   1337     no) ;;
   1338     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1339     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1340   esac
   1341 fi
   1342 
   1343 # Check all directory arguments for consistency.
   1344 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1345 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1346 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1347 		libdir localedir mandir runstatedir
   1348 do
   1349   eval ac_val=\$$ac_var
   1350   # Remove trailing slashes.
   1351   case $ac_val in
   1352     */ )
   1353       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1354       eval $ac_var=\$ac_val;;
   1355   esac
   1356   # Be sure to have absolute directory names.
   1357   case $ac_val in
   1358     [\\/$]* | ?:[\\/]* )  continue;;
   1359     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1360   esac
   1361   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1362 done
   1363 
   1364 # There might be people who depend on the old broken behavior: `$host'
   1365 # used to hold the argument of --host etc.
   1366 # FIXME: To remove some day.
   1367 build=$build_alias
   1368 host=$host_alias
   1369 target=$target_alias
   1370 
   1371 # FIXME: To remove some day.
   1372 if test "x$host_alias" != x; then
   1373   if test "x$build_alias" = x; then
   1374     cross_compiling=maybe
   1375   elif test "x$build_alias" != "x$host_alias"; then
   1376     cross_compiling=yes
   1377   fi
   1378 fi
   1379 
   1380 ac_tool_prefix=
   1381 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1382 
   1383 test "$silent" = yes && exec 6>/dev/null
   1384 
   1385 
   1386 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1387 ac_ls_di=`ls -di .` &&
   1388 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1389   as_fn_error $? "working directory cannot be determined"
   1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1391   as_fn_error $? "pwd does not report name of working directory"
   1392 
   1393 
   1394 # Find the source files, if location was not specified.
   1395 if test -z "$srcdir"; then
   1396   ac_srcdir_defaulted=yes
   1397   # Try the directory containing this script, then the parent directory.
   1398   ac_confdir=`$as_dirname -- "$as_myself" ||
   1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1400 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1401 	 X"$as_myself" : 'X\(//\)$' \| \
   1402 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1403 printf "%s\n" X"$as_myself" |
   1404     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1405 	    s//\1/
   1406 	    q
   1407 	  }
   1408 	  /^X\(\/\/\)[^/].*/{
   1409 	    s//\1/
   1410 	    q
   1411 	  }
   1412 	  /^X\(\/\/\)$/{
   1413 	    s//\1/
   1414 	    q
   1415 	  }
   1416 	  /^X\(\/\).*/{
   1417 	    s//\1/
   1418 	    q
   1419 	  }
   1420 	  s/.*/./; q'`
   1421   srcdir=$ac_confdir
   1422   if test ! -r "$srcdir/$ac_unique_file"; then
   1423     srcdir=..
   1424   fi
   1425 else
   1426   ac_srcdir_defaulted=no
   1427 fi
   1428 if test ! -r "$srcdir/$ac_unique_file"; then
   1429   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1430   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1431 fi
   1432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1433 ac_abs_confdir=`(
   1434 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1435 	pwd)`
   1436 # When building in place, set srcdir=.
   1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1438   srcdir=.
   1439 fi
   1440 # Remove unnecessary trailing slashes from srcdir.
   1441 # Double slashes in file names in object file debugging info
   1442 # mess up M-x gdb in Emacs.
   1443 case $srcdir in
   1444 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1445 esac
   1446 for ac_var in $ac_precious_vars; do
   1447   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1448   eval ac_env_${ac_var}_value=\$${ac_var}
   1449   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1450   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1451 done
   1452 
   1453 #
   1454 # Report the --help message.
   1455 #
   1456 if test "$ac_init_help" = "long"; then
   1457   # Omit some internal or obsolete options to make the list less imposing.
   1458   # This message is too long to be a string in the A/UX 3.1 sh.
   1459   cat <<_ACEOF
   1460 \`configure' configures libXcomposite 0.4.6 to adapt to many kinds of systems.
   1461 
   1462 Usage: $0 [OPTION]... [VAR=VALUE]...
   1463 
   1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1465 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1466 
   1467 Defaults for the options are specified in brackets.
   1468 
   1469 Configuration:
   1470   -h, --help              display this help and exit
   1471       --help=short        display options specific to this package
   1472       --help=recursive    display the short help of all the included packages
   1473   -V, --version           display version information and exit
   1474   -q, --quiet, --silent   do not print \`checking ...' messages
   1475       --cache-file=FILE   cache test results in FILE [disabled]
   1476   -C, --config-cache      alias for \`--cache-file=config.cache'
   1477   -n, --no-create         do not create output files
   1478       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1479 
   1480 Installation directories:
   1481   --prefix=PREFIX         install architecture-independent files in PREFIX
   1482                           [$ac_default_prefix]
   1483   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1484                           [PREFIX]
   1485 
   1486 By default, \`make install' will install all the files in
   1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1489 for instance \`--prefix=\$HOME'.
   1490 
   1491 For better control, use the options below.
   1492 
   1493 Fine tuning of the installation directories:
   1494   --bindir=DIR            user executables [EPREFIX/bin]
   1495   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1496   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1497   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1498   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1499   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1500   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1501   --libdir=DIR            object code libraries [EPREFIX/lib]
   1502   --includedir=DIR        C header files [PREFIX/include]
   1503   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1504   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1505   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1506   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1507   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1508   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1509   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcomposite]
   1510   --htmldir=DIR           html documentation [DOCDIR]
   1511   --dvidir=DIR            dvi documentation [DOCDIR]
   1512   --pdfdir=DIR            pdf documentation [DOCDIR]
   1513   --psdir=DIR             ps documentation [DOCDIR]
   1514 _ACEOF
   1515 
   1516   cat <<\_ACEOF
   1517 
   1518 Program names:
   1519   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1520   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1521   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1522 
   1523 System types:
   1524   --build=BUILD     configure for building on BUILD [guessed]
   1525   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1526 _ACEOF
   1527 fi
   1528 
   1529 if test -n "$ac_init_help"; then
   1530   case $ac_init_help in
   1531      short | recursive ) echo "Configuration of libXcomposite 0.4.6:";;
   1532    esac
   1533   cat <<\_ACEOF
   1534 
   1535 Optional Features:
   1536   --disable-option-checking  ignore unrecognized --enable/--with options
   1537   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1538   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1539   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1540   --disable-silent-rules  verbose build output (undo: "make V=0")
   1541   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1542   --enable-static[=PKGS]  build static libraries [default=yes]
   1543   --enable-fast-install[=PKGS]
   1544                           optimize for fast installation [default=yes]
   1545   --enable-dependency-tracking
   1546                           do not reject slow dependency extractors
   1547   --disable-dependency-tracking
   1548                           speeds up one-time build
   1549   --disable-libtool-lock  avoid locking (might break parallel builds)
   1550   --disable-selective-werror
   1551                           Turn off selective compiler errors. (default:
   1552                           enabled)
   1553   --enable-strict-compilation
   1554                           Enable all warnings from compiler and make them
   1555                           errors (default: disabled)
   1556 
   1557 Optional Packages:
   1558   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1559   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1560   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1561                           both]
   1562   --with-aix-soname=aix|svr4|both
   1563                           shared library versioning (aka "SONAME") variant to
   1564                           provide on AIX, [default=aix].
   1565   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1566   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1567                           compiler's sysroot if not specified).
   1568   --with-xmlto            Use xmlto to regenerate documentation (default:
   1569                           auto)
   1570 
   1571 Some influential environment variables:
   1572   CC          C compiler command
   1573   CFLAGS      C compiler flags
   1574   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1575               nonstandard directory <lib dir>
   1576   LIBS        libraries to pass to the linker, e.g. -l<library>
   1577   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1578               you have headers in a nonstandard directory <include dir>
   1579   LT_SYS_LIBRARY_PATH
   1580               User-defined run-time library search path.
   1581   PKG_CONFIG  path to pkg-config utility
   1582   PKG_CONFIG_PATH
   1583               directories to add to pkg-config's search path
   1584   PKG_CONFIG_LIBDIR
   1585               path overriding pkg-config's built-in search path
   1586   XMLTO       Path to xmlto command
   1587   XCOMPOSITE_CFLAGS
   1588               C compiler flags for XCOMPOSITE, overriding pkg-config
   1589   XCOMPOSITE_LIBS
   1590               linker flags for XCOMPOSITE, overriding pkg-config
   1591   XFIXES_CFLAGS
   1592               C compiler flags for XFIXES, overriding pkg-config
   1593   XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
   1594 
   1595 Use these variables to override the choices made by `configure' or to help
   1596 it to find libraries and programs with nonstandard names/locations.
   1597 
   1598 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/issues>.
   1599 _ACEOF
   1600 ac_status=$?
   1601 fi
   1602 
   1603 if test "$ac_init_help" = "recursive"; then
   1604   # If there are subdirs, report their specific --help.
   1605   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1606     test -d "$ac_dir" ||
   1607       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1608       continue
   1609     ac_builddir=.
   1610 
   1611 case "$ac_dir" in
   1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1613 *)
   1614   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1615   # A ".." for each directory in $ac_dir_suffix.
   1616   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1617   case $ac_top_builddir_sub in
   1618   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1619   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1620   esac ;;
   1621 esac
   1622 ac_abs_top_builddir=$ac_pwd
   1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1624 # for backward compatibility:
   1625 ac_top_builddir=$ac_top_build_prefix
   1626 
   1627 case $srcdir in
   1628   .)  # We are building in place.
   1629     ac_srcdir=.
   1630     ac_top_srcdir=$ac_top_builddir_sub
   1631     ac_abs_top_srcdir=$ac_pwd ;;
   1632   [\\/]* | ?:[\\/]* )  # Absolute name.
   1633     ac_srcdir=$srcdir$ac_dir_suffix;
   1634     ac_top_srcdir=$srcdir
   1635     ac_abs_top_srcdir=$srcdir ;;
   1636   *) # Relative name.
   1637     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1638     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1639     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1640 esac
   1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1642 
   1643     cd "$ac_dir" || { ac_status=$?; continue; }
   1644     # Check for configure.gnu first; this name is used for a wrapper for
   1645     # Metaconfig's "Configure" on case-insensitive file systems.
   1646     if test -f "$ac_srcdir/configure.gnu"; then
   1647       echo &&
   1648       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1649     elif test -f "$ac_srcdir/configure"; then
   1650       echo &&
   1651       $SHELL "$ac_srcdir/configure" --help=recursive
   1652     else
   1653       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1654     fi || ac_status=$?
   1655     cd "$ac_pwd" || { ac_status=$?; break; }
   1656   done
   1657 fi
   1658 
   1659 test -n "$ac_init_help" && exit $ac_status
   1660 if $ac_init_version; then
   1661   cat <<\_ACEOF
   1662 libXcomposite configure 0.4.6
   1663 generated by GNU Autoconf 2.71
   1664 
   1665 Copyright (C) 2021 Free Software Foundation, Inc.
   1666 This configure script is free software; the Free Software Foundation
   1667 gives unlimited permission to copy, distribute and modify it.
   1668 _ACEOF
   1669   exit
   1670 fi
   1671 
   1672 ## ------------------------ ##
   1673 ## Autoconf initialization. ##
   1674 ## ------------------------ ##
   1675 
   1676 # ac_fn_c_try_compile LINENO
   1677 # --------------------------
   1678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_compile ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   rm -f conftest.$ac_objext conftest.beam
   1683   if { { ac_try="$ac_compile"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 printf "%s\n" "$ac_try_echo"; } >&5
   1690   (eval "$ac_compile") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && {
   1699 	 test -z "$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        } && test -s conftest.$ac_objext
   1702 then :
   1703   ac_retval=0
   1704 else $as_nop
   1705   printf "%s\n" "$as_me: failed program was:" >&5
   1706 sed 's/^/| /' conftest.$ac_ext >&5
   1707 
   1708 	ac_retval=1
   1709 fi
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711   as_fn_set_status $ac_retval
   1712 
   1713 } # ac_fn_c_try_compile
   1714 
   1715 # ac_fn_c_try_link LINENO
   1716 # -----------------------
   1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1718 ac_fn_c_try_link ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1722   if { { ac_try="$ac_link"
   1723 case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 printf "%s\n" "$ac_try_echo"; } >&5
   1729   (eval "$ac_link") 2>conftest.err
   1730   ac_status=$?
   1731   if test -s conftest.err; then
   1732     grep -v '^ *+' conftest.err >conftest.er1
   1733     cat conftest.er1 >&5
   1734     mv -f conftest.er1 conftest.err
   1735   fi
   1736   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; } && {
   1738 	 test -z "$ac_c_werror_flag" ||
   1739 	 test ! -s conftest.err
   1740        } && test -s conftest$ac_exeext && {
   1741 	 test "$cross_compiling" = yes ||
   1742 	 test -x conftest$ac_exeext
   1743        }
   1744 then :
   1745   ac_retval=0
   1746 else $as_nop
   1747   printf "%s\n" "$as_me: failed program was:" >&5
   1748 sed 's/^/| /' conftest.$ac_ext >&5
   1749 
   1750 	ac_retval=1
   1751 fi
   1752   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1753   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1754   # interfere with the next link command; also delete a directory that is
   1755   # left behind by Apple's compiler.  We do this before executing the actions.
   1756   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758   as_fn_set_status $ac_retval
   1759 
   1760 } # ac_fn_c_try_link
   1761 
   1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1763 # -------------------------------------------------------
   1764 # Tests whether HEADER exists and can be compiled using the include files in
   1765 # INCLUDES, setting the cache variable VAR accordingly.
   1766 ac_fn_c_check_header_compile ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1770 printf %s "checking for $2... " >&6; }
   1771 if eval test \${$3+y}
   1772 then :
   1773   printf %s "(cached) " >&6
   1774 else $as_nop
   1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 $4
   1778 #include <$2>
   1779 _ACEOF
   1780 if ac_fn_c_try_compile "$LINENO"
   1781 then :
   1782   eval "$3=yes"
   1783 else $as_nop
   1784   eval "$3=no"
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 printf "%s\n" "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_header_compile
   1794 
   1795 # ac_fn_c_check_func LINENO FUNC VAR
   1796 # ----------------------------------
   1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1798 ac_fn_c_check_func ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1802 printf %s "checking for $2... " >&6; }
   1803 if eval test \${$3+y}
   1804 then :
   1805   printf %s "(cached) " >&6
   1806 else $as_nop
   1807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1808 /* end confdefs.h.  */
   1809 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1810    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1811 #define $2 innocuous_$2
   1812 
   1813 /* System header to define __stub macros and hopefully few prototypes,
   1814    which can conflict with char $2 (); below.  */
   1815 
   1816 #include <limits.h>
   1817 #undef $2
   1818 
   1819 /* Override any GCC internal prototype to avoid an error.
   1820    Use char because int might match the return type of a GCC
   1821    builtin and then its argument prototype would still apply.  */
   1822 #ifdef __cplusplus
   1823 extern "C"
   1824 #endif
   1825 char $2 ();
   1826 /* The GNU C library defines this for functions which it implements
   1827     to always fail with ENOSYS.  Some functions are actually named
   1828     something starting with __ and the normal name is an alias.  */
   1829 #if defined __stub_$2 || defined __stub___$2
   1830 choke me
   1831 #endif
   1832 
   1833 int
   1834 main (void)
   1835 {
   1836 return $2 ();
   1837   ;
   1838   return 0;
   1839 }
   1840 _ACEOF
   1841 if ac_fn_c_try_link "$LINENO"
   1842 then :
   1843   eval "$3=yes"
   1844 else $as_nop
   1845   eval "$3=no"
   1846 fi
   1847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1848     conftest$ac_exeext conftest.$ac_ext
   1849 fi
   1850 eval ac_res=\$$3
   1851 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1852 printf "%s\n" "$ac_res" >&6; }
   1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1854 
   1855 } # ac_fn_c_check_func
   1856 
   1857 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1858 # ------------------------------------------------------------------
   1859 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1860 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1861 ac_fn_check_decl ()
   1862 {
   1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1864   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1866 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1867 if eval test \${$3+y}
   1868 then :
   1869   printf %s "(cached) " >&6
   1870 else $as_nop
   1871   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1872   eval ac_save_FLAGS=\$$6
   1873   as_fn_append $6 " $5"
   1874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1875 /* end confdefs.h.  */
   1876 $4
   1877 int
   1878 main (void)
   1879 {
   1880 #ifndef $as_decl_name
   1881 #ifdef __cplusplus
   1882   (void) $as_decl_use;
   1883 #else
   1884   (void) $as_decl_name;
   1885 #endif
   1886 #endif
   1887 
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_compile "$LINENO"
   1893 then :
   1894   eval "$3=yes"
   1895 else $as_nop
   1896   eval "$3=no"
   1897 fi
   1898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1899   eval $6=\$ac_save_FLAGS
   1900 
   1901 fi
   1902 eval ac_res=\$$3
   1903 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1904 printf "%s\n" "$ac_res" >&6; }
   1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1906 
   1907 } # ac_fn_check_decl
   1908 ac_configure_args_raw=
   1909 for ac_arg
   1910 do
   1911   case $ac_arg in
   1912   *\'*)
   1913     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1914   esac
   1915   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1916 done
   1917 
   1918 case $ac_configure_args_raw in
   1919   *$as_nl*)
   1920     ac_safe_unquote= ;;
   1921   *)
   1922     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1923     ac_unsafe_a="$ac_unsafe_z#~"
   1924     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1925     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1926 esac
   1927 
   1928 cat >config.log <<_ACEOF
   1929 This file contains any messages produced by compilers while
   1930 running configure, to aid debugging if configure makes a mistake.
   1931 
   1932 It was created by libXcomposite $as_me 0.4.6, which was
   1933 generated by GNU Autoconf 2.71.  Invocation command line was
   1934 
   1935   $ $0$ac_configure_args_raw
   1936 
   1937 _ACEOF
   1938 exec 5>>config.log
   1939 {
   1940 cat <<_ASUNAME
   1941 ## --------- ##
   1942 ## Platform. ##
   1943 ## --------- ##
   1944 
   1945 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1946 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1947 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1948 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1949 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1950 
   1951 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1952 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1953 
   1954 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1955 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1956 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1957 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1958 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1959 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1960 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1961 
   1962 _ASUNAME
   1963 
   1964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1965 for as_dir in $PATH
   1966 do
   1967   IFS=$as_save_IFS
   1968   case $as_dir in #(((
   1969     '') as_dir=./ ;;
   1970     */) ;;
   1971     *) as_dir=$as_dir/ ;;
   1972   esac
   1973     printf "%s\n" "PATH: $as_dir"
   1974   done
   1975 IFS=$as_save_IFS
   1976 
   1977 } >&5
   1978 
   1979 cat >&5 <<_ACEOF
   1980 
   1981 
   1982 ## ----------- ##
   1983 ## Core tests. ##
   1984 ## ----------- ##
   1985 
   1986 _ACEOF
   1987 
   1988 
   1989 # Keep a trace of the command line.
   1990 # Strip out --no-create and --no-recursion so they do not pile up.
   1991 # Strip out --silent because we don't want to record it for future runs.
   1992 # Also quote any args containing shell meta-characters.
   1993 # Make two passes to allow for proper duplicate-argument suppression.
   1994 ac_configure_args=
   1995 ac_configure_args0=
   1996 ac_configure_args1=
   1997 ac_must_keep_next=false
   1998 for ac_pass in 1 2
   1999 do
   2000   for ac_arg
   2001   do
   2002     case $ac_arg in
   2003     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2004     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2005     | -silent | --silent | --silen | --sile | --sil)
   2006       continue ;;
   2007     *\'*)
   2008       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2009     esac
   2010     case $ac_pass in
   2011     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2012     2)
   2013       as_fn_append ac_configure_args1 " '$ac_arg'"
   2014       if test $ac_must_keep_next = true; then
   2015 	ac_must_keep_next=false # Got value, back to normal.
   2016       else
   2017 	case $ac_arg in
   2018 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2019 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2020 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2021 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2022 	    case "$ac_configure_args0 " in
   2023 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2024 	    esac
   2025 	    ;;
   2026 	  -* ) ac_must_keep_next=true ;;
   2027 	esac
   2028       fi
   2029       as_fn_append ac_configure_args " '$ac_arg'"
   2030       ;;
   2031     esac
   2032   done
   2033 done
   2034 { ac_configure_args0=; unset ac_configure_args0;}
   2035 { ac_configure_args1=; unset ac_configure_args1;}
   2036 
   2037 # When interrupted or exit'd, cleanup temporary files, and complete
   2038 # config.log.  We remove comments because anyway the quotes in there
   2039 # would cause problems or look ugly.
   2040 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2042 trap 'exit_status=$?
   2043   # Sanitize IFS.
   2044   IFS=" ""	$as_nl"
   2045   # Save into config.log some information that might help in debugging.
   2046   {
   2047     echo
   2048 
   2049     printf "%s\n" "## ---------------- ##
   2050 ## Cache variables. ##
   2051 ## ---------------- ##"
   2052     echo
   2053     # The following way of writing the cache mishandles newlines in values,
   2054 (
   2055   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2056     eval ac_val=\$$ac_var
   2057     case $ac_val in #(
   2058     *${as_nl}*)
   2059       case $ac_var in #(
   2060       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2061 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2062       esac
   2063       case $ac_var in #(
   2064       _ | IFS | as_nl) ;; #(
   2065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2066       *) { eval $ac_var=; unset $ac_var;} ;;
   2067       esac ;;
   2068     esac
   2069   done
   2070   (set) 2>&1 |
   2071     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2072     *${as_nl}ac_space=\ *)
   2073       sed -n \
   2074 	"s/'\''/'\''\\\\'\'''\''/g;
   2075 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2076       ;; #(
   2077     *)
   2078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2079       ;;
   2080     esac |
   2081     sort
   2082 )
   2083     echo
   2084 
   2085     printf "%s\n" "## ----------------- ##
   2086 ## Output variables. ##
   2087 ## ----------------- ##"
   2088     echo
   2089     for ac_var in $ac_subst_vars
   2090     do
   2091       eval ac_val=\$$ac_var
   2092       case $ac_val in
   2093       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2094       esac
   2095       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2096     done | sort
   2097     echo
   2098 
   2099     if test -n "$ac_subst_files"; then
   2100       printf "%s\n" "## ------------------- ##
   2101 ## File substitutions. ##
   2102 ## ------------------- ##"
   2103       echo
   2104       for ac_var in $ac_subst_files
   2105       do
   2106 	eval ac_val=\$$ac_var
   2107 	case $ac_val in
   2108 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2109 	esac
   2110 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2111       done | sort
   2112       echo
   2113     fi
   2114 
   2115     if test -s confdefs.h; then
   2116       printf "%s\n" "## ----------- ##
   2117 ## confdefs.h. ##
   2118 ## ----------- ##"
   2119       echo
   2120       cat confdefs.h
   2121       echo
   2122     fi
   2123     test "$ac_signal" != 0 &&
   2124       printf "%s\n" "$as_me: caught signal $ac_signal"
   2125     printf "%s\n" "$as_me: exit $exit_status"
   2126   } >&5
   2127   rm -f core *.core core.conftest.* &&
   2128     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2129     exit $exit_status
   2130 ' 0
   2131 for ac_signal in 1 2 13 15; do
   2132   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2133 done
   2134 ac_signal=0
   2135 
   2136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2137 rm -f -r conftest* confdefs.h
   2138 
   2139 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2140 
   2141 # Predefined preprocessor variables.
   2142 
   2143 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2144 
   2145 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2146 
   2147 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2148 
   2149 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2150 
   2151 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2152 
   2153 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2154 
   2155 
   2156 # Let the site file select an alternate cache file if it wants to.
   2157 # Prefer an explicitly selected file to automatically selected ones.
   2158 if test -n "$CONFIG_SITE"; then
   2159   ac_site_files="$CONFIG_SITE"
   2160 elif test "x$prefix" != xNONE; then
   2161   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2162 else
   2163   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2164 fi
   2165 
   2166 for ac_site_file in $ac_site_files
   2167 do
   2168   case $ac_site_file in #(
   2169   */*) :
   2170      ;; #(
   2171   *) :
   2172     ac_site_file=./$ac_site_file ;;
   2173 esac
   2174   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2175     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2176 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2177     sed 's/^/| /' "$ac_site_file" >&5
   2178     . "$ac_site_file" \
   2179       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2180 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2181 as_fn_error $? "failed to load site script $ac_site_file
   2182 See \`config.log' for more details" "$LINENO" 5; }
   2183   fi
   2184 done
   2185 
   2186 if test -r "$cache_file"; then
   2187   # Some versions of bash will fail to source /dev/null (special files
   2188   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2189   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2190     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2191 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2192     case $cache_file in
   2193       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2194       *)                      . "./$cache_file";;
   2195     esac
   2196   fi
   2197 else
   2198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2199 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2200   >$cache_file
   2201 fi
   2202 
   2203 # Test code for whether the C compiler supports C89 (global declarations)
   2204 ac_c_conftest_c89_globals='
   2205 /* Does the compiler advertise C89 conformance?
   2206    Do not test the value of __STDC__, because some compilers set it to 0
   2207    while being otherwise adequately conformant. */
   2208 #if !defined __STDC__
   2209 # error "Compiler does not advertise C89 conformance"
   2210 #endif
   2211 
   2212 #include <stddef.h>
   2213 #include <stdarg.h>
   2214 struct stat;
   2215 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2216 struct buf { int x; };
   2217 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2218 static char *e (p, i)
   2219      char **p;
   2220      int i;
   2221 {
   2222   return p[i];
   2223 }
   2224 static char *f (char * (*g) (char **, int), char **p, ...)
   2225 {
   2226   char *s;
   2227   va_list v;
   2228   va_start (v,p);
   2229   s = g (p, va_arg (v,int));
   2230   va_end (v);
   2231   return s;
   2232 }
   2233 
   2234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2235    function prototypes and stuff, but not \xHH hex character constants.
   2236    These do not provoke an error unfortunately, instead are silently treated
   2237    as an "x".  The following induces an error, until -std is added to get
   2238    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2239    array size at least.  It is necessary to write \x00 == 0 to get something
   2240    that is true only with -std.  */
   2241 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2242 
   2243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2244    inside strings and character constants.  */
   2245 #define FOO(x) '\''x'\''
   2246 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2247 
   2248 int test (int i, double x);
   2249 struct s1 {int (*f) (int a);};
   2250 struct s2 {int (*f) (double a);};
   2251 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2252                int, int);'
   2253 
   2254 # Test code for whether the C compiler supports C89 (body of main).
   2255 ac_c_conftest_c89_main='
   2256 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2257 '
   2258 
   2259 # Test code for whether the C compiler supports C99 (global declarations)
   2260 ac_c_conftest_c99_globals='
   2261 // Does the compiler advertise C99 conformance?
   2262 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2263 # error "Compiler does not advertise C99 conformance"
   2264 #endif
   2265 
   2266 #include <stdbool.h>
   2267 extern int puts (const char *);
   2268 extern int printf (const char *, ...);
   2269 extern int dprintf (int, const char *, ...);
   2270 extern void *malloc (size_t);
   2271 
   2272 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2273 // dprintf is used instead of fprintf to avoid needing to declare
   2274 // FILE and stderr.
   2275 #define debug(...) dprintf (2, __VA_ARGS__)
   2276 #define showlist(...) puts (#__VA_ARGS__)
   2277 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2278 static void
   2279 test_varargs_macros (void)
   2280 {
   2281   int x = 1234;
   2282   int y = 5678;
   2283   debug ("Flag");
   2284   debug ("X = %d\n", x);
   2285   showlist (The first, second, and third items.);
   2286   report (x>y, "x is %d but y is %d", x, y);
   2287 }
   2288 
   2289 // Check long long types.
   2290 #define BIG64 18446744073709551615ull
   2291 #define BIG32 4294967295ul
   2292 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2293 #if !BIG_OK
   2294   #error "your preprocessor is broken"
   2295 #endif
   2296 #if BIG_OK
   2297 #else
   2298   #error "your preprocessor is broken"
   2299 #endif
   2300 static long long int bignum = -9223372036854775807LL;
   2301 static unsigned long long int ubignum = BIG64;
   2302 
   2303 struct incomplete_array
   2304 {
   2305   int datasize;
   2306   double data[];
   2307 };
   2308 
   2309 struct named_init {
   2310   int number;
   2311   const wchar_t *name;
   2312   double average;
   2313 };
   2314 
   2315 typedef const char *ccp;
   2316 
   2317 static inline int
   2318 test_restrict (ccp restrict text)
   2319 {
   2320   // See if C++-style comments work.
   2321   // Iterate through items via the restricted pointer.
   2322   // Also check for declarations in for loops.
   2323   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2324     continue;
   2325   return 0;
   2326 }
   2327 
   2328 // Check varargs and va_copy.
   2329 static bool
   2330 test_varargs (const char *format, ...)
   2331 {
   2332   va_list args;
   2333   va_start (args, format);
   2334   va_list args_copy;
   2335   va_copy (args_copy, args);
   2336 
   2337   const char *str = "";
   2338   int number = 0;
   2339   float fnumber = 0;
   2340 
   2341   while (*format)
   2342     {
   2343       switch (*format++)
   2344 	{
   2345 	case '\''s'\'': // string
   2346 	  str = va_arg (args_copy, const char *);
   2347 	  break;
   2348 	case '\''d'\'': // int
   2349 	  number = va_arg (args_copy, int);
   2350 	  break;
   2351 	case '\''f'\'': // float
   2352 	  fnumber = va_arg (args_copy, double);
   2353 	  break;
   2354 	default:
   2355 	  break;
   2356 	}
   2357     }
   2358   va_end (args_copy);
   2359   va_end (args);
   2360 
   2361   return *str && number && fnumber;
   2362 }
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C99 (body of main).
   2366 ac_c_conftest_c99_main='
   2367   // Check bool.
   2368   _Bool success = false;
   2369   success |= (argc != 0);
   2370 
   2371   // Check restrict.
   2372   if (test_restrict ("String literal") == 0)
   2373     success = true;
   2374   char *restrict newvar = "Another string";
   2375 
   2376   // Check varargs.
   2377   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2378   test_varargs_macros ();
   2379 
   2380   // Check flexible array members.
   2381   struct incomplete_array *ia =
   2382     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2383   ia->datasize = 10;
   2384   for (int i = 0; i < ia->datasize; ++i)
   2385     ia->data[i] = i * 1.234;
   2386 
   2387   // Check named initializers.
   2388   struct named_init ni = {
   2389     .number = 34,
   2390     .name = L"Test wide string",
   2391     .average = 543.34343,
   2392   };
   2393 
   2394   ni.number = 58;
   2395 
   2396   int dynamic_array[ni.number];
   2397   dynamic_array[0] = argv[0][0];
   2398   dynamic_array[ni.number - 1] = 543;
   2399 
   2400   // work around unused variable warnings
   2401   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2402 	 || dynamic_array[ni.number - 1] != 543);
   2403 '
   2404 
   2405 # Test code for whether the C compiler supports C11 (global declarations)
   2406 ac_c_conftest_c11_globals='
   2407 // Does the compiler advertise C11 conformance?
   2408 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2409 # error "Compiler does not advertise C11 conformance"
   2410 #endif
   2411 
   2412 // Check _Alignas.
   2413 char _Alignas (double) aligned_as_double;
   2414 char _Alignas (0) no_special_alignment;
   2415 extern char aligned_as_int;
   2416 char _Alignas (0) _Alignas (int) aligned_as_int;
   2417 
   2418 // Check _Alignof.
   2419 enum
   2420 {
   2421   int_alignment = _Alignof (int),
   2422   int_array_alignment = _Alignof (int[100]),
   2423   char_alignment = _Alignof (char)
   2424 };
   2425 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2426 
   2427 // Check _Noreturn.
   2428 int _Noreturn does_not_return (void) { for (;;) continue; }
   2429 
   2430 // Check _Static_assert.
   2431 struct test_static_assert
   2432 {
   2433   int x;
   2434   _Static_assert (sizeof (int) <= sizeof (long int),
   2435                   "_Static_assert does not work in struct");
   2436   long int y;
   2437 };
   2438 
   2439 // Check UTF-8 literals.
   2440 #define u8 syntax error!
   2441 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2442 
   2443 // Check duplicate typedefs.
   2444 typedef long *long_ptr;
   2445 typedef long int *long_ptr;
   2446 typedef long_ptr long_ptr;
   2447 
   2448 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2449 struct anonymous
   2450 {
   2451   union {
   2452     struct { int i; int j; };
   2453     struct { int k; long int l; } w;
   2454   };
   2455   int m;
   2456 } v1;
   2457 '
   2458 
   2459 # Test code for whether the C compiler supports C11 (body of main).
   2460 ac_c_conftest_c11_main='
   2461   _Static_assert ((offsetof (struct anonymous, i)
   2462 		   == offsetof (struct anonymous, w.k)),
   2463 		  "Anonymous union alignment botch");
   2464   v1.i = 2;
   2465   v1.w.k = 5;
   2466   ok |= v1.i != 5;
   2467 '
   2468 
   2469 # Test code for whether the C compiler supports C11 (complete).
   2470 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2471 ${ac_c_conftest_c99_globals}
   2472 ${ac_c_conftest_c11_globals}
   2473 
   2474 int
   2475 main (int argc, char **argv)
   2476 {
   2477   int ok = 0;
   2478   ${ac_c_conftest_c89_main}
   2479   ${ac_c_conftest_c99_main}
   2480   ${ac_c_conftest_c11_main}
   2481   return ok;
   2482 }
   2483 "
   2484 
   2485 # Test code for whether the C compiler supports C99 (complete).
   2486 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2487 ${ac_c_conftest_c99_globals}
   2488 
   2489 int
   2490 main (int argc, char **argv)
   2491 {
   2492   int ok = 0;
   2493   ${ac_c_conftest_c89_main}
   2494   ${ac_c_conftest_c99_main}
   2495   return ok;
   2496 }
   2497 "
   2498 
   2499 # Test code for whether the C compiler supports C89 (complete).
   2500 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2501 
   2502 int
   2503 main (int argc, char **argv)
   2504 {
   2505   int ok = 0;
   2506   ${ac_c_conftest_c89_main}
   2507   return ok;
   2508 }
   2509 "
   2510 
   2511 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2512 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2513 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2514 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2515 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2516 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2517 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2518 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2519 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2520 
   2521 # Auxiliary files required by this configure script.
   2522 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2523 
   2524 # Locations in which to look for auxiliary files.
   2525 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2526 
   2527 # Search for a directory containing all of the required auxiliary files,
   2528 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2529 # If we don't find one directory that contains all the files we need,
   2530 # we report the set of missing files from the *first* directory in
   2531 # $ac_aux_dir_candidates and give up.
   2532 ac_missing_aux_files=""
   2533 ac_first_candidate=:
   2534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2536 as_found=false
   2537 for as_dir in $ac_aux_dir_candidates
   2538 do
   2539   IFS=$as_save_IFS
   2540   case $as_dir in #(((
   2541     '') as_dir=./ ;;
   2542     */) ;;
   2543     *) as_dir=$as_dir/ ;;
   2544   esac
   2545   as_found=:
   2546 
   2547   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2548   ac_aux_dir_found=yes
   2549   ac_install_sh=
   2550   for ac_aux in $ac_aux_files
   2551   do
   2552     # As a special case, if "install-sh" is required, that requirement
   2553     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2554     # and $ac_install_sh is set appropriately for whichever one is found.
   2555     if test x"$ac_aux" = x"install-sh"
   2556     then
   2557       if test -f "${as_dir}install-sh"; then
   2558         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2559         ac_install_sh="${as_dir}install-sh -c"
   2560       elif test -f "${as_dir}install.sh"; then
   2561         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2562         ac_install_sh="${as_dir}install.sh -c"
   2563       elif test -f "${as_dir}shtool"; then
   2564         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2565         ac_install_sh="${as_dir}shtool install -c"
   2566       else
   2567         ac_aux_dir_found=no
   2568         if $ac_first_candidate; then
   2569           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2570         else
   2571           break
   2572         fi
   2573       fi
   2574     else
   2575       if test -f "${as_dir}${ac_aux}"; then
   2576         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2577       else
   2578         ac_aux_dir_found=no
   2579         if $ac_first_candidate; then
   2580           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2581         else
   2582           break
   2583         fi
   2584       fi
   2585     fi
   2586   done
   2587   if test "$ac_aux_dir_found" = yes; then
   2588     ac_aux_dir="$as_dir"
   2589     break
   2590   fi
   2591   ac_first_candidate=false
   2592 
   2593   as_found=false
   2594 done
   2595 IFS=$as_save_IFS
   2596 if $as_found
   2597 then :
   2598 
   2599 else $as_nop
   2600   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2601 fi
   2602 
   2603 
   2604 # These three variables are undocumented and unsupported,
   2605 # and are intended to be withdrawn in a future Autoconf release.
   2606 # They can cause serious problems if a builder's source tree is in a directory
   2607 # whose full name contains unusual characters.
   2608 if test -f "${ac_aux_dir}config.guess"; then
   2609   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2610 fi
   2611 if test -f "${ac_aux_dir}config.sub"; then
   2612   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2613 fi
   2614 if test -f "$ac_aux_dir/configure"; then
   2615   ac_configure="$SHELL ${ac_aux_dir}configure"
   2616 fi
   2617 
   2618 # Check that the precious variables saved in the cache have kept the same
   2619 # value.
   2620 ac_cache_corrupted=false
   2621 for ac_var in $ac_precious_vars; do
   2622   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2623   eval ac_new_set=\$ac_env_${ac_var}_set
   2624   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2625   eval ac_new_val=\$ac_env_${ac_var}_value
   2626   case $ac_old_set,$ac_new_set in
   2627     set,)
   2628       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2629 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2630       ac_cache_corrupted=: ;;
   2631     ,set)
   2632       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2633 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2634       ac_cache_corrupted=: ;;
   2635     ,);;
   2636     *)
   2637       if test "x$ac_old_val" != "x$ac_new_val"; then
   2638 	# differences in whitespace do not lead to failure.
   2639 	ac_old_val_w=`echo x $ac_old_val`
   2640 	ac_new_val_w=`echo x $ac_new_val`
   2641 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2642 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2643 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2644 	  ac_cache_corrupted=:
   2645 	else
   2646 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2647 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2648 	  eval $ac_var=\$ac_old_val
   2649 	fi
   2650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2651 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2653 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2654       fi;;
   2655   esac
   2656   # Pass precious variables to config.status.
   2657   if test "$ac_new_set" = set; then
   2658     case $ac_new_val in
   2659     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2660     *) ac_arg=$ac_var=$ac_new_val ;;
   2661     esac
   2662     case " $ac_configure_args " in
   2663       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2664       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2665     esac
   2666   fi
   2667 done
   2668 if $ac_cache_corrupted; then
   2669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2670 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2672 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2673   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2674 	    and start over" "$LINENO" 5
   2675 fi
   2676 ## -------------------- ##
   2677 ## Main body of script. ##
   2678 ## -------------------- ##
   2679 
   2680 ac_ext=c
   2681 ac_cpp='$CPP $CPPFLAGS'
   2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2685 
   2686 
   2687 
   2688 ac_config_headers="$ac_config_headers config.h"
   2689 
   2690 
   2691 # Initialize Automake
   2692 am__api_version='1.16'
   2693 
   2694 
   2695 
   2696   # Find a good install program.  We prefer a C program (faster),
   2697 # so one script is as good as another.  But avoid the broken or
   2698 # incompatible versions:
   2699 # SysV /etc/install, /usr/sbin/install
   2700 # SunOS /usr/etc/install
   2701 # IRIX /sbin/install
   2702 # AIX /bin/install
   2703 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2707 # OS/2's system install, which has a completely different semantic
   2708 # ./install, which can be erroneously created by make from ./install.sh.
   2709 # Reject install programs that cannot install multiple files.
   2710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2711 printf %s "checking for a BSD-compatible install... " >&6; }
   2712 if test -z "$INSTALL"; then
   2713 if test ${ac_cv_path_install+y}
   2714 then :
   2715   printf %s "(cached) " >&6
   2716 else $as_nop
   2717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2718 for as_dir in $PATH
   2719 do
   2720   IFS=$as_save_IFS
   2721   case $as_dir in #(((
   2722     '') as_dir=./ ;;
   2723     */) ;;
   2724     *) as_dir=$as_dir/ ;;
   2725   esac
   2726     # Account for fact that we put trailing slashes in our PATH walk.
   2727 case $as_dir in #((
   2728   ./ | /[cC]/* | \
   2729   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2730   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2731   /usr/ucb/* ) ;;
   2732   *)
   2733     # OSF1 and SCO ODT 3.0 have their own names for install.
   2734     # Don't use installbsd from OSF since it installs stuff as root
   2735     # by default.
   2736     for ac_prog in ginstall scoinst install; do
   2737       for ac_exec_ext in '' $ac_executable_extensions; do
   2738 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2739 	  if test $ac_prog = install &&
   2740 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2741 	    # AIX install.  It has an incompatible calling convention.
   2742 	    :
   2743 	  elif test $ac_prog = install &&
   2744 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2745 	    # program-specific install script used by HP pwplus--don't use.
   2746 	    :
   2747 	  else
   2748 	    rm -rf conftest.one conftest.two conftest.dir
   2749 	    echo one > conftest.one
   2750 	    echo two > conftest.two
   2751 	    mkdir conftest.dir
   2752 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2753 	      test -s conftest.one && test -s conftest.two &&
   2754 	      test -s conftest.dir/conftest.one &&
   2755 	      test -s conftest.dir/conftest.two
   2756 	    then
   2757 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2758 	      break 3
   2759 	    fi
   2760 	  fi
   2761 	fi
   2762       done
   2763     done
   2764     ;;
   2765 esac
   2766 
   2767   done
   2768 IFS=$as_save_IFS
   2769 
   2770 rm -rf conftest.one conftest.two conftest.dir
   2771 
   2772 fi
   2773   if test ${ac_cv_path_install+y}; then
   2774     INSTALL=$ac_cv_path_install
   2775   else
   2776     # As a last resort, use the slow shell script.  Don't cache a
   2777     # value for INSTALL within a source directory, because that will
   2778     # break other packages using the cache if that directory is
   2779     # removed, or if the value is a relative name.
   2780     INSTALL=$ac_install_sh
   2781   fi
   2782 fi
   2783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2784 printf "%s\n" "$INSTALL" >&6; }
   2785 
   2786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2787 # It thinks the first close brace ends the variable substitution.
   2788 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2789 
   2790 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2791 
   2792 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2793 
   2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2795 printf %s "checking whether build environment is sane... " >&6; }
   2796 # Reject unsafe characters in $srcdir or the absolute working directory
   2797 # name.  Accept space and tab only in the latter.
   2798 am_lf='
   2799 '
   2800 case `pwd` in
   2801   *[\\\"\#\$\&\'\`$am_lf]*)
   2802     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2803 esac
   2804 case $srcdir in
   2805   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2806     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2807 esac
   2808 
   2809 # Do 'set' in a subshell so we don't clobber the current shell's
   2810 # arguments.  Must try -L first in case configure is actually a
   2811 # symlink; some systems play weird games with the mod time of symlinks
   2812 # (eg FreeBSD returns the mod time of the symlink's containing
   2813 # directory).
   2814 if (
   2815    am_has_slept=no
   2816    for am_try in 1 2; do
   2817      echo "timestamp, slept: $am_has_slept" > conftest.file
   2818      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2819      if test "$*" = "X"; then
   2820 	# -L didn't work.
   2821 	set X `ls -t "$srcdir/configure" conftest.file`
   2822      fi
   2823      if test "$*" != "X $srcdir/configure conftest.file" \
   2824 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2825 
   2826 	# If neither matched, then we have a broken ls.  This can happen
   2827 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2828 	# broken ls alias from the environment.  This has actually
   2829 	# happened.  Such a system could not be considered "sane".
   2830 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2831   alias in your environment" "$LINENO" 5
   2832      fi
   2833      if test "$2" = conftest.file || test $am_try -eq 2; then
   2834        break
   2835      fi
   2836      # Just in case.
   2837      sleep 1
   2838      am_has_slept=yes
   2839    done
   2840    test "$2" = conftest.file
   2841    )
   2842 then
   2843    # Ok.
   2844    :
   2845 else
   2846    as_fn_error $? "newly created file is older than distributed files!
   2847 Check your system clock" "$LINENO" 5
   2848 fi
   2849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2850 printf "%s\n" "yes" >&6; }
   2851 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2852 # generated files are strictly newer.
   2853 am_sleep_pid=
   2854 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2855   ( sleep 1 ) &
   2856   am_sleep_pid=$!
   2857 fi
   2858 
   2859 rm -f conftest.file
   2860 
   2861 test "$program_prefix" != NONE &&
   2862   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2863 # Use a double $ so make ignores it.
   2864 test "$program_suffix" != NONE &&
   2865   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2866 # Double any \ or $.
   2867 # By default was `s,x,x', remove it if useless.
   2868 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2869 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2870 
   2871 
   2872 # Expand $ac_aux_dir to an absolute path.
   2873 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2874 
   2875 
   2876   if test x"${MISSING+set}" != xset; then
   2877   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2878 fi
   2879 # Use eval to expand $SHELL
   2880 if eval "$MISSING --is-lightweight"; then
   2881   am_missing_run="$MISSING "
   2882 else
   2883   am_missing_run=
   2884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2885 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2886 fi
   2887 
   2888 if test x"${install_sh+set}" != xset; then
   2889   case $am_aux_dir in
   2890   *\ * | *\	*)
   2891     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2892   *)
   2893     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2894   esac
   2895 fi
   2896 
   2897 # Installed binaries are usually stripped using 'strip' when the user
   2898 # run "make install-strip".  However 'strip' might not be the right
   2899 # tool to use in cross-compilation environments, therefore Automake
   2900 # will honor the 'STRIP' environment variable to overrule this program.
   2901 if test "$cross_compiling" != no; then
   2902   if test -n "$ac_tool_prefix"; then
   2903   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2904 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2906 printf %s "checking for $ac_word... " >&6; }
   2907 if test ${ac_cv_prog_STRIP+y}
   2908 then :
   2909   printf %s "(cached) " >&6
   2910 else $as_nop
   2911   if test -n "$STRIP"; then
   2912   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2913 else
   2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2915 for as_dir in $PATH
   2916 do
   2917   IFS=$as_save_IFS
   2918   case $as_dir in #(((
   2919     '') as_dir=./ ;;
   2920     */) ;;
   2921     *) as_dir=$as_dir/ ;;
   2922   esac
   2923     for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2925     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2926     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930   done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi
   2934 fi
   2935 STRIP=$ac_cv_prog_STRIP
   2936 if test -n "$STRIP"; then
   2937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2938 printf "%s\n" "$STRIP" >&6; }
   2939 else
   2940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2941 printf "%s\n" "no" >&6; }
   2942 fi
   2943 
   2944 
   2945 fi
   2946 if test -z "$ac_cv_prog_STRIP"; then
   2947   ac_ct_STRIP=$STRIP
   2948   # Extract the first word of "strip", so it can be a program name with args.
   2949 set dummy strip; ac_word=$2
   2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2951 printf %s "checking for $ac_word... " >&6; }
   2952 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2953 then :
   2954   printf %s "(cached) " >&6
   2955 else $as_nop
   2956   if test -n "$ac_ct_STRIP"; then
   2957   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2958 else
   2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2960 for as_dir in $PATH
   2961 do
   2962   IFS=$as_save_IFS
   2963   case $as_dir in #(((
   2964     '') as_dir=./ ;;
   2965     */) ;;
   2966     *) as_dir=$as_dir/ ;;
   2967   esac
   2968     for ac_exec_ext in '' $ac_executable_extensions; do
   2969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2970     ac_cv_prog_ac_ct_STRIP="strip"
   2971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2972     break 2
   2973   fi
   2974 done
   2975   done
   2976 IFS=$as_save_IFS
   2977 
   2978 fi
   2979 fi
   2980 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2981 if test -n "$ac_ct_STRIP"; then
   2982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2983 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2984 else
   2985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2986 printf "%s\n" "no" >&6; }
   2987 fi
   2988 
   2989   if test "x$ac_ct_STRIP" = x; then
   2990     STRIP=":"
   2991   else
   2992     case $cross_compiling:$ac_tool_warned in
   2993 yes:)
   2994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2996 ac_tool_warned=yes ;;
   2997 esac
   2998     STRIP=$ac_ct_STRIP
   2999   fi
   3000 else
   3001   STRIP="$ac_cv_prog_STRIP"
   3002 fi
   3003 
   3004 fi
   3005 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3006 
   3007 
   3008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3009 printf %s "checking for a race-free mkdir -p... " >&6; }
   3010 if test -z "$MKDIR_P"; then
   3011   if test ${ac_cv_path_mkdir+y}
   3012 then :
   3013   printf %s "(cached) " >&6
   3014 else $as_nop
   3015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3017 do
   3018   IFS=$as_save_IFS
   3019   case $as_dir in #(((
   3020     '') as_dir=./ ;;
   3021     */) ;;
   3022     *) as_dir=$as_dir/ ;;
   3023   esac
   3024     for ac_prog in mkdir gmkdir; do
   3025 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3026 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3027 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3028 	     'mkdir ('*'coreutils) '* | \
   3029 	     'BusyBox '* | \
   3030 	     'mkdir (fileutils) '4.1*)
   3031 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3032 	       break 3;;
   3033 	   esac
   3034 	 done
   3035        done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 fi
   3040 
   3041   test -d ./--version && rmdir ./--version
   3042   if test ${ac_cv_path_mkdir+y}; then
   3043     MKDIR_P="$ac_cv_path_mkdir -p"
   3044   else
   3045     # As a last resort, use the slow shell script.  Don't cache a
   3046     # value for MKDIR_P within a source directory, because that will
   3047     # break other packages using the cache if that directory is
   3048     # removed, or if the value is a relative name.
   3049     MKDIR_P="$ac_install_sh -d"
   3050   fi
   3051 fi
   3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3053 printf "%s\n" "$MKDIR_P" >&6; }
   3054 
   3055 for ac_prog in gawk mawk nawk awk
   3056 do
   3057   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3058 set dummy $ac_prog; ac_word=$2
   3059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3060 printf %s "checking for $ac_word... " >&6; }
   3061 if test ${ac_cv_prog_AWK+y}
   3062 then :
   3063   printf %s "(cached) " >&6
   3064 else $as_nop
   3065   if test -n "$AWK"; then
   3066   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3067 else
   3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3069 for as_dir in $PATH
   3070 do
   3071   IFS=$as_save_IFS
   3072   case $as_dir in #(((
   3073     '') as_dir=./ ;;
   3074     */) ;;
   3075     *) as_dir=$as_dir/ ;;
   3076   esac
   3077     for ac_exec_ext in '' $ac_executable_extensions; do
   3078   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3079     ac_cv_prog_AWK="$ac_prog"
   3080     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3081     break 2
   3082   fi
   3083 done
   3084   done
   3085 IFS=$as_save_IFS
   3086 
   3087 fi
   3088 fi
   3089 AWK=$ac_cv_prog_AWK
   3090 if test -n "$AWK"; then
   3091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3092 printf "%s\n" "$AWK" >&6; }
   3093 else
   3094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 printf "%s\n" "no" >&6; }
   3096 fi
   3097 
   3098 
   3099   test -n "$AWK" && break
   3100 done
   3101 
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3103 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3104 set x ${MAKE-make}
   3105 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3106 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3107 then :
   3108   printf %s "(cached) " >&6
   3109 else $as_nop
   3110   cat >conftest.make <<\_ACEOF
   3111 SHELL = /bin/sh
   3112 all:
   3113 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3114 _ACEOF
   3115 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3116 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3117   *@@@%%%=?*=@@@%%%*)
   3118     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3119   *)
   3120     eval ac_cv_prog_make_${ac_make}_set=no;;
   3121 esac
   3122 rm -f conftest.make
   3123 fi
   3124 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3126 printf "%s\n" "yes" >&6; }
   3127   SET_MAKE=
   3128 else
   3129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3130 printf "%s\n" "no" >&6; }
   3131   SET_MAKE="MAKE=${MAKE-make}"
   3132 fi
   3133 
   3134 rm -rf .tst 2>/dev/null
   3135 mkdir .tst 2>/dev/null
   3136 if test -d .tst; then
   3137   am__leading_dot=.
   3138 else
   3139   am__leading_dot=_
   3140 fi
   3141 rmdir .tst 2>/dev/null
   3142 
   3143 # Check whether --enable-silent-rules was given.
   3144 if test ${enable_silent_rules+y}
   3145 then :
   3146   enableval=$enable_silent_rules;
   3147 fi
   3148 
   3149 case $enable_silent_rules in # (((
   3150   yes) AM_DEFAULT_VERBOSITY=0;;
   3151    no) AM_DEFAULT_VERBOSITY=1;;
   3152     *) AM_DEFAULT_VERBOSITY=1;;
   3153 esac
   3154 am_make=${MAKE-make}
   3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3156 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3157 if test ${am_cv_make_support_nested_variables+y}
   3158 then :
   3159   printf %s "(cached) " >&6
   3160 else $as_nop
   3161   if printf "%s\n" 'TRUE=$(BAR$(V))
   3162 BAR0=false
   3163 BAR1=true
   3164 V=1
   3165 am__doit:
   3166 	@$(TRUE)
   3167 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3168   am_cv_make_support_nested_variables=yes
   3169 else
   3170   am_cv_make_support_nested_variables=no
   3171 fi
   3172 fi
   3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3174 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3175 if test $am_cv_make_support_nested_variables = yes; then
   3176     AM_V='$(V)'
   3177   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3178 else
   3179   AM_V=$AM_DEFAULT_VERBOSITY
   3180   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3181 fi
   3182 AM_BACKSLASH='\'
   3183 
   3184 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3185   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3186   # is not polluted with repeated "-I."
   3187   am__isrc=' -I$(srcdir)'
   3188   # test to see if srcdir already configured
   3189   if test -f $srcdir/config.status; then
   3190     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3191   fi
   3192 fi
   3193 
   3194 # test whether we have cygpath
   3195 if test -z "$CYGPATH_W"; then
   3196   if (cygpath --version) >/dev/null 2>/dev/null; then
   3197     CYGPATH_W='cygpath -w'
   3198   else
   3199     CYGPATH_W=echo
   3200   fi
   3201 fi
   3202 
   3203 
   3204 # Define the identity of the package.
   3205  PACKAGE='libXcomposite'
   3206  VERSION='0.4.6'
   3207 
   3208 
   3209 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3210 
   3211 
   3212 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3213 
   3214 # Some tools Automake needs.
   3215 
   3216 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3217 
   3218 
   3219 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3220 
   3221 
   3222 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3223 
   3224 
   3225 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3226 
   3227 
   3228 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3229 
   3230 # For better backward compatibility.  To be removed once Automake 1.9.x
   3231 # dies out for good.  For more background, see:
   3232 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3233 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3234 mkdir_p='$(MKDIR_P)'
   3235 
   3236 # We need awk for the "check" target (and possibly the TAP driver).  The
   3237 # system "awk" is bad on some platforms.
   3238 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3239 # in the wild :-(  We should find a proper way to deprecate it ...
   3240 AMTAR='$${TAR-tar}'
   3241 
   3242 
   3243 # We'll loop over all known methods to create a tar archive until one works.
   3244 _am_tools='gnutar  pax cpio none'
   3245 
   3246 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3247 
   3248 
   3249 
   3250 
   3251 
   3252 # Variables for tags utilities; see am/tags.am
   3253 if test -z "$CTAGS"; then
   3254   CTAGS=ctags
   3255 fi
   3256 
   3257 if test -z "$ETAGS"; then
   3258   ETAGS=etags
   3259 fi
   3260 
   3261 if test -z "$CSCOPE"; then
   3262   CSCOPE=cscope
   3263 fi
   3264 
   3265 
   3266 
   3267 # POSIX will say in a future version that running "rm -f" with no argument
   3268 # is OK; and we want to be able to make that assumption in our Makefile
   3269 # recipes.  So use an aggressive probe to check that the usage we want is
   3270 # actually supported "in the wild" to an acceptable degree.
   3271 # See automake bug#10828.
   3272 # To make any issue more visible, cause the running configure to be aborted
   3273 # by default if the 'rm' program in use doesn't match our expectations; the
   3274 # user can still override this though.
   3275 if rm -f && rm -fr && rm -rf; then : OK; else
   3276   cat >&2 <<'END'
   3277 Oops!
   3278 
   3279 Your 'rm' program seems unable to run without file operands specified
   3280 on the command line, even when the '-f' option is present.  This is contrary
   3281 to the behaviour of most rm programs out there, and not conforming with
   3282 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3283 
   3284 Please tell bug-automake@gnu.org about your system, including the value
   3285 of your $PATH and any error possibly output before this message.  This
   3286 can help us improve future automake versions.
   3287 
   3288 END
   3289   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3290     echo 'Configuration will proceed anyway, since you have set the' >&2
   3291     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3292     echo >&2
   3293   else
   3294     cat >&2 <<'END'
   3295 Aborting the configuration process, to ensure you take notice of the issue.
   3296 
   3297 You can download and install GNU coreutils to get an 'rm' implementation
   3298 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3299 
   3300 If you want to complete the configuration process using your problematic
   3301 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3302 to "yes", and re-run configure.
   3303 
   3304 END
   3305     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3306   fi
   3307 fi
   3308 
   3309 
   3310 # Initialize libtool
   3311 case `pwd` in
   3312   *\ * | *\	*)
   3313     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3314 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3315 esac
   3316 
   3317 
   3318 
   3319 macro_version='2.4.7'
   3320 macro_revision='2.4.7'
   3321 
   3322 
   3323 
   3324 
   3325 
   3326 
   3327 
   3328 
   3329 
   3330 
   3331 
   3332 
   3333 
   3334 
   3335 ltmain=$ac_aux_dir/ltmain.sh
   3336 
   3337 
   3338 
   3339   # Make sure we can run config.sub.
   3340 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3341   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3342 
   3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3344 printf %s "checking build system type... " >&6; }
   3345 if test ${ac_cv_build+y}
   3346 then :
   3347   printf %s "(cached) " >&6
   3348 else $as_nop
   3349   ac_build_alias=$build_alias
   3350 test "x$ac_build_alias" = x &&
   3351   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3352 test "x$ac_build_alias" = x &&
   3353   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3354 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3355   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3356 
   3357 fi
   3358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3359 printf "%s\n" "$ac_cv_build" >&6; }
   3360 case $ac_cv_build in
   3361 *-*-*) ;;
   3362 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3363 esac
   3364 build=$ac_cv_build
   3365 ac_save_IFS=$IFS; IFS='-'
   3366 set x $ac_cv_build
   3367 shift
   3368 build_cpu=$1
   3369 build_vendor=$2
   3370 shift; shift
   3371 # Remember, the first character of IFS is used to create $*,
   3372 # except with old shells:
   3373 build_os=$*
   3374 IFS=$ac_save_IFS
   3375 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3376 
   3377 
   3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3379 printf %s "checking host system type... " >&6; }
   3380 if test ${ac_cv_host+y}
   3381 then :
   3382   printf %s "(cached) " >&6
   3383 else $as_nop
   3384   if test "x$host_alias" = x; then
   3385   ac_cv_host=$ac_cv_build
   3386 else
   3387   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3388     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3389 fi
   3390 
   3391 fi
   3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3393 printf "%s\n" "$ac_cv_host" >&6; }
   3394 case $ac_cv_host in
   3395 *-*-*) ;;
   3396 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3397 esac
   3398 host=$ac_cv_host
   3399 ac_save_IFS=$IFS; IFS='-'
   3400 set x $ac_cv_host
   3401 shift
   3402 host_cpu=$1
   3403 host_vendor=$2
   3404 shift; shift
   3405 # Remember, the first character of IFS is used to create $*,
   3406 # except with old shells:
   3407 host_os=$*
   3408 IFS=$ac_save_IFS
   3409 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3410 
   3411 
   3412 # Backslashify metacharacters that are still active within
   3413 # double-quoted strings.
   3414 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3415 
   3416 # Same as above, but do not quote variable references.
   3417 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3418 
   3419 # Sed substitution to delay expansion of an escaped shell variable in a
   3420 # double_quote_subst'ed string.
   3421 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3422 
   3423 # Sed substitution to delay expansion of an escaped single quote.
   3424 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3425 
   3426 # Sed substitution to avoid accidental globbing in evaled expressions
   3427 no_glob_subst='s/\*/\\\*/g'
   3428 
   3429 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3430 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3431 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3432 
   3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3434 printf %s "checking how to print strings... " >&6; }
   3435 # Test print first, because it will be a builtin if present.
   3436 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3437    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3438   ECHO='print -r --'
   3439 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3440   ECHO='printf %s\n'
   3441 else
   3442   # Use this function as a fallback that always works.
   3443   func_fallback_echo ()
   3444   {
   3445     eval 'cat <<_LTECHO_EOF
   3446 $1
   3447 _LTECHO_EOF'
   3448   }
   3449   ECHO='func_fallback_echo'
   3450 fi
   3451 
   3452 # func_echo_all arg...
   3453 # Invoke $ECHO with all args, space-separated.
   3454 func_echo_all ()
   3455 {
   3456     $ECHO ""
   3457 }
   3458 
   3459 case $ECHO in
   3460   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3461 printf "%s\n" "printf" >&6; } ;;
   3462   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3463 printf "%s\n" "print -r" >&6; } ;;
   3464   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3465 printf "%s\n" "cat" >&6; } ;;
   3466 esac
   3467 
   3468 
   3469 
   3470 
   3471 
   3472 
   3473 
   3474 
   3475 
   3476 
   3477 
   3478 
   3479 
   3480 
   3481 
   3482 
   3483 
   3484 
   3485 
   3486 
   3487 
   3488 
   3489 
   3490 DEPDIR="${am__leading_dot}deps"
   3491 
   3492 ac_config_commands="$ac_config_commands depfiles"
   3493 
   3494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3495 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3496 cat > confinc.mk << 'END'
   3497 am__doit:
   3498 	@echo this is the am__doit target >confinc.out
   3499 .PHONY: am__doit
   3500 END
   3501 am__include="#"
   3502 am__quote=
   3503 # BSD make does it like this.
   3504 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3505 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3506 echo 'include confinc.mk # ignored' > confmf.GNU
   3507 _am_result=no
   3508 for s in GNU BSD; do
   3509   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3510    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3511    ac_status=$?
   3512    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3513    (exit $ac_status); }
   3514   case $?:`cat confinc.out 2>/dev/null` in #(
   3515   '0:this is the am__doit target') :
   3516     case $s in #(
   3517   BSD) :
   3518     am__include='.include' am__quote='"' ;; #(
   3519   *) :
   3520     am__include='include' am__quote='' ;;
   3521 esac ;; #(
   3522   *) :
   3523      ;;
   3524 esac
   3525   if test "$am__include" != "#"; then
   3526     _am_result="yes ($s style)"
   3527     break
   3528   fi
   3529 done
   3530 rm -f confinc.* confmf.*
   3531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3532 printf "%s\n" "${_am_result}" >&6; }
   3533 
   3534 # Check whether --enable-dependency-tracking was given.
   3535 if test ${enable_dependency_tracking+y}
   3536 then :
   3537   enableval=$enable_dependency_tracking;
   3538 fi
   3539 
   3540 if test "x$enable_dependency_tracking" != xno; then
   3541   am_depcomp="$ac_aux_dir/depcomp"
   3542   AMDEPBACKSLASH='\'
   3543   am__nodep='_no'
   3544 fi
   3545  if test "x$enable_dependency_tracking" != xno; then
   3546   AMDEP_TRUE=
   3547   AMDEP_FALSE='#'
   3548 else
   3549   AMDEP_TRUE='#'
   3550   AMDEP_FALSE=
   3551 fi
   3552 
   3553 
   3554 ac_ext=c
   3555 ac_cpp='$CPP $CPPFLAGS'
   3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3559 if test -n "$ac_tool_prefix"; then
   3560   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3561 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3563 printf %s "checking for $ac_word... " >&6; }
   3564 if test ${ac_cv_prog_CC+y}
   3565 then :
   3566   printf %s "(cached) " >&6
   3567 else $as_nop
   3568   if test -n "$CC"; then
   3569   ac_cv_prog_CC="$CC" # Let the user override the test.
   3570 else
   3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3572 for as_dir in $PATH
   3573 do
   3574   IFS=$as_save_IFS
   3575   case $as_dir in #(((
   3576     '') as_dir=./ ;;
   3577     */) ;;
   3578     *) as_dir=$as_dir/ ;;
   3579   esac
   3580     for ac_exec_ext in '' $ac_executable_extensions; do
   3581   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3582     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3583     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3584     break 2
   3585   fi
   3586 done
   3587   done
   3588 IFS=$as_save_IFS
   3589 
   3590 fi
   3591 fi
   3592 CC=$ac_cv_prog_CC
   3593 if test -n "$CC"; then
   3594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3595 printf "%s\n" "$CC" >&6; }
   3596 else
   3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3598 printf "%s\n" "no" >&6; }
   3599 fi
   3600 
   3601 
   3602 fi
   3603 if test -z "$ac_cv_prog_CC"; then
   3604   ac_ct_CC=$CC
   3605   # Extract the first word of "gcc", so it can be a program name with args.
   3606 set dummy gcc; ac_word=$2
   3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3608 printf %s "checking for $ac_word... " >&6; }
   3609 if test ${ac_cv_prog_ac_ct_CC+y}
   3610 then :
   3611   printf %s "(cached) " >&6
   3612 else $as_nop
   3613   if test -n "$ac_ct_CC"; then
   3614   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3615 else
   3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3617 for as_dir in $PATH
   3618 do
   3619   IFS=$as_save_IFS
   3620   case $as_dir in #(((
   3621     '') as_dir=./ ;;
   3622     */) ;;
   3623     *) as_dir=$as_dir/ ;;
   3624   esac
   3625     for ac_exec_ext in '' $ac_executable_extensions; do
   3626   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3627     ac_cv_prog_ac_ct_CC="gcc"
   3628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3629     break 2
   3630   fi
   3631 done
   3632   done
   3633 IFS=$as_save_IFS
   3634 
   3635 fi
   3636 fi
   3637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3638 if test -n "$ac_ct_CC"; then
   3639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3640 printf "%s\n" "$ac_ct_CC" >&6; }
   3641 else
   3642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3643 printf "%s\n" "no" >&6; }
   3644 fi
   3645 
   3646   if test "x$ac_ct_CC" = x; then
   3647     CC=""
   3648   else
   3649     case $cross_compiling:$ac_tool_warned in
   3650 yes:)
   3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3652 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3653 ac_tool_warned=yes ;;
   3654 esac
   3655     CC=$ac_ct_CC
   3656   fi
   3657 else
   3658   CC="$ac_cv_prog_CC"
   3659 fi
   3660 
   3661 if test -z "$CC"; then
   3662           if test -n "$ac_tool_prefix"; then
   3663     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3664 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3666 printf %s "checking for $ac_word... " >&6; }
   3667 if test ${ac_cv_prog_CC+y}
   3668 then :
   3669   printf %s "(cached) " >&6
   3670 else $as_nop
   3671   if test -n "$CC"; then
   3672   ac_cv_prog_CC="$CC" # Let the user override the test.
   3673 else
   3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3675 for as_dir in $PATH
   3676 do
   3677   IFS=$as_save_IFS
   3678   case $as_dir in #(((
   3679     '') as_dir=./ ;;
   3680     */) ;;
   3681     *) as_dir=$as_dir/ ;;
   3682   esac
   3683     for ac_exec_ext in '' $ac_executable_extensions; do
   3684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3685     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3687     break 2
   3688   fi
   3689 done
   3690   done
   3691 IFS=$as_save_IFS
   3692 
   3693 fi
   3694 fi
   3695 CC=$ac_cv_prog_CC
   3696 if test -n "$CC"; then
   3697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3698 printf "%s\n" "$CC" >&6; }
   3699 else
   3700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3701 printf "%s\n" "no" >&6; }
   3702 fi
   3703 
   3704 
   3705   fi
   3706 fi
   3707 if test -z "$CC"; then
   3708   # Extract the first word of "cc", so it can be a program name with args.
   3709 set dummy cc; ac_word=$2
   3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3711 printf %s "checking for $ac_word... " >&6; }
   3712 if test ${ac_cv_prog_CC+y}
   3713 then :
   3714   printf %s "(cached) " >&6
   3715 else $as_nop
   3716   if test -n "$CC"; then
   3717   ac_cv_prog_CC="$CC" # Let the user override the test.
   3718 else
   3719   ac_prog_rejected=no
   3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3721 for as_dir in $PATH
   3722 do
   3723   IFS=$as_save_IFS
   3724   case $as_dir in #(((
   3725     '') as_dir=./ ;;
   3726     */) ;;
   3727     *) as_dir=$as_dir/ ;;
   3728   esac
   3729     for ac_exec_ext in '' $ac_executable_extensions; do
   3730   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3731     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3732        ac_prog_rejected=yes
   3733        continue
   3734      fi
   3735     ac_cv_prog_CC="cc"
   3736     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3737     break 2
   3738   fi
   3739 done
   3740   done
   3741 IFS=$as_save_IFS
   3742 
   3743 if test $ac_prog_rejected = yes; then
   3744   # We found a bogon in the path, so make sure we never use it.
   3745   set dummy $ac_cv_prog_CC
   3746   shift
   3747   if test $# != 0; then
   3748     # We chose a different compiler from the bogus one.
   3749     # However, it has the same basename, so the bogon will be chosen
   3750     # first if we set CC to just the basename; use the full file name.
   3751     shift
   3752     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3753   fi
   3754 fi
   3755 fi
   3756 fi
   3757 CC=$ac_cv_prog_CC
   3758 if test -n "$CC"; then
   3759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3760 printf "%s\n" "$CC" >&6; }
   3761 else
   3762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3763 printf "%s\n" "no" >&6; }
   3764 fi
   3765 
   3766 
   3767 fi
   3768 if test -z "$CC"; then
   3769   if test -n "$ac_tool_prefix"; then
   3770   for ac_prog in cl.exe
   3771   do
   3772     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3775 printf %s "checking for $ac_word... " >&6; }
   3776 if test ${ac_cv_prog_CC+y}
   3777 then :
   3778   printf %s "(cached) " >&6
   3779 else $as_nop
   3780   if test -n "$CC"; then
   3781   ac_cv_prog_CC="$CC" # Let the user override the test.
   3782 else
   3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3784 for as_dir in $PATH
   3785 do
   3786   IFS=$as_save_IFS
   3787   case $as_dir in #(((
   3788     '') as_dir=./ ;;
   3789     */) ;;
   3790     *) as_dir=$as_dir/ ;;
   3791   esac
   3792     for ac_exec_ext in '' $ac_executable_extensions; do
   3793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3794     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3796     break 2
   3797   fi
   3798 done
   3799   done
   3800 IFS=$as_save_IFS
   3801 
   3802 fi
   3803 fi
   3804 CC=$ac_cv_prog_CC
   3805 if test -n "$CC"; then
   3806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3807 printf "%s\n" "$CC" >&6; }
   3808 else
   3809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3810 printf "%s\n" "no" >&6; }
   3811 fi
   3812 
   3813 
   3814     test -n "$CC" && break
   3815   done
   3816 fi
   3817 if test -z "$CC"; then
   3818   ac_ct_CC=$CC
   3819   for ac_prog in cl.exe
   3820 do
   3821   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3822 set dummy $ac_prog; ac_word=$2
   3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3824 printf %s "checking for $ac_word... " >&6; }
   3825 if test ${ac_cv_prog_ac_ct_CC+y}
   3826 then :
   3827   printf %s "(cached) " >&6
   3828 else $as_nop
   3829   if test -n "$ac_ct_CC"; then
   3830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3831 else
   3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3833 for as_dir in $PATH
   3834 do
   3835   IFS=$as_save_IFS
   3836   case $as_dir in #(((
   3837     '') as_dir=./ ;;
   3838     */) ;;
   3839     *) as_dir=$as_dir/ ;;
   3840   esac
   3841     for ac_exec_ext in '' $ac_executable_extensions; do
   3842   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3843     ac_cv_prog_ac_ct_CC="$ac_prog"
   3844     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3845     break 2
   3846   fi
   3847 done
   3848   done
   3849 IFS=$as_save_IFS
   3850 
   3851 fi
   3852 fi
   3853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3854 if test -n "$ac_ct_CC"; then
   3855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3856 printf "%s\n" "$ac_ct_CC" >&6; }
   3857 else
   3858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3859 printf "%s\n" "no" >&6; }
   3860 fi
   3861 
   3862 
   3863   test -n "$ac_ct_CC" && break
   3864 done
   3865 
   3866   if test "x$ac_ct_CC" = x; then
   3867     CC=""
   3868   else
   3869     case $cross_compiling:$ac_tool_warned in
   3870 yes:)
   3871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3872 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3873 ac_tool_warned=yes ;;
   3874 esac
   3875     CC=$ac_ct_CC
   3876   fi
   3877 fi
   3878 
   3879 fi
   3880 if test -z "$CC"; then
   3881   if test -n "$ac_tool_prefix"; then
   3882   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3883 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3885 printf %s "checking for $ac_word... " >&6; }
   3886 if test ${ac_cv_prog_CC+y}
   3887 then :
   3888   printf %s "(cached) " >&6
   3889 else $as_nop
   3890   if test -n "$CC"; then
   3891   ac_cv_prog_CC="$CC" # Let the user override the test.
   3892 else
   3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3894 for as_dir in $PATH
   3895 do
   3896   IFS=$as_save_IFS
   3897   case $as_dir in #(((
   3898     '') as_dir=./ ;;
   3899     */) ;;
   3900     *) as_dir=$as_dir/ ;;
   3901   esac
   3902     for ac_exec_ext in '' $ac_executable_extensions; do
   3903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3904     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3905     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3906     break 2
   3907   fi
   3908 done
   3909   done
   3910 IFS=$as_save_IFS
   3911 
   3912 fi
   3913 fi
   3914 CC=$ac_cv_prog_CC
   3915 if test -n "$CC"; then
   3916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3917 printf "%s\n" "$CC" >&6; }
   3918 else
   3919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3920 printf "%s\n" "no" >&6; }
   3921 fi
   3922 
   3923 
   3924 fi
   3925 if test -z "$ac_cv_prog_CC"; then
   3926   ac_ct_CC=$CC
   3927   # Extract the first word of "clang", so it can be a program name with args.
   3928 set dummy clang; ac_word=$2
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3930 printf %s "checking for $ac_word... " >&6; }
   3931 if test ${ac_cv_prog_ac_ct_CC+y}
   3932 then :
   3933   printf %s "(cached) " >&6
   3934 else $as_nop
   3935   if test -n "$ac_ct_CC"; then
   3936   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3937 else
   3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3939 for as_dir in $PATH
   3940 do
   3941   IFS=$as_save_IFS
   3942   case $as_dir in #(((
   3943     '') as_dir=./ ;;
   3944     */) ;;
   3945     *) as_dir=$as_dir/ ;;
   3946   esac
   3947     for ac_exec_ext in '' $ac_executable_extensions; do
   3948   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3949     ac_cv_prog_ac_ct_CC="clang"
   3950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3951     break 2
   3952   fi
   3953 done
   3954   done
   3955 IFS=$as_save_IFS
   3956 
   3957 fi
   3958 fi
   3959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3960 if test -n "$ac_ct_CC"; then
   3961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3962 printf "%s\n" "$ac_ct_CC" >&6; }
   3963 else
   3964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3965 printf "%s\n" "no" >&6; }
   3966 fi
   3967 
   3968   if test "x$ac_ct_CC" = x; then
   3969     CC=""
   3970   else
   3971     case $cross_compiling:$ac_tool_warned in
   3972 yes:)
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3975 ac_tool_warned=yes ;;
   3976 esac
   3977     CC=$ac_ct_CC
   3978   fi
   3979 else
   3980   CC="$ac_cv_prog_CC"
   3981 fi
   3982 
   3983 fi
   3984 
   3985 
   3986 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3987 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3988 as_fn_error $? "no acceptable C compiler found in \$PATH
   3989 See \`config.log' for more details" "$LINENO" 5; }
   3990 
   3991 # Provide some information about the compiler.
   3992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3993 set X $ac_compile
   3994 ac_compiler=$2
   3995 for ac_option in --version -v -V -qversion -version; do
   3996   { { ac_try="$ac_compiler $ac_option >&5"
   3997 case "(($ac_try" in
   3998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3999   *) ac_try_echo=$ac_try;;
   4000 esac
   4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4002 printf "%s\n" "$ac_try_echo"; } >&5
   4003   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4004   ac_status=$?
   4005   if test -s conftest.err; then
   4006     sed '10a\
   4007 ... rest of stderr output deleted ...
   4008          10q' conftest.err >conftest.er1
   4009     cat conftest.er1 >&5
   4010   fi
   4011   rm -f conftest.er1 conftest.err
   4012   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4013   test $ac_status = 0; }
   4014 done
   4015 
   4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 
   4019 int
   4020 main (void)
   4021 {
   4022 
   4023   ;
   4024   return 0;
   4025 }
   4026 _ACEOF
   4027 ac_clean_files_save=$ac_clean_files
   4028 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4029 # Try to create an executable without -o first, disregard a.out.
   4030 # It will help us diagnose broken compilers, and finding out an intuition
   4031 # of exeext.
   4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4033 printf %s "checking whether the C compiler works... " >&6; }
   4034 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4035 
   4036 # The possible output files:
   4037 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4038 
   4039 ac_rmfiles=
   4040 for ac_file in $ac_files
   4041 do
   4042   case $ac_file in
   4043     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4044     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4045   esac
   4046 done
   4047 rm -f $ac_rmfiles
   4048 
   4049 if { { ac_try="$ac_link_default"
   4050 case "(($ac_try" in
   4051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4052   *) ac_try_echo=$ac_try;;
   4053 esac
   4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4055 printf "%s\n" "$ac_try_echo"; } >&5
   4056   (eval "$ac_link_default") 2>&5
   4057   ac_status=$?
   4058   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4059   test $ac_status = 0; }
   4060 then :
   4061   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4062 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4063 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4064 # so that the user can short-circuit this test for compilers unknown to
   4065 # Autoconf.
   4066 for ac_file in $ac_files ''
   4067 do
   4068   test -f "$ac_file" || continue
   4069   case $ac_file in
   4070     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4071 	;;
   4072     [ab].out )
   4073 	# We found the default executable, but exeext='' is most
   4074 	# certainly right.
   4075 	break;;
   4076     *.* )
   4077 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4078 	then :; else
   4079 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4080 	fi
   4081 	# We set ac_cv_exeext here because the later test for it is not
   4082 	# safe: cross compilers may not add the suffix if given an `-o'
   4083 	# argument, so we may need to know it at that point already.
   4084 	# Even if this section looks crufty: it has the advantage of
   4085 	# actually working.
   4086 	break;;
   4087     * )
   4088 	break;;
   4089   esac
   4090 done
   4091 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4092 
   4093 else $as_nop
   4094   ac_file=''
   4095 fi
   4096 if test -z "$ac_file"
   4097 then :
   4098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4099 printf "%s\n" "no" >&6; }
   4100 printf "%s\n" "$as_me: failed program was:" >&5
   4101 sed 's/^/| /' conftest.$ac_ext >&5
   4102 
   4103 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4104 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4105 as_fn_error 77 "C compiler cannot create executables
   4106 See \`config.log' for more details" "$LINENO" 5; }
   4107 else $as_nop
   4108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4109 printf "%s\n" "yes" >&6; }
   4110 fi
   4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4112 printf %s "checking for C compiler default output file name... " >&6; }
   4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4114 printf "%s\n" "$ac_file" >&6; }
   4115 ac_exeext=$ac_cv_exeext
   4116 
   4117 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4118 ac_clean_files=$ac_clean_files_save
   4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4120 printf %s "checking for suffix of executables... " >&6; }
   4121 if { { ac_try="$ac_link"
   4122 case "(($ac_try" in
   4123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4124   *) ac_try_echo=$ac_try;;
   4125 esac
   4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4127 printf "%s\n" "$ac_try_echo"; } >&5
   4128   (eval "$ac_link") 2>&5
   4129   ac_status=$?
   4130   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4131   test $ac_status = 0; }
   4132 then :
   4133   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4134 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4135 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4136 # `rm'.
   4137 for ac_file in conftest.exe conftest conftest.*; do
   4138   test -f "$ac_file" || continue
   4139   case $ac_file in
   4140     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4141     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4142 	  break;;
   4143     * ) break;;
   4144   esac
   4145 done
   4146 else $as_nop
   4147   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4149 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4150 See \`config.log' for more details" "$LINENO" 5; }
   4151 fi
   4152 rm -f conftest conftest$ac_cv_exeext
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4154 printf "%s\n" "$ac_cv_exeext" >&6; }
   4155 
   4156 rm -f conftest.$ac_ext
   4157 EXEEXT=$ac_cv_exeext
   4158 ac_exeext=$EXEEXT
   4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 #include <stdio.h>
   4162 int
   4163 main (void)
   4164 {
   4165 FILE *f = fopen ("conftest.out", "w");
   4166  return ferror (f) || fclose (f) != 0;
   4167 
   4168   ;
   4169   return 0;
   4170 }
   4171 _ACEOF
   4172 ac_clean_files="$ac_clean_files conftest.out"
   4173 # Check that the compiler produces executables we can run.  If not, either
   4174 # the compiler is broken, or we cross compile.
   4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4176 printf %s "checking whether we are cross compiling... " >&6; }
   4177 if test "$cross_compiling" != yes; then
   4178   { { ac_try="$ac_link"
   4179 case "(($ac_try" in
   4180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4181   *) ac_try_echo=$ac_try;;
   4182 esac
   4183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4184 printf "%s\n" "$ac_try_echo"; } >&5
   4185   (eval "$ac_link") 2>&5
   4186   ac_status=$?
   4187   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4188   test $ac_status = 0; }
   4189   if { ac_try='./conftest$ac_cv_exeext'
   4190   { { case "(($ac_try" in
   4191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4192   *) ac_try_echo=$ac_try;;
   4193 esac
   4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4195 printf "%s\n" "$ac_try_echo"; } >&5
   4196   (eval "$ac_try") 2>&5
   4197   ac_status=$?
   4198   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4199   test $ac_status = 0; }; }; then
   4200     cross_compiling=no
   4201   else
   4202     if test "$cross_compiling" = maybe; then
   4203 	cross_compiling=yes
   4204     else
   4205 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4207 as_fn_error 77 "cannot run C compiled programs.
   4208 If you meant to cross compile, use \`--host'.
   4209 See \`config.log' for more details" "$LINENO" 5; }
   4210     fi
   4211   fi
   4212 fi
   4213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4214 printf "%s\n" "$cross_compiling" >&6; }
   4215 
   4216 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4217 ac_clean_files=$ac_clean_files_save
   4218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4219 printf %s "checking for suffix of object files... " >&6; }
   4220 if test ${ac_cv_objext+y}
   4221 then :
   4222   printf %s "(cached) " >&6
   4223 else $as_nop
   4224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 
   4227 int
   4228 main (void)
   4229 {
   4230 
   4231   ;
   4232   return 0;
   4233 }
   4234 _ACEOF
   4235 rm -f conftest.o conftest.obj
   4236 if { { ac_try="$ac_compile"
   4237 case "(($ac_try" in
   4238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4239   *) ac_try_echo=$ac_try;;
   4240 esac
   4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4242 printf "%s\n" "$ac_try_echo"; } >&5
   4243   (eval "$ac_compile") 2>&5
   4244   ac_status=$?
   4245   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4246   test $ac_status = 0; }
   4247 then :
   4248   for ac_file in conftest.o conftest.obj conftest.*; do
   4249   test -f "$ac_file" || continue;
   4250   case $ac_file in
   4251     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4252     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4253        break;;
   4254   esac
   4255 done
   4256 else $as_nop
   4257   printf "%s\n" "$as_me: failed program was:" >&5
   4258 sed 's/^/| /' conftest.$ac_ext >&5
   4259 
   4260 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4261 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4262 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4263 See \`config.log' for more details" "$LINENO" 5; }
   4264 fi
   4265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4266 fi
   4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4268 printf "%s\n" "$ac_cv_objext" >&6; }
   4269 OBJEXT=$ac_cv_objext
   4270 ac_objext=$OBJEXT
   4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4272 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4273 if test ${ac_cv_c_compiler_gnu+y}
   4274 then :
   4275   printf %s "(cached) " >&6
   4276 else $as_nop
   4277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4278 /* end confdefs.h.  */
   4279 
   4280 int
   4281 main (void)
   4282 {
   4283 #ifndef __GNUC__
   4284        choke me
   4285 #endif
   4286 
   4287   ;
   4288   return 0;
   4289 }
   4290 _ACEOF
   4291 if ac_fn_c_try_compile "$LINENO"
   4292 then :
   4293   ac_compiler_gnu=yes
   4294 else $as_nop
   4295   ac_compiler_gnu=no
   4296 fi
   4297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4299 
   4300 fi
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4302 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4304 
   4305 if test $ac_compiler_gnu = yes; then
   4306   GCC=yes
   4307 else
   4308   GCC=
   4309 fi
   4310 ac_test_CFLAGS=${CFLAGS+y}
   4311 ac_save_CFLAGS=$CFLAGS
   4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4313 printf %s "checking whether $CC accepts -g... " >&6; }
   4314 if test ${ac_cv_prog_cc_g+y}
   4315 then :
   4316   printf %s "(cached) " >&6
   4317 else $as_nop
   4318   ac_save_c_werror_flag=$ac_c_werror_flag
   4319    ac_c_werror_flag=yes
   4320    ac_cv_prog_cc_g=no
   4321    CFLAGS="-g"
   4322    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4323 /* end confdefs.h.  */
   4324 
   4325 int
   4326 main (void)
   4327 {
   4328 
   4329   ;
   4330   return 0;
   4331 }
   4332 _ACEOF
   4333 if ac_fn_c_try_compile "$LINENO"
   4334 then :
   4335   ac_cv_prog_cc_g=yes
   4336 else $as_nop
   4337   CFLAGS=""
   4338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4339 /* end confdefs.h.  */
   4340 
   4341 int
   4342 main (void)
   4343 {
   4344 
   4345   ;
   4346   return 0;
   4347 }
   4348 _ACEOF
   4349 if ac_fn_c_try_compile "$LINENO"
   4350 then :
   4351 
   4352 else $as_nop
   4353   ac_c_werror_flag=$ac_save_c_werror_flag
   4354 	 CFLAGS="-g"
   4355 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4356 /* end confdefs.h.  */
   4357 
   4358 int
   4359 main (void)
   4360 {
   4361 
   4362   ;
   4363   return 0;
   4364 }
   4365 _ACEOF
   4366 if ac_fn_c_try_compile "$LINENO"
   4367 then :
   4368   ac_cv_prog_cc_g=yes
   4369 fi
   4370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4371 fi
   4372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4373 fi
   4374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4375    ac_c_werror_flag=$ac_save_c_werror_flag
   4376 fi
   4377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4378 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4379 if test $ac_test_CFLAGS; then
   4380   CFLAGS=$ac_save_CFLAGS
   4381 elif test $ac_cv_prog_cc_g = yes; then
   4382   if test "$GCC" = yes; then
   4383     CFLAGS="-g -O2"
   4384   else
   4385     CFLAGS="-g"
   4386   fi
   4387 else
   4388   if test "$GCC" = yes; then
   4389     CFLAGS="-O2"
   4390   else
   4391     CFLAGS=
   4392   fi
   4393 fi
   4394 ac_prog_cc_stdc=no
   4395 if test x$ac_prog_cc_stdc = xno
   4396 then :
   4397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4398 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4399 if test ${ac_cv_prog_cc_c11+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else $as_nop
   4403   ac_cv_prog_cc_c11=no
   4404 ac_save_CC=$CC
   4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4406 /* end confdefs.h.  */
   4407 $ac_c_conftest_c11_program
   4408 _ACEOF
   4409 for ac_arg in '' -std=gnu11
   4410 do
   4411   CC="$ac_save_CC $ac_arg"
   4412   if ac_fn_c_try_compile "$LINENO"
   4413 then :
   4414   ac_cv_prog_cc_c11=$ac_arg
   4415 fi
   4416 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4417   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4418 done
   4419 rm -f conftest.$ac_ext
   4420 CC=$ac_save_CC
   4421 fi
   4422 
   4423 if test "x$ac_cv_prog_cc_c11" = xno
   4424 then :
   4425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4426 printf "%s\n" "unsupported" >&6; }
   4427 else $as_nop
   4428   if test "x$ac_cv_prog_cc_c11" = x
   4429 then :
   4430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4431 printf "%s\n" "none needed" >&6; }
   4432 else $as_nop
   4433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4434 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4435      CC="$CC $ac_cv_prog_cc_c11"
   4436 fi
   4437   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4438   ac_prog_cc_stdc=c11
   4439 fi
   4440 fi
   4441 if test x$ac_prog_cc_stdc = xno
   4442 then :
   4443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4444 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4445 if test ${ac_cv_prog_cc_c99+y}
   4446 then :
   4447   printf %s "(cached) " >&6
   4448 else $as_nop
   4449   ac_cv_prog_cc_c99=no
   4450 ac_save_CC=$CC
   4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4452 /* end confdefs.h.  */
   4453 $ac_c_conftest_c99_program
   4454 _ACEOF
   4455 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4456 do
   4457   CC="$ac_save_CC $ac_arg"
   4458   if ac_fn_c_try_compile "$LINENO"
   4459 then :
   4460   ac_cv_prog_cc_c99=$ac_arg
   4461 fi
   4462 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4463   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4464 done
   4465 rm -f conftest.$ac_ext
   4466 CC=$ac_save_CC
   4467 fi
   4468 
   4469 if test "x$ac_cv_prog_cc_c99" = xno
   4470 then :
   4471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4472 printf "%s\n" "unsupported" >&6; }
   4473 else $as_nop
   4474   if test "x$ac_cv_prog_cc_c99" = x
   4475 then :
   4476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4477 printf "%s\n" "none needed" >&6; }
   4478 else $as_nop
   4479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4480 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4481      CC="$CC $ac_cv_prog_cc_c99"
   4482 fi
   4483   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4484   ac_prog_cc_stdc=c99
   4485 fi
   4486 fi
   4487 if test x$ac_prog_cc_stdc = xno
   4488 then :
   4489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4490 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4491 if test ${ac_cv_prog_cc_c89+y}
   4492 then :
   4493   printf %s "(cached) " >&6
   4494 else $as_nop
   4495   ac_cv_prog_cc_c89=no
   4496 ac_save_CC=$CC
   4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4498 /* end confdefs.h.  */
   4499 $ac_c_conftest_c89_program
   4500 _ACEOF
   4501 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4502 do
   4503   CC="$ac_save_CC $ac_arg"
   4504   if ac_fn_c_try_compile "$LINENO"
   4505 then :
   4506   ac_cv_prog_cc_c89=$ac_arg
   4507 fi
   4508 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4509   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4510 done
   4511 rm -f conftest.$ac_ext
   4512 CC=$ac_save_CC
   4513 fi
   4514 
   4515 if test "x$ac_cv_prog_cc_c89" = xno
   4516 then :
   4517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4518 printf "%s\n" "unsupported" >&6; }
   4519 else $as_nop
   4520   if test "x$ac_cv_prog_cc_c89" = x
   4521 then :
   4522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4523 printf "%s\n" "none needed" >&6; }
   4524 else $as_nop
   4525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4526 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4527      CC="$CC $ac_cv_prog_cc_c89"
   4528 fi
   4529   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4530   ac_prog_cc_stdc=c89
   4531 fi
   4532 fi
   4533 
   4534 ac_ext=c
   4535 ac_cpp='$CPP $CPPFLAGS'
   4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4539 
   4540 
   4541   ac_ext=c
   4542 ac_cpp='$CPP $CPPFLAGS'
   4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4547 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4548 if test ${am_cv_prog_cc_c_o+y}
   4549 then :
   4550   printf %s "(cached) " >&6
   4551 else $as_nop
   4552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4553 /* end confdefs.h.  */
   4554 
   4555 int
   4556 main (void)
   4557 {
   4558 
   4559   ;
   4560   return 0;
   4561 }
   4562 _ACEOF
   4563   # Make sure it works both with $CC and with simple cc.
   4564   # Following AC_PROG_CC_C_O, we do the test twice because some
   4565   # compilers refuse to overwrite an existing .o file with -o,
   4566   # though they will create one.
   4567   am_cv_prog_cc_c_o=yes
   4568   for am_i in 1 2; do
   4569     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4570    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4571    ac_status=$?
   4572    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4573    (exit $ac_status); } \
   4574          && test -f conftest2.$ac_objext; then
   4575       : OK
   4576     else
   4577       am_cv_prog_cc_c_o=no
   4578       break
   4579     fi
   4580   done
   4581   rm -f core conftest*
   4582   unset am_i
   4583 fi
   4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4585 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4586 if test "$am_cv_prog_cc_c_o" != yes; then
   4587    # Losing compiler, so override with the script.
   4588    # FIXME: It is wrong to rewrite CC.
   4589    # But if we don't then we get into trouble of one sort or another.
   4590    # A longer-term fix would be to have automake use am__CC in this case,
   4591    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4592    CC="$am_aux_dir/compile $CC"
   4593 fi
   4594 ac_ext=c
   4595 ac_cpp='$CPP $CPPFLAGS'
   4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4599 
   4600 
   4601 depcc="$CC"   am_compiler_list=
   4602 
   4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4604 printf %s "checking dependency style of $depcc... " >&6; }
   4605 if test ${am_cv_CC_dependencies_compiler_type+y}
   4606 then :
   4607   printf %s "(cached) " >&6
   4608 else $as_nop
   4609   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4610   # We make a subdir and do the tests there.  Otherwise we can end up
   4611   # making bogus files that we don't know about and never remove.  For
   4612   # instance it was reported that on HP-UX the gcc test will end up
   4613   # making a dummy file named 'D' -- because '-MD' means "put the output
   4614   # in D".
   4615   rm -rf conftest.dir
   4616   mkdir conftest.dir
   4617   # Copy depcomp to subdir because otherwise we won't find it if we're
   4618   # using a relative directory.
   4619   cp "$am_depcomp" conftest.dir
   4620   cd conftest.dir
   4621   # We will build objects and dependencies in a subdirectory because
   4622   # it helps to detect inapplicable dependency modes.  For instance
   4623   # both Tru64's cc and ICC support -MD to output dependencies as a
   4624   # side effect of compilation, but ICC will put the dependencies in
   4625   # the current directory while Tru64 will put them in the object
   4626   # directory.
   4627   mkdir sub
   4628 
   4629   am_cv_CC_dependencies_compiler_type=none
   4630   if test "$am_compiler_list" = ""; then
   4631      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4632   fi
   4633   am__universal=false
   4634   case " $depcc " in #(
   4635      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4636      esac
   4637 
   4638   for depmode in $am_compiler_list; do
   4639     # Setup a source with many dependencies, because some compilers
   4640     # like to wrap large dependency lists on column 80 (with \), and
   4641     # we should not choose a depcomp mode which is confused by this.
   4642     #
   4643     # We need to recreate these files for each test, as the compiler may
   4644     # overwrite some of them when testing with obscure command lines.
   4645     # This happens at least with the AIX C compiler.
   4646     : > sub/conftest.c
   4647     for i in 1 2 3 4 5 6; do
   4648       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4649       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4650       # Solaris 10 /bin/sh.
   4651       echo '/* dummy */' > sub/conftst$i.h
   4652     done
   4653     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4654 
   4655     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4656     # mode.  It turns out that the SunPro C++ compiler does not properly
   4657     # handle '-M -o', and we need to detect this.  Also, some Intel
   4658     # versions had trouble with output in subdirs.
   4659     am__obj=sub/conftest.${OBJEXT-o}
   4660     am__minus_obj="-o $am__obj"
   4661     case $depmode in
   4662     gcc)
   4663       # This depmode causes a compiler race in universal mode.
   4664       test "$am__universal" = false || continue
   4665       ;;
   4666     nosideeffect)
   4667       # After this tag, mechanisms are not by side-effect, so they'll
   4668       # only be used when explicitly requested.
   4669       if test "x$enable_dependency_tracking" = xyes; then
   4670 	continue
   4671       else
   4672 	break
   4673       fi
   4674       ;;
   4675     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4676       # This compiler won't grok '-c -o', but also, the minuso test has
   4677       # not run yet.  These depmodes are late enough in the game, and
   4678       # so weak that their functioning should not be impacted.
   4679       am__obj=conftest.${OBJEXT-o}
   4680       am__minus_obj=
   4681       ;;
   4682     none) break ;;
   4683     esac
   4684     if depmode=$depmode \
   4685        source=sub/conftest.c object=$am__obj \
   4686        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4687        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4688          >/dev/null 2>conftest.err &&
   4689        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4690        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4691        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4692        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4693       # icc doesn't choke on unknown options, it will just issue warnings
   4694       # or remarks (even with -Werror).  So we grep stderr for any message
   4695       # that says an option was ignored or not supported.
   4696       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4697       #   icc: Command line warning: ignoring option '-M'; no argument required
   4698       # The diagnosis changed in icc 8.0:
   4699       #   icc: Command line remark: option '-MP' not supported
   4700       if (grep 'ignoring option' conftest.err ||
   4701           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4702         am_cv_CC_dependencies_compiler_type=$depmode
   4703         break
   4704       fi
   4705     fi
   4706   done
   4707 
   4708   cd ..
   4709   rm -rf conftest.dir
   4710 else
   4711   am_cv_CC_dependencies_compiler_type=none
   4712 fi
   4713 
   4714 fi
   4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4716 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4717 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4718 
   4719  if
   4720   test "x$enable_dependency_tracking" != xno \
   4721   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4722   am__fastdepCC_TRUE=
   4723   am__fastdepCC_FALSE='#'
   4724 else
   4725   am__fastdepCC_TRUE='#'
   4726   am__fastdepCC_FALSE=
   4727 fi
   4728 
   4729 
   4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4731 printf %s "checking for a sed that does not truncate output... " >&6; }
   4732 if test ${ac_cv_path_SED+y}
   4733 then :
   4734   printf %s "(cached) " >&6
   4735 else $as_nop
   4736             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4737      for ac_i in 1 2 3 4 5 6 7; do
   4738        ac_script="$ac_script$as_nl$ac_script"
   4739      done
   4740      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4741      { ac_script=; unset ac_script;}
   4742      if test -z "$SED"; then
   4743   ac_path_SED_found=false
   4744   # Loop through the user's path and test for each of PROGNAME-LIST
   4745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4746 for as_dir in $PATH
   4747 do
   4748   IFS=$as_save_IFS
   4749   case $as_dir in #(((
   4750     '') as_dir=./ ;;
   4751     */) ;;
   4752     *) as_dir=$as_dir/ ;;
   4753   esac
   4754     for ac_prog in sed gsed
   4755    do
   4756     for ac_exec_ext in '' $ac_executable_extensions; do
   4757       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4758       as_fn_executable_p "$ac_path_SED" || continue
   4759 # Check for GNU ac_path_SED and select it if it is found.
   4760   # Check for GNU $ac_path_SED
   4761 case `"$ac_path_SED" --version 2>&1` in
   4762 *GNU*)
   4763   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4764 *)
   4765   ac_count=0
   4766   printf %s 0123456789 >"conftest.in"
   4767   while :
   4768   do
   4769     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4770     mv "conftest.tmp" "conftest.in"
   4771     cp "conftest.in" "conftest.nl"
   4772     printf "%s\n" '' >> "conftest.nl"
   4773     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4774     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4775     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4776     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4777       # Best one so far, save it but keep looking for a better one
   4778       ac_cv_path_SED="$ac_path_SED"
   4779       ac_path_SED_max=$ac_count
   4780     fi
   4781     # 10*(2^10) chars as input seems more than enough
   4782     test $ac_count -gt 10 && break
   4783   done
   4784   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4785 esac
   4786 
   4787       $ac_path_SED_found && break 3
   4788     done
   4789   done
   4790   done
   4791 IFS=$as_save_IFS
   4792   if test -z "$ac_cv_path_SED"; then
   4793     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4794   fi
   4795 else
   4796   ac_cv_path_SED=$SED
   4797 fi
   4798 
   4799 fi
   4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4801 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4802  SED="$ac_cv_path_SED"
   4803   rm -f conftest.sed
   4804 
   4805 test -z "$SED" && SED=sed
   4806 Xsed="$SED -e 1s/^X//"
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4819 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4820 if test ${ac_cv_path_GREP+y}
   4821 then :
   4822   printf %s "(cached) " >&6
   4823 else $as_nop
   4824   if test -z "$GREP"; then
   4825   ac_path_GREP_found=false
   4826   # Loop through the user's path and test for each of PROGNAME-LIST
   4827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4829 do
   4830   IFS=$as_save_IFS
   4831   case $as_dir in #(((
   4832     '') as_dir=./ ;;
   4833     */) ;;
   4834     *) as_dir=$as_dir/ ;;
   4835   esac
   4836     for ac_prog in grep ggrep
   4837    do
   4838     for ac_exec_ext in '' $ac_executable_extensions; do
   4839       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4840       as_fn_executable_p "$ac_path_GREP" || continue
   4841 # Check for GNU ac_path_GREP and select it if it is found.
   4842   # Check for GNU $ac_path_GREP
   4843 case `"$ac_path_GREP" --version 2>&1` in
   4844 *GNU*)
   4845   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4846 *)
   4847   ac_count=0
   4848   printf %s 0123456789 >"conftest.in"
   4849   while :
   4850   do
   4851     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4852     mv "conftest.tmp" "conftest.in"
   4853     cp "conftest.in" "conftest.nl"
   4854     printf "%s\n" 'GREP' >> "conftest.nl"
   4855     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4856     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4857     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4858     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4859       # Best one so far, save it but keep looking for a better one
   4860       ac_cv_path_GREP="$ac_path_GREP"
   4861       ac_path_GREP_max=$ac_count
   4862     fi
   4863     # 10*(2^10) chars as input seems more than enough
   4864     test $ac_count -gt 10 && break
   4865   done
   4866   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4867 esac
   4868 
   4869       $ac_path_GREP_found && break 3
   4870     done
   4871   done
   4872   done
   4873 IFS=$as_save_IFS
   4874   if test -z "$ac_cv_path_GREP"; then
   4875     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4876   fi
   4877 else
   4878   ac_cv_path_GREP=$GREP
   4879 fi
   4880 
   4881 fi
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4883 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4884  GREP="$ac_cv_path_GREP"
   4885 
   4886 
   4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4888 printf %s "checking for egrep... " >&6; }
   4889 if test ${ac_cv_path_EGREP+y}
   4890 then :
   4891   printf %s "(cached) " >&6
   4892 else $as_nop
   4893   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4894    then ac_cv_path_EGREP="$GREP -E"
   4895    else
   4896      if test -z "$EGREP"; then
   4897   ac_path_EGREP_found=false
   4898   # Loop through the user's path and test for each of PROGNAME-LIST
   4899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4900 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4901 do
   4902   IFS=$as_save_IFS
   4903   case $as_dir in #(((
   4904     '') as_dir=./ ;;
   4905     */) ;;
   4906     *) as_dir=$as_dir/ ;;
   4907   esac
   4908     for ac_prog in egrep
   4909    do
   4910     for ac_exec_ext in '' $ac_executable_extensions; do
   4911       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4912       as_fn_executable_p "$ac_path_EGREP" || continue
   4913 # Check for GNU ac_path_EGREP and select it if it is found.
   4914   # Check for GNU $ac_path_EGREP
   4915 case `"$ac_path_EGREP" --version 2>&1` in
   4916 *GNU*)
   4917   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4918 *)
   4919   ac_count=0
   4920   printf %s 0123456789 >"conftest.in"
   4921   while :
   4922   do
   4923     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4924     mv "conftest.tmp" "conftest.in"
   4925     cp "conftest.in" "conftest.nl"
   4926     printf "%s\n" 'EGREP' >> "conftest.nl"
   4927     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4928     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4929     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4930     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4931       # Best one so far, save it but keep looking for a better one
   4932       ac_cv_path_EGREP="$ac_path_EGREP"
   4933       ac_path_EGREP_max=$ac_count
   4934     fi
   4935     # 10*(2^10) chars as input seems more than enough
   4936     test $ac_count -gt 10 && break
   4937   done
   4938   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4939 esac
   4940 
   4941       $ac_path_EGREP_found && break 3
   4942     done
   4943   done
   4944   done
   4945 IFS=$as_save_IFS
   4946   if test -z "$ac_cv_path_EGREP"; then
   4947     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4948   fi
   4949 else
   4950   ac_cv_path_EGREP=$EGREP
   4951 fi
   4952 
   4953    fi
   4954 fi
   4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4956 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4957  EGREP="$ac_cv_path_EGREP"
   4958 
   4959 
   4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4961 printf %s "checking for fgrep... " >&6; }
   4962 if test ${ac_cv_path_FGREP+y}
   4963 then :
   4964   printf %s "(cached) " >&6
   4965 else $as_nop
   4966   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4967    then ac_cv_path_FGREP="$GREP -F"
   4968    else
   4969      if test -z "$FGREP"; then
   4970   ac_path_FGREP_found=false
   4971   # Loop through the user's path and test for each of PROGNAME-LIST
   4972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4973 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4974 do
   4975   IFS=$as_save_IFS
   4976   case $as_dir in #(((
   4977     '') as_dir=./ ;;
   4978     */) ;;
   4979     *) as_dir=$as_dir/ ;;
   4980   esac
   4981     for ac_prog in fgrep
   4982    do
   4983     for ac_exec_ext in '' $ac_executable_extensions; do
   4984       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4985       as_fn_executable_p "$ac_path_FGREP" || continue
   4986 # Check for GNU ac_path_FGREP and select it if it is found.
   4987   # Check for GNU $ac_path_FGREP
   4988 case `"$ac_path_FGREP" --version 2>&1` in
   4989 *GNU*)
   4990   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4991 *)
   4992   ac_count=0
   4993   printf %s 0123456789 >"conftest.in"
   4994   while :
   4995   do
   4996     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4997     mv "conftest.tmp" "conftest.in"
   4998     cp "conftest.in" "conftest.nl"
   4999     printf "%s\n" 'FGREP' >> "conftest.nl"
   5000     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5001     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5002     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5003     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5004       # Best one so far, save it but keep looking for a better one
   5005       ac_cv_path_FGREP="$ac_path_FGREP"
   5006       ac_path_FGREP_max=$ac_count
   5007     fi
   5008     # 10*(2^10) chars as input seems more than enough
   5009     test $ac_count -gt 10 && break
   5010   done
   5011   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5012 esac
   5013 
   5014       $ac_path_FGREP_found && break 3
   5015     done
   5016   done
   5017   done
   5018 IFS=$as_save_IFS
   5019   if test -z "$ac_cv_path_FGREP"; then
   5020     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5021   fi
   5022 else
   5023   ac_cv_path_FGREP=$FGREP
   5024 fi
   5025 
   5026    fi
   5027 fi
   5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5029 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5030  FGREP="$ac_cv_path_FGREP"
   5031 
   5032 
   5033 test -z "$GREP" && GREP=grep
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 # Check whether --with-gnu-ld was given.
   5054 if test ${with_gnu_ld+y}
   5055 then :
   5056   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5057 else $as_nop
   5058   with_gnu_ld=no
   5059 fi
   5060 
   5061 ac_prog=ld
   5062 if test yes = "$GCC"; then
   5063   # Check if gcc -print-prog-name=ld gives a path.
   5064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5065 printf %s "checking for ld used by $CC... " >&6; }
   5066   case $host in
   5067   *-*-mingw*)
   5068     # gcc leaves a trailing carriage return, which upsets mingw
   5069     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5070   *)
   5071     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5072   esac
   5073   case $ac_prog in
   5074     # Accept absolute paths.
   5075     [\\/]* | ?:[\\/]*)
   5076       re_direlt='/[^/][^/]*/\.\./'
   5077       # Canonicalize the pathname of ld
   5078       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5079       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5080 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5081       done
   5082       test -z "$LD" && LD=$ac_prog
   5083       ;;
   5084   "")
   5085     # If it fails, then pretend we aren't using GCC.
   5086     ac_prog=ld
   5087     ;;
   5088   *)
   5089     # If it is relative, then search for the first ld in PATH.
   5090     with_gnu_ld=unknown
   5091     ;;
   5092   esac
   5093 elif test yes = "$with_gnu_ld"; then
   5094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5095 printf %s "checking for GNU ld... " >&6; }
   5096 else
   5097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5098 printf %s "checking for non-GNU ld... " >&6; }
   5099 fi
   5100 if test ${lt_cv_path_LD+y}
   5101 then :
   5102   printf %s "(cached) " >&6
   5103 else $as_nop
   5104   if test -z "$LD"; then
   5105   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5106   for ac_dir in $PATH; do
   5107     IFS=$lt_save_ifs
   5108     test -z "$ac_dir" && ac_dir=.
   5109     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5110       lt_cv_path_LD=$ac_dir/$ac_prog
   5111       # Check to see if the program is GNU ld.  I'd rather use --version,
   5112       # but apparently some variants of GNU ld only accept -v.
   5113       # Break only if it was the GNU/non-GNU ld that we prefer.
   5114       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5115       *GNU* | *'with BFD'*)
   5116 	test no != "$with_gnu_ld" && break
   5117 	;;
   5118       *)
   5119 	test yes != "$with_gnu_ld" && break
   5120 	;;
   5121       esac
   5122     fi
   5123   done
   5124   IFS=$lt_save_ifs
   5125 else
   5126   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5127 fi
   5128 fi
   5129 
   5130 LD=$lt_cv_path_LD
   5131 if test -n "$LD"; then
   5132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5133 printf "%s\n" "$LD" >&6; }
   5134 else
   5135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5136 printf "%s\n" "no" >&6; }
   5137 fi
   5138 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5140 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5141 if test ${lt_cv_prog_gnu_ld+y}
   5142 then :
   5143   printf %s "(cached) " >&6
   5144 else $as_nop
   5145   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5146 case `$LD -v 2>&1 </dev/null` in
   5147 *GNU* | *'with BFD'*)
   5148   lt_cv_prog_gnu_ld=yes
   5149   ;;
   5150 *)
   5151   lt_cv_prog_gnu_ld=no
   5152   ;;
   5153 esac
   5154 fi
   5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5156 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5157 with_gnu_ld=$lt_cv_prog_gnu_ld
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5168 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5169 if test ${lt_cv_path_NM+y}
   5170 then :
   5171   printf %s "(cached) " >&6
   5172 else $as_nop
   5173   if test -n "$NM"; then
   5174   # Let the user override the test.
   5175   lt_cv_path_NM=$NM
   5176 else
   5177   lt_nm_to_check=${ac_tool_prefix}nm
   5178   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5179     lt_nm_to_check="$lt_nm_to_check nm"
   5180   fi
   5181   for lt_tmp_nm in $lt_nm_to_check; do
   5182     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5183     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5184       IFS=$lt_save_ifs
   5185       test -z "$ac_dir" && ac_dir=.
   5186       tmp_nm=$ac_dir/$lt_tmp_nm
   5187       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5188 	# Check to see if the nm accepts a BSD-compat flag.
   5189 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5190 	#   nm: unknown option "B" ignored
   5191 	# Tru64's nm complains that /dev/null is an invalid object file
   5192 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5193 	case $build_os in
   5194 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5195 	*) lt_bad_file=/dev/null ;;
   5196 	esac
   5197 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5198 	*$lt_bad_file* | *'Invalid file or object type'*)
   5199 	  lt_cv_path_NM="$tmp_nm -B"
   5200 	  break 2
   5201 	  ;;
   5202 	*)
   5203 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5204 	  */dev/null*)
   5205 	    lt_cv_path_NM="$tmp_nm -p"
   5206 	    break 2
   5207 	    ;;
   5208 	  *)
   5209 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5210 	    continue # so that we can try to find one that supports BSD flags
   5211 	    ;;
   5212 	  esac
   5213 	  ;;
   5214 	esac
   5215       fi
   5216     done
   5217     IFS=$lt_save_ifs
   5218   done
   5219   : ${lt_cv_path_NM=no}
   5220 fi
   5221 fi
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5223 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5224 if test no != "$lt_cv_path_NM"; then
   5225   NM=$lt_cv_path_NM
   5226 else
   5227   # Didn't find any BSD compatible name lister, look for dumpbin.
   5228   if test -n "$DUMPBIN"; then :
   5229     # Let the user override the test.
   5230   else
   5231     if test -n "$ac_tool_prefix"; then
   5232   for ac_prog in dumpbin "link -dump"
   5233   do
   5234     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5237 printf %s "checking for $ac_word... " >&6; }
   5238 if test ${ac_cv_prog_DUMPBIN+y}
   5239 then :
   5240   printf %s "(cached) " >&6
   5241 else $as_nop
   5242   if test -n "$DUMPBIN"; then
   5243   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5244 else
   5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5246 for as_dir in $PATH
   5247 do
   5248   IFS=$as_save_IFS
   5249   case $as_dir in #(((
   5250     '') as_dir=./ ;;
   5251     */) ;;
   5252     *) as_dir=$as_dir/ ;;
   5253   esac
   5254     for ac_exec_ext in '' $ac_executable_extensions; do
   5255   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5256     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5257     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5258     break 2
   5259   fi
   5260 done
   5261   done
   5262 IFS=$as_save_IFS
   5263 
   5264 fi
   5265 fi
   5266 DUMPBIN=$ac_cv_prog_DUMPBIN
   5267 if test -n "$DUMPBIN"; then
   5268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5269 printf "%s\n" "$DUMPBIN" >&6; }
   5270 else
   5271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5272 printf "%s\n" "no" >&6; }
   5273 fi
   5274 
   5275 
   5276     test -n "$DUMPBIN" && break
   5277   done
   5278 fi
   5279 if test -z "$DUMPBIN"; then
   5280   ac_ct_DUMPBIN=$DUMPBIN
   5281   for ac_prog in dumpbin "link -dump"
   5282 do
   5283   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5284 set dummy $ac_prog; ac_word=$2
   5285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5286 printf %s "checking for $ac_word... " >&6; }
   5287 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5288 then :
   5289   printf %s "(cached) " >&6
   5290 else $as_nop
   5291   if test -n "$ac_ct_DUMPBIN"; then
   5292   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5293 else
   5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5295 for as_dir in $PATH
   5296 do
   5297   IFS=$as_save_IFS
   5298   case $as_dir in #(((
   5299     '') as_dir=./ ;;
   5300     */) ;;
   5301     *) as_dir=$as_dir/ ;;
   5302   esac
   5303     for ac_exec_ext in '' $ac_executable_extensions; do
   5304   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5305     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5306     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5307     break 2
   5308   fi
   5309 done
   5310   done
   5311 IFS=$as_save_IFS
   5312 
   5313 fi
   5314 fi
   5315 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5316 if test -n "$ac_ct_DUMPBIN"; then
   5317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5318 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5319 else
   5320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5321 printf "%s\n" "no" >&6; }
   5322 fi
   5323 
   5324 
   5325   test -n "$ac_ct_DUMPBIN" && break
   5326 done
   5327 
   5328   if test "x$ac_ct_DUMPBIN" = x; then
   5329     DUMPBIN=":"
   5330   else
   5331     case $cross_compiling:$ac_tool_warned in
   5332 yes:)
   5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5334 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5335 ac_tool_warned=yes ;;
   5336 esac
   5337     DUMPBIN=$ac_ct_DUMPBIN
   5338   fi
   5339 fi
   5340 
   5341     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5342     *COFF*)
   5343       DUMPBIN="$DUMPBIN -symbols -headers"
   5344       ;;
   5345     *)
   5346       DUMPBIN=:
   5347       ;;
   5348     esac
   5349   fi
   5350 
   5351   if test : != "$DUMPBIN"; then
   5352     NM=$DUMPBIN
   5353   fi
   5354 fi
   5355 test -z "$NM" && NM=nm
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5363 printf %s "checking the name lister ($NM) interface... " >&6; }
   5364 if test ${lt_cv_nm_interface+y}
   5365 then :
   5366   printf %s "(cached) " >&6
   5367 else $as_nop
   5368   lt_cv_nm_interface="BSD nm"
   5369   echo "int some_variable = 0;" > conftest.$ac_ext
   5370   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5371   (eval "$ac_compile" 2>conftest.err)
   5372   cat conftest.err >&5
   5373   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5374   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5375   cat conftest.err >&5
   5376   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5377   cat conftest.out >&5
   5378   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5379     lt_cv_nm_interface="MS dumpbin"
   5380   fi
   5381   rm -f conftest*
   5382 fi
   5383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5384 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5385 
   5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5387 printf %s "checking whether ln -s works... " >&6; }
   5388 LN_S=$as_ln_s
   5389 if test "$LN_S" = "ln -s"; then
   5390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5391 printf "%s\n" "yes" >&6; }
   5392 else
   5393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5394 printf "%s\n" "no, using $LN_S" >&6; }
   5395 fi
   5396 
   5397 # find the maximum length of command line arguments
   5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5399 printf %s "checking the maximum length of command line arguments... " >&6; }
   5400 if test ${lt_cv_sys_max_cmd_len+y}
   5401 then :
   5402   printf %s "(cached) " >&6
   5403 else $as_nop
   5404     i=0
   5405   teststring=ABCD
   5406 
   5407   case $build_os in
   5408   msdosdjgpp*)
   5409     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5410     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5411     # during glob expansion).  Even if it were fixed, the result of this
   5412     # check would be larger than it should be.
   5413     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5414     ;;
   5415 
   5416   gnu*)
   5417     # Under GNU Hurd, this test is not required because there is
   5418     # no limit to the length of command line arguments.
   5419     # Libtool will interpret -1 as no limit whatsoever
   5420     lt_cv_sys_max_cmd_len=-1;
   5421     ;;
   5422 
   5423   cygwin* | mingw* | cegcc*)
   5424     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5425     # about 5 minutes as the teststring grows exponentially.
   5426     # Worse, since 9x/ME are not pre-emptively multitasking,
   5427     # you end up with a "frozen" computer, even though with patience
   5428     # the test eventually succeeds (with a max line length of 256k).
   5429     # Instead, let's just punt: use the minimum linelength reported by
   5430     # all of the supported platforms: 8192 (on NT/2K/XP).
   5431     lt_cv_sys_max_cmd_len=8192;
   5432     ;;
   5433 
   5434   mint*)
   5435     # On MiNT this can take a long time and run out of memory.
   5436     lt_cv_sys_max_cmd_len=8192;
   5437     ;;
   5438 
   5439   amigaos*)
   5440     # On AmigaOS with pdksh, this test takes hours, literally.
   5441     # So we just punt and use a minimum line length of 8192.
   5442     lt_cv_sys_max_cmd_len=8192;
   5443     ;;
   5444 
   5445   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5446     # This has been around since 386BSD, at least.  Likely further.
   5447     if test -x /sbin/sysctl; then
   5448       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5449     elif test -x /usr/sbin/sysctl; then
   5450       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5451     else
   5452       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5453     fi
   5454     # And add a safety zone
   5455     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5456     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5457     ;;
   5458 
   5459   interix*)
   5460     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5461     lt_cv_sys_max_cmd_len=196608
   5462     ;;
   5463 
   5464   os2*)
   5465     # The test takes a long time on OS/2.
   5466     lt_cv_sys_max_cmd_len=8192
   5467     ;;
   5468 
   5469   osf*)
   5470     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5471     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5472     # nice to cause kernel panics so lets avoid the loop below.
   5473     # First set a reasonable default.
   5474     lt_cv_sys_max_cmd_len=16384
   5475     #
   5476     if test -x /sbin/sysconfig; then
   5477       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5478         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5479       esac
   5480     fi
   5481     ;;
   5482   sco3.2v5*)
   5483     lt_cv_sys_max_cmd_len=102400
   5484     ;;
   5485   sysv5* | sco5v6* | sysv4.2uw2*)
   5486     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5487     if test -n "$kargmax"; then
   5488       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5489     else
   5490       lt_cv_sys_max_cmd_len=32768
   5491     fi
   5492     ;;
   5493   *)
   5494     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5495     if test -n "$lt_cv_sys_max_cmd_len" && \
   5496        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5497       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5498       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5499     else
   5500       # Make teststring a little bigger before we do anything with it.
   5501       # a 1K string should be a reasonable start.
   5502       for i in 1 2 3 4 5 6 7 8; do
   5503         teststring=$teststring$teststring
   5504       done
   5505       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5506       # If test is not a shell built-in, we'll probably end up computing a
   5507       # maximum length that is only half of the actual maximum length, but
   5508       # we can't tell.
   5509       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5510 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5511 	      test 17 != "$i" # 1/2 MB should be enough
   5512       do
   5513         i=`expr $i + 1`
   5514         teststring=$teststring$teststring
   5515       done
   5516       # Only check the string length outside the loop.
   5517       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5518       teststring=
   5519       # Add a significant safety factor because C++ compilers can tack on
   5520       # massive amounts of additional arguments before passing them to the
   5521       # linker.  It appears as though 1/2 is a usable value.
   5522       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5523     fi
   5524     ;;
   5525   esac
   5526 
   5527 fi
   5528 
   5529 if test -n "$lt_cv_sys_max_cmd_len"; then
   5530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5531 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5532 else
   5533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5534 printf "%s\n" "none" >&6; }
   5535 fi
   5536 max_cmd_len=$lt_cv_sys_max_cmd_len
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 : ${CP="cp -f"}
   5544 : ${MV="mv -f"}
   5545 : ${RM="rm -f"}
   5546 
   5547 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5548   lt_unset=unset
   5549 else
   5550   lt_unset=false
   5551 fi
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 # test EBCDIC or ASCII
   5558 case `echo X|tr X '\101'` in
   5559  A) # ASCII based system
   5560     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5561   lt_SP2NL='tr \040 \012'
   5562   lt_NL2SP='tr \015\012 \040\040'
   5563   ;;
   5564  *) # EBCDIC based system
   5565   lt_SP2NL='tr \100 \n'
   5566   lt_NL2SP='tr \r\n \100\100'
   5567   ;;
   5568 esac
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5579 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5580 if test ${lt_cv_to_host_file_cmd+y}
   5581 then :
   5582   printf %s "(cached) " >&6
   5583 else $as_nop
   5584   case $host in
   5585   *-*-mingw* )
   5586     case $build in
   5587       *-*-mingw* ) # actually msys
   5588         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5589         ;;
   5590       *-*-cygwin* )
   5591         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5592         ;;
   5593       * ) # otherwise, assume *nix
   5594         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5595         ;;
   5596     esac
   5597     ;;
   5598   *-*-cygwin* )
   5599     case $build in
   5600       *-*-mingw* ) # actually msys
   5601         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5602         ;;
   5603       *-*-cygwin* )
   5604         lt_cv_to_host_file_cmd=func_convert_file_noop
   5605         ;;
   5606       * ) # otherwise, assume *nix
   5607         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5608         ;;
   5609     esac
   5610     ;;
   5611   * ) # unhandled hosts (and "normal" native builds)
   5612     lt_cv_to_host_file_cmd=func_convert_file_noop
   5613     ;;
   5614 esac
   5615 
   5616 fi
   5617 
   5618 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5620 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5627 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5628 if test ${lt_cv_to_tool_file_cmd+y}
   5629 then :
   5630   printf %s "(cached) " >&6
   5631 else $as_nop
   5632   #assume ordinary cross tools, or native build.
   5633 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5634 case $host in
   5635   *-*-mingw* )
   5636     case $build in
   5637       *-*-mingw* ) # actually msys
   5638         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5639         ;;
   5640     esac
   5641     ;;
   5642 esac
   5643 
   5644 fi
   5645 
   5646 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5648 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5655 printf %s "checking for $LD option to reload object files... " >&6; }
   5656 if test ${lt_cv_ld_reload_flag+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else $as_nop
   5660   lt_cv_ld_reload_flag='-r'
   5661 fi
   5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5663 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5664 reload_flag=$lt_cv_ld_reload_flag
   5665 case $reload_flag in
   5666 "" | " "*) ;;
   5667 *) reload_flag=" $reload_flag" ;;
   5668 esac
   5669 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5670 case $host_os in
   5671   cygwin* | mingw* | pw32* | cegcc*)
   5672     if test yes != "$GCC"; then
   5673       reload_cmds=false
   5674     fi
   5675     ;;
   5676   darwin*)
   5677     if test yes = "$GCC"; then
   5678       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5679     else
   5680       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5681     fi
   5682     ;;
   5683 esac
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 if test -n "$ac_tool_prefix"; then
   5694   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5695 set dummy ${ac_tool_prefix}file; ac_word=$2
   5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5697 printf %s "checking for $ac_word... " >&6; }
   5698 if test ${ac_cv_prog_FILECMD+y}
   5699 then :
   5700   printf %s "(cached) " >&6
   5701 else $as_nop
   5702   if test -n "$FILECMD"; then
   5703   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5704 else
   5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5706 for as_dir in $PATH
   5707 do
   5708   IFS=$as_save_IFS
   5709   case $as_dir in #(((
   5710     '') as_dir=./ ;;
   5711     */) ;;
   5712     *) as_dir=$as_dir/ ;;
   5713   esac
   5714     for ac_exec_ext in '' $ac_executable_extensions; do
   5715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5716     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5718     break 2
   5719   fi
   5720 done
   5721   done
   5722 IFS=$as_save_IFS
   5723 
   5724 fi
   5725 fi
   5726 FILECMD=$ac_cv_prog_FILECMD
   5727 if test -n "$FILECMD"; then
   5728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5729 printf "%s\n" "$FILECMD" >&6; }
   5730 else
   5731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5732 printf "%s\n" "no" >&6; }
   5733 fi
   5734 
   5735 
   5736 fi
   5737 if test -z "$ac_cv_prog_FILECMD"; then
   5738   ac_ct_FILECMD=$FILECMD
   5739   # Extract the first word of "file", so it can be a program name with args.
   5740 set dummy file; ac_word=$2
   5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5742 printf %s "checking for $ac_word... " >&6; }
   5743 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5744 then :
   5745   printf %s "(cached) " >&6
   5746 else $as_nop
   5747   if test -n "$ac_ct_FILECMD"; then
   5748   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5749 else
   5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5751 for as_dir in $PATH
   5752 do
   5753   IFS=$as_save_IFS
   5754   case $as_dir in #(((
   5755     '') as_dir=./ ;;
   5756     */) ;;
   5757     *) as_dir=$as_dir/ ;;
   5758   esac
   5759     for ac_exec_ext in '' $ac_executable_extensions; do
   5760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5761     ac_cv_prog_ac_ct_FILECMD="file"
   5762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5763     break 2
   5764   fi
   5765 done
   5766   done
   5767 IFS=$as_save_IFS
   5768 
   5769 fi
   5770 fi
   5771 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5772 if test -n "$ac_ct_FILECMD"; then
   5773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5774 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5775 else
   5776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5777 printf "%s\n" "no" >&6; }
   5778 fi
   5779 
   5780   if test "x$ac_ct_FILECMD" = x; then
   5781     FILECMD=":"
   5782   else
   5783     case $cross_compiling:$ac_tool_warned in
   5784 yes:)
   5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5786 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5787 ac_tool_warned=yes ;;
   5788 esac
   5789     FILECMD=$ac_ct_FILECMD
   5790   fi
   5791 else
   5792   FILECMD="$ac_cv_prog_FILECMD"
   5793 fi
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 if test -n "$ac_tool_prefix"; then
   5802   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5803 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5805 printf %s "checking for $ac_word... " >&6; }
   5806 if test ${ac_cv_prog_OBJDUMP+y}
   5807 then :
   5808   printf %s "(cached) " >&6
   5809 else $as_nop
   5810   if test -n "$OBJDUMP"; then
   5811   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5812 else
   5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5814 for as_dir in $PATH
   5815 do
   5816   IFS=$as_save_IFS
   5817   case $as_dir in #(((
   5818     '') as_dir=./ ;;
   5819     */) ;;
   5820     *) as_dir=$as_dir/ ;;
   5821   esac
   5822     for ac_exec_ext in '' $ac_executable_extensions; do
   5823   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5824     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5825     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5826     break 2
   5827   fi
   5828 done
   5829   done
   5830 IFS=$as_save_IFS
   5831 
   5832 fi
   5833 fi
   5834 OBJDUMP=$ac_cv_prog_OBJDUMP
   5835 if test -n "$OBJDUMP"; then
   5836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5837 printf "%s\n" "$OBJDUMP" >&6; }
   5838 else
   5839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5840 printf "%s\n" "no" >&6; }
   5841 fi
   5842 
   5843 
   5844 fi
   5845 if test -z "$ac_cv_prog_OBJDUMP"; then
   5846   ac_ct_OBJDUMP=$OBJDUMP
   5847   # Extract the first word of "objdump", so it can be a program name with args.
   5848 set dummy objdump; ac_word=$2
   5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5850 printf %s "checking for $ac_word... " >&6; }
   5851 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5852 then :
   5853   printf %s "(cached) " >&6
   5854 else $as_nop
   5855   if test -n "$ac_ct_OBJDUMP"; then
   5856   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5857 else
   5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5859 for as_dir in $PATH
   5860 do
   5861   IFS=$as_save_IFS
   5862   case $as_dir in #(((
   5863     '') as_dir=./ ;;
   5864     */) ;;
   5865     *) as_dir=$as_dir/ ;;
   5866   esac
   5867     for ac_exec_ext in '' $ac_executable_extensions; do
   5868   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5869     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5870     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5871     break 2
   5872   fi
   5873 done
   5874   done
   5875 IFS=$as_save_IFS
   5876 
   5877 fi
   5878 fi
   5879 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5880 if test -n "$ac_ct_OBJDUMP"; then
   5881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5882 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5883 else
   5884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5885 printf "%s\n" "no" >&6; }
   5886 fi
   5887 
   5888   if test "x$ac_ct_OBJDUMP" = x; then
   5889     OBJDUMP="false"
   5890   else
   5891     case $cross_compiling:$ac_tool_warned in
   5892 yes:)
   5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5894 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5895 ac_tool_warned=yes ;;
   5896 esac
   5897     OBJDUMP=$ac_ct_OBJDUMP
   5898   fi
   5899 else
   5900   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5901 fi
   5902 
   5903 test -z "$OBJDUMP" && OBJDUMP=objdump
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5914 printf %s "checking how to recognize dependent libraries... " >&6; }
   5915 if test ${lt_cv_deplibs_check_method+y}
   5916 then :
   5917   printf %s "(cached) " >&6
   5918 else $as_nop
   5919   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5920 lt_cv_file_magic_test_file=
   5921 lt_cv_deplibs_check_method='unknown'
   5922 # Need to set the preceding variable on all platforms that support
   5923 # interlibrary dependencies.
   5924 # 'none' -- dependencies not supported.
   5925 # 'unknown' -- same as none, but documents that we really don't know.
   5926 # 'pass_all' -- all dependencies passed with no checks.
   5927 # 'test_compile' -- check by making test program.
   5928 # 'file_magic [[regex]]' -- check by looking for files in library path
   5929 # that responds to the $file_magic_cmd with a given extended regex.
   5930 # If you have 'file' or equivalent on your system and you're not sure
   5931 # whether 'pass_all' will *always* work, you probably want this one.
   5932 
   5933 case $host_os in
   5934 aix[4-9]*)
   5935   lt_cv_deplibs_check_method=pass_all
   5936   ;;
   5937 
   5938 beos*)
   5939   lt_cv_deplibs_check_method=pass_all
   5940   ;;
   5941 
   5942 bsdi[45]*)
   5943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5944   lt_cv_file_magic_cmd='$FILECMD -L'
   5945   lt_cv_file_magic_test_file=/shlib/libc.so
   5946   ;;
   5947 
   5948 cygwin*)
   5949   # func_win32_libid is a shell function defined in ltmain.sh
   5950   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5951   lt_cv_file_magic_cmd='func_win32_libid'
   5952   ;;
   5953 
   5954 mingw* | pw32*)
   5955   # Base MSYS/MinGW do not provide the 'file' command needed by
   5956   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5957   # unless we find 'file', for example because we are cross-compiling.
   5958   if ( file / ) >/dev/null 2>&1; then
   5959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5960     lt_cv_file_magic_cmd='func_win32_libid'
   5961   else
   5962     # Keep this pattern in sync with the one in func_win32_libid.
   5963     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5964     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5965   fi
   5966   ;;
   5967 
   5968 cegcc*)
   5969   # use the weaker test based on 'objdump'. See mingw*.
   5970   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5971   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5972   ;;
   5973 
   5974 darwin* | rhapsody*)
   5975   lt_cv_deplibs_check_method=pass_all
   5976   ;;
   5977 
   5978 freebsd* | dragonfly* | midnightbsd*)
   5979   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5980     case $host_cpu in
   5981     i*86 )
   5982       # Not sure whether the presence of OpenBSD here was a mistake.
   5983       # Let's accept both of them until this is cleared up.
   5984       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5985       lt_cv_file_magic_cmd=$FILECMD
   5986       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5987       ;;
   5988     esac
   5989   else
   5990     lt_cv_deplibs_check_method=pass_all
   5991   fi
   5992   ;;
   5993 
   5994 haiku*)
   5995   lt_cv_deplibs_check_method=pass_all
   5996   ;;
   5997 
   5998 hpux10.20* | hpux11*)
   5999   lt_cv_file_magic_cmd=$FILECMD
   6000   case $host_cpu in
   6001   ia64*)
   6002     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6003     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6004     ;;
   6005   hppa*64*)
   6006     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]'
   6007     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6008     ;;
   6009   *)
   6010     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6011     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6012     ;;
   6013   esac
   6014   ;;
   6015 
   6016 interix[3-9]*)
   6017   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6018   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6019   ;;
   6020 
   6021 irix5* | irix6* | nonstopux*)
   6022   case $LD in
   6023   *-32|*"-32 ") libmagic=32-bit;;
   6024   *-n32|*"-n32 ") libmagic=N32;;
   6025   *-64|*"-64 ") libmagic=64-bit;;
   6026   *) libmagic=never-match;;
   6027   esac
   6028   lt_cv_deplibs_check_method=pass_all
   6029   ;;
   6030 
   6031 # This must be glibc/ELF.
   6032 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6033   lt_cv_deplibs_check_method=pass_all
   6034   ;;
   6035 
   6036 netbsd*)
   6037   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6038     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6039   else
   6040     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6041   fi
   6042   ;;
   6043 
   6044 newos6*)
   6045   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6046   lt_cv_file_magic_cmd=$FILECMD
   6047   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6048   ;;
   6049 
   6050 *nto* | *qnx*)
   6051   lt_cv_deplibs_check_method=pass_all
   6052   ;;
   6053 
   6054 openbsd* | bitrig*)
   6055   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6056     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6057   else
   6058     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6059   fi
   6060   ;;
   6061 
   6062 osf3* | osf4* | osf5*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 rdos*)
   6067   lt_cv_deplibs_check_method=pass_all
   6068   ;;
   6069 
   6070 solaris*)
   6071   lt_cv_deplibs_check_method=pass_all
   6072   ;;
   6073 
   6074 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6075   lt_cv_deplibs_check_method=pass_all
   6076   ;;
   6077 
   6078 sysv4 | sysv4.3*)
   6079   case $host_vendor in
   6080   motorola)
   6081     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]'
   6082     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6083     ;;
   6084   ncr)
   6085     lt_cv_deplibs_check_method=pass_all
   6086     ;;
   6087   sequent)
   6088     lt_cv_file_magic_cmd='/bin/file'
   6089     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6090     ;;
   6091   sni)
   6092     lt_cv_file_magic_cmd='/bin/file'
   6093     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6094     lt_cv_file_magic_test_file=/lib/libc.so
   6095     ;;
   6096   siemens)
   6097     lt_cv_deplibs_check_method=pass_all
   6098     ;;
   6099   pc)
   6100     lt_cv_deplibs_check_method=pass_all
   6101     ;;
   6102   esac
   6103   ;;
   6104 
   6105 tpf*)
   6106   lt_cv_deplibs_check_method=pass_all
   6107   ;;
   6108 os2*)
   6109   lt_cv_deplibs_check_method=pass_all
   6110   ;;
   6111 esac
   6112 
   6113 fi
   6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6115 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6116 
   6117 file_magic_glob=
   6118 want_nocaseglob=no
   6119 if test "$build" = "$host"; then
   6120   case $host_os in
   6121   mingw* | pw32*)
   6122     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6123       want_nocaseglob=yes
   6124     else
   6125       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6126     fi
   6127     ;;
   6128   esac
   6129 fi
   6130 
   6131 file_magic_cmd=$lt_cv_file_magic_cmd
   6132 deplibs_check_method=$lt_cv_deplibs_check_method
   6133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 if test -n "$ac_tool_prefix"; then
   6157   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6158 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6160 printf %s "checking for $ac_word... " >&6; }
   6161 if test ${ac_cv_prog_DLLTOOL+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else $as_nop
   6165   if test -n "$DLLTOOL"; then
   6166   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6167 else
   6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6169 for as_dir in $PATH
   6170 do
   6171   IFS=$as_save_IFS
   6172   case $as_dir in #(((
   6173     '') as_dir=./ ;;
   6174     */) ;;
   6175     *) as_dir=$as_dir/ ;;
   6176   esac
   6177     for ac_exec_ext in '' $ac_executable_extensions; do
   6178   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6179     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6180     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6181     break 2
   6182   fi
   6183 done
   6184   done
   6185 IFS=$as_save_IFS
   6186 
   6187 fi
   6188 fi
   6189 DLLTOOL=$ac_cv_prog_DLLTOOL
   6190 if test -n "$DLLTOOL"; then
   6191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6192 printf "%s\n" "$DLLTOOL" >&6; }
   6193 else
   6194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6195 printf "%s\n" "no" >&6; }
   6196 fi
   6197 
   6198 
   6199 fi
   6200 if test -z "$ac_cv_prog_DLLTOOL"; then
   6201   ac_ct_DLLTOOL=$DLLTOOL
   6202   # Extract the first word of "dlltool", so it can be a program name with args.
   6203 set dummy dlltool; ac_word=$2
   6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6205 printf %s "checking for $ac_word... " >&6; }
   6206 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6207 then :
   6208   printf %s "(cached) " >&6
   6209 else $as_nop
   6210   if test -n "$ac_ct_DLLTOOL"; then
   6211   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6212 else
   6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6214 for as_dir in $PATH
   6215 do
   6216   IFS=$as_save_IFS
   6217   case $as_dir in #(((
   6218     '') as_dir=./ ;;
   6219     */) ;;
   6220     *) as_dir=$as_dir/ ;;
   6221   esac
   6222     for ac_exec_ext in '' $ac_executable_extensions; do
   6223   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6224     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6225     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6226     break 2
   6227   fi
   6228 done
   6229   done
   6230 IFS=$as_save_IFS
   6231 
   6232 fi
   6233 fi
   6234 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6235 if test -n "$ac_ct_DLLTOOL"; then
   6236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6237 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6238 else
   6239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6240 printf "%s\n" "no" >&6; }
   6241 fi
   6242 
   6243   if test "x$ac_ct_DLLTOOL" = x; then
   6244     DLLTOOL="false"
   6245   else
   6246     case $cross_compiling:$ac_tool_warned in
   6247 yes:)
   6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6249 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6250 ac_tool_warned=yes ;;
   6251 esac
   6252     DLLTOOL=$ac_ct_DLLTOOL
   6253   fi
   6254 else
   6255   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6256 fi
   6257 
   6258 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6270 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6271 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6272 then :
   6273   printf %s "(cached) " >&6
   6274 else $as_nop
   6275   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6276 
   6277 case $host_os in
   6278 cygwin* | mingw* | pw32* | cegcc*)
   6279   # two different shell functions defined in ltmain.sh;
   6280   # decide which one to use based on capabilities of $DLLTOOL
   6281   case `$DLLTOOL --help 2>&1` in
   6282   *--identify-strict*)
   6283     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6284     ;;
   6285   *)
   6286     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6287     ;;
   6288   esac
   6289   ;;
   6290 *)
   6291   # fallback: assume linklib IS sharedlib
   6292   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6293   ;;
   6294 esac
   6295 
   6296 fi
   6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6298 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6299 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6300 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 if test -n "$ac_tool_prefix"; then
   6310   for ac_prog in ar
   6311   do
   6312     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6315 printf %s "checking for $ac_word... " >&6; }
   6316 if test ${ac_cv_prog_AR+y}
   6317 then :
   6318   printf %s "(cached) " >&6
   6319 else $as_nop
   6320   if test -n "$AR"; then
   6321   ac_cv_prog_AR="$AR" # Let the user override the test.
   6322 else
   6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6324 for as_dir in $PATH
   6325 do
   6326   IFS=$as_save_IFS
   6327   case $as_dir in #(((
   6328     '') as_dir=./ ;;
   6329     */) ;;
   6330     *) as_dir=$as_dir/ ;;
   6331   esac
   6332     for ac_exec_ext in '' $ac_executable_extensions; do
   6333   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6334     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6335     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6336     break 2
   6337   fi
   6338 done
   6339   done
   6340 IFS=$as_save_IFS
   6341 
   6342 fi
   6343 fi
   6344 AR=$ac_cv_prog_AR
   6345 if test -n "$AR"; then
   6346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6347 printf "%s\n" "$AR" >&6; }
   6348 else
   6349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6350 printf "%s\n" "no" >&6; }
   6351 fi
   6352 
   6353 
   6354     test -n "$AR" && break
   6355   done
   6356 fi
   6357 if test -z "$AR"; then
   6358   ac_ct_AR=$AR
   6359   for ac_prog in ar
   6360 do
   6361   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6362 set dummy $ac_prog; ac_word=$2
   6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6364 printf %s "checking for $ac_word... " >&6; }
   6365 if test ${ac_cv_prog_ac_ct_AR+y}
   6366 then :
   6367   printf %s "(cached) " >&6
   6368 else $as_nop
   6369   if test -n "$ac_ct_AR"; then
   6370   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6371 else
   6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6373 for as_dir in $PATH
   6374 do
   6375   IFS=$as_save_IFS
   6376   case $as_dir in #(((
   6377     '') as_dir=./ ;;
   6378     */) ;;
   6379     *) as_dir=$as_dir/ ;;
   6380   esac
   6381     for ac_exec_ext in '' $ac_executable_extensions; do
   6382   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6383     ac_cv_prog_ac_ct_AR="$ac_prog"
   6384     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6385     break 2
   6386   fi
   6387 done
   6388   done
   6389 IFS=$as_save_IFS
   6390 
   6391 fi
   6392 fi
   6393 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6394 if test -n "$ac_ct_AR"; then
   6395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6396 printf "%s\n" "$ac_ct_AR" >&6; }
   6397 else
   6398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6399 printf "%s\n" "no" >&6; }
   6400 fi
   6401 
   6402 
   6403   test -n "$ac_ct_AR" && break
   6404 done
   6405 
   6406   if test "x$ac_ct_AR" = x; then
   6407     AR="false"
   6408   else
   6409     case $cross_compiling:$ac_tool_warned in
   6410 yes:)
   6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6412 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6413 ac_tool_warned=yes ;;
   6414 esac
   6415     AR=$ac_ct_AR
   6416   fi
   6417 fi
   6418 
   6419 : ${AR=ar}
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6427 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6428 # higher priority because thats what people were doing historically (setting
   6429 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6430 # variable obsoleted/removed.
   6431 
   6432 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6433 lt_ar_flags=$AR_FLAGS
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6441 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6449 printf %s "checking for archiver @FILE support... " >&6; }
   6450 if test ${lt_cv_ar_at_file+y}
   6451 then :
   6452   printf %s "(cached) " >&6
   6453 else $as_nop
   6454   lt_cv_ar_at_file=no
   6455    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6456 /* end confdefs.h.  */
   6457 
   6458 int
   6459 main (void)
   6460 {
   6461 
   6462   ;
   6463   return 0;
   6464 }
   6465 _ACEOF
   6466 if ac_fn_c_try_compile "$LINENO"
   6467 then :
   6468   echo conftest.$ac_objext > conftest.lst
   6469       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6470       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6471   (eval $lt_ar_try) 2>&5
   6472   ac_status=$?
   6473   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6474   test $ac_status = 0; }
   6475       if test 0 -eq "$ac_status"; then
   6476 	# Ensure the archiver fails upon bogus file names.
   6477 	rm -f conftest.$ac_objext libconftest.a
   6478 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6479   (eval $lt_ar_try) 2>&5
   6480   ac_status=$?
   6481   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6482   test $ac_status = 0; }
   6483 	if test 0 -ne "$ac_status"; then
   6484           lt_cv_ar_at_file=@
   6485         fi
   6486       fi
   6487       rm -f conftest.* libconftest.a
   6488 
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6491 
   6492 fi
   6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6494 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6495 
   6496 if test no = "$lt_cv_ar_at_file"; then
   6497   archiver_list_spec=
   6498 else
   6499   archiver_list_spec=$lt_cv_ar_at_file
   6500 fi
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 if test -n "$ac_tool_prefix"; then
   6509   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6510 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6512 printf %s "checking for $ac_word... " >&6; }
   6513 if test ${ac_cv_prog_STRIP+y}
   6514 then :
   6515   printf %s "(cached) " >&6
   6516 else $as_nop
   6517   if test -n "$STRIP"; then
   6518   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6519 else
   6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6521 for as_dir in $PATH
   6522 do
   6523   IFS=$as_save_IFS
   6524   case $as_dir in #(((
   6525     '') as_dir=./ ;;
   6526     */) ;;
   6527     *) as_dir=$as_dir/ ;;
   6528   esac
   6529     for ac_exec_ext in '' $ac_executable_extensions; do
   6530   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6531     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6532     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6533     break 2
   6534   fi
   6535 done
   6536   done
   6537 IFS=$as_save_IFS
   6538 
   6539 fi
   6540 fi
   6541 STRIP=$ac_cv_prog_STRIP
   6542 if test -n "$STRIP"; then
   6543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6544 printf "%s\n" "$STRIP" >&6; }
   6545 else
   6546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6547 printf "%s\n" "no" >&6; }
   6548 fi
   6549 
   6550 
   6551 fi
   6552 if test -z "$ac_cv_prog_STRIP"; then
   6553   ac_ct_STRIP=$STRIP
   6554   # Extract the first word of "strip", so it can be a program name with args.
   6555 set dummy strip; ac_word=$2
   6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6557 printf %s "checking for $ac_word... " >&6; }
   6558 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6559 then :
   6560   printf %s "(cached) " >&6
   6561 else $as_nop
   6562   if test -n "$ac_ct_STRIP"; then
   6563   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6564 else
   6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6566 for as_dir in $PATH
   6567 do
   6568   IFS=$as_save_IFS
   6569   case $as_dir in #(((
   6570     '') as_dir=./ ;;
   6571     */) ;;
   6572     *) as_dir=$as_dir/ ;;
   6573   esac
   6574     for ac_exec_ext in '' $ac_executable_extensions; do
   6575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6576     ac_cv_prog_ac_ct_STRIP="strip"
   6577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6578     break 2
   6579   fi
   6580 done
   6581   done
   6582 IFS=$as_save_IFS
   6583 
   6584 fi
   6585 fi
   6586 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6587 if test -n "$ac_ct_STRIP"; then
   6588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6589 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6590 else
   6591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6592 printf "%s\n" "no" >&6; }
   6593 fi
   6594 
   6595   if test "x$ac_ct_STRIP" = x; then
   6596     STRIP=":"
   6597   else
   6598     case $cross_compiling:$ac_tool_warned in
   6599 yes:)
   6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6601 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6602 ac_tool_warned=yes ;;
   6603 esac
   6604     STRIP=$ac_ct_STRIP
   6605   fi
   6606 else
   6607   STRIP="$ac_cv_prog_STRIP"
   6608 fi
   6609 
   6610 test -z "$STRIP" && STRIP=:
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 if test -n "$ac_tool_prefix"; then
   6618   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6621 printf %s "checking for $ac_word... " >&6; }
   6622 if test ${ac_cv_prog_RANLIB+y}
   6623 then :
   6624   printf %s "(cached) " >&6
   6625 else $as_nop
   6626   if test -n "$RANLIB"; then
   6627   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6628 else
   6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6630 for as_dir in $PATH
   6631 do
   6632   IFS=$as_save_IFS
   6633   case $as_dir in #(((
   6634     '') as_dir=./ ;;
   6635     */) ;;
   6636     *) as_dir=$as_dir/ ;;
   6637   esac
   6638     for ac_exec_ext in '' $ac_executable_extensions; do
   6639   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6640     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6641     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6642     break 2
   6643   fi
   6644 done
   6645   done
   6646 IFS=$as_save_IFS
   6647 
   6648 fi
   6649 fi
   6650 RANLIB=$ac_cv_prog_RANLIB
   6651 if test -n "$RANLIB"; then
   6652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6653 printf "%s\n" "$RANLIB" >&6; }
   6654 else
   6655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6656 printf "%s\n" "no" >&6; }
   6657 fi
   6658 
   6659 
   6660 fi
   6661 if test -z "$ac_cv_prog_RANLIB"; then
   6662   ac_ct_RANLIB=$RANLIB
   6663   # Extract the first word of "ranlib", so it can be a program name with args.
   6664 set dummy ranlib; ac_word=$2
   6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6666 printf %s "checking for $ac_word... " >&6; }
   6667 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6668 then :
   6669   printf %s "(cached) " >&6
   6670 else $as_nop
   6671   if test -n "$ac_ct_RANLIB"; then
   6672   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6673 else
   6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6675 for as_dir in $PATH
   6676 do
   6677   IFS=$as_save_IFS
   6678   case $as_dir in #(((
   6679     '') as_dir=./ ;;
   6680     */) ;;
   6681     *) as_dir=$as_dir/ ;;
   6682   esac
   6683     for ac_exec_ext in '' $ac_executable_extensions; do
   6684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6685     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6687     break 2
   6688   fi
   6689 done
   6690   done
   6691 IFS=$as_save_IFS
   6692 
   6693 fi
   6694 fi
   6695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6696 if test -n "$ac_ct_RANLIB"; then
   6697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6698 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6699 else
   6700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6701 printf "%s\n" "no" >&6; }
   6702 fi
   6703 
   6704   if test "x$ac_ct_RANLIB" = x; then
   6705     RANLIB=":"
   6706   else
   6707     case $cross_compiling:$ac_tool_warned in
   6708 yes:)
   6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6711 ac_tool_warned=yes ;;
   6712 esac
   6713     RANLIB=$ac_ct_RANLIB
   6714   fi
   6715 else
   6716   RANLIB="$ac_cv_prog_RANLIB"
   6717 fi
   6718 
   6719 test -z "$RANLIB" && RANLIB=:
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 # Determine commands to create old-style static archives.
   6727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6728 old_postinstall_cmds='chmod 644 $oldlib'
   6729 old_postuninstall_cmds=
   6730 
   6731 if test -n "$RANLIB"; then
   6732   case $host_os in
   6733   bitrig* | openbsd*)
   6734     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6735     ;;
   6736   *)
   6737     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6738     ;;
   6739   esac
   6740   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6741 fi
   6742 
   6743 case $host_os in
   6744   darwin*)
   6745     lock_old_archive_extraction=yes ;;
   6746   *)
   6747     lock_old_archive_extraction=no ;;
   6748 esac
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 # If no C compiler was specified, use CC.
   6789 LTCC=${LTCC-"$CC"}
   6790 
   6791 # If no C compiler flags were specified, use CFLAGS.
   6792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6793 
   6794 # Allow CC to be a program name with arguments.
   6795 compiler=$CC
   6796 
   6797 
   6798 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6800 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6801 if test ${lt_cv_sys_global_symbol_pipe+y}
   6802 then :
   6803   printf %s "(cached) " >&6
   6804 else $as_nop
   6805 
   6806 # These are sane defaults that work on at least a few old systems.
   6807 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6808 
   6809 # Character class describing NM global symbol codes.
   6810 symcode='[BCDEGRST]'
   6811 
   6812 # Regexp to match symbols that can be accessed directly from C.
   6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6814 
   6815 # Define system-specific variables.
   6816 case $host_os in
   6817 aix*)
   6818   symcode='[BCDT]'
   6819   ;;
   6820 cygwin* | mingw* | pw32* | cegcc*)
   6821   symcode='[ABCDGISTW]'
   6822   ;;
   6823 hpux*)
   6824   if test ia64 = "$host_cpu"; then
   6825     symcode='[ABCDEGRST]'
   6826   fi
   6827   ;;
   6828 irix* | nonstopux*)
   6829   symcode='[BCDEGRST]'
   6830   ;;
   6831 osf*)
   6832   symcode='[BCDEGQRST]'
   6833   ;;
   6834 solaris*)
   6835   symcode='[BDRT]'
   6836   ;;
   6837 sco3.2v5*)
   6838   symcode='[DT]'
   6839   ;;
   6840 sysv4.2uw2*)
   6841   symcode='[DT]'
   6842   ;;
   6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6844   symcode='[ABDT]'
   6845   ;;
   6846 sysv4)
   6847   symcode='[DFNSTU]'
   6848   ;;
   6849 esac
   6850 
   6851 # If we're using GNU nm, then use its standard symbol codes.
   6852 case `$NM -V 2>&1` in
   6853 *GNU* | *'with BFD'*)
   6854   symcode='[ABCDGIRSTW]' ;;
   6855 esac
   6856 
   6857 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6858   # Gets list of data symbols to import.
   6859   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6860   # Adjust the below global symbol transforms to fixup imported variables.
   6861   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6862   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6863   lt_c_name_lib_hook="\
   6864   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6865   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6866 else
   6867   # Disable hooks by default.
   6868   lt_cv_sys_global_symbol_to_import=
   6869   lt_cdecl_hook=
   6870   lt_c_name_hook=
   6871   lt_c_name_lib_hook=
   6872 fi
   6873 
   6874 # Transform an extracted symbol line into a proper C declaration.
   6875 # Some systems (esp. on ia64) link data and code symbols differently,
   6876 # so use this general approach.
   6877 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6878 $lt_cdecl_hook\
   6879 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6880 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6881 
   6882 # Transform an extracted symbol line into symbol name and symbol address
   6883 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6884 $lt_c_name_hook\
   6885 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6886 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6887 
   6888 # Transform an extracted symbol line into symbol name with lib prefix and
   6889 # symbol address.
   6890 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6891 $lt_c_name_lib_hook\
   6892 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6893 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6894 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6895 
   6896 # Handle CRLF in mingw tool chain
   6897 opt_cr=
   6898 case $build_os in
   6899 mingw*)
   6900   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6901   ;;
   6902 esac
   6903 
   6904 # Try without a prefix underscore, then with it.
   6905 for ac_symprfx in "" "_"; do
   6906 
   6907   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6908   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6909 
   6910   # Write the raw and C identifiers.
   6911   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6912     # Fake it for dumpbin and say T for any non-static function,
   6913     # D for any global variable and I for any imported variable.
   6914     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6915     # which start with @ or ?.
   6916     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6917 "     {last_section=section; section=\$ 3};"\
   6918 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6919 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6920 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6921 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6922 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6923 "     \$ 0!~/External *\|/{next};"\
   6924 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6925 "     {if(hide[section]) next};"\
   6926 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6927 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6928 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6929 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6930 "     ' prfx=^$ac_symprfx"
   6931   else
   6932     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6933   fi
   6934   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6935 
   6936   # Check to see that the pipe works correctly.
   6937   pipe_works=no
   6938 
   6939   rm -f conftest*
   6940   cat > conftest.$ac_ext <<_LT_EOF
   6941 #ifdef __cplusplus
   6942 extern "C" {
   6943 #endif
   6944 char nm_test_var;
   6945 void nm_test_func(void);
   6946 void nm_test_func(void){}
   6947 #ifdef __cplusplus
   6948 }
   6949 #endif
   6950 int main(){nm_test_var='a';nm_test_func();return(0);}
   6951 _LT_EOF
   6952 
   6953   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6954   (eval $ac_compile) 2>&5
   6955   ac_status=$?
   6956   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6957   test $ac_status = 0; }; then
   6958     # Now try to grab the symbols.
   6959     nlist=conftest.nm
   6960     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6961   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6962   ac_status=$?
   6963   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6964   test $ac_status = 0; } && test -s "$nlist"; then
   6965       # Try sorting and uniquifying the output.
   6966       if sort "$nlist" | uniq > "$nlist"T; then
   6967 	mv -f "$nlist"T "$nlist"
   6968       else
   6969 	rm -f "$nlist"T
   6970       fi
   6971 
   6972       # Make sure that we snagged all the symbols we need.
   6973       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6974 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6975 	  cat <<_LT_EOF > conftest.$ac_ext
   6976 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6977 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6978 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6979    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6980 # define LT_DLSYM_CONST
   6981 #elif defined __osf__
   6982 /* This system does not cope well with relocations in const data.  */
   6983 # define LT_DLSYM_CONST
   6984 #else
   6985 # define LT_DLSYM_CONST const
   6986 #endif
   6987 
   6988 #ifdef __cplusplus
   6989 extern "C" {
   6990 #endif
   6991 
   6992 _LT_EOF
   6993 	  # Now generate the symbol file.
   6994 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6995 
   6996 	  cat <<_LT_EOF >> conftest.$ac_ext
   6997 
   6998 /* The mapping between symbol names and symbols.  */
   6999 LT_DLSYM_CONST struct {
   7000   const char *name;
   7001   void       *address;
   7002 }
   7003 lt__PROGRAM__LTX_preloaded_symbols[] =
   7004 {
   7005   { "@PROGRAM@", (void *) 0 },
   7006 _LT_EOF
   7007 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7008 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7009   {0, (void *) 0}
   7010 };
   7011 
   7012 /* This works around a problem in FreeBSD linker */
   7013 #ifdef FREEBSD_WORKAROUND
   7014 static const void *lt_preloaded_setup() {
   7015   return lt__PROGRAM__LTX_preloaded_symbols;
   7016 }
   7017 #endif
   7018 
   7019 #ifdef __cplusplus
   7020 }
   7021 #endif
   7022 _LT_EOF
   7023 	  # Now try linking the two files.
   7024 	  mv conftest.$ac_objext conftstm.$ac_objext
   7025 	  lt_globsym_save_LIBS=$LIBS
   7026 	  lt_globsym_save_CFLAGS=$CFLAGS
   7027 	  LIBS=conftstm.$ac_objext
   7028 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7029 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7030   (eval $ac_link) 2>&5
   7031   ac_status=$?
   7032   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7033   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7034 	    pipe_works=yes
   7035 	  fi
   7036 	  LIBS=$lt_globsym_save_LIBS
   7037 	  CFLAGS=$lt_globsym_save_CFLAGS
   7038 	else
   7039 	  echo "cannot find nm_test_func in $nlist" >&5
   7040 	fi
   7041       else
   7042 	echo "cannot find nm_test_var in $nlist" >&5
   7043       fi
   7044     else
   7045       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7046     fi
   7047   else
   7048     echo "$progname: failed program was:" >&5
   7049     cat conftest.$ac_ext >&5
   7050   fi
   7051   rm -rf conftest* conftst*
   7052 
   7053   # Do not use the global_symbol_pipe unless it works.
   7054   if test yes = "$pipe_works"; then
   7055     break
   7056   else
   7057     lt_cv_sys_global_symbol_pipe=
   7058   fi
   7059 done
   7060 
   7061 fi
   7062 
   7063 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7064   lt_cv_sys_global_symbol_to_cdecl=
   7065 fi
   7066 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7068 printf "%s\n" "failed" >&6; }
   7069 else
   7070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7071 printf "%s\n" "ok" >&6; }
   7072 fi
   7073 
   7074 # Response file support.
   7075 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7076   nm_file_list_spec='@'
   7077 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7078   nm_file_list_spec='@'
   7079 fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7118 printf %s "checking for sysroot... " >&6; }
   7119 
   7120 # Check whether --with-sysroot was given.
   7121 if test ${with_sysroot+y}
   7122 then :
   7123   withval=$with_sysroot;
   7124 else $as_nop
   7125   with_sysroot=no
   7126 fi
   7127 
   7128 
   7129 lt_sysroot=
   7130 case $with_sysroot in #(
   7131  yes)
   7132    if test yes = "$GCC"; then
   7133      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7134    fi
   7135    ;; #(
   7136  /*)
   7137    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7138    ;; #(
   7139  no|'')
   7140    ;; #(
   7141  *)
   7142    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7143 printf "%s\n" "$with_sysroot" >&6; }
   7144    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7145    ;;
   7146 esac
   7147 
   7148  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7149 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7156 printf %s "checking for a working dd... " >&6; }
   7157 if test ${ac_cv_path_lt_DD+y}
   7158 then :
   7159   printf %s "(cached) " >&6
   7160 else $as_nop
   7161   printf 0123456789abcdef0123456789abcdef >conftest.i
   7162 cat conftest.i conftest.i >conftest2.i
   7163 : ${lt_DD:=$DD}
   7164 if test -z "$lt_DD"; then
   7165   ac_path_lt_DD_found=false
   7166   # Loop through the user's path and test for each of PROGNAME-LIST
   7167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7168 for as_dir in $PATH
   7169 do
   7170   IFS=$as_save_IFS
   7171   case $as_dir in #(((
   7172     '') as_dir=./ ;;
   7173     */) ;;
   7174     *) as_dir=$as_dir/ ;;
   7175   esac
   7176     for ac_prog in dd
   7177    do
   7178     for ac_exec_ext in '' $ac_executable_extensions; do
   7179       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7180       as_fn_executable_p "$ac_path_lt_DD" || continue
   7181 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7182   cmp -s conftest.i conftest.out \
   7183   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7184 fi
   7185       $ac_path_lt_DD_found && break 3
   7186     done
   7187   done
   7188   done
   7189 IFS=$as_save_IFS
   7190   if test -z "$ac_cv_path_lt_DD"; then
   7191     :
   7192   fi
   7193 else
   7194   ac_cv_path_lt_DD=$lt_DD
   7195 fi
   7196 
   7197 rm -f conftest.i conftest2.i conftest.out
   7198 fi
   7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7200 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7201 
   7202 
   7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7204 printf %s "checking how to truncate binary pipes... " >&6; }
   7205 if test ${lt_cv_truncate_bin+y}
   7206 then :
   7207   printf %s "(cached) " >&6
   7208 else $as_nop
   7209   printf 0123456789abcdef0123456789abcdef >conftest.i
   7210 cat conftest.i conftest.i >conftest2.i
   7211 lt_cv_truncate_bin=
   7212 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7213   cmp -s conftest.i conftest.out \
   7214   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7215 fi
   7216 rm -f conftest.i conftest2.i conftest.out
   7217 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7218 fi
   7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7220 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7229 func_cc_basename ()
   7230 {
   7231     for cc_temp in $*""; do
   7232       case $cc_temp in
   7233         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7234         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7235         \-*) ;;
   7236         *) break;;
   7237       esac
   7238     done
   7239     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7240 }
   7241 
   7242 # Check whether --enable-libtool-lock was given.
   7243 if test ${enable_libtool_lock+y}
   7244 then :
   7245   enableval=$enable_libtool_lock;
   7246 fi
   7247 
   7248 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7249 
   7250 # Some flags need to be propagated to the compiler or linker for good
   7251 # libtool support.
   7252 case $host in
   7253 ia64-*-hpux*)
   7254   # Find out what ABI is being produced by ac_compile, and set mode
   7255   # options accordingly.
   7256   echo 'int i;' > conftest.$ac_ext
   7257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7258   (eval $ac_compile) 2>&5
   7259   ac_status=$?
   7260   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7261   test $ac_status = 0; }; then
   7262     case `$FILECMD conftest.$ac_objext` in
   7263       *ELF-32*)
   7264 	HPUX_IA64_MODE=32
   7265 	;;
   7266       *ELF-64*)
   7267 	HPUX_IA64_MODE=64
   7268 	;;
   7269     esac
   7270   fi
   7271   rm -rf conftest*
   7272   ;;
   7273 *-*-irix6*)
   7274   # Find out what ABI is being produced by ac_compile, and set linker
   7275   # options accordingly.
   7276   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7278   (eval $ac_compile) 2>&5
   7279   ac_status=$?
   7280   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7281   test $ac_status = 0; }; then
   7282     if test yes = "$lt_cv_prog_gnu_ld"; then
   7283       case `$FILECMD conftest.$ac_objext` in
   7284 	*32-bit*)
   7285 	  LD="${LD-ld} -melf32bsmip"
   7286 	  ;;
   7287 	*N32*)
   7288 	  LD="${LD-ld} -melf32bmipn32"
   7289 	  ;;
   7290 	*64-bit*)
   7291 	  LD="${LD-ld} -melf64bmip"
   7292 	;;
   7293       esac
   7294     else
   7295       case `$FILECMD conftest.$ac_objext` in
   7296 	*32-bit*)
   7297 	  LD="${LD-ld} -32"
   7298 	  ;;
   7299 	*N32*)
   7300 	  LD="${LD-ld} -n32"
   7301 	  ;;
   7302 	*64-bit*)
   7303 	  LD="${LD-ld} -64"
   7304 	  ;;
   7305       esac
   7306     fi
   7307   fi
   7308   rm -rf conftest*
   7309   ;;
   7310 
   7311 mips64*-*linux*)
   7312   # Find out what ABI is being produced by ac_compile, and set linker
   7313   # options accordingly.
   7314   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7315   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7316   (eval $ac_compile) 2>&5
   7317   ac_status=$?
   7318   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7319   test $ac_status = 0; }; then
   7320     emul=elf
   7321     case `$FILECMD conftest.$ac_objext` in
   7322       *32-bit*)
   7323 	emul="${emul}32"
   7324 	;;
   7325       *64-bit*)
   7326 	emul="${emul}64"
   7327 	;;
   7328     esac
   7329     case `$FILECMD conftest.$ac_objext` in
   7330       *MSB*)
   7331 	emul="${emul}btsmip"
   7332 	;;
   7333       *LSB*)
   7334 	emul="${emul}ltsmip"
   7335 	;;
   7336     esac
   7337     case `$FILECMD conftest.$ac_objext` in
   7338       *N32*)
   7339 	emul="${emul}n32"
   7340 	;;
   7341     esac
   7342     LD="${LD-ld} -m $emul"
   7343   fi
   7344   rm -rf conftest*
   7345   ;;
   7346 
   7347 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7348 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7349   # Find out what ABI is being produced by ac_compile, and set linker
   7350   # options accordingly.  Note that the listed cases only cover the
   7351   # situations where additional linker options are needed (such as when
   7352   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7353   # vice versa); the common cases where no linker options are needed do
   7354   # not appear in the list.
   7355   echo 'int i;' > conftest.$ac_ext
   7356   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7357   (eval $ac_compile) 2>&5
   7358   ac_status=$?
   7359   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7360   test $ac_status = 0; }; then
   7361     case `$FILECMD conftest.o` in
   7362       *32-bit*)
   7363 	case $host in
   7364 	  x86_64-*kfreebsd*-gnu)
   7365 	    LD="${LD-ld} -m elf_i386_fbsd"
   7366 	    ;;
   7367 	  x86_64-*linux*)
   7368 	    case `$FILECMD conftest.o` in
   7369 	      *x86-64*)
   7370 		LD="${LD-ld} -m elf32_x86_64"
   7371 		;;
   7372 	      *)
   7373 		LD="${LD-ld} -m elf_i386"
   7374 		;;
   7375 	    esac
   7376 	    ;;
   7377 	  powerpc64le-*linux*)
   7378 	    LD="${LD-ld} -m elf32lppclinux"
   7379 	    ;;
   7380 	  powerpc64-*linux*)
   7381 	    LD="${LD-ld} -m elf32ppclinux"
   7382 	    ;;
   7383 	  s390x-*linux*)
   7384 	    LD="${LD-ld} -m elf_s390"
   7385 	    ;;
   7386 	  sparc64-*linux*)
   7387 	    LD="${LD-ld} -m elf32_sparc"
   7388 	    ;;
   7389 	esac
   7390 	;;
   7391       *64-bit*)
   7392 	case $host in
   7393 	  x86_64-*kfreebsd*-gnu)
   7394 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7395 	    ;;
   7396 	  x86_64-*linux*)
   7397 	    LD="${LD-ld} -m elf_x86_64"
   7398 	    ;;
   7399 	  powerpcle-*linux*)
   7400 	    LD="${LD-ld} -m elf64lppc"
   7401 	    ;;
   7402 	  powerpc-*linux*)
   7403 	    LD="${LD-ld} -m elf64ppc"
   7404 	    ;;
   7405 	  s390*-*linux*|s390*-*tpf*)
   7406 	    LD="${LD-ld} -m elf64_s390"
   7407 	    ;;
   7408 	  sparc*-*linux*)
   7409 	    LD="${LD-ld} -m elf64_sparc"
   7410 	    ;;
   7411 	esac
   7412 	;;
   7413     esac
   7414   fi
   7415   rm -rf conftest*
   7416   ;;
   7417 
   7418 *-*-sco3.2v5*)
   7419   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7420   SAVE_CFLAGS=$CFLAGS
   7421   CFLAGS="$CFLAGS -belf"
   7422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7423 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7424 if test ${lt_cv_cc_needs_belf+y}
   7425 then :
   7426   printf %s "(cached) " >&6
   7427 else $as_nop
   7428   ac_ext=c
   7429 ac_cpp='$CPP $CPPFLAGS'
   7430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7433 
   7434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 
   7437 int
   7438 main (void)
   7439 {
   7440 
   7441   ;
   7442   return 0;
   7443 }
   7444 _ACEOF
   7445 if ac_fn_c_try_link "$LINENO"
   7446 then :
   7447   lt_cv_cc_needs_belf=yes
   7448 else $as_nop
   7449   lt_cv_cc_needs_belf=no
   7450 fi
   7451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7452     conftest$ac_exeext conftest.$ac_ext
   7453      ac_ext=c
   7454 ac_cpp='$CPP $CPPFLAGS'
   7455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7458 
   7459 fi
   7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7461 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7462   if test yes != "$lt_cv_cc_needs_belf"; then
   7463     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7464     CFLAGS=$SAVE_CFLAGS
   7465   fi
   7466   ;;
   7467 *-*solaris*)
   7468   # Find out what ABI is being produced by ac_compile, and set linker
   7469   # options accordingly.
   7470   echo 'int i;' > conftest.$ac_ext
   7471   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7472   (eval $ac_compile) 2>&5
   7473   ac_status=$?
   7474   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7475   test $ac_status = 0; }; then
   7476     case `$FILECMD conftest.o` in
   7477     *64-bit*)
   7478       case $lt_cv_prog_gnu_ld in
   7479       yes*)
   7480         case $host in
   7481         i?86-*-solaris*|x86_64-*-solaris*)
   7482           LD="${LD-ld} -m elf_x86_64"
   7483           ;;
   7484         sparc*-*-solaris*)
   7485           LD="${LD-ld} -m elf64_sparc"
   7486           ;;
   7487         esac
   7488         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7489         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7490           LD=${LD-ld}_sol2
   7491         fi
   7492         ;;
   7493       *)
   7494 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7495 	  LD="${LD-ld} -64"
   7496 	fi
   7497 	;;
   7498       esac
   7499       ;;
   7500     esac
   7501   fi
   7502   rm -rf conftest*
   7503   ;;
   7504 esac
   7505 
   7506 need_locks=$enable_libtool_lock
   7507 
   7508 if test -n "$ac_tool_prefix"; then
   7509   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7510 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7512 printf %s "checking for $ac_word... " >&6; }
   7513 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7514 then :
   7515   printf %s "(cached) " >&6
   7516 else $as_nop
   7517   if test -n "$MANIFEST_TOOL"; then
   7518   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7519 else
   7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7521 for as_dir in $PATH
   7522 do
   7523   IFS=$as_save_IFS
   7524   case $as_dir in #(((
   7525     '') as_dir=./ ;;
   7526     */) ;;
   7527     *) as_dir=$as_dir/ ;;
   7528   esac
   7529     for ac_exec_ext in '' $ac_executable_extensions; do
   7530   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7531     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7532     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7533     break 2
   7534   fi
   7535 done
   7536   done
   7537 IFS=$as_save_IFS
   7538 
   7539 fi
   7540 fi
   7541 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7542 if test -n "$MANIFEST_TOOL"; then
   7543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7544 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7545 else
   7546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7547 printf "%s\n" "no" >&6; }
   7548 fi
   7549 
   7550 
   7551 fi
   7552 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7553   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7554   # Extract the first word of "mt", so it can be a program name with args.
   7555 set dummy mt; ac_word=$2
   7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7557 printf %s "checking for $ac_word... " >&6; }
   7558 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else $as_nop
   7562   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7563   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7564 else
   7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7566 for as_dir in $PATH
   7567 do
   7568   IFS=$as_save_IFS
   7569   case $as_dir in #(((
   7570     '') as_dir=./ ;;
   7571     */) ;;
   7572     *) as_dir=$as_dir/ ;;
   7573   esac
   7574     for ac_exec_ext in '' $ac_executable_extensions; do
   7575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7576     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7578     break 2
   7579   fi
   7580 done
   7581   done
   7582 IFS=$as_save_IFS
   7583 
   7584 fi
   7585 fi
   7586 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7587 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7589 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7590 else
   7591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7592 printf "%s\n" "no" >&6; }
   7593 fi
   7594 
   7595   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7596     MANIFEST_TOOL=":"
   7597   else
   7598     case $cross_compiling:$ac_tool_warned in
   7599 yes:)
   7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7601 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7602 ac_tool_warned=yes ;;
   7603 esac
   7604     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7605   fi
   7606 else
   7607   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7608 fi
   7609 
   7610 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7612 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7613 if test ${lt_cv_path_mainfest_tool+y}
   7614 then :
   7615   printf %s "(cached) " >&6
   7616 else $as_nop
   7617   lt_cv_path_mainfest_tool=no
   7618   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7619   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7620   cat conftest.err >&5
   7621   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7622     lt_cv_path_mainfest_tool=yes
   7623   fi
   7624   rm -f conftest*
   7625 fi
   7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7627 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7628 if test yes != "$lt_cv_path_mainfest_tool"; then
   7629   MANIFEST_TOOL=:
   7630 fi
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637   case $host_os in
   7638     rhapsody* | darwin*)
   7639     if test -n "$ac_tool_prefix"; then
   7640   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7641 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7643 printf %s "checking for $ac_word... " >&6; }
   7644 if test ${ac_cv_prog_DSYMUTIL+y}
   7645 then :
   7646   printf %s "(cached) " >&6
   7647 else $as_nop
   7648   if test -n "$DSYMUTIL"; then
   7649   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7650 else
   7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7652 for as_dir in $PATH
   7653 do
   7654   IFS=$as_save_IFS
   7655   case $as_dir in #(((
   7656     '') as_dir=./ ;;
   7657     */) ;;
   7658     *) as_dir=$as_dir/ ;;
   7659   esac
   7660     for ac_exec_ext in '' $ac_executable_extensions; do
   7661   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7662     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7663     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7664     break 2
   7665   fi
   7666 done
   7667   done
   7668 IFS=$as_save_IFS
   7669 
   7670 fi
   7671 fi
   7672 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7673 if test -n "$DSYMUTIL"; then
   7674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7675 printf "%s\n" "$DSYMUTIL" >&6; }
   7676 else
   7677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7678 printf "%s\n" "no" >&6; }
   7679 fi
   7680 
   7681 
   7682 fi
   7683 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7684   ac_ct_DSYMUTIL=$DSYMUTIL
   7685   # Extract the first word of "dsymutil", so it can be a program name with args.
   7686 set dummy dsymutil; ac_word=$2
   7687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7688 printf %s "checking for $ac_word... " >&6; }
   7689 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7690 then :
   7691   printf %s "(cached) " >&6
   7692 else $as_nop
   7693   if test -n "$ac_ct_DSYMUTIL"; then
   7694   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7695 else
   7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7697 for as_dir in $PATH
   7698 do
   7699   IFS=$as_save_IFS
   7700   case $as_dir in #(((
   7701     '') as_dir=./ ;;
   7702     */) ;;
   7703     *) as_dir=$as_dir/ ;;
   7704   esac
   7705     for ac_exec_ext in '' $ac_executable_extensions; do
   7706   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7707     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7708     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7709     break 2
   7710   fi
   7711 done
   7712   done
   7713 IFS=$as_save_IFS
   7714 
   7715 fi
   7716 fi
   7717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7718 if test -n "$ac_ct_DSYMUTIL"; then
   7719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7720 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7721 else
   7722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7723 printf "%s\n" "no" >&6; }
   7724 fi
   7725 
   7726   if test "x$ac_ct_DSYMUTIL" = x; then
   7727     DSYMUTIL=":"
   7728   else
   7729     case $cross_compiling:$ac_tool_warned in
   7730 yes:)
   7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7732 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7733 ac_tool_warned=yes ;;
   7734 esac
   7735     DSYMUTIL=$ac_ct_DSYMUTIL
   7736   fi
   7737 else
   7738   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7739 fi
   7740 
   7741     if test -n "$ac_tool_prefix"; then
   7742   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7743 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7745 printf %s "checking for $ac_word... " >&6; }
   7746 if test ${ac_cv_prog_NMEDIT+y}
   7747 then :
   7748   printf %s "(cached) " >&6
   7749 else $as_nop
   7750   if test -n "$NMEDIT"; then
   7751   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7752 else
   7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7754 for as_dir in $PATH
   7755 do
   7756   IFS=$as_save_IFS
   7757   case $as_dir in #(((
   7758     '') as_dir=./ ;;
   7759     */) ;;
   7760     *) as_dir=$as_dir/ ;;
   7761   esac
   7762     for ac_exec_ext in '' $ac_executable_extensions; do
   7763   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7764     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7765     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7766     break 2
   7767   fi
   7768 done
   7769   done
   7770 IFS=$as_save_IFS
   7771 
   7772 fi
   7773 fi
   7774 NMEDIT=$ac_cv_prog_NMEDIT
   7775 if test -n "$NMEDIT"; then
   7776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7777 printf "%s\n" "$NMEDIT" >&6; }
   7778 else
   7779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7780 printf "%s\n" "no" >&6; }
   7781 fi
   7782 
   7783 
   7784 fi
   7785 if test -z "$ac_cv_prog_NMEDIT"; then
   7786   ac_ct_NMEDIT=$NMEDIT
   7787   # Extract the first word of "nmedit", so it can be a program name with args.
   7788 set dummy nmedit; ac_word=$2
   7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7790 printf %s "checking for $ac_word... " >&6; }
   7791 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7792 then :
   7793   printf %s "(cached) " >&6
   7794 else $as_nop
   7795   if test -n "$ac_ct_NMEDIT"; then
   7796   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7797 else
   7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7799 for as_dir in $PATH
   7800 do
   7801   IFS=$as_save_IFS
   7802   case $as_dir in #(((
   7803     '') as_dir=./ ;;
   7804     */) ;;
   7805     *) as_dir=$as_dir/ ;;
   7806   esac
   7807     for ac_exec_ext in '' $ac_executable_extensions; do
   7808   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7809     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7810     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7811     break 2
   7812   fi
   7813 done
   7814   done
   7815 IFS=$as_save_IFS
   7816 
   7817 fi
   7818 fi
   7819 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7820 if test -n "$ac_ct_NMEDIT"; then
   7821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7822 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7823 else
   7824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7825 printf "%s\n" "no" >&6; }
   7826 fi
   7827 
   7828   if test "x$ac_ct_NMEDIT" = x; then
   7829     NMEDIT=":"
   7830   else
   7831     case $cross_compiling:$ac_tool_warned in
   7832 yes:)
   7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7834 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7835 ac_tool_warned=yes ;;
   7836 esac
   7837     NMEDIT=$ac_ct_NMEDIT
   7838   fi
   7839 else
   7840   NMEDIT="$ac_cv_prog_NMEDIT"
   7841 fi
   7842 
   7843     if test -n "$ac_tool_prefix"; then
   7844   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7845 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7847 printf %s "checking for $ac_word... " >&6; }
   7848 if test ${ac_cv_prog_LIPO+y}
   7849 then :
   7850   printf %s "(cached) " >&6
   7851 else $as_nop
   7852   if test -n "$LIPO"; then
   7853   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7854 else
   7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7856 for as_dir in $PATH
   7857 do
   7858   IFS=$as_save_IFS
   7859   case $as_dir in #(((
   7860     '') as_dir=./ ;;
   7861     */) ;;
   7862     *) as_dir=$as_dir/ ;;
   7863   esac
   7864     for ac_exec_ext in '' $ac_executable_extensions; do
   7865   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7866     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7867     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7868     break 2
   7869   fi
   7870 done
   7871   done
   7872 IFS=$as_save_IFS
   7873 
   7874 fi
   7875 fi
   7876 LIPO=$ac_cv_prog_LIPO
   7877 if test -n "$LIPO"; then
   7878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7879 printf "%s\n" "$LIPO" >&6; }
   7880 else
   7881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7882 printf "%s\n" "no" >&6; }
   7883 fi
   7884 
   7885 
   7886 fi
   7887 if test -z "$ac_cv_prog_LIPO"; then
   7888   ac_ct_LIPO=$LIPO
   7889   # Extract the first word of "lipo", so it can be a program name with args.
   7890 set dummy lipo; ac_word=$2
   7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7892 printf %s "checking for $ac_word... " >&6; }
   7893 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7894 then :
   7895   printf %s "(cached) " >&6
   7896 else $as_nop
   7897   if test -n "$ac_ct_LIPO"; then
   7898   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7899 else
   7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7901 for as_dir in $PATH
   7902 do
   7903   IFS=$as_save_IFS
   7904   case $as_dir in #(((
   7905     '') as_dir=./ ;;
   7906     */) ;;
   7907     *) as_dir=$as_dir/ ;;
   7908   esac
   7909     for ac_exec_ext in '' $ac_executable_extensions; do
   7910   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7911     ac_cv_prog_ac_ct_LIPO="lipo"
   7912     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7913     break 2
   7914   fi
   7915 done
   7916   done
   7917 IFS=$as_save_IFS
   7918 
   7919 fi
   7920 fi
   7921 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7922 if test -n "$ac_ct_LIPO"; then
   7923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7924 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7925 else
   7926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7927 printf "%s\n" "no" >&6; }
   7928 fi
   7929 
   7930   if test "x$ac_ct_LIPO" = x; then
   7931     LIPO=":"
   7932   else
   7933     case $cross_compiling:$ac_tool_warned in
   7934 yes:)
   7935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7936 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7937 ac_tool_warned=yes ;;
   7938 esac
   7939     LIPO=$ac_ct_LIPO
   7940   fi
   7941 else
   7942   LIPO="$ac_cv_prog_LIPO"
   7943 fi
   7944 
   7945     if test -n "$ac_tool_prefix"; then
   7946   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7947 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7949 printf %s "checking for $ac_word... " >&6; }
   7950 if test ${ac_cv_prog_OTOOL+y}
   7951 then :
   7952   printf %s "(cached) " >&6
   7953 else $as_nop
   7954   if test -n "$OTOOL"; then
   7955   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7956 else
   7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7958 for as_dir in $PATH
   7959 do
   7960   IFS=$as_save_IFS
   7961   case $as_dir in #(((
   7962     '') as_dir=./ ;;
   7963     */) ;;
   7964     *) as_dir=$as_dir/ ;;
   7965   esac
   7966     for ac_exec_ext in '' $ac_executable_extensions; do
   7967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7968     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7970     break 2
   7971   fi
   7972 done
   7973   done
   7974 IFS=$as_save_IFS
   7975 
   7976 fi
   7977 fi
   7978 OTOOL=$ac_cv_prog_OTOOL
   7979 if test -n "$OTOOL"; then
   7980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7981 printf "%s\n" "$OTOOL" >&6; }
   7982 else
   7983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7984 printf "%s\n" "no" >&6; }
   7985 fi
   7986 
   7987 
   7988 fi
   7989 if test -z "$ac_cv_prog_OTOOL"; then
   7990   ac_ct_OTOOL=$OTOOL
   7991   # Extract the first word of "otool", so it can be a program name with args.
   7992 set dummy otool; ac_word=$2
   7993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7994 printf %s "checking for $ac_word... " >&6; }
   7995 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7996 then :
   7997   printf %s "(cached) " >&6
   7998 else $as_nop
   7999   if test -n "$ac_ct_OTOOL"; then
   8000   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8001 else
   8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8003 for as_dir in $PATH
   8004 do
   8005   IFS=$as_save_IFS
   8006   case $as_dir in #(((
   8007     '') as_dir=./ ;;
   8008     */) ;;
   8009     *) as_dir=$as_dir/ ;;
   8010   esac
   8011     for ac_exec_ext in '' $ac_executable_extensions; do
   8012   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8013     ac_cv_prog_ac_ct_OTOOL="otool"
   8014     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8015     break 2
   8016   fi
   8017 done
   8018   done
   8019 IFS=$as_save_IFS
   8020 
   8021 fi
   8022 fi
   8023 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8024 if test -n "$ac_ct_OTOOL"; then
   8025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8026 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8027 else
   8028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8029 printf "%s\n" "no" >&6; }
   8030 fi
   8031 
   8032   if test "x$ac_ct_OTOOL" = x; then
   8033     OTOOL=":"
   8034   else
   8035     case $cross_compiling:$ac_tool_warned in
   8036 yes:)
   8037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8038 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8039 ac_tool_warned=yes ;;
   8040 esac
   8041     OTOOL=$ac_ct_OTOOL
   8042   fi
   8043 else
   8044   OTOOL="$ac_cv_prog_OTOOL"
   8045 fi
   8046 
   8047     if test -n "$ac_tool_prefix"; then
   8048   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8049 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8051 printf %s "checking for $ac_word... " >&6; }
   8052 if test ${ac_cv_prog_OTOOL64+y}
   8053 then :
   8054   printf %s "(cached) " >&6
   8055 else $as_nop
   8056   if test -n "$OTOOL64"; then
   8057   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8058 else
   8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8060 for as_dir in $PATH
   8061 do
   8062   IFS=$as_save_IFS
   8063   case $as_dir in #(((
   8064     '') as_dir=./ ;;
   8065     */) ;;
   8066     *) as_dir=$as_dir/ ;;
   8067   esac
   8068     for ac_exec_ext in '' $ac_executable_extensions; do
   8069   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8070     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8071     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8072     break 2
   8073   fi
   8074 done
   8075   done
   8076 IFS=$as_save_IFS
   8077 
   8078 fi
   8079 fi
   8080 OTOOL64=$ac_cv_prog_OTOOL64
   8081 if test -n "$OTOOL64"; then
   8082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8083 printf "%s\n" "$OTOOL64" >&6; }
   8084 else
   8085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8086 printf "%s\n" "no" >&6; }
   8087 fi
   8088 
   8089 
   8090 fi
   8091 if test -z "$ac_cv_prog_OTOOL64"; then
   8092   ac_ct_OTOOL64=$OTOOL64
   8093   # Extract the first word of "otool64", so it can be a program name with args.
   8094 set dummy otool64; ac_word=$2
   8095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8096 printf %s "checking for $ac_word... " >&6; }
   8097 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8098 then :
   8099   printf %s "(cached) " >&6
   8100 else $as_nop
   8101   if test -n "$ac_ct_OTOOL64"; then
   8102   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8103 else
   8104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8105 for as_dir in $PATH
   8106 do
   8107   IFS=$as_save_IFS
   8108   case $as_dir in #(((
   8109     '') as_dir=./ ;;
   8110     */) ;;
   8111     *) as_dir=$as_dir/ ;;
   8112   esac
   8113     for ac_exec_ext in '' $ac_executable_extensions; do
   8114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8115     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8116     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8117     break 2
   8118   fi
   8119 done
   8120   done
   8121 IFS=$as_save_IFS
   8122 
   8123 fi
   8124 fi
   8125 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8126 if test -n "$ac_ct_OTOOL64"; then
   8127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8128 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8129 else
   8130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8131 printf "%s\n" "no" >&6; }
   8132 fi
   8133 
   8134   if test "x$ac_ct_OTOOL64" = x; then
   8135     OTOOL64=":"
   8136   else
   8137     case $cross_compiling:$ac_tool_warned in
   8138 yes:)
   8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8140 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8141 ac_tool_warned=yes ;;
   8142 esac
   8143     OTOOL64=$ac_ct_OTOOL64
   8144   fi
   8145 else
   8146   OTOOL64="$ac_cv_prog_OTOOL64"
   8147 fi
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8176 printf %s "checking for -single_module linker flag... " >&6; }
   8177 if test ${lt_cv_apple_cc_single_mod+y}
   8178 then :
   8179   printf %s "(cached) " >&6
   8180 else $as_nop
   8181   lt_cv_apple_cc_single_mod=no
   8182       if test -z "$LT_MULTI_MODULE"; then
   8183 	# By default we will add the -single_module flag. You can override
   8184 	# by either setting the environment variable LT_MULTI_MODULE
   8185 	# non-empty at configure time, or by adding -multi_module to the
   8186 	# link flags.
   8187 	rm -rf libconftest.dylib*
   8188 	echo "int foo(void){return 1;}" > conftest.c
   8189 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8190 -dynamiclib -Wl,-single_module conftest.c" >&5
   8191 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8192 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8193         _lt_result=$?
   8194 	# If there is a non-empty error log, and "single_module"
   8195 	# appears in it, assume the flag caused a linker warning
   8196         if test -s conftest.err && $GREP single_module conftest.err; then
   8197 	  cat conftest.err >&5
   8198 	# Otherwise, if the output was created with a 0 exit code from
   8199 	# the compiler, it worked.
   8200 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8201 	  lt_cv_apple_cc_single_mod=yes
   8202 	else
   8203 	  cat conftest.err >&5
   8204 	fi
   8205 	rm -rf libconftest.dylib*
   8206 	rm -f conftest.*
   8207       fi
   8208 fi
   8209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8210 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8211 
   8212     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8213 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8214 if test ${lt_cv_ld_exported_symbols_list+y}
   8215 then :
   8216   printf %s "(cached) " >&6
   8217 else $as_nop
   8218   lt_cv_ld_exported_symbols_list=no
   8219       save_LDFLAGS=$LDFLAGS
   8220       echo "_main" > conftest.sym
   8221       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8223 /* end confdefs.h.  */
   8224 
   8225 int
   8226 main (void)
   8227 {
   8228 
   8229   ;
   8230   return 0;
   8231 }
   8232 _ACEOF
   8233 if ac_fn_c_try_link "$LINENO"
   8234 then :
   8235   lt_cv_ld_exported_symbols_list=yes
   8236 else $as_nop
   8237   lt_cv_ld_exported_symbols_list=no
   8238 fi
   8239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8240     conftest$ac_exeext conftest.$ac_ext
   8241 	LDFLAGS=$save_LDFLAGS
   8242 
   8243 fi
   8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8245 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8246 
   8247     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8248 printf %s "checking for -force_load linker flag... " >&6; }
   8249 if test ${lt_cv_ld_force_load+y}
   8250 then :
   8251   printf %s "(cached) " >&6
   8252 else $as_nop
   8253   lt_cv_ld_force_load=no
   8254       cat > conftest.c << _LT_EOF
   8255 int forced_loaded() { return 2;}
   8256 _LT_EOF
   8257       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8258       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8259       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8260       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8261       echo "$RANLIB libconftest.a" >&5
   8262       $RANLIB libconftest.a 2>&5
   8263       cat > conftest.c << _LT_EOF
   8264 int main() { return 0;}
   8265 _LT_EOF
   8266       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8267       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8268       _lt_result=$?
   8269       if test -s conftest.err && $GREP force_load conftest.err; then
   8270 	cat conftest.err >&5
   8271       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8272 	lt_cv_ld_force_load=yes
   8273       else
   8274 	cat conftest.err >&5
   8275       fi
   8276         rm -f conftest.err libconftest.a conftest conftest.c
   8277         rm -rf conftest.dSYM
   8278 
   8279 fi
   8280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8281 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8282     case $host_os in
   8283     rhapsody* | darwin1.[012])
   8284       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8285     darwin1.*)
   8286       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8287     darwin*)
   8288       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8289         10.[012],*|,*powerpc*-darwin[5-8]*)
   8290           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8291         *)
   8292           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8293       esac
   8294     ;;
   8295   esac
   8296     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8297       _lt_dar_single_mod='$single_module'
   8298     fi
   8299     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8300       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8301     else
   8302       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8303     fi
   8304     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8305       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8306     else
   8307       _lt_dsymutil=
   8308     fi
   8309     ;;
   8310   esac
   8311 
   8312 # func_munge_path_list VARIABLE PATH
   8313 # -----------------------------------
   8314 # VARIABLE is name of variable containing _space_ separated list of
   8315 # directories to be munged by the contents of PATH, which is string
   8316 # having a format:
   8317 # "DIR[:DIR]:"
   8318 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8319 # ":DIR[:DIR]"
   8320 #       string "DIR[ DIR]" will be appended to VARIABLE
   8321 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8322 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8323 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8324 # "DIR[:DIR]"
   8325 #       VARIABLE will be replaced by "DIR[ DIR]"
   8326 func_munge_path_list ()
   8327 {
   8328     case x$2 in
   8329     x)
   8330         ;;
   8331     *:)
   8332         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8333         ;;
   8334     x:*)
   8335         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8336         ;;
   8337     *::*)
   8338         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8339         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8340         ;;
   8341     *)
   8342         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8343         ;;
   8344     esac
   8345 }
   8346 
   8347 ac_header= ac_cache=
   8348 for ac_item in $ac_header_c_list
   8349 do
   8350   if test $ac_cache; then
   8351     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8352     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8353       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8354     fi
   8355     ac_header= ac_cache=
   8356   elif test $ac_header; then
   8357     ac_cache=$ac_item
   8358   else
   8359     ac_header=$ac_item
   8360   fi
   8361 done
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8371 then :
   8372 
   8373 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8374 
   8375 fi
   8376 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8377 "
   8378 if test "x$ac_cv_header_dlfcn_h" = xyes
   8379 then :
   8380   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8381 
   8382 fi
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 # Set options
   8389 
   8390 
   8391 
   8392         enable_dlopen=no
   8393 
   8394 
   8395   enable_win32_dll=no
   8396 
   8397 
   8398             # Check whether --enable-shared was given.
   8399 if test ${enable_shared+y}
   8400 then :
   8401   enableval=$enable_shared; p=${PACKAGE-default}
   8402     case $enableval in
   8403     yes) enable_shared=yes ;;
   8404     no) enable_shared=no ;;
   8405     *)
   8406       enable_shared=no
   8407       # Look at the argument we got.  We use all the common list separators.
   8408       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8409       for pkg in $enableval; do
   8410 	IFS=$lt_save_ifs
   8411 	if test "X$pkg" = "X$p"; then
   8412 	  enable_shared=yes
   8413 	fi
   8414       done
   8415       IFS=$lt_save_ifs
   8416       ;;
   8417     esac
   8418 else $as_nop
   8419   enable_shared=yes
   8420 fi
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430   # Check whether --enable-static was given.
   8431 if test ${enable_static+y}
   8432 then :
   8433   enableval=$enable_static; p=${PACKAGE-default}
   8434     case $enableval in
   8435     yes) enable_static=yes ;;
   8436     no) enable_static=no ;;
   8437     *)
   8438      enable_static=no
   8439       # Look at the argument we got.  We use all the common list separators.
   8440       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8441       for pkg in $enableval; do
   8442 	IFS=$lt_save_ifs
   8443 	if test "X$pkg" = "X$p"; then
   8444 	  enable_static=yes
   8445 	fi
   8446       done
   8447       IFS=$lt_save_ifs
   8448       ;;
   8449     esac
   8450 else $as_nop
   8451   enable_static=yes
   8452 fi
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 # Check whether --with-pic was given.
   8464 if test ${with_pic+y}
   8465 then :
   8466   withval=$with_pic; lt_p=${PACKAGE-default}
   8467     case $withval in
   8468     yes|no) pic_mode=$withval ;;
   8469     *)
   8470       pic_mode=default
   8471       # Look at the argument we got.  We use all the common list separators.
   8472       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8473       for lt_pkg in $withval; do
   8474 	IFS=$lt_save_ifs
   8475 	if test "X$lt_pkg" = "X$lt_p"; then
   8476 	  pic_mode=yes
   8477 	fi
   8478       done
   8479       IFS=$lt_save_ifs
   8480       ;;
   8481     esac
   8482 else $as_nop
   8483   pic_mode=default
   8484 fi
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493   # Check whether --enable-fast-install was given.
   8494 if test ${enable_fast_install+y}
   8495 then :
   8496   enableval=$enable_fast_install; p=${PACKAGE-default}
   8497     case $enableval in
   8498     yes) enable_fast_install=yes ;;
   8499     no) enable_fast_install=no ;;
   8500     *)
   8501       enable_fast_install=no
   8502       # Look at the argument we got.  We use all the common list separators.
   8503       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8504       for pkg in $enableval; do
   8505 	IFS=$lt_save_ifs
   8506 	if test "X$pkg" = "X$p"; then
   8507 	  enable_fast_install=yes
   8508 	fi
   8509       done
   8510       IFS=$lt_save_ifs
   8511       ;;
   8512     esac
   8513 else $as_nop
   8514   enable_fast_install=yes
   8515 fi
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524   shared_archive_member_spec=
   8525 case $host,$enable_shared in
   8526 power*-*-aix[5-9]*,yes)
   8527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8528 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8529 
   8530 # Check whether --with-aix-soname was given.
   8531 if test ${with_aix_soname+y}
   8532 then :
   8533   withval=$with_aix_soname; case $withval in
   8534     aix|svr4|both)
   8535       ;;
   8536     *)
   8537       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8538       ;;
   8539     esac
   8540     lt_cv_with_aix_soname=$with_aix_soname
   8541 else $as_nop
   8542   if test ${lt_cv_with_aix_soname+y}
   8543 then :
   8544   printf %s "(cached) " >&6
   8545 else $as_nop
   8546   lt_cv_with_aix_soname=aix
   8547 fi
   8548 
   8549     with_aix_soname=$lt_cv_with_aix_soname
   8550 fi
   8551 
   8552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8553 printf "%s\n" "$with_aix_soname" >&6; }
   8554   if test aix != "$with_aix_soname"; then
   8555     # For the AIX way of multilib, we name the shared archive member
   8556     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8557     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8558     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8559     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8560     if test 64 = "${OBJECT_MODE-32}"; then
   8561       shared_archive_member_spec=shr_64
   8562     else
   8563       shared_archive_member_spec=shr
   8564     fi
   8565   fi
   8566   ;;
   8567 *)
   8568   with_aix_soname=aix
   8569   ;;
   8570 esac
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 # This can be used to rebuild libtool when needed
   8582 LIBTOOL_DEPS=$ltmain
   8583 
   8584 # Always use our own libtool.
   8585 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 test -z "$LN_S" && LN_S="ln -s"
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 if test -n "${ZSH_VERSION+set}"; then
   8632    setopt NO_GLOB_SUBST
   8633 fi
   8634 
   8635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8636 printf %s "checking for objdir... " >&6; }
   8637 if test ${lt_cv_objdir+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else $as_nop
   8641   rm -f .libs 2>/dev/null
   8642 mkdir .libs 2>/dev/null
   8643 if test -d .libs; then
   8644   lt_cv_objdir=.libs
   8645 else
   8646   # MS-DOS does not allow filenames that begin with a dot.
   8647   lt_cv_objdir=_libs
   8648 fi
   8649 rmdir .libs 2>/dev/null
   8650 fi
   8651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8652 printf "%s\n" "$lt_cv_objdir" >&6; }
   8653 objdir=$lt_cv_objdir
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8660 
   8661 
   8662 
   8663 
   8664 case $host_os in
   8665 aix3*)
   8666   # AIX sometimes has problems with the GCC collect2 program.  For some
   8667   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8668   # vanish in a puff of smoke.
   8669   if test set != "${COLLECT_NAMES+set}"; then
   8670     COLLECT_NAMES=
   8671     export COLLECT_NAMES
   8672   fi
   8673   ;;
   8674 esac
   8675 
   8676 # Global variables:
   8677 ofile=libtool
   8678 can_build_shared=yes
   8679 
   8680 # All known linkers require a '.a' archive for static linking (except MSVC and
   8681 # ICC, which need '.lib').
   8682 libext=a
   8683 
   8684 with_gnu_ld=$lt_cv_prog_gnu_ld
   8685 
   8686 old_CC=$CC
   8687 old_CFLAGS=$CFLAGS
   8688 
   8689 # Set sane defaults for various variables
   8690 test -z "$CC" && CC=cc
   8691 test -z "$LTCC" && LTCC=$CC
   8692 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8693 test -z "$LD" && LD=ld
   8694 test -z "$ac_objext" && ac_objext=o
   8695 
   8696 func_cc_basename $compiler
   8697 cc_basename=$func_cc_basename_result
   8698 
   8699 
   8700 # Only perform the check for file, if the check method requires it
   8701 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8702 case $deplibs_check_method in
   8703 file_magic*)
   8704   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8705     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8706 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8707 if test ${lt_cv_path_MAGIC_CMD+y}
   8708 then :
   8709   printf %s "(cached) " >&6
   8710 else $as_nop
   8711   case $MAGIC_CMD in
   8712 [\\/*] |  ?:[\\/]*)
   8713   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8714   ;;
   8715 *)
   8716   lt_save_MAGIC_CMD=$MAGIC_CMD
   8717   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8718   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8719   for ac_dir in $ac_dummy; do
   8720     IFS=$lt_save_ifs
   8721     test -z "$ac_dir" && ac_dir=.
   8722     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8723       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8724       if test -n "$file_magic_test_file"; then
   8725 	case $deplibs_check_method in
   8726 	"file_magic "*)
   8727 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8728 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8729 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8730 	    $EGREP "$file_magic_regex" > /dev/null; then
   8731 	    :
   8732 	  else
   8733 	    cat <<_LT_EOF 1>&2
   8734 
   8735 *** Warning: the command libtool uses to detect shared libraries,
   8736 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8737 *** The result is that libtool may fail to recognize shared libraries
   8738 *** as such.  This will affect the creation of libtool libraries that
   8739 *** depend on shared libraries, but programs linked with such libtool
   8740 *** libraries will work regardless of this problem.  Nevertheless, you
   8741 *** may want to report the problem to your system manager and/or to
   8742 *** bug-libtool@gnu.org
   8743 
   8744 _LT_EOF
   8745 	  fi ;;
   8746 	esac
   8747       fi
   8748       break
   8749     fi
   8750   done
   8751   IFS=$lt_save_ifs
   8752   MAGIC_CMD=$lt_save_MAGIC_CMD
   8753   ;;
   8754 esac
   8755 fi
   8756 
   8757 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8758 if test -n "$MAGIC_CMD"; then
   8759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8760 printf "%s\n" "$MAGIC_CMD" >&6; }
   8761 else
   8762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8763 printf "%s\n" "no" >&6; }
   8764 fi
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8771   if test -n "$ac_tool_prefix"; then
   8772     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8773 printf %s "checking for file... " >&6; }
   8774 if test ${lt_cv_path_MAGIC_CMD+y}
   8775 then :
   8776   printf %s "(cached) " >&6
   8777 else $as_nop
   8778   case $MAGIC_CMD in
   8779 [\\/*] |  ?:[\\/]*)
   8780   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8781   ;;
   8782 *)
   8783   lt_save_MAGIC_CMD=$MAGIC_CMD
   8784   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8785   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8786   for ac_dir in $ac_dummy; do
   8787     IFS=$lt_save_ifs
   8788     test -z "$ac_dir" && ac_dir=.
   8789     if test -f "$ac_dir/file"; then
   8790       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8791       if test -n "$file_magic_test_file"; then
   8792 	case $deplibs_check_method in
   8793 	"file_magic "*)
   8794 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8795 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8796 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8797 	    $EGREP "$file_magic_regex" > /dev/null; then
   8798 	    :
   8799 	  else
   8800 	    cat <<_LT_EOF 1>&2
   8801 
   8802 *** Warning: the command libtool uses to detect shared libraries,
   8803 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8804 *** The result is that libtool may fail to recognize shared libraries
   8805 *** as such.  This will affect the creation of libtool libraries that
   8806 *** depend on shared libraries, but programs linked with such libtool
   8807 *** libraries will work regardless of this problem.  Nevertheless, you
   8808 *** may want to report the problem to your system manager and/or to
   8809 *** bug-libtool@gnu.org
   8810 
   8811 _LT_EOF
   8812 	  fi ;;
   8813 	esac
   8814       fi
   8815       break
   8816     fi
   8817   done
   8818   IFS=$lt_save_ifs
   8819   MAGIC_CMD=$lt_save_MAGIC_CMD
   8820   ;;
   8821 esac
   8822 fi
   8823 
   8824 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8825 if test -n "$MAGIC_CMD"; then
   8826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8827 printf "%s\n" "$MAGIC_CMD" >&6; }
   8828 else
   8829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8830 printf "%s\n" "no" >&6; }
   8831 fi
   8832 
   8833 
   8834   else
   8835     MAGIC_CMD=:
   8836   fi
   8837 fi
   8838 
   8839   fi
   8840   ;;
   8841 esac
   8842 
   8843 # Use C for the default configuration in the libtool script
   8844 
   8845 lt_save_CC=$CC
   8846 ac_ext=c
   8847 ac_cpp='$CPP $CPPFLAGS'
   8848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8851 
   8852 
   8853 # Source file extension for C test sources.
   8854 ac_ext=c
   8855 
   8856 # Object file extension for compiled C test sources.
   8857 objext=o
   8858 objext=$objext
   8859 
   8860 # Code to be used in simple compile tests
   8861 lt_simple_compile_test_code="int some_variable = 0;"
   8862 
   8863 # Code to be used in simple link tests
   8864 lt_simple_link_test_code='int main(){return(0);}'
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 # If no C compiler was specified, use CC.
   8873 LTCC=${LTCC-"$CC"}
   8874 
   8875 # If no C compiler flags were specified, use CFLAGS.
   8876 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8877 
   8878 # Allow CC to be a program name with arguments.
   8879 compiler=$CC
   8880 
   8881 # Save the default compiler, since it gets overwritten when the other
   8882 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8883 compiler_DEFAULT=$CC
   8884 
   8885 # save warnings/boilerplate of simple test code
   8886 ac_outfile=conftest.$ac_objext
   8887 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8888 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8889 _lt_compiler_boilerplate=`cat conftest.err`
   8890 $RM conftest*
   8891 
   8892 ac_outfile=conftest.$ac_objext
   8893 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8894 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8895 _lt_linker_boilerplate=`cat conftest.err`
   8896 $RM -r conftest*
   8897 
   8898 
   8899 if test -n "$compiler"; then
   8900 
   8901 lt_prog_compiler_no_builtin_flag=
   8902 
   8903 if test yes = "$GCC"; then
   8904   case $cc_basename in
   8905   nvcc*)
   8906     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8907   *)
   8908     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8909   esac
   8910 
   8911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8912 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8913 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8914 then :
   8915   printf %s "(cached) " >&6
   8916 else $as_nop
   8917   lt_cv_prog_compiler_rtti_exceptions=no
   8918    ac_outfile=conftest.$ac_objext
   8919    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8920    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8921    # Insert the option either (1) after the last *FLAGS variable, or
   8922    # (2) before a word containing "conftest.", or (3) at the end.
   8923    # Note that $ac_compile itself does not contain backslashes and begins
   8924    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8925    # The option is referenced via a variable to avoid confusing sed.
   8926    lt_compile=`echo "$ac_compile" | $SED \
   8927    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8928    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8929    -e 's:$: $lt_compiler_flag:'`
   8930    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8931    (eval "$lt_compile" 2>conftest.err)
   8932    ac_status=$?
   8933    cat conftest.err >&5
   8934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8935    if (exit $ac_status) && test -s "$ac_outfile"; then
   8936      # The compiler can only warn and ignore the option if not recognized
   8937      # So say no if there are warnings other than the usual output.
   8938      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8939      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8940      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8941        lt_cv_prog_compiler_rtti_exceptions=yes
   8942      fi
   8943    fi
   8944    $RM conftest*
   8945 
   8946 fi
   8947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8948 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8949 
   8950 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8951     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8952 else
   8953     :
   8954 fi
   8955 
   8956 fi
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963   lt_prog_compiler_wl=
   8964 lt_prog_compiler_pic=
   8965 lt_prog_compiler_static=
   8966 
   8967 
   8968   if test yes = "$GCC"; then
   8969     lt_prog_compiler_wl='-Wl,'
   8970     lt_prog_compiler_static='-static'
   8971 
   8972     case $host_os in
   8973       aix*)
   8974       # All AIX code is PIC.
   8975       if test ia64 = "$host_cpu"; then
   8976 	# AIX 5 now supports IA64 processor
   8977 	lt_prog_compiler_static='-Bstatic'
   8978       fi
   8979       lt_prog_compiler_pic='-fPIC'
   8980       ;;
   8981 
   8982     amigaos*)
   8983       case $host_cpu in
   8984       powerpc)
   8985             # see comment about AmigaOS4 .so support
   8986             lt_prog_compiler_pic='-fPIC'
   8987         ;;
   8988       m68k)
   8989             # FIXME: we need at least 68020 code to build shared libraries, but
   8990             # adding the '-m68020' flag to GCC prevents building anything better,
   8991             # like '-m68040'.
   8992             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8993         ;;
   8994       esac
   8995       ;;
   8996 
   8997     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8998       # PIC is the default for these OSes.
   8999       ;;
   9000 
   9001     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9002       # This hack is so that the source file can tell whether it is being
   9003       # built for inclusion in a dll (and should export symbols for example).
   9004       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9005       # (--disable-auto-import) libraries
   9006       lt_prog_compiler_pic='-DDLL_EXPORT'
   9007       case $host_os in
   9008       os2*)
   9009 	lt_prog_compiler_static='$wl-static'
   9010 	;;
   9011       esac
   9012       ;;
   9013 
   9014     darwin* | rhapsody*)
   9015       # PIC is the default on this platform
   9016       # Common symbols not allowed in MH_DYLIB files
   9017       lt_prog_compiler_pic='-fno-common'
   9018       ;;
   9019 
   9020     haiku*)
   9021       # PIC is the default for Haiku.
   9022       # The "-static" flag exists, but is broken.
   9023       lt_prog_compiler_static=
   9024       ;;
   9025 
   9026     hpux*)
   9027       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9028       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9029       # sets the default TLS model and affects inlining.
   9030       case $host_cpu in
   9031       hppa*64*)
   9032 	# +Z the default
   9033 	;;
   9034       *)
   9035 	lt_prog_compiler_pic='-fPIC'
   9036 	;;
   9037       esac
   9038       ;;
   9039 
   9040     interix[3-9]*)
   9041       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9042       # Instead, we relocate shared libraries at runtime.
   9043       ;;
   9044 
   9045     msdosdjgpp*)
   9046       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9047       # on systems that don't support them.
   9048       lt_prog_compiler_can_build_shared=no
   9049       enable_shared=no
   9050       ;;
   9051 
   9052     *nto* | *qnx*)
   9053       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9054       # it will coredump.
   9055       lt_prog_compiler_pic='-fPIC -shared'
   9056       ;;
   9057 
   9058     sysv4*MP*)
   9059       if test -d /usr/nec; then
   9060 	lt_prog_compiler_pic=-Kconform_pic
   9061       fi
   9062       ;;
   9063 
   9064     *)
   9065       lt_prog_compiler_pic='-fPIC'
   9066       ;;
   9067     esac
   9068 
   9069     case $cc_basename in
   9070     nvcc*) # Cuda Compiler Driver 2.2
   9071       lt_prog_compiler_wl='-Xlinker '
   9072       if test -n "$lt_prog_compiler_pic"; then
   9073         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9074       fi
   9075       ;;
   9076     esac
   9077   else
   9078     # PORTME Check for flag to pass linker flags through the system compiler.
   9079     case $host_os in
   9080     aix*)
   9081       lt_prog_compiler_wl='-Wl,'
   9082       if test ia64 = "$host_cpu"; then
   9083 	# AIX 5 now supports IA64 processor
   9084 	lt_prog_compiler_static='-Bstatic'
   9085       else
   9086 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9087       fi
   9088       ;;
   9089 
   9090     darwin* | rhapsody*)
   9091       # PIC is the default on this platform
   9092       # Common symbols not allowed in MH_DYLIB files
   9093       lt_prog_compiler_pic='-fno-common'
   9094       case $cc_basename in
   9095       nagfor*)
   9096         # NAG Fortran compiler
   9097         lt_prog_compiler_wl='-Wl,-Wl,,'
   9098         lt_prog_compiler_pic='-PIC'
   9099         lt_prog_compiler_static='-Bstatic'
   9100         ;;
   9101       esac
   9102       ;;
   9103 
   9104     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9105       # This hack is so that the source file can tell whether it is being
   9106       # built for inclusion in a dll (and should export symbols for example).
   9107       lt_prog_compiler_pic='-DDLL_EXPORT'
   9108       case $host_os in
   9109       os2*)
   9110 	lt_prog_compiler_static='$wl-static'
   9111 	;;
   9112       esac
   9113       ;;
   9114 
   9115     hpux9* | hpux10* | hpux11*)
   9116       lt_prog_compiler_wl='-Wl,'
   9117       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9118       # not for PA HP-UX.
   9119       case $host_cpu in
   9120       hppa*64*|ia64*)
   9121 	# +Z the default
   9122 	;;
   9123       *)
   9124 	lt_prog_compiler_pic='+Z'
   9125 	;;
   9126       esac
   9127       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9128       lt_prog_compiler_static='$wl-a ${wl}archive'
   9129       ;;
   9130 
   9131     irix5* | irix6* | nonstopux*)
   9132       lt_prog_compiler_wl='-Wl,'
   9133       # PIC (with -KPIC) is the default.
   9134       lt_prog_compiler_static='-non_shared'
   9135       ;;
   9136 
   9137     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9138       case $cc_basename in
   9139       # old Intel for x86_64, which still supported -KPIC.
   9140       ecc*)
   9141 	lt_prog_compiler_wl='-Wl,'
   9142 	lt_prog_compiler_pic='-KPIC'
   9143 	lt_prog_compiler_static='-static'
   9144         ;;
   9145       # icc used to be incompatible with GCC.
   9146       # ICC 10 doesn't accept -KPIC any more.
   9147       icc* | ifort*)
   9148 	lt_prog_compiler_wl='-Wl,'
   9149 	lt_prog_compiler_pic='-fPIC'
   9150 	lt_prog_compiler_static='-static'
   9151         ;;
   9152       # Lahey Fortran 8.1.
   9153       lf95*)
   9154 	lt_prog_compiler_wl='-Wl,'
   9155 	lt_prog_compiler_pic='--shared'
   9156 	lt_prog_compiler_static='--static'
   9157 	;;
   9158       nagfor*)
   9159 	# NAG Fortran compiler
   9160 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9161 	lt_prog_compiler_pic='-PIC'
   9162 	lt_prog_compiler_static='-Bstatic'
   9163 	;;
   9164       tcc*)
   9165 	# Fabrice Bellard et al's Tiny C Compiler
   9166 	lt_prog_compiler_wl='-Wl,'
   9167 	lt_prog_compiler_pic='-fPIC'
   9168 	lt_prog_compiler_static='-static'
   9169 	;;
   9170       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9171         # Portland Group compilers (*not* the Pentium gcc compiler,
   9172 	# which looks to be a dead project)
   9173 	lt_prog_compiler_wl='-Wl,'
   9174 	lt_prog_compiler_pic='-fpic'
   9175 	lt_prog_compiler_static='-Bstatic'
   9176         ;;
   9177       ccc*)
   9178         lt_prog_compiler_wl='-Wl,'
   9179         # All Alpha code is PIC.
   9180         lt_prog_compiler_static='-non_shared'
   9181         ;;
   9182       xl* | bgxl* | bgf* | mpixl*)
   9183 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9184 	lt_prog_compiler_wl='-Wl,'
   9185 	lt_prog_compiler_pic='-qpic'
   9186 	lt_prog_compiler_static='-qstaticlink'
   9187 	;;
   9188       *)
   9189 	case `$CC -V 2>&1 | $SED 5q` in
   9190 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9191 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9192 	  lt_prog_compiler_pic='-KPIC'
   9193 	  lt_prog_compiler_static='-Bstatic'
   9194 	  lt_prog_compiler_wl=''
   9195 	  ;;
   9196 	*Sun\ F* | *Sun*Fortran*)
   9197 	  lt_prog_compiler_pic='-KPIC'
   9198 	  lt_prog_compiler_static='-Bstatic'
   9199 	  lt_prog_compiler_wl='-Qoption ld '
   9200 	  ;;
   9201 	*Sun\ C*)
   9202 	  # Sun C 5.9
   9203 	  lt_prog_compiler_pic='-KPIC'
   9204 	  lt_prog_compiler_static='-Bstatic'
   9205 	  lt_prog_compiler_wl='-Wl,'
   9206 	  ;;
   9207         *Intel*\ [CF]*Compiler*)
   9208 	  lt_prog_compiler_wl='-Wl,'
   9209 	  lt_prog_compiler_pic='-fPIC'
   9210 	  lt_prog_compiler_static='-static'
   9211 	  ;;
   9212 	*Portland\ Group*)
   9213 	  lt_prog_compiler_wl='-Wl,'
   9214 	  lt_prog_compiler_pic='-fpic'
   9215 	  lt_prog_compiler_static='-Bstatic'
   9216 	  ;;
   9217 	esac
   9218 	;;
   9219       esac
   9220       ;;
   9221 
   9222     newsos6)
   9223       lt_prog_compiler_pic='-KPIC'
   9224       lt_prog_compiler_static='-Bstatic'
   9225       ;;
   9226 
   9227     *nto* | *qnx*)
   9228       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9229       # it will coredump.
   9230       lt_prog_compiler_pic='-fPIC -shared'
   9231       ;;
   9232 
   9233     osf3* | osf4* | osf5*)
   9234       lt_prog_compiler_wl='-Wl,'
   9235       # All OSF/1 code is PIC.
   9236       lt_prog_compiler_static='-non_shared'
   9237       ;;
   9238 
   9239     rdos*)
   9240       lt_prog_compiler_static='-non_shared'
   9241       ;;
   9242 
   9243     solaris*)
   9244       lt_prog_compiler_pic='-KPIC'
   9245       lt_prog_compiler_static='-Bstatic'
   9246       case $cc_basename in
   9247       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9248 	lt_prog_compiler_wl='-Qoption ld ';;
   9249       *)
   9250 	lt_prog_compiler_wl='-Wl,';;
   9251       esac
   9252       ;;
   9253 
   9254     sunos4*)
   9255       lt_prog_compiler_wl='-Qoption ld '
   9256       lt_prog_compiler_pic='-PIC'
   9257       lt_prog_compiler_static='-Bstatic'
   9258       ;;
   9259 
   9260     sysv4 | sysv4.2uw2* | sysv4.3*)
   9261       lt_prog_compiler_wl='-Wl,'
   9262       lt_prog_compiler_pic='-KPIC'
   9263       lt_prog_compiler_static='-Bstatic'
   9264       ;;
   9265 
   9266     sysv4*MP*)
   9267       if test -d /usr/nec; then
   9268 	lt_prog_compiler_pic='-Kconform_pic'
   9269 	lt_prog_compiler_static='-Bstatic'
   9270       fi
   9271       ;;
   9272 
   9273     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9274       lt_prog_compiler_wl='-Wl,'
   9275       lt_prog_compiler_pic='-KPIC'
   9276       lt_prog_compiler_static='-Bstatic'
   9277       ;;
   9278 
   9279     unicos*)
   9280       lt_prog_compiler_wl='-Wl,'
   9281       lt_prog_compiler_can_build_shared=no
   9282       ;;
   9283 
   9284     uts4*)
   9285       lt_prog_compiler_pic='-pic'
   9286       lt_prog_compiler_static='-Bstatic'
   9287       ;;
   9288 
   9289     *)
   9290       lt_prog_compiler_can_build_shared=no
   9291       ;;
   9292     esac
   9293   fi
   9294 
   9295 case $host_os in
   9296   # For platforms that do not support PIC, -DPIC is meaningless:
   9297   *djgpp*)
   9298     lt_prog_compiler_pic=
   9299     ;;
   9300   *)
   9301     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9302     ;;
   9303 esac
   9304 
   9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9306 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9307 if test ${lt_cv_prog_compiler_pic+y}
   9308 then :
   9309   printf %s "(cached) " >&6
   9310 else $as_nop
   9311   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9312 fi
   9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9314 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9315 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9316 
   9317 #
   9318 # Check to make sure the PIC flag actually works.
   9319 #
   9320 if test -n "$lt_prog_compiler_pic"; then
   9321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9322 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9323 if test ${lt_cv_prog_compiler_pic_works+y}
   9324 then :
   9325   printf %s "(cached) " >&6
   9326 else $as_nop
   9327   lt_cv_prog_compiler_pic_works=no
   9328    ac_outfile=conftest.$ac_objext
   9329    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9330    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9331    # Insert the option either (1) after the last *FLAGS variable, or
   9332    # (2) before a word containing "conftest.", or (3) at the end.
   9333    # Note that $ac_compile itself does not contain backslashes and begins
   9334    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9335    # The option is referenced via a variable to avoid confusing sed.
   9336    lt_compile=`echo "$ac_compile" | $SED \
   9337    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9338    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9339    -e 's:$: $lt_compiler_flag:'`
   9340    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9341    (eval "$lt_compile" 2>conftest.err)
   9342    ac_status=$?
   9343    cat conftest.err >&5
   9344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9345    if (exit $ac_status) && test -s "$ac_outfile"; then
   9346      # The compiler can only warn and ignore the option if not recognized
   9347      # So say no if there are warnings other than the usual output.
   9348      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9349      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9350      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9351        lt_cv_prog_compiler_pic_works=yes
   9352      fi
   9353    fi
   9354    $RM conftest*
   9355 
   9356 fi
   9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9358 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9359 
   9360 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9361     case $lt_prog_compiler_pic in
   9362      "" | " "*) ;;
   9363      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9364      esac
   9365 else
   9366     lt_prog_compiler_pic=
   9367      lt_prog_compiler_can_build_shared=no
   9368 fi
   9369 
   9370 fi
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 #
   9383 # Check to make sure the static flag actually works.
   9384 #
   9385 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9387 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9388 if test ${lt_cv_prog_compiler_static_works+y}
   9389 then :
   9390   printf %s "(cached) " >&6
   9391 else $as_nop
   9392   lt_cv_prog_compiler_static_works=no
   9393    save_LDFLAGS=$LDFLAGS
   9394    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9395    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9396    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9397      # The linker can only warn and ignore the option if not recognized
   9398      # So say no if there are warnings
   9399      if test -s conftest.err; then
   9400        # Append any errors to the config.log.
   9401        cat conftest.err 1>&5
   9402        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9403        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9404        if diff conftest.exp conftest.er2 >/dev/null; then
   9405          lt_cv_prog_compiler_static_works=yes
   9406        fi
   9407      else
   9408        lt_cv_prog_compiler_static_works=yes
   9409      fi
   9410    fi
   9411    $RM -r conftest*
   9412    LDFLAGS=$save_LDFLAGS
   9413 
   9414 fi
   9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9416 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9417 
   9418 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9419     :
   9420 else
   9421     lt_prog_compiler_static=
   9422 fi
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9431 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9432 if test ${lt_cv_prog_compiler_c_o+y}
   9433 then :
   9434   printf %s "(cached) " >&6
   9435 else $as_nop
   9436   lt_cv_prog_compiler_c_o=no
   9437    $RM -r conftest 2>/dev/null
   9438    mkdir conftest
   9439    cd conftest
   9440    mkdir out
   9441    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9442 
   9443    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9444    # Insert the option either (1) after the last *FLAGS variable, or
   9445    # (2) before a word containing "conftest.", or (3) at the end.
   9446    # Note that $ac_compile itself does not contain backslashes and begins
   9447    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9448    lt_compile=`echo "$ac_compile" | $SED \
   9449    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9450    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9451    -e 's:$: $lt_compiler_flag:'`
   9452    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9453    (eval "$lt_compile" 2>out/conftest.err)
   9454    ac_status=$?
   9455    cat out/conftest.err >&5
   9456    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9457    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9458    then
   9459      # The compiler can only warn and ignore the option if not recognized
   9460      # So say no if there are warnings
   9461      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9462      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9463      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9464        lt_cv_prog_compiler_c_o=yes
   9465      fi
   9466    fi
   9467    chmod u+w . 2>&5
   9468    $RM conftest*
   9469    # SGI C++ compiler will create directory out/ii_files/ for
   9470    # template instantiation
   9471    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9472    $RM out/* && rmdir out
   9473    cd ..
   9474    $RM -r conftest
   9475    $RM conftest*
   9476 
   9477 fi
   9478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9479 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9487 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9488 if test ${lt_cv_prog_compiler_c_o+y}
   9489 then :
   9490   printf %s "(cached) " >&6
   9491 else $as_nop
   9492   lt_cv_prog_compiler_c_o=no
   9493    $RM -r conftest 2>/dev/null
   9494    mkdir conftest
   9495    cd conftest
   9496    mkdir out
   9497    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9498 
   9499    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9500    # Insert the option either (1) after the last *FLAGS variable, or
   9501    # (2) before a word containing "conftest.", or (3) at the end.
   9502    # Note that $ac_compile itself does not contain backslashes and begins
   9503    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9504    lt_compile=`echo "$ac_compile" | $SED \
   9505    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9506    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9507    -e 's:$: $lt_compiler_flag:'`
   9508    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9509    (eval "$lt_compile" 2>out/conftest.err)
   9510    ac_status=$?
   9511    cat out/conftest.err >&5
   9512    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9513    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9514    then
   9515      # The compiler can only warn and ignore the option if not recognized
   9516      # So say no if there are warnings
   9517      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9518      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9519      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9520        lt_cv_prog_compiler_c_o=yes
   9521      fi
   9522    fi
   9523    chmod u+w . 2>&5
   9524    $RM conftest*
   9525    # SGI C++ compiler will create directory out/ii_files/ for
   9526    # template instantiation
   9527    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9528    $RM out/* && rmdir out
   9529    cd ..
   9530    $RM -r conftest
   9531    $RM conftest*
   9532 
   9533 fi
   9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9535 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9536 
   9537 
   9538 
   9539 
   9540 hard_links=nottested
   9541 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9542   # do not overwrite the value of need_locks provided by the user
   9543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9544 printf %s "checking if we can lock with hard links... " >&6; }
   9545   hard_links=yes
   9546   $RM conftest*
   9547   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9548   touch conftest.a
   9549   ln conftest.a conftest.b 2>&5 || hard_links=no
   9550   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9552 printf "%s\n" "$hard_links" >&6; }
   9553   if test no = "$hard_links"; then
   9554     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9555 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9556     need_locks=warn
   9557   fi
   9558 else
   9559   need_locks=no
   9560 fi
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9568 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9569 
   9570   runpath_var=
   9571   allow_undefined_flag=
   9572   always_export_symbols=no
   9573   archive_cmds=
   9574   archive_expsym_cmds=
   9575   compiler_needs_object=no
   9576   enable_shared_with_static_runtimes=no
   9577   export_dynamic_flag_spec=
   9578   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9579   hardcode_automatic=no
   9580   hardcode_direct=no
   9581   hardcode_direct_absolute=no
   9582   hardcode_libdir_flag_spec=
   9583   hardcode_libdir_separator=
   9584   hardcode_minus_L=no
   9585   hardcode_shlibpath_var=unsupported
   9586   inherit_rpath=no
   9587   link_all_deplibs=unknown
   9588   module_cmds=
   9589   module_expsym_cmds=
   9590   old_archive_from_new_cmds=
   9591   old_archive_from_expsyms_cmds=
   9592   thread_safe_flag_spec=
   9593   whole_archive_flag_spec=
   9594   # include_expsyms should be a list of space-separated symbols to be *always*
   9595   # included in the symbol list
   9596   include_expsyms=
   9597   # exclude_expsyms can be an extended regexp of symbols to exclude
   9598   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9599   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9600   # as well as any symbol that contains 'd'.
   9601   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9602   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9603   # platforms (ab)use it in PIC code, but their linkers get confused if
   9604   # the symbol is explicitly referenced.  Since portable code cannot
   9605   # rely on this symbol name, it's probably fine to never include it in
   9606   # preloaded symbol tables.
   9607   # Exclude shared library initialization/finalization symbols.
   9608   extract_expsyms_cmds=
   9609 
   9610   case $host_os in
   9611   cygwin* | mingw* | pw32* | cegcc*)
   9612     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9613     # When not using gcc, we currently assume that we are using
   9614     # Microsoft Visual C++ or Intel C++ Compiler.
   9615     if test yes != "$GCC"; then
   9616       with_gnu_ld=no
   9617     fi
   9618     ;;
   9619   interix*)
   9620     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9621     with_gnu_ld=yes
   9622     ;;
   9623   openbsd* | bitrig*)
   9624     with_gnu_ld=no
   9625     ;;
   9626   esac
   9627 
   9628   ld_shlibs=yes
   9629 
   9630   # On some targets, GNU ld is compatible enough with the native linker
   9631   # that we're better off using the native interface for both.
   9632   lt_use_gnu_ld_interface=no
   9633   if test yes = "$with_gnu_ld"; then
   9634     case $host_os in
   9635       aix*)
   9636 	# The AIX port of GNU ld has always aspired to compatibility
   9637 	# with the native linker.  However, as the warning in the GNU ld
   9638 	# block says, versions before 2.19.5* couldn't really create working
   9639 	# shared libraries, regardless of the interface used.
   9640 	case `$LD -v 2>&1` in
   9641 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9642 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9643 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9644 	  *)
   9645 	    lt_use_gnu_ld_interface=yes
   9646 	    ;;
   9647 	esac
   9648 	;;
   9649       *)
   9650 	lt_use_gnu_ld_interface=yes
   9651 	;;
   9652     esac
   9653   fi
   9654 
   9655   if test yes = "$lt_use_gnu_ld_interface"; then
   9656     # If archive_cmds runs LD, not CC, wlarc should be empty
   9657     wlarc='$wl'
   9658 
   9659     # Set some defaults for GNU ld with shared library support. These
   9660     # are reset later if shared libraries are not supported. Putting them
   9661     # here allows them to be overridden if necessary.
   9662     runpath_var=LD_RUN_PATH
   9663     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9664     export_dynamic_flag_spec='$wl--export-dynamic'
   9665     # ancient GNU ld didn't support --whole-archive et. al.
   9666     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9667       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9668     else
   9669       whole_archive_flag_spec=
   9670     fi
   9671     supports_anon_versioning=no
   9672     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9673       *GNU\ gold*) supports_anon_versioning=yes ;;
   9674       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9675       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9676       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9677       *\ 2.11.*) ;; # other 2.11 versions
   9678       *) supports_anon_versioning=yes ;;
   9679     esac
   9680 
   9681     # See if GNU ld supports shared libraries.
   9682     case $host_os in
   9683     aix[3-9]*)
   9684       # On AIX/PPC, the GNU linker is very broken
   9685       if test ia64 != "$host_cpu"; then
   9686 	ld_shlibs=no
   9687 	cat <<_LT_EOF 1>&2
   9688 
   9689 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9690 *** to be unable to reliably create shared libraries on AIX.
   9691 *** Therefore, libtool is disabling shared libraries support.  If you
   9692 *** really care for shared libraries, you may want to install binutils
   9693 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9694 *** You will then need to restart the configuration process.
   9695 
   9696 _LT_EOF
   9697       fi
   9698       ;;
   9699 
   9700     amigaos*)
   9701       case $host_cpu in
   9702       powerpc)
   9703             # see comment about AmigaOS4 .so support
   9704             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9705             archive_expsym_cmds=''
   9706         ;;
   9707       m68k)
   9708             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)'
   9709             hardcode_libdir_flag_spec='-L$libdir'
   9710             hardcode_minus_L=yes
   9711         ;;
   9712       esac
   9713       ;;
   9714 
   9715     beos*)
   9716       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9717 	allow_undefined_flag=unsupported
   9718 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9719 	# support --undefined.  This deserves some investigation.  FIXME
   9720 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9721       else
   9722 	ld_shlibs=no
   9723       fi
   9724       ;;
   9725 
   9726     cygwin* | mingw* | pw32* | cegcc*)
   9727       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9728       # as there is no search path for DLLs.
   9729       hardcode_libdir_flag_spec='-L$libdir'
   9730       export_dynamic_flag_spec='$wl--export-all-symbols'
   9731       allow_undefined_flag=unsupported
   9732       always_export_symbols=no
   9733       enable_shared_with_static_runtimes=yes
   9734       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'
   9735       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9736 
   9737       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9738         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9739 	# If the export-symbols file already is a .def file, use it as
   9740 	# is; otherwise, prepend EXPORTS...
   9741 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9742           cp $export_symbols $output_objdir/$soname.def;
   9743         else
   9744           echo EXPORTS > $output_objdir/$soname.def;
   9745           cat $export_symbols >> $output_objdir/$soname.def;
   9746         fi~
   9747         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9748       else
   9749 	ld_shlibs=no
   9750       fi
   9751       ;;
   9752 
   9753     haiku*)
   9754       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9755       link_all_deplibs=yes
   9756       ;;
   9757 
   9758     os2*)
   9759       hardcode_libdir_flag_spec='-L$libdir'
   9760       hardcode_minus_L=yes
   9761       allow_undefined_flag=unsupported
   9762       shrext_cmds=.dll
   9763       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9764 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9765 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9766 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9767 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9768 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9769 	emximp -o $lib $output_objdir/$libname.def'
   9770       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9771 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9772 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9773 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9774 	prefix_cmds="$SED"~
   9775 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9776 	  prefix_cmds="$prefix_cmds -e 1d";
   9777 	fi~
   9778 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9779 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9780 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9781 	emximp -o $lib $output_objdir/$libname.def'
   9782       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9783       enable_shared_with_static_runtimes=yes
   9784       file_list_spec='@'
   9785       ;;
   9786 
   9787     interix[3-9]*)
   9788       hardcode_direct=no
   9789       hardcode_shlibpath_var=no
   9790       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9791       export_dynamic_flag_spec='$wl-E'
   9792       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9793       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9794       # default) and relocated if they conflict, which is a slow very memory
   9795       # consuming and fragmenting process.  To avoid this, we pick a random,
   9796       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9797       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9798       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9799       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'
   9800       ;;
   9801 
   9802     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9803       tmp_diet=no
   9804       if test linux-dietlibc = "$host_os"; then
   9805 	case $cc_basename in
   9806 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9807 	esac
   9808       fi
   9809       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9810 	 && test no = "$tmp_diet"
   9811       then
   9812 	tmp_addflag=' $pic_flag'
   9813 	tmp_sharedflag='-shared'
   9814 	case $cc_basename,$host_cpu in
   9815         pgcc*)				# Portland Group C compiler
   9816 	  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'
   9817 	  tmp_addflag=' $pic_flag'
   9818 	  ;;
   9819 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9820 					# Portland Group f77 and f90 compilers
   9821 	  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'
   9822 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9823 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9824 	  tmp_addflag=' -i_dynamic' ;;
   9825 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9826 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9827 	ifc* | ifort*)			# Intel Fortran compiler
   9828 	  tmp_addflag=' -nofor_main' ;;
   9829 	lf95*)				# Lahey Fortran 8.1
   9830 	  whole_archive_flag_spec=
   9831 	  tmp_sharedflag='--shared' ;;
   9832         nagfor*)                        # NAGFOR 5.3
   9833           tmp_sharedflag='-Wl,-shared' ;;
   9834 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9835 	  tmp_sharedflag='-qmkshrobj'
   9836 	  tmp_addflag= ;;
   9837 	nvcc*)	# Cuda Compiler Driver 2.2
   9838 	  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'
   9839 	  compiler_needs_object=yes
   9840 	  ;;
   9841 	esac
   9842 	case `$CC -V 2>&1 | $SED 5q` in
   9843 	*Sun\ C*)			# Sun C 5.9
   9844 	  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'
   9845 	  compiler_needs_object=yes
   9846 	  tmp_sharedflag='-G' ;;
   9847 	*Sun\ F*)			# Sun Fortran 8.3
   9848 	  tmp_sharedflag='-G' ;;
   9849 	esac
   9850 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9851 
   9852         if test yes = "$supports_anon_versioning"; then
   9853           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9854             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9855             echo "local: *; };" >> $output_objdir/$libname.ver~
   9856             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9857         fi
   9858 
   9859 	case $cc_basename in
   9860 	tcc*)
   9861 	  export_dynamic_flag_spec='-rdynamic'
   9862 	  ;;
   9863 	xlf* | bgf* | bgxlf* | mpixlf*)
   9864 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9865 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9866 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9867 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9868 	  if test yes = "$supports_anon_versioning"; then
   9869 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9870               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9871               echo "local: *; };" >> $output_objdir/$libname.ver~
   9872               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9873 	  fi
   9874 	  ;;
   9875 	esac
   9876       else
   9877         ld_shlibs=no
   9878       fi
   9879       ;;
   9880 
   9881     netbsd*)
   9882       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9883 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9884 	wlarc=
   9885       else
   9886 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9887 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9888       fi
   9889       ;;
   9890 
   9891     solaris*)
   9892       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9893 	ld_shlibs=no
   9894 	cat <<_LT_EOF 1>&2
   9895 
   9896 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9897 *** create shared libraries on Solaris systems.  Therefore, libtool
   9898 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9899 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9900 *** your PATH or compiler configuration so that the native linker is
   9901 *** used, and then restart.
   9902 
   9903 _LT_EOF
   9904       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9905 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9906 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9907       else
   9908 	ld_shlibs=no
   9909       fi
   9910       ;;
   9911 
   9912     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9913       case `$LD -v 2>&1` in
   9914         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9915 	ld_shlibs=no
   9916 	cat <<_LT_EOF 1>&2
   9917 
   9918 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9919 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9920 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9921 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9922 *** your PATH or compiler configuration so that the native linker is
   9923 *** used, and then restart.
   9924 
   9925 _LT_EOF
   9926 	;;
   9927 	*)
   9928 	  # For security reasons, it is highly recommended that you always
   9929 	  # use absolute paths for naming shared libraries, and exclude the
   9930 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9931 	  # requires that you compile everything twice, which is a pain.
   9932 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9933 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9934 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9935 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9936 	  else
   9937 	    ld_shlibs=no
   9938 	  fi
   9939 	;;
   9940       esac
   9941       ;;
   9942 
   9943     sunos4*)
   9944       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9945       wlarc=
   9946       hardcode_direct=yes
   9947       hardcode_shlibpath_var=no
   9948       ;;
   9949 
   9950     *)
   9951       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9952 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9953 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9954       else
   9955 	ld_shlibs=no
   9956       fi
   9957       ;;
   9958     esac
   9959 
   9960     if test no = "$ld_shlibs"; then
   9961       runpath_var=
   9962       hardcode_libdir_flag_spec=
   9963       export_dynamic_flag_spec=
   9964       whole_archive_flag_spec=
   9965     fi
   9966   else
   9967     # PORTME fill in a description of your system's linker (not GNU ld)
   9968     case $host_os in
   9969     aix3*)
   9970       allow_undefined_flag=unsupported
   9971       always_export_symbols=yes
   9972       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'
   9973       # Note: this linker hardcodes the directories in LIBPATH if there
   9974       # are no directories specified by -L.
   9975       hardcode_minus_L=yes
   9976       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9977 	# Neither direct hardcoding nor static linking is supported with a
   9978 	# broken collect2.
   9979 	hardcode_direct=unsupported
   9980       fi
   9981       ;;
   9982 
   9983     aix[4-9]*)
   9984       if test ia64 = "$host_cpu"; then
   9985 	# On IA64, the linker does run time linking by default, so we don't
   9986 	# have to do anything special.
   9987 	aix_use_runtimelinking=no
   9988 	exp_sym_flag='-Bexport'
   9989 	no_entry_flag=
   9990       else
   9991 	# If we're using GNU nm, then we don't want the "-C" option.
   9992 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9993 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9994 	# weak defined symbols like other global defined symbols, whereas
   9995 	# GNU nm marks them as "W".
   9996 	# While the 'weak' keyword is ignored in the Export File, we need
   9997 	# it in the Import File for the 'aix-soname' feature, so we have
   9998 	# to replace the "-B" option with "-P" for AIX nm.
   9999 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10000 	  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'
   10001 	else
   10002 	  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'
   10003 	fi
   10004 	aix_use_runtimelinking=no
   10005 
   10006 	# Test if we are trying to use run time linking or normal
   10007 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10008 	# have runtime linking enabled, and use it for executables.
   10009 	# For shared libraries, we enable/disable runtime linking
   10010 	# depending on the kind of the shared library created -
   10011 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10012 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10013 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10014 	#            lib.a           static archive
   10015 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10016 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10017 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10018 	#            lib.a(lib.so.V) shared, rtl:no
   10019 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10020 	#            lib.a           static archive
   10021 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10022 	  for ld_flag in $LDFLAGS; do
   10023 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10024 	    aix_use_runtimelinking=yes
   10025 	    break
   10026 	  fi
   10027 	  done
   10028 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10029 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10030 	    # so we don't have lib.a shared libs to link our executables.
   10031 	    # We have to force runtime linking in this case.
   10032 	    aix_use_runtimelinking=yes
   10033 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10034 	  fi
   10035 	  ;;
   10036 	esac
   10037 
   10038 	exp_sym_flag='-bexport'
   10039 	no_entry_flag='-bnoentry'
   10040       fi
   10041 
   10042       # When large executables or shared objects are built, AIX ld can
   10043       # have problems creating the table of contents.  If linking a library
   10044       # or program results in "error TOC overflow" add -mminimal-toc to
   10045       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10046       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10047 
   10048       archive_cmds=''
   10049       hardcode_direct=yes
   10050       hardcode_direct_absolute=yes
   10051       hardcode_libdir_separator=':'
   10052       link_all_deplibs=yes
   10053       file_list_spec='$wl-f,'
   10054       case $with_aix_soname,$aix_use_runtimelinking in
   10055       aix,*) ;; # traditional, no import file
   10056       svr4,* | *,yes) # use import file
   10057 	# The Import File defines what to hardcode.
   10058 	hardcode_direct=no
   10059 	hardcode_direct_absolute=no
   10060 	;;
   10061       esac
   10062 
   10063       if test yes = "$GCC"; then
   10064 	case $host_os in aix4.[012]|aix4.[012].*)
   10065 	# We only want to do this on AIX 4.2 and lower, the check
   10066 	# below for broken collect2 doesn't work under 4.3+
   10067 	  collect2name=`$CC -print-prog-name=collect2`
   10068 	  if test -f "$collect2name" &&
   10069 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10070 	  then
   10071 	  # We have reworked collect2
   10072 	  :
   10073 	  else
   10074 	  # We have old collect2
   10075 	  hardcode_direct=unsupported
   10076 	  # It fails to find uninstalled libraries when the uninstalled
   10077 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10078 	  # to unsupported forces relinking
   10079 	  hardcode_minus_L=yes
   10080 	  hardcode_libdir_flag_spec='-L$libdir'
   10081 	  hardcode_libdir_separator=
   10082 	  fi
   10083 	  ;;
   10084 	esac
   10085 	shared_flag='-shared'
   10086 	if test yes = "$aix_use_runtimelinking"; then
   10087 	  shared_flag="$shared_flag "'$wl-G'
   10088 	fi
   10089 	# Need to ensure runtime linking is disabled for the traditional
   10090 	# shared library, or the linker may eventually find shared libraries
   10091 	# /with/ Import File - we do not want to mix them.
   10092 	shared_flag_aix='-shared'
   10093 	shared_flag_svr4='-shared $wl-G'
   10094       else
   10095 	# not using gcc
   10096 	if test ia64 = "$host_cpu"; then
   10097 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10098 	# chokes on -Wl,-G. The following line is correct:
   10099 	  shared_flag='-G'
   10100 	else
   10101 	  if test yes = "$aix_use_runtimelinking"; then
   10102 	    shared_flag='$wl-G'
   10103 	  else
   10104 	    shared_flag='$wl-bM:SRE'
   10105 	  fi
   10106 	  shared_flag_aix='$wl-bM:SRE'
   10107 	  shared_flag_svr4='$wl-G'
   10108 	fi
   10109       fi
   10110 
   10111       export_dynamic_flag_spec='$wl-bexpall'
   10112       # It seems that -bexpall does not export symbols beginning with
   10113       # underscore (_), so it is better to generate a list of symbols to export.
   10114       always_export_symbols=yes
   10115       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10116 	# Warning - without using the other runtime loading flags (-brtl),
   10117 	# -berok will link without error, but may produce a broken library.
   10118 	allow_undefined_flag='-berok'
   10119         # Determine the default libpath from the value encoded in an
   10120         # empty executable.
   10121         if test set = "${lt_cv_aix_libpath+set}"; then
   10122   aix_libpath=$lt_cv_aix_libpath
   10123 else
   10124   if test ${lt_cv_aix_libpath_+y}
   10125 then :
   10126   printf %s "(cached) " >&6
   10127 else $as_nop
   10128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10129 /* end confdefs.h.  */
   10130 
   10131 int
   10132 main (void)
   10133 {
   10134 
   10135   ;
   10136   return 0;
   10137 }
   10138 _ACEOF
   10139 if ac_fn_c_try_link "$LINENO"
   10140 then :
   10141 
   10142   lt_aix_libpath_sed='
   10143       /Import File Strings/,/^$/ {
   10144 	  /^0/ {
   10145 	      s/^0  *\([^ ]*\) *$/\1/
   10146 	      p
   10147 	  }
   10148       }'
   10149   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10150   # Check for a 64-bit object if we didn't find anything.
   10151   if test -z "$lt_cv_aix_libpath_"; then
   10152     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10153   fi
   10154 fi
   10155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10156     conftest$ac_exeext conftest.$ac_ext
   10157   if test -z "$lt_cv_aix_libpath_"; then
   10158     lt_cv_aix_libpath_=/usr/lib:/lib
   10159   fi
   10160 
   10161 fi
   10162 
   10163   aix_libpath=$lt_cv_aix_libpath_
   10164 fi
   10165 
   10166         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10167         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
   10168       else
   10169 	if test ia64 = "$host_cpu"; then
   10170 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10171 	  allow_undefined_flag="-z nodefs"
   10172 	  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"
   10173 	else
   10174 	 # Determine the default libpath from the value encoded in an
   10175 	 # empty executable.
   10176 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10177   aix_libpath=$lt_cv_aix_libpath
   10178 else
   10179   if test ${lt_cv_aix_libpath_+y}
   10180 then :
   10181   printf %s "(cached) " >&6
   10182 else $as_nop
   10183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10184 /* end confdefs.h.  */
   10185 
   10186 int
   10187 main (void)
   10188 {
   10189 
   10190   ;
   10191   return 0;
   10192 }
   10193 _ACEOF
   10194 if ac_fn_c_try_link "$LINENO"
   10195 then :
   10196 
   10197   lt_aix_libpath_sed='
   10198       /Import File Strings/,/^$/ {
   10199 	  /^0/ {
   10200 	      s/^0  *\([^ ]*\) *$/\1/
   10201 	      p
   10202 	  }
   10203       }'
   10204   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10205   # Check for a 64-bit object if we didn't find anything.
   10206   if test -z "$lt_cv_aix_libpath_"; then
   10207     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10208   fi
   10209 fi
   10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10211     conftest$ac_exeext conftest.$ac_ext
   10212   if test -z "$lt_cv_aix_libpath_"; then
   10213     lt_cv_aix_libpath_=/usr/lib:/lib
   10214   fi
   10215 
   10216 fi
   10217 
   10218   aix_libpath=$lt_cv_aix_libpath_
   10219 fi
   10220 
   10221 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10222 	  # Warning - without using the other run time loading flags,
   10223 	  # -berok will link without error, but may produce a broken library.
   10224 	  no_undefined_flag=' $wl-bernotok'
   10225 	  allow_undefined_flag=' $wl-berok'
   10226 	  if test yes = "$with_gnu_ld"; then
   10227 	    # We only use this code for GNU lds that support --whole-archive.
   10228 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10229 	  else
   10230 	    # Exported symbols can be pulled into shared objects from archives
   10231 	    whole_archive_flag_spec='$convenience'
   10232 	  fi
   10233 	  archive_cmds_need_lc=yes
   10234 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10235 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10236 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10237 	  if test svr4 != "$with_aix_soname"; then
   10238 	    # This is similar to how AIX traditionally builds its shared libraries.
   10239 	    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'
   10240 	  fi
   10241 	  if test aix != "$with_aix_soname"; then
   10242 	    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'
   10243 	  else
   10244 	    # used by -dlpreopen to get the symbols
   10245 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10246 	  fi
   10247 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10248 	fi
   10249       fi
   10250       ;;
   10251 
   10252     amigaos*)
   10253       case $host_cpu in
   10254       powerpc)
   10255             # see comment about AmigaOS4 .so support
   10256             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10257             archive_expsym_cmds=''
   10258         ;;
   10259       m68k)
   10260             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)'
   10261             hardcode_libdir_flag_spec='-L$libdir'
   10262             hardcode_minus_L=yes
   10263         ;;
   10264       esac
   10265       ;;
   10266 
   10267     bsdi[45]*)
   10268       export_dynamic_flag_spec=-rdynamic
   10269       ;;
   10270 
   10271     cygwin* | mingw* | pw32* | cegcc*)
   10272       # When not using gcc, we currently assume that we are using
   10273       # Microsoft Visual C++ or Intel C++ Compiler.
   10274       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10275       # no search path for DLLs.
   10276       case $cc_basename in
   10277       cl* | icl*)
   10278 	# Native MSVC or ICC
   10279 	hardcode_libdir_flag_spec=' '
   10280 	allow_undefined_flag=unsupported
   10281 	always_export_symbols=yes
   10282 	file_list_spec='@'
   10283 	# Tell ltmain to make .lib files, not .a files.
   10284 	libext=lib
   10285 	# Tell ltmain to make .dll files, not .so files.
   10286 	shrext_cmds=.dll
   10287 	# FIXME: Setting linknames here is a bad hack.
   10288 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10289 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10290             cp "$export_symbols" "$output_objdir/$soname.def";
   10291             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10292           else
   10293             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10294           fi~
   10295           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10296           linknames='
   10297 	# The linker will not automatically build a static lib if we build a DLL.
   10298 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10299 	enable_shared_with_static_runtimes=yes
   10300 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10301 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10302 	# Don't use ranlib
   10303 	old_postinstall_cmds='chmod 644 $oldlib'
   10304 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10305           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10306           case $lt_outputfile in
   10307             *.exe|*.EXE) ;;
   10308             *)
   10309               lt_outputfile=$lt_outputfile.exe
   10310               lt_tool_outputfile=$lt_tool_outputfile.exe
   10311               ;;
   10312           esac~
   10313           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10314             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10315             $RM "$lt_outputfile.manifest";
   10316           fi'
   10317 	;;
   10318       *)
   10319 	# Assume MSVC and ICC wrapper
   10320 	hardcode_libdir_flag_spec=' '
   10321 	allow_undefined_flag=unsupported
   10322 	# Tell ltmain to make .lib files, not .a files.
   10323 	libext=lib
   10324 	# Tell ltmain to make .dll files, not .so files.
   10325 	shrext_cmds=.dll
   10326 	# FIXME: Setting linknames here is a bad hack.
   10327 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10328 	# The linker will automatically build a .lib file if we build a DLL.
   10329 	old_archive_from_new_cmds='true'
   10330 	# FIXME: Should let the user specify the lib program.
   10331 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10332 	enable_shared_with_static_runtimes=yes
   10333 	;;
   10334       esac
   10335       ;;
   10336 
   10337     darwin* | rhapsody*)
   10338 
   10339 
   10340   archive_cmds_need_lc=no
   10341   hardcode_direct=no
   10342   hardcode_automatic=yes
   10343   hardcode_shlibpath_var=unsupported
   10344   if test yes = "$lt_cv_ld_force_load"; then
   10345     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\"`'
   10346 
   10347   else
   10348     whole_archive_flag_spec=''
   10349   fi
   10350   link_all_deplibs=yes
   10351   allow_undefined_flag=$_lt_dar_allow_undefined
   10352   case $cc_basename in
   10353      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10354      *) _lt_dar_can_shared=$GCC ;;
   10355   esac
   10356   if test yes = "$_lt_dar_can_shared"; then
   10357     output_verbose_link_cmd=func_echo_all
   10358     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10359     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10360     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"
   10361     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"
   10362 
   10363   else
   10364   ld_shlibs=no
   10365   fi
   10366 
   10367       ;;
   10368 
   10369     dgux*)
   10370       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10371       hardcode_libdir_flag_spec='-L$libdir'
   10372       hardcode_shlibpath_var=no
   10373       ;;
   10374 
   10375     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10376     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10377     # does not break anything, and helps significantly (at the cost of a little
   10378     # extra space).
   10379     freebsd2.2*)
   10380       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10381       hardcode_libdir_flag_spec='-R$libdir'
   10382       hardcode_direct=yes
   10383       hardcode_shlibpath_var=no
   10384       ;;
   10385 
   10386     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10387     freebsd2.*)
   10388       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10389       hardcode_direct=yes
   10390       hardcode_minus_L=yes
   10391       hardcode_shlibpath_var=no
   10392       ;;
   10393 
   10394     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10395     freebsd* | dragonfly* | midnightbsd*)
   10396       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10397       hardcode_libdir_flag_spec='-R$libdir'
   10398       hardcode_direct=yes
   10399       hardcode_shlibpath_var=no
   10400       ;;
   10401 
   10402     hpux9*)
   10403       if test yes = "$GCC"; then
   10404 	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'
   10405       else
   10406 	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'
   10407       fi
   10408       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10409       hardcode_libdir_separator=:
   10410       hardcode_direct=yes
   10411 
   10412       # hardcode_minus_L: Not really in the search PATH,
   10413       # but as the default location of the library.
   10414       hardcode_minus_L=yes
   10415       export_dynamic_flag_spec='$wl-E'
   10416       ;;
   10417 
   10418     hpux10*)
   10419       if test yes,no = "$GCC,$with_gnu_ld"; then
   10420 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10421       else
   10422 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10423       fi
   10424       if test no = "$with_gnu_ld"; then
   10425 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10426 	hardcode_libdir_separator=:
   10427 	hardcode_direct=yes
   10428 	hardcode_direct_absolute=yes
   10429 	export_dynamic_flag_spec='$wl-E'
   10430 	# hardcode_minus_L: Not really in the search PATH,
   10431 	# but as the default location of the library.
   10432 	hardcode_minus_L=yes
   10433       fi
   10434       ;;
   10435 
   10436     hpux11*)
   10437       if test yes,no = "$GCC,$with_gnu_ld"; then
   10438 	case $host_cpu in
   10439 	hppa*64*)
   10440 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10441 	  ;;
   10442 	ia64*)
   10443 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10444 	  ;;
   10445 	*)
   10446 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10447 	  ;;
   10448 	esac
   10449       else
   10450 	case $host_cpu in
   10451 	hppa*64*)
   10452 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10453 	  ;;
   10454 	ia64*)
   10455 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10456 	  ;;
   10457 	*)
   10458 
   10459 	  # Older versions of the 11.00 compiler do not understand -b yet
   10460 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10461 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10462 printf %s "checking if $CC understands -b... " >&6; }
   10463 if test ${lt_cv_prog_compiler__b+y}
   10464 then :
   10465   printf %s "(cached) " >&6
   10466 else $as_nop
   10467   lt_cv_prog_compiler__b=no
   10468    save_LDFLAGS=$LDFLAGS
   10469    LDFLAGS="$LDFLAGS -b"
   10470    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10471    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10472      # The linker can only warn and ignore the option if not recognized
   10473      # So say no if there are warnings
   10474      if test -s conftest.err; then
   10475        # Append any errors to the config.log.
   10476        cat conftest.err 1>&5
   10477        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10478        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10479        if diff conftest.exp conftest.er2 >/dev/null; then
   10480          lt_cv_prog_compiler__b=yes
   10481        fi
   10482      else
   10483        lt_cv_prog_compiler__b=yes
   10484      fi
   10485    fi
   10486    $RM -r conftest*
   10487    LDFLAGS=$save_LDFLAGS
   10488 
   10489 fi
   10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10491 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10492 
   10493 if test yes = "$lt_cv_prog_compiler__b"; then
   10494     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10495 else
   10496     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10497 fi
   10498 
   10499 	  ;;
   10500 	esac
   10501       fi
   10502       if test no = "$with_gnu_ld"; then
   10503 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10504 	hardcode_libdir_separator=:
   10505 
   10506 	case $host_cpu in
   10507 	hppa*64*|ia64*)
   10508 	  hardcode_direct=no
   10509 	  hardcode_shlibpath_var=no
   10510 	  ;;
   10511 	*)
   10512 	  hardcode_direct=yes
   10513 	  hardcode_direct_absolute=yes
   10514 	  export_dynamic_flag_spec='$wl-E'
   10515 
   10516 	  # hardcode_minus_L: Not really in the search PATH,
   10517 	  # but as the default location of the library.
   10518 	  hardcode_minus_L=yes
   10519 	  ;;
   10520 	esac
   10521       fi
   10522       ;;
   10523 
   10524     irix5* | irix6* | nonstopux*)
   10525       if test yes = "$GCC"; then
   10526 	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'
   10527 	# Try to use the -exported_symbol ld option, if it does not
   10528 	# work, assume that -exports_file does not work either and
   10529 	# implicitly export all symbols.
   10530 	# This should be the same for all languages, so no per-tag cache variable.
   10531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10532 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10533 if test ${lt_cv_irix_exported_symbol+y}
   10534 then :
   10535   printf %s "(cached) " >&6
   10536 else $as_nop
   10537   save_LDFLAGS=$LDFLAGS
   10538 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10539 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10540 /* end confdefs.h.  */
   10541 int foo (void) { return 0; }
   10542 _ACEOF
   10543 if ac_fn_c_try_link "$LINENO"
   10544 then :
   10545   lt_cv_irix_exported_symbol=yes
   10546 else $as_nop
   10547   lt_cv_irix_exported_symbol=no
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10550     conftest$ac_exeext conftest.$ac_ext
   10551            LDFLAGS=$save_LDFLAGS
   10552 fi
   10553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10554 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10555 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10556           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'
   10557 	fi
   10558       else
   10559 	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'
   10560 	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'
   10561       fi
   10562       archive_cmds_need_lc='no'
   10563       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10564       hardcode_libdir_separator=:
   10565       inherit_rpath=yes
   10566       link_all_deplibs=yes
   10567       ;;
   10568 
   10569     linux*)
   10570       case $cc_basename in
   10571       tcc*)
   10572 	# Fabrice Bellard et al's Tiny C Compiler
   10573 	ld_shlibs=yes
   10574 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10575 	;;
   10576       esac
   10577       ;;
   10578 
   10579     netbsd*)
   10580       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10581 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10582       else
   10583 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10584       fi
   10585       hardcode_libdir_flag_spec='-R$libdir'
   10586       hardcode_direct=yes
   10587       hardcode_shlibpath_var=no
   10588       ;;
   10589 
   10590     newsos6)
   10591       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10592       hardcode_direct=yes
   10593       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10594       hardcode_libdir_separator=:
   10595       hardcode_shlibpath_var=no
   10596       ;;
   10597 
   10598     *nto* | *qnx*)
   10599       ;;
   10600 
   10601     openbsd* | bitrig*)
   10602       if test -f /usr/libexec/ld.so; then
   10603 	hardcode_direct=yes
   10604 	hardcode_shlibpath_var=no
   10605 	hardcode_direct_absolute=yes
   10606 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10607 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10608 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10609 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10610 	  export_dynamic_flag_spec='$wl-E'
   10611 	else
   10612 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10613 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10614 	fi
   10615       else
   10616 	ld_shlibs=no
   10617       fi
   10618       ;;
   10619 
   10620     os2*)
   10621       hardcode_libdir_flag_spec='-L$libdir'
   10622       hardcode_minus_L=yes
   10623       allow_undefined_flag=unsupported
   10624       shrext_cmds=.dll
   10625       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10626 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10627 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10628 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10629 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10630 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10631 	emximp -o $lib $output_objdir/$libname.def'
   10632       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10633 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10634 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10635 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10636 	prefix_cmds="$SED"~
   10637 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10638 	  prefix_cmds="$prefix_cmds -e 1d";
   10639 	fi~
   10640 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10641 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10642 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10643 	emximp -o $lib $output_objdir/$libname.def'
   10644       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10645       enable_shared_with_static_runtimes=yes
   10646       file_list_spec='@'
   10647       ;;
   10648 
   10649     osf3*)
   10650       if test yes = "$GCC"; then
   10651 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10652 	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'
   10653       else
   10654 	allow_undefined_flag=' -expect_unresolved \*'
   10655 	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'
   10656       fi
   10657       archive_cmds_need_lc='no'
   10658       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10659       hardcode_libdir_separator=:
   10660       ;;
   10661 
   10662     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10663       if test yes = "$GCC"; then
   10664 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10665 	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'
   10666 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10667       else
   10668 	allow_undefined_flag=' -expect_unresolved \*'
   10669 	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'
   10670 	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~
   10671           $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'
   10672 
   10673 	# Both c and cxx compiler support -rpath directly
   10674 	hardcode_libdir_flag_spec='-rpath $libdir'
   10675       fi
   10676       archive_cmds_need_lc='no'
   10677       hardcode_libdir_separator=:
   10678       ;;
   10679 
   10680     solaris*)
   10681       no_undefined_flag=' -z defs'
   10682       if test yes = "$GCC"; then
   10683 	wlarc='$wl'
   10684 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10685 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10686           $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'
   10687       else
   10688 	case `$CC -V 2>&1` in
   10689 	*"Compilers 5.0"*)
   10690 	  wlarc=''
   10691 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10692 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10693             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10694 	  ;;
   10695 	*)
   10696 	  wlarc='$wl'
   10697 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10698 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10699             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10700 	  ;;
   10701 	esac
   10702       fi
   10703       hardcode_libdir_flag_spec='-R$libdir'
   10704       hardcode_shlibpath_var=no
   10705       case $host_os in
   10706       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10707       *)
   10708 	# The compiler driver will combine and reorder linker options,
   10709 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10710 	# but is careful enough not to reorder.
   10711 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10712 	if test yes = "$GCC"; then
   10713 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10714 	else
   10715 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10716 	fi
   10717 	;;
   10718       esac
   10719       link_all_deplibs=yes
   10720       ;;
   10721 
   10722     sunos4*)
   10723       if test sequent = "$host_vendor"; then
   10724 	# Use $CC to link under sequent, because it throws in some extra .o
   10725 	# files that make .init and .fini sections work.
   10726 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10727       else
   10728 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10729       fi
   10730       hardcode_libdir_flag_spec='-L$libdir'
   10731       hardcode_direct=yes
   10732       hardcode_minus_L=yes
   10733       hardcode_shlibpath_var=no
   10734       ;;
   10735 
   10736     sysv4)
   10737       case $host_vendor in
   10738 	sni)
   10739 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10740 	  hardcode_direct=yes # is this really true???
   10741 	;;
   10742 	siemens)
   10743 	  ## LD is ld it makes a PLAMLIB
   10744 	  ## CC just makes a GrossModule.
   10745 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10746 	  reload_cmds='$CC -r -o $output$reload_objs'
   10747 	  hardcode_direct=no
   10748         ;;
   10749 	motorola)
   10750 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10751 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10752 	;;
   10753       esac
   10754       runpath_var='LD_RUN_PATH'
   10755       hardcode_shlibpath_var=no
   10756       ;;
   10757 
   10758     sysv4.3*)
   10759       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10760       hardcode_shlibpath_var=no
   10761       export_dynamic_flag_spec='-Bexport'
   10762       ;;
   10763 
   10764     sysv4*MP*)
   10765       if test -d /usr/nec; then
   10766 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10767 	hardcode_shlibpath_var=no
   10768 	runpath_var=LD_RUN_PATH
   10769 	hardcode_runpath_var=yes
   10770 	ld_shlibs=yes
   10771       fi
   10772       ;;
   10773 
   10774     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10775       no_undefined_flag='$wl-z,text'
   10776       archive_cmds_need_lc=no
   10777       hardcode_shlibpath_var=no
   10778       runpath_var='LD_RUN_PATH'
   10779 
   10780       if test yes = "$GCC"; then
   10781 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10782 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10783       else
   10784 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10785 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10786       fi
   10787       ;;
   10788 
   10789     sysv5* | sco3.2v5* | sco5v6*)
   10790       # Note: We CANNOT use -z defs as we might desire, because we do not
   10791       # link with -lc, and that would cause any symbols used from libc to
   10792       # always be unresolved, which means just about no library would
   10793       # ever link correctly.  If we're not using GNU ld we use -z text
   10794       # though, which does catch some bad symbols but isn't as heavy-handed
   10795       # as -z defs.
   10796       no_undefined_flag='$wl-z,text'
   10797       allow_undefined_flag='$wl-z,nodefs'
   10798       archive_cmds_need_lc=no
   10799       hardcode_shlibpath_var=no
   10800       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10801       hardcode_libdir_separator=':'
   10802       link_all_deplibs=yes
   10803       export_dynamic_flag_spec='$wl-Bexport'
   10804       runpath_var='LD_RUN_PATH'
   10805 
   10806       if test yes = "$GCC"; then
   10807 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10808 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10809       else
   10810 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10811 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10812       fi
   10813       ;;
   10814 
   10815     uts4*)
   10816       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10817       hardcode_libdir_flag_spec='-L$libdir'
   10818       hardcode_shlibpath_var=no
   10819       ;;
   10820 
   10821     *)
   10822       ld_shlibs=no
   10823       ;;
   10824     esac
   10825 
   10826     if test sni = "$host_vendor"; then
   10827       case $host in
   10828       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10829 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10830 	;;
   10831       esac
   10832     fi
   10833   fi
   10834 
   10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10836 printf "%s\n" "$ld_shlibs" >&6; }
   10837 test no = "$ld_shlibs" && can_build_shared=no
   10838 
   10839 with_gnu_ld=$with_gnu_ld
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 #
   10856 # Do we need to explicitly link libc?
   10857 #
   10858 case "x$archive_cmds_need_lc" in
   10859 x|xyes)
   10860   # Assume -lc should be added
   10861   archive_cmds_need_lc=yes
   10862 
   10863   if test yes,yes = "$GCC,$enable_shared"; then
   10864     case $archive_cmds in
   10865     *'~'*)
   10866       # FIXME: we may have to deal with multi-command sequences.
   10867       ;;
   10868     '$CC '*)
   10869       # Test whether the compiler implicitly links with -lc since on some
   10870       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10871       # to ld, don't add -lc before -lgcc.
   10872       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10873 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10874 if test ${lt_cv_archive_cmds_need_lc+y}
   10875 then :
   10876   printf %s "(cached) " >&6
   10877 else $as_nop
   10878   $RM conftest*
   10879 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10880 
   10881 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10882   (eval $ac_compile) 2>&5
   10883   ac_status=$?
   10884   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10885   test $ac_status = 0; } 2>conftest.err; then
   10886 	  soname=conftest
   10887 	  lib=conftest
   10888 	  libobjs=conftest.$ac_objext
   10889 	  deplibs=
   10890 	  wl=$lt_prog_compiler_wl
   10891 	  pic_flag=$lt_prog_compiler_pic
   10892 	  compiler_flags=-v
   10893 	  linker_flags=-v
   10894 	  verstring=
   10895 	  output_objdir=.
   10896 	  libname=conftest
   10897 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10898 	  allow_undefined_flag=
   10899 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10900   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10901   ac_status=$?
   10902   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10903   test $ac_status = 0; }
   10904 	  then
   10905 	    lt_cv_archive_cmds_need_lc=no
   10906 	  else
   10907 	    lt_cv_archive_cmds_need_lc=yes
   10908 	  fi
   10909 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10910 	else
   10911 	  cat conftest.err 1>&5
   10912 	fi
   10913 	$RM conftest*
   10914 
   10915 fi
   10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10917 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10918       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10919       ;;
   10920     esac
   10921   fi
   10922   ;;
   10923 esac
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11077 printf %s "checking dynamic linker characteristics... " >&6; }
   11078 
   11079 if test yes = "$GCC"; then
   11080   case $host_os in
   11081     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11082     *) lt_awk_arg='/^libraries:/' ;;
   11083   esac
   11084   case $host_os in
   11085     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11086     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11087   esac
   11088   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11089   case $lt_search_path_spec in
   11090   *\;*)
   11091     # if the path contains ";" then we assume it to be the separator
   11092     # otherwise default to the standard path separator (i.e. ":") - it is
   11093     # assumed that no part of a normal pathname contains ";" but that should
   11094     # okay in the real world where ";" in dirpaths is itself problematic.
   11095     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11096     ;;
   11097   *)
   11098     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11099     ;;
   11100   esac
   11101   # Ok, now we have the path, separated by spaces, we can step through it
   11102   # and add multilib dir if necessary...
   11103   lt_tmp_lt_search_path_spec=
   11104   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11105   # ...but if some path component already ends with the multilib dir we assume
   11106   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11107   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11108   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11109     lt_multi_os_dir=
   11110     ;;
   11111   esac
   11112   for lt_sys_path in $lt_search_path_spec; do
   11113     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11114       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11115     elif test -n "$lt_multi_os_dir"; then
   11116       test -d "$lt_sys_path" && \
   11117 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11118     fi
   11119   done
   11120   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11121 BEGIN {RS = " "; FS = "/|\n";} {
   11122   lt_foo = "";
   11123   lt_count = 0;
   11124   for (lt_i = NF; lt_i > 0; lt_i--) {
   11125     if ($lt_i != "" && $lt_i != ".") {
   11126       if ($lt_i == "..") {
   11127         lt_count++;
   11128       } else {
   11129         if (lt_count == 0) {
   11130           lt_foo = "/" $lt_i lt_foo;
   11131         } else {
   11132           lt_count--;
   11133         }
   11134       }
   11135     }
   11136   }
   11137   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11138   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11139 }'`
   11140   # AWK program above erroneously prepends '/' to C:/dos/paths
   11141   # for these hosts.
   11142   case $host_os in
   11143     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11144       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11145   esac
   11146   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11147 else
   11148   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11149 fi
   11150 library_names_spec=
   11151 libname_spec='lib$name'
   11152 soname_spec=
   11153 shrext_cmds=.so
   11154 postinstall_cmds=
   11155 postuninstall_cmds=
   11156 finish_cmds=
   11157 finish_eval=
   11158 shlibpath_var=
   11159 shlibpath_overrides_runpath=unknown
   11160 version_type=none
   11161 dynamic_linker="$host_os ld.so"
   11162 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11163 need_lib_prefix=unknown
   11164 hardcode_into_libs=no
   11165 
   11166 # when you set need_version to no, make sure it does not cause -set_version
   11167 # flags to be left without arguments
   11168 need_version=unknown
   11169 
   11170 
   11171 
   11172 case $host_os in
   11173 aix3*)
   11174   version_type=linux # correct to gnu/linux during the next big refactor
   11175   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11176   shlibpath_var=LIBPATH
   11177 
   11178   # AIX 3 has no versioning support, so we append a major version to the name.
   11179   soname_spec='$libname$release$shared_ext$major'
   11180   ;;
   11181 
   11182 aix[4-9]*)
   11183   version_type=linux # correct to gnu/linux during the next big refactor
   11184   need_lib_prefix=no
   11185   need_version=no
   11186   hardcode_into_libs=yes
   11187   if test ia64 = "$host_cpu"; then
   11188     # AIX 5 supports IA64
   11189     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11190     shlibpath_var=LD_LIBRARY_PATH
   11191   else
   11192     # With GCC up to 2.95.x, collect2 would create an import file
   11193     # for dependence libraries.  The import file would start with
   11194     # the line '#! .'.  This would cause the generated library to
   11195     # depend on '.', always an invalid library.  This was fixed in
   11196     # development snapshots of GCC prior to 3.0.
   11197     case $host_os in
   11198       aix4 | aix4.[01] | aix4.[01].*)
   11199       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11200 	   echo ' yes '
   11201 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11202 	:
   11203       else
   11204 	can_build_shared=no
   11205       fi
   11206       ;;
   11207     esac
   11208     # Using Import Files as archive members, it is possible to support
   11209     # filename-based versioning of shared library archives on AIX. While
   11210     # this would work for both with and without runtime linking, it will
   11211     # prevent static linking of such archives. So we do filename-based
   11212     # shared library versioning with .so extension only, which is used
   11213     # when both runtime linking and shared linking is enabled.
   11214     # Unfortunately, runtime linking may impact performance, so we do
   11215     # not want this to be the default eventually. Also, we use the
   11216     # versioned .so libs for executables only if there is the -brtl
   11217     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11218     # To allow for filename-based versioning support, we need to create
   11219     # libNAME.so.V as an archive file, containing:
   11220     # *) an Import File, referring to the versioned filename of the
   11221     #    archive as well as the shared archive member, telling the
   11222     #    bitwidth (32 or 64) of that shared object, and providing the
   11223     #    list of exported symbols of that shared object, eventually
   11224     #    decorated with the 'weak' keyword
   11225     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11226     #    it being seen by the linker.
   11227     # At run time we better use the real file rather than another symlink,
   11228     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11229 
   11230     case $with_aix_soname,$aix_use_runtimelinking in
   11231     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11232     # soname into executable. Probably we can add versioning support to
   11233     # collect2, so additional links can be useful in future.
   11234     aix,yes) # traditional libtool
   11235       dynamic_linker='AIX unversionable lib.so'
   11236       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11237       # instead of lib<name>.a to let people know that these are not
   11238       # typical AIX shared libraries.
   11239       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11240       ;;
   11241     aix,no) # traditional AIX only
   11242       dynamic_linker='AIX lib.a(lib.so.V)'
   11243       # We preserve .a as extension for shared libraries through AIX4.2
   11244       # and later when we are not doing run time linking.
   11245       library_names_spec='$libname$release.a $libname.a'
   11246       soname_spec='$libname$release$shared_ext$major'
   11247       ;;
   11248     svr4,*) # full svr4 only
   11249       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11250       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11251       # We do not specify a path in Import Files, so LIBPATH fires.
   11252       shlibpath_overrides_runpath=yes
   11253       ;;
   11254     *,yes) # both, prefer svr4
   11255       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11256       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11257       # unpreferred sharedlib libNAME.a needs extra handling
   11258       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"'
   11259       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"'
   11260       # We do not specify a path in Import Files, so LIBPATH fires.
   11261       shlibpath_overrides_runpath=yes
   11262       ;;
   11263     *,no) # both, prefer aix
   11264       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11265       library_names_spec='$libname$release.a $libname.a'
   11266       soname_spec='$libname$release$shared_ext$major'
   11267       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11268       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)'
   11269       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"'
   11270       ;;
   11271     esac
   11272     shlibpath_var=LIBPATH
   11273   fi
   11274   ;;
   11275 
   11276 amigaos*)
   11277   case $host_cpu in
   11278   powerpc)
   11279     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11280     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11281     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11282     ;;
   11283   m68k)
   11284     library_names_spec='$libname.ixlibrary $libname.a'
   11285     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11286     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'
   11287     ;;
   11288   esac
   11289   ;;
   11290 
   11291 beos*)
   11292   library_names_spec='$libname$shared_ext'
   11293   dynamic_linker="$host_os ld.so"
   11294   shlibpath_var=LIBRARY_PATH
   11295   ;;
   11296 
   11297 bsdi[45]*)
   11298   version_type=linux # correct to gnu/linux during the next big refactor
   11299   need_version=no
   11300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11301   soname_spec='$libname$release$shared_ext$major'
   11302   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11303   shlibpath_var=LD_LIBRARY_PATH
   11304   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11305   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11306   # the default ld.so.conf also contains /usr/contrib/lib and
   11307   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11308   # libtool to hard-code these into programs
   11309   ;;
   11310 
   11311 cygwin* | mingw* | pw32* | cegcc*)
   11312   version_type=windows
   11313   shrext_cmds=.dll
   11314   need_version=no
   11315   need_lib_prefix=no
   11316 
   11317   case $GCC,$cc_basename in
   11318   yes,*)
   11319     # gcc
   11320     library_names_spec='$libname.dll.a'
   11321     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11322     postinstall_cmds='base_file=`basename \$file`~
   11323       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11324       dldir=$destdir/`dirname \$dlpath`~
   11325       test -d \$dldir || mkdir -p \$dldir~
   11326       $install_prog $dir/$dlname \$dldir/$dlname~
   11327       chmod a+x \$dldir/$dlname~
   11328       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11329         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11330       fi'
   11331     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11332       dlpath=$dir/\$dldll~
   11333        $RM \$dlpath'
   11334     shlibpath_overrides_runpath=yes
   11335 
   11336     case $host_os in
   11337     cygwin*)
   11338       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11339       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11340 
   11341       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11342       ;;
   11343     mingw* | cegcc*)
   11344       # MinGW DLLs use traditional 'lib' prefix
   11345       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11346       ;;
   11347     pw32*)
   11348       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11349       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11350       ;;
   11351     esac
   11352     dynamic_linker='Win32 ld.exe'
   11353     ;;
   11354 
   11355   *,cl* | *,icl*)
   11356     # Native MSVC or ICC
   11357     libname_spec='$name'
   11358     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11359     library_names_spec='$libname.dll.lib'
   11360 
   11361     case $build_os in
   11362     mingw*)
   11363       sys_lib_search_path_spec=
   11364       lt_save_ifs=$IFS
   11365       IFS=';'
   11366       for lt_path in $LIB
   11367       do
   11368         IFS=$lt_save_ifs
   11369         # Let DOS variable expansion print the short 8.3 style file name.
   11370         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11371         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11372       done
   11373       IFS=$lt_save_ifs
   11374       # Convert to MSYS style.
   11375       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11376       ;;
   11377     cygwin*)
   11378       # Convert to unix form, then to dos form, then back to unix form
   11379       # but this time dos style (no spaces!) so that the unix form looks
   11380       # like /cygdrive/c/PROGRA~1:/cygdr...
   11381       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11382       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11383       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11384       ;;
   11385     *)
   11386       sys_lib_search_path_spec=$LIB
   11387       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11388         # It is most probably a Windows format PATH.
   11389         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11390       else
   11391         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11392       fi
   11393       # FIXME: find the short name or the path components, as spaces are
   11394       # common. (e.g. "Program Files" -> "PROGRA~1")
   11395       ;;
   11396     esac
   11397 
   11398     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11399     postinstall_cmds='base_file=`basename \$file`~
   11400       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11401       dldir=$destdir/`dirname \$dlpath`~
   11402       test -d \$dldir || mkdir -p \$dldir~
   11403       $install_prog $dir/$dlname \$dldir/$dlname'
   11404     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11405       dlpath=$dir/\$dldll~
   11406        $RM \$dlpath'
   11407     shlibpath_overrides_runpath=yes
   11408     dynamic_linker='Win32 link.exe'
   11409     ;;
   11410 
   11411   *)
   11412     # Assume MSVC and ICC wrapper
   11413     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11414     dynamic_linker='Win32 ld.exe'
   11415     ;;
   11416   esac
   11417   # FIXME: first we should search . and the directory the executable is in
   11418   shlibpath_var=PATH
   11419   ;;
   11420 
   11421 darwin* | rhapsody*)
   11422   dynamic_linker="$host_os dyld"
   11423   version_type=darwin
   11424   need_lib_prefix=no
   11425   need_version=no
   11426   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11427   soname_spec='$libname$release$major$shared_ext'
   11428   shlibpath_overrides_runpath=yes
   11429   shlibpath_var=DYLD_LIBRARY_PATH
   11430   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11431 
   11432   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11433   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11434   ;;
   11435 
   11436 dgux*)
   11437   version_type=linux # correct to gnu/linux during the next big refactor
   11438   need_lib_prefix=no
   11439   need_version=no
   11440   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11441   soname_spec='$libname$release$shared_ext$major'
   11442   shlibpath_var=LD_LIBRARY_PATH
   11443   ;;
   11444 
   11445 freebsd* | dragonfly* | midnightbsd*)
   11446   # DragonFly does not have aout.  When/if they implement a new
   11447   # versioning mechanism, adjust this.
   11448   if test -x /usr/bin/objformat; then
   11449     objformat=`/usr/bin/objformat`
   11450   else
   11451     case $host_os in
   11452     freebsd[23].*) objformat=aout ;;
   11453     *) objformat=elf ;;
   11454     esac
   11455   fi
   11456   version_type=freebsd-$objformat
   11457   case $version_type in
   11458     freebsd-elf*)
   11459       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11460       soname_spec='$libname$release$shared_ext$major'
   11461       need_version=no
   11462       need_lib_prefix=no
   11463       ;;
   11464     freebsd-*)
   11465       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11466       need_version=yes
   11467       ;;
   11468   esac
   11469   shlibpath_var=LD_LIBRARY_PATH
   11470   case $host_os in
   11471   freebsd2.*)
   11472     shlibpath_overrides_runpath=yes
   11473     ;;
   11474   freebsd3.[01]* | freebsdelf3.[01]*)
   11475     shlibpath_overrides_runpath=yes
   11476     hardcode_into_libs=yes
   11477     ;;
   11478   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11479   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11480     shlibpath_overrides_runpath=no
   11481     hardcode_into_libs=yes
   11482     ;;
   11483   *) # from 4.6 on, and DragonFly
   11484     shlibpath_overrides_runpath=yes
   11485     hardcode_into_libs=yes
   11486     ;;
   11487   esac
   11488   ;;
   11489 
   11490 haiku*)
   11491   version_type=linux # correct to gnu/linux during the next big refactor
   11492   need_lib_prefix=no
   11493   need_version=no
   11494   dynamic_linker="$host_os runtime_loader"
   11495   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11496   soname_spec='$libname$release$shared_ext$major'
   11497   shlibpath_var=LIBRARY_PATH
   11498   shlibpath_overrides_runpath=no
   11499   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11500   hardcode_into_libs=yes
   11501   ;;
   11502 
   11503 hpux9* | hpux10* | hpux11*)
   11504   # Give a soname corresponding to the major version so that dld.sl refuses to
   11505   # link against other versions.
   11506   version_type=sunos
   11507   need_lib_prefix=no
   11508   need_version=no
   11509   case $host_cpu in
   11510   ia64*)
   11511     shrext_cmds='.so'
   11512     hardcode_into_libs=yes
   11513     dynamic_linker="$host_os dld.so"
   11514     shlibpath_var=LD_LIBRARY_PATH
   11515     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11516     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11517     soname_spec='$libname$release$shared_ext$major'
   11518     if test 32 = "$HPUX_IA64_MODE"; then
   11519       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11520       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11521     else
   11522       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11523       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11524     fi
   11525     ;;
   11526   hppa*64*)
   11527     shrext_cmds='.sl'
   11528     hardcode_into_libs=yes
   11529     dynamic_linker="$host_os dld.sl"
   11530     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11531     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11532     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11533     soname_spec='$libname$release$shared_ext$major'
   11534     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11535     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11536     ;;
   11537   *)
   11538     shrext_cmds='.sl'
   11539     dynamic_linker="$host_os dld.sl"
   11540     shlibpath_var=SHLIB_PATH
   11541     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11542     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11543     soname_spec='$libname$release$shared_ext$major'
   11544     ;;
   11545   esac
   11546   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11547   postinstall_cmds='chmod 555 $lib'
   11548   # or fails outright, so override atomically:
   11549   install_override_mode=555
   11550   ;;
   11551 
   11552 interix[3-9]*)
   11553   version_type=linux # correct to gnu/linux during the next big refactor
   11554   need_lib_prefix=no
   11555   need_version=no
   11556   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11557   soname_spec='$libname$release$shared_ext$major'
   11558   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11559   shlibpath_var=LD_LIBRARY_PATH
   11560   shlibpath_overrides_runpath=no
   11561   hardcode_into_libs=yes
   11562   ;;
   11563 
   11564 irix5* | irix6* | nonstopux*)
   11565   case $host_os in
   11566     nonstopux*) version_type=nonstopux ;;
   11567     *)
   11568 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11569 		version_type=linux # correct to gnu/linux during the next big refactor
   11570 	else
   11571 		version_type=irix
   11572 	fi ;;
   11573   esac
   11574   need_lib_prefix=no
   11575   need_version=no
   11576   soname_spec='$libname$release$shared_ext$major'
   11577   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11578   case $host_os in
   11579   irix5* | nonstopux*)
   11580     libsuff= shlibsuff=
   11581     ;;
   11582   *)
   11583     case $LD in # libtool.m4 will add one of these switches to LD
   11584     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11585       libsuff= shlibsuff= libmagic=32-bit;;
   11586     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11587       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11588     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11589       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11590     *) libsuff= shlibsuff= libmagic=never-match;;
   11591     esac
   11592     ;;
   11593   esac
   11594   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11595   shlibpath_overrides_runpath=no
   11596   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11597   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11598   hardcode_into_libs=yes
   11599   ;;
   11600 
   11601 # No shared lib support for Linux oldld, aout, or coff.
   11602 linux*oldld* | linux*aout* | linux*coff*)
   11603   dynamic_linker=no
   11604   ;;
   11605 
   11606 linux*android*)
   11607   version_type=none # Android doesn't support versioned libraries.
   11608   need_lib_prefix=no
   11609   need_version=no
   11610   library_names_spec='$libname$release$shared_ext'
   11611   soname_spec='$libname$release$shared_ext'
   11612   finish_cmds=
   11613   shlibpath_var=LD_LIBRARY_PATH
   11614   shlibpath_overrides_runpath=yes
   11615 
   11616   # This implies no fast_install, which is unacceptable.
   11617   # Some rework will be needed to allow for fast_install
   11618   # before this can be enabled.
   11619   hardcode_into_libs=yes
   11620 
   11621   dynamic_linker='Android linker'
   11622   # Don't embed -rpath directories since the linker doesn't support them.
   11623   hardcode_libdir_flag_spec='-L$libdir'
   11624   ;;
   11625 
   11626 # This must be glibc/ELF.
   11627 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11628   version_type=linux # correct to gnu/linux during the next big refactor
   11629   need_lib_prefix=no
   11630   need_version=no
   11631   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11632   soname_spec='$libname$release$shared_ext$major'
   11633   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11634   shlibpath_var=LD_LIBRARY_PATH
   11635   shlibpath_overrides_runpath=no
   11636 
   11637   # Some binutils ld are patched to set DT_RUNPATH
   11638   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11639 then :
   11640   printf %s "(cached) " >&6
   11641 else $as_nop
   11642   lt_cv_shlibpath_overrides_runpath=no
   11643     save_LDFLAGS=$LDFLAGS
   11644     save_libdir=$libdir
   11645     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11646 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11647     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11648 /* end confdefs.h.  */
   11649 
   11650 int
   11651 main (void)
   11652 {
   11653 
   11654   ;
   11655   return 0;
   11656 }
   11657 _ACEOF
   11658 if ac_fn_c_try_link "$LINENO"
   11659 then :
   11660   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11661 then :
   11662   lt_cv_shlibpath_overrides_runpath=yes
   11663 fi
   11664 fi
   11665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11666     conftest$ac_exeext conftest.$ac_ext
   11667     LDFLAGS=$save_LDFLAGS
   11668     libdir=$save_libdir
   11669 
   11670 fi
   11671 
   11672   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11673 
   11674   # This implies no fast_install, which is unacceptable.
   11675   # Some rework will be needed to allow for fast_install
   11676   # before this can be enabled.
   11677   hardcode_into_libs=yes
   11678 
   11679   # Ideally, we could use ldconfig to report *all* directores which are
   11680   # searched for libraries, however this is still not possible.  Aside from not
   11681   # being certain /sbin/ldconfig is available, command
   11682   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11683   # even though it is searched at run-time.  Try to do the best guess by
   11684   # appending ld.so.conf contents (and includes) to the search path.
   11685   if test -f /etc/ld.so.conf; then
   11686     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' ' '`
   11687     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11688   fi
   11689 
   11690   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11691   # powerpc, because MkLinux only supported shared libraries with the
   11692   # GNU dynamic linker.  Since this was broken with cross compilers,
   11693   # most powerpc-linux boxes support dynamic linking these days and
   11694   # people can always --disable-shared, the test was removed, and we
   11695   # assume the GNU/Linux dynamic linker is in use.
   11696   dynamic_linker='GNU/Linux ld.so'
   11697   ;;
   11698 
   11699 netbsd*)
   11700   version_type=sunos
   11701   need_lib_prefix=no
   11702   need_version=no
   11703   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11704     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11705     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11706     dynamic_linker='NetBSD (a.out) ld.so'
   11707   else
   11708     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11709     soname_spec='$libname$release$shared_ext$major'
   11710     dynamic_linker='NetBSD ld.elf_so'
   11711   fi
   11712   shlibpath_var=LD_LIBRARY_PATH
   11713   shlibpath_overrides_runpath=yes
   11714   hardcode_into_libs=yes
   11715   ;;
   11716 
   11717 newsos6)
   11718   version_type=linux # correct to gnu/linux during the next big refactor
   11719   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11720   shlibpath_var=LD_LIBRARY_PATH
   11721   shlibpath_overrides_runpath=yes
   11722   ;;
   11723 
   11724 *nto* | *qnx*)
   11725   version_type=qnx
   11726   need_lib_prefix=no
   11727   need_version=no
   11728   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11729   soname_spec='$libname$release$shared_ext$major'
   11730   shlibpath_var=LD_LIBRARY_PATH
   11731   shlibpath_overrides_runpath=no
   11732   hardcode_into_libs=yes
   11733   dynamic_linker='ldqnx.so'
   11734   ;;
   11735 
   11736 openbsd* | bitrig*)
   11737   version_type=sunos
   11738   sys_lib_dlsearch_path_spec=/usr/lib
   11739   need_lib_prefix=no
   11740   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11741     need_version=no
   11742   else
   11743     need_version=yes
   11744   fi
   11745   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11746   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11747   shlibpath_var=LD_LIBRARY_PATH
   11748   shlibpath_overrides_runpath=yes
   11749   ;;
   11750 
   11751 os2*)
   11752   libname_spec='$name'
   11753   version_type=windows
   11754   shrext_cmds=.dll
   11755   need_version=no
   11756   need_lib_prefix=no
   11757   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11758   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11759     v=$($ECHO $release$versuffix | tr -d .-);
   11760     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11761     $ECHO $n$v`$shared_ext'
   11762   library_names_spec='${libname}_dll.$libext'
   11763   dynamic_linker='OS/2 ld.exe'
   11764   shlibpath_var=BEGINLIBPATH
   11765   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11766   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11767   postinstall_cmds='base_file=`basename \$file`~
   11768     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11769     dldir=$destdir/`dirname \$dlpath`~
   11770     test -d \$dldir || mkdir -p \$dldir~
   11771     $install_prog $dir/$dlname \$dldir/$dlname~
   11772     chmod a+x \$dldir/$dlname~
   11773     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11774       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11775     fi'
   11776   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11777     dlpath=$dir/\$dldll~
   11778     $RM \$dlpath'
   11779   ;;
   11780 
   11781 osf3* | osf4* | osf5*)
   11782   version_type=osf
   11783   need_lib_prefix=no
   11784   need_version=no
   11785   soname_spec='$libname$release$shared_ext$major'
   11786   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11787   shlibpath_var=LD_LIBRARY_PATH
   11788   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11789   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11790   ;;
   11791 
   11792 rdos*)
   11793   dynamic_linker=no
   11794   ;;
   11795 
   11796 solaris*)
   11797   version_type=linux # correct to gnu/linux during the next big refactor
   11798   need_lib_prefix=no
   11799   need_version=no
   11800   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11801   soname_spec='$libname$release$shared_ext$major'
   11802   shlibpath_var=LD_LIBRARY_PATH
   11803   shlibpath_overrides_runpath=yes
   11804   hardcode_into_libs=yes
   11805   # ldd complains unless libraries are executable
   11806   postinstall_cmds='chmod +x $lib'
   11807   ;;
   11808 
   11809 sunos4*)
   11810   version_type=sunos
   11811   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11812   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11813   shlibpath_var=LD_LIBRARY_PATH
   11814   shlibpath_overrides_runpath=yes
   11815   if test yes = "$with_gnu_ld"; then
   11816     need_lib_prefix=no
   11817   fi
   11818   need_version=yes
   11819   ;;
   11820 
   11821 sysv4 | sysv4.3*)
   11822   version_type=linux # correct to gnu/linux during the next big refactor
   11823   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11824   soname_spec='$libname$release$shared_ext$major'
   11825   shlibpath_var=LD_LIBRARY_PATH
   11826   case $host_vendor in
   11827     sni)
   11828       shlibpath_overrides_runpath=no
   11829       need_lib_prefix=no
   11830       runpath_var=LD_RUN_PATH
   11831       ;;
   11832     siemens)
   11833       need_lib_prefix=no
   11834       ;;
   11835     motorola)
   11836       need_lib_prefix=no
   11837       need_version=no
   11838       shlibpath_overrides_runpath=no
   11839       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11840       ;;
   11841   esac
   11842   ;;
   11843 
   11844 sysv4*MP*)
   11845   if test -d /usr/nec; then
   11846     version_type=linux # correct to gnu/linux during the next big refactor
   11847     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11848     soname_spec='$libname$shared_ext.$major'
   11849     shlibpath_var=LD_LIBRARY_PATH
   11850   fi
   11851   ;;
   11852 
   11853 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11854   version_type=sco
   11855   need_lib_prefix=no
   11856   need_version=no
   11857   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11858   soname_spec='$libname$release$shared_ext$major'
   11859   shlibpath_var=LD_LIBRARY_PATH
   11860   shlibpath_overrides_runpath=yes
   11861   hardcode_into_libs=yes
   11862   if test yes = "$with_gnu_ld"; then
   11863     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11864   else
   11865     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11866     case $host_os in
   11867       sco3.2v5*)
   11868         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11869 	;;
   11870     esac
   11871   fi
   11872   sys_lib_dlsearch_path_spec='/usr/lib'
   11873   ;;
   11874 
   11875 tpf*)
   11876   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11877   version_type=linux # correct to gnu/linux during the next big refactor
   11878   need_lib_prefix=no
   11879   need_version=no
   11880   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11881   shlibpath_var=LD_LIBRARY_PATH
   11882   shlibpath_overrides_runpath=no
   11883   hardcode_into_libs=yes
   11884   ;;
   11885 
   11886 uts4*)
   11887   version_type=linux # correct to gnu/linux during the next big refactor
   11888   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11889   soname_spec='$libname$release$shared_ext$major'
   11890   shlibpath_var=LD_LIBRARY_PATH
   11891   ;;
   11892 
   11893 *)
   11894   dynamic_linker=no
   11895   ;;
   11896 esac
   11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11898 printf "%s\n" "$dynamic_linker" >&6; }
   11899 test no = "$dynamic_linker" && can_build_shared=no
   11900 
   11901 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11902 if test yes = "$GCC"; then
   11903   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11904 fi
   11905 
   11906 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11907   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11908 fi
   11909 
   11910 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11911   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11912 fi
   11913 
   11914 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11915 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11916 
   11917 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11918 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11919 
   11920 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11921 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12020 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12021 hardcode_action=
   12022 if test -n "$hardcode_libdir_flag_spec" ||
   12023    test -n "$runpath_var" ||
   12024    test yes = "$hardcode_automatic"; then
   12025 
   12026   # We can hardcode non-existent directories.
   12027   if test no != "$hardcode_direct" &&
   12028      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12029      # have to relink, otherwise we might link with an installed library
   12030      # when we should be linking with a yet-to-be-installed one
   12031      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12032      test no != "$hardcode_minus_L"; then
   12033     # Linking always hardcodes the temporary library directory.
   12034     hardcode_action=relink
   12035   else
   12036     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12037     hardcode_action=immediate
   12038   fi
   12039 else
   12040   # We cannot hardcode anything, or else we can only hardcode existing
   12041   # directories.
   12042   hardcode_action=unsupported
   12043 fi
   12044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12045 printf "%s\n" "$hardcode_action" >&6; }
   12046 
   12047 if test relink = "$hardcode_action" ||
   12048    test yes = "$inherit_rpath"; then
   12049   # Fast installation is not supported
   12050   enable_fast_install=no
   12051 elif test yes = "$shlibpath_overrides_runpath" ||
   12052      test no = "$enable_shared"; then
   12053   # Fast installation is not necessary
   12054   enable_fast_install=needless
   12055 fi
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062   if test yes != "$enable_dlopen"; then
   12063   enable_dlopen=unknown
   12064   enable_dlopen_self=unknown
   12065   enable_dlopen_self_static=unknown
   12066 else
   12067   lt_cv_dlopen=no
   12068   lt_cv_dlopen_libs=
   12069 
   12070   case $host_os in
   12071   beos*)
   12072     lt_cv_dlopen=load_add_on
   12073     lt_cv_dlopen_libs=
   12074     lt_cv_dlopen_self=yes
   12075     ;;
   12076 
   12077   mingw* | pw32* | cegcc*)
   12078     lt_cv_dlopen=LoadLibrary
   12079     lt_cv_dlopen_libs=
   12080     ;;
   12081 
   12082   cygwin*)
   12083     lt_cv_dlopen=dlopen
   12084     lt_cv_dlopen_libs=
   12085     ;;
   12086 
   12087   darwin*)
   12088     # if libdl is installed we need to link against it
   12089     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12090 printf %s "checking for dlopen in -ldl... " >&6; }
   12091 if test ${ac_cv_lib_dl_dlopen+y}
   12092 then :
   12093   printf %s "(cached) " >&6
   12094 else $as_nop
   12095   ac_check_lib_save_LIBS=$LIBS
   12096 LIBS="-ldl  $LIBS"
   12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12098 /* end confdefs.h.  */
   12099 
   12100 /* Override any GCC internal prototype to avoid an error.
   12101    Use char because int might match the return type of a GCC
   12102    builtin and then its argument prototype would still apply.  */
   12103 char dlopen ();
   12104 int
   12105 main (void)
   12106 {
   12107 return dlopen ();
   12108   ;
   12109   return 0;
   12110 }
   12111 _ACEOF
   12112 if ac_fn_c_try_link "$LINENO"
   12113 then :
   12114   ac_cv_lib_dl_dlopen=yes
   12115 else $as_nop
   12116   ac_cv_lib_dl_dlopen=no
   12117 fi
   12118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12119     conftest$ac_exeext conftest.$ac_ext
   12120 LIBS=$ac_check_lib_save_LIBS
   12121 fi
   12122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12123 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12124 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12125 then :
   12126   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12127 else $as_nop
   12128 
   12129     lt_cv_dlopen=dyld
   12130     lt_cv_dlopen_libs=
   12131     lt_cv_dlopen_self=yes
   12132 
   12133 fi
   12134 
   12135     ;;
   12136 
   12137   tpf*)
   12138     # Don't try to run any link tests for TPF.  We know it's impossible
   12139     # because TPF is a cross-compiler, and we know how we open DSOs.
   12140     lt_cv_dlopen=dlopen
   12141     lt_cv_dlopen_libs=
   12142     lt_cv_dlopen_self=no
   12143     ;;
   12144 
   12145   *)
   12146     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12147 if test "x$ac_cv_func_shl_load" = xyes
   12148 then :
   12149   lt_cv_dlopen=shl_load
   12150 else $as_nop
   12151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12152 printf %s "checking for shl_load in -ldld... " >&6; }
   12153 if test ${ac_cv_lib_dld_shl_load+y}
   12154 then :
   12155   printf %s "(cached) " >&6
   12156 else $as_nop
   12157   ac_check_lib_save_LIBS=$LIBS
   12158 LIBS="-ldld  $LIBS"
   12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12160 /* end confdefs.h.  */
   12161 
   12162 /* Override any GCC internal prototype to avoid an error.
   12163    Use char because int might match the return type of a GCC
   12164    builtin and then its argument prototype would still apply.  */
   12165 char shl_load ();
   12166 int
   12167 main (void)
   12168 {
   12169 return shl_load ();
   12170   ;
   12171   return 0;
   12172 }
   12173 _ACEOF
   12174 if ac_fn_c_try_link "$LINENO"
   12175 then :
   12176   ac_cv_lib_dld_shl_load=yes
   12177 else $as_nop
   12178   ac_cv_lib_dld_shl_load=no
   12179 fi
   12180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12181     conftest$ac_exeext conftest.$ac_ext
   12182 LIBS=$ac_check_lib_save_LIBS
   12183 fi
   12184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12185 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12186 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12187 then :
   12188   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12189 else $as_nop
   12190   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12191 if test "x$ac_cv_func_dlopen" = xyes
   12192 then :
   12193   lt_cv_dlopen=dlopen
   12194 else $as_nop
   12195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12196 printf %s "checking for dlopen in -ldl... " >&6; }
   12197 if test ${ac_cv_lib_dl_dlopen+y}
   12198 then :
   12199   printf %s "(cached) " >&6
   12200 else $as_nop
   12201   ac_check_lib_save_LIBS=$LIBS
   12202 LIBS="-ldl  $LIBS"
   12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12204 /* end confdefs.h.  */
   12205 
   12206 /* Override any GCC internal prototype to avoid an error.
   12207    Use char because int might match the return type of a GCC
   12208    builtin and then its argument prototype would still apply.  */
   12209 char dlopen ();
   12210 int
   12211 main (void)
   12212 {
   12213 return dlopen ();
   12214   ;
   12215   return 0;
   12216 }
   12217 _ACEOF
   12218 if ac_fn_c_try_link "$LINENO"
   12219 then :
   12220   ac_cv_lib_dl_dlopen=yes
   12221 else $as_nop
   12222   ac_cv_lib_dl_dlopen=no
   12223 fi
   12224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12225     conftest$ac_exeext conftest.$ac_ext
   12226 LIBS=$ac_check_lib_save_LIBS
   12227 fi
   12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12229 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12230 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12231 then :
   12232   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12233 else $as_nop
   12234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12235 printf %s "checking for dlopen in -lsvld... " >&6; }
   12236 if test ${ac_cv_lib_svld_dlopen+y}
   12237 then :
   12238   printf %s "(cached) " >&6
   12239 else $as_nop
   12240   ac_check_lib_save_LIBS=$LIBS
   12241 LIBS="-lsvld  $LIBS"
   12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12243 /* end confdefs.h.  */
   12244 
   12245 /* Override any GCC internal prototype to avoid an error.
   12246    Use char because int might match the return type of a GCC
   12247    builtin and then its argument prototype would still apply.  */
   12248 char dlopen ();
   12249 int
   12250 main (void)
   12251 {
   12252 return dlopen ();
   12253   ;
   12254   return 0;
   12255 }
   12256 _ACEOF
   12257 if ac_fn_c_try_link "$LINENO"
   12258 then :
   12259   ac_cv_lib_svld_dlopen=yes
   12260 else $as_nop
   12261   ac_cv_lib_svld_dlopen=no
   12262 fi
   12263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12264     conftest$ac_exeext conftest.$ac_ext
   12265 LIBS=$ac_check_lib_save_LIBS
   12266 fi
   12267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12268 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12269 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12270 then :
   12271   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12272 else $as_nop
   12273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12274 printf %s "checking for dld_link in -ldld... " >&6; }
   12275 if test ${ac_cv_lib_dld_dld_link+y}
   12276 then :
   12277   printf %s "(cached) " >&6
   12278 else $as_nop
   12279   ac_check_lib_save_LIBS=$LIBS
   12280 LIBS="-ldld  $LIBS"
   12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12282 /* end confdefs.h.  */
   12283 
   12284 /* Override any GCC internal prototype to avoid an error.
   12285    Use char because int might match the return type of a GCC
   12286    builtin and then its argument prototype would still apply.  */
   12287 char dld_link ();
   12288 int
   12289 main (void)
   12290 {
   12291 return dld_link ();
   12292   ;
   12293   return 0;
   12294 }
   12295 _ACEOF
   12296 if ac_fn_c_try_link "$LINENO"
   12297 then :
   12298   ac_cv_lib_dld_dld_link=yes
   12299 else $as_nop
   12300   ac_cv_lib_dld_dld_link=no
   12301 fi
   12302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12303     conftest$ac_exeext conftest.$ac_ext
   12304 LIBS=$ac_check_lib_save_LIBS
   12305 fi
   12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12307 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12308 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12309 then :
   12310   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12311 fi
   12312 
   12313 
   12314 fi
   12315 
   12316 
   12317 fi
   12318 
   12319 
   12320 fi
   12321 
   12322 
   12323 fi
   12324 
   12325 
   12326 fi
   12327 
   12328     ;;
   12329   esac
   12330 
   12331   if test no = "$lt_cv_dlopen"; then
   12332     enable_dlopen=no
   12333   else
   12334     enable_dlopen=yes
   12335   fi
   12336 
   12337   case $lt_cv_dlopen in
   12338   dlopen)
   12339     save_CPPFLAGS=$CPPFLAGS
   12340     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12341 
   12342     save_LDFLAGS=$LDFLAGS
   12343     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12344 
   12345     save_LIBS=$LIBS
   12346     LIBS="$lt_cv_dlopen_libs $LIBS"
   12347 
   12348     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12349 printf %s "checking whether a program can dlopen itself... " >&6; }
   12350 if test ${lt_cv_dlopen_self+y}
   12351 then :
   12352   printf %s "(cached) " >&6
   12353 else $as_nop
   12354   	  if test yes = "$cross_compiling"; then :
   12355   lt_cv_dlopen_self=cross
   12356 else
   12357   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12358   lt_status=$lt_dlunknown
   12359   cat > conftest.$ac_ext <<_LT_EOF
   12360 #line $LINENO "configure"
   12361 #include "confdefs.h"
   12362 
   12363 #if HAVE_DLFCN_H
   12364 #include <dlfcn.h>
   12365 #endif
   12366 
   12367 #include <stdio.h>
   12368 
   12369 #ifdef RTLD_GLOBAL
   12370 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12371 #else
   12372 #  ifdef DL_GLOBAL
   12373 #    define LT_DLGLOBAL		DL_GLOBAL
   12374 #  else
   12375 #    define LT_DLGLOBAL		0
   12376 #  endif
   12377 #endif
   12378 
   12379 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12380    find out it does not work in some platform. */
   12381 #ifndef LT_DLLAZY_OR_NOW
   12382 #  ifdef RTLD_LAZY
   12383 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12384 #  else
   12385 #    ifdef DL_LAZY
   12386 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12387 #    else
   12388 #      ifdef RTLD_NOW
   12389 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12390 #      else
   12391 #        ifdef DL_NOW
   12392 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12393 #        else
   12394 #          define LT_DLLAZY_OR_NOW	0
   12395 #        endif
   12396 #      endif
   12397 #    endif
   12398 #  endif
   12399 #endif
   12400 
   12401 /* When -fvisibility=hidden is used, assume the code has been annotated
   12402    correspondingly for the symbols needed.  */
   12403 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12404 int fnord () __attribute__((visibility("default")));
   12405 #endif
   12406 
   12407 int fnord () { return 42; }
   12408 int main ()
   12409 {
   12410   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12411   int status = $lt_dlunknown;
   12412 
   12413   if (self)
   12414     {
   12415       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12416       else
   12417         {
   12418 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12419           else puts (dlerror ());
   12420 	}
   12421       /* dlclose (self); */
   12422     }
   12423   else
   12424     puts (dlerror ());
   12425 
   12426   return status;
   12427 }
   12428 _LT_EOF
   12429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12430   (eval $ac_link) 2>&5
   12431   ac_status=$?
   12432   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12433   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12434     (./conftest; exit; ) >&5 2>/dev/null
   12435     lt_status=$?
   12436     case x$lt_status in
   12437       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12438       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12439       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12440     esac
   12441   else :
   12442     # compilation failed
   12443     lt_cv_dlopen_self=no
   12444   fi
   12445 fi
   12446 rm -fr conftest*
   12447 
   12448 
   12449 fi
   12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12451 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12452 
   12453     if test yes = "$lt_cv_dlopen_self"; then
   12454       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12455       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12456 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12457 if test ${lt_cv_dlopen_self_static+y}
   12458 then :
   12459   printf %s "(cached) " >&6
   12460 else $as_nop
   12461   	  if test yes = "$cross_compiling"; then :
   12462   lt_cv_dlopen_self_static=cross
   12463 else
   12464   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12465   lt_status=$lt_dlunknown
   12466   cat > conftest.$ac_ext <<_LT_EOF
   12467 #line $LINENO "configure"
   12468 #include "confdefs.h"
   12469 
   12470 #if HAVE_DLFCN_H
   12471 #include <dlfcn.h>
   12472 #endif
   12473 
   12474 #include <stdio.h>
   12475 
   12476 #ifdef RTLD_GLOBAL
   12477 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12478 #else
   12479 #  ifdef DL_GLOBAL
   12480 #    define LT_DLGLOBAL		DL_GLOBAL
   12481 #  else
   12482 #    define LT_DLGLOBAL		0
   12483 #  endif
   12484 #endif
   12485 
   12486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12487    find out it does not work in some platform. */
   12488 #ifndef LT_DLLAZY_OR_NOW
   12489 #  ifdef RTLD_LAZY
   12490 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12491 #  else
   12492 #    ifdef DL_LAZY
   12493 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12494 #    else
   12495 #      ifdef RTLD_NOW
   12496 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12497 #      else
   12498 #        ifdef DL_NOW
   12499 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12500 #        else
   12501 #          define LT_DLLAZY_OR_NOW	0
   12502 #        endif
   12503 #      endif
   12504 #    endif
   12505 #  endif
   12506 #endif
   12507 
   12508 /* When -fvisibility=hidden is used, assume the code has been annotated
   12509    correspondingly for the symbols needed.  */
   12510 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12511 int fnord () __attribute__((visibility("default")));
   12512 #endif
   12513 
   12514 int fnord () { return 42; }
   12515 int main ()
   12516 {
   12517   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12518   int status = $lt_dlunknown;
   12519 
   12520   if (self)
   12521     {
   12522       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12523       else
   12524         {
   12525 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12526           else puts (dlerror ());
   12527 	}
   12528       /* dlclose (self); */
   12529     }
   12530   else
   12531     puts (dlerror ());
   12532 
   12533   return status;
   12534 }
   12535 _LT_EOF
   12536   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12537   (eval $ac_link) 2>&5
   12538   ac_status=$?
   12539   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12540   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12541     (./conftest; exit; ) >&5 2>/dev/null
   12542     lt_status=$?
   12543     case x$lt_status in
   12544       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12545       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12546       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12547     esac
   12548   else :
   12549     # compilation failed
   12550     lt_cv_dlopen_self_static=no
   12551   fi
   12552 fi
   12553 rm -fr conftest*
   12554 
   12555 
   12556 fi
   12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12558 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12559     fi
   12560 
   12561     CPPFLAGS=$save_CPPFLAGS
   12562     LDFLAGS=$save_LDFLAGS
   12563     LIBS=$save_LIBS
   12564     ;;
   12565   esac
   12566 
   12567   case $lt_cv_dlopen_self in
   12568   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12569   *) enable_dlopen_self=unknown ;;
   12570   esac
   12571 
   12572   case $lt_cv_dlopen_self_static in
   12573   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12574   *) enable_dlopen_self_static=unknown ;;
   12575   esac
   12576 fi
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 striplib=
   12595 old_striplib=
   12596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12597 printf %s "checking whether stripping libraries is possible... " >&6; }
   12598 if test -z "$STRIP"; then
   12599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12600 printf "%s\n" "no" >&6; }
   12601 else
   12602   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12603     old_striplib="$STRIP --strip-debug"
   12604     striplib="$STRIP --strip-unneeded"
   12605     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12606 printf "%s\n" "yes" >&6; }
   12607   else
   12608     case $host_os in
   12609     darwin*)
   12610       # FIXME - insert some real tests, host_os isn't really good enough
   12611       striplib="$STRIP -x"
   12612       old_striplib="$STRIP -S"
   12613       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12614 printf "%s\n" "yes" >&6; }
   12615       ;;
   12616     freebsd*)
   12617       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12618         old_striplib="$STRIP --strip-debug"
   12619         striplib="$STRIP --strip-unneeded"
   12620         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12621 printf "%s\n" "yes" >&6; }
   12622       else
   12623         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12624 printf "%s\n" "no" >&6; }
   12625       fi
   12626       ;;
   12627     *)
   12628       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12629 printf "%s\n" "no" >&6; }
   12630       ;;
   12631     esac
   12632   fi
   12633 fi
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646   # Report what library types will actually be built
   12647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12648 printf %s "checking if libtool supports shared libraries... " >&6; }
   12649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12650 printf "%s\n" "$can_build_shared" >&6; }
   12651 
   12652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12653 printf %s "checking whether to build shared libraries... " >&6; }
   12654   test no = "$can_build_shared" && enable_shared=no
   12655 
   12656   # On AIX, shared libraries and static libraries use the same namespace, and
   12657   # are all built from PIC.
   12658   case $host_os in
   12659   aix3*)
   12660     test yes = "$enable_shared" && enable_static=no
   12661     if test -n "$RANLIB"; then
   12662       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12663       postinstall_cmds='$RANLIB $lib'
   12664     fi
   12665     ;;
   12666 
   12667   aix[4-9]*)
   12668     if test ia64 != "$host_cpu"; then
   12669       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12670       yes,aix,yes) ;;			# shared object as lib.so file only
   12671       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12672       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12673       esac
   12674     fi
   12675     ;;
   12676   esac
   12677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12678 printf "%s\n" "$enable_shared" >&6; }
   12679 
   12680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12681 printf %s "checking whether to build static libraries... " >&6; }
   12682   # Make sure either enable_shared or enable_static is yes.
   12683   test yes = "$enable_shared" || enable_static=yes
   12684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12685 printf "%s\n" "$enable_static" >&6; }
   12686 
   12687 
   12688 
   12689 
   12690 fi
   12691 ac_ext=c
   12692 ac_cpp='$CPP $CPPFLAGS'
   12693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12696 
   12697 CC=$lt_save_CC
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713         ac_config_commands="$ac_config_commands libtool"
   12714 
   12715 
   12716 
   12717 
   12718 # Only expand once:
   12719 
   12720 
   12721 
   12722 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12736 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12737 if test ${ac_cv_c_undeclared_builtin_options+y}
   12738 then :
   12739   printf %s "(cached) " >&6
   12740 else $as_nop
   12741   ac_save_CFLAGS=$CFLAGS
   12742    ac_cv_c_undeclared_builtin_options='cannot detect'
   12743    for ac_arg in '' -fno-builtin; do
   12744      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12745      # This test program should *not* compile successfully.
   12746      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12747 /* end confdefs.h.  */
   12748 
   12749 int
   12750 main (void)
   12751 {
   12752 (void) strchr;
   12753   ;
   12754   return 0;
   12755 }
   12756 _ACEOF
   12757 if ac_fn_c_try_compile "$LINENO"
   12758 then :
   12759 
   12760 else $as_nop
   12761   # This test program should compile successfully.
   12762         # No library function is consistently available on
   12763         # freestanding implementations, so test against a dummy
   12764         # declaration.  Include always-available headers on the
   12765         # off chance that they somehow elicit warnings.
   12766         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12767 /* end confdefs.h.  */
   12768 #include <float.h>
   12769 #include <limits.h>
   12770 #include <stdarg.h>
   12771 #include <stddef.h>
   12772 extern void ac_decl (int, char *);
   12773 
   12774 int
   12775 main (void)
   12776 {
   12777 (void) ac_decl (0, (char *) 0);
   12778   (void) ac_decl;
   12779 
   12780   ;
   12781   return 0;
   12782 }
   12783 _ACEOF
   12784 if ac_fn_c_try_compile "$LINENO"
   12785 then :
   12786   if test x"$ac_arg" = x
   12787 then :
   12788   ac_cv_c_undeclared_builtin_options='none needed'
   12789 else $as_nop
   12790   ac_cv_c_undeclared_builtin_options=$ac_arg
   12791 fi
   12792           break
   12793 fi
   12794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12795 fi
   12796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12797     done
   12798     CFLAGS=$ac_save_CFLAGS
   12799 
   12800 fi
   12801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12802 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12803   case $ac_cv_c_undeclared_builtin_options in #(
   12804   'cannot detect') :
   12805     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12806 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12807 as_fn_error $? "cannot make $CC report undeclared builtins
   12808 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12809   'none needed') :
   12810     ac_c_undeclared_builtin_options='' ;; #(
   12811   *) :
   12812     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12813 esac
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12820 if test "x$ac_cv_have_decl___clang__" = xyes
   12821 then :
   12822   CLANGCC="yes"
   12823 else $as_nop
   12824   CLANGCC="no"
   12825 fi
   12826 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12827 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12828 then :
   12829   INTELCC="yes"
   12830 else $as_nop
   12831   INTELCC="no"
   12832 fi
   12833 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12834 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12835 then :
   12836   SUNCC="yes"
   12837 else $as_nop
   12838   SUNCC="no"
   12839 fi
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12849 	if test -n "$ac_tool_prefix"; then
   12850   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12851 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12853 printf %s "checking for $ac_word... " >&6; }
   12854 if test ${ac_cv_path_PKG_CONFIG+y}
   12855 then :
   12856   printf %s "(cached) " >&6
   12857 else $as_nop
   12858   case $PKG_CONFIG in
   12859   [\\/]* | ?:[\\/]*)
   12860   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12861   ;;
   12862   *)
   12863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12864 for as_dir in $PATH
   12865 do
   12866   IFS=$as_save_IFS
   12867   case $as_dir in #(((
   12868     '') as_dir=./ ;;
   12869     */) ;;
   12870     *) as_dir=$as_dir/ ;;
   12871   esac
   12872     for ac_exec_ext in '' $ac_executable_extensions; do
   12873   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12874     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12875     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12876     break 2
   12877   fi
   12878 done
   12879   done
   12880 IFS=$as_save_IFS
   12881 
   12882   ;;
   12883 esac
   12884 fi
   12885 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12886 if test -n "$PKG_CONFIG"; then
   12887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12888 printf "%s\n" "$PKG_CONFIG" >&6; }
   12889 else
   12890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12891 printf "%s\n" "no" >&6; }
   12892 fi
   12893 
   12894 
   12895 fi
   12896 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12897   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12898   # Extract the first word of "pkg-config", so it can be a program name with args.
   12899 set dummy pkg-config; ac_word=$2
   12900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12901 printf %s "checking for $ac_word... " >&6; }
   12902 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12903 then :
   12904   printf %s "(cached) " >&6
   12905 else $as_nop
   12906   case $ac_pt_PKG_CONFIG in
   12907   [\\/]* | ?:[\\/]*)
   12908   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12909   ;;
   12910   *)
   12911   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12912 for as_dir in $PATH
   12913 do
   12914   IFS=$as_save_IFS
   12915   case $as_dir in #(((
   12916     '') as_dir=./ ;;
   12917     */) ;;
   12918     *) as_dir=$as_dir/ ;;
   12919   esac
   12920     for ac_exec_ext in '' $ac_executable_extensions; do
   12921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12922     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12924     break 2
   12925   fi
   12926 done
   12927   done
   12928 IFS=$as_save_IFS
   12929 
   12930   ;;
   12931 esac
   12932 fi
   12933 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12934 if test -n "$ac_pt_PKG_CONFIG"; then
   12935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12936 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12937 else
   12938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12939 printf "%s\n" "no" >&6; }
   12940 fi
   12941 
   12942   if test "x$ac_pt_PKG_CONFIG" = x; then
   12943     PKG_CONFIG=""
   12944   else
   12945     case $cross_compiling:$ac_tool_warned in
   12946 yes:)
   12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12948 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12949 ac_tool_warned=yes ;;
   12950 esac
   12951     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12952   fi
   12953 else
   12954   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12955 fi
   12956 
   12957 fi
   12958 if test -n "$PKG_CONFIG"; then
   12959 	_pkg_min_version=0.9.0
   12960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12961 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12962 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12964 printf "%s\n" "yes" >&6; }
   12965 	else
   12966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12967 printf "%s\n" "no" >&6; }
   12968 		PKG_CONFIG=""
   12969 	fi
   12970 fi
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 # Check whether --enable-selective-werror was given.
   12977 if test ${enable_selective_werror+y}
   12978 then :
   12979   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12980 else $as_nop
   12981   SELECTIVE_WERROR=yes
   12982 fi
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12989 if test "x$SUNCC" = "xyes"; then
   12990     BASE_CFLAGS="-v"
   12991 else
   12992     BASE_CFLAGS=""
   12993 fi
   12994 
   12995 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 xorg_testset_save_CFLAGS="$CFLAGS"
   13010 
   13011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13014 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13015 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13016 then :
   13017   printf %s "(cached) " >&6
   13018 else $as_nop
   13019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13020 /* end confdefs.h.  */
   13021 int i;
   13022 _ACEOF
   13023 if ac_fn_c_try_compile "$LINENO"
   13024 then :
   13025   xorg_cv_cc_flag_unknown_warning_option=yes
   13026 else $as_nop
   13027   xorg_cv_cc_flag_unknown_warning_option=no
   13028 fi
   13029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13030 fi
   13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13032 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13034 	CFLAGS="$xorg_testset_save_CFLAGS"
   13035 fi
   13036 
   13037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 	fi
   13041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13042 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13043 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13044 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13045 then :
   13046   printf %s "(cached) " >&6
   13047 else $as_nop
   13048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13049 /* end confdefs.h.  */
   13050 int i;
   13051 _ACEOF
   13052 if ac_fn_c_try_compile "$LINENO"
   13053 then :
   13054   xorg_cv_cc_flag_unused_command_line_argument=yes
   13055 else $as_nop
   13056   xorg_cv_cc_flag_unused_command_line_argument=no
   13057 fi
   13058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13059 fi
   13060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13061 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13063 	CFLAGS="$xorg_testset_save_CFLAGS"
   13064 fi
   13065 
   13066 found="no"
   13067 
   13068 	if test $found = "no" ; then
   13069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13071 		fi
   13072 
   13073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13075 		fi
   13076 
   13077 		CFLAGS="$CFLAGS -Wall"
   13078 
   13079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13080 printf %s "checking if $CC supports -Wall... " >&6; }
   13081 		cacheid=xorg_cv_cc_flag__Wall
   13082 		if eval test \${$cacheid+y}
   13083 then :
   13084   printf %s "(cached) " >&6
   13085 else $as_nop
   13086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 int i;
   13089 int
   13090 main (void)
   13091 {
   13092 
   13093   ;
   13094   return 0;
   13095 }
   13096 _ACEOF
   13097 if ac_fn_c_try_link "$LINENO"
   13098 then :
   13099   eval $cacheid=yes
   13100 else $as_nop
   13101   eval $cacheid=no
   13102 fi
   13103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13104     conftest$ac_exeext conftest.$ac_ext
   13105 fi
   13106 
   13107 
   13108 		CFLAGS="$xorg_testset_save_CFLAGS"
   13109 
   13110 		eval supported=\$$cacheid
   13111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13112 printf "%s\n" "$supported" >&6; }
   13113 		if test "$supported" = "yes" ; then
   13114 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13115 			found="yes"
   13116 		fi
   13117 	fi
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 xorg_testset_save_CFLAGS="$CFLAGS"
   13134 
   13135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13140 then :
   13141   printf %s "(cached) " >&6
   13142 else $as_nop
   13143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13144 /* end confdefs.h.  */
   13145 int i;
   13146 _ACEOF
   13147 if ac_fn_c_try_compile "$LINENO"
   13148 then :
   13149   xorg_cv_cc_flag_unknown_warning_option=yes
   13150 else $as_nop
   13151   xorg_cv_cc_flag_unknown_warning_option=no
   13152 fi
   13153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13154 fi
   13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13156 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13158 	CFLAGS="$xorg_testset_save_CFLAGS"
   13159 fi
   13160 
   13161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13164 	fi
   13165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13167 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13168 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13169 then :
   13170   printf %s "(cached) " >&6
   13171 else $as_nop
   13172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13173 /* end confdefs.h.  */
   13174 int i;
   13175 _ACEOF
   13176 if ac_fn_c_try_compile "$LINENO"
   13177 then :
   13178   xorg_cv_cc_flag_unused_command_line_argument=yes
   13179 else $as_nop
   13180   xorg_cv_cc_flag_unused_command_line_argument=no
   13181 fi
   13182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13183 fi
   13184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13187 	CFLAGS="$xorg_testset_save_CFLAGS"
   13188 fi
   13189 
   13190 found="no"
   13191 
   13192 	if test $found = "no" ; then
   13193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13195 		fi
   13196 
   13197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13199 		fi
   13200 
   13201 		CFLAGS="$CFLAGS -Wpointer-arith"
   13202 
   13203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13204 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13205 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13206 		if eval test \${$cacheid+y}
   13207 then :
   13208   printf %s "(cached) " >&6
   13209 else $as_nop
   13210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13211 /* end confdefs.h.  */
   13212 int i;
   13213 int
   13214 main (void)
   13215 {
   13216 
   13217   ;
   13218   return 0;
   13219 }
   13220 _ACEOF
   13221 if ac_fn_c_try_link "$LINENO"
   13222 then :
   13223   eval $cacheid=yes
   13224 else $as_nop
   13225   eval $cacheid=no
   13226 fi
   13227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13228     conftest$ac_exeext conftest.$ac_ext
   13229 fi
   13230 
   13231 
   13232 		CFLAGS="$xorg_testset_save_CFLAGS"
   13233 
   13234 		eval supported=\$$cacheid
   13235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13236 printf "%s\n" "$supported" >&6; }
   13237 		if test "$supported" = "yes" ; then
   13238 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13239 			found="yes"
   13240 		fi
   13241 	fi
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 xorg_testset_save_CFLAGS="$CFLAGS"
   13258 
   13259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13262 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13263 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13264 then :
   13265   printf %s "(cached) " >&6
   13266 else $as_nop
   13267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13268 /* end confdefs.h.  */
   13269 int i;
   13270 _ACEOF
   13271 if ac_fn_c_try_compile "$LINENO"
   13272 then :
   13273   xorg_cv_cc_flag_unknown_warning_option=yes
   13274 else $as_nop
   13275   xorg_cv_cc_flag_unknown_warning_option=no
   13276 fi
   13277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13278 fi
   13279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13280 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13282 	CFLAGS="$xorg_testset_save_CFLAGS"
   13283 fi
   13284 
   13285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13288 	fi
   13289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13291 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13292 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13293 then :
   13294   printf %s "(cached) " >&6
   13295 else $as_nop
   13296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13297 /* end confdefs.h.  */
   13298 int i;
   13299 _ACEOF
   13300 if ac_fn_c_try_compile "$LINENO"
   13301 then :
   13302   xorg_cv_cc_flag_unused_command_line_argument=yes
   13303 else $as_nop
   13304   xorg_cv_cc_flag_unused_command_line_argument=no
   13305 fi
   13306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13307 fi
   13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13311 	CFLAGS="$xorg_testset_save_CFLAGS"
   13312 fi
   13313 
   13314 found="no"
   13315 
   13316 	if test $found = "no" ; then
   13317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13319 		fi
   13320 
   13321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13323 		fi
   13324 
   13325 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13326 
   13327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13328 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13329 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13330 		if eval test \${$cacheid+y}
   13331 then :
   13332   printf %s "(cached) " >&6
   13333 else $as_nop
   13334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13335 /* end confdefs.h.  */
   13336 int i;
   13337 int
   13338 main (void)
   13339 {
   13340 
   13341   ;
   13342   return 0;
   13343 }
   13344 _ACEOF
   13345 if ac_fn_c_try_link "$LINENO"
   13346 then :
   13347   eval $cacheid=yes
   13348 else $as_nop
   13349   eval $cacheid=no
   13350 fi
   13351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13352     conftest$ac_exeext conftest.$ac_ext
   13353 fi
   13354 
   13355 
   13356 		CFLAGS="$xorg_testset_save_CFLAGS"
   13357 
   13358 		eval supported=\$$cacheid
   13359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13360 printf "%s\n" "$supported" >&6; }
   13361 		if test "$supported" = "yes" ; then
   13362 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13363 			found="yes"
   13364 		fi
   13365 	fi
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 xorg_testset_save_CFLAGS="$CFLAGS"
   13382 
   13383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13388 then :
   13389   printf %s "(cached) " >&6
   13390 else $as_nop
   13391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13392 /* end confdefs.h.  */
   13393 int i;
   13394 _ACEOF
   13395 if ac_fn_c_try_compile "$LINENO"
   13396 then :
   13397   xorg_cv_cc_flag_unknown_warning_option=yes
   13398 else $as_nop
   13399   xorg_cv_cc_flag_unknown_warning_option=no
   13400 fi
   13401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13402 fi
   13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13404 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13406 	CFLAGS="$xorg_testset_save_CFLAGS"
   13407 fi
   13408 
   13409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13412 	fi
   13413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13417 then :
   13418   printf %s "(cached) " >&6
   13419 else $as_nop
   13420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13421 /* end confdefs.h.  */
   13422 int i;
   13423 _ACEOF
   13424 if ac_fn_c_try_compile "$LINENO"
   13425 then :
   13426   xorg_cv_cc_flag_unused_command_line_argument=yes
   13427 else $as_nop
   13428   xorg_cv_cc_flag_unused_command_line_argument=no
   13429 fi
   13430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13431 fi
   13432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13433 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13435 	CFLAGS="$xorg_testset_save_CFLAGS"
   13436 fi
   13437 
   13438 found="no"
   13439 
   13440 	if test $found = "no" ; then
   13441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13443 		fi
   13444 
   13445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13447 		fi
   13448 
   13449 		CFLAGS="$CFLAGS -Wformat=2"
   13450 
   13451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13452 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13453 		cacheid=xorg_cv_cc_flag__Wformat_2
   13454 		if eval test \${$cacheid+y}
   13455 then :
   13456   printf %s "(cached) " >&6
   13457 else $as_nop
   13458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13459 /* end confdefs.h.  */
   13460 int i;
   13461 int
   13462 main (void)
   13463 {
   13464 
   13465   ;
   13466   return 0;
   13467 }
   13468 _ACEOF
   13469 if ac_fn_c_try_link "$LINENO"
   13470 then :
   13471   eval $cacheid=yes
   13472 else $as_nop
   13473   eval $cacheid=no
   13474 fi
   13475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13476     conftest$ac_exeext conftest.$ac_ext
   13477 fi
   13478 
   13479 
   13480 		CFLAGS="$xorg_testset_save_CFLAGS"
   13481 
   13482 		eval supported=\$$cacheid
   13483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13484 printf "%s\n" "$supported" >&6; }
   13485 		if test "$supported" = "yes" ; then
   13486 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13487 			found="yes"
   13488 		fi
   13489 	fi
   13490 
   13491 	if test $found = "no" ; then
   13492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13494 		fi
   13495 
   13496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13498 		fi
   13499 
   13500 		CFLAGS="$CFLAGS -Wformat"
   13501 
   13502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13503 printf %s "checking if $CC supports -Wformat... " >&6; }
   13504 		cacheid=xorg_cv_cc_flag__Wformat
   13505 		if eval test \${$cacheid+y}
   13506 then :
   13507   printf %s "(cached) " >&6
   13508 else $as_nop
   13509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13510 /* end confdefs.h.  */
   13511 int i;
   13512 int
   13513 main (void)
   13514 {
   13515 
   13516   ;
   13517   return 0;
   13518 }
   13519 _ACEOF
   13520 if ac_fn_c_try_link "$LINENO"
   13521 then :
   13522   eval $cacheid=yes
   13523 else $as_nop
   13524   eval $cacheid=no
   13525 fi
   13526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13527     conftest$ac_exeext conftest.$ac_ext
   13528 fi
   13529 
   13530 
   13531 		CFLAGS="$xorg_testset_save_CFLAGS"
   13532 
   13533 		eval supported=\$$cacheid
   13534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13535 printf "%s\n" "$supported" >&6; }
   13536 		if test "$supported" = "yes" ; then
   13537 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13538 			found="yes"
   13539 		fi
   13540 	fi
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 xorg_testset_save_CFLAGS="$CFLAGS"
   13559 
   13560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13563 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13564 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13565 then :
   13566   printf %s "(cached) " >&6
   13567 else $as_nop
   13568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13569 /* end confdefs.h.  */
   13570 int i;
   13571 _ACEOF
   13572 if ac_fn_c_try_compile "$LINENO"
   13573 then :
   13574   xorg_cv_cc_flag_unknown_warning_option=yes
   13575 else $as_nop
   13576   xorg_cv_cc_flag_unknown_warning_option=no
   13577 fi
   13578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13579 fi
   13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13581 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13583 	CFLAGS="$xorg_testset_save_CFLAGS"
   13584 fi
   13585 
   13586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13589 	fi
   13590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13594 then :
   13595   printf %s "(cached) " >&6
   13596 else $as_nop
   13597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13598 /* end confdefs.h.  */
   13599 int i;
   13600 _ACEOF
   13601 if ac_fn_c_try_compile "$LINENO"
   13602 then :
   13603   xorg_cv_cc_flag_unused_command_line_argument=yes
   13604 else $as_nop
   13605   xorg_cv_cc_flag_unused_command_line_argument=no
   13606 fi
   13607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13608 fi
   13609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13610 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13612 	CFLAGS="$xorg_testset_save_CFLAGS"
   13613 fi
   13614 
   13615 found="no"
   13616 
   13617 	if test $found = "no" ; then
   13618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13620 		fi
   13621 
   13622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13624 		fi
   13625 
   13626 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13627 
   13628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13629 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13630 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13631 		if eval test \${$cacheid+y}
   13632 then :
   13633   printf %s "(cached) " >&6
   13634 else $as_nop
   13635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13636 /* end confdefs.h.  */
   13637 int i;
   13638 int
   13639 main (void)
   13640 {
   13641 
   13642   ;
   13643   return 0;
   13644 }
   13645 _ACEOF
   13646 if ac_fn_c_try_link "$LINENO"
   13647 then :
   13648   eval $cacheid=yes
   13649 else $as_nop
   13650   eval $cacheid=no
   13651 fi
   13652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13653     conftest$ac_exeext conftest.$ac_ext
   13654 fi
   13655 
   13656 
   13657 		CFLAGS="$xorg_testset_save_CFLAGS"
   13658 
   13659 		eval supported=\$$cacheid
   13660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13661 printf "%s\n" "$supported" >&6; }
   13662 		if test "$supported" = "yes" ; then
   13663 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13664 			found="yes"
   13665 		fi
   13666 	fi
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 
   13681 
   13682 xorg_testset_save_CFLAGS="$CFLAGS"
   13683 
   13684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13686 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13687 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13688 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13689 then :
   13690   printf %s "(cached) " >&6
   13691 else $as_nop
   13692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13693 /* end confdefs.h.  */
   13694 int i;
   13695 _ACEOF
   13696 if ac_fn_c_try_compile "$LINENO"
   13697 then :
   13698   xorg_cv_cc_flag_unknown_warning_option=yes
   13699 else $as_nop
   13700   xorg_cv_cc_flag_unknown_warning_option=no
   13701 fi
   13702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13703 fi
   13704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13705 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13707 	CFLAGS="$xorg_testset_save_CFLAGS"
   13708 fi
   13709 
   13710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13713 	fi
   13714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13718 then :
   13719   printf %s "(cached) " >&6
   13720 else $as_nop
   13721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13722 /* end confdefs.h.  */
   13723 int i;
   13724 _ACEOF
   13725 if ac_fn_c_try_compile "$LINENO"
   13726 then :
   13727   xorg_cv_cc_flag_unused_command_line_argument=yes
   13728 else $as_nop
   13729   xorg_cv_cc_flag_unused_command_line_argument=no
   13730 fi
   13731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13732 fi
   13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13734 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13736 	CFLAGS="$xorg_testset_save_CFLAGS"
   13737 fi
   13738 
   13739 found="no"
   13740 
   13741 	if test $found = "no" ; then
   13742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13744 		fi
   13745 
   13746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13748 		fi
   13749 
   13750 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13751 
   13752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13753 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13754 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13755 		if eval test \${$cacheid+y}
   13756 then :
   13757   printf %s "(cached) " >&6
   13758 else $as_nop
   13759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13760 /* end confdefs.h.  */
   13761 int i;
   13762 int
   13763 main (void)
   13764 {
   13765 
   13766   ;
   13767   return 0;
   13768 }
   13769 _ACEOF
   13770 if ac_fn_c_try_link "$LINENO"
   13771 then :
   13772   eval $cacheid=yes
   13773 else $as_nop
   13774   eval $cacheid=no
   13775 fi
   13776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13777     conftest$ac_exeext conftest.$ac_ext
   13778 fi
   13779 
   13780 
   13781 		CFLAGS="$xorg_testset_save_CFLAGS"
   13782 
   13783 		eval supported=\$$cacheid
   13784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13785 printf "%s\n" "$supported" >&6; }
   13786 		if test "$supported" = "yes" ; then
   13787 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13788 			found="yes"
   13789 		fi
   13790 	fi
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 
   13806 xorg_testset_save_CFLAGS="$CFLAGS"
   13807 
   13808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13812 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13813 then :
   13814   printf %s "(cached) " >&6
   13815 else $as_nop
   13816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13817 /* end confdefs.h.  */
   13818 int i;
   13819 _ACEOF
   13820 if ac_fn_c_try_compile "$LINENO"
   13821 then :
   13822   xorg_cv_cc_flag_unknown_warning_option=yes
   13823 else $as_nop
   13824   xorg_cv_cc_flag_unknown_warning_option=no
   13825 fi
   13826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13827 fi
   13828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13829 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13831 	CFLAGS="$xorg_testset_save_CFLAGS"
   13832 fi
   13833 
   13834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13837 	fi
   13838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13840 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13841 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13842 then :
   13843   printf %s "(cached) " >&6
   13844 else $as_nop
   13845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13846 /* end confdefs.h.  */
   13847 int i;
   13848 _ACEOF
   13849 if ac_fn_c_try_compile "$LINENO"
   13850 then :
   13851   xorg_cv_cc_flag_unused_command_line_argument=yes
   13852 else $as_nop
   13853   xorg_cv_cc_flag_unused_command_line_argument=no
   13854 fi
   13855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13856 fi
   13857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13858 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13860 	CFLAGS="$xorg_testset_save_CFLAGS"
   13861 fi
   13862 
   13863 found="no"
   13864 
   13865 	if test $found = "no" ; then
   13866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13868 		fi
   13869 
   13870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13872 		fi
   13873 
   13874 		CFLAGS="$CFLAGS -Wnested-externs"
   13875 
   13876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13877 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13878 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13879 		if eval test \${$cacheid+y}
   13880 then :
   13881   printf %s "(cached) " >&6
   13882 else $as_nop
   13883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13884 /* end confdefs.h.  */
   13885 int i;
   13886 int
   13887 main (void)
   13888 {
   13889 
   13890   ;
   13891   return 0;
   13892 }
   13893 _ACEOF
   13894 if ac_fn_c_try_link "$LINENO"
   13895 then :
   13896   eval $cacheid=yes
   13897 else $as_nop
   13898   eval $cacheid=no
   13899 fi
   13900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13901     conftest$ac_exeext conftest.$ac_ext
   13902 fi
   13903 
   13904 
   13905 		CFLAGS="$xorg_testset_save_CFLAGS"
   13906 
   13907 		eval supported=\$$cacheid
   13908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13909 printf "%s\n" "$supported" >&6; }
   13910 		if test "$supported" = "yes" ; then
   13911 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13912 			found="yes"
   13913 		fi
   13914 	fi
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 xorg_testset_save_CFLAGS="$CFLAGS"
   13931 
   13932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13937 then :
   13938   printf %s "(cached) " >&6
   13939 else $as_nop
   13940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13941 /* end confdefs.h.  */
   13942 int i;
   13943 _ACEOF
   13944 if ac_fn_c_try_compile "$LINENO"
   13945 then :
   13946   xorg_cv_cc_flag_unknown_warning_option=yes
   13947 else $as_nop
   13948   xorg_cv_cc_flag_unknown_warning_option=no
   13949 fi
   13950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13951 fi
   13952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13953 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13955 	CFLAGS="$xorg_testset_save_CFLAGS"
   13956 fi
   13957 
   13958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13961 	fi
   13962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13964 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13965 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13966 then :
   13967   printf %s "(cached) " >&6
   13968 else $as_nop
   13969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13970 /* end confdefs.h.  */
   13971 int i;
   13972 _ACEOF
   13973 if ac_fn_c_try_compile "$LINENO"
   13974 then :
   13975   xorg_cv_cc_flag_unused_command_line_argument=yes
   13976 else $as_nop
   13977   xorg_cv_cc_flag_unused_command_line_argument=no
   13978 fi
   13979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13980 fi
   13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13982 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13984 	CFLAGS="$xorg_testset_save_CFLAGS"
   13985 fi
   13986 
   13987 found="no"
   13988 
   13989 	if test $found = "no" ; then
   13990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13992 		fi
   13993 
   13994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13996 		fi
   13997 
   13998 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13999 
   14000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14001 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14002 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14003 		if eval test \${$cacheid+y}
   14004 then :
   14005   printf %s "(cached) " >&6
   14006 else $as_nop
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 int i;
   14010 int
   14011 main (void)
   14012 {
   14013 
   14014   ;
   14015   return 0;
   14016 }
   14017 _ACEOF
   14018 if ac_fn_c_try_link "$LINENO"
   14019 then :
   14020   eval $cacheid=yes
   14021 else $as_nop
   14022   eval $cacheid=no
   14023 fi
   14024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14025     conftest$ac_exeext conftest.$ac_ext
   14026 fi
   14027 
   14028 
   14029 		CFLAGS="$xorg_testset_save_CFLAGS"
   14030 
   14031 		eval supported=\$$cacheid
   14032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14033 printf "%s\n" "$supported" >&6; }
   14034 		if test "$supported" = "yes" ; then
   14035 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14036 			found="yes"
   14037 		fi
   14038 	fi
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 xorg_testset_save_CFLAGS="$CFLAGS"
   14055 
   14056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14059 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14060 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14061 then :
   14062   printf %s "(cached) " >&6
   14063 else $as_nop
   14064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14065 /* end confdefs.h.  */
   14066 int i;
   14067 _ACEOF
   14068 if ac_fn_c_try_compile "$LINENO"
   14069 then :
   14070   xorg_cv_cc_flag_unknown_warning_option=yes
   14071 else $as_nop
   14072   xorg_cv_cc_flag_unknown_warning_option=no
   14073 fi
   14074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14075 fi
   14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14077 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14079 	CFLAGS="$xorg_testset_save_CFLAGS"
   14080 fi
   14081 
   14082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14085 	fi
   14086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14090 then :
   14091   printf %s "(cached) " >&6
   14092 else $as_nop
   14093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14094 /* end confdefs.h.  */
   14095 int i;
   14096 _ACEOF
   14097 if ac_fn_c_try_compile "$LINENO"
   14098 then :
   14099   xorg_cv_cc_flag_unused_command_line_argument=yes
   14100 else $as_nop
   14101   xorg_cv_cc_flag_unused_command_line_argument=no
   14102 fi
   14103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14104 fi
   14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14106 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14108 	CFLAGS="$xorg_testset_save_CFLAGS"
   14109 fi
   14110 
   14111 found="no"
   14112 
   14113 	if test $found = "no" ; then
   14114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14116 		fi
   14117 
   14118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 		fi
   14121 
   14122 		CFLAGS="$CFLAGS -Wold-style-definition"
   14123 
   14124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14125 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14126 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14127 		if eval test \${$cacheid+y}
   14128 then :
   14129   printf %s "(cached) " >&6
   14130 else $as_nop
   14131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14132 /* end confdefs.h.  */
   14133 int i;
   14134 int
   14135 main (void)
   14136 {
   14137 
   14138   ;
   14139   return 0;
   14140 }
   14141 _ACEOF
   14142 if ac_fn_c_try_link "$LINENO"
   14143 then :
   14144   eval $cacheid=yes
   14145 else $as_nop
   14146   eval $cacheid=no
   14147 fi
   14148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14149     conftest$ac_exeext conftest.$ac_ext
   14150 fi
   14151 
   14152 
   14153 		CFLAGS="$xorg_testset_save_CFLAGS"
   14154 
   14155 		eval supported=\$$cacheid
   14156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14157 printf "%s\n" "$supported" >&6; }
   14158 		if test "$supported" = "yes" ; then
   14159 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14160 			found="yes"
   14161 		fi
   14162 	fi
   14163 
   14164 	if test $found = "no" ; then
   14165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14167 		fi
   14168 
   14169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14171 		fi
   14172 
   14173 		CFLAGS="$CFLAGS -fd"
   14174 
   14175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14176 printf %s "checking if $CC supports -fd... " >&6; }
   14177 		cacheid=xorg_cv_cc_flag__fd
   14178 		if eval test \${$cacheid+y}
   14179 then :
   14180   printf %s "(cached) " >&6
   14181 else $as_nop
   14182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14183 /* end confdefs.h.  */
   14184 int i;
   14185 int
   14186 main (void)
   14187 {
   14188 
   14189   ;
   14190   return 0;
   14191 }
   14192 _ACEOF
   14193 if ac_fn_c_try_link "$LINENO"
   14194 then :
   14195   eval $cacheid=yes
   14196 else $as_nop
   14197   eval $cacheid=no
   14198 fi
   14199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14200     conftest$ac_exeext conftest.$ac_ext
   14201 fi
   14202 
   14203 
   14204 		CFLAGS="$xorg_testset_save_CFLAGS"
   14205 
   14206 		eval supported=\$$cacheid
   14207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14208 printf "%s\n" "$supported" >&6; }
   14209 		if test "$supported" = "yes" ; then
   14210 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14211 			found="yes"
   14212 		fi
   14213 	fi
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 xorg_testset_save_CFLAGS="$CFLAGS"
   14230 
   14231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14236 then :
   14237   printf %s "(cached) " >&6
   14238 else $as_nop
   14239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14240 /* end confdefs.h.  */
   14241 int i;
   14242 _ACEOF
   14243 if ac_fn_c_try_compile "$LINENO"
   14244 then :
   14245   xorg_cv_cc_flag_unknown_warning_option=yes
   14246 else $as_nop
   14247   xorg_cv_cc_flag_unknown_warning_option=no
   14248 fi
   14249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14250 fi
   14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14254 	CFLAGS="$xorg_testset_save_CFLAGS"
   14255 fi
   14256 
   14257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14260 	fi
   14261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14265 then :
   14266   printf %s "(cached) " >&6
   14267 else $as_nop
   14268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14269 /* end confdefs.h.  */
   14270 int i;
   14271 _ACEOF
   14272 if ac_fn_c_try_compile "$LINENO"
   14273 then :
   14274   xorg_cv_cc_flag_unused_command_line_argument=yes
   14275 else $as_nop
   14276   xorg_cv_cc_flag_unused_command_line_argument=no
   14277 fi
   14278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14279 fi
   14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14281 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14283 	CFLAGS="$xorg_testset_save_CFLAGS"
   14284 fi
   14285 
   14286 found="no"
   14287 
   14288 	if test $found = "no" ; then
   14289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14291 		fi
   14292 
   14293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14295 		fi
   14296 
   14297 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14298 
   14299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14300 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14301 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14302 		if eval test \${$cacheid+y}
   14303 then :
   14304   printf %s "(cached) " >&6
   14305 else $as_nop
   14306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14307 /* end confdefs.h.  */
   14308 int i;
   14309 int
   14310 main (void)
   14311 {
   14312 
   14313   ;
   14314   return 0;
   14315 }
   14316 _ACEOF
   14317 if ac_fn_c_try_link "$LINENO"
   14318 then :
   14319   eval $cacheid=yes
   14320 else $as_nop
   14321   eval $cacheid=no
   14322 fi
   14323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14324     conftest$ac_exeext conftest.$ac_ext
   14325 fi
   14326 
   14327 
   14328 		CFLAGS="$xorg_testset_save_CFLAGS"
   14329 
   14330 		eval supported=\$$cacheid
   14331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14332 printf "%s\n" "$supported" >&6; }
   14333 		if test "$supported" = "yes" ; then
   14334 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14335 			found="yes"
   14336 		fi
   14337 	fi
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 # This chunk adds additional warnings that could catch undesired effects.
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 xorg_testset_save_CFLAGS="$CFLAGS"
   14358 
   14359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14364 then :
   14365   printf %s "(cached) " >&6
   14366 else $as_nop
   14367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14368 /* end confdefs.h.  */
   14369 int i;
   14370 _ACEOF
   14371 if ac_fn_c_try_compile "$LINENO"
   14372 then :
   14373   xorg_cv_cc_flag_unknown_warning_option=yes
   14374 else $as_nop
   14375   xorg_cv_cc_flag_unknown_warning_option=no
   14376 fi
   14377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14378 fi
   14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14380 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14382 	CFLAGS="$xorg_testset_save_CFLAGS"
   14383 fi
   14384 
   14385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14388 	fi
   14389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14393 then :
   14394   printf %s "(cached) " >&6
   14395 else $as_nop
   14396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14397 /* end confdefs.h.  */
   14398 int i;
   14399 _ACEOF
   14400 if ac_fn_c_try_compile "$LINENO"
   14401 then :
   14402   xorg_cv_cc_flag_unused_command_line_argument=yes
   14403 else $as_nop
   14404   xorg_cv_cc_flag_unused_command_line_argument=no
   14405 fi
   14406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14407 fi
   14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14411 	CFLAGS="$xorg_testset_save_CFLAGS"
   14412 fi
   14413 
   14414 found="no"
   14415 
   14416 	if test $found = "no" ; then
   14417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14419 		fi
   14420 
   14421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14423 		fi
   14424 
   14425 		CFLAGS="$CFLAGS -Wunused"
   14426 
   14427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14428 printf %s "checking if $CC supports -Wunused... " >&6; }
   14429 		cacheid=xorg_cv_cc_flag__Wunused
   14430 		if eval test \${$cacheid+y}
   14431 then :
   14432   printf %s "(cached) " >&6
   14433 else $as_nop
   14434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14435 /* end confdefs.h.  */
   14436 int i;
   14437 int
   14438 main (void)
   14439 {
   14440 
   14441   ;
   14442   return 0;
   14443 }
   14444 _ACEOF
   14445 if ac_fn_c_try_link "$LINENO"
   14446 then :
   14447   eval $cacheid=yes
   14448 else $as_nop
   14449   eval $cacheid=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14452     conftest$ac_exeext conftest.$ac_ext
   14453 fi
   14454 
   14455 
   14456 		CFLAGS="$xorg_testset_save_CFLAGS"
   14457 
   14458 		eval supported=\$$cacheid
   14459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14460 printf "%s\n" "$supported" >&6; }
   14461 		if test "$supported" = "yes" ; then
   14462 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14463 			found="yes"
   14464 		fi
   14465 	fi
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 xorg_testset_save_CFLAGS="$CFLAGS"
   14482 
   14483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14486 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14487 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14488 then :
   14489   printf %s "(cached) " >&6
   14490 else $as_nop
   14491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14492 /* end confdefs.h.  */
   14493 int i;
   14494 _ACEOF
   14495 if ac_fn_c_try_compile "$LINENO"
   14496 then :
   14497   xorg_cv_cc_flag_unknown_warning_option=yes
   14498 else $as_nop
   14499   xorg_cv_cc_flag_unknown_warning_option=no
   14500 fi
   14501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14502 fi
   14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14506 	CFLAGS="$xorg_testset_save_CFLAGS"
   14507 fi
   14508 
   14509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14512 	fi
   14513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14517 then :
   14518   printf %s "(cached) " >&6
   14519 else $as_nop
   14520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14521 /* end confdefs.h.  */
   14522 int i;
   14523 _ACEOF
   14524 if ac_fn_c_try_compile "$LINENO"
   14525 then :
   14526   xorg_cv_cc_flag_unused_command_line_argument=yes
   14527 else $as_nop
   14528   xorg_cv_cc_flag_unused_command_line_argument=no
   14529 fi
   14530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14531 fi
   14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14533 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14535 	CFLAGS="$xorg_testset_save_CFLAGS"
   14536 fi
   14537 
   14538 found="no"
   14539 
   14540 	if test $found = "no" ; then
   14541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14543 		fi
   14544 
   14545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14547 		fi
   14548 
   14549 		CFLAGS="$CFLAGS -Wuninitialized"
   14550 
   14551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14552 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14553 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14554 		if eval test \${$cacheid+y}
   14555 then :
   14556   printf %s "(cached) " >&6
   14557 else $as_nop
   14558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14559 /* end confdefs.h.  */
   14560 int i;
   14561 int
   14562 main (void)
   14563 {
   14564 
   14565   ;
   14566   return 0;
   14567 }
   14568 _ACEOF
   14569 if ac_fn_c_try_link "$LINENO"
   14570 then :
   14571   eval $cacheid=yes
   14572 else $as_nop
   14573   eval $cacheid=no
   14574 fi
   14575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14576     conftest$ac_exeext conftest.$ac_ext
   14577 fi
   14578 
   14579 
   14580 		CFLAGS="$xorg_testset_save_CFLAGS"
   14581 
   14582 		eval supported=\$$cacheid
   14583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14584 printf "%s\n" "$supported" >&6; }
   14585 		if test "$supported" = "yes" ; then
   14586 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14587 			found="yes"
   14588 		fi
   14589 	fi
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 xorg_testset_save_CFLAGS="$CFLAGS"
   14606 
   14607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14610 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14611 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14612 then :
   14613   printf %s "(cached) " >&6
   14614 else $as_nop
   14615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14616 /* end confdefs.h.  */
   14617 int i;
   14618 _ACEOF
   14619 if ac_fn_c_try_compile "$LINENO"
   14620 then :
   14621   xorg_cv_cc_flag_unknown_warning_option=yes
   14622 else $as_nop
   14623   xorg_cv_cc_flag_unknown_warning_option=no
   14624 fi
   14625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14626 fi
   14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14628 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14630 	CFLAGS="$xorg_testset_save_CFLAGS"
   14631 fi
   14632 
   14633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14636 	fi
   14637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14639 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14640 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14641 then :
   14642   printf %s "(cached) " >&6
   14643 else $as_nop
   14644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14645 /* end confdefs.h.  */
   14646 int i;
   14647 _ACEOF
   14648 if ac_fn_c_try_compile "$LINENO"
   14649 then :
   14650   xorg_cv_cc_flag_unused_command_line_argument=yes
   14651 else $as_nop
   14652   xorg_cv_cc_flag_unused_command_line_argument=no
   14653 fi
   14654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14655 fi
   14656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14657 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14659 	CFLAGS="$xorg_testset_save_CFLAGS"
   14660 fi
   14661 
   14662 found="no"
   14663 
   14664 	if test $found = "no" ; then
   14665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14667 		fi
   14668 
   14669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14671 		fi
   14672 
   14673 		CFLAGS="$CFLAGS -Wshadow"
   14674 
   14675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14676 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14677 		cacheid=xorg_cv_cc_flag__Wshadow
   14678 		if eval test \${$cacheid+y}
   14679 then :
   14680   printf %s "(cached) " >&6
   14681 else $as_nop
   14682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14683 /* end confdefs.h.  */
   14684 int i;
   14685 int
   14686 main (void)
   14687 {
   14688 
   14689   ;
   14690   return 0;
   14691 }
   14692 _ACEOF
   14693 if ac_fn_c_try_link "$LINENO"
   14694 then :
   14695   eval $cacheid=yes
   14696 else $as_nop
   14697   eval $cacheid=no
   14698 fi
   14699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14700     conftest$ac_exeext conftest.$ac_ext
   14701 fi
   14702 
   14703 
   14704 		CFLAGS="$xorg_testset_save_CFLAGS"
   14705 
   14706 		eval supported=\$$cacheid
   14707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14708 printf "%s\n" "$supported" >&6; }
   14709 		if test "$supported" = "yes" ; then
   14710 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14711 			found="yes"
   14712 		fi
   14713 	fi
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 xorg_testset_save_CFLAGS="$CFLAGS"
   14730 
   14731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14732 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14733 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14734 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14735 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14736 then :
   14737   printf %s "(cached) " >&6
   14738 else $as_nop
   14739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14740 /* end confdefs.h.  */
   14741 int i;
   14742 _ACEOF
   14743 if ac_fn_c_try_compile "$LINENO"
   14744 then :
   14745   xorg_cv_cc_flag_unknown_warning_option=yes
   14746 else $as_nop
   14747   xorg_cv_cc_flag_unknown_warning_option=no
   14748 fi
   14749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14750 fi
   14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14752 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14754 	CFLAGS="$xorg_testset_save_CFLAGS"
   14755 fi
   14756 
   14757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14760 	fi
   14761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14763 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14764 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14765 then :
   14766   printf %s "(cached) " >&6
   14767 else $as_nop
   14768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14769 /* end confdefs.h.  */
   14770 int i;
   14771 _ACEOF
   14772 if ac_fn_c_try_compile "$LINENO"
   14773 then :
   14774   xorg_cv_cc_flag_unused_command_line_argument=yes
   14775 else $as_nop
   14776   xorg_cv_cc_flag_unused_command_line_argument=no
   14777 fi
   14778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14779 fi
   14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14781 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14783 	CFLAGS="$xorg_testset_save_CFLAGS"
   14784 fi
   14785 
   14786 found="no"
   14787 
   14788 	if test $found = "no" ; then
   14789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14791 		fi
   14792 
   14793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14795 		fi
   14796 
   14797 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14798 
   14799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14800 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14801 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14802 		if eval test \${$cacheid+y}
   14803 then :
   14804   printf %s "(cached) " >&6
   14805 else $as_nop
   14806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14807 /* end confdefs.h.  */
   14808 int i;
   14809 int
   14810 main (void)
   14811 {
   14812 
   14813   ;
   14814   return 0;
   14815 }
   14816 _ACEOF
   14817 if ac_fn_c_try_link "$LINENO"
   14818 then :
   14819   eval $cacheid=yes
   14820 else $as_nop
   14821   eval $cacheid=no
   14822 fi
   14823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14824     conftest$ac_exeext conftest.$ac_ext
   14825 fi
   14826 
   14827 
   14828 		CFLAGS="$xorg_testset_save_CFLAGS"
   14829 
   14830 		eval supported=\$$cacheid
   14831 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14832 printf "%s\n" "$supported" >&6; }
   14833 		if test "$supported" = "yes" ; then
   14834 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14835 			found="yes"
   14836 		fi
   14837 	fi
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 xorg_testset_save_CFLAGS="$CFLAGS"
   14854 
   14855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14858 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14859 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14860 then :
   14861   printf %s "(cached) " >&6
   14862 else $as_nop
   14863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14864 /* end confdefs.h.  */
   14865 int i;
   14866 _ACEOF
   14867 if ac_fn_c_try_compile "$LINENO"
   14868 then :
   14869   xorg_cv_cc_flag_unknown_warning_option=yes
   14870 else $as_nop
   14871   xorg_cv_cc_flag_unknown_warning_option=no
   14872 fi
   14873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14874 fi
   14875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14876 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14878 	CFLAGS="$xorg_testset_save_CFLAGS"
   14879 fi
   14880 
   14881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14884 	fi
   14885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14887 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14888 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14889 then :
   14890   printf %s "(cached) " >&6
   14891 else $as_nop
   14892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14893 /* end confdefs.h.  */
   14894 int i;
   14895 _ACEOF
   14896 if ac_fn_c_try_compile "$LINENO"
   14897 then :
   14898   xorg_cv_cc_flag_unused_command_line_argument=yes
   14899 else $as_nop
   14900   xorg_cv_cc_flag_unused_command_line_argument=no
   14901 fi
   14902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14903 fi
   14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14905 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14907 	CFLAGS="$xorg_testset_save_CFLAGS"
   14908 fi
   14909 
   14910 found="no"
   14911 
   14912 	if test $found = "no" ; then
   14913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14915 		fi
   14916 
   14917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14919 		fi
   14920 
   14921 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14922 
   14923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14924 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14925 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14926 		if eval test \${$cacheid+y}
   14927 then :
   14928   printf %s "(cached) " >&6
   14929 else $as_nop
   14930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14931 /* end confdefs.h.  */
   14932 int i;
   14933 int
   14934 main (void)
   14935 {
   14936 
   14937   ;
   14938   return 0;
   14939 }
   14940 _ACEOF
   14941 if ac_fn_c_try_link "$LINENO"
   14942 then :
   14943   eval $cacheid=yes
   14944 else $as_nop
   14945   eval $cacheid=no
   14946 fi
   14947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14948     conftest$ac_exeext conftest.$ac_ext
   14949 fi
   14950 
   14951 
   14952 		CFLAGS="$xorg_testset_save_CFLAGS"
   14953 
   14954 		eval supported=\$$cacheid
   14955 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14956 printf "%s\n" "$supported" >&6; }
   14957 		if test "$supported" = "yes" ; then
   14958 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14959 			found="yes"
   14960 		fi
   14961 	fi
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 xorg_testset_save_CFLAGS="$CFLAGS"
   14978 
   14979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14982 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14983 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14984 then :
   14985   printf %s "(cached) " >&6
   14986 else $as_nop
   14987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14988 /* end confdefs.h.  */
   14989 int i;
   14990 _ACEOF
   14991 if ac_fn_c_try_compile "$LINENO"
   14992 then :
   14993   xorg_cv_cc_flag_unknown_warning_option=yes
   14994 else $as_nop
   14995   xorg_cv_cc_flag_unknown_warning_option=no
   14996 fi
   14997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14998 fi
   14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15000 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15002 	CFLAGS="$xorg_testset_save_CFLAGS"
   15003 fi
   15004 
   15005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15008 	fi
   15009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15010 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15011 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15012 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15013 then :
   15014   printf %s "(cached) " >&6
   15015 else $as_nop
   15016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15017 /* end confdefs.h.  */
   15018 int i;
   15019 _ACEOF
   15020 if ac_fn_c_try_compile "$LINENO"
   15021 then :
   15022   xorg_cv_cc_flag_unused_command_line_argument=yes
   15023 else $as_nop
   15024   xorg_cv_cc_flag_unused_command_line_argument=no
   15025 fi
   15026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15027 fi
   15028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15029 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15031 	CFLAGS="$xorg_testset_save_CFLAGS"
   15032 fi
   15033 
   15034 found="no"
   15035 
   15036 	if test $found = "no" ; then
   15037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15039 		fi
   15040 
   15041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15043 		fi
   15044 
   15045 		CFLAGS="$CFLAGS -Wredundant-decls"
   15046 
   15047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15048 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15049 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15050 		if eval test \${$cacheid+y}
   15051 then :
   15052   printf %s "(cached) " >&6
   15053 else $as_nop
   15054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15055 /* end confdefs.h.  */
   15056 int i;
   15057 int
   15058 main (void)
   15059 {
   15060 
   15061   ;
   15062   return 0;
   15063 }
   15064 _ACEOF
   15065 if ac_fn_c_try_link "$LINENO"
   15066 then :
   15067   eval $cacheid=yes
   15068 else $as_nop
   15069   eval $cacheid=no
   15070 fi
   15071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15072     conftest$ac_exeext conftest.$ac_ext
   15073 fi
   15074 
   15075 
   15076 		CFLAGS="$xorg_testset_save_CFLAGS"
   15077 
   15078 		eval supported=\$$cacheid
   15079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15080 printf "%s\n" "$supported" >&6; }
   15081 		if test "$supported" = "yes" ; then
   15082 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15083 			found="yes"
   15084 		fi
   15085 	fi
   15086 
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 xorg_testset_save_CFLAGS="$CFLAGS"
   15102 
   15103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15108 then :
   15109   printf %s "(cached) " >&6
   15110 else $as_nop
   15111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15112 /* end confdefs.h.  */
   15113 int i;
   15114 _ACEOF
   15115 if ac_fn_c_try_compile "$LINENO"
   15116 then :
   15117   xorg_cv_cc_flag_unknown_warning_option=yes
   15118 else $as_nop
   15119   xorg_cv_cc_flag_unknown_warning_option=no
   15120 fi
   15121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15122 fi
   15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15126 	CFLAGS="$xorg_testset_save_CFLAGS"
   15127 fi
   15128 
   15129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15132 	fi
   15133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15137 then :
   15138   printf %s "(cached) " >&6
   15139 else $as_nop
   15140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15141 /* end confdefs.h.  */
   15142 int i;
   15143 _ACEOF
   15144 if ac_fn_c_try_compile "$LINENO"
   15145 then :
   15146   xorg_cv_cc_flag_unused_command_line_argument=yes
   15147 else $as_nop
   15148   xorg_cv_cc_flag_unused_command_line_argument=no
   15149 fi
   15150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15151 fi
   15152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15155 	CFLAGS="$xorg_testset_save_CFLAGS"
   15156 fi
   15157 
   15158 found="no"
   15159 
   15160 	if test $found = "no" ; then
   15161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15163 		fi
   15164 
   15165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15167 		fi
   15168 
   15169 		CFLAGS="$CFLAGS -Wlogical-op"
   15170 
   15171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15172 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15173 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15174 		if eval test \${$cacheid+y}
   15175 then :
   15176   printf %s "(cached) " >&6
   15177 else $as_nop
   15178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15179 /* end confdefs.h.  */
   15180 int i;
   15181 int
   15182 main (void)
   15183 {
   15184 
   15185   ;
   15186   return 0;
   15187 }
   15188 _ACEOF
   15189 if ac_fn_c_try_link "$LINENO"
   15190 then :
   15191   eval $cacheid=yes
   15192 else $as_nop
   15193   eval $cacheid=no
   15194 fi
   15195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15196     conftest$ac_exeext conftest.$ac_ext
   15197 fi
   15198 
   15199 
   15200 		CFLAGS="$xorg_testset_save_CFLAGS"
   15201 
   15202 		eval supported=\$$cacheid
   15203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15204 printf "%s\n" "$supported" >&6; }
   15205 		if test "$supported" = "yes" ; then
   15206 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15207 			found="yes"
   15208 		fi
   15209 	fi
   15210 
   15211 
   15212 
   15213 # These are currently disabled because they are noisy.  They will be enabled
   15214 # in the future once the codebase is sufficiently modernized to silence
   15215 # them.  For now, I don't want them to drown out the other warnings.
   15216 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15217 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15218 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15219 
   15220 # Turn some warnings into errors, so we don't accidently get successful builds
   15221 # when there are problems that should be fixed.
   15222 
   15223 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 xorg_testset_save_CFLAGS="$CFLAGS"
   15238 
   15239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15242 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15243 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15244 then :
   15245   printf %s "(cached) " >&6
   15246 else $as_nop
   15247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15248 /* end confdefs.h.  */
   15249 int i;
   15250 _ACEOF
   15251 if ac_fn_c_try_compile "$LINENO"
   15252 then :
   15253   xorg_cv_cc_flag_unknown_warning_option=yes
   15254 else $as_nop
   15255   xorg_cv_cc_flag_unknown_warning_option=no
   15256 fi
   15257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15258 fi
   15259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15260 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15262 	CFLAGS="$xorg_testset_save_CFLAGS"
   15263 fi
   15264 
   15265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15268 	fi
   15269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15271 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15272 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15273 then :
   15274   printf %s "(cached) " >&6
   15275 else $as_nop
   15276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15277 /* end confdefs.h.  */
   15278 int i;
   15279 _ACEOF
   15280 if ac_fn_c_try_compile "$LINENO"
   15281 then :
   15282   xorg_cv_cc_flag_unused_command_line_argument=yes
   15283 else $as_nop
   15284   xorg_cv_cc_flag_unused_command_line_argument=no
   15285 fi
   15286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15287 fi
   15288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15289 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15291 	CFLAGS="$xorg_testset_save_CFLAGS"
   15292 fi
   15293 
   15294 found="no"
   15295 
   15296 	if test $found = "no" ; then
   15297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15299 		fi
   15300 
   15301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15303 		fi
   15304 
   15305 		CFLAGS="$CFLAGS -Werror=implicit"
   15306 
   15307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15308 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15309 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15310 		if eval test \${$cacheid+y}
   15311 then :
   15312   printf %s "(cached) " >&6
   15313 else $as_nop
   15314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15315 /* end confdefs.h.  */
   15316 int i;
   15317 int
   15318 main (void)
   15319 {
   15320 
   15321   ;
   15322   return 0;
   15323 }
   15324 _ACEOF
   15325 if ac_fn_c_try_link "$LINENO"
   15326 then :
   15327   eval $cacheid=yes
   15328 else $as_nop
   15329   eval $cacheid=no
   15330 fi
   15331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15332     conftest$ac_exeext conftest.$ac_ext
   15333 fi
   15334 
   15335 
   15336 		CFLAGS="$xorg_testset_save_CFLAGS"
   15337 
   15338 		eval supported=\$$cacheid
   15339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15340 printf "%s\n" "$supported" >&6; }
   15341 		if test "$supported" = "yes" ; then
   15342 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15343 			found="yes"
   15344 		fi
   15345 	fi
   15346 
   15347 	if test $found = "no" ; then
   15348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15350 		fi
   15351 
   15352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15354 		fi
   15355 
   15356 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15357 
   15358 		{ 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
   15359 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15360 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15361 		if eval test \${$cacheid+y}
   15362 then :
   15363   printf %s "(cached) " >&6
   15364 else $as_nop
   15365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15366 /* end confdefs.h.  */
   15367 int i;
   15368 int
   15369 main (void)
   15370 {
   15371 
   15372   ;
   15373   return 0;
   15374 }
   15375 _ACEOF
   15376 if ac_fn_c_try_link "$LINENO"
   15377 then :
   15378   eval $cacheid=yes
   15379 else $as_nop
   15380   eval $cacheid=no
   15381 fi
   15382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15383     conftest$ac_exeext conftest.$ac_ext
   15384 fi
   15385 
   15386 
   15387 		CFLAGS="$xorg_testset_save_CFLAGS"
   15388 
   15389 		eval supported=\$$cacheid
   15390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15391 printf "%s\n" "$supported" >&6; }
   15392 		if test "$supported" = "yes" ; then
   15393 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15394 			found="yes"
   15395 		fi
   15396 	fi
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 xorg_testset_save_CFLAGS="$CFLAGS"
   15413 
   15414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15416 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15417 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15418 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15419 then :
   15420   printf %s "(cached) " >&6
   15421 else $as_nop
   15422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15423 /* end confdefs.h.  */
   15424 int i;
   15425 _ACEOF
   15426 if ac_fn_c_try_compile "$LINENO"
   15427 then :
   15428   xorg_cv_cc_flag_unknown_warning_option=yes
   15429 else $as_nop
   15430   xorg_cv_cc_flag_unknown_warning_option=no
   15431 fi
   15432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15433 fi
   15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15437 	CFLAGS="$xorg_testset_save_CFLAGS"
   15438 fi
   15439 
   15440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15443 	fi
   15444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15448 then :
   15449   printf %s "(cached) " >&6
   15450 else $as_nop
   15451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15452 /* end confdefs.h.  */
   15453 int i;
   15454 _ACEOF
   15455 if ac_fn_c_try_compile "$LINENO"
   15456 then :
   15457   xorg_cv_cc_flag_unused_command_line_argument=yes
   15458 else $as_nop
   15459   xorg_cv_cc_flag_unused_command_line_argument=no
   15460 fi
   15461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15462 fi
   15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15464 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15466 	CFLAGS="$xorg_testset_save_CFLAGS"
   15467 fi
   15468 
   15469 found="no"
   15470 
   15471 	if test $found = "no" ; then
   15472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15474 		fi
   15475 
   15476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15478 		fi
   15479 
   15480 		CFLAGS="$CFLAGS -Werror=nonnull"
   15481 
   15482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15483 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15484 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15485 		if eval test \${$cacheid+y}
   15486 then :
   15487   printf %s "(cached) " >&6
   15488 else $as_nop
   15489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15490 /* end confdefs.h.  */
   15491 int i;
   15492 int
   15493 main (void)
   15494 {
   15495 
   15496   ;
   15497   return 0;
   15498 }
   15499 _ACEOF
   15500 if ac_fn_c_try_link "$LINENO"
   15501 then :
   15502   eval $cacheid=yes
   15503 else $as_nop
   15504   eval $cacheid=no
   15505 fi
   15506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15507     conftest$ac_exeext conftest.$ac_ext
   15508 fi
   15509 
   15510 
   15511 		CFLAGS="$xorg_testset_save_CFLAGS"
   15512 
   15513 		eval supported=\$$cacheid
   15514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15515 printf "%s\n" "$supported" >&6; }
   15516 		if test "$supported" = "yes" ; then
   15517 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15518 			found="yes"
   15519 		fi
   15520 	fi
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 xorg_testset_save_CFLAGS="$CFLAGS"
   15537 
   15538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15541 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15542 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15543 then :
   15544   printf %s "(cached) " >&6
   15545 else $as_nop
   15546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15547 /* end confdefs.h.  */
   15548 int i;
   15549 _ACEOF
   15550 if ac_fn_c_try_compile "$LINENO"
   15551 then :
   15552   xorg_cv_cc_flag_unknown_warning_option=yes
   15553 else $as_nop
   15554   xorg_cv_cc_flag_unknown_warning_option=no
   15555 fi
   15556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15557 fi
   15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15559 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15561 	CFLAGS="$xorg_testset_save_CFLAGS"
   15562 fi
   15563 
   15564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15567 	fi
   15568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15570 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15571 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15572 then :
   15573   printf %s "(cached) " >&6
   15574 else $as_nop
   15575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15576 /* end confdefs.h.  */
   15577 int i;
   15578 _ACEOF
   15579 if ac_fn_c_try_compile "$LINENO"
   15580 then :
   15581   xorg_cv_cc_flag_unused_command_line_argument=yes
   15582 else $as_nop
   15583   xorg_cv_cc_flag_unused_command_line_argument=no
   15584 fi
   15585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15586 fi
   15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15588 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15590 	CFLAGS="$xorg_testset_save_CFLAGS"
   15591 fi
   15592 
   15593 found="no"
   15594 
   15595 	if test $found = "no" ; then
   15596 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15598 		fi
   15599 
   15600 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15602 		fi
   15603 
   15604 		CFLAGS="$CFLAGS -Werror=init-self"
   15605 
   15606 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15607 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15608 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15609 		if eval test \${$cacheid+y}
   15610 then :
   15611   printf %s "(cached) " >&6
   15612 else $as_nop
   15613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15614 /* end confdefs.h.  */
   15615 int i;
   15616 int
   15617 main (void)
   15618 {
   15619 
   15620   ;
   15621   return 0;
   15622 }
   15623 _ACEOF
   15624 if ac_fn_c_try_link "$LINENO"
   15625 then :
   15626   eval $cacheid=yes
   15627 else $as_nop
   15628   eval $cacheid=no
   15629 fi
   15630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15631     conftest$ac_exeext conftest.$ac_ext
   15632 fi
   15633 
   15634 
   15635 		CFLAGS="$xorg_testset_save_CFLAGS"
   15636 
   15637 		eval supported=\$$cacheid
   15638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15639 printf "%s\n" "$supported" >&6; }
   15640 		if test "$supported" = "yes" ; then
   15641 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15642 			found="yes"
   15643 		fi
   15644 	fi
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 xorg_testset_save_CFLAGS="$CFLAGS"
   15661 
   15662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15667 then :
   15668   printf %s "(cached) " >&6
   15669 else $as_nop
   15670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15671 /* end confdefs.h.  */
   15672 int i;
   15673 _ACEOF
   15674 if ac_fn_c_try_compile "$LINENO"
   15675 then :
   15676   xorg_cv_cc_flag_unknown_warning_option=yes
   15677 else $as_nop
   15678   xorg_cv_cc_flag_unknown_warning_option=no
   15679 fi
   15680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15681 fi
   15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15683 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15685 	CFLAGS="$xorg_testset_save_CFLAGS"
   15686 fi
   15687 
   15688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15691 	fi
   15692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15696 then :
   15697   printf %s "(cached) " >&6
   15698 else $as_nop
   15699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15700 /* end confdefs.h.  */
   15701 int i;
   15702 _ACEOF
   15703 if ac_fn_c_try_compile "$LINENO"
   15704 then :
   15705   xorg_cv_cc_flag_unused_command_line_argument=yes
   15706 else $as_nop
   15707   xorg_cv_cc_flag_unused_command_line_argument=no
   15708 fi
   15709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15710 fi
   15711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15712 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15714 	CFLAGS="$xorg_testset_save_CFLAGS"
   15715 fi
   15716 
   15717 found="no"
   15718 
   15719 	if test $found = "no" ; then
   15720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15722 		fi
   15723 
   15724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15726 		fi
   15727 
   15728 		CFLAGS="$CFLAGS -Werror=main"
   15729 
   15730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15731 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15732 		cacheid=xorg_cv_cc_flag__Werror_main
   15733 		if eval test \${$cacheid+y}
   15734 then :
   15735   printf %s "(cached) " >&6
   15736 else $as_nop
   15737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15738 /* end confdefs.h.  */
   15739 int i;
   15740 int
   15741 main (void)
   15742 {
   15743 
   15744   ;
   15745   return 0;
   15746 }
   15747 _ACEOF
   15748 if ac_fn_c_try_link "$LINENO"
   15749 then :
   15750   eval $cacheid=yes
   15751 else $as_nop
   15752   eval $cacheid=no
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15755     conftest$ac_exeext conftest.$ac_ext
   15756 fi
   15757 
   15758 
   15759 		CFLAGS="$xorg_testset_save_CFLAGS"
   15760 
   15761 		eval supported=\$$cacheid
   15762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15763 printf "%s\n" "$supported" >&6; }
   15764 		if test "$supported" = "yes" ; then
   15765 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15766 			found="yes"
   15767 		fi
   15768 	fi
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 xorg_testset_save_CFLAGS="$CFLAGS"
   15785 
   15786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15791 then :
   15792   printf %s "(cached) " >&6
   15793 else $as_nop
   15794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15795 /* end confdefs.h.  */
   15796 int i;
   15797 _ACEOF
   15798 if ac_fn_c_try_compile "$LINENO"
   15799 then :
   15800   xorg_cv_cc_flag_unknown_warning_option=yes
   15801 else $as_nop
   15802   xorg_cv_cc_flag_unknown_warning_option=no
   15803 fi
   15804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15805 fi
   15806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15807 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15809 	CFLAGS="$xorg_testset_save_CFLAGS"
   15810 fi
   15811 
   15812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15815 	fi
   15816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15818 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15819 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15820 then :
   15821   printf %s "(cached) " >&6
   15822 else $as_nop
   15823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15824 /* end confdefs.h.  */
   15825 int i;
   15826 _ACEOF
   15827 if ac_fn_c_try_compile "$LINENO"
   15828 then :
   15829   xorg_cv_cc_flag_unused_command_line_argument=yes
   15830 else $as_nop
   15831   xorg_cv_cc_flag_unused_command_line_argument=no
   15832 fi
   15833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15834 fi
   15835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15836 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15838 	CFLAGS="$xorg_testset_save_CFLAGS"
   15839 fi
   15840 
   15841 found="no"
   15842 
   15843 	if test $found = "no" ; then
   15844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15846 		fi
   15847 
   15848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15850 		fi
   15851 
   15852 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15853 
   15854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15855 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15856 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15857 		if eval test \${$cacheid+y}
   15858 then :
   15859   printf %s "(cached) " >&6
   15860 else $as_nop
   15861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15862 /* end confdefs.h.  */
   15863 int i;
   15864 int
   15865 main (void)
   15866 {
   15867 
   15868   ;
   15869   return 0;
   15870 }
   15871 _ACEOF
   15872 if ac_fn_c_try_link "$LINENO"
   15873 then :
   15874   eval $cacheid=yes
   15875 else $as_nop
   15876   eval $cacheid=no
   15877 fi
   15878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15879     conftest$ac_exeext conftest.$ac_ext
   15880 fi
   15881 
   15882 
   15883 		CFLAGS="$xorg_testset_save_CFLAGS"
   15884 
   15885 		eval supported=\$$cacheid
   15886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15887 printf "%s\n" "$supported" >&6; }
   15888 		if test "$supported" = "yes" ; then
   15889 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15890 			found="yes"
   15891 		fi
   15892 	fi
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 xorg_testset_save_CFLAGS="$CFLAGS"
   15909 
   15910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15913 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15914 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15915 then :
   15916   printf %s "(cached) " >&6
   15917 else $as_nop
   15918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15919 /* end confdefs.h.  */
   15920 int i;
   15921 _ACEOF
   15922 if ac_fn_c_try_compile "$LINENO"
   15923 then :
   15924   xorg_cv_cc_flag_unknown_warning_option=yes
   15925 else $as_nop
   15926   xorg_cv_cc_flag_unknown_warning_option=no
   15927 fi
   15928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15929 fi
   15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15931 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15933 	CFLAGS="$xorg_testset_save_CFLAGS"
   15934 fi
   15935 
   15936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 	fi
   15940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15942 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15943 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15944 then :
   15945   printf %s "(cached) " >&6
   15946 else $as_nop
   15947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15948 /* end confdefs.h.  */
   15949 int i;
   15950 _ACEOF
   15951 if ac_fn_c_try_compile "$LINENO"
   15952 then :
   15953   xorg_cv_cc_flag_unused_command_line_argument=yes
   15954 else $as_nop
   15955   xorg_cv_cc_flag_unused_command_line_argument=no
   15956 fi
   15957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15958 fi
   15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15960 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15962 	CFLAGS="$xorg_testset_save_CFLAGS"
   15963 fi
   15964 
   15965 found="no"
   15966 
   15967 	if test $found = "no" ; then
   15968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15970 		fi
   15971 
   15972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15974 		fi
   15975 
   15976 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15977 
   15978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15979 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15980 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15981 		if eval test \${$cacheid+y}
   15982 then :
   15983   printf %s "(cached) " >&6
   15984 else $as_nop
   15985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15986 /* end confdefs.h.  */
   15987 int i;
   15988 int
   15989 main (void)
   15990 {
   15991 
   15992   ;
   15993   return 0;
   15994 }
   15995 _ACEOF
   15996 if ac_fn_c_try_link "$LINENO"
   15997 then :
   15998   eval $cacheid=yes
   15999 else $as_nop
   16000   eval $cacheid=no
   16001 fi
   16002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16003     conftest$ac_exeext conftest.$ac_ext
   16004 fi
   16005 
   16006 
   16007 		CFLAGS="$xorg_testset_save_CFLAGS"
   16008 
   16009 		eval supported=\$$cacheid
   16010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16011 printf "%s\n" "$supported" >&6; }
   16012 		if test "$supported" = "yes" ; then
   16013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16014 			found="yes"
   16015 		fi
   16016 	fi
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 xorg_testset_save_CFLAGS="$CFLAGS"
   16033 
   16034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16039 then :
   16040   printf %s "(cached) " >&6
   16041 else $as_nop
   16042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16043 /* end confdefs.h.  */
   16044 int i;
   16045 _ACEOF
   16046 if ac_fn_c_try_compile "$LINENO"
   16047 then :
   16048   xorg_cv_cc_flag_unknown_warning_option=yes
   16049 else $as_nop
   16050   xorg_cv_cc_flag_unknown_warning_option=no
   16051 fi
   16052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16053 fi
   16054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16055 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16057 	CFLAGS="$xorg_testset_save_CFLAGS"
   16058 fi
   16059 
   16060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16063 	fi
   16064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16066 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16067 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16068 then :
   16069   printf %s "(cached) " >&6
   16070 else $as_nop
   16071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16072 /* end confdefs.h.  */
   16073 int i;
   16074 _ACEOF
   16075 if ac_fn_c_try_compile "$LINENO"
   16076 then :
   16077   xorg_cv_cc_flag_unused_command_line_argument=yes
   16078 else $as_nop
   16079   xorg_cv_cc_flag_unused_command_line_argument=no
   16080 fi
   16081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16082 fi
   16083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16084 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16086 	CFLAGS="$xorg_testset_save_CFLAGS"
   16087 fi
   16088 
   16089 found="no"
   16090 
   16091 	if test $found = "no" ; then
   16092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16094 		fi
   16095 
   16096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16098 		fi
   16099 
   16100 		CFLAGS="$CFLAGS -Werror=return-type"
   16101 
   16102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16103 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16104 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16105 		if eval test \${$cacheid+y}
   16106 then :
   16107   printf %s "(cached) " >&6
   16108 else $as_nop
   16109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16110 /* end confdefs.h.  */
   16111 int i;
   16112 int
   16113 main (void)
   16114 {
   16115 
   16116   ;
   16117   return 0;
   16118 }
   16119 _ACEOF
   16120 if ac_fn_c_try_link "$LINENO"
   16121 then :
   16122   eval $cacheid=yes
   16123 else $as_nop
   16124   eval $cacheid=no
   16125 fi
   16126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16127     conftest$ac_exeext conftest.$ac_ext
   16128 fi
   16129 
   16130 
   16131 		CFLAGS="$xorg_testset_save_CFLAGS"
   16132 
   16133 		eval supported=\$$cacheid
   16134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16135 printf "%s\n" "$supported" >&6; }
   16136 		if test "$supported" = "yes" ; then
   16137 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16138 			found="yes"
   16139 		fi
   16140 	fi
   16141 
   16142 	if test $found = "no" ; then
   16143 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16144 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16145 		fi
   16146 
   16147 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16148 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16149 		fi
   16150 
   16151 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16152 
   16153 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16154 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16155 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16156 		if eval test \${$cacheid+y}
   16157 then :
   16158   printf %s "(cached) " >&6
   16159 else $as_nop
   16160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16161 /* end confdefs.h.  */
   16162 int i;
   16163 int
   16164 main (void)
   16165 {
   16166 
   16167   ;
   16168   return 0;
   16169 }
   16170 _ACEOF
   16171 if ac_fn_c_try_link "$LINENO"
   16172 then :
   16173   eval $cacheid=yes
   16174 else $as_nop
   16175   eval $cacheid=no
   16176 fi
   16177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16178     conftest$ac_exeext conftest.$ac_ext
   16179 fi
   16180 
   16181 
   16182 		CFLAGS="$xorg_testset_save_CFLAGS"
   16183 
   16184 		eval supported=\$$cacheid
   16185 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16186 printf "%s\n" "$supported" >&6; }
   16187 		if test "$supported" = "yes" ; then
   16188 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16189 			found="yes"
   16190 		fi
   16191 	fi
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 xorg_testset_save_CFLAGS="$CFLAGS"
   16208 
   16209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16212 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16213 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16214 then :
   16215   printf %s "(cached) " >&6
   16216 else $as_nop
   16217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16218 /* end confdefs.h.  */
   16219 int i;
   16220 _ACEOF
   16221 if ac_fn_c_try_compile "$LINENO"
   16222 then :
   16223   xorg_cv_cc_flag_unknown_warning_option=yes
   16224 else $as_nop
   16225   xorg_cv_cc_flag_unknown_warning_option=no
   16226 fi
   16227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16228 fi
   16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16230 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16232 	CFLAGS="$xorg_testset_save_CFLAGS"
   16233 fi
   16234 
   16235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16238 	fi
   16239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16241 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16242 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16243 then :
   16244   printf %s "(cached) " >&6
   16245 else $as_nop
   16246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16247 /* end confdefs.h.  */
   16248 int i;
   16249 _ACEOF
   16250 if ac_fn_c_try_compile "$LINENO"
   16251 then :
   16252   xorg_cv_cc_flag_unused_command_line_argument=yes
   16253 else $as_nop
   16254   xorg_cv_cc_flag_unused_command_line_argument=no
   16255 fi
   16256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16257 fi
   16258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16259 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16260 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16261 	CFLAGS="$xorg_testset_save_CFLAGS"
   16262 fi
   16263 
   16264 found="no"
   16265 
   16266 	if test $found = "no" ; then
   16267 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16268 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16269 		fi
   16270 
   16271 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16272 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16273 		fi
   16274 
   16275 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16276 
   16277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16278 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16279 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16280 		if eval test \${$cacheid+y}
   16281 then :
   16282   printf %s "(cached) " >&6
   16283 else $as_nop
   16284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16285 /* end confdefs.h.  */
   16286 int i;
   16287 int
   16288 main (void)
   16289 {
   16290 
   16291   ;
   16292   return 0;
   16293 }
   16294 _ACEOF
   16295 if ac_fn_c_try_link "$LINENO"
   16296 then :
   16297   eval $cacheid=yes
   16298 else $as_nop
   16299   eval $cacheid=no
   16300 fi
   16301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16302     conftest$ac_exeext conftest.$ac_ext
   16303 fi
   16304 
   16305 
   16306 		CFLAGS="$xorg_testset_save_CFLAGS"
   16307 
   16308 		eval supported=\$$cacheid
   16309 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16310 printf "%s\n" "$supported" >&6; }
   16311 		if test "$supported" = "yes" ; then
   16312 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16313 			found="yes"
   16314 		fi
   16315 	fi
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 xorg_testset_save_CFLAGS="$CFLAGS"
   16332 
   16333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16336 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16337 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16338 then :
   16339   printf %s "(cached) " >&6
   16340 else $as_nop
   16341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16342 /* end confdefs.h.  */
   16343 int i;
   16344 _ACEOF
   16345 if ac_fn_c_try_compile "$LINENO"
   16346 then :
   16347   xorg_cv_cc_flag_unknown_warning_option=yes
   16348 else $as_nop
   16349   xorg_cv_cc_flag_unknown_warning_option=no
   16350 fi
   16351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16352 fi
   16353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16354 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16356 	CFLAGS="$xorg_testset_save_CFLAGS"
   16357 fi
   16358 
   16359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16362 	fi
   16363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16365 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16366 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16367 then :
   16368   printf %s "(cached) " >&6
   16369 else $as_nop
   16370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16371 /* end confdefs.h.  */
   16372 int i;
   16373 _ACEOF
   16374 if ac_fn_c_try_compile "$LINENO"
   16375 then :
   16376   xorg_cv_cc_flag_unused_command_line_argument=yes
   16377 else $as_nop
   16378   xorg_cv_cc_flag_unused_command_line_argument=no
   16379 fi
   16380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16381 fi
   16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16383 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16385 	CFLAGS="$xorg_testset_save_CFLAGS"
   16386 fi
   16387 
   16388 found="no"
   16389 
   16390 	if test $found = "no" ; then
   16391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16393 		fi
   16394 
   16395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16397 		fi
   16398 
   16399 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16400 
   16401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16402 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16403 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16404 		if eval test \${$cacheid+y}
   16405 then :
   16406   printf %s "(cached) " >&6
   16407 else $as_nop
   16408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16409 /* end confdefs.h.  */
   16410 int i;
   16411 int
   16412 main (void)
   16413 {
   16414 
   16415   ;
   16416   return 0;
   16417 }
   16418 _ACEOF
   16419 if ac_fn_c_try_link "$LINENO"
   16420 then :
   16421   eval $cacheid=yes
   16422 else $as_nop
   16423   eval $cacheid=no
   16424 fi
   16425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16426     conftest$ac_exeext conftest.$ac_ext
   16427 fi
   16428 
   16429 
   16430 		CFLAGS="$xorg_testset_save_CFLAGS"
   16431 
   16432 		eval supported=\$$cacheid
   16433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16434 printf "%s\n" "$supported" >&6; }
   16435 		if test "$supported" = "yes" ; then
   16436 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16437 			found="yes"
   16438 		fi
   16439 	fi
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 xorg_testset_save_CFLAGS="$CFLAGS"
   16456 
   16457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16460 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16461 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16462 then :
   16463   printf %s "(cached) " >&6
   16464 else $as_nop
   16465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16466 /* end confdefs.h.  */
   16467 int i;
   16468 _ACEOF
   16469 if ac_fn_c_try_compile "$LINENO"
   16470 then :
   16471   xorg_cv_cc_flag_unknown_warning_option=yes
   16472 else $as_nop
   16473   xorg_cv_cc_flag_unknown_warning_option=no
   16474 fi
   16475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16476 fi
   16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16478 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16480 	CFLAGS="$xorg_testset_save_CFLAGS"
   16481 fi
   16482 
   16483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16486 	fi
   16487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16488 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16489 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16490 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16491 then :
   16492   printf %s "(cached) " >&6
   16493 else $as_nop
   16494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16495 /* end confdefs.h.  */
   16496 int i;
   16497 _ACEOF
   16498 if ac_fn_c_try_compile "$LINENO"
   16499 then :
   16500   xorg_cv_cc_flag_unused_command_line_argument=yes
   16501 else $as_nop
   16502   xorg_cv_cc_flag_unused_command_line_argument=no
   16503 fi
   16504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16505 fi
   16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16507 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16509 	CFLAGS="$xorg_testset_save_CFLAGS"
   16510 fi
   16511 
   16512 found="no"
   16513 
   16514 	if test $found = "no" ; then
   16515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16517 		fi
   16518 
   16519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16521 		fi
   16522 
   16523 		CFLAGS="$CFLAGS -Werror=write-strings"
   16524 
   16525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16526 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16527 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16528 		if eval test \${$cacheid+y}
   16529 then :
   16530   printf %s "(cached) " >&6
   16531 else $as_nop
   16532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16533 /* end confdefs.h.  */
   16534 int i;
   16535 int
   16536 main (void)
   16537 {
   16538 
   16539   ;
   16540   return 0;
   16541 }
   16542 _ACEOF
   16543 if ac_fn_c_try_link "$LINENO"
   16544 then :
   16545   eval $cacheid=yes
   16546 else $as_nop
   16547   eval $cacheid=no
   16548 fi
   16549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16550     conftest$ac_exeext conftest.$ac_ext
   16551 fi
   16552 
   16553 
   16554 		CFLAGS="$xorg_testset_save_CFLAGS"
   16555 
   16556 		eval supported=\$$cacheid
   16557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16558 printf "%s\n" "$supported" >&6; }
   16559 		if test "$supported" = "yes" ; then
   16560 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16561 			found="yes"
   16562 		fi
   16563 	fi
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 xorg_testset_save_CFLAGS="$CFLAGS"
   16580 
   16581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16586 then :
   16587   printf %s "(cached) " >&6
   16588 else $as_nop
   16589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16590 /* end confdefs.h.  */
   16591 int i;
   16592 _ACEOF
   16593 if ac_fn_c_try_compile "$LINENO"
   16594 then :
   16595   xorg_cv_cc_flag_unknown_warning_option=yes
   16596 else $as_nop
   16597   xorg_cv_cc_flag_unknown_warning_option=no
   16598 fi
   16599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16600 fi
   16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16602 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16604 	CFLAGS="$xorg_testset_save_CFLAGS"
   16605 fi
   16606 
   16607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16610 	fi
   16611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16615 then :
   16616   printf %s "(cached) " >&6
   16617 else $as_nop
   16618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16619 /* end confdefs.h.  */
   16620 int i;
   16621 _ACEOF
   16622 if ac_fn_c_try_compile "$LINENO"
   16623 then :
   16624   xorg_cv_cc_flag_unused_command_line_argument=yes
   16625 else $as_nop
   16626   xorg_cv_cc_flag_unused_command_line_argument=no
   16627 fi
   16628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16629 fi
   16630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16631 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16633 	CFLAGS="$xorg_testset_save_CFLAGS"
   16634 fi
   16635 
   16636 found="no"
   16637 
   16638 	if test $found = "no" ; then
   16639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16641 		fi
   16642 
   16643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16645 		fi
   16646 
   16647 		CFLAGS="$CFLAGS -Werror=address"
   16648 
   16649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16650 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16651 		cacheid=xorg_cv_cc_flag__Werror_address
   16652 		if eval test \${$cacheid+y}
   16653 then :
   16654   printf %s "(cached) " >&6
   16655 else $as_nop
   16656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 int
   16660 main (void)
   16661 {
   16662 
   16663   ;
   16664   return 0;
   16665 }
   16666 _ACEOF
   16667 if ac_fn_c_try_link "$LINENO"
   16668 then :
   16669   eval $cacheid=yes
   16670 else $as_nop
   16671   eval $cacheid=no
   16672 fi
   16673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16674     conftest$ac_exeext conftest.$ac_ext
   16675 fi
   16676 
   16677 
   16678 		CFLAGS="$xorg_testset_save_CFLAGS"
   16679 
   16680 		eval supported=\$$cacheid
   16681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16682 printf "%s\n" "$supported" >&6; }
   16683 		if test "$supported" = "yes" ; then
   16684 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16685 			found="yes"
   16686 		fi
   16687 	fi
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 xorg_testset_save_CFLAGS="$CFLAGS"
   16704 
   16705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16707 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16708 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16709 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16710 then :
   16711   printf %s "(cached) " >&6
   16712 else $as_nop
   16713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16714 /* end confdefs.h.  */
   16715 int i;
   16716 _ACEOF
   16717 if ac_fn_c_try_compile "$LINENO"
   16718 then :
   16719   xorg_cv_cc_flag_unknown_warning_option=yes
   16720 else $as_nop
   16721   xorg_cv_cc_flag_unknown_warning_option=no
   16722 fi
   16723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16724 fi
   16725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16726 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16728 	CFLAGS="$xorg_testset_save_CFLAGS"
   16729 fi
   16730 
   16731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16734 	fi
   16735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16737 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16738 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16739 then :
   16740   printf %s "(cached) " >&6
   16741 else $as_nop
   16742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16743 /* end confdefs.h.  */
   16744 int i;
   16745 _ACEOF
   16746 if ac_fn_c_try_compile "$LINENO"
   16747 then :
   16748   xorg_cv_cc_flag_unused_command_line_argument=yes
   16749 else $as_nop
   16750   xorg_cv_cc_flag_unused_command_line_argument=no
   16751 fi
   16752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16753 fi
   16754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16755 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16757 	CFLAGS="$xorg_testset_save_CFLAGS"
   16758 fi
   16759 
   16760 found="no"
   16761 
   16762 	if test $found = "no" ; then
   16763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16765 		fi
   16766 
   16767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16769 		fi
   16770 
   16771 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16772 
   16773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16774 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16775 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16776 		if eval test \${$cacheid+y}
   16777 then :
   16778   printf %s "(cached) " >&6
   16779 else $as_nop
   16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16781 /* end confdefs.h.  */
   16782 int i;
   16783 int
   16784 main (void)
   16785 {
   16786 
   16787   ;
   16788   return 0;
   16789 }
   16790 _ACEOF
   16791 if ac_fn_c_try_link "$LINENO"
   16792 then :
   16793   eval $cacheid=yes
   16794 else $as_nop
   16795   eval $cacheid=no
   16796 fi
   16797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16798     conftest$ac_exeext conftest.$ac_ext
   16799 fi
   16800 
   16801 
   16802 		CFLAGS="$xorg_testset_save_CFLAGS"
   16803 
   16804 		eval supported=\$$cacheid
   16805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16806 printf "%s\n" "$supported" >&6; }
   16807 		if test "$supported" = "yes" ; then
   16808 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16809 			found="yes"
   16810 		fi
   16811 	fi
   16812 
   16813 	if test $found = "no" ; then
   16814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16816 		fi
   16817 
   16818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16820 		fi
   16821 
   16822 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16823 
   16824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16825 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16826 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16827 		if eval test \${$cacheid+y}
   16828 then :
   16829   printf %s "(cached) " >&6
   16830 else $as_nop
   16831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16832 /* end confdefs.h.  */
   16833 int i;
   16834 int
   16835 main (void)
   16836 {
   16837 
   16838   ;
   16839   return 0;
   16840 }
   16841 _ACEOF
   16842 if ac_fn_c_try_link "$LINENO"
   16843 then :
   16844   eval $cacheid=yes
   16845 else $as_nop
   16846   eval $cacheid=no
   16847 fi
   16848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16849     conftest$ac_exeext conftest.$ac_ext
   16850 fi
   16851 
   16852 
   16853 		CFLAGS="$xorg_testset_save_CFLAGS"
   16854 
   16855 		eval supported=\$$cacheid
   16856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16857 printf "%s\n" "$supported" >&6; }
   16858 		if test "$supported" = "yes" ; then
   16859 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16860 			found="yes"
   16861 		fi
   16862 	fi
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 xorg_testset_save_CFLAGS="$CFLAGS"
   16879 
   16880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16883 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16884 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16885 then :
   16886   printf %s "(cached) " >&6
   16887 else $as_nop
   16888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16889 /* end confdefs.h.  */
   16890 int i;
   16891 _ACEOF
   16892 if ac_fn_c_try_compile "$LINENO"
   16893 then :
   16894   xorg_cv_cc_flag_unknown_warning_option=yes
   16895 else $as_nop
   16896   xorg_cv_cc_flag_unknown_warning_option=no
   16897 fi
   16898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16899 fi
   16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16901 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16903 	CFLAGS="$xorg_testset_save_CFLAGS"
   16904 fi
   16905 
   16906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16909 	fi
   16910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16912 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16913 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16914 then :
   16915   printf %s "(cached) " >&6
   16916 else $as_nop
   16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16918 /* end confdefs.h.  */
   16919 int i;
   16920 _ACEOF
   16921 if ac_fn_c_try_compile "$LINENO"
   16922 then :
   16923   xorg_cv_cc_flag_unused_command_line_argument=yes
   16924 else $as_nop
   16925   xorg_cv_cc_flag_unused_command_line_argument=no
   16926 fi
   16927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16928 fi
   16929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16930 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16932 	CFLAGS="$xorg_testset_save_CFLAGS"
   16933 fi
   16934 
   16935 found="no"
   16936 
   16937 	if test $found = "no" ; then
   16938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16940 		fi
   16941 
   16942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16944 		fi
   16945 
   16946 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16947 
   16948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16949 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16950 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16951 		if eval test \${$cacheid+y}
   16952 then :
   16953   printf %s "(cached) " >&6
   16954 else $as_nop
   16955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 int
   16959 main (void)
   16960 {
   16961 
   16962   ;
   16963   return 0;
   16964 }
   16965 _ACEOF
   16966 if ac_fn_c_try_link "$LINENO"
   16967 then :
   16968   eval $cacheid=yes
   16969 else $as_nop
   16970   eval $cacheid=no
   16971 fi
   16972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16973     conftest$ac_exeext conftest.$ac_ext
   16974 fi
   16975 
   16976 
   16977 		CFLAGS="$xorg_testset_save_CFLAGS"
   16978 
   16979 		eval supported=\$$cacheid
   16980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16981 printf "%s\n" "$supported" >&6; }
   16982 		if test "$supported" = "yes" ; then
   16983 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16984 			found="yes"
   16985 		fi
   16986 	fi
   16987 
   16988  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16989 else
   16990 { 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
   16991 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;}
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 xorg_testset_save_CFLAGS="$CFLAGS"
   17006 
   17007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17009 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17010 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17011 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17012 then :
   17013   printf %s "(cached) " >&6
   17014 else $as_nop
   17015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17016 /* end confdefs.h.  */
   17017 int i;
   17018 _ACEOF
   17019 if ac_fn_c_try_compile "$LINENO"
   17020 then :
   17021   xorg_cv_cc_flag_unknown_warning_option=yes
   17022 else $as_nop
   17023   xorg_cv_cc_flag_unknown_warning_option=no
   17024 fi
   17025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17026 fi
   17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17030 	CFLAGS="$xorg_testset_save_CFLAGS"
   17031 fi
   17032 
   17033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17036 	fi
   17037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17041 then :
   17042   printf %s "(cached) " >&6
   17043 else $as_nop
   17044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17045 /* end confdefs.h.  */
   17046 int i;
   17047 _ACEOF
   17048 if ac_fn_c_try_compile "$LINENO"
   17049 then :
   17050   xorg_cv_cc_flag_unused_command_line_argument=yes
   17051 else $as_nop
   17052   xorg_cv_cc_flag_unused_command_line_argument=no
   17053 fi
   17054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17055 fi
   17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17057 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17059 	CFLAGS="$xorg_testset_save_CFLAGS"
   17060 fi
   17061 
   17062 found="no"
   17063 
   17064 	if test $found = "no" ; then
   17065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17067 		fi
   17068 
   17069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17071 		fi
   17072 
   17073 		CFLAGS="$CFLAGS -Wimplicit"
   17074 
   17075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17076 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17077 		cacheid=xorg_cv_cc_flag__Wimplicit
   17078 		if eval test \${$cacheid+y}
   17079 then :
   17080   printf %s "(cached) " >&6
   17081 else $as_nop
   17082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17083 /* end confdefs.h.  */
   17084 int i;
   17085 int
   17086 main (void)
   17087 {
   17088 
   17089   ;
   17090   return 0;
   17091 }
   17092 _ACEOF
   17093 if ac_fn_c_try_link "$LINENO"
   17094 then :
   17095   eval $cacheid=yes
   17096 else $as_nop
   17097   eval $cacheid=no
   17098 fi
   17099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17100     conftest$ac_exeext conftest.$ac_ext
   17101 fi
   17102 
   17103 
   17104 		CFLAGS="$xorg_testset_save_CFLAGS"
   17105 
   17106 		eval supported=\$$cacheid
   17107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17108 printf "%s\n" "$supported" >&6; }
   17109 		if test "$supported" = "yes" ; then
   17110 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17111 			found="yes"
   17112 		fi
   17113 	fi
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 xorg_testset_save_CFLAGS="$CFLAGS"
   17130 
   17131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17136 then :
   17137   printf %s "(cached) " >&6
   17138 else $as_nop
   17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17140 /* end confdefs.h.  */
   17141 int i;
   17142 _ACEOF
   17143 if ac_fn_c_try_compile "$LINENO"
   17144 then :
   17145   xorg_cv_cc_flag_unknown_warning_option=yes
   17146 else $as_nop
   17147   xorg_cv_cc_flag_unknown_warning_option=no
   17148 fi
   17149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17150 fi
   17151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17154 	CFLAGS="$xorg_testset_save_CFLAGS"
   17155 fi
   17156 
   17157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17160 	fi
   17161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17165 then :
   17166   printf %s "(cached) " >&6
   17167 else $as_nop
   17168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17169 /* end confdefs.h.  */
   17170 int i;
   17171 _ACEOF
   17172 if ac_fn_c_try_compile "$LINENO"
   17173 then :
   17174   xorg_cv_cc_flag_unused_command_line_argument=yes
   17175 else $as_nop
   17176   xorg_cv_cc_flag_unused_command_line_argument=no
   17177 fi
   17178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17179 fi
   17180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17181 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17183 	CFLAGS="$xorg_testset_save_CFLAGS"
   17184 fi
   17185 
   17186 found="no"
   17187 
   17188 	if test $found = "no" ; then
   17189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17191 		fi
   17192 
   17193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17195 		fi
   17196 
   17197 		CFLAGS="$CFLAGS -Wnonnull"
   17198 
   17199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17200 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17201 		cacheid=xorg_cv_cc_flag__Wnonnull
   17202 		if eval test \${$cacheid+y}
   17203 then :
   17204   printf %s "(cached) " >&6
   17205 else $as_nop
   17206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17207 /* end confdefs.h.  */
   17208 int i;
   17209 int
   17210 main (void)
   17211 {
   17212 
   17213   ;
   17214   return 0;
   17215 }
   17216 _ACEOF
   17217 if ac_fn_c_try_link "$LINENO"
   17218 then :
   17219   eval $cacheid=yes
   17220 else $as_nop
   17221   eval $cacheid=no
   17222 fi
   17223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17224     conftest$ac_exeext conftest.$ac_ext
   17225 fi
   17226 
   17227 
   17228 		CFLAGS="$xorg_testset_save_CFLAGS"
   17229 
   17230 		eval supported=\$$cacheid
   17231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17232 printf "%s\n" "$supported" >&6; }
   17233 		if test "$supported" = "yes" ; then
   17234 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17235 			found="yes"
   17236 		fi
   17237 	fi
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 xorg_testset_save_CFLAGS="$CFLAGS"
   17254 
   17255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17260 then :
   17261   printf %s "(cached) " >&6
   17262 else $as_nop
   17263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17264 /* end confdefs.h.  */
   17265 int i;
   17266 _ACEOF
   17267 if ac_fn_c_try_compile "$LINENO"
   17268 then :
   17269   xorg_cv_cc_flag_unknown_warning_option=yes
   17270 else $as_nop
   17271   xorg_cv_cc_flag_unknown_warning_option=no
   17272 fi
   17273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17274 fi
   17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17278 	CFLAGS="$xorg_testset_save_CFLAGS"
   17279 fi
   17280 
   17281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17284 	fi
   17285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17289 then :
   17290   printf %s "(cached) " >&6
   17291 else $as_nop
   17292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17293 /* end confdefs.h.  */
   17294 int i;
   17295 _ACEOF
   17296 if ac_fn_c_try_compile "$LINENO"
   17297 then :
   17298   xorg_cv_cc_flag_unused_command_line_argument=yes
   17299 else $as_nop
   17300   xorg_cv_cc_flag_unused_command_line_argument=no
   17301 fi
   17302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17303 fi
   17304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17305 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17307 	CFLAGS="$xorg_testset_save_CFLAGS"
   17308 fi
   17309 
   17310 found="no"
   17311 
   17312 	if test $found = "no" ; then
   17313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17315 		fi
   17316 
   17317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17319 		fi
   17320 
   17321 		CFLAGS="$CFLAGS -Winit-self"
   17322 
   17323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17324 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17325 		cacheid=xorg_cv_cc_flag__Winit_self
   17326 		if eval test \${$cacheid+y}
   17327 then :
   17328   printf %s "(cached) " >&6
   17329 else $as_nop
   17330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17331 /* end confdefs.h.  */
   17332 int i;
   17333 int
   17334 main (void)
   17335 {
   17336 
   17337   ;
   17338   return 0;
   17339 }
   17340 _ACEOF
   17341 if ac_fn_c_try_link "$LINENO"
   17342 then :
   17343   eval $cacheid=yes
   17344 else $as_nop
   17345   eval $cacheid=no
   17346 fi
   17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17348     conftest$ac_exeext conftest.$ac_ext
   17349 fi
   17350 
   17351 
   17352 		CFLAGS="$xorg_testset_save_CFLAGS"
   17353 
   17354 		eval supported=\$$cacheid
   17355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17356 printf "%s\n" "$supported" >&6; }
   17357 		if test "$supported" = "yes" ; then
   17358 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17359 			found="yes"
   17360 		fi
   17361 	fi
   17362 
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 xorg_testset_save_CFLAGS="$CFLAGS"
   17378 
   17379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17382 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17383 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17384 then :
   17385   printf %s "(cached) " >&6
   17386 else $as_nop
   17387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17388 /* end confdefs.h.  */
   17389 int i;
   17390 _ACEOF
   17391 if ac_fn_c_try_compile "$LINENO"
   17392 then :
   17393   xorg_cv_cc_flag_unknown_warning_option=yes
   17394 else $as_nop
   17395   xorg_cv_cc_flag_unknown_warning_option=no
   17396 fi
   17397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17398 fi
   17399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17400 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17402 	CFLAGS="$xorg_testset_save_CFLAGS"
   17403 fi
   17404 
   17405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17408 	fi
   17409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17411 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17412 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17413 then :
   17414   printf %s "(cached) " >&6
   17415 else $as_nop
   17416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17417 /* end confdefs.h.  */
   17418 int i;
   17419 _ACEOF
   17420 if ac_fn_c_try_compile "$LINENO"
   17421 then :
   17422   xorg_cv_cc_flag_unused_command_line_argument=yes
   17423 else $as_nop
   17424   xorg_cv_cc_flag_unused_command_line_argument=no
   17425 fi
   17426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17427 fi
   17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17429 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17431 	CFLAGS="$xorg_testset_save_CFLAGS"
   17432 fi
   17433 
   17434 found="no"
   17435 
   17436 	if test $found = "no" ; then
   17437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17439 		fi
   17440 
   17441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17443 		fi
   17444 
   17445 		CFLAGS="$CFLAGS -Wmain"
   17446 
   17447 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17448 printf %s "checking if $CC supports -Wmain... " >&6; }
   17449 		cacheid=xorg_cv_cc_flag__Wmain
   17450 		if eval test \${$cacheid+y}
   17451 then :
   17452   printf %s "(cached) " >&6
   17453 else $as_nop
   17454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17455 /* end confdefs.h.  */
   17456 int i;
   17457 int
   17458 main (void)
   17459 {
   17460 
   17461   ;
   17462   return 0;
   17463 }
   17464 _ACEOF
   17465 if ac_fn_c_try_link "$LINENO"
   17466 then :
   17467   eval $cacheid=yes
   17468 else $as_nop
   17469   eval $cacheid=no
   17470 fi
   17471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17472     conftest$ac_exeext conftest.$ac_ext
   17473 fi
   17474 
   17475 
   17476 		CFLAGS="$xorg_testset_save_CFLAGS"
   17477 
   17478 		eval supported=\$$cacheid
   17479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17480 printf "%s\n" "$supported" >&6; }
   17481 		if test "$supported" = "yes" ; then
   17482 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17483 			found="yes"
   17484 		fi
   17485 	fi
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 xorg_testset_save_CFLAGS="$CFLAGS"
   17502 
   17503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17506 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17507 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17508 then :
   17509   printf %s "(cached) " >&6
   17510 else $as_nop
   17511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17512 /* end confdefs.h.  */
   17513 int i;
   17514 _ACEOF
   17515 if ac_fn_c_try_compile "$LINENO"
   17516 then :
   17517   xorg_cv_cc_flag_unknown_warning_option=yes
   17518 else $as_nop
   17519   xorg_cv_cc_flag_unknown_warning_option=no
   17520 fi
   17521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17522 fi
   17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17526 	CFLAGS="$xorg_testset_save_CFLAGS"
   17527 fi
   17528 
   17529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17532 	fi
   17533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17537 then :
   17538   printf %s "(cached) " >&6
   17539 else $as_nop
   17540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17541 /* end confdefs.h.  */
   17542 int i;
   17543 _ACEOF
   17544 if ac_fn_c_try_compile "$LINENO"
   17545 then :
   17546   xorg_cv_cc_flag_unused_command_line_argument=yes
   17547 else $as_nop
   17548   xorg_cv_cc_flag_unused_command_line_argument=no
   17549 fi
   17550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17551 fi
   17552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17553 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17555 	CFLAGS="$xorg_testset_save_CFLAGS"
   17556 fi
   17557 
   17558 found="no"
   17559 
   17560 	if test $found = "no" ; then
   17561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17563 		fi
   17564 
   17565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17567 		fi
   17568 
   17569 		CFLAGS="$CFLAGS -Wmissing-braces"
   17570 
   17571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17572 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17573 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17574 		if eval test \${$cacheid+y}
   17575 then :
   17576   printf %s "(cached) " >&6
   17577 else $as_nop
   17578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17579 /* end confdefs.h.  */
   17580 int i;
   17581 int
   17582 main (void)
   17583 {
   17584 
   17585   ;
   17586   return 0;
   17587 }
   17588 _ACEOF
   17589 if ac_fn_c_try_link "$LINENO"
   17590 then :
   17591   eval $cacheid=yes
   17592 else $as_nop
   17593   eval $cacheid=no
   17594 fi
   17595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17596     conftest$ac_exeext conftest.$ac_ext
   17597 fi
   17598 
   17599 
   17600 		CFLAGS="$xorg_testset_save_CFLAGS"
   17601 
   17602 		eval supported=\$$cacheid
   17603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17604 printf "%s\n" "$supported" >&6; }
   17605 		if test "$supported" = "yes" ; then
   17606 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17607 			found="yes"
   17608 		fi
   17609 	fi
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 xorg_testset_save_CFLAGS="$CFLAGS"
   17626 
   17627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17632 then :
   17633   printf %s "(cached) " >&6
   17634 else $as_nop
   17635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17636 /* end confdefs.h.  */
   17637 int i;
   17638 _ACEOF
   17639 if ac_fn_c_try_compile "$LINENO"
   17640 then :
   17641   xorg_cv_cc_flag_unknown_warning_option=yes
   17642 else $as_nop
   17643   xorg_cv_cc_flag_unknown_warning_option=no
   17644 fi
   17645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17646 fi
   17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17650 	CFLAGS="$xorg_testset_save_CFLAGS"
   17651 fi
   17652 
   17653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17656 	fi
   17657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17661 then :
   17662   printf %s "(cached) " >&6
   17663 else $as_nop
   17664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17665 /* end confdefs.h.  */
   17666 int i;
   17667 _ACEOF
   17668 if ac_fn_c_try_compile "$LINENO"
   17669 then :
   17670   xorg_cv_cc_flag_unused_command_line_argument=yes
   17671 else $as_nop
   17672   xorg_cv_cc_flag_unused_command_line_argument=no
   17673 fi
   17674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17675 fi
   17676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17679 	CFLAGS="$xorg_testset_save_CFLAGS"
   17680 fi
   17681 
   17682 found="no"
   17683 
   17684 	if test $found = "no" ; then
   17685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17687 		fi
   17688 
   17689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17691 		fi
   17692 
   17693 		CFLAGS="$CFLAGS -Wsequence-point"
   17694 
   17695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17696 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17697 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17698 		if eval test \${$cacheid+y}
   17699 then :
   17700   printf %s "(cached) " >&6
   17701 else $as_nop
   17702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17703 /* end confdefs.h.  */
   17704 int i;
   17705 int
   17706 main (void)
   17707 {
   17708 
   17709   ;
   17710   return 0;
   17711 }
   17712 _ACEOF
   17713 if ac_fn_c_try_link "$LINENO"
   17714 then :
   17715   eval $cacheid=yes
   17716 else $as_nop
   17717   eval $cacheid=no
   17718 fi
   17719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17720     conftest$ac_exeext conftest.$ac_ext
   17721 fi
   17722 
   17723 
   17724 		CFLAGS="$xorg_testset_save_CFLAGS"
   17725 
   17726 		eval supported=\$$cacheid
   17727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17728 printf "%s\n" "$supported" >&6; }
   17729 		if test "$supported" = "yes" ; then
   17730 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17731 			found="yes"
   17732 		fi
   17733 	fi
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 xorg_testset_save_CFLAGS="$CFLAGS"
   17750 
   17751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17756 then :
   17757   printf %s "(cached) " >&6
   17758 else $as_nop
   17759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17760 /* end confdefs.h.  */
   17761 int i;
   17762 _ACEOF
   17763 if ac_fn_c_try_compile "$LINENO"
   17764 then :
   17765   xorg_cv_cc_flag_unknown_warning_option=yes
   17766 else $as_nop
   17767   xorg_cv_cc_flag_unknown_warning_option=no
   17768 fi
   17769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17770 fi
   17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17774 	CFLAGS="$xorg_testset_save_CFLAGS"
   17775 fi
   17776 
   17777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17780 	fi
   17781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17785 then :
   17786   printf %s "(cached) " >&6
   17787 else $as_nop
   17788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17789 /* end confdefs.h.  */
   17790 int i;
   17791 _ACEOF
   17792 if ac_fn_c_try_compile "$LINENO"
   17793 then :
   17794   xorg_cv_cc_flag_unused_command_line_argument=yes
   17795 else $as_nop
   17796   xorg_cv_cc_flag_unused_command_line_argument=no
   17797 fi
   17798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17799 fi
   17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17803 	CFLAGS="$xorg_testset_save_CFLAGS"
   17804 fi
   17805 
   17806 found="no"
   17807 
   17808 	if test $found = "no" ; then
   17809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17811 		fi
   17812 
   17813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17815 		fi
   17816 
   17817 		CFLAGS="$CFLAGS -Wreturn-type"
   17818 
   17819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17820 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17821 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17822 		if eval test \${$cacheid+y}
   17823 then :
   17824   printf %s "(cached) " >&6
   17825 else $as_nop
   17826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17827 /* end confdefs.h.  */
   17828 int i;
   17829 int
   17830 main (void)
   17831 {
   17832 
   17833   ;
   17834   return 0;
   17835 }
   17836 _ACEOF
   17837 if ac_fn_c_try_link "$LINENO"
   17838 then :
   17839   eval $cacheid=yes
   17840 else $as_nop
   17841   eval $cacheid=no
   17842 fi
   17843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17844     conftest$ac_exeext conftest.$ac_ext
   17845 fi
   17846 
   17847 
   17848 		CFLAGS="$xorg_testset_save_CFLAGS"
   17849 
   17850 		eval supported=\$$cacheid
   17851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17852 printf "%s\n" "$supported" >&6; }
   17853 		if test "$supported" = "yes" ; then
   17854 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17855 			found="yes"
   17856 		fi
   17857 	fi
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 
   17871 
   17872 
   17873 xorg_testset_save_CFLAGS="$CFLAGS"
   17874 
   17875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17880 then :
   17881   printf %s "(cached) " >&6
   17882 else $as_nop
   17883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17884 /* end confdefs.h.  */
   17885 int i;
   17886 _ACEOF
   17887 if ac_fn_c_try_compile "$LINENO"
   17888 then :
   17889   xorg_cv_cc_flag_unknown_warning_option=yes
   17890 else $as_nop
   17891   xorg_cv_cc_flag_unknown_warning_option=no
   17892 fi
   17893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17894 fi
   17895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17898 	CFLAGS="$xorg_testset_save_CFLAGS"
   17899 fi
   17900 
   17901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17904 	fi
   17905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17909 then :
   17910   printf %s "(cached) " >&6
   17911 else $as_nop
   17912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17913 /* end confdefs.h.  */
   17914 int i;
   17915 _ACEOF
   17916 if ac_fn_c_try_compile "$LINENO"
   17917 then :
   17918   xorg_cv_cc_flag_unused_command_line_argument=yes
   17919 else $as_nop
   17920   xorg_cv_cc_flag_unused_command_line_argument=no
   17921 fi
   17922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17923 fi
   17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17927 	CFLAGS="$xorg_testset_save_CFLAGS"
   17928 fi
   17929 
   17930 found="no"
   17931 
   17932 	if test $found = "no" ; then
   17933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17935 		fi
   17936 
   17937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17939 		fi
   17940 
   17941 		CFLAGS="$CFLAGS -Wtrigraphs"
   17942 
   17943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17944 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17945 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17946 		if eval test \${$cacheid+y}
   17947 then :
   17948   printf %s "(cached) " >&6
   17949 else $as_nop
   17950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17951 /* end confdefs.h.  */
   17952 int i;
   17953 int
   17954 main (void)
   17955 {
   17956 
   17957   ;
   17958   return 0;
   17959 }
   17960 _ACEOF
   17961 if ac_fn_c_try_link "$LINENO"
   17962 then :
   17963   eval $cacheid=yes
   17964 else $as_nop
   17965   eval $cacheid=no
   17966 fi
   17967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17968     conftest$ac_exeext conftest.$ac_ext
   17969 fi
   17970 
   17971 
   17972 		CFLAGS="$xorg_testset_save_CFLAGS"
   17973 
   17974 		eval supported=\$$cacheid
   17975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17976 printf "%s\n" "$supported" >&6; }
   17977 		if test "$supported" = "yes" ; then
   17978 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17979 			found="yes"
   17980 		fi
   17981 	fi
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 xorg_testset_save_CFLAGS="$CFLAGS"
   17998 
   17999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18004 then :
   18005   printf %s "(cached) " >&6
   18006 else $as_nop
   18007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18008 /* end confdefs.h.  */
   18009 int i;
   18010 _ACEOF
   18011 if ac_fn_c_try_compile "$LINENO"
   18012 then :
   18013   xorg_cv_cc_flag_unknown_warning_option=yes
   18014 else $as_nop
   18015   xorg_cv_cc_flag_unknown_warning_option=no
   18016 fi
   18017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18018 fi
   18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18022 	CFLAGS="$xorg_testset_save_CFLAGS"
   18023 fi
   18024 
   18025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18028 	fi
   18029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18033 then :
   18034   printf %s "(cached) " >&6
   18035 else $as_nop
   18036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18037 /* end confdefs.h.  */
   18038 int i;
   18039 _ACEOF
   18040 if ac_fn_c_try_compile "$LINENO"
   18041 then :
   18042   xorg_cv_cc_flag_unused_command_line_argument=yes
   18043 else $as_nop
   18044   xorg_cv_cc_flag_unused_command_line_argument=no
   18045 fi
   18046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18047 fi
   18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18051 	CFLAGS="$xorg_testset_save_CFLAGS"
   18052 fi
   18053 
   18054 found="no"
   18055 
   18056 	if test $found = "no" ; then
   18057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18059 		fi
   18060 
   18061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18063 		fi
   18064 
   18065 		CFLAGS="$CFLAGS -Warray-bounds"
   18066 
   18067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18068 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18069 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18070 		if eval test \${$cacheid+y}
   18071 then :
   18072   printf %s "(cached) " >&6
   18073 else $as_nop
   18074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18075 /* end confdefs.h.  */
   18076 int i;
   18077 int
   18078 main (void)
   18079 {
   18080 
   18081   ;
   18082   return 0;
   18083 }
   18084 _ACEOF
   18085 if ac_fn_c_try_link "$LINENO"
   18086 then :
   18087   eval $cacheid=yes
   18088 else $as_nop
   18089   eval $cacheid=no
   18090 fi
   18091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18092     conftest$ac_exeext conftest.$ac_ext
   18093 fi
   18094 
   18095 
   18096 		CFLAGS="$xorg_testset_save_CFLAGS"
   18097 
   18098 		eval supported=\$$cacheid
   18099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18100 printf "%s\n" "$supported" >&6; }
   18101 		if test "$supported" = "yes" ; then
   18102 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18103 			found="yes"
   18104 		fi
   18105 	fi
   18106 
   18107 
   18108 
   18109 
   18110 
   18111 
   18112 
   18113 
   18114 
   18115 
   18116 
   18117 
   18118 
   18119 
   18120 
   18121 xorg_testset_save_CFLAGS="$CFLAGS"
   18122 
   18123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18128 then :
   18129   printf %s "(cached) " >&6
   18130 else $as_nop
   18131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18132 /* end confdefs.h.  */
   18133 int i;
   18134 _ACEOF
   18135 if ac_fn_c_try_compile "$LINENO"
   18136 then :
   18137   xorg_cv_cc_flag_unknown_warning_option=yes
   18138 else $as_nop
   18139   xorg_cv_cc_flag_unknown_warning_option=no
   18140 fi
   18141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18142 fi
   18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18146 	CFLAGS="$xorg_testset_save_CFLAGS"
   18147 fi
   18148 
   18149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18152 	fi
   18153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18157 then :
   18158   printf %s "(cached) " >&6
   18159 else $as_nop
   18160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18161 /* end confdefs.h.  */
   18162 int i;
   18163 _ACEOF
   18164 if ac_fn_c_try_compile "$LINENO"
   18165 then :
   18166   xorg_cv_cc_flag_unused_command_line_argument=yes
   18167 else $as_nop
   18168   xorg_cv_cc_flag_unused_command_line_argument=no
   18169 fi
   18170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18171 fi
   18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18175 	CFLAGS="$xorg_testset_save_CFLAGS"
   18176 fi
   18177 
   18178 found="no"
   18179 
   18180 	if test $found = "no" ; then
   18181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18183 		fi
   18184 
   18185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18187 		fi
   18188 
   18189 		CFLAGS="$CFLAGS -Wwrite-strings"
   18190 
   18191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18192 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18193 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18194 		if eval test \${$cacheid+y}
   18195 then :
   18196   printf %s "(cached) " >&6
   18197 else $as_nop
   18198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18199 /* end confdefs.h.  */
   18200 int i;
   18201 int
   18202 main (void)
   18203 {
   18204 
   18205   ;
   18206   return 0;
   18207 }
   18208 _ACEOF
   18209 if ac_fn_c_try_link "$LINENO"
   18210 then :
   18211   eval $cacheid=yes
   18212 else $as_nop
   18213   eval $cacheid=no
   18214 fi
   18215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18216     conftest$ac_exeext conftest.$ac_ext
   18217 fi
   18218 
   18219 
   18220 		CFLAGS="$xorg_testset_save_CFLAGS"
   18221 
   18222 		eval supported=\$$cacheid
   18223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18224 printf "%s\n" "$supported" >&6; }
   18225 		if test "$supported" = "yes" ; then
   18226 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18227 			found="yes"
   18228 		fi
   18229 	fi
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 
   18237 
   18238 
   18239 
   18240 
   18241 
   18242 
   18243 
   18244 
   18245 xorg_testset_save_CFLAGS="$CFLAGS"
   18246 
   18247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18252 then :
   18253   printf %s "(cached) " >&6
   18254 else $as_nop
   18255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18256 /* end confdefs.h.  */
   18257 int i;
   18258 _ACEOF
   18259 if ac_fn_c_try_compile "$LINENO"
   18260 then :
   18261   xorg_cv_cc_flag_unknown_warning_option=yes
   18262 else $as_nop
   18263   xorg_cv_cc_flag_unknown_warning_option=no
   18264 fi
   18265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18266 fi
   18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18268 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18270 	CFLAGS="$xorg_testset_save_CFLAGS"
   18271 fi
   18272 
   18273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18276 	fi
   18277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18279 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18280 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18281 then :
   18282   printf %s "(cached) " >&6
   18283 else $as_nop
   18284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18285 /* end confdefs.h.  */
   18286 int i;
   18287 _ACEOF
   18288 if ac_fn_c_try_compile "$LINENO"
   18289 then :
   18290   xorg_cv_cc_flag_unused_command_line_argument=yes
   18291 else $as_nop
   18292   xorg_cv_cc_flag_unused_command_line_argument=no
   18293 fi
   18294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18295 fi
   18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18297 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18299 	CFLAGS="$xorg_testset_save_CFLAGS"
   18300 fi
   18301 
   18302 found="no"
   18303 
   18304 	if test $found = "no" ; then
   18305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18307 		fi
   18308 
   18309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18311 		fi
   18312 
   18313 		CFLAGS="$CFLAGS -Waddress"
   18314 
   18315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18316 printf %s "checking if $CC supports -Waddress... " >&6; }
   18317 		cacheid=xorg_cv_cc_flag__Waddress
   18318 		if eval test \${$cacheid+y}
   18319 then :
   18320   printf %s "(cached) " >&6
   18321 else $as_nop
   18322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18323 /* end confdefs.h.  */
   18324 int i;
   18325 int
   18326 main (void)
   18327 {
   18328 
   18329   ;
   18330   return 0;
   18331 }
   18332 _ACEOF
   18333 if ac_fn_c_try_link "$LINENO"
   18334 then :
   18335   eval $cacheid=yes
   18336 else $as_nop
   18337   eval $cacheid=no
   18338 fi
   18339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18340     conftest$ac_exeext conftest.$ac_ext
   18341 fi
   18342 
   18343 
   18344 		CFLAGS="$xorg_testset_save_CFLAGS"
   18345 
   18346 		eval supported=\$$cacheid
   18347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18348 printf "%s\n" "$supported" >&6; }
   18349 		if test "$supported" = "yes" ; then
   18350 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18351 			found="yes"
   18352 		fi
   18353 	fi
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 xorg_testset_save_CFLAGS="$CFLAGS"
   18370 
   18371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18376 then :
   18377   printf %s "(cached) " >&6
   18378 else $as_nop
   18379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18380 /* end confdefs.h.  */
   18381 int i;
   18382 _ACEOF
   18383 if ac_fn_c_try_compile "$LINENO"
   18384 then :
   18385   xorg_cv_cc_flag_unknown_warning_option=yes
   18386 else $as_nop
   18387   xorg_cv_cc_flag_unknown_warning_option=no
   18388 fi
   18389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18390 fi
   18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18392 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18394 	CFLAGS="$xorg_testset_save_CFLAGS"
   18395 fi
   18396 
   18397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18400 	fi
   18401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18403 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18404 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18405 then :
   18406   printf %s "(cached) " >&6
   18407 else $as_nop
   18408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18409 /* end confdefs.h.  */
   18410 int i;
   18411 _ACEOF
   18412 if ac_fn_c_try_compile "$LINENO"
   18413 then :
   18414   xorg_cv_cc_flag_unused_command_line_argument=yes
   18415 else $as_nop
   18416   xorg_cv_cc_flag_unused_command_line_argument=no
   18417 fi
   18418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18419 fi
   18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18421 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18423 	CFLAGS="$xorg_testset_save_CFLAGS"
   18424 fi
   18425 
   18426 found="no"
   18427 
   18428 	if test $found = "no" ; then
   18429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18431 		fi
   18432 
   18433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18435 		fi
   18436 
   18437 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18438 
   18439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18440 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18441 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18442 		if eval test \${$cacheid+y}
   18443 then :
   18444   printf %s "(cached) " >&6
   18445 else $as_nop
   18446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18447 /* end confdefs.h.  */
   18448 int i;
   18449 int
   18450 main (void)
   18451 {
   18452 
   18453   ;
   18454   return 0;
   18455 }
   18456 _ACEOF
   18457 if ac_fn_c_try_link "$LINENO"
   18458 then :
   18459   eval $cacheid=yes
   18460 else $as_nop
   18461   eval $cacheid=no
   18462 fi
   18463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18464     conftest$ac_exeext conftest.$ac_ext
   18465 fi
   18466 
   18467 
   18468 		CFLAGS="$xorg_testset_save_CFLAGS"
   18469 
   18470 		eval supported=\$$cacheid
   18471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18472 printf "%s\n" "$supported" >&6; }
   18473 		if test "$supported" = "yes" ; then
   18474 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18475 			found="yes"
   18476 		fi
   18477 	fi
   18478 
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 xorg_testset_save_CFLAGS="$CFLAGS"
   18494 
   18495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18500 then :
   18501   printf %s "(cached) " >&6
   18502 else $as_nop
   18503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18504 /* end confdefs.h.  */
   18505 int i;
   18506 _ACEOF
   18507 if ac_fn_c_try_compile "$LINENO"
   18508 then :
   18509   xorg_cv_cc_flag_unknown_warning_option=yes
   18510 else $as_nop
   18511   xorg_cv_cc_flag_unknown_warning_option=no
   18512 fi
   18513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18514 fi
   18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18516 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18518 	CFLAGS="$xorg_testset_save_CFLAGS"
   18519 fi
   18520 
   18521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18524 	fi
   18525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18527 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18528 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18529 then :
   18530   printf %s "(cached) " >&6
   18531 else $as_nop
   18532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18533 /* end confdefs.h.  */
   18534 int i;
   18535 _ACEOF
   18536 if ac_fn_c_try_compile "$LINENO"
   18537 then :
   18538   xorg_cv_cc_flag_unused_command_line_argument=yes
   18539 else $as_nop
   18540   xorg_cv_cc_flag_unused_command_line_argument=no
   18541 fi
   18542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18543 fi
   18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18547 	CFLAGS="$xorg_testset_save_CFLAGS"
   18548 fi
   18549 
   18550 found="no"
   18551 
   18552 	if test $found = "no" ; then
   18553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18555 		fi
   18556 
   18557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18559 		fi
   18560 
   18561 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18562 
   18563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18564 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18565 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18566 		if eval test \${$cacheid+y}
   18567 then :
   18568   printf %s "(cached) " >&6
   18569 else $as_nop
   18570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18571 /* end confdefs.h.  */
   18572 int i;
   18573 int
   18574 main (void)
   18575 {
   18576 
   18577   ;
   18578   return 0;
   18579 }
   18580 _ACEOF
   18581 if ac_fn_c_try_link "$LINENO"
   18582 then :
   18583   eval $cacheid=yes
   18584 else $as_nop
   18585   eval $cacheid=no
   18586 fi
   18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18588     conftest$ac_exeext conftest.$ac_ext
   18589 fi
   18590 
   18591 
   18592 		CFLAGS="$xorg_testset_save_CFLAGS"
   18593 
   18594 		eval supported=\$$cacheid
   18595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18596 printf "%s\n" "$supported" >&6; }
   18597 		if test "$supported" = "yes" ; then
   18598 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18599 			found="yes"
   18600 		fi
   18601 	fi
   18602 
   18603 
   18604 fi
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 		CWARNFLAGS="$BASE_CFLAGS"
   18613 		if  test "x$GCC" = xyes ; then
   18614 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18615 		fi
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 # Check whether --enable-strict-compilation was given.
   18625 if test ${enable_strict_compilation+y}
   18626 then :
   18627   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18628 else $as_nop
   18629   STRICT_COMPILE=no
   18630 fi
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 STRICT_CFLAGS=""
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 
   18650 
   18651 xorg_testset_save_CFLAGS="$CFLAGS"
   18652 
   18653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18656 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18657 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18658 then :
   18659   printf %s "(cached) " >&6
   18660 else $as_nop
   18661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18662 /* end confdefs.h.  */
   18663 int i;
   18664 _ACEOF
   18665 if ac_fn_c_try_compile "$LINENO"
   18666 then :
   18667   xorg_cv_cc_flag_unknown_warning_option=yes
   18668 else $as_nop
   18669   xorg_cv_cc_flag_unknown_warning_option=no
   18670 fi
   18671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18672 fi
   18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18676 	CFLAGS="$xorg_testset_save_CFLAGS"
   18677 fi
   18678 
   18679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18682 	fi
   18683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18687 then :
   18688   printf %s "(cached) " >&6
   18689 else $as_nop
   18690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18691 /* end confdefs.h.  */
   18692 int i;
   18693 _ACEOF
   18694 if ac_fn_c_try_compile "$LINENO"
   18695 then :
   18696   xorg_cv_cc_flag_unused_command_line_argument=yes
   18697 else $as_nop
   18698   xorg_cv_cc_flag_unused_command_line_argument=no
   18699 fi
   18700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18701 fi
   18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18703 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18705 	CFLAGS="$xorg_testset_save_CFLAGS"
   18706 fi
   18707 
   18708 found="no"
   18709 
   18710 	if test $found = "no" ; then
   18711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18713 		fi
   18714 
   18715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18717 		fi
   18718 
   18719 		CFLAGS="$CFLAGS -pedantic"
   18720 
   18721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18722 printf %s "checking if $CC supports -pedantic... " >&6; }
   18723 		cacheid=xorg_cv_cc_flag__pedantic
   18724 		if eval test \${$cacheid+y}
   18725 then :
   18726   printf %s "(cached) " >&6
   18727 else $as_nop
   18728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18729 /* end confdefs.h.  */
   18730 int i;
   18731 int
   18732 main (void)
   18733 {
   18734 
   18735   ;
   18736   return 0;
   18737 }
   18738 _ACEOF
   18739 if ac_fn_c_try_link "$LINENO"
   18740 then :
   18741   eval $cacheid=yes
   18742 else $as_nop
   18743   eval $cacheid=no
   18744 fi
   18745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18746     conftest$ac_exeext conftest.$ac_ext
   18747 fi
   18748 
   18749 
   18750 		CFLAGS="$xorg_testset_save_CFLAGS"
   18751 
   18752 		eval supported=\$$cacheid
   18753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18754 printf "%s\n" "$supported" >&6; }
   18755 		if test "$supported" = "yes" ; then
   18756 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18757 			found="yes"
   18758 		fi
   18759 	fi
   18760 
   18761 
   18762 
   18763 
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 xorg_testset_save_CFLAGS="$CFLAGS"
   18776 
   18777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18780 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18781 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18782 then :
   18783   printf %s "(cached) " >&6
   18784 else $as_nop
   18785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18786 /* end confdefs.h.  */
   18787 int i;
   18788 _ACEOF
   18789 if ac_fn_c_try_compile "$LINENO"
   18790 then :
   18791   xorg_cv_cc_flag_unknown_warning_option=yes
   18792 else $as_nop
   18793   xorg_cv_cc_flag_unknown_warning_option=no
   18794 fi
   18795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18796 fi
   18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18800 	CFLAGS="$xorg_testset_save_CFLAGS"
   18801 fi
   18802 
   18803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18806 	fi
   18807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18811 then :
   18812   printf %s "(cached) " >&6
   18813 else $as_nop
   18814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18815 /* end confdefs.h.  */
   18816 int i;
   18817 _ACEOF
   18818 if ac_fn_c_try_compile "$LINENO"
   18819 then :
   18820   xorg_cv_cc_flag_unused_command_line_argument=yes
   18821 else $as_nop
   18822   xorg_cv_cc_flag_unused_command_line_argument=no
   18823 fi
   18824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18825 fi
   18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18827 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18829 	CFLAGS="$xorg_testset_save_CFLAGS"
   18830 fi
   18831 
   18832 found="no"
   18833 
   18834 	if test $found = "no" ; then
   18835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18837 		fi
   18838 
   18839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18841 		fi
   18842 
   18843 		CFLAGS="$CFLAGS -Werror"
   18844 
   18845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18846 printf %s "checking if $CC supports -Werror... " >&6; }
   18847 		cacheid=xorg_cv_cc_flag__Werror
   18848 		if eval test \${$cacheid+y}
   18849 then :
   18850   printf %s "(cached) " >&6
   18851 else $as_nop
   18852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18853 /* end confdefs.h.  */
   18854 int i;
   18855 int
   18856 main (void)
   18857 {
   18858 
   18859   ;
   18860   return 0;
   18861 }
   18862 _ACEOF
   18863 if ac_fn_c_try_link "$LINENO"
   18864 then :
   18865   eval $cacheid=yes
   18866 else $as_nop
   18867   eval $cacheid=no
   18868 fi
   18869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18870     conftest$ac_exeext conftest.$ac_ext
   18871 fi
   18872 
   18873 
   18874 		CFLAGS="$xorg_testset_save_CFLAGS"
   18875 
   18876 		eval supported=\$$cacheid
   18877 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18878 printf "%s\n" "$supported" >&6; }
   18879 		if test "$supported" = "yes" ; then
   18880 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18881 			found="yes"
   18882 		fi
   18883 	fi
   18884 
   18885 	if test $found = "no" ; then
   18886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18888 		fi
   18889 
   18890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18892 		fi
   18893 
   18894 		CFLAGS="$CFLAGS -errwarn"
   18895 
   18896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18897 printf %s "checking if $CC supports -errwarn... " >&6; }
   18898 		cacheid=xorg_cv_cc_flag__errwarn
   18899 		if eval test \${$cacheid+y}
   18900 then :
   18901   printf %s "(cached) " >&6
   18902 else $as_nop
   18903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18904 /* end confdefs.h.  */
   18905 int i;
   18906 int
   18907 main (void)
   18908 {
   18909 
   18910   ;
   18911   return 0;
   18912 }
   18913 _ACEOF
   18914 if ac_fn_c_try_link "$LINENO"
   18915 then :
   18916   eval $cacheid=yes
   18917 else $as_nop
   18918   eval $cacheid=no
   18919 fi
   18920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18921     conftest$ac_exeext conftest.$ac_ext
   18922 fi
   18923 
   18924 
   18925 		CFLAGS="$xorg_testset_save_CFLAGS"
   18926 
   18927 		eval supported=\$$cacheid
   18928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18929 printf "%s\n" "$supported" >&6; }
   18930 		if test "$supported" = "yes" ; then
   18931 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18932 			found="yes"
   18933 		fi
   18934 	fi
   18935 
   18936 
   18937 
   18938 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18939 # activate it with -Werror, so we add it here explicitly.
   18940 
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 xorg_testset_save_CFLAGS="$CFLAGS"
   18954 
   18955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18958 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18959 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18960 then :
   18961   printf %s "(cached) " >&6
   18962 else $as_nop
   18963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18964 /* end confdefs.h.  */
   18965 int i;
   18966 _ACEOF
   18967 if ac_fn_c_try_compile "$LINENO"
   18968 then :
   18969   xorg_cv_cc_flag_unknown_warning_option=yes
   18970 else $as_nop
   18971   xorg_cv_cc_flag_unknown_warning_option=no
   18972 fi
   18973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18974 fi
   18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18976 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18978 	CFLAGS="$xorg_testset_save_CFLAGS"
   18979 fi
   18980 
   18981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18984 	fi
   18985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18987 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18988 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18989 then :
   18990   printf %s "(cached) " >&6
   18991 else $as_nop
   18992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18993 /* end confdefs.h.  */
   18994 int i;
   18995 _ACEOF
   18996 if ac_fn_c_try_compile "$LINENO"
   18997 then :
   18998   xorg_cv_cc_flag_unused_command_line_argument=yes
   18999 else $as_nop
   19000   xorg_cv_cc_flag_unused_command_line_argument=no
   19001 fi
   19002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19003 fi
   19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19005 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19007 	CFLAGS="$xorg_testset_save_CFLAGS"
   19008 fi
   19009 
   19010 found="no"
   19011 
   19012 	if test $found = "no" ; then
   19013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19015 		fi
   19016 
   19017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19019 		fi
   19020 
   19021 		CFLAGS="$CFLAGS -Werror=attributes"
   19022 
   19023 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19024 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19025 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19026 		if eval test \${$cacheid+y}
   19027 then :
   19028   printf %s "(cached) " >&6
   19029 else $as_nop
   19030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19031 /* end confdefs.h.  */
   19032 int i;
   19033 int
   19034 main (void)
   19035 {
   19036 
   19037   ;
   19038   return 0;
   19039 }
   19040 _ACEOF
   19041 if ac_fn_c_try_link "$LINENO"
   19042 then :
   19043   eval $cacheid=yes
   19044 else $as_nop
   19045   eval $cacheid=no
   19046 fi
   19047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19048     conftest$ac_exeext conftest.$ac_ext
   19049 fi
   19050 
   19051 
   19052 		CFLAGS="$xorg_testset_save_CFLAGS"
   19053 
   19054 		eval supported=\$$cacheid
   19055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19056 printf "%s\n" "$supported" >&6; }
   19057 		if test "$supported" = "yes" ; then
   19058 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19059 			found="yes"
   19060 		fi
   19061 	fi
   19062 
   19063 
   19064 
   19065 if test "x$STRICT_COMPILE" = "xyes"; then
   19066     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19067     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19068 fi
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 cat >>confdefs.h <<_ACEOF
   19076 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19077 _ACEOF
   19078 
   19079 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19080 	if test "x$PVM" = "x"; then
   19081 		PVM="0"
   19082 	fi
   19083 
   19084 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19085 
   19086 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19087 	if test "x$PVP" = "x"; then
   19088 		PVP="0"
   19089 	fi
   19090 
   19091 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19092 
   19093 
   19094 
   19095 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19096 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19097 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19098 touch \$(top_srcdir)/ChangeLog; \
   19099 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19100 
   19101 
   19102 
   19103 
   19104 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19105 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19106 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19107 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19108 touch \$(top_srcdir)/INSTALL; \
   19109 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19110 
   19111 
   19112 
   19113 
   19114 
   19115 
   19116 case $host_os in
   19117     solaris*)
   19118         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19119         # check for a man page file found in later versions that use
   19120         # traditional section numbers instead
   19121         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19122 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19123 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19124 then :
   19125   printf %s "(cached) " >&6
   19126 else $as_nop
   19127   test "$cross_compiling" = yes &&
   19128   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19129 if test -r "/usr/share/man/man7/attributes.7"; then
   19130   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19131 else
   19132   ac_cv_file__usr_share_man_man7_attributes_7=no
   19133 fi
   19134 fi
   19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19136 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19137 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19138 then :
   19139   SYSV_MAN_SECTIONS=false
   19140 else $as_nop
   19141   SYSV_MAN_SECTIONS=true
   19142 fi
   19143 
   19144         ;;
   19145     *) SYSV_MAN_SECTIONS=false ;;
   19146 esac
   19147 
   19148 if test x$APP_MAN_SUFFIX = x    ; then
   19149     APP_MAN_SUFFIX=1
   19150 fi
   19151 if test x$APP_MAN_DIR = x    ; then
   19152     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19153 fi
   19154 
   19155 if test x$LIB_MAN_SUFFIX = x    ; then
   19156     LIB_MAN_SUFFIX=3
   19157 fi
   19158 if test x$LIB_MAN_DIR = x    ; then
   19159     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19160 fi
   19161 
   19162 if test x$FILE_MAN_SUFFIX = x    ; then
   19163     case $SYSV_MAN_SECTIONS in
   19164 	true)				FILE_MAN_SUFFIX=4  ;;
   19165 	*)				FILE_MAN_SUFFIX=5  ;;
   19166     esac
   19167 fi
   19168 if test x$FILE_MAN_DIR = x    ; then
   19169     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19170 fi
   19171 
   19172 if test x$MISC_MAN_SUFFIX = x    ; then
   19173     case $SYSV_MAN_SECTIONS in
   19174 	true)				MISC_MAN_SUFFIX=5  ;;
   19175 	*)				MISC_MAN_SUFFIX=7  ;;
   19176     esac
   19177 fi
   19178 if test x$MISC_MAN_DIR = x    ; then
   19179     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19180 fi
   19181 
   19182 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19183     case $SYSV_MAN_SECTIONS in
   19184 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19185 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19186     esac
   19187 fi
   19188 if test x$DRIVER_MAN_DIR = x    ; then
   19189     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19190 fi
   19191 
   19192 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19193     case $SYSV_MAN_SECTIONS in
   19194 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19195 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19196     esac
   19197 fi
   19198 if test x$ADMIN_MAN_DIR = x    ; then
   19199     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19200 fi
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 XORG_MAN_PAGE="X Version 11"
   19217 
   19218 MAN_SUBSTS="\
   19219 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19220 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19221 	-e 's|__xservername__|Xorg|g' \
   19222 	-e 's|__xconfigfile__|xorg.conf|g' \
   19223 	-e 's|__projectroot__|\$(prefix)|g' \
   19224 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19225 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19226 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19227 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19228 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19229 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19230 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19231 
   19232 
   19233 
   19234 # Check whether --enable-silent-rules was given.
   19235 if test ${enable_silent_rules+y}
   19236 then :
   19237   enableval=$enable_silent_rules;
   19238 fi
   19239 
   19240 case $enable_silent_rules in # (((
   19241   yes) AM_DEFAULT_VERBOSITY=0;;
   19242    no) AM_DEFAULT_VERBOSITY=1;;
   19243     *) AM_DEFAULT_VERBOSITY=0;;
   19244 esac
   19245 am_make=${MAKE-make}
   19246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19247 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19248 if test ${am_cv_make_support_nested_variables+y}
   19249 then :
   19250   printf %s "(cached) " >&6
   19251 else $as_nop
   19252   if printf "%s\n" 'TRUE=$(BAR$(V))
   19253 BAR0=false
   19254 BAR1=true
   19255 V=1
   19256 am__doit:
   19257 	@$(TRUE)
   19258 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19259   am_cv_make_support_nested_variables=yes
   19260 else
   19261   am_cv_make_support_nested_variables=no
   19262 fi
   19263 fi
   19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19265 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19266 if test $am_cv_make_support_nested_variables = yes; then
   19267     AM_V='$(V)'
   19268   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19269 else
   19270   AM_V=$AM_DEFAULT_VERBOSITY
   19271   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19272 fi
   19273 AM_BACKSLASH='\'
   19274 
   19275 
   19276 
   19277 
   19278 
   19279 
   19280 # Check whether --with-xmlto was given.
   19281 if test ${with_xmlto+y}
   19282 then :
   19283   withval=$with_xmlto; use_xmlto=$withval
   19284 else $as_nop
   19285   use_xmlto=auto
   19286 fi
   19287 
   19288 
   19289 
   19290 if test "x$use_xmlto" = x"auto"; then
   19291    # Extract the first word of "xmlto", so it can be a program name with args.
   19292 set dummy xmlto; ac_word=$2
   19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19294 printf %s "checking for $ac_word... " >&6; }
   19295 if test ${ac_cv_path_XMLTO+y}
   19296 then :
   19297   printf %s "(cached) " >&6
   19298 else $as_nop
   19299   case $XMLTO in
   19300   [\\/]* | ?:[\\/]*)
   19301   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19302   ;;
   19303   *)
   19304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19305 for as_dir in $PATH
   19306 do
   19307   IFS=$as_save_IFS
   19308   case $as_dir in #(((
   19309     '') as_dir=./ ;;
   19310     */) ;;
   19311     *) as_dir=$as_dir/ ;;
   19312   esac
   19313     for ac_exec_ext in '' $ac_executable_extensions; do
   19314   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19315     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19316     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19317     break 2
   19318   fi
   19319 done
   19320   done
   19321 IFS=$as_save_IFS
   19322 
   19323   ;;
   19324 esac
   19325 fi
   19326 XMLTO=$ac_cv_path_XMLTO
   19327 if test -n "$XMLTO"; then
   19328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19329 printf "%s\n" "$XMLTO" >&6; }
   19330 else
   19331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19332 printf "%s\n" "no" >&6; }
   19333 fi
   19334 
   19335 
   19336    if test "x$XMLTO" = "x"; then
   19337         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19338 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19339 	have_xmlto=no
   19340    else
   19341         have_xmlto=yes
   19342    fi
   19343 elif test "x$use_xmlto" = x"yes" ; then
   19344    # Extract the first word of "xmlto", so it can be a program name with args.
   19345 set dummy xmlto; ac_word=$2
   19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19347 printf %s "checking for $ac_word... " >&6; }
   19348 if test ${ac_cv_path_XMLTO+y}
   19349 then :
   19350   printf %s "(cached) " >&6
   19351 else $as_nop
   19352   case $XMLTO in
   19353   [\\/]* | ?:[\\/]*)
   19354   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19355   ;;
   19356   *)
   19357   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19358 for as_dir in $PATH
   19359 do
   19360   IFS=$as_save_IFS
   19361   case $as_dir in #(((
   19362     '') as_dir=./ ;;
   19363     */) ;;
   19364     *) as_dir=$as_dir/ ;;
   19365   esac
   19366     for ac_exec_ext in '' $ac_executable_extensions; do
   19367   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19368     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19369     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19370     break 2
   19371   fi
   19372 done
   19373   done
   19374 IFS=$as_save_IFS
   19375 
   19376   ;;
   19377 esac
   19378 fi
   19379 XMLTO=$ac_cv_path_XMLTO
   19380 if test -n "$XMLTO"; then
   19381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19382 printf "%s\n" "$XMLTO" >&6; }
   19383 else
   19384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19385 printf "%s\n" "no" >&6; }
   19386 fi
   19387 
   19388 
   19389    if test "x$XMLTO" = "x"; then
   19390         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19391    fi
   19392    have_xmlto=yes
   19393 elif test "x$use_xmlto" = x"no" ; then
   19394    if test "x$XMLTO" != "x"; then
   19395       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19396 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19397    fi
   19398    have_xmlto=no
   19399 else
   19400    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19401 fi
   19402 
   19403 # Test for a minimum version of xmlto, if provided.
   19404 if test "$have_xmlto" = yes; then
   19405     # scrape the xmlto version
   19406     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19407 printf %s "checking the xmlto version... " >&6; }
   19408     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19409     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19410 printf "%s\n" "$xmlto_version" >&6; }
   19411     as_arg_v1=$xmlto_version
   19412 as_arg_v2=0.0.20
   19413 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19414 case $? in #(
   19415   1) :
   19416     if test "x$use_xmlto" = xauto; then
   19417             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   19418 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   19419             have_xmlto=no
   19420         else
   19421             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   19422         fi ;; #(
   19423   0) :
   19424      ;; #(
   19425   2) :
   19426      ;; #(
   19427   *) :
   19428      ;;
   19429 esac
   19430 fi
   19431 
   19432 # Test for the ability of xmlto to generate a text target
   19433 #
   19434 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19435 # following test for empty XML docbook files.
   19436 # For compatibility reasons use the following empty XML docbook file and if
   19437 # it fails try it again with a non-empty XML file.
   19438 have_xmlto_text=no
   19439 cat > conftest.xml << "EOF"
   19440 EOF
   19441 if test "$have_xmlto" = yes
   19442 then :
   19443   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19444 then :
   19445   have_xmlto_text=yes
   19446 else $as_nop
   19447   # Try it again with a non-empty XML file.
   19448               cat > conftest.xml << "EOF"
   19449 <x></x>
   19450 EOF
   19451               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19452 then :
   19453   have_xmlto_text=yes
   19454 else $as_nop
   19455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19456 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19457 fi
   19458 fi
   19459 fi
   19460 rm -f conftest.xml
   19461  if test $have_xmlto_text = yes; then
   19462   HAVE_XMLTO_TEXT_TRUE=
   19463   HAVE_XMLTO_TEXT_FALSE='#'
   19464 else
   19465   HAVE_XMLTO_TEXT_TRUE='#'
   19466   HAVE_XMLTO_TEXT_FALSE=
   19467 fi
   19468 
   19469  if test "$have_xmlto" = yes; then
   19470   HAVE_XMLTO_TRUE=
   19471   HAVE_XMLTO_FALSE='#'
   19472 else
   19473   HAVE_XMLTO_TRUE='#'
   19474   HAVE_XMLTO_FALSE=
   19475 fi
   19476 
   19477 
   19478 
   19479 # Determine if the source for man pages is available
   19480 # It may already be present (tarball) or can be generated using xmlto
   19481  if test -f "$srcdir/man/Xcomposite.man" || test "x$have_xmlto" = xyes; then
   19482   INSTALL_MANPAGES_TRUE=
   19483   INSTALL_MANPAGES_FALSE='#'
   19484 else
   19485   INSTALL_MANPAGES_TRUE='#'
   19486   INSTALL_MANPAGES_FALSE=
   19487 fi
   19488 
   19489 
   19490 # Check compositeext configuration, strip extra digits from package version to
   19491 # find the required protocol version
   19492 if test "$VERSION" = "" ; then
   19493        VERSION=$PACKAGE_VERSION;
   19494 fi
   19495 COMPOSITEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   19496 
   19497 
   19498 # Obtain compiler/linker options for dependencies
   19499 
   19500 pkg_failed=no
   19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE" >&5
   19502 printf %s "checking for XCOMPOSITE... " >&6; }
   19503 
   19504 if test -n "$XCOMPOSITE_CFLAGS"; then
   19505     pkg_cv_XCOMPOSITE_CFLAGS="$XCOMPOSITE_CFLAGS"
   19506  elif test -n "$PKG_CONFIG"; then
   19507     if test -n "$PKG_CONFIG" && \
   19508     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION xproto >= 7.0.22 x11\""; } >&5
   19509   ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11") 2>&5
   19510   ac_status=$?
   19511   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19512   test $ac_status = 0; }; then
   19513   pkg_cv_XCOMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11" 2>/dev/null`
   19514 		      test "x$?" != "x0" && pkg_failed=yes
   19515 else
   19516   pkg_failed=yes
   19517 fi
   19518  else
   19519     pkg_failed=untried
   19520 fi
   19521 if test -n "$XCOMPOSITE_LIBS"; then
   19522     pkg_cv_XCOMPOSITE_LIBS="$XCOMPOSITE_LIBS"
   19523  elif test -n "$PKG_CONFIG"; then
   19524     if test -n "$PKG_CONFIG" && \
   19525     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION xproto >= 7.0.22 x11\""; } >&5
   19526   ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11") 2>&5
   19527   ac_status=$?
   19528   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19529   test $ac_status = 0; }; then
   19530   pkg_cv_XCOMPOSITE_LIBS=`$PKG_CONFIG --libs "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11" 2>/dev/null`
   19531 		      test "x$?" != "x0" && pkg_failed=yes
   19532 else
   19533   pkg_failed=yes
   19534 fi
   19535  else
   19536     pkg_failed=untried
   19537 fi
   19538 
   19539 
   19540 
   19541 if test $pkg_failed = yes; then
   19542    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19543 printf "%s\n" "no" >&6; }
   19544 
   19545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19546         _pkg_short_errors_supported=yes
   19547 else
   19548         _pkg_short_errors_supported=no
   19549 fi
   19550         if test $_pkg_short_errors_supported = yes; then
   19551 	        XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11" 2>&1`
   19552         else
   19553 	        XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11" 2>&1`
   19554         fi
   19555 	# Put the nasty error message in config.log where it belongs
   19556 	echo "$XCOMPOSITE_PKG_ERRORS" >&5
   19557 
   19558 	as_fn_error $? "Package requirements (compositeproto >= $COMPOSITEEXT_VERSION xproto >= 7.0.22 x11) were not met:
   19559 
   19560 $XCOMPOSITE_PKG_ERRORS
   19561 
   19562 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19563 installed software in a non-standard prefix.
   19564 
   19565 Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS
   19566 and XCOMPOSITE_LIBS to avoid the need to call pkg-config.
   19567 See the pkg-config man page for more details." "$LINENO" 5
   19568 elif test $pkg_failed = untried; then
   19569      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19570 printf "%s\n" "no" >&6; }
   19571 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19572 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19573 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19574 is in your PATH or set the PKG_CONFIG environment variable to the full
   19575 path to pkg-config.
   19576 
   19577 Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS
   19578 and XCOMPOSITE_LIBS to avoid the need to call pkg-config.
   19579 See the pkg-config man page for more details.
   19580 
   19581 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19582 See \`config.log' for more details" "$LINENO" 5; }
   19583 else
   19584 	XCOMPOSITE_CFLAGS=$pkg_cv_XCOMPOSITE_CFLAGS
   19585 	XCOMPOSITE_LIBS=$pkg_cv_XCOMPOSITE_LIBS
   19586         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19587 printf "%s\n" "yes" >&6; }
   19588 
   19589 fi
   19590 
   19591 pkg_failed=no
   19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
   19593 printf %s "checking for XFIXES... " >&6; }
   19594 
   19595 if test -n "$XFIXES_CFLAGS"; then
   19596     pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
   19597  elif test -n "$PKG_CONFIG"; then
   19598     if test -n "$PKG_CONFIG" && \
   19599     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
   19600   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
   19601   ac_status=$?
   19602   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19603   test $ac_status = 0; }; then
   19604   pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
   19605 		      test "x$?" != "x0" && pkg_failed=yes
   19606 else
   19607   pkg_failed=yes
   19608 fi
   19609  else
   19610     pkg_failed=untried
   19611 fi
   19612 if test -n "$XFIXES_LIBS"; then
   19613     pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
   19614  elif test -n "$PKG_CONFIG"; then
   19615     if test -n "$PKG_CONFIG" && \
   19616     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
   19617   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
   19618   ac_status=$?
   19619   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19620   test $ac_status = 0; }; then
   19621   pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
   19622 		      test "x$?" != "x0" && pkg_failed=yes
   19623 else
   19624   pkg_failed=yes
   19625 fi
   19626  else
   19627     pkg_failed=untried
   19628 fi
   19629 
   19630 
   19631 
   19632 if test $pkg_failed = yes; then
   19633    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19634 printf "%s\n" "no" >&6; }
   19635 
   19636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19637         _pkg_short_errors_supported=yes
   19638 else
   19639         _pkg_short_errors_supported=no
   19640 fi
   19641         if test $_pkg_short_errors_supported = yes; then
   19642 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xfixes" 2>&1`
   19643         else
   19644 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xfixes" 2>&1`
   19645         fi
   19646 	# Put the nasty error message in config.log where it belongs
   19647 	echo "$XFIXES_PKG_ERRORS" >&5
   19648 
   19649 	as_fn_error $? "Package requirements (xfixes) were not met:
   19650 
   19651 $XFIXES_PKG_ERRORS
   19652 
   19653 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19654 installed software in a non-standard prefix.
   19655 
   19656 Alternatively, you may set the environment variables XFIXES_CFLAGS
   19657 and XFIXES_LIBS to avoid the need to call pkg-config.
   19658 See the pkg-config man page for more details." "$LINENO" 5
   19659 elif test $pkg_failed = untried; then
   19660      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19661 printf "%s\n" "no" >&6; }
   19662 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19663 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19664 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19665 is in your PATH or set the PKG_CONFIG environment variable to the full
   19666 path to pkg-config.
   19667 
   19668 Alternatively, you may set the environment variables XFIXES_CFLAGS
   19669 and XFIXES_LIBS to avoid the need to call pkg-config.
   19670 See the pkg-config man page for more details.
   19671 
   19672 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19673 See \`config.log' for more details" "$LINENO" 5; }
   19674 else
   19675 	XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
   19676 	XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
   19677         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19678 printf "%s\n" "yes" >&6; }
   19679 
   19680 fi
   19681 
   19682 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcomposite.pc"
   19683 
   19684 cat >confcache <<\_ACEOF
   19685 # This file is a shell script that caches the results of configure
   19686 # tests run on this system so they can be shared between configure
   19687 # scripts and configure runs, see configure's option --config-cache.
   19688 # It is not useful on other systems.  If it contains results you don't
   19689 # want to keep, you may remove or edit it.
   19690 #
   19691 # config.status only pays attention to the cache file if you give it
   19692 # the --recheck option to rerun configure.
   19693 #
   19694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19696 # following values.
   19697 
   19698 _ACEOF
   19699 
   19700 # The following way of writing the cache mishandles newlines in values,
   19701 # but we know of no workaround that is simple, portable, and efficient.
   19702 # So, we kill variables containing newlines.
   19703 # Ultrix sh set writes to stderr and can't be redirected directly,
   19704 # and sets the high bit in the cache file unless we assign to the vars.
   19705 (
   19706   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19707     eval ac_val=\$$ac_var
   19708     case $ac_val in #(
   19709     *${as_nl}*)
   19710       case $ac_var in #(
   19711       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19712 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19713       esac
   19714       case $ac_var in #(
   19715       _ | IFS | as_nl) ;; #(
   19716       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19717       *) { eval $ac_var=; unset $ac_var;} ;;
   19718       esac ;;
   19719     esac
   19720   done
   19721 
   19722   (set) 2>&1 |
   19723     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19724     *${as_nl}ac_space=\ *)
   19725       # `set' does not quote correctly, so add quotes: double-quote
   19726       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19727       sed -n \
   19728 	"s/'/'\\\\''/g;
   19729 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19730       ;; #(
   19731     *)
   19732       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19733       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19734       ;;
   19735     esac |
   19736     sort
   19737 ) |
   19738   sed '
   19739      /^ac_cv_env_/b end
   19740      t clear
   19741      :clear
   19742      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19743      t end
   19744      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19745      :end' >>confcache
   19746 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19747   if test -w "$cache_file"; then
   19748     if test "x$cache_file" != "x/dev/null"; then
   19749       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19750 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19751       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19752 	cat confcache >"$cache_file"
   19753       else
   19754         case $cache_file in #(
   19755         */* | ?:*)
   19756 	  mv -f confcache "$cache_file"$$ &&
   19757 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19758         *)
   19759 	  mv -f confcache "$cache_file" ;;
   19760 	esac
   19761       fi
   19762     fi
   19763   else
   19764     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19765 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19766   fi
   19767 fi
   19768 rm -f confcache
   19769 
   19770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19771 # Let make expand exec_prefix.
   19772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19773 
   19774 DEFS=-DHAVE_CONFIG_H
   19775 
   19776 ac_libobjs=
   19777 ac_ltlibobjs=
   19778 U=
   19779 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19780   # 1. Remove the extension, and $U if already installed.
   19781   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19782   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19783   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19784   #    will be set to the directory where LIBOBJS objects are built.
   19785   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19786   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19787 done
   19788 LIBOBJS=$ac_libobjs
   19789 
   19790 LTLIBOBJS=$ac_ltlibobjs
   19791 
   19792 
   19793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19794 printf %s "checking that generated files are newer than configure... " >&6; }
   19795    if test -n "$am_sleep_pid"; then
   19796      # Hide warnings about reused PIDs.
   19797      wait $am_sleep_pid 2>/dev/null
   19798    fi
   19799    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19800 printf "%s\n" "done" >&6; }
   19801  if test -n "$EXEEXT"; then
   19802   am__EXEEXT_TRUE=
   19803   am__EXEEXT_FALSE='#'
   19804 else
   19805   am__EXEEXT_TRUE='#'
   19806   am__EXEEXT_FALSE=
   19807 fi
   19808 
   19809 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19810   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19812 fi
   19813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19814   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19816 fi
   19817 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19818   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19820 fi
   19821 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19822   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19824 fi
   19825 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   19826   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   19827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19828 fi
   19829 
   19830 : "${CONFIG_STATUS=./config.status}"
   19831 ac_write_fail=0
   19832 ac_clean_files_save=$ac_clean_files
   19833 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19835 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19836 as_write_fail=0
   19837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19838 #! $SHELL
   19839 # Generated by $as_me.
   19840 # Run this file to recreate the current configuration.
   19841 # Compiler output produced by configure, useful for debugging
   19842 # configure, is in config.log if it exists.
   19843 
   19844 debug=false
   19845 ac_cs_recheck=false
   19846 ac_cs_silent=false
   19847 
   19848 SHELL=\${CONFIG_SHELL-$SHELL}
   19849 export SHELL
   19850 _ASEOF
   19851 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19852 ## -------------------- ##
   19853 ## M4sh Initialization. ##
   19854 ## -------------------- ##
   19855 
   19856 # Be more Bourne compatible
   19857 DUALCASE=1; export DUALCASE # for MKS sh
   19858 as_nop=:
   19859 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19860 then :
   19861   emulate sh
   19862   NULLCMD=:
   19863   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19864   # is contrary to our usage.  Disable this feature.
   19865   alias -g '${1+"$@"}'='"$@"'
   19866   setopt NO_GLOB_SUBST
   19867 else $as_nop
   19868   case `(set -o) 2>/dev/null` in #(
   19869   *posix*) :
   19870     set -o posix ;; #(
   19871   *) :
   19872      ;;
   19873 esac
   19874 fi
   19875 
   19876 
   19877 
   19878 # Reset variables that may have inherited troublesome values from
   19879 # the environment.
   19880 
   19881 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19882 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19883 # side effect of setting IFS to empty, thus disabling word splitting.)
   19884 # Quoting is to prevent editors from complaining about space-tab.
   19885 as_nl='
   19886 '
   19887 export as_nl
   19888 IFS=" ""	$as_nl"
   19889 
   19890 PS1='$ '
   19891 PS2='> '
   19892 PS4='+ '
   19893 
   19894 # Ensure predictable behavior from utilities with locale-dependent output.
   19895 LC_ALL=C
   19896 export LC_ALL
   19897 LANGUAGE=C
   19898 export LANGUAGE
   19899 
   19900 # We cannot yet rely on "unset" to work, but we need these variables
   19901 # to be unset--not just set to an empty or harmless value--now, to
   19902 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19903 # also avoids known problems related to "unset" and subshell syntax
   19904 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19905 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19906 do eval test \${$as_var+y} \
   19907   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19908 done
   19909 
   19910 # Ensure that fds 0, 1, and 2 are open.
   19911 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19912 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19913 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19914 
   19915 # The user is always right.
   19916 if ${PATH_SEPARATOR+false} :; then
   19917   PATH_SEPARATOR=:
   19918   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19919     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19920       PATH_SEPARATOR=';'
   19921   }
   19922 fi
   19923 
   19924 
   19925 # Find who we are.  Look in the path if we contain no directory separator.
   19926 as_myself=
   19927 case $0 in #((
   19928   *[\\/]* ) as_myself=$0 ;;
   19929   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19930 for as_dir in $PATH
   19931 do
   19932   IFS=$as_save_IFS
   19933   case $as_dir in #(((
   19934     '') as_dir=./ ;;
   19935     */) ;;
   19936     *) as_dir=$as_dir/ ;;
   19937   esac
   19938     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19939   done
   19940 IFS=$as_save_IFS
   19941 
   19942      ;;
   19943 esac
   19944 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19945 # in which case we are not to be found in the path.
   19946 if test "x$as_myself" = x; then
   19947   as_myself=$0
   19948 fi
   19949 if test ! -f "$as_myself"; then
   19950   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19951   exit 1
   19952 fi
   19953 
   19954 
   19955 
   19956 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19957 # ----------------------------------------
   19958 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19959 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19960 # script with STATUS, using 1 if that was 0.
   19961 as_fn_error ()
   19962 {
   19963   as_status=$1; test $as_status -eq 0 && as_status=1
   19964   if test "$4"; then
   19965     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19967   fi
   19968   printf "%s\n" "$as_me: error: $2" >&2
   19969   as_fn_exit $as_status
   19970 } # as_fn_error
   19971 
   19972 
   19973 
   19974 # as_fn_set_status STATUS
   19975 # -----------------------
   19976 # Set $? to STATUS, without forking.
   19977 as_fn_set_status ()
   19978 {
   19979   return $1
   19980 } # as_fn_set_status
   19981 
   19982 # as_fn_exit STATUS
   19983 # -----------------
   19984 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19985 as_fn_exit ()
   19986 {
   19987   set +e
   19988   as_fn_set_status $1
   19989   exit $1
   19990 } # as_fn_exit
   19991 
   19992 # as_fn_unset VAR
   19993 # ---------------
   19994 # Portably unset VAR.
   19995 as_fn_unset ()
   19996 {
   19997   { eval $1=; unset $1;}
   19998 }
   19999 as_unset=as_fn_unset
   20000 
   20001 # as_fn_append VAR VALUE
   20002 # ----------------------
   20003 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20004 # advantage of any shell optimizations that allow amortized linear growth over
   20005 # repeated appends, instead of the typical quadratic growth present in naive
   20006 # implementations.
   20007 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20008 then :
   20009   eval 'as_fn_append ()
   20010   {
   20011     eval $1+=\$2
   20012   }'
   20013 else $as_nop
   20014   as_fn_append ()
   20015   {
   20016     eval $1=\$$1\$2
   20017   }
   20018 fi # as_fn_append
   20019 
   20020 # as_fn_arith ARG...
   20021 # ------------------
   20022 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20024 # must be portable across $(()) and expr.
   20025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20026 then :
   20027   eval 'as_fn_arith ()
   20028   {
   20029     as_val=$(( $* ))
   20030   }'
   20031 else $as_nop
   20032   as_fn_arith ()
   20033   {
   20034     as_val=`expr "$@" || test $? -eq 1`
   20035   }
   20036 fi # as_fn_arith
   20037 
   20038 
   20039 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20040    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20041   as_expr=expr
   20042 else
   20043   as_expr=false
   20044 fi
   20045 
   20046 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20047   as_basename=basename
   20048 else
   20049   as_basename=false
   20050 fi
   20051 
   20052 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20053   as_dirname=dirname
   20054 else
   20055   as_dirname=false
   20056 fi
   20057 
   20058 as_me=`$as_basename -- "$0" ||
   20059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20060 	 X"$0" : 'X\(//\)$' \| \
   20061 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20062 printf "%s\n" X/"$0" |
   20063     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20064 	    s//\1/
   20065 	    q
   20066 	  }
   20067 	  /^X\/\(\/\/\)$/{
   20068 	    s//\1/
   20069 	    q
   20070 	  }
   20071 	  /^X\/\(\/\).*/{
   20072 	    s//\1/
   20073 	    q
   20074 	  }
   20075 	  s/.*/./; q'`
   20076 
   20077 # Avoid depending upon Character Ranges.
   20078 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20079 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20080 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20081 as_cr_digits='0123456789'
   20082 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20083 
   20084 
   20085 # Determine whether it's possible to make 'echo' print without a newline.
   20086 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20087 # for compatibility with existing Makefiles.
   20088 ECHO_C= ECHO_N= ECHO_T=
   20089 case `echo -n x` in #(((((
   20090 -n*)
   20091   case `echo 'xy\c'` in
   20092   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20093   xy)  ECHO_C='\c';;
   20094   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20095        ECHO_T='	';;
   20096   esac;;
   20097 *)
   20098   ECHO_N='-n';;
   20099 esac
   20100 
   20101 # For backward compatibility with old third-party macros, we provide
   20102 # the shell variables $as_echo and $as_echo_n.  New code should use
   20103 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20104 as_echo='printf %s\n'
   20105 as_echo_n='printf %s'
   20106 
   20107 rm -f conf$$ conf$$.exe conf$$.file
   20108 if test -d conf$$.dir; then
   20109   rm -f conf$$.dir/conf$$.file
   20110 else
   20111   rm -f conf$$.dir
   20112   mkdir conf$$.dir 2>/dev/null
   20113 fi
   20114 if (echo >conf$$.file) 2>/dev/null; then
   20115   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20116     as_ln_s='ln -s'
   20117     # ... but there are two gotchas:
   20118     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20119     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20120     # In both cases, we have to default to `cp -pR'.
   20121     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20122       as_ln_s='cp -pR'
   20123   elif ln conf$$.file conf$$ 2>/dev/null; then
   20124     as_ln_s=ln
   20125   else
   20126     as_ln_s='cp -pR'
   20127   fi
   20128 else
   20129   as_ln_s='cp -pR'
   20130 fi
   20131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20132 rmdir conf$$.dir 2>/dev/null
   20133 
   20134 
   20135 # as_fn_mkdir_p
   20136 # -------------
   20137 # Create "$as_dir" as a directory, including parents if necessary.
   20138 as_fn_mkdir_p ()
   20139 {
   20140 
   20141   case $as_dir in #(
   20142   -*) as_dir=./$as_dir;;
   20143   esac
   20144   test -d "$as_dir" || eval $as_mkdir_p || {
   20145     as_dirs=
   20146     while :; do
   20147       case $as_dir in #(
   20148       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20149       *) as_qdir=$as_dir;;
   20150       esac
   20151       as_dirs="'$as_qdir' $as_dirs"
   20152       as_dir=`$as_dirname -- "$as_dir" ||
   20153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20154 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20155 	 X"$as_dir" : 'X\(//\)$' \| \
   20156 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20157 printf "%s\n" X"$as_dir" |
   20158     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20159 	    s//\1/
   20160 	    q
   20161 	  }
   20162 	  /^X\(\/\/\)[^/].*/{
   20163 	    s//\1/
   20164 	    q
   20165 	  }
   20166 	  /^X\(\/\/\)$/{
   20167 	    s//\1/
   20168 	    q
   20169 	  }
   20170 	  /^X\(\/\).*/{
   20171 	    s//\1/
   20172 	    q
   20173 	  }
   20174 	  s/.*/./; q'`
   20175       test -d "$as_dir" && break
   20176     done
   20177     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20178   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20179 
   20180 
   20181 } # as_fn_mkdir_p
   20182 if mkdir -p . 2>/dev/null; then
   20183   as_mkdir_p='mkdir -p "$as_dir"'
   20184 else
   20185   test -d ./-p && rmdir ./-p
   20186   as_mkdir_p=false
   20187 fi
   20188 
   20189 
   20190 # as_fn_executable_p FILE
   20191 # -----------------------
   20192 # Test if FILE is an executable regular file.
   20193 as_fn_executable_p ()
   20194 {
   20195   test -f "$1" && test -x "$1"
   20196 } # as_fn_executable_p
   20197 as_test_x='test -x'
   20198 as_executable_p=as_fn_executable_p
   20199 
   20200 # Sed expression to map a string onto a valid CPP name.
   20201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20202 
   20203 # Sed expression to map a string onto a valid variable name.
   20204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20205 
   20206 
   20207 exec 6>&1
   20208 ## ----------------------------------- ##
   20209 ## Main body of $CONFIG_STATUS script. ##
   20210 ## ----------------------------------- ##
   20211 _ASEOF
   20212 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20213 
   20214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20215 # Save the log message, to keep $0 and so on meaningful, and to
   20216 # report actual input values of CONFIG_FILES etc. instead of their
   20217 # values after options handling.
   20218 ac_log="
   20219 This file was extended by libXcomposite $as_me 0.4.6, which was
   20220 generated by GNU Autoconf 2.71.  Invocation command line was
   20221 
   20222   CONFIG_FILES    = $CONFIG_FILES
   20223   CONFIG_HEADERS  = $CONFIG_HEADERS
   20224   CONFIG_LINKS    = $CONFIG_LINKS
   20225   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20226   $ $0 $@
   20227 
   20228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20229 "
   20230 
   20231 _ACEOF
   20232 
   20233 case $ac_config_files in *"
   20234 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20235 esac
   20236 
   20237 case $ac_config_headers in *"
   20238 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20239 esac
   20240 
   20241 
   20242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20243 # Files that config.status was made for.
   20244 config_files="$ac_config_files"
   20245 config_headers="$ac_config_headers"
   20246 config_commands="$ac_config_commands"
   20247 
   20248 _ACEOF
   20249 
   20250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20251 ac_cs_usage="\
   20252 \`$as_me' instantiates files and other configuration actions
   20253 from templates according to the current configuration.  Unless the files
   20254 and actions are specified as TAGs, all are instantiated by default.
   20255 
   20256 Usage: $0 [OPTION]... [TAG]...
   20257 
   20258   -h, --help       print this help, then exit
   20259   -V, --version    print version number and configuration settings, then exit
   20260       --config     print configuration, then exit
   20261   -q, --quiet, --silent
   20262                    do not print progress messages
   20263   -d, --debug      don't remove temporary files
   20264       --recheck    update $as_me by reconfiguring in the same conditions
   20265       --file=FILE[:TEMPLATE]
   20266                    instantiate the configuration file FILE
   20267       --header=FILE[:TEMPLATE]
   20268                    instantiate the configuration header FILE
   20269 
   20270 Configuration files:
   20271 $config_files
   20272 
   20273 Configuration headers:
   20274 $config_headers
   20275 
   20276 Configuration commands:
   20277 $config_commands
   20278 
   20279 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/issues>."
   20280 
   20281 _ACEOF
   20282 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20283 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20285 ac_cs_config='$ac_cs_config_escaped'
   20286 ac_cs_version="\\
   20287 libXcomposite config.status 0.4.6
   20288 configured by $0, generated by GNU Autoconf 2.71,
   20289   with options \\"\$ac_cs_config\\"
   20290 
   20291 Copyright (C) 2021 Free Software Foundation, Inc.
   20292 This config.status script is free software; the Free Software Foundation
   20293 gives unlimited permission to copy, distribute and modify it."
   20294 
   20295 ac_pwd='$ac_pwd'
   20296 srcdir='$srcdir'
   20297 INSTALL='$INSTALL'
   20298 MKDIR_P='$MKDIR_P'
   20299 AWK='$AWK'
   20300 test -n "\$AWK" || AWK=awk
   20301 _ACEOF
   20302 
   20303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20304 # The default lists apply if the user does not specify any file.
   20305 ac_need_defaults=:
   20306 while test $# != 0
   20307 do
   20308   case $1 in
   20309   --*=?*)
   20310     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20311     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20312     ac_shift=:
   20313     ;;
   20314   --*=)
   20315     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20316     ac_optarg=
   20317     ac_shift=:
   20318     ;;
   20319   *)
   20320     ac_option=$1
   20321     ac_optarg=$2
   20322     ac_shift=shift
   20323     ;;
   20324   esac
   20325 
   20326   case $ac_option in
   20327   # Handling of the options.
   20328   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20329     ac_cs_recheck=: ;;
   20330   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20331     printf "%s\n" "$ac_cs_version"; exit ;;
   20332   --config | --confi | --conf | --con | --co | --c )
   20333     printf "%s\n" "$ac_cs_config"; exit ;;
   20334   --debug | --debu | --deb | --de | --d | -d )
   20335     debug=: ;;
   20336   --file | --fil | --fi | --f )
   20337     $ac_shift
   20338     case $ac_optarg in
   20339     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20340     '') as_fn_error $? "missing file argument" ;;
   20341     esac
   20342     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20343     ac_need_defaults=false;;
   20344   --header | --heade | --head | --hea )
   20345     $ac_shift
   20346     case $ac_optarg in
   20347     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20348     esac
   20349     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20350     ac_need_defaults=false;;
   20351   --he | --h)
   20352     # Conflict between --help and --header
   20353     as_fn_error $? "ambiguous option: \`$1'
   20354 Try \`$0 --help' for more information.";;
   20355   --help | --hel | -h )
   20356     printf "%s\n" "$ac_cs_usage"; exit ;;
   20357   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20358   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20359     ac_cs_silent=: ;;
   20360 
   20361   # This is an error.
   20362   -*) as_fn_error $? "unrecognized option: \`$1'
   20363 Try \`$0 --help' for more information." ;;
   20364 
   20365   *) as_fn_append ac_config_targets " $1"
   20366      ac_need_defaults=false ;;
   20367 
   20368   esac
   20369   shift
   20370 done
   20371 
   20372 ac_configure_extra_args=
   20373 
   20374 if $ac_cs_silent; then
   20375   exec 6>/dev/null
   20376   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20377 fi
   20378 
   20379 _ACEOF
   20380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20381 if \$ac_cs_recheck; then
   20382   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20383   shift
   20384   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20385   CONFIG_SHELL='$SHELL'
   20386   export CONFIG_SHELL
   20387   exec "\$@"
   20388 fi
   20389 
   20390 _ACEOF
   20391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20392 exec 5>>config.log
   20393 {
   20394   echo
   20395   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20396 ## Running $as_me. ##
   20397 _ASBOX
   20398   printf "%s\n" "$ac_log"
   20399 } >&5
   20400 
   20401 _ACEOF
   20402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20403 #
   20404 # INIT-COMMANDS
   20405 #
   20406 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20407 
   20408 
   20409 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20410 # if CDPATH is set.
   20411 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20412 
   20413 sed_quote_subst='$sed_quote_subst'
   20414 double_quote_subst='$double_quote_subst'
   20415 delay_variable_subst='$delay_variable_subst'
   20416 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20417 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20418 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20419 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20420 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20421 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20422 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20423 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20424 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20425 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20426 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20427 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20428 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20429 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20430 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20431 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20432 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20433 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20434 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20435 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20436 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20437 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20438 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20439 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20440 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20441 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20442 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20443 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20444 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20445 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20446 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20447 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20448 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20449 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20450 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20451 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20452 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20453 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20454 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20455 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20456 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20457 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20458 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20459 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20460 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20461 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20462 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20463 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20464 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20465 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20466 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20467 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20468 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20469 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20470 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20471 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20472 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20473 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20474 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20475 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20476 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"`'
   20477 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20478 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20479 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20480 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20481 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20482 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20483 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20484 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20485 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20486 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20487 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20488 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20489 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20490 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20491 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20492 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20493 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20494 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20495 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20496 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20497 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20498 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20499 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20500 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20501 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20502 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20503 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20504 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20505 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20506 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20507 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20508 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20509 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20510 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20511 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20512 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20513 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20514 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20515 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20516 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20517 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20518 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20519 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20520 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20521 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20522 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20523 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20524 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20525 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20526 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20527 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20528 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20529 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20530 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20531 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20532 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20533 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20534 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20535 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20536 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20537 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20538 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20539 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20540 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20541 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20542 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20543 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20544 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20545 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20546 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20547 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20548 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20549 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20550 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20551 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20552 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20553 
   20554 LTCC='$LTCC'
   20555 LTCFLAGS='$LTCFLAGS'
   20556 compiler='$compiler_DEFAULT'
   20557 
   20558 # A function that is used when there is no print builtin or printf.
   20559 func_fallback_echo ()
   20560 {
   20561   eval 'cat <<_LTECHO_EOF
   20562 \$1
   20563 _LTECHO_EOF'
   20564 }
   20565 
   20566 # Quote evaled strings.
   20567 for var in SHELL \
   20568 ECHO \
   20569 PATH_SEPARATOR \
   20570 SED \
   20571 GREP \
   20572 EGREP \
   20573 FGREP \
   20574 LD \
   20575 NM \
   20576 LN_S \
   20577 lt_SP2NL \
   20578 lt_NL2SP \
   20579 reload_flag \
   20580 FILECMD \
   20581 OBJDUMP \
   20582 deplibs_check_method \
   20583 file_magic_cmd \
   20584 file_magic_glob \
   20585 want_nocaseglob \
   20586 DLLTOOL \
   20587 sharedlib_from_linklib_cmd \
   20588 AR \
   20589 archiver_list_spec \
   20590 STRIP \
   20591 RANLIB \
   20592 CC \
   20593 CFLAGS \
   20594 compiler \
   20595 lt_cv_sys_global_symbol_pipe \
   20596 lt_cv_sys_global_symbol_to_cdecl \
   20597 lt_cv_sys_global_symbol_to_import \
   20598 lt_cv_sys_global_symbol_to_c_name_address \
   20599 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20600 lt_cv_nm_interface \
   20601 nm_file_list_spec \
   20602 lt_cv_truncate_bin \
   20603 lt_prog_compiler_no_builtin_flag \
   20604 lt_prog_compiler_pic \
   20605 lt_prog_compiler_wl \
   20606 lt_prog_compiler_static \
   20607 lt_cv_prog_compiler_c_o \
   20608 need_locks \
   20609 MANIFEST_TOOL \
   20610 DSYMUTIL \
   20611 NMEDIT \
   20612 LIPO \
   20613 OTOOL \
   20614 OTOOL64 \
   20615 shrext_cmds \
   20616 export_dynamic_flag_spec \
   20617 whole_archive_flag_spec \
   20618 compiler_needs_object \
   20619 with_gnu_ld \
   20620 allow_undefined_flag \
   20621 no_undefined_flag \
   20622 hardcode_libdir_flag_spec \
   20623 hardcode_libdir_separator \
   20624 exclude_expsyms \
   20625 include_expsyms \
   20626 file_list_spec \
   20627 variables_saved_for_relink \
   20628 libname_spec \
   20629 library_names_spec \
   20630 soname_spec \
   20631 install_override_mode \
   20632 finish_eval \
   20633 old_striplib \
   20634 striplib; do
   20635     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20636     *[\\\\\\\`\\"\\\$]*)
   20637       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20638       ;;
   20639     *)
   20640       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20641       ;;
   20642     esac
   20643 done
   20644 
   20645 # Double-quote double-evaled strings.
   20646 for var in reload_cmds \
   20647 old_postinstall_cmds \
   20648 old_postuninstall_cmds \
   20649 old_archive_cmds \
   20650 extract_expsyms_cmds \
   20651 old_archive_from_new_cmds \
   20652 old_archive_from_expsyms_cmds \
   20653 archive_cmds \
   20654 archive_expsym_cmds \
   20655 module_cmds \
   20656 module_expsym_cmds \
   20657 export_symbols_cmds \
   20658 prelink_cmds \
   20659 postlink_cmds \
   20660 postinstall_cmds \
   20661 postuninstall_cmds \
   20662 finish_cmds \
   20663 sys_lib_search_path_spec \
   20664 configure_time_dlsearch_path \
   20665 configure_time_lt_sys_library_path; do
   20666     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20667     *[\\\\\\\`\\"\\\$]*)
   20668       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20669       ;;
   20670     *)
   20671       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20672       ;;
   20673     esac
   20674 done
   20675 
   20676 ac_aux_dir='$ac_aux_dir'
   20677 
   20678 # See if we are running on zsh, and set the options that allow our
   20679 # commands through without removal of \ escapes INIT.
   20680 if test -n "\${ZSH_VERSION+set}"; then
   20681    setopt NO_GLOB_SUBST
   20682 fi
   20683 
   20684 
   20685     PACKAGE='$PACKAGE'
   20686     VERSION='$VERSION'
   20687     RM='$RM'
   20688     ofile='$ofile'
   20689 
   20690 
   20691 
   20692 
   20693 _ACEOF
   20694 
   20695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20696 
   20697 # Handling of arguments.
   20698 for ac_config_target in $ac_config_targets
   20699 do
   20700   case $ac_config_target in
   20701     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20702     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20703     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20704     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20705     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20706     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20707     "xcomposite.pc") CONFIG_FILES="$CONFIG_FILES xcomposite.pc" ;;
   20708 
   20709   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20710   esac
   20711 done
   20712 
   20713 
   20714 # If the user did not use the arguments to specify the items to instantiate,
   20715 # then the envvar interface is used.  Set only those that are not.
   20716 # We use the long form for the default assignment because of an extremely
   20717 # bizarre bug on SunOS 4.1.3.
   20718 if $ac_need_defaults; then
   20719   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20720   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20721   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20722 fi
   20723 
   20724 # Have a temporary directory for convenience.  Make it in the build tree
   20725 # simply because there is no reason against having it here, and in addition,
   20726 # creating and moving files from /tmp can sometimes cause problems.
   20727 # Hook for its removal unless debugging.
   20728 # Note that there is a small window in which the directory will not be cleaned:
   20729 # after its creation but before its name has been assigned to `$tmp'.
   20730 $debug ||
   20731 {
   20732   tmp= ac_tmp=
   20733   trap 'exit_status=$?
   20734   : "${ac_tmp:=$tmp}"
   20735   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20736 ' 0
   20737   trap 'as_fn_exit 1' 1 2 13 15
   20738 }
   20739 # Create a (secure) tmp directory for tmp files.
   20740 
   20741 {
   20742   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20743   test -d "$tmp"
   20744 }  ||
   20745 {
   20746   tmp=./conf$$-$RANDOM
   20747   (umask 077 && mkdir "$tmp")
   20748 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20749 ac_tmp=$tmp
   20750 
   20751 # Set up the scripts for CONFIG_FILES section.
   20752 # No need to generate them if there are no CONFIG_FILES.
   20753 # This happens for instance with `./config.status config.h'.
   20754 if test -n "$CONFIG_FILES"; then
   20755 
   20756 
   20757 ac_cr=`echo X | tr X '\015'`
   20758 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20759 # But we know of no other shell where ac_cr would be empty at this
   20760 # point, so we can use a bashism as a fallback.
   20761 if test "x$ac_cr" = x; then
   20762   eval ac_cr=\$\'\\r\'
   20763 fi
   20764 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20765 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20766   ac_cs_awk_cr='\\r'
   20767 else
   20768   ac_cs_awk_cr=$ac_cr
   20769 fi
   20770 
   20771 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20772 _ACEOF
   20773 
   20774 
   20775 {
   20776   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20777   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20778   echo "_ACEOF"
   20779 } >conf$$subs.sh ||
   20780   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20782 ac_delim='%!_!# '
   20783 for ac_last_try in false false false false false :; do
   20784   . ./conf$$subs.sh ||
   20785     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20786 
   20787   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20788   if test $ac_delim_n = $ac_delim_num; then
   20789     break
   20790   elif $ac_last_try; then
   20791     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20792   else
   20793     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20794   fi
   20795 done
   20796 rm -f conf$$subs.sh
   20797 
   20798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20799 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20800 _ACEOF
   20801 sed -n '
   20802 h
   20803 s/^/S["/; s/!.*/"]=/
   20804 p
   20805 g
   20806 s/^[^!]*!//
   20807 :repl
   20808 t repl
   20809 s/'"$ac_delim"'$//
   20810 t delim
   20811 :nl
   20812 h
   20813 s/\(.\{148\}\)..*/\1/
   20814 t more1
   20815 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20816 p
   20817 n
   20818 b repl
   20819 :more1
   20820 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20821 p
   20822 g
   20823 s/.\{148\}//
   20824 t nl
   20825 :delim
   20826 h
   20827 s/\(.\{148\}\)..*/\1/
   20828 t more2
   20829 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20830 p
   20831 b
   20832 :more2
   20833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20834 p
   20835 g
   20836 s/.\{148\}//
   20837 t delim
   20838 ' <conf$$subs.awk | sed '
   20839 /^[^""]/{
   20840   N
   20841   s/\n//
   20842 }
   20843 ' >>$CONFIG_STATUS || ac_write_fail=1
   20844 rm -f conf$$subs.awk
   20845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20846 _ACAWK
   20847 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20848   for (key in S) S_is_set[key] = 1
   20849   FS = ""
   20850 
   20851 }
   20852 {
   20853   line = $ 0
   20854   nfields = split(line, field, "@")
   20855   substed = 0
   20856   len = length(field[1])
   20857   for (i = 2; i < nfields; i++) {
   20858     key = field[i]
   20859     keylen = length(key)
   20860     if (S_is_set[key]) {
   20861       value = S[key]
   20862       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20863       len += length(value) + length(field[++i])
   20864       substed = 1
   20865     } else
   20866       len += 1 + keylen
   20867   }
   20868 
   20869   print line
   20870 }
   20871 
   20872 _ACAWK
   20873 _ACEOF
   20874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20875 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20876   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20877 else
   20878   cat
   20879 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20880   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20881 _ACEOF
   20882 
   20883 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20884 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20885 # trailing colons and then remove the whole line if VPATH becomes empty
   20886 # (actually we leave an empty line to preserve line numbers).
   20887 if test "x$srcdir" = x.; then
   20888   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20889 h
   20890 s///
   20891 s/^/:/
   20892 s/[	 ]*$/:/
   20893 s/:\$(srcdir):/:/g
   20894 s/:\${srcdir}:/:/g
   20895 s/:@srcdir@:/:/g
   20896 s/^:*//
   20897 s/:*$//
   20898 x
   20899 s/\(=[	 ]*\).*/\1/
   20900 G
   20901 s/\n//
   20902 s/^[^=]*=[	 ]*$//
   20903 }'
   20904 fi
   20905 
   20906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20907 fi # test -n "$CONFIG_FILES"
   20908 
   20909 # Set up the scripts for CONFIG_HEADERS section.
   20910 # No need to generate them if there are no CONFIG_HEADERS.
   20911 # This happens for instance with `./config.status Makefile'.
   20912 if test -n "$CONFIG_HEADERS"; then
   20913 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20914 BEGIN {
   20915 _ACEOF
   20916 
   20917 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20918 # here-document in config.status, that substitutes the proper values into
   20919 # config.h.in to produce config.h.
   20920 
   20921 # Create a delimiter string that does not exist in confdefs.h, to ease
   20922 # handling of long lines.
   20923 ac_delim='%!_!# '
   20924 for ac_last_try in false false :; do
   20925   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20926   if test -z "$ac_tt"; then
   20927     break
   20928   elif $ac_last_try; then
   20929     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20930   else
   20931     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20932   fi
   20933 done
   20934 
   20935 # For the awk script, D is an array of macro values keyed by name,
   20936 # likewise P contains macro parameters if any.  Preserve backslash
   20937 # newline sequences.
   20938 
   20939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20940 sed -n '
   20941 s/.\{148\}/&'"$ac_delim"'/g
   20942 t rset
   20943 :rset
   20944 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20945 t def
   20946 d
   20947 :def
   20948 s/\\$//
   20949 t bsnl
   20950 s/["\\]/\\&/g
   20951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20952 D["\1"]=" \3"/p
   20953 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20954 d
   20955 :bsnl
   20956 s/["\\]/\\&/g
   20957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20958 D["\1"]=" \3\\\\\\n"\\/p
   20959 t cont
   20960 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20961 t cont
   20962 d
   20963 :cont
   20964 n
   20965 s/.\{148\}/&'"$ac_delim"'/g
   20966 t clear
   20967 :clear
   20968 s/\\$//
   20969 t bsnlc
   20970 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20971 d
   20972 :bsnlc
   20973 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20974 b cont
   20975 ' <confdefs.h | sed '
   20976 s/'"$ac_delim"'/"\\\
   20977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20978 
   20979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20980   for (key in D) D_is_set[key] = 1
   20981   FS = ""
   20982 }
   20983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20984   line = \$ 0
   20985   split(line, arg, " ")
   20986   if (arg[1] == "#") {
   20987     defundef = arg[2]
   20988     mac1 = arg[3]
   20989   } else {
   20990     defundef = substr(arg[1], 2)
   20991     mac1 = arg[2]
   20992   }
   20993   split(mac1, mac2, "(") #)
   20994   macro = mac2[1]
   20995   prefix = substr(line, 1, index(line, defundef) - 1)
   20996   if (D_is_set[macro]) {
   20997     # Preserve the white space surrounding the "#".
   20998     print prefix "define", macro P[macro] D[macro]
   20999     next
   21000   } else {
   21001     # Replace #undef with comments.  This is necessary, for example,
   21002     # in the case of _POSIX_SOURCE, which is predefined and required
   21003     # on some systems where configure will not decide to define it.
   21004     if (defundef == "undef") {
   21005       print "/*", prefix defundef, macro, "*/"
   21006       next
   21007     }
   21008   }
   21009 }
   21010 { print }
   21011 _ACAWK
   21012 _ACEOF
   21013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21014   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21015 fi # test -n "$CONFIG_HEADERS"
   21016 
   21017 
   21018 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21019 shift
   21020 for ac_tag
   21021 do
   21022   case $ac_tag in
   21023   :[FHLC]) ac_mode=$ac_tag; continue;;
   21024   esac
   21025   case $ac_mode$ac_tag in
   21026   :[FHL]*:*);;
   21027   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21028   :[FH]-) ac_tag=-:-;;
   21029   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21030   esac
   21031   ac_save_IFS=$IFS
   21032   IFS=:
   21033   set x $ac_tag
   21034   IFS=$ac_save_IFS
   21035   shift
   21036   ac_file=$1
   21037   shift
   21038 
   21039   case $ac_mode in
   21040   :L) ac_source=$1;;
   21041   :[FH])
   21042     ac_file_inputs=
   21043     for ac_f
   21044     do
   21045       case $ac_f in
   21046       -) ac_f="$ac_tmp/stdin";;
   21047       *) # Look for the file first in the build tree, then in the source tree
   21048 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21049 	 # because $ac_f cannot contain `:'.
   21050 	 test -f "$ac_f" ||
   21051 	   case $ac_f in
   21052 	   [\\/$]*) false;;
   21053 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21054 	   esac ||
   21055 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21056       esac
   21057       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21058       as_fn_append ac_file_inputs " '$ac_f'"
   21059     done
   21060 
   21061     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21062     # use $as_me), people would be surprised to read:
   21063     #    /* config.h.  Generated by config.status.  */
   21064     configure_input='Generated from '`
   21065 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21066 	`' by configure.'
   21067     if test x"$ac_file" != x-; then
   21068       configure_input="$ac_file.  $configure_input"
   21069       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21070 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21071     fi
   21072     # Neutralize special characters interpreted by sed in replacement strings.
   21073     case $configure_input in #(
   21074     *\&* | *\|* | *\\* )
   21075        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21076        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21077     *) ac_sed_conf_input=$configure_input;;
   21078     esac
   21079 
   21080     case $ac_tag in
   21081     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21082       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21083     esac
   21084     ;;
   21085   esac
   21086 
   21087   ac_dir=`$as_dirname -- "$ac_file" ||
   21088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21089 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21090 	 X"$ac_file" : 'X\(//\)$' \| \
   21091 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21092 printf "%s\n" X"$ac_file" |
   21093     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21094 	    s//\1/
   21095 	    q
   21096 	  }
   21097 	  /^X\(\/\/\)[^/].*/{
   21098 	    s//\1/
   21099 	    q
   21100 	  }
   21101 	  /^X\(\/\/\)$/{
   21102 	    s//\1/
   21103 	    q
   21104 	  }
   21105 	  /^X\(\/\).*/{
   21106 	    s//\1/
   21107 	    q
   21108 	  }
   21109 	  s/.*/./; q'`
   21110   as_dir="$ac_dir"; as_fn_mkdir_p
   21111   ac_builddir=.
   21112 
   21113 case "$ac_dir" in
   21114 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21115 *)
   21116   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21117   # A ".." for each directory in $ac_dir_suffix.
   21118   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21119   case $ac_top_builddir_sub in
   21120   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21121   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21122   esac ;;
   21123 esac
   21124 ac_abs_top_builddir=$ac_pwd
   21125 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21126 # for backward compatibility:
   21127 ac_top_builddir=$ac_top_build_prefix
   21128 
   21129 case $srcdir in
   21130   .)  # We are building in place.
   21131     ac_srcdir=.
   21132     ac_top_srcdir=$ac_top_builddir_sub
   21133     ac_abs_top_srcdir=$ac_pwd ;;
   21134   [\\/]* | ?:[\\/]* )  # Absolute name.
   21135     ac_srcdir=$srcdir$ac_dir_suffix;
   21136     ac_top_srcdir=$srcdir
   21137     ac_abs_top_srcdir=$srcdir ;;
   21138   *) # Relative name.
   21139     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21140     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21141     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21142 esac
   21143 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21144 
   21145 
   21146   case $ac_mode in
   21147   :F)
   21148   #
   21149   # CONFIG_FILE
   21150   #
   21151 
   21152   case $INSTALL in
   21153   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21154   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21155   esac
   21156   ac_MKDIR_P=$MKDIR_P
   21157   case $MKDIR_P in
   21158   [\\/$]* | ?:[\\/]* ) ;;
   21159   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21160   esac
   21161 _ACEOF
   21162 
   21163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21164 # If the template does not know about datarootdir, expand it.
   21165 # FIXME: This hack should be removed a few years after 2.60.
   21166 ac_datarootdir_hack=; ac_datarootdir_seen=
   21167 ac_sed_dataroot='
   21168 /datarootdir/ {
   21169   p
   21170   q
   21171 }
   21172 /@datadir@/p
   21173 /@docdir@/p
   21174 /@infodir@/p
   21175 /@localedir@/p
   21176 /@mandir@/p'
   21177 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21178 *datarootdir*) ac_datarootdir_seen=yes;;
   21179 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21181 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21182 _ACEOF
   21183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21184   ac_datarootdir_hack='
   21185   s&@datadir@&$datadir&g
   21186   s&@docdir@&$docdir&g
   21187   s&@infodir@&$infodir&g
   21188   s&@localedir@&$localedir&g
   21189   s&@mandir@&$mandir&g
   21190   s&\\\${datarootdir}&$datarootdir&g' ;;
   21191 esac
   21192 _ACEOF
   21193 
   21194 # Neutralize VPATH when `$srcdir' = `.'.
   21195 # Shell code in configure.ac might set extrasub.
   21196 # FIXME: do we really want to maintain this feature?
   21197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21198 ac_sed_extra="$ac_vpsub
   21199 $extrasub
   21200 _ACEOF
   21201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21202 :t
   21203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21204 s|@configure_input@|$ac_sed_conf_input|;t t
   21205 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21206 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21207 s&@srcdir@&$ac_srcdir&;t t
   21208 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21209 s&@top_srcdir@&$ac_top_srcdir&;t t
   21210 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21211 s&@builddir@&$ac_builddir&;t t
   21212 s&@abs_builddir@&$ac_abs_builddir&;t t
   21213 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21214 s&@INSTALL@&$ac_INSTALL&;t t
   21215 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21216 $ac_datarootdir_hack
   21217 "
   21218 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21219   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21220 
   21221 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21222   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21223   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21224       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21226 which seems to be undefined.  Please make sure it is defined" >&5
   21227 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21228 which seems to be undefined.  Please make sure it is defined" >&2;}
   21229 
   21230   rm -f "$ac_tmp/stdin"
   21231   case $ac_file in
   21232   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21233   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21234   esac \
   21235   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21236  ;;
   21237   :H)
   21238   #
   21239   # CONFIG_HEADER
   21240   #
   21241   if test x"$ac_file" != x-; then
   21242     {
   21243       printf "%s\n" "/* $configure_input  */" >&1 \
   21244       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21245     } >"$ac_tmp/config.h" \
   21246       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21247     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21248       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21249 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21250     else
   21251       rm -f "$ac_file"
   21252       mv "$ac_tmp/config.h" "$ac_file" \
   21253 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21254     fi
   21255   else
   21256     printf "%s\n" "/* $configure_input  */" >&1 \
   21257       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21258       || as_fn_error $? "could not create -" "$LINENO" 5
   21259   fi
   21260 # Compute "$ac_file"'s index in $config_headers.
   21261 _am_arg="$ac_file"
   21262 _am_stamp_count=1
   21263 for _am_header in $config_headers :; do
   21264   case $_am_header in
   21265     $_am_arg | $_am_arg:* )
   21266       break ;;
   21267     * )
   21268       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21269   esac
   21270 done
   21271 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21272 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21273 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21274 	 X"$_am_arg" : 'X\(//\)$' \| \
   21275 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21276 printf "%s\n" X"$_am_arg" |
   21277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21278 	    s//\1/
   21279 	    q
   21280 	  }
   21281 	  /^X\(\/\/\)[^/].*/{
   21282 	    s//\1/
   21283 	    q
   21284 	  }
   21285 	  /^X\(\/\/\)$/{
   21286 	    s//\1/
   21287 	    q
   21288 	  }
   21289 	  /^X\(\/\).*/{
   21290 	    s//\1/
   21291 	    q
   21292 	  }
   21293 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21294  ;;
   21295 
   21296   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21297 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21298  ;;
   21299   esac
   21300 
   21301 
   21302   case $ac_file$ac_mode in
   21303     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21304   # Older Autoconf quotes --file arguments for eval, but not when files
   21305   # are listed without --file.  Let's play safe and only enable the eval
   21306   # if we detect the quoting.
   21307   # TODO: see whether this extra hack can be removed once we start
   21308   # requiring Autoconf 2.70 or later.
   21309   case $CONFIG_FILES in #(
   21310   *\'*) :
   21311     eval set x "$CONFIG_FILES" ;; #(
   21312   *) :
   21313     set x $CONFIG_FILES ;; #(
   21314   *) :
   21315      ;;
   21316 esac
   21317   shift
   21318   # Used to flag and report bootstrapping failures.
   21319   am_rc=0
   21320   for am_mf
   21321   do
   21322     # Strip MF so we end up with the name of the file.
   21323     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21324     # Check whether this is an Automake generated Makefile which includes
   21325     # dependency-tracking related rules and includes.
   21326     # Grep'ing the whole file directly is not great: AIX grep has a line
   21327     # limit of 2048, but all sed's we know have understand at least 4000.
   21328     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21329       || continue
   21330     am_dirpart=`$as_dirname -- "$am_mf" ||
   21331 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21332 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21333 	 X"$am_mf" : 'X\(//\)$' \| \
   21334 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21335 printf "%s\n" X"$am_mf" |
   21336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21337 	    s//\1/
   21338 	    q
   21339 	  }
   21340 	  /^X\(\/\/\)[^/].*/{
   21341 	    s//\1/
   21342 	    q
   21343 	  }
   21344 	  /^X\(\/\/\)$/{
   21345 	    s//\1/
   21346 	    q
   21347 	  }
   21348 	  /^X\(\/\).*/{
   21349 	    s//\1/
   21350 	    q
   21351 	  }
   21352 	  s/.*/./; q'`
   21353     am_filepart=`$as_basename -- "$am_mf" ||
   21354 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21355 	 X"$am_mf" : 'X\(//\)$' \| \
   21356 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21357 printf "%s\n" X/"$am_mf" |
   21358     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21359 	    s//\1/
   21360 	    q
   21361 	  }
   21362 	  /^X\/\(\/\/\)$/{
   21363 	    s//\1/
   21364 	    q
   21365 	  }
   21366 	  /^X\/\(\/\).*/{
   21367 	    s//\1/
   21368 	    q
   21369 	  }
   21370 	  s/.*/./; q'`
   21371     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21372       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21373         | $MAKE -f - am--depfiles" >&5
   21374    (cd "$am_dirpart" \
   21375       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21376         | $MAKE -f - am--depfiles) >&5 2>&5
   21377    ac_status=$?
   21378    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21379    (exit $ac_status); } || am_rc=$?
   21380   done
   21381   if test $am_rc -ne 0; then
   21382     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21383 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21384 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21385     for automatic dependency tracking.  If GNU make was not used, consider
   21386     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21387     necessary).  You can also try re-running configure with the
   21388     '--disable-dependency-tracking' option to at least be able to build
   21389     the package (albeit without support for automatic dependency tracking).
   21390 See \`config.log' for more details" "$LINENO" 5; }
   21391   fi
   21392   { am_dirpart=; unset am_dirpart;}
   21393   { am_filepart=; unset am_filepart;}
   21394   { am_mf=; unset am_mf;}
   21395   { am_rc=; unset am_rc;}
   21396   rm -f conftest-deps.mk
   21397 }
   21398  ;;
   21399     "libtool":C)
   21400 
   21401     # See if we are running on zsh, and set the options that allow our
   21402     # commands through without removal of \ escapes.
   21403     if test -n "${ZSH_VERSION+set}"; then
   21404       setopt NO_GLOB_SUBST
   21405     fi
   21406 
   21407     cfgfile=${ofile}T
   21408     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21409     $RM "$cfgfile"
   21410 
   21411     cat <<_LT_EOF >> "$cfgfile"
   21412 #! $SHELL
   21413 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21415 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21416 
   21417 # Provide generalized library-building support services.
   21418 # Written by Gordon Matzigkeit, 1996
   21419 
   21420 # Copyright (C) 2014 Free Software Foundation, Inc.
   21421 # This is free software; see the source for copying conditions.  There is NO
   21422 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21423 
   21424 # GNU Libtool is free software; you can redistribute it and/or modify
   21425 # it under the terms of the GNU General Public License as published by
   21426 # the Free Software Foundation; either version 2 of of the License, or
   21427 # (at your option) any later version.
   21428 #
   21429 # As a special exception to the GNU General Public License, if you
   21430 # distribute this file as part of a program or library that is built
   21431 # using GNU Libtool, you may include this file under the  same
   21432 # distribution terms that you use for the rest of that program.
   21433 #
   21434 # GNU Libtool is distributed in the hope that it will be useful, but
   21435 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21436 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21437 # GNU General Public License for more details.
   21438 #
   21439 # You should have received a copy of the GNU General Public License
   21440 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21441 
   21442 
   21443 # The names of the tagged configurations supported by this script.
   21444 available_tags=''
   21445 
   21446 # Configured defaults for sys_lib_dlsearch_path munging.
   21447 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21448 
   21449 # ### BEGIN LIBTOOL CONFIG
   21450 
   21451 # Which release of libtool.m4 was used?
   21452 macro_version=$macro_version
   21453 macro_revision=$macro_revision
   21454 
   21455 # Whether or not to build shared libraries.
   21456 build_libtool_libs=$enable_shared
   21457 
   21458 # Whether or not to build static libraries.
   21459 build_old_libs=$enable_static
   21460 
   21461 # What type of objects to build.
   21462 pic_mode=$pic_mode
   21463 
   21464 # Whether or not to optimize for fast installation.
   21465 fast_install=$enable_fast_install
   21466 
   21467 # Shared archive member basename,for filename based shared library versioning on AIX.
   21468 shared_archive_member_spec=$shared_archive_member_spec
   21469 
   21470 # Shell to use when invoking shell scripts.
   21471 SHELL=$lt_SHELL
   21472 
   21473 # An echo program that protects backslashes.
   21474 ECHO=$lt_ECHO
   21475 
   21476 # The PATH separator for the build system.
   21477 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21478 
   21479 # The host system.
   21480 host_alias=$host_alias
   21481 host=$host
   21482 host_os=$host_os
   21483 
   21484 # The build system.
   21485 build_alias=$build_alias
   21486 build=$build
   21487 build_os=$build_os
   21488 
   21489 # A sed program that does not truncate output.
   21490 SED=$lt_SED
   21491 
   21492 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21493 Xsed="\$SED -e 1s/^X//"
   21494 
   21495 # A grep program that handles long lines.
   21496 GREP=$lt_GREP
   21497 
   21498 # An ERE matcher.
   21499 EGREP=$lt_EGREP
   21500 
   21501 # A literal string matcher.
   21502 FGREP=$lt_FGREP
   21503 
   21504 # A BSD- or MS-compatible name lister.
   21505 NM=$lt_NM
   21506 
   21507 # Whether we need soft or hard links.
   21508 LN_S=$lt_LN_S
   21509 
   21510 # What is the maximum length of a command?
   21511 max_cmd_len=$max_cmd_len
   21512 
   21513 # Object file suffix (normally "o").
   21514 objext=$ac_objext
   21515 
   21516 # Executable file suffix (normally "").
   21517 exeext=$exeext
   21518 
   21519 # whether the shell understands "unset".
   21520 lt_unset=$lt_unset
   21521 
   21522 # turn spaces into newlines.
   21523 SP2NL=$lt_lt_SP2NL
   21524 
   21525 # turn newlines into spaces.
   21526 NL2SP=$lt_lt_NL2SP
   21527 
   21528 # convert \$build file names to \$host format.
   21529 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21530 
   21531 # convert \$build files to toolchain format.
   21532 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21533 
   21534 # A file(cmd) program that detects file types.
   21535 FILECMD=$lt_FILECMD
   21536 
   21537 # An object symbol dumper.
   21538 OBJDUMP=$lt_OBJDUMP
   21539 
   21540 # Method to check whether dependent libraries are shared objects.
   21541 deplibs_check_method=$lt_deplibs_check_method
   21542 
   21543 # Command to use when deplibs_check_method = "file_magic".
   21544 file_magic_cmd=$lt_file_magic_cmd
   21545 
   21546 # How to find potential files when deplibs_check_method = "file_magic".
   21547 file_magic_glob=$lt_file_magic_glob
   21548 
   21549 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21550 want_nocaseglob=$lt_want_nocaseglob
   21551 
   21552 # DLL creation program.
   21553 DLLTOOL=$lt_DLLTOOL
   21554 
   21555 # Command to associate shared and link libraries.
   21556 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21557 
   21558 # The archiver.
   21559 AR=$lt_AR
   21560 
   21561 # Flags to create an archive (by configure).
   21562 lt_ar_flags=$lt_ar_flags
   21563 
   21564 # Flags to create an archive.
   21565 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21566 
   21567 # How to feed a file listing to the archiver.
   21568 archiver_list_spec=$lt_archiver_list_spec
   21569 
   21570 # A symbol stripping program.
   21571 STRIP=$lt_STRIP
   21572 
   21573 # Commands used to install an old-style archive.
   21574 RANLIB=$lt_RANLIB
   21575 old_postinstall_cmds=$lt_old_postinstall_cmds
   21576 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21577 
   21578 # Whether to use a lock for old archive extraction.
   21579 lock_old_archive_extraction=$lock_old_archive_extraction
   21580 
   21581 # A C compiler.
   21582 LTCC=$lt_CC
   21583 
   21584 # LTCC compiler flags.
   21585 LTCFLAGS=$lt_CFLAGS
   21586 
   21587 # Take the output of nm and produce a listing of raw symbols and C names.
   21588 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21589 
   21590 # Transform the output of nm in a proper C declaration.
   21591 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21592 
   21593 # Transform the output of nm into a list of symbols to manually relocate.
   21594 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21595 
   21596 # Transform the output of nm in a C name address pair.
   21597 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21598 
   21599 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21600 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21601 
   21602 # The name lister interface.
   21603 nm_interface=$lt_lt_cv_nm_interface
   21604 
   21605 # Specify filename containing input files for \$NM.
   21606 nm_file_list_spec=$lt_nm_file_list_spec
   21607 
   21608 # The root where to search for dependent libraries,and where our libraries should be installed.
   21609 lt_sysroot=$lt_sysroot
   21610 
   21611 # Command to truncate a binary pipe.
   21612 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21613 
   21614 # The name of the directory that contains temporary libtool files.
   21615 objdir=$objdir
   21616 
   21617 # Used to examine libraries when file_magic_cmd begins with "file".
   21618 MAGIC_CMD=$MAGIC_CMD
   21619 
   21620 # Must we lock files when doing compilation?
   21621 need_locks=$lt_need_locks
   21622 
   21623 # Manifest tool.
   21624 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21625 
   21626 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21627 DSYMUTIL=$lt_DSYMUTIL
   21628 
   21629 # Tool to change global to local symbols on Mac OS X.
   21630 NMEDIT=$lt_NMEDIT
   21631 
   21632 # Tool to manipulate fat objects and archives on Mac OS X.
   21633 LIPO=$lt_LIPO
   21634 
   21635 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21636 OTOOL=$lt_OTOOL
   21637 
   21638 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21639 OTOOL64=$lt_OTOOL64
   21640 
   21641 # Old archive suffix (normally "a").
   21642 libext=$libext
   21643 
   21644 # Shared library suffix (normally ".so").
   21645 shrext_cmds=$lt_shrext_cmds
   21646 
   21647 # The commands to extract the exported symbol list from a shared archive.
   21648 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21649 
   21650 # Variables whose values should be saved in libtool wrapper scripts and
   21651 # restored at link time.
   21652 variables_saved_for_relink=$lt_variables_saved_for_relink
   21653 
   21654 # Do we need the "lib" prefix for modules?
   21655 need_lib_prefix=$need_lib_prefix
   21656 
   21657 # Do we need a version for libraries?
   21658 need_version=$need_version
   21659 
   21660 # Library versioning type.
   21661 version_type=$version_type
   21662 
   21663 # Shared library runtime path variable.
   21664 runpath_var=$runpath_var
   21665 
   21666 # Shared library path variable.
   21667 shlibpath_var=$shlibpath_var
   21668 
   21669 # Is shlibpath searched before the hard-coded library search path?
   21670 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21671 
   21672 # Format of library name prefix.
   21673 libname_spec=$lt_libname_spec
   21674 
   21675 # List of archive names.  First name is the real one, the rest are links.
   21676 # The last name is the one that the linker finds with -lNAME
   21677 library_names_spec=$lt_library_names_spec
   21678 
   21679 # The coded name of the library, if different from the real name.
   21680 soname_spec=$lt_soname_spec
   21681 
   21682 # Permission mode override for installation of shared libraries.
   21683 install_override_mode=$lt_install_override_mode
   21684 
   21685 # Command to use after installation of a shared archive.
   21686 postinstall_cmds=$lt_postinstall_cmds
   21687 
   21688 # Command to use after uninstallation of a shared archive.
   21689 postuninstall_cmds=$lt_postuninstall_cmds
   21690 
   21691 # Commands used to finish a libtool library installation in a directory.
   21692 finish_cmds=$lt_finish_cmds
   21693 
   21694 # As "finish_cmds", except a single script fragment to be evaled but
   21695 # not shown.
   21696 finish_eval=$lt_finish_eval
   21697 
   21698 # Whether we should hardcode library paths into libraries.
   21699 hardcode_into_libs=$hardcode_into_libs
   21700 
   21701 # Compile-time system search path for libraries.
   21702 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21703 
   21704 # Detected run-time system search path for libraries.
   21705 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21706 
   21707 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21708 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21709 
   21710 # Whether dlopen is supported.
   21711 dlopen_support=$enable_dlopen
   21712 
   21713 # Whether dlopen of programs is supported.
   21714 dlopen_self=$enable_dlopen_self
   21715 
   21716 # Whether dlopen of statically linked programs is supported.
   21717 dlopen_self_static=$enable_dlopen_self_static
   21718 
   21719 # Commands to strip libraries.
   21720 old_striplib=$lt_old_striplib
   21721 striplib=$lt_striplib
   21722 
   21723 
   21724 # The linker used to build libraries.
   21725 LD=$lt_LD
   21726 
   21727 # How to create reloadable object files.
   21728 reload_flag=$lt_reload_flag
   21729 reload_cmds=$lt_reload_cmds
   21730 
   21731 # Commands used to build an old-style archive.
   21732 old_archive_cmds=$lt_old_archive_cmds
   21733 
   21734 # A language specific compiler.
   21735 CC=$lt_compiler
   21736 
   21737 # Is the compiler the GNU compiler?
   21738 with_gcc=$GCC
   21739 
   21740 # Compiler flag to turn off builtin functions.
   21741 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21742 
   21743 # Additional compiler flags for building library objects.
   21744 pic_flag=$lt_lt_prog_compiler_pic
   21745 
   21746 # How to pass a linker flag through the compiler.
   21747 wl=$lt_lt_prog_compiler_wl
   21748 
   21749 # Compiler flag to prevent dynamic linking.
   21750 link_static_flag=$lt_lt_prog_compiler_static
   21751 
   21752 # Does compiler simultaneously support -c and -o options?
   21753 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21754 
   21755 # Whether or not to add -lc for building shared libraries.
   21756 build_libtool_need_lc=$archive_cmds_need_lc
   21757 
   21758 # Whether or not to disallow shared libs when runtime libs are static.
   21759 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21760 
   21761 # Compiler flag to allow reflexive dlopens.
   21762 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21763 
   21764 # Compiler flag to generate shared objects directly from archives.
   21765 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21766 
   21767 # Whether the compiler copes with passing no objects directly.
   21768 compiler_needs_object=$lt_compiler_needs_object
   21769 
   21770 # Create an old-style archive from a shared archive.
   21771 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21772 
   21773 # Create a temporary old-style archive to link instead of a shared archive.
   21774 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21775 
   21776 # Commands used to build a shared archive.
   21777 archive_cmds=$lt_archive_cmds
   21778 archive_expsym_cmds=$lt_archive_expsym_cmds
   21779 
   21780 # Commands used to build a loadable module if different from building
   21781 # a shared archive.
   21782 module_cmds=$lt_module_cmds
   21783 module_expsym_cmds=$lt_module_expsym_cmds
   21784 
   21785 # Whether we are building with GNU ld or not.
   21786 with_gnu_ld=$lt_with_gnu_ld
   21787 
   21788 # Flag that allows shared libraries with undefined symbols to be built.
   21789 allow_undefined_flag=$lt_allow_undefined_flag
   21790 
   21791 # Flag that enforces no undefined symbols.
   21792 no_undefined_flag=$lt_no_undefined_flag
   21793 
   21794 # Flag to hardcode \$libdir into a binary during linking.
   21795 # This must work even if \$libdir does not exist
   21796 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21797 
   21798 # Whether we need a single "-rpath" flag with a separated argument.
   21799 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21800 
   21801 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21802 # DIR into the resulting binary.
   21803 hardcode_direct=$hardcode_direct
   21804 
   21805 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21806 # DIR into the resulting binary and the resulting library dependency is
   21807 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21808 # library is relocated.
   21809 hardcode_direct_absolute=$hardcode_direct_absolute
   21810 
   21811 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21812 # into the resulting binary.
   21813 hardcode_minus_L=$hardcode_minus_L
   21814 
   21815 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21816 # into the resulting binary.
   21817 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21818 
   21819 # Set to "yes" if building a shared library automatically hardcodes DIR
   21820 # into the library and all subsequent libraries and executables linked
   21821 # against it.
   21822 hardcode_automatic=$hardcode_automatic
   21823 
   21824 # Set to yes if linker adds runtime paths of dependent libraries
   21825 # to runtime path list.
   21826 inherit_rpath=$inherit_rpath
   21827 
   21828 # Whether libtool must link a program against all its dependency libraries.
   21829 link_all_deplibs=$link_all_deplibs
   21830 
   21831 # Set to "yes" if exported symbols are required.
   21832 always_export_symbols=$always_export_symbols
   21833 
   21834 # The commands to list exported symbols.
   21835 export_symbols_cmds=$lt_export_symbols_cmds
   21836 
   21837 # Symbols that should not be listed in the preloaded symbols.
   21838 exclude_expsyms=$lt_exclude_expsyms
   21839 
   21840 # Symbols that must always be exported.
   21841 include_expsyms=$lt_include_expsyms
   21842 
   21843 # Commands necessary for linking programs (against libraries) with templates.
   21844 prelink_cmds=$lt_prelink_cmds
   21845 
   21846 # Commands necessary for finishing linking programs.
   21847 postlink_cmds=$lt_postlink_cmds
   21848 
   21849 # Specify filename containing input files.
   21850 file_list_spec=$lt_file_list_spec
   21851 
   21852 # How to hardcode a shared library path into an executable.
   21853 hardcode_action=$hardcode_action
   21854 
   21855 # ### END LIBTOOL CONFIG
   21856 
   21857 _LT_EOF
   21858 
   21859     cat <<'_LT_EOF' >> "$cfgfile"
   21860 
   21861 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21862 
   21863 # func_munge_path_list VARIABLE PATH
   21864 # -----------------------------------
   21865 # VARIABLE is name of variable containing _space_ separated list of
   21866 # directories to be munged by the contents of PATH, which is string
   21867 # having a format:
   21868 # "DIR[:DIR]:"
   21869 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21870 # ":DIR[:DIR]"
   21871 #       string "DIR[ DIR]" will be appended to VARIABLE
   21872 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21873 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21874 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21875 # "DIR[:DIR]"
   21876 #       VARIABLE will be replaced by "DIR[ DIR]"
   21877 func_munge_path_list ()
   21878 {
   21879     case x$2 in
   21880     x)
   21881         ;;
   21882     *:)
   21883         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21884         ;;
   21885     x:*)
   21886         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21887         ;;
   21888     *::*)
   21889         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21890         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21891         ;;
   21892     *)
   21893         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21894         ;;
   21895     esac
   21896 }
   21897 
   21898 
   21899 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21900 func_cc_basename ()
   21901 {
   21902     for cc_temp in $*""; do
   21903       case $cc_temp in
   21904         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21905         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21906         \-*) ;;
   21907         *) break;;
   21908       esac
   21909     done
   21910     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21911 }
   21912 
   21913 
   21914 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21915 
   21916 _LT_EOF
   21917 
   21918   case $host_os in
   21919   aix3*)
   21920     cat <<\_LT_EOF >> "$cfgfile"
   21921 # AIX sometimes has problems with the GCC collect2 program.  For some
   21922 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21923 # vanish in a puff of smoke.
   21924 if test set != "${COLLECT_NAMES+set}"; then
   21925   COLLECT_NAMES=
   21926   export COLLECT_NAMES
   21927 fi
   21928 _LT_EOF
   21929     ;;
   21930   esac
   21931 
   21932 
   21933 
   21934 ltmain=$ac_aux_dir/ltmain.sh
   21935 
   21936 
   21937   # We use sed instead of cat because bash on DJGPP gets confused if
   21938   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21939   # text mode, it properly converts lines to CR/LF.  This bash problem
   21940   # is reportedly fixed, but why not run on old versions too?
   21941   $SED '$q' "$ltmain" >> "$cfgfile" \
   21942      || (rm -f "$cfgfile"; exit 1)
   21943 
   21944    mv -f "$cfgfile" "$ofile" ||
   21945     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21946   chmod +x "$ofile"
   21947 
   21948  ;;
   21949 
   21950   esac
   21951 done # for ac_tag
   21952 
   21953 
   21954 as_fn_exit 0
   21955 _ACEOF
   21956 ac_clean_files=$ac_clean_files_save
   21957 
   21958 test $ac_write_fail = 0 ||
   21959   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21960 
   21961 
   21962 # configure is writing to config.log, and then calls config.status.
   21963 # config.status does its own redirection, appending to config.log.
   21964 # Unfortunately, on DOS this fails, as config.log is still kept open
   21965 # by configure, so config.status won't be able to write to it; its
   21966 # output is simply discarded.  So we exec the FD to /dev/null,
   21967 # effectively closing config.log, so it can be properly (re)opened and
   21968 # appended to by config.status.  When coming back to configure, we
   21969 # need to make the FD available again.
   21970 if test "$no_create" != yes; then
   21971   ac_cs_success=:
   21972   ac_config_status_args=
   21973   test "$silent" = yes &&
   21974     ac_config_status_args="$ac_config_status_args --quiet"
   21975   exec 5>/dev/null
   21976   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21977   exec 5>>config.log
   21978   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21979   # would make configure fail if this is the last instruction.
   21980   $ac_cs_success || as_fn_exit 1
   21981 fi
   21982 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21984 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21985 fi
   21986 
   21987 
   21988