Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXau 1.0.10.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxau/-/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/libxau/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libXau'
    624 PACKAGE_TARNAME='libXau'
    625 PACKAGE_VERSION='1.0.10'
    626 PACKAGE_STRING='libXau 1.0.10'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxau/-/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 MAKE_LINT_LIB_FALSE
    668 MAKE_LINT_LIB_TRUE
    669 LINTLIB
    670 LINT_FALSE
    671 LINT_TRUE
    672 LINT_FLAGS
    673 LINT
    674 XAU_LIBS
    675 XAU_CFLAGS
    676 MAN_SUBSTS
    677 XORG_MAN_PAGE
    678 ADMIN_MAN_DIR
    679 DRIVER_MAN_DIR
    680 MISC_MAN_DIR
    681 FILE_MAN_DIR
    682 LIB_MAN_DIR
    683 APP_MAN_DIR
    684 ADMIN_MAN_SUFFIX
    685 DRIVER_MAN_SUFFIX
    686 MISC_MAN_SUFFIX
    687 FILE_MAN_SUFFIX
    688 LIB_MAN_SUFFIX
    689 APP_MAN_SUFFIX
    690 INSTALL_CMD
    691 PKG_CONFIG_LIBDIR
    692 PKG_CONFIG_PATH
    693 PKG_CONFIG
    694 CHANGELOG_CMD
    695 STRICT_CFLAGS
    696 CWARNFLAGS
    697 BASE_CFLAGS
    698 LT_SYS_LIBRARY_PATH
    699 OTOOL64
    700 OTOOL
    701 LIPO
    702 NMEDIT
    703 DSYMUTIL
    704 MANIFEST_TOOL
    705 RANLIB
    706 ac_ct_AR
    707 AR
    708 FILECMD
    709 LN_S
    710 NM
    711 ac_ct_DUMPBIN
    712 DUMPBIN
    713 LD
    714 FGREP
    715 EGREP
    716 GREP
    717 SED
    718 LIBTOOL
    719 OBJDUMP
    720 DLLTOOL
    721 AS
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 build_os
    727 build_vendor
    728 build_cpu
    729 build
    730 AM_BACKSLASH
    731 AM_DEFAULT_VERBOSITY
    732 AM_DEFAULT_V
    733 AM_V
    734 CSCOPE
    735 ETAGS
    736 CTAGS
    737 am__fastdepCC_FALSE
    738 am__fastdepCC_TRUE
    739 CCDEPMODE
    740 am__nodep
    741 AMDEPBACKSLASH
    742 AMDEP_FALSE
    743 AMDEP_TRUE
    744 am__include
    745 DEPDIR
    746 am__untar
    747 am__tar
    748 AMTAR
    749 am__leading_dot
    750 SET_MAKE
    751 AWK
    752 mkdir_p
    753 MKDIR_P
    754 INSTALL_STRIP_PROGRAM
    755 STRIP
    756 install_sh
    757 MAKEINFO
    758 AUTOHEADER
    759 AUTOMAKE
    760 AUTOCONF
    761 ACLOCAL
    762 VERSION
    763 PACKAGE
    764 CYGPATH_W
    765 am__isrc
    766 INSTALL_DATA
    767 INSTALL_SCRIPT
    768 INSTALL_PROGRAM
    769 OBJEXT
    770 EXEEXT
    771 ac_ct_CC
    772 CPPFLAGS
    773 LDFLAGS
    774 CFLAGS
    775 CC
    776 target_alias
    777 host_alias
    778 build_alias
    779 LIBS
    780 ECHO_T
    781 ECHO_N
    782 ECHO_C
    783 DEFS
    784 mandir
    785 localedir
    786 libdir
    787 psdir
    788 pdfdir
    789 dvidir
    790 htmldir
    791 infodir
    792 docdir
    793 oldincludedir
    794 includedir
    795 runstatedir
    796 localstatedir
    797 sharedstatedir
    798 sysconfdir
    799 datadir
    800 datarootdir
    801 libexecdir
    802 sbindir
    803 bindir
    804 program_transform_name
    805 prefix
    806 exec_prefix
    807 PACKAGE_URL
    808 PACKAGE_BUGREPORT
    809 PACKAGE_STRING
    810 PACKAGE_VERSION
    811 PACKAGE_TARNAME
    812 PACKAGE_NAME
    813 PATH_SEPARATOR
    814 SHELL
    815 am__quote'
    816 ac_subst_files=''
    817 ac_user_opts='
    818 enable_option_checking
    819 enable_dependency_tracking
    820 enable_silent_rules
    821 enable_shared
    822 enable_static
    823 with_pic
    824 enable_fast_install
    825 with_aix_soname
    826 with_gnu_ld
    827 with_sysroot
    828 enable_libtool_lock
    829 enable_selective_werror
    830 enable_strict_compilation
    831 enable_xthreads
    832 with_lint
    833 enable_lint_library
    834 '
    835       ac_precious_vars='build_alias
    836 host_alias
    837 target_alias
    838 CC
    839 CFLAGS
    840 LDFLAGS
    841 LIBS
    842 CPPFLAGS
    843 LT_SYS_LIBRARY_PATH
    844 PKG_CONFIG
    845 PKG_CONFIG_PATH
    846 PKG_CONFIG_LIBDIR
    847 XAU_CFLAGS
    848 XAU_LIBS
    849 LINT
    850 LINT_FLAGS'
    851 
    852 
    853 # Initialize some variables set by options.
    854 ac_init_help=
    855 ac_init_version=false
    856 ac_unrecognized_opts=
    857 ac_unrecognized_sep=
    858 # The variables have the same names as the options, with
    859 # dashes changed to underlines.
    860 cache_file=/dev/null
    861 exec_prefix=NONE
    862 no_create=
    863 no_recursion=
    864 prefix=NONE
    865 program_prefix=NONE
    866 program_suffix=NONE
    867 program_transform_name=s,x,x,
    868 silent=
    869 site=
    870 srcdir=
    871 verbose=
    872 x_includes=NONE
    873 x_libraries=NONE
    874 
    875 # Installation directory options.
    876 # These are left unexpanded so users can "make install exec_prefix=/foo"
    877 # and all the variables that are supposed to be based on exec_prefix
    878 # by default will actually change.
    879 # Use braces instead of parens because sh, perl, etc. also accept them.
    880 # (The list follows the same order as the GNU Coding Standards.)
    881 bindir='${exec_prefix}/bin'
    882 sbindir='${exec_prefix}/sbin'
    883 libexecdir='${exec_prefix}/libexec'
    884 datarootdir='${prefix}/share'
    885 datadir='${datarootdir}'
    886 sysconfdir='${prefix}/etc'
    887 sharedstatedir='${prefix}/com'
    888 localstatedir='${prefix}/var'
    889 runstatedir='${localstatedir}/run'
    890 includedir='${prefix}/include'
    891 oldincludedir='/usr/include'
    892 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    893 infodir='${datarootdir}/info'
    894 htmldir='${docdir}'
    895 dvidir='${docdir}'
    896 pdfdir='${docdir}'
    897 psdir='${docdir}'
    898 libdir='${exec_prefix}/lib'
    899 localedir='${datarootdir}/locale'
    900 mandir='${datarootdir}/man'
    901 
    902 ac_prev=
    903 ac_dashdash=
    904 for ac_option
    905 do
    906   # If the previous option needs an argument, assign it.
    907   if test -n "$ac_prev"; then
    908     eval $ac_prev=\$ac_option
    909     ac_prev=
    910     continue
    911   fi
    912 
    913   case $ac_option in
    914   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    915   *=)   ac_optarg= ;;
    916   *)    ac_optarg=yes ;;
    917   esac
    918 
    919   case $ac_dashdash$ac_option in
    920   --)
    921     ac_dashdash=yes ;;
    922 
    923   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    924     ac_prev=bindir ;;
    925   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    926     bindir=$ac_optarg ;;
    927 
    928   -build | --build | --buil | --bui | --bu)
    929     ac_prev=build_alias ;;
    930   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    931     build_alias=$ac_optarg ;;
    932 
    933   -cache-file | --cache-file | --cache-fil | --cache-fi \
    934   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    935     ac_prev=cache_file ;;
    936   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    937   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    938     cache_file=$ac_optarg ;;
    939 
    940   --config-cache | -C)
    941     cache_file=config.cache ;;
    942 
    943   -datadir | --datadir | --datadi | --datad)
    944     ac_prev=datadir ;;
    945   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    946     datadir=$ac_optarg ;;
    947 
    948   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    949   | --dataroo | --dataro | --datar)
    950     ac_prev=datarootdir ;;
    951   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    952   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    953     datarootdir=$ac_optarg ;;
    954 
    955   -disable-* | --disable-*)
    956     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    957     # Reject names that are not valid shell variable names.
    958     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    959       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    960     ac_useropt_orig=$ac_useropt
    961     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    962     case $ac_user_opts in
    963       *"
    964 "enable_$ac_useropt"
    965 "*) ;;
    966       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    967 	 ac_unrecognized_sep=', ';;
    968     esac
    969     eval enable_$ac_useropt=no ;;
    970 
    971   -docdir | --docdir | --docdi | --doc | --do)
    972     ac_prev=docdir ;;
    973   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    974     docdir=$ac_optarg ;;
    975 
    976   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    977     ac_prev=dvidir ;;
    978   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    979     dvidir=$ac_optarg ;;
    980 
    981   -enable-* | --enable-*)
    982     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    983     # Reject names that are not valid shell variable names.
    984     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    986     ac_useropt_orig=$ac_useropt
    987     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    988     case $ac_user_opts in
    989       *"
    990 "enable_$ac_useropt"
    991 "*) ;;
    992       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    993 	 ac_unrecognized_sep=', ';;
    994     esac
    995     eval enable_$ac_useropt=\$ac_optarg ;;
    996 
    997   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    998   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    999   | --exec | --exe | --ex)
   1000     ac_prev=exec_prefix ;;
   1001   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1002   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1003   | --exec=* | --exe=* | --ex=*)
   1004     exec_prefix=$ac_optarg ;;
   1005 
   1006   -gas | --gas | --ga | --g)
   1007     # Obsolete; use --with-gas.
   1008     with_gas=yes ;;
   1009 
   1010   -help | --help | --hel | --he | -h)
   1011     ac_init_help=long ;;
   1012   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1013     ac_init_help=recursive ;;
   1014   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1015     ac_init_help=short ;;
   1016 
   1017   -host | --host | --hos | --ho)
   1018     ac_prev=host_alias ;;
   1019   -host=* | --host=* | --hos=* | --ho=*)
   1020     host_alias=$ac_optarg ;;
   1021 
   1022   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1023     ac_prev=htmldir ;;
   1024   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1025   | --ht=*)
   1026     htmldir=$ac_optarg ;;
   1027 
   1028   -includedir | --includedir | --includedi | --included | --include \
   1029   | --includ | --inclu | --incl | --inc)
   1030     ac_prev=includedir ;;
   1031   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1032   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1033     includedir=$ac_optarg ;;
   1034 
   1035   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1036     ac_prev=infodir ;;
   1037   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1038     infodir=$ac_optarg ;;
   1039 
   1040   -libdir | --libdir | --libdi | --libd)
   1041     ac_prev=libdir ;;
   1042   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1043     libdir=$ac_optarg ;;
   1044 
   1045   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1046   | --libexe | --libex | --libe)
   1047     ac_prev=libexecdir ;;
   1048   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1049   | --libexe=* | --libex=* | --libe=*)
   1050     libexecdir=$ac_optarg ;;
   1051 
   1052   -localedir | --localedir | --localedi | --localed | --locale)
   1053     ac_prev=localedir ;;
   1054   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1055     localedir=$ac_optarg ;;
   1056 
   1057   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1058   | --localstate | --localstat | --localsta | --localst | --locals)
   1059     ac_prev=localstatedir ;;
   1060   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1061   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1062     localstatedir=$ac_optarg ;;
   1063 
   1064   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1065     ac_prev=mandir ;;
   1066   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1067     mandir=$ac_optarg ;;
   1068 
   1069   -nfp | --nfp | --nf)
   1070     # Obsolete; use --without-fp.
   1071     with_fp=no ;;
   1072 
   1073   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1074   | --no-cr | --no-c | -n)
   1075     no_create=yes ;;
   1076 
   1077   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1078   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1079     no_recursion=yes ;;
   1080 
   1081   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1082   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1083   | --oldin | --oldi | --old | --ol | --o)
   1084     ac_prev=oldincludedir ;;
   1085   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1086   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1087   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1088     oldincludedir=$ac_optarg ;;
   1089 
   1090   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1091     ac_prev=prefix ;;
   1092   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1093     prefix=$ac_optarg ;;
   1094 
   1095   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1096   | --program-pre | --program-pr | --program-p)
   1097     ac_prev=program_prefix ;;
   1098   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1099   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1100     program_prefix=$ac_optarg ;;
   1101 
   1102   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1103   | --program-suf | --program-su | --program-s)
   1104     ac_prev=program_suffix ;;
   1105   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1106   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1107     program_suffix=$ac_optarg ;;
   1108 
   1109   -program-transform-name | --program-transform-name \
   1110   | --program-transform-nam | --program-transform-na \
   1111   | --program-transform-n | --program-transform- \
   1112   | --program-transform | --program-transfor \
   1113   | --program-transfo | --program-transf \
   1114   | --program-trans | --program-tran \
   1115   | --progr-tra | --program-tr | --program-t)
   1116     ac_prev=program_transform_name ;;
   1117   -program-transform-name=* | --program-transform-name=* \
   1118   | --program-transform-nam=* | --program-transform-na=* \
   1119   | --program-transform-n=* | --program-transform-=* \
   1120   | --program-transform=* | --program-transfor=* \
   1121   | --program-transfo=* | --program-transf=* \
   1122   | --program-trans=* | --program-tran=* \
   1123   | --progr-tra=* | --program-tr=* | --program-t=*)
   1124     program_transform_name=$ac_optarg ;;
   1125 
   1126   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1127     ac_prev=pdfdir ;;
   1128   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1129     pdfdir=$ac_optarg ;;
   1130 
   1131   -psdir | --psdir | --psdi | --psd | --ps)
   1132     ac_prev=psdir ;;
   1133   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1134     psdir=$ac_optarg ;;
   1135 
   1136   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1137   | -silent | --silent | --silen | --sile | --sil)
   1138     silent=yes ;;
   1139 
   1140   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1141   | --runstate | --runstat | --runsta | --runst | --runs \
   1142   | --run | --ru | --r)
   1143     ac_prev=runstatedir ;;
   1144   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1145   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1146   | --run=* | --ru=* | --r=*)
   1147     runstatedir=$ac_optarg ;;
   1148 
   1149   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1150     ac_prev=sbindir ;;
   1151   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1152   | --sbi=* | --sb=*)
   1153     sbindir=$ac_optarg ;;
   1154 
   1155   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1156   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1157   | --sharedst | --shareds | --shared | --share | --shar \
   1158   | --sha | --sh)
   1159     ac_prev=sharedstatedir ;;
   1160   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1161   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1162   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1163   | --sha=* | --sh=*)
   1164     sharedstatedir=$ac_optarg ;;
   1165 
   1166   -site | --site | --sit)
   1167     ac_prev=site ;;
   1168   -site=* | --site=* | --sit=*)
   1169     site=$ac_optarg ;;
   1170 
   1171   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1172     ac_prev=srcdir ;;
   1173   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1174     srcdir=$ac_optarg ;;
   1175 
   1176   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1177   | --syscon | --sysco | --sysc | --sys | --sy)
   1178     ac_prev=sysconfdir ;;
   1179   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1180   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1181     sysconfdir=$ac_optarg ;;
   1182 
   1183   -target | --target | --targe | --targ | --tar | --ta | --t)
   1184     ac_prev=target_alias ;;
   1185   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1186     target_alias=$ac_optarg ;;
   1187 
   1188   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1189     verbose=yes ;;
   1190 
   1191   -version | --version | --versio | --versi | --vers | -V)
   1192     ac_init_version=: ;;
   1193 
   1194   -with-* | --with-*)
   1195     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1196     # Reject names that are not valid shell variable names.
   1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1198       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1199     ac_useropt_orig=$ac_useropt
   1200     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1201     case $ac_user_opts in
   1202       *"
   1203 "with_$ac_useropt"
   1204 "*) ;;
   1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1206 	 ac_unrecognized_sep=', ';;
   1207     esac
   1208     eval with_$ac_useropt=\$ac_optarg ;;
   1209 
   1210   -without-* | --without-*)
   1211     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1212     # Reject names that are not valid shell variable names.
   1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1214       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1215     ac_useropt_orig=$ac_useropt
   1216     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1217     case $ac_user_opts in
   1218       *"
   1219 "with_$ac_useropt"
   1220 "*) ;;
   1221       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1222 	 ac_unrecognized_sep=', ';;
   1223     esac
   1224     eval with_$ac_useropt=no ;;
   1225 
   1226   --x)
   1227     # Obsolete; use --with-x.
   1228     with_x=yes ;;
   1229 
   1230   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1231   | --x-incl | --x-inc | --x-in | --x-i)
   1232     ac_prev=x_includes ;;
   1233   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1234   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1235     x_includes=$ac_optarg ;;
   1236 
   1237   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1238   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1239     ac_prev=x_libraries ;;
   1240   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1241   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1242     x_libraries=$ac_optarg ;;
   1243 
   1244   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1245 Try \`$0 --help' for more information"
   1246     ;;
   1247 
   1248   *=*)
   1249     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1250     # Reject names that are not valid shell variable names.
   1251     case $ac_envvar in #(
   1252       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1253       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1254     esac
   1255     eval $ac_envvar=\$ac_optarg
   1256     export $ac_envvar ;;
   1257 
   1258   *)
   1259     # FIXME: should be removed in autoconf 3.0.
   1260     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1261     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1262       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1263     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1264     ;;
   1265 
   1266   esac
   1267 done
   1268 
   1269 if test -n "$ac_prev"; then
   1270   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1271   as_fn_error $? "missing argument to $ac_option"
   1272 fi
   1273 
   1274 if test -n "$ac_unrecognized_opts"; then
   1275   case $enable_option_checking in
   1276     no) ;;
   1277     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1278     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1279   esac
   1280 fi
   1281 
   1282 # Check all directory arguments for consistency.
   1283 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1284 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1285 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1286 		libdir localedir mandir runstatedir
   1287 do
   1288   eval ac_val=\$$ac_var
   1289   # Remove trailing slashes.
   1290   case $ac_val in
   1291     */ )
   1292       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1293       eval $ac_var=\$ac_val;;
   1294   esac
   1295   # Be sure to have absolute directory names.
   1296   case $ac_val in
   1297     [\\/$]* | ?:[\\/]* )  continue;;
   1298     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1299   esac
   1300   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1301 done
   1302 
   1303 # There might be people who depend on the old broken behavior: `$host'
   1304 # used to hold the argument of --host etc.
   1305 # FIXME: To remove some day.
   1306 build=$build_alias
   1307 host=$host_alias
   1308 target=$target_alias
   1309 
   1310 # FIXME: To remove some day.
   1311 if test "x$host_alias" != x; then
   1312   if test "x$build_alias" = x; then
   1313     cross_compiling=maybe
   1314   elif test "x$build_alias" != "x$host_alias"; then
   1315     cross_compiling=yes
   1316   fi
   1317 fi
   1318 
   1319 ac_tool_prefix=
   1320 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1321 
   1322 test "$silent" = yes && exec 6>/dev/null
   1323 
   1324 
   1325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1326 ac_ls_di=`ls -di .` &&
   1327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1328   as_fn_error $? "working directory cannot be determined"
   1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1330   as_fn_error $? "pwd does not report name of working directory"
   1331 
   1332 
   1333 # Find the source files, if location was not specified.
   1334 if test -z "$srcdir"; then
   1335   ac_srcdir_defaulted=yes
   1336   # Try the directory containing this script, then the parent directory.
   1337   ac_confdir=`$as_dirname -- "$as_myself" ||
   1338 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1339 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1340 	 X"$as_myself" : 'X\(//\)$' \| \
   1341 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1342 printf "%s\n" X"$as_myself" |
   1343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\/\)[^/].*/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  /^X\(\/\/\)$/{
   1352 	    s//\1/
   1353 	    q
   1354 	  }
   1355 	  /^X\(\/\).*/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  s/.*/./; q'`
   1360   srcdir=$ac_confdir
   1361   if test ! -r "$srcdir/$ac_unique_file"; then
   1362     srcdir=..
   1363   fi
   1364 else
   1365   ac_srcdir_defaulted=no
   1366 fi
   1367 if test ! -r "$srcdir/$ac_unique_file"; then
   1368   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1369   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1370 fi
   1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1372 ac_abs_confdir=`(
   1373 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1374 	pwd)`
   1375 # When building in place, set srcdir=.
   1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1377   srcdir=.
   1378 fi
   1379 # Remove unnecessary trailing slashes from srcdir.
   1380 # Double slashes in file names in object file debugging info
   1381 # mess up M-x gdb in Emacs.
   1382 case $srcdir in
   1383 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1384 esac
   1385 for ac_var in $ac_precious_vars; do
   1386   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_env_${ac_var}_value=\$${ac_var}
   1388   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1390 done
   1391 
   1392 #
   1393 # Report the --help message.
   1394 #
   1395 if test "$ac_init_help" = "long"; then
   1396   # Omit some internal or obsolete options to make the list less imposing.
   1397   # This message is too long to be a string in the A/UX 3.1 sh.
   1398   cat <<_ACEOF
   1399 \`configure' configures libXau 1.0.10 to adapt to many kinds of systems.
   1400 
   1401 Usage: $0 [OPTION]... [VAR=VALUE]...
   1402 
   1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1404 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1405 
   1406 Defaults for the options are specified in brackets.
   1407 
   1408 Configuration:
   1409   -h, --help              display this help and exit
   1410       --help=short        display options specific to this package
   1411       --help=recursive    display the short help of all the included packages
   1412   -V, --version           display version information and exit
   1413   -q, --quiet, --silent   do not print \`checking ...' messages
   1414       --cache-file=FILE   cache test results in FILE [disabled]
   1415   -C, --config-cache      alias for \`--cache-file=config.cache'
   1416   -n, --no-create         do not create output files
   1417       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1418 
   1419 Installation directories:
   1420   --prefix=PREFIX         install architecture-independent files in PREFIX
   1421                           [$ac_default_prefix]
   1422   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1423                           [PREFIX]
   1424 
   1425 By default, \`make install' will install all the files in
   1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1428 for instance \`--prefix=\$HOME'.
   1429 
   1430 For better control, use the options below.
   1431 
   1432 Fine tuning of the installation directories:
   1433   --bindir=DIR            user executables [EPREFIX/bin]
   1434   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1435   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1436   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1437   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1438   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1439   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1440   --libdir=DIR            object code libraries [EPREFIX/lib]
   1441   --includedir=DIR        C header files [PREFIX/include]
   1442   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1443   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1444   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1445   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1446   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1447   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1448   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXau]
   1449   --htmldir=DIR           html documentation [DOCDIR]
   1450   --dvidir=DIR            dvi documentation [DOCDIR]
   1451   --pdfdir=DIR            pdf documentation [DOCDIR]
   1452   --psdir=DIR             ps documentation [DOCDIR]
   1453 _ACEOF
   1454 
   1455   cat <<\_ACEOF
   1456 
   1457 Program names:
   1458   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1459   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1460   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1461 
   1462 System types:
   1463   --build=BUILD     configure for building on BUILD [guessed]
   1464   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1465 _ACEOF
   1466 fi
   1467 
   1468 if test -n "$ac_init_help"; then
   1469   case $ac_init_help in
   1470      short | recursive ) echo "Configuration of libXau 1.0.10:";;
   1471    esac
   1472   cat <<\_ACEOF
   1473 
   1474 Optional Features:
   1475   --disable-option-checking  ignore unrecognized --enable/--with options
   1476   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1477   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1478   --enable-dependency-tracking
   1479                           do not reject slow dependency extractors
   1480   --disable-dependency-tracking
   1481                           speeds up one-time build
   1482   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1483   --disable-silent-rules  verbose build output (undo: "make V=0")
   1484   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1485   --enable-static[=PKGS]  build static libraries [default=yes]
   1486   --enable-fast-install[=PKGS]
   1487                           optimize for fast installation [default=yes]
   1488   --disable-libtool-lock  avoid locking (might break parallel builds)
   1489   --disable-selective-werror
   1490                           Turn off selective compiler errors. (default:
   1491                           enabled)
   1492   --enable-strict-compilation
   1493                           Enable all warnings from compiler and make them
   1494                           errors (default: disabled)
   1495   --disable-xthreads      Disable libXau support for Multithreading
   1496   --enable-lint-library   Create lint library (default: disabled)
   1497 
   1498 Optional Packages:
   1499   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1500   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1501   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1502                           both]
   1503   --with-aix-soname=aix|svr4|both
   1504                           shared library versioning (aka "SONAME") variant to
   1505                           provide on AIX, [default=aix].
   1506   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1507   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1508                           compiler's sysroot if not specified).
   1509   --with-lint             Use a lint-style source code checker (default:
   1510                           disabled)
   1511 
   1512 Some influential environment variables:
   1513   CC          C compiler command
   1514   CFLAGS      C compiler flags
   1515   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1516               nonstandard directory <lib dir>
   1517   LIBS        libraries to pass to the linker, e.g. -l<library>
   1518   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1519               you have headers in a nonstandard directory <include dir>
   1520   LT_SYS_LIBRARY_PATH
   1521               User-defined run-time library search path.
   1522   PKG_CONFIG  path to pkg-config utility
   1523   PKG_CONFIG_PATH
   1524               directories to add to pkg-config's search path
   1525   PKG_CONFIG_LIBDIR
   1526               path overriding pkg-config's built-in search path
   1527   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1528   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1529   LINT        Path to a lint-style command
   1530   LINT_FLAGS  Flags for the lint-style command
   1531 
   1532 Use these variables to override the choices made by `configure' or to help
   1533 it to find libraries and programs with nonstandard names/locations.
   1534 
   1535 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxau/-/issues>.
   1536 _ACEOF
   1537 ac_status=$?
   1538 fi
   1539 
   1540 if test "$ac_init_help" = "recursive"; then
   1541   # If there are subdirs, report their specific --help.
   1542   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1543     test -d "$ac_dir" ||
   1544       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1545       continue
   1546     ac_builddir=.
   1547 
   1548 case "$ac_dir" in
   1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1550 *)
   1551   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1552   # A ".." for each directory in $ac_dir_suffix.
   1553   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1554   case $ac_top_builddir_sub in
   1555   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1556   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1557   esac ;;
   1558 esac
   1559 ac_abs_top_builddir=$ac_pwd
   1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1561 # for backward compatibility:
   1562 ac_top_builddir=$ac_top_build_prefix
   1563 
   1564 case $srcdir in
   1565   .)  # We are building in place.
   1566     ac_srcdir=.
   1567     ac_top_srcdir=$ac_top_builddir_sub
   1568     ac_abs_top_srcdir=$ac_pwd ;;
   1569   [\\/]* | ?:[\\/]* )  # Absolute name.
   1570     ac_srcdir=$srcdir$ac_dir_suffix;
   1571     ac_top_srcdir=$srcdir
   1572     ac_abs_top_srcdir=$srcdir ;;
   1573   *) # Relative name.
   1574     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1575     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1576     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1577 esac
   1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1579 
   1580     cd "$ac_dir" || { ac_status=$?; continue; }
   1581     # Check for configure.gnu first; this name is used for a wrapper for
   1582     # Metaconfig's "Configure" on case-insensitive file systems.
   1583     if test -f "$ac_srcdir/configure.gnu"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1586     elif test -f "$ac_srcdir/configure"; then
   1587       echo &&
   1588       $SHELL "$ac_srcdir/configure" --help=recursive
   1589     else
   1590       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1591     fi || ac_status=$?
   1592     cd "$ac_pwd" || { ac_status=$?; break; }
   1593   done
   1594 fi
   1595 
   1596 test -n "$ac_init_help" && exit $ac_status
   1597 if $ac_init_version; then
   1598   cat <<\_ACEOF
   1599 libXau configure 1.0.10
   1600 generated by GNU Autoconf 2.71
   1601 
   1602 Copyright (C) 2021 Free Software Foundation, Inc.
   1603 This configure script is free software; the Free Software Foundation
   1604 gives unlimited permission to copy, distribute and modify it.
   1605 _ACEOF
   1606   exit
   1607 fi
   1608 
   1609 ## ------------------------ ##
   1610 ## Autoconf initialization. ##
   1611 ## ------------------------ ##
   1612 
   1613 # ac_fn_c_try_compile LINENO
   1614 # --------------------------
   1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1616 ac_fn_c_try_compile ()
   1617 {
   1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1619   rm -f conftest.$ac_objext conftest.beam
   1620   if { { ac_try="$ac_compile"
   1621 case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 printf "%s\n" "$ac_try_echo"; } >&5
   1627   (eval "$ac_compile") 2>conftest.err
   1628   ac_status=$?
   1629   if test -s conftest.err; then
   1630     grep -v '^ *+' conftest.err >conftest.er1
   1631     cat conftest.er1 >&5
   1632     mv -f conftest.er1 conftest.err
   1633   fi
   1634   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1635   test $ac_status = 0; } && {
   1636 	 test -z "$ac_c_werror_flag" ||
   1637 	 test ! -s conftest.err
   1638        } && test -s conftest.$ac_objext
   1639 then :
   1640   ac_retval=0
   1641 else $as_nop
   1642   printf "%s\n" "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645 	ac_retval=1
   1646 fi
   1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1648   as_fn_set_status $ac_retval
   1649 
   1650 } # ac_fn_c_try_compile
   1651 
   1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1653 # -------------------------------------------------------
   1654 # Tests whether HEADER exists and can be compiled using the include files in
   1655 # INCLUDES, setting the cache variable VAR accordingly.
   1656 ac_fn_c_check_header_compile ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1660 printf %s "checking for $2... " >&6; }
   1661 if eval test \${$3+y}
   1662 then :
   1663   printf %s "(cached) " >&6
   1664 else $as_nop
   1665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1666 /* end confdefs.h.  */
   1667 $4
   1668 #include <$2>
   1669 _ACEOF
   1670 if ac_fn_c_try_compile "$LINENO"
   1671 then :
   1672   eval "$3=yes"
   1673 else $as_nop
   1674   eval "$3=no"
   1675 fi
   1676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1677 fi
   1678 eval ac_res=\$$3
   1679 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1680 printf "%s\n" "$ac_res" >&6; }
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682 
   1683 } # ac_fn_c_check_header_compile
   1684 
   1685 # ac_fn_c_try_link LINENO
   1686 # -----------------------
   1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_link ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1692   if { { ac_try="$ac_link"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 printf "%s\n" "$ac_try_echo"; } >&5
   1699   (eval "$ac_link") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && {
   1708 	 test -z "$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        } && test -s conftest$ac_exeext && {
   1711 	 test "$cross_compiling" = yes ||
   1712 	 test -x conftest$ac_exeext
   1713        }
   1714 then :
   1715   ac_retval=0
   1716 else $as_nop
   1717   printf "%s\n" "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720 	ac_retval=1
   1721 fi
   1722   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1723   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1724   # interfere with the next link command; also delete a directory that is
   1725   # left behind by Apple's compiler.  We do this before executing the actions.
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_link
   1731 
   1732 # ac_fn_c_check_func LINENO FUNC VAR
   1733 # ----------------------------------
   1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1735 ac_fn_c_check_func ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 printf %s "checking for $2... " >&6; }
   1740 if eval test \${$3+y}
   1741 then :
   1742   printf %s "(cached) " >&6
   1743 else $as_nop
   1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1745 /* end confdefs.h.  */
   1746 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1748 #define $2 innocuous_$2
   1749 
   1750 /* System header to define __stub macros and hopefully few prototypes,
   1751    which can conflict with char $2 (); below.  */
   1752 
   1753 #include <limits.h>
   1754 #undef $2
   1755 
   1756 /* Override any GCC internal prototype to avoid an error.
   1757    Use char because int might match the return type of a GCC
   1758    builtin and then its argument prototype would still apply.  */
   1759 #ifdef __cplusplus
   1760 extern "C"
   1761 #endif
   1762 char $2 ();
   1763 /* The GNU C library defines this for functions which it implements
   1764     to always fail with ENOSYS.  Some functions are actually named
   1765     something starting with __ and the normal name is an alias.  */
   1766 #if defined __stub_$2 || defined __stub___$2
   1767 choke me
   1768 #endif
   1769 
   1770 int
   1771 main (void)
   1772 {
   1773 return $2 ();
   1774   ;
   1775   return 0;
   1776 }
   1777 _ACEOF
   1778 if ac_fn_c_try_link "$LINENO"
   1779 then :
   1780   eval "$3=yes"
   1781 else $as_nop
   1782   eval "$3=no"
   1783 fi
   1784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1785     conftest$ac_exeext conftest.$ac_ext
   1786 fi
   1787 eval ac_res=\$$3
   1788 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1789 printf "%s\n" "$ac_res" >&6; }
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791 
   1792 } # ac_fn_c_check_func
   1793 
   1794 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1795 # ------------------------------------------------------------------
   1796 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1797 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1798 ac_fn_check_decl ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1803 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1804 if eval test \${$3+y}
   1805 then :
   1806   printf %s "(cached) " >&6
   1807 else $as_nop
   1808   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1809   eval ac_save_FLAGS=\$$6
   1810   as_fn_append $6 " $5"
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 $4
   1814 int
   1815 main (void)
   1816 {
   1817 #ifndef $as_decl_name
   1818 #ifdef __cplusplus
   1819   (void) $as_decl_use;
   1820 #else
   1821   (void) $as_decl_name;
   1822 #endif
   1823 #endif
   1824 
   1825   ;
   1826   return 0;
   1827 }
   1828 _ACEOF
   1829 if ac_fn_c_try_compile "$LINENO"
   1830 then :
   1831   eval "$3=yes"
   1832 else $as_nop
   1833   eval "$3=no"
   1834 fi
   1835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1836   eval $6=\$ac_save_FLAGS
   1837 
   1838 fi
   1839 eval ac_res=\$$3
   1840 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1841 printf "%s\n" "$ac_res" >&6; }
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843 
   1844 } # ac_fn_check_decl
   1845 ac_configure_args_raw=
   1846 for ac_arg
   1847 do
   1848   case $ac_arg in
   1849   *\'*)
   1850     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1851   esac
   1852   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1853 done
   1854 
   1855 case $ac_configure_args_raw in
   1856   *$as_nl*)
   1857     ac_safe_unquote= ;;
   1858   *)
   1859     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1860     ac_unsafe_a="$ac_unsafe_z#~"
   1861     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1862     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1863 esac
   1864 
   1865 cat >config.log <<_ACEOF
   1866 This file contains any messages produced by compilers while
   1867 running configure, to aid debugging if configure makes a mistake.
   1868 
   1869 It was created by libXau $as_me 1.0.10, which was
   1870 generated by GNU Autoconf 2.71.  Invocation command line was
   1871 
   1872   $ $0$ac_configure_args_raw
   1873 
   1874 _ACEOF
   1875 exec 5>>config.log
   1876 {
   1877 cat <<_ASUNAME
   1878 ## --------- ##
   1879 ## Platform. ##
   1880 ## --------- ##
   1881 
   1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1887 
   1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1889 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1890 
   1891 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1892 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1894 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1895 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1896 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1897 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1898 
   1899 _ASUNAME
   1900 
   1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1902 for as_dir in $PATH
   1903 do
   1904   IFS=$as_save_IFS
   1905   case $as_dir in #(((
   1906     '') as_dir=./ ;;
   1907     */) ;;
   1908     *) as_dir=$as_dir/ ;;
   1909   esac
   1910     printf "%s\n" "PATH: $as_dir"
   1911   done
   1912 IFS=$as_save_IFS
   1913 
   1914 } >&5
   1915 
   1916 cat >&5 <<_ACEOF
   1917 
   1918 
   1919 ## ----------- ##
   1920 ## Core tests. ##
   1921 ## ----------- ##
   1922 
   1923 _ACEOF
   1924 
   1925 
   1926 # Keep a trace of the command line.
   1927 # Strip out --no-create and --no-recursion so they do not pile up.
   1928 # Strip out --silent because we don't want to record it for future runs.
   1929 # Also quote any args containing shell meta-characters.
   1930 # Make two passes to allow for proper duplicate-argument suppression.
   1931 ac_configure_args=
   1932 ac_configure_args0=
   1933 ac_configure_args1=
   1934 ac_must_keep_next=false
   1935 for ac_pass in 1 2
   1936 do
   1937   for ac_arg
   1938   do
   1939     case $ac_arg in
   1940     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1941     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1942     | -silent | --silent | --silen | --sile | --sil)
   1943       continue ;;
   1944     *\'*)
   1945       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1946     esac
   1947     case $ac_pass in
   1948     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1949     2)
   1950       as_fn_append ac_configure_args1 " '$ac_arg'"
   1951       if test $ac_must_keep_next = true; then
   1952 	ac_must_keep_next=false # Got value, back to normal.
   1953       else
   1954 	case $ac_arg in
   1955 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1956 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1957 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1958 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1959 	    case "$ac_configure_args0 " in
   1960 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1961 	    esac
   1962 	    ;;
   1963 	  -* ) ac_must_keep_next=true ;;
   1964 	esac
   1965       fi
   1966       as_fn_append ac_configure_args " '$ac_arg'"
   1967       ;;
   1968     esac
   1969   done
   1970 done
   1971 { ac_configure_args0=; unset ac_configure_args0;}
   1972 { ac_configure_args1=; unset ac_configure_args1;}
   1973 
   1974 # When interrupted or exit'd, cleanup temporary files, and complete
   1975 # config.log.  We remove comments because anyway the quotes in there
   1976 # would cause problems or look ugly.
   1977 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1978 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1979 trap 'exit_status=$?
   1980   # Sanitize IFS.
   1981   IFS=" ""	$as_nl"
   1982   # Save into config.log some information that might help in debugging.
   1983   {
   1984     echo
   1985 
   1986     printf "%s\n" "## ---------------- ##
   1987 ## Cache variables. ##
   1988 ## ---------------- ##"
   1989     echo
   1990     # The following way of writing the cache mishandles newlines in values,
   1991 (
   1992   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1993     eval ac_val=\$$ac_var
   1994     case $ac_val in #(
   1995     *${as_nl}*)
   1996       case $ac_var in #(
   1997       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1998 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1999       esac
   2000       case $ac_var in #(
   2001       _ | IFS | as_nl) ;; #(
   2002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2003       *) { eval $ac_var=; unset $ac_var;} ;;
   2004       esac ;;
   2005     esac
   2006   done
   2007   (set) 2>&1 |
   2008     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2009     *${as_nl}ac_space=\ *)
   2010       sed -n \
   2011 	"s/'\''/'\''\\\\'\'''\''/g;
   2012 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2013       ;; #(
   2014     *)
   2015       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2016       ;;
   2017     esac |
   2018     sort
   2019 )
   2020     echo
   2021 
   2022     printf "%s\n" "## ----------------- ##
   2023 ## Output variables. ##
   2024 ## ----------------- ##"
   2025     echo
   2026     for ac_var in $ac_subst_vars
   2027     do
   2028       eval ac_val=\$$ac_var
   2029       case $ac_val in
   2030       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2031       esac
   2032       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2033     done | sort
   2034     echo
   2035 
   2036     if test -n "$ac_subst_files"; then
   2037       printf "%s\n" "## ------------------- ##
   2038 ## File substitutions. ##
   2039 ## ------------------- ##"
   2040       echo
   2041       for ac_var in $ac_subst_files
   2042       do
   2043 	eval ac_val=\$$ac_var
   2044 	case $ac_val in
   2045 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2046 	esac
   2047 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2048       done | sort
   2049       echo
   2050     fi
   2051 
   2052     if test -s confdefs.h; then
   2053       printf "%s\n" "## ----------- ##
   2054 ## confdefs.h. ##
   2055 ## ----------- ##"
   2056       echo
   2057       cat confdefs.h
   2058       echo
   2059     fi
   2060     test "$ac_signal" != 0 &&
   2061       printf "%s\n" "$as_me: caught signal $ac_signal"
   2062     printf "%s\n" "$as_me: exit $exit_status"
   2063   } >&5
   2064   rm -f core *.core core.conftest.* &&
   2065     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2066     exit $exit_status
   2067 ' 0
   2068 for ac_signal in 1 2 13 15; do
   2069   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2070 done
   2071 ac_signal=0
   2072 
   2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2074 rm -f -r conftest* confdefs.h
   2075 
   2076 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2077 
   2078 # Predefined preprocessor variables.
   2079 
   2080 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2081 
   2082 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2083 
   2084 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2085 
   2086 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2091 
   2092 
   2093 # Let the site file select an alternate cache file if it wants to.
   2094 # Prefer an explicitly selected file to automatically selected ones.
   2095 if test -n "$CONFIG_SITE"; then
   2096   ac_site_files="$CONFIG_SITE"
   2097 elif test "x$prefix" != xNONE; then
   2098   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2099 else
   2100   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2101 fi
   2102 
   2103 for ac_site_file in $ac_site_files
   2104 do
   2105   case $ac_site_file in #(
   2106   */*) :
   2107      ;; #(
   2108   *) :
   2109     ac_site_file=./$ac_site_file ;;
   2110 esac
   2111   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2112     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2113 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2114     sed 's/^/| /' "$ac_site_file" >&5
   2115     . "$ac_site_file" \
   2116       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2117 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2118 as_fn_error $? "failed to load site script $ac_site_file
   2119 See \`config.log' for more details" "$LINENO" 5; }
   2120   fi
   2121 done
   2122 
   2123 if test -r "$cache_file"; then
   2124   # Some versions of bash will fail to source /dev/null (special files
   2125   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2126   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2127     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2128 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2129     case $cache_file in
   2130       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2131       *)                      . "./$cache_file";;
   2132     esac
   2133   fi
   2134 else
   2135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2136 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2137   >$cache_file
   2138 fi
   2139 
   2140 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2141 # Test code for whether the C compiler supports C89 (global declarations)
   2142 ac_c_conftest_c89_globals='
   2143 /* Does the compiler advertise C89 conformance?
   2144    Do not test the value of __STDC__, because some compilers set it to 0
   2145    while being otherwise adequately conformant. */
   2146 #if !defined __STDC__
   2147 # error "Compiler does not advertise C89 conformance"
   2148 #endif
   2149 
   2150 #include <stddef.h>
   2151 #include <stdarg.h>
   2152 struct stat;
   2153 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2154 struct buf { int x; };
   2155 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2156 static char *e (p, i)
   2157      char **p;
   2158      int i;
   2159 {
   2160   return p[i];
   2161 }
   2162 static char *f (char * (*g) (char **, int), char **p, ...)
   2163 {
   2164   char *s;
   2165   va_list v;
   2166   va_start (v,p);
   2167   s = g (p, va_arg (v,int));
   2168   va_end (v);
   2169   return s;
   2170 }
   2171 
   2172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2173    function prototypes and stuff, but not \xHH hex character constants.
   2174    These do not provoke an error unfortunately, instead are silently treated
   2175    as an "x".  The following induces an error, until -std is added to get
   2176    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2177    array size at least.  It is necessary to write \x00 == 0 to get something
   2178    that is true only with -std.  */
   2179 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2180 
   2181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2182    inside strings and character constants.  */
   2183 #define FOO(x) '\''x'\''
   2184 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2185 
   2186 int test (int i, double x);
   2187 struct s1 {int (*f) (int a);};
   2188 struct s2 {int (*f) (double a);};
   2189 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2190                int, int);'
   2191 
   2192 # Test code for whether the C compiler supports C89 (body of main).
   2193 ac_c_conftest_c89_main='
   2194 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2195 '
   2196 
   2197 # Test code for whether the C compiler supports C99 (global declarations)
   2198 ac_c_conftest_c99_globals='
   2199 // Does the compiler advertise C99 conformance?
   2200 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2201 # error "Compiler does not advertise C99 conformance"
   2202 #endif
   2203 
   2204 #include <stdbool.h>
   2205 extern int puts (const char *);
   2206 extern int printf (const char *, ...);
   2207 extern int dprintf (int, const char *, ...);
   2208 extern void *malloc (size_t);
   2209 
   2210 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2211 // dprintf is used instead of fprintf to avoid needing to declare
   2212 // FILE and stderr.
   2213 #define debug(...) dprintf (2, __VA_ARGS__)
   2214 #define showlist(...) puts (#__VA_ARGS__)
   2215 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2216 static void
   2217 test_varargs_macros (void)
   2218 {
   2219   int x = 1234;
   2220   int y = 5678;
   2221   debug ("Flag");
   2222   debug ("X = %d\n", x);
   2223   showlist (The first, second, and third items.);
   2224   report (x>y, "x is %d but y is %d", x, y);
   2225 }
   2226 
   2227 // Check long long types.
   2228 #define BIG64 18446744073709551615ull
   2229 #define BIG32 4294967295ul
   2230 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2231 #if !BIG_OK
   2232   #error "your preprocessor is broken"
   2233 #endif
   2234 #if BIG_OK
   2235 #else
   2236   #error "your preprocessor is broken"
   2237 #endif
   2238 static long long int bignum = -9223372036854775807LL;
   2239 static unsigned long long int ubignum = BIG64;
   2240 
   2241 struct incomplete_array
   2242 {
   2243   int datasize;
   2244   double data[];
   2245 };
   2246 
   2247 struct named_init {
   2248   int number;
   2249   const wchar_t *name;
   2250   double average;
   2251 };
   2252 
   2253 typedef const char *ccp;
   2254 
   2255 static inline int
   2256 test_restrict (ccp restrict text)
   2257 {
   2258   // See if C++-style comments work.
   2259   // Iterate through items via the restricted pointer.
   2260   // Also check for declarations in for loops.
   2261   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2262     continue;
   2263   return 0;
   2264 }
   2265 
   2266 // Check varargs and va_copy.
   2267 static bool
   2268 test_varargs (const char *format, ...)
   2269 {
   2270   va_list args;
   2271   va_start (args, format);
   2272   va_list args_copy;
   2273   va_copy (args_copy, args);
   2274 
   2275   const char *str = "";
   2276   int number = 0;
   2277   float fnumber = 0;
   2278 
   2279   while (*format)
   2280     {
   2281       switch (*format++)
   2282 	{
   2283 	case '\''s'\'': // string
   2284 	  str = va_arg (args_copy, const char *);
   2285 	  break;
   2286 	case '\''d'\'': // int
   2287 	  number = va_arg (args_copy, int);
   2288 	  break;
   2289 	case '\''f'\'': // float
   2290 	  fnumber = va_arg (args_copy, double);
   2291 	  break;
   2292 	default:
   2293 	  break;
   2294 	}
   2295     }
   2296   va_end (args_copy);
   2297   va_end (args);
   2298 
   2299   return *str && number && fnumber;
   2300 }
   2301 '
   2302 
   2303 # Test code for whether the C compiler supports C99 (body of main).
   2304 ac_c_conftest_c99_main='
   2305   // Check bool.
   2306   _Bool success = false;
   2307   success |= (argc != 0);
   2308 
   2309   // Check restrict.
   2310   if (test_restrict ("String literal") == 0)
   2311     success = true;
   2312   char *restrict newvar = "Another string";
   2313 
   2314   // Check varargs.
   2315   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2316   test_varargs_macros ();
   2317 
   2318   // Check flexible array members.
   2319   struct incomplete_array *ia =
   2320     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2321   ia->datasize = 10;
   2322   for (int i = 0; i < ia->datasize; ++i)
   2323     ia->data[i] = i * 1.234;
   2324 
   2325   // Check named initializers.
   2326   struct named_init ni = {
   2327     .number = 34,
   2328     .name = L"Test wide string",
   2329     .average = 543.34343,
   2330   };
   2331 
   2332   ni.number = 58;
   2333 
   2334   int dynamic_array[ni.number];
   2335   dynamic_array[0] = argv[0][0];
   2336   dynamic_array[ni.number - 1] = 543;
   2337 
   2338   // work around unused variable warnings
   2339   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2340 	 || dynamic_array[ni.number - 1] != 543);
   2341 '
   2342 
   2343 # Test code for whether the C compiler supports C11 (global declarations)
   2344 ac_c_conftest_c11_globals='
   2345 // Does the compiler advertise C11 conformance?
   2346 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2347 # error "Compiler does not advertise C11 conformance"
   2348 #endif
   2349 
   2350 // Check _Alignas.
   2351 char _Alignas (double) aligned_as_double;
   2352 char _Alignas (0) no_special_alignment;
   2353 extern char aligned_as_int;
   2354 char _Alignas (0) _Alignas (int) aligned_as_int;
   2355 
   2356 // Check _Alignof.
   2357 enum
   2358 {
   2359   int_alignment = _Alignof (int),
   2360   int_array_alignment = _Alignof (int[100]),
   2361   char_alignment = _Alignof (char)
   2362 };
   2363 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2364 
   2365 // Check _Noreturn.
   2366 int _Noreturn does_not_return (void) { for (;;) continue; }
   2367 
   2368 // Check _Static_assert.
   2369 struct test_static_assert
   2370 {
   2371   int x;
   2372   _Static_assert (sizeof (int) <= sizeof (long int),
   2373                   "_Static_assert does not work in struct");
   2374   long int y;
   2375 };
   2376 
   2377 // Check UTF-8 literals.
   2378 #define u8 syntax error!
   2379 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2380 
   2381 // Check duplicate typedefs.
   2382 typedef long *long_ptr;
   2383 typedef long int *long_ptr;
   2384 typedef long_ptr long_ptr;
   2385 
   2386 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2387 struct anonymous
   2388 {
   2389   union {
   2390     struct { int i; int j; };
   2391     struct { int k; long int l; } w;
   2392   };
   2393   int m;
   2394 } v1;
   2395 '
   2396 
   2397 # Test code for whether the C compiler supports C11 (body of main).
   2398 ac_c_conftest_c11_main='
   2399   _Static_assert ((offsetof (struct anonymous, i)
   2400 		   == offsetof (struct anonymous, w.k)),
   2401 		  "Anonymous union alignment botch");
   2402   v1.i = 2;
   2403   v1.w.k = 5;
   2404   ok |= v1.i != 5;
   2405 '
   2406 
   2407 # Test code for whether the C compiler supports C11 (complete).
   2408 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2409 ${ac_c_conftest_c99_globals}
   2410 ${ac_c_conftest_c11_globals}
   2411 
   2412 int
   2413 main (int argc, char **argv)
   2414 {
   2415   int ok = 0;
   2416   ${ac_c_conftest_c89_main}
   2417   ${ac_c_conftest_c99_main}
   2418   ${ac_c_conftest_c11_main}
   2419   return ok;
   2420 }
   2421 "
   2422 
   2423 # Test code for whether the C compiler supports C99 (complete).
   2424 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2425 ${ac_c_conftest_c99_globals}
   2426 
   2427 int
   2428 main (int argc, char **argv)
   2429 {
   2430   int ok = 0;
   2431   ${ac_c_conftest_c89_main}
   2432   ${ac_c_conftest_c99_main}
   2433   return ok;
   2434 }
   2435 "
   2436 
   2437 # Test code for whether the C compiler supports C89 (complete).
   2438 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2439 
   2440 int
   2441 main (int argc, char **argv)
   2442 {
   2443   int ok = 0;
   2444   ${ac_c_conftest_c89_main}
   2445   return ok;
   2446 }
   2447 "
   2448 
   2449 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2450 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2451 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2452 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2453 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2454 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2455 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2456 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2457 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2458 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2459 
   2460 # Auxiliary files required by this configure script.
   2461 ac_aux_files="ltmain.sh config.guess config.sub missing install-sh compile"
   2462 
   2463 # Locations in which to look for auxiliary files.
   2464 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2465 
   2466 # Search for a directory containing all of the required auxiliary files,
   2467 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2468 # If we don't find one directory that contains all the files we need,
   2469 # we report the set of missing files from the *first* directory in
   2470 # $ac_aux_dir_candidates and give up.
   2471 ac_missing_aux_files=""
   2472 ac_first_candidate=:
   2473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 as_found=false
   2476 for as_dir in $ac_aux_dir_candidates
   2477 do
   2478   IFS=$as_save_IFS
   2479   case $as_dir in #(((
   2480     '') as_dir=./ ;;
   2481     */) ;;
   2482     *) as_dir=$as_dir/ ;;
   2483   esac
   2484   as_found=:
   2485 
   2486   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2487   ac_aux_dir_found=yes
   2488   ac_install_sh=
   2489   for ac_aux in $ac_aux_files
   2490   do
   2491     # As a special case, if "install-sh" is required, that requirement
   2492     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2493     # and $ac_install_sh is set appropriately for whichever one is found.
   2494     if test x"$ac_aux" = x"install-sh"
   2495     then
   2496       if test -f "${as_dir}install-sh"; then
   2497         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2498         ac_install_sh="${as_dir}install-sh -c"
   2499       elif test -f "${as_dir}install.sh"; then
   2500         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2501         ac_install_sh="${as_dir}install.sh -c"
   2502       elif test -f "${as_dir}shtool"; then
   2503         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2504         ac_install_sh="${as_dir}shtool install -c"
   2505       else
   2506         ac_aux_dir_found=no
   2507         if $ac_first_candidate; then
   2508           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2509         else
   2510           break
   2511         fi
   2512       fi
   2513     else
   2514       if test -f "${as_dir}${ac_aux}"; then
   2515         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2516       else
   2517         ac_aux_dir_found=no
   2518         if $ac_first_candidate; then
   2519           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2520         else
   2521           break
   2522         fi
   2523       fi
   2524     fi
   2525   done
   2526   if test "$ac_aux_dir_found" = yes; then
   2527     ac_aux_dir="$as_dir"
   2528     break
   2529   fi
   2530   ac_first_candidate=false
   2531 
   2532   as_found=false
   2533 done
   2534 IFS=$as_save_IFS
   2535 if $as_found
   2536 then :
   2537 
   2538 else $as_nop
   2539   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2540 fi
   2541 
   2542 
   2543 # These three variables are undocumented and unsupported,
   2544 # and are intended to be withdrawn in a future Autoconf release.
   2545 # They can cause serious problems if a builder's source tree is in a directory
   2546 # whose full name contains unusual characters.
   2547 if test -f "${ac_aux_dir}config.guess"; then
   2548   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2549 fi
   2550 if test -f "${ac_aux_dir}config.sub"; then
   2551   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2552 fi
   2553 if test -f "$ac_aux_dir/configure"; then
   2554   ac_configure="$SHELL ${ac_aux_dir}configure"
   2555 fi
   2556 
   2557 # Check that the precious variables saved in the cache have kept the same
   2558 # value.
   2559 ac_cache_corrupted=false
   2560 for ac_var in $ac_precious_vars; do
   2561   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2562   eval ac_new_set=\$ac_env_${ac_var}_set
   2563   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2564   eval ac_new_val=\$ac_env_${ac_var}_value
   2565   case $ac_old_set,$ac_new_set in
   2566     set,)
   2567       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2568 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2569       ac_cache_corrupted=: ;;
   2570     ,set)
   2571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2572 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2573       ac_cache_corrupted=: ;;
   2574     ,);;
   2575     *)
   2576       if test "x$ac_old_val" != "x$ac_new_val"; then
   2577 	# differences in whitespace do not lead to failure.
   2578 	ac_old_val_w=`echo x $ac_old_val`
   2579 	ac_new_val_w=`echo x $ac_new_val`
   2580 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2581 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2582 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2583 	  ac_cache_corrupted=:
   2584 	else
   2585 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2586 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2587 	  eval $ac_var=\$ac_old_val
   2588 	fi
   2589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2590 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2592 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2593       fi;;
   2594   esac
   2595   # Pass precious variables to config.status.
   2596   if test "$ac_new_set" = set; then
   2597     case $ac_new_val in
   2598     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2599     *) ac_arg=$ac_var=$ac_new_val ;;
   2600     esac
   2601     case " $ac_configure_args " in
   2602       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2603       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2604     esac
   2605   fi
   2606 done
   2607 if $ac_cache_corrupted; then
   2608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2609 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2611 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2612   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2613 	    and start over" "$LINENO" 5
   2614 fi
   2615 ## -------------------- ##
   2616 ## Main body of script. ##
   2617 ## -------------------- ##
   2618 
   2619 ac_ext=c
   2620 ac_cpp='$CPP $CPPFLAGS'
   2621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2624 
   2625 
   2626 
   2627 ac_config_headers="$ac_config_headers config.h"
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 
   2638 
   2639 
   2640 # Expand $ac_aux_dir to an absolute path.
   2641 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2642 
   2643 ac_ext=c
   2644 ac_cpp='$CPP $CPPFLAGS'
   2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2648 if test -n "$ac_tool_prefix"; then
   2649   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2652 printf %s "checking for $ac_word... " >&6; }
   2653 if test ${ac_cv_prog_CC+y}
   2654 then :
   2655   printf %s "(cached) " >&6
   2656 else $as_nop
   2657   if test -n "$CC"; then
   2658   ac_cv_prog_CC="$CC" # Let the user override the test.
   2659 else
   2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2661 for as_dir in $PATH
   2662 do
   2663   IFS=$as_save_IFS
   2664   case $as_dir in #(((
   2665     '') as_dir=./ ;;
   2666     */) ;;
   2667     *) as_dir=$as_dir/ ;;
   2668   esac
   2669     for ac_exec_ext in '' $ac_executable_extensions; do
   2670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2671     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2673     break 2
   2674   fi
   2675 done
   2676   done
   2677 IFS=$as_save_IFS
   2678 
   2679 fi
   2680 fi
   2681 CC=$ac_cv_prog_CC
   2682 if test -n "$CC"; then
   2683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2684 printf "%s\n" "$CC" >&6; }
   2685 else
   2686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2687 printf "%s\n" "no" >&6; }
   2688 fi
   2689 
   2690 
   2691 fi
   2692 if test -z "$ac_cv_prog_CC"; then
   2693   ac_ct_CC=$CC
   2694   # Extract the first word of "gcc", so it can be a program name with args.
   2695 set dummy gcc; ac_word=$2
   2696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2697 printf %s "checking for $ac_word... " >&6; }
   2698 if test ${ac_cv_prog_ac_ct_CC+y}
   2699 then :
   2700   printf %s "(cached) " >&6
   2701 else $as_nop
   2702   if test -n "$ac_ct_CC"; then
   2703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2704 else
   2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2706 for as_dir in $PATH
   2707 do
   2708   IFS=$as_save_IFS
   2709   case $as_dir in #(((
   2710     '') as_dir=./ ;;
   2711     */) ;;
   2712     *) as_dir=$as_dir/ ;;
   2713   esac
   2714     for ac_exec_ext in '' $ac_executable_extensions; do
   2715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2716     ac_cv_prog_ac_ct_CC="gcc"
   2717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2718     break 2
   2719   fi
   2720 done
   2721   done
   2722 IFS=$as_save_IFS
   2723 
   2724 fi
   2725 fi
   2726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2727 if test -n "$ac_ct_CC"; then
   2728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2729 printf "%s\n" "$ac_ct_CC" >&6; }
   2730 else
   2731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2732 printf "%s\n" "no" >&6; }
   2733 fi
   2734 
   2735   if test "x$ac_ct_CC" = x; then
   2736     CC=""
   2737   else
   2738     case $cross_compiling:$ac_tool_warned in
   2739 yes:)
   2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2742 ac_tool_warned=yes ;;
   2743 esac
   2744     CC=$ac_ct_CC
   2745   fi
   2746 else
   2747   CC="$ac_cv_prog_CC"
   2748 fi
   2749 
   2750 if test -z "$CC"; then
   2751           if test -n "$ac_tool_prefix"; then
   2752     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2753 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2755 printf %s "checking for $ac_word... " >&6; }
   2756 if test ${ac_cv_prog_CC+y}
   2757 then :
   2758   printf %s "(cached) " >&6
   2759 else $as_nop
   2760   if test -n "$CC"; then
   2761   ac_cv_prog_CC="$CC" # Let the user override the test.
   2762 else
   2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2764 for as_dir in $PATH
   2765 do
   2766   IFS=$as_save_IFS
   2767   case $as_dir in #(((
   2768     '') as_dir=./ ;;
   2769     */) ;;
   2770     *) as_dir=$as_dir/ ;;
   2771   esac
   2772     for ac_exec_ext in '' $ac_executable_extensions; do
   2773   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2774     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2775     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2776     break 2
   2777   fi
   2778 done
   2779   done
   2780 IFS=$as_save_IFS
   2781 
   2782 fi
   2783 fi
   2784 CC=$ac_cv_prog_CC
   2785 if test -n "$CC"; then
   2786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2787 printf "%s\n" "$CC" >&6; }
   2788 else
   2789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2790 printf "%s\n" "no" >&6; }
   2791 fi
   2792 
   2793 
   2794   fi
   2795 fi
   2796 if test -z "$CC"; then
   2797   # Extract the first word of "cc", so it can be a program name with args.
   2798 set dummy cc; ac_word=$2
   2799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2800 printf %s "checking for $ac_word... " >&6; }
   2801 if test ${ac_cv_prog_CC+y}
   2802 then :
   2803   printf %s "(cached) " >&6
   2804 else $as_nop
   2805   if test -n "$CC"; then
   2806   ac_cv_prog_CC="$CC" # Let the user override the test.
   2807 else
   2808   ac_prog_rejected=no
   2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH
   2811 do
   2812   IFS=$as_save_IFS
   2813   case $as_dir in #(((
   2814     '') as_dir=./ ;;
   2815     */) ;;
   2816     *) as_dir=$as_dir/ ;;
   2817   esac
   2818     for ac_exec_ext in '' $ac_executable_extensions; do
   2819   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2820     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2821        ac_prog_rejected=yes
   2822        continue
   2823      fi
   2824     ac_cv_prog_CC="cc"
   2825     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2826     break 2
   2827   fi
   2828 done
   2829   done
   2830 IFS=$as_save_IFS
   2831 
   2832 if test $ac_prog_rejected = yes; then
   2833   # We found a bogon in the path, so make sure we never use it.
   2834   set dummy $ac_cv_prog_CC
   2835   shift
   2836   if test $# != 0; then
   2837     # We chose a different compiler from the bogus one.
   2838     # However, it has the same basename, so the bogon will be chosen
   2839     # first if we set CC to just the basename; use the full file name.
   2840     shift
   2841     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2842   fi
   2843 fi
   2844 fi
   2845 fi
   2846 CC=$ac_cv_prog_CC
   2847 if test -n "$CC"; then
   2848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2849 printf "%s\n" "$CC" >&6; }
   2850 else
   2851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2852 printf "%s\n" "no" >&6; }
   2853 fi
   2854 
   2855 
   2856 fi
   2857 if test -z "$CC"; then
   2858   if test -n "$ac_tool_prefix"; then
   2859   for ac_prog in cl.exe
   2860   do
   2861     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2864 printf %s "checking for $ac_word... " >&6; }
   2865 if test ${ac_cv_prog_CC+y}
   2866 then :
   2867   printf %s "(cached) " >&6
   2868 else $as_nop
   2869   if test -n "$CC"; then
   2870   ac_cv_prog_CC="$CC" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   case $as_dir in #(((
   2877     '') as_dir=./ ;;
   2878     */) ;;
   2879     *) as_dir=$as_dir/ ;;
   2880   esac
   2881     for ac_exec_ext in '' $ac_executable_extensions; do
   2882   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2883     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2884     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888   done
   2889 IFS=$as_save_IFS
   2890 
   2891 fi
   2892 fi
   2893 CC=$ac_cv_prog_CC
   2894 if test -n "$CC"; then
   2895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2896 printf "%s\n" "$CC" >&6; }
   2897 else
   2898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2899 printf "%s\n" "no" >&6; }
   2900 fi
   2901 
   2902 
   2903     test -n "$CC" && break
   2904   done
   2905 fi
   2906 if test -z "$CC"; then
   2907   ac_ct_CC=$CC
   2908   for ac_prog in cl.exe
   2909 do
   2910   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2911 set dummy $ac_prog; ac_word=$2
   2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2913 printf %s "checking for $ac_word... " >&6; }
   2914 if test ${ac_cv_prog_ac_ct_CC+y}
   2915 then :
   2916   printf %s "(cached) " >&6
   2917 else $as_nop
   2918   if test -n "$ac_ct_CC"; then
   2919   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2920 else
   2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2922 for as_dir in $PATH
   2923 do
   2924   IFS=$as_save_IFS
   2925   case $as_dir in #(((
   2926     '') as_dir=./ ;;
   2927     */) ;;
   2928     *) as_dir=$as_dir/ ;;
   2929   esac
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2932     ac_cv_prog_ac_ct_CC="$ac_prog"
   2933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2934     break 2
   2935   fi
   2936 done
   2937   done
   2938 IFS=$as_save_IFS
   2939 
   2940 fi
   2941 fi
   2942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2943 if test -n "$ac_ct_CC"; then
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2945 printf "%s\n" "$ac_ct_CC" >&6; }
   2946 else
   2947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2948 printf "%s\n" "no" >&6; }
   2949 fi
   2950 
   2951 
   2952   test -n "$ac_ct_CC" && break
   2953 done
   2954 
   2955   if test "x$ac_ct_CC" = x; then
   2956     CC=""
   2957   else
   2958     case $cross_compiling:$ac_tool_warned in
   2959 yes:)
   2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2962 ac_tool_warned=yes ;;
   2963 esac
   2964     CC=$ac_ct_CC
   2965   fi
   2966 fi
   2967 
   2968 fi
   2969 if test -z "$CC"; then
   2970   if test -n "$ac_tool_prefix"; then
   2971   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2972 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2974 printf %s "checking for $ac_word... " >&6; }
   2975 if test ${ac_cv_prog_CC+y}
   2976 then :
   2977   printf %s "(cached) " >&6
   2978 else $as_nop
   2979   if test -n "$CC"; then
   2980   ac_cv_prog_CC="$CC" # Let the user override the test.
   2981 else
   2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2983 for as_dir in $PATH
   2984 do
   2985   IFS=$as_save_IFS
   2986   case $as_dir in #(((
   2987     '') as_dir=./ ;;
   2988     */) ;;
   2989     *) as_dir=$as_dir/ ;;
   2990   esac
   2991     for ac_exec_ext in '' $ac_executable_extensions; do
   2992   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2993     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998   done
   2999 IFS=$as_save_IFS
   3000 
   3001 fi
   3002 fi
   3003 CC=$ac_cv_prog_CC
   3004 if test -n "$CC"; then
   3005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3006 printf "%s\n" "$CC" >&6; }
   3007 else
   3008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3009 printf "%s\n" "no" >&6; }
   3010 fi
   3011 
   3012 
   3013 fi
   3014 if test -z "$ac_cv_prog_CC"; then
   3015   ac_ct_CC=$CC
   3016   # Extract the first word of "clang", so it can be a program name with args.
   3017 set dummy clang; ac_word=$2
   3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3019 printf %s "checking for $ac_word... " >&6; }
   3020 if test ${ac_cv_prog_ac_ct_CC+y}
   3021 then :
   3022   printf %s "(cached) " >&6
   3023 else $as_nop
   3024   if test -n "$ac_ct_CC"; then
   3025   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3026 else
   3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH
   3029 do
   3030   IFS=$as_save_IFS
   3031   case $as_dir in #(((
   3032     '') as_dir=./ ;;
   3033     */) ;;
   3034     *) as_dir=$as_dir/ ;;
   3035   esac
   3036     for ac_exec_ext in '' $ac_executable_extensions; do
   3037   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3038     ac_cv_prog_ac_ct_CC="clang"
   3039     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3040     break 2
   3041   fi
   3042 done
   3043   done
   3044 IFS=$as_save_IFS
   3045 
   3046 fi
   3047 fi
   3048 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3049 if test -n "$ac_ct_CC"; then
   3050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3051 printf "%s\n" "$ac_ct_CC" >&6; }
   3052 else
   3053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3054 printf "%s\n" "no" >&6; }
   3055 fi
   3056 
   3057   if test "x$ac_ct_CC" = x; then
   3058     CC=""
   3059   else
   3060     case $cross_compiling:$ac_tool_warned in
   3061 yes:)
   3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3063 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3064 ac_tool_warned=yes ;;
   3065 esac
   3066     CC=$ac_ct_CC
   3067   fi
   3068 else
   3069   CC="$ac_cv_prog_CC"
   3070 fi
   3071 
   3072 fi
   3073 
   3074 
   3075 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3076 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3077 as_fn_error $? "no acceptable C compiler found in \$PATH
   3078 See \`config.log' for more details" "$LINENO" 5; }
   3079 
   3080 # Provide some information about the compiler.
   3081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3082 set X $ac_compile
   3083 ac_compiler=$2
   3084 for ac_option in --version -v -V -qversion -version; do
   3085   { { ac_try="$ac_compiler $ac_option >&5"
   3086 case "(($ac_try" in
   3087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3088   *) ac_try_echo=$ac_try;;
   3089 esac
   3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3091 printf "%s\n" "$ac_try_echo"; } >&5
   3092   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3093   ac_status=$?
   3094   if test -s conftest.err; then
   3095     sed '10a\
   3096 ... rest of stderr output deleted ...
   3097          10q' conftest.err >conftest.er1
   3098     cat conftest.er1 >&5
   3099   fi
   3100   rm -f conftest.er1 conftest.err
   3101   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3102   test $ac_status = 0; }
   3103 done
   3104 
   3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3106 /* end confdefs.h.  */
   3107 
   3108 int
   3109 main (void)
   3110 {
   3111 
   3112   ;
   3113   return 0;
   3114 }
   3115 _ACEOF
   3116 ac_clean_files_save=$ac_clean_files
   3117 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3118 # Try to create an executable without -o first, disregard a.out.
   3119 # It will help us diagnose broken compilers, and finding out an intuition
   3120 # of exeext.
   3121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3122 printf %s "checking whether the C compiler works... " >&6; }
   3123 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3124 
   3125 # The possible output files:
   3126 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3127 
   3128 ac_rmfiles=
   3129 for ac_file in $ac_files
   3130 do
   3131   case $ac_file in
   3132     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3133     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3134   esac
   3135 done
   3136 rm -f $ac_rmfiles
   3137 
   3138 if { { ac_try="$ac_link_default"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3144 printf "%s\n" "$ac_try_echo"; } >&5
   3145   (eval "$ac_link_default") 2>&5
   3146   ac_status=$?
   3147   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3148   test $ac_status = 0; }
   3149 then :
   3150   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3152 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3153 # so that the user can short-circuit this test for compilers unknown to
   3154 # Autoconf.
   3155 for ac_file in $ac_files ''
   3156 do
   3157   test -f "$ac_file" || continue
   3158   case $ac_file in
   3159     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3160 	;;
   3161     [ab].out )
   3162 	# We found the default executable, but exeext='' is most
   3163 	# certainly right.
   3164 	break;;
   3165     *.* )
   3166 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3167 	then :; else
   3168 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3169 	fi
   3170 	# We set ac_cv_exeext here because the later test for it is not
   3171 	# safe: cross compilers may not add the suffix if given an `-o'
   3172 	# argument, so we may need to know it at that point already.
   3173 	# Even if this section looks crufty: it has the advantage of
   3174 	# actually working.
   3175 	break;;
   3176     * )
   3177 	break;;
   3178   esac
   3179 done
   3180 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3181 
   3182 else $as_nop
   3183   ac_file=''
   3184 fi
   3185 if test -z "$ac_file"
   3186 then :
   3187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3188 printf "%s\n" "no" >&6; }
   3189 printf "%s\n" "$as_me: failed program was:" >&5
   3190 sed 's/^/| /' conftest.$ac_ext >&5
   3191 
   3192 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3193 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3194 as_fn_error 77 "C compiler cannot create executables
   3195 See \`config.log' for more details" "$LINENO" 5; }
   3196 else $as_nop
   3197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3198 printf "%s\n" "yes" >&6; }
   3199 fi
   3200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3201 printf %s "checking for C compiler default output file name... " >&6; }
   3202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3203 printf "%s\n" "$ac_file" >&6; }
   3204 ac_exeext=$ac_cv_exeext
   3205 
   3206 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3207 ac_clean_files=$ac_clean_files_save
   3208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3209 printf %s "checking for suffix of executables... " >&6; }
   3210 if { { ac_try="$ac_link"
   3211 case "(($ac_try" in
   3212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3213   *) ac_try_echo=$ac_try;;
   3214 esac
   3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3216 printf "%s\n" "$ac_try_echo"; } >&5
   3217   (eval "$ac_link") 2>&5
   3218   ac_status=$?
   3219   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3220   test $ac_status = 0; }
   3221 then :
   3222   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3223 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3224 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3225 # `rm'.
   3226 for ac_file in conftest.exe conftest conftest.*; do
   3227   test -f "$ac_file" || continue
   3228   case $ac_file in
   3229     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3230     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3231 	  break;;
   3232     * ) break;;
   3233   esac
   3234 done
   3235 else $as_nop
   3236   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3237 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3238 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3239 See \`config.log' for more details" "$LINENO" 5; }
   3240 fi
   3241 rm -f conftest conftest$ac_cv_exeext
   3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3243 printf "%s\n" "$ac_cv_exeext" >&6; }
   3244 
   3245 rm -f conftest.$ac_ext
   3246 EXEEXT=$ac_cv_exeext
   3247 ac_exeext=$EXEEXT
   3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3249 /* end confdefs.h.  */
   3250 #include <stdio.h>
   3251 int
   3252 main (void)
   3253 {
   3254 FILE *f = fopen ("conftest.out", "w");
   3255  return ferror (f) || fclose (f) != 0;
   3256 
   3257   ;
   3258   return 0;
   3259 }
   3260 _ACEOF
   3261 ac_clean_files="$ac_clean_files conftest.out"
   3262 # Check that the compiler produces executables we can run.  If not, either
   3263 # the compiler is broken, or we cross compile.
   3264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3265 printf %s "checking whether we are cross compiling... " >&6; }
   3266 if test "$cross_compiling" != yes; then
   3267   { { ac_try="$ac_link"
   3268 case "(($ac_try" in
   3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3270   *) ac_try_echo=$ac_try;;
   3271 esac
   3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3273 printf "%s\n" "$ac_try_echo"; } >&5
   3274   (eval "$ac_link") 2>&5
   3275   ac_status=$?
   3276   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3277   test $ac_status = 0; }
   3278   if { ac_try='./conftest$ac_cv_exeext'
   3279   { { case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3284 printf "%s\n" "$ac_try_echo"; } >&5
   3285   (eval "$ac_try") 2>&5
   3286   ac_status=$?
   3287   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3288   test $ac_status = 0; }; }; then
   3289     cross_compiling=no
   3290   else
   3291     if test "$cross_compiling" = maybe; then
   3292 	cross_compiling=yes
   3293     else
   3294 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3295 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3296 as_fn_error 77 "cannot run C compiled programs.
   3297 If you meant to cross compile, use \`--host'.
   3298 See \`config.log' for more details" "$LINENO" 5; }
   3299     fi
   3300   fi
   3301 fi
   3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3303 printf "%s\n" "$cross_compiling" >&6; }
   3304 
   3305 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3306 ac_clean_files=$ac_clean_files_save
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3308 printf %s "checking for suffix of object files... " >&6; }
   3309 if test ${ac_cv_objext+y}
   3310 then :
   3311   printf %s "(cached) " >&6
   3312 else $as_nop
   3313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3314 /* end confdefs.h.  */
   3315 
   3316 int
   3317 main (void)
   3318 {
   3319 
   3320   ;
   3321   return 0;
   3322 }
   3323 _ACEOF
   3324 rm -f conftest.o conftest.obj
   3325 if { { ac_try="$ac_compile"
   3326 case "(($ac_try" in
   3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3328   *) ac_try_echo=$ac_try;;
   3329 esac
   3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3331 printf "%s\n" "$ac_try_echo"; } >&5
   3332   (eval "$ac_compile") 2>&5
   3333   ac_status=$?
   3334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3335   test $ac_status = 0; }
   3336 then :
   3337   for ac_file in conftest.o conftest.obj conftest.*; do
   3338   test -f "$ac_file" || continue;
   3339   case $ac_file in
   3340     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3341     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3342        break;;
   3343   esac
   3344 done
   3345 else $as_nop
   3346   printf "%s\n" "$as_me: failed program was:" >&5
   3347 sed 's/^/| /' conftest.$ac_ext >&5
   3348 
   3349 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3350 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3351 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3352 See \`config.log' for more details" "$LINENO" 5; }
   3353 fi
   3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3355 fi
   3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3357 printf "%s\n" "$ac_cv_objext" >&6; }
   3358 OBJEXT=$ac_cv_objext
   3359 ac_objext=$OBJEXT
   3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3361 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3362 if test ${ac_cv_c_compiler_gnu+y}
   3363 then :
   3364   printf %s "(cached) " >&6
   3365 else $as_nop
   3366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3367 /* end confdefs.h.  */
   3368 
   3369 int
   3370 main (void)
   3371 {
   3372 #ifndef __GNUC__
   3373        choke me
   3374 #endif
   3375 
   3376   ;
   3377   return 0;
   3378 }
   3379 _ACEOF
   3380 if ac_fn_c_try_compile "$LINENO"
   3381 then :
   3382   ac_compiler_gnu=yes
   3383 else $as_nop
   3384   ac_compiler_gnu=no
   3385 fi
   3386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3388 
   3389 fi
   3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3391 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3393 
   3394 if test $ac_compiler_gnu = yes; then
   3395   GCC=yes
   3396 else
   3397   GCC=
   3398 fi
   3399 ac_test_CFLAGS=${CFLAGS+y}
   3400 ac_save_CFLAGS=$CFLAGS
   3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3402 printf %s "checking whether $CC accepts -g... " >&6; }
   3403 if test ${ac_cv_prog_cc_g+y}
   3404 then :
   3405   printf %s "(cached) " >&6
   3406 else $as_nop
   3407   ac_save_c_werror_flag=$ac_c_werror_flag
   3408    ac_c_werror_flag=yes
   3409    ac_cv_prog_cc_g=no
   3410    CFLAGS="-g"
   3411    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3412 /* end confdefs.h.  */
   3413 
   3414 int
   3415 main (void)
   3416 {
   3417 
   3418   ;
   3419   return 0;
   3420 }
   3421 _ACEOF
   3422 if ac_fn_c_try_compile "$LINENO"
   3423 then :
   3424   ac_cv_prog_cc_g=yes
   3425 else $as_nop
   3426   CFLAGS=""
   3427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3428 /* end confdefs.h.  */
   3429 
   3430 int
   3431 main (void)
   3432 {
   3433 
   3434   ;
   3435   return 0;
   3436 }
   3437 _ACEOF
   3438 if ac_fn_c_try_compile "$LINENO"
   3439 then :
   3440 
   3441 else $as_nop
   3442   ac_c_werror_flag=$ac_save_c_werror_flag
   3443 	 CFLAGS="-g"
   3444 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3445 /* end confdefs.h.  */
   3446 
   3447 int
   3448 main (void)
   3449 {
   3450 
   3451   ;
   3452   return 0;
   3453 }
   3454 _ACEOF
   3455 if ac_fn_c_try_compile "$LINENO"
   3456 then :
   3457   ac_cv_prog_cc_g=yes
   3458 fi
   3459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3460 fi
   3461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3462 fi
   3463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3464    ac_c_werror_flag=$ac_save_c_werror_flag
   3465 fi
   3466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3467 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3468 if test $ac_test_CFLAGS; then
   3469   CFLAGS=$ac_save_CFLAGS
   3470 elif test $ac_cv_prog_cc_g = yes; then
   3471   if test "$GCC" = yes; then
   3472     CFLAGS="-g -O2"
   3473   else
   3474     CFLAGS="-g"
   3475   fi
   3476 else
   3477   if test "$GCC" = yes; then
   3478     CFLAGS="-O2"
   3479   else
   3480     CFLAGS=
   3481   fi
   3482 fi
   3483 ac_prog_cc_stdc=no
   3484 if test x$ac_prog_cc_stdc = xno
   3485 then :
   3486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3487 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3488 if test ${ac_cv_prog_cc_c11+y}
   3489 then :
   3490   printf %s "(cached) " >&6
   3491 else $as_nop
   3492   ac_cv_prog_cc_c11=no
   3493 ac_save_CC=$CC
   3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 $ac_c_conftest_c11_program
   3497 _ACEOF
   3498 for ac_arg in '' -std=gnu11
   3499 do
   3500   CC="$ac_save_CC $ac_arg"
   3501   if ac_fn_c_try_compile "$LINENO"
   3502 then :
   3503   ac_cv_prog_cc_c11=$ac_arg
   3504 fi
   3505 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3506   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3507 done
   3508 rm -f conftest.$ac_ext
   3509 CC=$ac_save_CC
   3510 fi
   3511 
   3512 if test "x$ac_cv_prog_cc_c11" = xno
   3513 then :
   3514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3515 printf "%s\n" "unsupported" >&6; }
   3516 else $as_nop
   3517   if test "x$ac_cv_prog_cc_c11" = x
   3518 then :
   3519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3520 printf "%s\n" "none needed" >&6; }
   3521 else $as_nop
   3522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3523 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3524      CC="$CC $ac_cv_prog_cc_c11"
   3525 fi
   3526   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3527   ac_prog_cc_stdc=c11
   3528 fi
   3529 fi
   3530 if test x$ac_prog_cc_stdc = xno
   3531 then :
   3532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3533 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3534 if test ${ac_cv_prog_cc_c99+y}
   3535 then :
   3536   printf %s "(cached) " >&6
   3537 else $as_nop
   3538   ac_cv_prog_cc_c99=no
   3539 ac_save_CC=$CC
   3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 $ac_c_conftest_c99_program
   3543 _ACEOF
   3544 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3545 do
   3546   CC="$ac_save_CC $ac_arg"
   3547   if ac_fn_c_try_compile "$LINENO"
   3548 then :
   3549   ac_cv_prog_cc_c99=$ac_arg
   3550 fi
   3551 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3552   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3553 done
   3554 rm -f conftest.$ac_ext
   3555 CC=$ac_save_CC
   3556 fi
   3557 
   3558 if test "x$ac_cv_prog_cc_c99" = xno
   3559 then :
   3560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3561 printf "%s\n" "unsupported" >&6; }
   3562 else $as_nop
   3563   if test "x$ac_cv_prog_cc_c99" = x
   3564 then :
   3565   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3566 printf "%s\n" "none needed" >&6; }
   3567 else $as_nop
   3568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3569 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3570      CC="$CC $ac_cv_prog_cc_c99"
   3571 fi
   3572   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3573   ac_prog_cc_stdc=c99
   3574 fi
   3575 fi
   3576 if test x$ac_prog_cc_stdc = xno
   3577 then :
   3578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3579 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3580 if test ${ac_cv_prog_cc_c89+y}
   3581 then :
   3582   printf %s "(cached) " >&6
   3583 else $as_nop
   3584   ac_cv_prog_cc_c89=no
   3585 ac_save_CC=$CC
   3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3587 /* end confdefs.h.  */
   3588 $ac_c_conftest_c89_program
   3589 _ACEOF
   3590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3591 do
   3592   CC="$ac_save_CC $ac_arg"
   3593   if ac_fn_c_try_compile "$LINENO"
   3594 then :
   3595   ac_cv_prog_cc_c89=$ac_arg
   3596 fi
   3597 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3598   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3599 done
   3600 rm -f conftest.$ac_ext
   3601 CC=$ac_save_CC
   3602 fi
   3603 
   3604 if test "x$ac_cv_prog_cc_c89" = xno
   3605 then :
   3606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3607 printf "%s\n" "unsupported" >&6; }
   3608 else $as_nop
   3609   if test "x$ac_cv_prog_cc_c89" = x
   3610 then :
   3611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3612 printf "%s\n" "none needed" >&6; }
   3613 else $as_nop
   3614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3615 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3616      CC="$CC $ac_cv_prog_cc_c89"
   3617 fi
   3618   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3619   ac_prog_cc_stdc=c89
   3620 fi
   3621 fi
   3622 
   3623 ac_ext=c
   3624 ac_cpp='$CPP $CPPFLAGS'
   3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3628 
   3629 
   3630   ac_ext=c
   3631 ac_cpp='$CPP $CPPFLAGS'
   3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3636 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3637 if test ${am_cv_prog_cc_c_o+y}
   3638 then :
   3639   printf %s "(cached) " >&6
   3640 else $as_nop
   3641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3642 /* end confdefs.h.  */
   3643 
   3644 int
   3645 main (void)
   3646 {
   3647 
   3648   ;
   3649   return 0;
   3650 }
   3651 _ACEOF
   3652   # Make sure it works both with $CC and with simple cc.
   3653   # Following AC_PROG_CC_C_O, we do the test twice because some
   3654   # compilers refuse to overwrite an existing .o file with -o,
   3655   # though they will create one.
   3656   am_cv_prog_cc_c_o=yes
   3657   for am_i in 1 2; do
   3658     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3659    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3660    ac_status=$?
   3661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3662    (exit $ac_status); } \
   3663          && test -f conftest2.$ac_objext; then
   3664       : OK
   3665     else
   3666       am_cv_prog_cc_c_o=no
   3667       break
   3668     fi
   3669   done
   3670   rm -f core conftest*
   3671   unset am_i
   3672 fi
   3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3674 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3675 if test "$am_cv_prog_cc_c_o" != yes; then
   3676    # Losing compiler, so override with the script.
   3677    # FIXME: It is wrong to rewrite CC.
   3678    # But if we don't then we get into trouble of one sort or another.
   3679    # A longer-term fix would be to have automake use am__CC in this case,
   3680    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3681    CC="$am_aux_dir/compile $CC"
   3682 fi
   3683 ac_ext=c
   3684 ac_cpp='$CPP $CPPFLAGS'
   3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3688 
   3689 
   3690 
   3691 ac_header= ac_cache=
   3692 for ac_item in $ac_header_c_list
   3693 do
   3694   if test $ac_cache; then
   3695     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3696     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3697       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3698     fi
   3699     ac_header= ac_cache=
   3700   elif test $ac_header; then
   3701     ac_cache=$ac_item
   3702   else
   3703     ac_header=$ac_item
   3704   fi
   3705 done
   3706 
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 
   3714 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3715 then :
   3716 
   3717 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3718 
   3719 fi
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 
   3726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3727 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3728 if test ${ac_cv_safe_to_define___extensions__+y}
   3729 then :
   3730   printf %s "(cached) " >&6
   3731 else $as_nop
   3732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3733 /* end confdefs.h.  */
   3734 
   3735 #         define __EXTENSIONS__ 1
   3736           $ac_includes_default
   3737 int
   3738 main (void)
   3739 {
   3740 
   3741   ;
   3742   return 0;
   3743 }
   3744 _ACEOF
   3745 if ac_fn_c_try_compile "$LINENO"
   3746 then :
   3747   ac_cv_safe_to_define___extensions__=yes
   3748 else $as_nop
   3749   ac_cv_safe_to_define___extensions__=no
   3750 fi
   3751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3752 fi
   3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3754 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3755 
   3756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3757 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3758 if test ${ac_cv_should_define__xopen_source+y}
   3759 then :
   3760   printf %s "(cached) " >&6
   3761 else $as_nop
   3762   ac_cv_should_define__xopen_source=no
   3763     if test $ac_cv_header_wchar_h = yes
   3764 then :
   3765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3766 /* end confdefs.h.  */
   3767 
   3768           #include <wchar.h>
   3769           mbstate_t x;
   3770 int
   3771 main (void)
   3772 {
   3773 
   3774   ;
   3775   return 0;
   3776 }
   3777 _ACEOF
   3778 if ac_fn_c_try_compile "$LINENO"
   3779 then :
   3780 
   3781 else $as_nop
   3782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3783 /* end confdefs.h.  */
   3784 
   3785             #define _XOPEN_SOURCE 500
   3786             #include <wchar.h>
   3787             mbstate_t x;
   3788 int
   3789 main (void)
   3790 {
   3791 
   3792   ;
   3793   return 0;
   3794 }
   3795 _ACEOF
   3796 if ac_fn_c_try_compile "$LINENO"
   3797 then :
   3798   ac_cv_should_define__xopen_source=yes
   3799 fi
   3800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3801 fi
   3802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3803 fi
   3804 fi
   3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3806 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3807 
   3808   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3809 
   3810   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3811 
   3812   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3813 
   3814   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3815 
   3816   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3817 
   3818   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3819 
   3820   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3821 
   3822   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3823 
   3824   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3825 
   3826   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3827 
   3828   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3829 
   3830   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3831 
   3832   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3833 
   3834   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3835 
   3836   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3837 
   3838   if test $ac_cv_header_minix_config_h = yes
   3839 then :
   3840   MINIX=yes
   3841     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3842 
   3843     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3844 
   3845     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3846 
   3847 else $as_nop
   3848   MINIX=
   3849 fi
   3850   if test $ac_cv_safe_to_define___extensions__ = yes
   3851 then :
   3852   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3853 
   3854 fi
   3855   if test $ac_cv_should_define__xopen_source = yes
   3856 then :
   3857   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3858 
   3859 fi
   3860 
   3861 
   3862 # Initialize Automake
   3863 am__api_version='1.16'
   3864 
   3865 
   3866   # Find a good install program.  We prefer a C program (faster),
   3867 # so one script is as good as another.  But avoid the broken or
   3868 # incompatible versions:
   3869 # SysV /etc/install, /usr/sbin/install
   3870 # SunOS /usr/etc/install
   3871 # IRIX /sbin/install
   3872 # AIX /bin/install
   3873 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3874 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3875 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3876 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3877 # OS/2's system install, which has a completely different semantic
   3878 # ./install, which can be erroneously created by make from ./install.sh.
   3879 # Reject install programs that cannot install multiple files.
   3880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3881 printf %s "checking for a BSD-compatible install... " >&6; }
   3882 if test -z "$INSTALL"; then
   3883 if test ${ac_cv_path_install+y}
   3884 then :
   3885   printf %s "(cached) " >&6
   3886 else $as_nop
   3887   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3888 for as_dir in $PATH
   3889 do
   3890   IFS=$as_save_IFS
   3891   case $as_dir in #(((
   3892     '') as_dir=./ ;;
   3893     */) ;;
   3894     *) as_dir=$as_dir/ ;;
   3895   esac
   3896     # Account for fact that we put trailing slashes in our PATH walk.
   3897 case $as_dir in #((
   3898   ./ | /[cC]/* | \
   3899   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3900   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3901   /usr/ucb/* ) ;;
   3902   *)
   3903     # OSF1 and SCO ODT 3.0 have their own names for install.
   3904     # Don't use installbsd from OSF since it installs stuff as root
   3905     # by default.
   3906     for ac_prog in ginstall scoinst install; do
   3907       for ac_exec_ext in '' $ac_executable_extensions; do
   3908 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3909 	  if test $ac_prog = install &&
   3910 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3911 	    # AIX install.  It has an incompatible calling convention.
   3912 	    :
   3913 	  elif test $ac_prog = install &&
   3914 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3915 	    # program-specific install script used by HP pwplus--don't use.
   3916 	    :
   3917 	  else
   3918 	    rm -rf conftest.one conftest.two conftest.dir
   3919 	    echo one > conftest.one
   3920 	    echo two > conftest.two
   3921 	    mkdir conftest.dir
   3922 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3923 	      test -s conftest.one && test -s conftest.two &&
   3924 	      test -s conftest.dir/conftest.one &&
   3925 	      test -s conftest.dir/conftest.two
   3926 	    then
   3927 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3928 	      break 3
   3929 	    fi
   3930 	  fi
   3931 	fi
   3932       done
   3933     done
   3934     ;;
   3935 esac
   3936 
   3937   done
   3938 IFS=$as_save_IFS
   3939 
   3940 rm -rf conftest.one conftest.two conftest.dir
   3941 
   3942 fi
   3943   if test ${ac_cv_path_install+y}; then
   3944     INSTALL=$ac_cv_path_install
   3945   else
   3946     # As a last resort, use the slow shell script.  Don't cache a
   3947     # value for INSTALL within a source directory, because that will
   3948     # break other packages using the cache if that directory is
   3949     # removed, or if the value is a relative name.
   3950     INSTALL=$ac_install_sh
   3951   fi
   3952 fi
   3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3954 printf "%s\n" "$INSTALL" >&6; }
   3955 
   3956 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3957 # It thinks the first close brace ends the variable substitution.
   3958 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3959 
   3960 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3961 
   3962 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3963 
   3964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3965 printf %s "checking whether build environment is sane... " >&6; }
   3966 # Reject unsafe characters in $srcdir or the absolute working directory
   3967 # name.  Accept space and tab only in the latter.
   3968 am_lf='
   3969 '
   3970 case `pwd` in
   3971   *[\\\"\#\$\&\'\`$am_lf]*)
   3972     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3973 esac
   3974 case $srcdir in
   3975   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3976     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3977 esac
   3978 
   3979 # Do 'set' in a subshell so we don't clobber the current shell's
   3980 # arguments.  Must try -L first in case configure is actually a
   3981 # symlink; some systems play weird games with the mod time of symlinks
   3982 # (eg FreeBSD returns the mod time of the symlink's containing
   3983 # directory).
   3984 if (
   3985    am_has_slept=no
   3986    for am_try in 1 2; do
   3987      echo "timestamp, slept: $am_has_slept" > conftest.file
   3988      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3989      if test "$*" = "X"; then
   3990 	# -L didn't work.
   3991 	set X `ls -t "$srcdir/configure" conftest.file`
   3992      fi
   3993      if test "$*" != "X $srcdir/configure conftest.file" \
   3994 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3995 
   3996 	# If neither matched, then we have a broken ls.  This can happen
   3997 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3998 	# broken ls alias from the environment.  This has actually
   3999 	# happened.  Such a system could not be considered "sane".
   4000 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4001   alias in your environment" "$LINENO" 5
   4002      fi
   4003      if test "$2" = conftest.file || test $am_try -eq 2; then
   4004        break
   4005      fi
   4006      # Just in case.
   4007      sleep 1
   4008      am_has_slept=yes
   4009    done
   4010    test "$2" = conftest.file
   4011    )
   4012 then
   4013    # Ok.
   4014    :
   4015 else
   4016    as_fn_error $? "newly created file is older than distributed files!
   4017 Check your system clock" "$LINENO" 5
   4018 fi
   4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4020 printf "%s\n" "yes" >&6; }
   4021 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4022 # generated files are strictly newer.
   4023 am_sleep_pid=
   4024 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4025   ( sleep 1 ) &
   4026   am_sleep_pid=$!
   4027 fi
   4028 
   4029 rm -f conftest.file
   4030 
   4031 test "$program_prefix" != NONE &&
   4032   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4033 # Use a double $ so make ignores it.
   4034 test "$program_suffix" != NONE &&
   4035   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4036 # Double any \ or $.
   4037 # By default was `s,x,x', remove it if useless.
   4038 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4039 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4040 
   4041 
   4042   if test x"${MISSING+set}" != xset; then
   4043   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4044 fi
   4045 # Use eval to expand $SHELL
   4046 if eval "$MISSING --is-lightweight"; then
   4047   am_missing_run="$MISSING "
   4048 else
   4049   am_missing_run=
   4050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4051 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4052 fi
   4053 
   4054 if test x"${install_sh+set}" != xset; then
   4055   case $am_aux_dir in
   4056   *\ * | *\	*)
   4057     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4058   *)
   4059     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4060   esac
   4061 fi
   4062 
   4063 # Installed binaries are usually stripped using 'strip' when the user
   4064 # run "make install-strip".  However 'strip' might not be the right
   4065 # tool to use in cross-compilation environments, therefore Automake
   4066 # will honor the 'STRIP' environment variable to overrule this program.
   4067 if test "$cross_compiling" != no; then
   4068   if test -n "$ac_tool_prefix"; then
   4069   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4070 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4072 printf %s "checking for $ac_word... " >&6; }
   4073 if test ${ac_cv_prog_STRIP+y}
   4074 then :
   4075   printf %s "(cached) " >&6
   4076 else $as_nop
   4077   if test -n "$STRIP"; then
   4078   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4079 else
   4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4081 for as_dir in $PATH
   4082 do
   4083   IFS=$as_save_IFS
   4084   case $as_dir in #(((
   4085     '') as_dir=./ ;;
   4086     */) ;;
   4087     *) as_dir=$as_dir/ ;;
   4088   esac
   4089     for ac_exec_ext in '' $ac_executable_extensions; do
   4090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4091     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4093     break 2
   4094   fi
   4095 done
   4096   done
   4097 IFS=$as_save_IFS
   4098 
   4099 fi
   4100 fi
   4101 STRIP=$ac_cv_prog_STRIP
   4102 if test -n "$STRIP"; then
   4103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4104 printf "%s\n" "$STRIP" >&6; }
   4105 else
   4106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4107 printf "%s\n" "no" >&6; }
   4108 fi
   4109 
   4110 
   4111 fi
   4112 if test -z "$ac_cv_prog_STRIP"; then
   4113   ac_ct_STRIP=$STRIP
   4114   # Extract the first word of "strip", so it can be a program name with args.
   4115 set dummy strip; ac_word=$2
   4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4117 printf %s "checking for $ac_word... " >&6; }
   4118 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4119 then :
   4120   printf %s "(cached) " >&6
   4121 else $as_nop
   4122   if test -n "$ac_ct_STRIP"; then
   4123   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4124 else
   4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4126 for as_dir in $PATH
   4127 do
   4128   IFS=$as_save_IFS
   4129   case $as_dir in #(((
   4130     '') as_dir=./ ;;
   4131     */) ;;
   4132     *) as_dir=$as_dir/ ;;
   4133   esac
   4134     for ac_exec_ext in '' $ac_executable_extensions; do
   4135   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4136     ac_cv_prog_ac_ct_STRIP="strip"
   4137     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4138     break 2
   4139   fi
   4140 done
   4141   done
   4142 IFS=$as_save_IFS
   4143 
   4144 fi
   4145 fi
   4146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4147 if test -n "$ac_ct_STRIP"; then
   4148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4149 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4150 else
   4151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4152 printf "%s\n" "no" >&6; }
   4153 fi
   4154 
   4155   if test "x$ac_ct_STRIP" = x; then
   4156     STRIP=":"
   4157   else
   4158     case $cross_compiling:$ac_tool_warned in
   4159 yes:)
   4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4161 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4162 ac_tool_warned=yes ;;
   4163 esac
   4164     STRIP=$ac_ct_STRIP
   4165   fi
   4166 else
   4167   STRIP="$ac_cv_prog_STRIP"
   4168 fi
   4169 
   4170 fi
   4171 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4172 
   4173 
   4174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4175 printf %s "checking for a race-free mkdir -p... " >&6; }
   4176 if test -z "$MKDIR_P"; then
   4177   if test ${ac_cv_path_mkdir+y}
   4178 then :
   4179   printf %s "(cached) " >&6
   4180 else $as_nop
   4181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4182 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4183 do
   4184   IFS=$as_save_IFS
   4185   case $as_dir in #(((
   4186     '') as_dir=./ ;;
   4187     */) ;;
   4188     *) as_dir=$as_dir/ ;;
   4189   esac
   4190     for ac_prog in mkdir gmkdir; do
   4191 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4192 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4193 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4194 	     'mkdir ('*'coreutils) '* | \
   4195 	     'BusyBox '* | \
   4196 	     'mkdir (fileutils) '4.1*)
   4197 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4198 	       break 3;;
   4199 	   esac
   4200 	 done
   4201        done
   4202   done
   4203 IFS=$as_save_IFS
   4204 
   4205 fi
   4206 
   4207   test -d ./--version && rmdir ./--version
   4208   if test ${ac_cv_path_mkdir+y}; then
   4209     MKDIR_P="$ac_cv_path_mkdir -p"
   4210   else
   4211     # As a last resort, use the slow shell script.  Don't cache a
   4212     # value for MKDIR_P within a source directory, because that will
   4213     # break other packages using the cache if that directory is
   4214     # removed, or if the value is a relative name.
   4215     MKDIR_P="$ac_install_sh -d"
   4216   fi
   4217 fi
   4218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4219 printf "%s\n" "$MKDIR_P" >&6; }
   4220 
   4221 for ac_prog in gawk mawk nawk awk
   4222 do
   4223   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4224 set dummy $ac_prog; ac_word=$2
   4225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4226 printf %s "checking for $ac_word... " >&6; }
   4227 if test ${ac_cv_prog_AWK+y}
   4228 then :
   4229   printf %s "(cached) " >&6
   4230 else $as_nop
   4231   if test -n "$AWK"; then
   4232   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4233 else
   4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4235 for as_dir in $PATH
   4236 do
   4237   IFS=$as_save_IFS
   4238   case $as_dir in #(((
   4239     '') as_dir=./ ;;
   4240     */) ;;
   4241     *) as_dir=$as_dir/ ;;
   4242   esac
   4243     for ac_exec_ext in '' $ac_executable_extensions; do
   4244   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4245     ac_cv_prog_AWK="$ac_prog"
   4246     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4247     break 2
   4248   fi
   4249 done
   4250   done
   4251 IFS=$as_save_IFS
   4252 
   4253 fi
   4254 fi
   4255 AWK=$ac_cv_prog_AWK
   4256 if test -n "$AWK"; then
   4257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4258 printf "%s\n" "$AWK" >&6; }
   4259 else
   4260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4261 printf "%s\n" "no" >&6; }
   4262 fi
   4263 
   4264 
   4265   test -n "$AWK" && break
   4266 done
   4267 
   4268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4269 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4270 set x ${MAKE-make}
   4271 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4272 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4273 then :
   4274   printf %s "(cached) " >&6
   4275 else $as_nop
   4276   cat >conftest.make <<\_ACEOF
   4277 SHELL = /bin/sh
   4278 all:
   4279 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4280 _ACEOF
   4281 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4283   *@@@%%%=?*=@@@%%%*)
   4284     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4285   *)
   4286     eval ac_cv_prog_make_${ac_make}_set=no;;
   4287 esac
   4288 rm -f conftest.make
   4289 fi
   4290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4292 printf "%s\n" "yes" >&6; }
   4293   SET_MAKE=
   4294 else
   4295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4296 printf "%s\n" "no" >&6; }
   4297   SET_MAKE="MAKE=${MAKE-make}"
   4298 fi
   4299 
   4300 rm -rf .tst 2>/dev/null
   4301 mkdir .tst 2>/dev/null
   4302 if test -d .tst; then
   4303   am__leading_dot=.
   4304 else
   4305   am__leading_dot=_
   4306 fi
   4307 rmdir .tst 2>/dev/null
   4308 
   4309 DEPDIR="${am__leading_dot}deps"
   4310 
   4311 ac_config_commands="$ac_config_commands depfiles"
   4312 
   4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4314 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4315 cat > confinc.mk << 'END'
   4316 am__doit:
   4317 	@echo this is the am__doit target >confinc.out
   4318 .PHONY: am__doit
   4319 END
   4320 am__include="#"
   4321 am__quote=
   4322 # BSD make does it like this.
   4323 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4324 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4325 echo 'include confinc.mk # ignored' > confmf.GNU
   4326 _am_result=no
   4327 for s in GNU BSD; do
   4328   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4329    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4330    ac_status=$?
   4331    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4332    (exit $ac_status); }
   4333   case $?:`cat confinc.out 2>/dev/null` in #(
   4334   '0:this is the am__doit target') :
   4335     case $s in #(
   4336   BSD) :
   4337     am__include='.include' am__quote='"' ;; #(
   4338   *) :
   4339     am__include='include' am__quote='' ;;
   4340 esac ;; #(
   4341   *) :
   4342      ;;
   4343 esac
   4344   if test "$am__include" != "#"; then
   4345     _am_result="yes ($s style)"
   4346     break
   4347   fi
   4348 done
   4349 rm -f confinc.* confmf.*
   4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4351 printf "%s\n" "${_am_result}" >&6; }
   4352 
   4353 # Check whether --enable-dependency-tracking was given.
   4354 if test ${enable_dependency_tracking+y}
   4355 then :
   4356   enableval=$enable_dependency_tracking;
   4357 fi
   4358 
   4359 if test "x$enable_dependency_tracking" != xno; then
   4360   am_depcomp="$ac_aux_dir/depcomp"
   4361   AMDEPBACKSLASH='\'
   4362   am__nodep='_no'
   4363 fi
   4364  if test "x$enable_dependency_tracking" != xno; then
   4365   AMDEP_TRUE=
   4366   AMDEP_FALSE='#'
   4367 else
   4368   AMDEP_TRUE='#'
   4369   AMDEP_FALSE=
   4370 fi
   4371 
   4372 
   4373 # Check whether --enable-silent-rules was given.
   4374 if test ${enable_silent_rules+y}
   4375 then :
   4376   enableval=$enable_silent_rules;
   4377 fi
   4378 
   4379 case $enable_silent_rules in # (((
   4380   yes) AM_DEFAULT_VERBOSITY=0;;
   4381    no) AM_DEFAULT_VERBOSITY=1;;
   4382     *) AM_DEFAULT_VERBOSITY=1;;
   4383 esac
   4384 am_make=${MAKE-make}
   4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4386 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4387 if test ${am_cv_make_support_nested_variables+y}
   4388 then :
   4389   printf %s "(cached) " >&6
   4390 else $as_nop
   4391   if printf "%s\n" 'TRUE=$(BAR$(V))
   4392 BAR0=false
   4393 BAR1=true
   4394 V=1
   4395 am__doit:
   4396 	@$(TRUE)
   4397 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4398   am_cv_make_support_nested_variables=yes
   4399 else
   4400   am_cv_make_support_nested_variables=no
   4401 fi
   4402 fi
   4403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4404 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4405 if test $am_cv_make_support_nested_variables = yes; then
   4406     AM_V='$(V)'
   4407   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4408 else
   4409   AM_V=$AM_DEFAULT_VERBOSITY
   4410   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4411 fi
   4412 AM_BACKSLASH='\'
   4413 
   4414 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4415   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4416   # is not polluted with repeated "-I."
   4417   am__isrc=' -I$(srcdir)'
   4418   # test to see if srcdir already configured
   4419   if test -f $srcdir/config.status; then
   4420     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4421   fi
   4422 fi
   4423 
   4424 # test whether we have cygpath
   4425 if test -z "$CYGPATH_W"; then
   4426   if (cygpath --version) >/dev/null 2>/dev/null; then
   4427     CYGPATH_W='cygpath -w'
   4428   else
   4429     CYGPATH_W=echo
   4430   fi
   4431 fi
   4432 
   4433 
   4434 # Define the identity of the package.
   4435  PACKAGE='libXau'
   4436  VERSION='1.0.10'
   4437 
   4438 
   4439 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4440 
   4441 
   4442 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4443 
   4444 # Some tools Automake needs.
   4445 
   4446 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4447 
   4448 
   4449 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4450 
   4451 
   4452 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4453 
   4454 
   4455 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4456 
   4457 
   4458 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4459 
   4460 # For better backward compatibility.  To be removed once Automake 1.9.x
   4461 # dies out for good.  For more background, see:
   4462 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4463 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4464 mkdir_p='$(MKDIR_P)'
   4465 
   4466 # We need awk for the "check" target (and possibly the TAP driver).  The
   4467 # system "awk" is bad on some platforms.
   4468 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4469 # in the wild :-(  We should find a proper way to deprecate it ...
   4470 AMTAR='$${TAR-tar}'
   4471 
   4472 
   4473 # We'll loop over all known methods to create a tar archive until one works.
   4474 _am_tools='gnutar  pax cpio none'
   4475 
   4476 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 depcc="$CC"   am_compiler_list=
   4483 
   4484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4485 printf %s "checking dependency style of $depcc... " >&6; }
   4486 if test ${am_cv_CC_dependencies_compiler_type+y}
   4487 then :
   4488   printf %s "(cached) " >&6
   4489 else $as_nop
   4490   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4491   # We make a subdir and do the tests there.  Otherwise we can end up
   4492   # making bogus files that we don't know about and never remove.  For
   4493   # instance it was reported that on HP-UX the gcc test will end up
   4494   # making a dummy file named 'D' -- because '-MD' means "put the output
   4495   # in D".
   4496   rm -rf conftest.dir
   4497   mkdir conftest.dir
   4498   # Copy depcomp to subdir because otherwise we won't find it if we're
   4499   # using a relative directory.
   4500   cp "$am_depcomp" conftest.dir
   4501   cd conftest.dir
   4502   # We will build objects and dependencies in a subdirectory because
   4503   # it helps to detect inapplicable dependency modes.  For instance
   4504   # both Tru64's cc and ICC support -MD to output dependencies as a
   4505   # side effect of compilation, but ICC will put the dependencies in
   4506   # the current directory while Tru64 will put them in the object
   4507   # directory.
   4508   mkdir sub
   4509 
   4510   am_cv_CC_dependencies_compiler_type=none
   4511   if test "$am_compiler_list" = ""; then
   4512      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4513   fi
   4514   am__universal=false
   4515   case " $depcc " in #(
   4516      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4517      esac
   4518 
   4519   for depmode in $am_compiler_list; do
   4520     # Setup a source with many dependencies, because some compilers
   4521     # like to wrap large dependency lists on column 80 (with \), and
   4522     # we should not choose a depcomp mode which is confused by this.
   4523     #
   4524     # We need to recreate these files for each test, as the compiler may
   4525     # overwrite some of them when testing with obscure command lines.
   4526     # This happens at least with the AIX C compiler.
   4527     : > sub/conftest.c
   4528     for i in 1 2 3 4 5 6; do
   4529       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4530       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4531       # Solaris 10 /bin/sh.
   4532       echo '/* dummy */' > sub/conftst$i.h
   4533     done
   4534     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4535 
   4536     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4537     # mode.  It turns out that the SunPro C++ compiler does not properly
   4538     # handle '-M -o', and we need to detect this.  Also, some Intel
   4539     # versions had trouble with output in subdirs.
   4540     am__obj=sub/conftest.${OBJEXT-o}
   4541     am__minus_obj="-o $am__obj"
   4542     case $depmode in
   4543     gcc)
   4544       # This depmode causes a compiler race in universal mode.
   4545       test "$am__universal" = false || continue
   4546       ;;
   4547     nosideeffect)
   4548       # After this tag, mechanisms are not by side-effect, so they'll
   4549       # only be used when explicitly requested.
   4550       if test "x$enable_dependency_tracking" = xyes; then
   4551 	continue
   4552       else
   4553 	break
   4554       fi
   4555       ;;
   4556     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4557       # This compiler won't grok '-c -o', but also, the minuso test has
   4558       # not run yet.  These depmodes are late enough in the game, and
   4559       # so weak that their functioning should not be impacted.
   4560       am__obj=conftest.${OBJEXT-o}
   4561       am__minus_obj=
   4562       ;;
   4563     none) break ;;
   4564     esac
   4565     if depmode=$depmode \
   4566        source=sub/conftest.c object=$am__obj \
   4567        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4568        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4569          >/dev/null 2>conftest.err &&
   4570        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4571        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4572        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4573        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4574       # icc doesn't choke on unknown options, it will just issue warnings
   4575       # or remarks (even with -Werror).  So we grep stderr for any message
   4576       # that says an option was ignored or not supported.
   4577       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4578       #   icc: Command line warning: ignoring option '-M'; no argument required
   4579       # The diagnosis changed in icc 8.0:
   4580       #   icc: Command line remark: option '-MP' not supported
   4581       if (grep 'ignoring option' conftest.err ||
   4582           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4583         am_cv_CC_dependencies_compiler_type=$depmode
   4584         break
   4585       fi
   4586     fi
   4587   done
   4588 
   4589   cd ..
   4590   rm -rf conftest.dir
   4591 else
   4592   am_cv_CC_dependencies_compiler_type=none
   4593 fi
   4594 
   4595 fi
   4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4597 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4598 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4599 
   4600  if
   4601   test "x$enable_dependency_tracking" != xno \
   4602   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4603   am__fastdepCC_TRUE=
   4604   am__fastdepCC_FALSE='#'
   4605 else
   4606   am__fastdepCC_TRUE='#'
   4607   am__fastdepCC_FALSE=
   4608 fi
   4609 
   4610 
   4611 # Variables for tags utilities; see am/tags.am
   4612 if test -z "$CTAGS"; then
   4613   CTAGS=ctags
   4614 fi
   4615 
   4616 if test -z "$ETAGS"; then
   4617   ETAGS=etags
   4618 fi
   4619 
   4620 if test -z "$CSCOPE"; then
   4621   CSCOPE=cscope
   4622 fi
   4623 
   4624 
   4625 
   4626 # POSIX will say in a future version that running "rm -f" with no argument
   4627 # is OK; and we want to be able to make that assumption in our Makefile
   4628 # recipes.  So use an aggressive probe to check that the usage we want is
   4629 # actually supported "in the wild" to an acceptable degree.
   4630 # See automake bug#10828.
   4631 # To make any issue more visible, cause the running configure to be aborted
   4632 # by default if the 'rm' program in use doesn't match our expectations; the
   4633 # user can still override this though.
   4634 if rm -f && rm -fr && rm -rf; then : OK; else
   4635   cat >&2 <<'END'
   4636 Oops!
   4637 
   4638 Your 'rm' program seems unable to run without file operands specified
   4639 on the command line, even when the '-f' option is present.  This is contrary
   4640 to the behaviour of most rm programs out there, and not conforming with
   4641 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4642 
   4643 Please tell bug-automake@gnu.org about your system, including the value
   4644 of your $PATH and any error possibly output before this message.  This
   4645 can help us improve future automake versions.
   4646 
   4647 END
   4648   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4649     echo 'Configuration will proceed anyway, since you have set the' >&2
   4650     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4651     echo >&2
   4652   else
   4653     cat >&2 <<'END'
   4654 Aborting the configuration process, to ensure you take notice of the issue.
   4655 
   4656 You can download and install GNU coreutils to get an 'rm' implementation
   4657 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4658 
   4659 If you want to complete the configuration process using your problematic
   4660 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4661 to "yes", and re-run configure.
   4662 
   4663 END
   4664     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4665   fi
   4666 fi
   4667 
   4668 
   4669 # Initialize libtool
   4670 
   4671 
   4672   # Make sure we can run config.sub.
   4673 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4674   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4675 
   4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4677 printf %s "checking build system type... " >&6; }
   4678 if test ${ac_cv_build+y}
   4679 then :
   4680   printf %s "(cached) " >&6
   4681 else $as_nop
   4682   ac_build_alias=$build_alias
   4683 test "x$ac_build_alias" = x &&
   4684   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4685 test "x$ac_build_alias" = x &&
   4686   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4687 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4688   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4689 
   4690 fi
   4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4692 printf "%s\n" "$ac_cv_build" >&6; }
   4693 case $ac_cv_build in
   4694 *-*-*) ;;
   4695 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4696 esac
   4697 build=$ac_cv_build
   4698 ac_save_IFS=$IFS; IFS='-'
   4699 set x $ac_cv_build
   4700 shift
   4701 build_cpu=$1
   4702 build_vendor=$2
   4703 shift; shift
   4704 # Remember, the first character of IFS is used to create $*,
   4705 # except with old shells:
   4706 build_os=$*
   4707 IFS=$ac_save_IFS
   4708 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4709 
   4710 
   4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4712 printf %s "checking host system type... " >&6; }
   4713 if test ${ac_cv_host+y}
   4714 then :
   4715   printf %s "(cached) " >&6
   4716 else $as_nop
   4717   if test "x$host_alias" = x; then
   4718   ac_cv_host=$ac_cv_build
   4719 else
   4720   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4721     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4722 fi
   4723 
   4724 fi
   4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4726 printf "%s\n" "$ac_cv_host" >&6; }
   4727 case $ac_cv_host in
   4728 *-*-*) ;;
   4729 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4730 esac
   4731 host=$ac_cv_host
   4732 ac_save_IFS=$IFS; IFS='-'
   4733 set x $ac_cv_host
   4734 shift
   4735 host_cpu=$1
   4736 host_vendor=$2
   4737 shift; shift
   4738 # Remember, the first character of IFS is used to create $*,
   4739 # except with old shells:
   4740 host_os=$*
   4741 IFS=$ac_save_IFS
   4742 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4743 
   4744 
   4745 enable_win32_dll=yes
   4746 
   4747 case $host in
   4748 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   4749   if test -n "$ac_tool_prefix"; then
   4750   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4751 set dummy ${ac_tool_prefix}as; ac_word=$2
   4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4753 printf %s "checking for $ac_word... " >&6; }
   4754 if test ${ac_cv_prog_AS+y}
   4755 then :
   4756   printf %s "(cached) " >&6
   4757 else $as_nop
   4758   if test -n "$AS"; then
   4759   ac_cv_prog_AS="$AS" # Let the user override the test.
   4760 else
   4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4762 for as_dir in $PATH
   4763 do
   4764   IFS=$as_save_IFS
   4765   case $as_dir in #(((
   4766     '') as_dir=./ ;;
   4767     */) ;;
   4768     *) as_dir=$as_dir/ ;;
   4769   esac
   4770     for ac_exec_ext in '' $ac_executable_extensions; do
   4771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4772     ac_cv_prog_AS="${ac_tool_prefix}as"
   4773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4774     break 2
   4775   fi
   4776 done
   4777   done
   4778 IFS=$as_save_IFS
   4779 
   4780 fi
   4781 fi
   4782 AS=$ac_cv_prog_AS
   4783 if test -n "$AS"; then
   4784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4785 printf "%s\n" "$AS" >&6; }
   4786 else
   4787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4788 printf "%s\n" "no" >&6; }
   4789 fi
   4790 
   4791 
   4792 fi
   4793 if test -z "$ac_cv_prog_AS"; then
   4794   ac_ct_AS=$AS
   4795   # Extract the first word of "as", so it can be a program name with args.
   4796 set dummy as; ac_word=$2
   4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4798 printf %s "checking for $ac_word... " >&6; }
   4799 if test ${ac_cv_prog_ac_ct_AS+y}
   4800 then :
   4801   printf %s "(cached) " >&6
   4802 else $as_nop
   4803   if test -n "$ac_ct_AS"; then
   4804   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4805 else
   4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4807 for as_dir in $PATH
   4808 do
   4809   IFS=$as_save_IFS
   4810   case $as_dir in #(((
   4811     '') as_dir=./ ;;
   4812     */) ;;
   4813     *) as_dir=$as_dir/ ;;
   4814   esac
   4815     for ac_exec_ext in '' $ac_executable_extensions; do
   4816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4817     ac_cv_prog_ac_ct_AS="as"
   4818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4819     break 2
   4820   fi
   4821 done
   4822   done
   4823 IFS=$as_save_IFS
   4824 
   4825 fi
   4826 fi
   4827 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4828 if test -n "$ac_ct_AS"; then
   4829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4830 printf "%s\n" "$ac_ct_AS" >&6; }
   4831 else
   4832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4833 printf "%s\n" "no" >&6; }
   4834 fi
   4835 
   4836   if test "x$ac_ct_AS" = x; then
   4837     AS="false"
   4838   else
   4839     case $cross_compiling:$ac_tool_warned in
   4840 yes:)
   4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4842 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4843 ac_tool_warned=yes ;;
   4844 esac
   4845     AS=$ac_ct_AS
   4846   fi
   4847 else
   4848   AS="$ac_cv_prog_AS"
   4849 fi
   4850 
   4851   if test -n "$ac_tool_prefix"; then
   4852   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4853 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4855 printf %s "checking for $ac_word... " >&6; }
   4856 if test ${ac_cv_prog_DLLTOOL+y}
   4857 then :
   4858   printf %s "(cached) " >&6
   4859 else $as_nop
   4860   if test -n "$DLLTOOL"; then
   4861   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4862 else
   4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4864 for as_dir in $PATH
   4865 do
   4866   IFS=$as_save_IFS
   4867   case $as_dir in #(((
   4868     '') as_dir=./ ;;
   4869     */) ;;
   4870     *) as_dir=$as_dir/ ;;
   4871   esac
   4872     for ac_exec_ext in '' $ac_executable_extensions; do
   4873   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4874     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4875     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4876     break 2
   4877   fi
   4878 done
   4879   done
   4880 IFS=$as_save_IFS
   4881 
   4882 fi
   4883 fi
   4884 DLLTOOL=$ac_cv_prog_DLLTOOL
   4885 if test -n "$DLLTOOL"; then
   4886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   4887 printf "%s\n" "$DLLTOOL" >&6; }
   4888 else
   4889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4890 printf "%s\n" "no" >&6; }
   4891 fi
   4892 
   4893 
   4894 fi
   4895 if test -z "$ac_cv_prog_DLLTOOL"; then
   4896   ac_ct_DLLTOOL=$DLLTOOL
   4897   # Extract the first word of "dlltool", so it can be a program name with args.
   4898 set dummy dlltool; ac_word=$2
   4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4900 printf %s "checking for $ac_word... " >&6; }
   4901 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   4902 then :
   4903   printf %s "(cached) " >&6
   4904 else $as_nop
   4905   if test -n "$ac_ct_DLLTOOL"; then
   4906   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4907 else
   4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4909 for as_dir in $PATH
   4910 do
   4911   IFS=$as_save_IFS
   4912   case $as_dir in #(((
   4913     '') as_dir=./ ;;
   4914     */) ;;
   4915     *) as_dir=$as_dir/ ;;
   4916   esac
   4917     for ac_exec_ext in '' $ac_executable_extensions; do
   4918   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4919     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4920     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4921     break 2
   4922   fi
   4923 done
   4924   done
   4925 IFS=$as_save_IFS
   4926 
   4927 fi
   4928 fi
   4929 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4930 if test -n "$ac_ct_DLLTOOL"; then
   4931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   4932 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   4933 else
   4934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4935 printf "%s\n" "no" >&6; }
   4936 fi
   4937 
   4938   if test "x$ac_ct_DLLTOOL" = x; then
   4939     DLLTOOL="false"
   4940   else
   4941     case $cross_compiling:$ac_tool_warned in
   4942 yes:)
   4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4944 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4945 ac_tool_warned=yes ;;
   4946 esac
   4947     DLLTOOL=$ac_ct_DLLTOOL
   4948   fi
   4949 else
   4950   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4951 fi
   4952 
   4953   if test -n "$ac_tool_prefix"; then
   4954   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4955 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4957 printf %s "checking for $ac_word... " >&6; }
   4958 if test ${ac_cv_prog_OBJDUMP+y}
   4959 then :
   4960   printf %s "(cached) " >&6
   4961 else $as_nop
   4962   if test -n "$OBJDUMP"; then
   4963   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4964 else
   4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4966 for as_dir in $PATH
   4967 do
   4968   IFS=$as_save_IFS
   4969   case $as_dir in #(((
   4970     '') as_dir=./ ;;
   4971     */) ;;
   4972     *) as_dir=$as_dir/ ;;
   4973   esac
   4974     for ac_exec_ext in '' $ac_executable_extensions; do
   4975   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4976     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4977     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4978     break 2
   4979   fi
   4980 done
   4981   done
   4982 IFS=$as_save_IFS
   4983 
   4984 fi
   4985 fi
   4986 OBJDUMP=$ac_cv_prog_OBJDUMP
   4987 if test -n "$OBJDUMP"; then
   4988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4989 printf "%s\n" "$OBJDUMP" >&6; }
   4990 else
   4991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4992 printf "%s\n" "no" >&6; }
   4993 fi
   4994 
   4995 
   4996 fi
   4997 if test -z "$ac_cv_prog_OBJDUMP"; then
   4998   ac_ct_OBJDUMP=$OBJDUMP
   4999   # Extract the first word of "objdump", so it can be a program name with args.
   5000 set dummy objdump; ac_word=$2
   5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5002 printf %s "checking for $ac_word... " >&6; }
   5003 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5004 then :
   5005   printf %s "(cached) " >&6
   5006 else $as_nop
   5007   if test -n "$ac_ct_OBJDUMP"; then
   5008   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5009 else
   5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5011 for as_dir in $PATH
   5012 do
   5013   IFS=$as_save_IFS
   5014   case $as_dir in #(((
   5015     '') as_dir=./ ;;
   5016     */) ;;
   5017     *) as_dir=$as_dir/ ;;
   5018   esac
   5019     for ac_exec_ext in '' $ac_executable_extensions; do
   5020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5021     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5023     break 2
   5024   fi
   5025 done
   5026   done
   5027 IFS=$as_save_IFS
   5028 
   5029 fi
   5030 fi
   5031 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5032 if test -n "$ac_ct_OBJDUMP"; then
   5033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5034 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5035 else
   5036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5037 printf "%s\n" "no" >&6; }
   5038 fi
   5039 
   5040   if test "x$ac_ct_OBJDUMP" = x; then
   5041     OBJDUMP="false"
   5042   else
   5043     case $cross_compiling:$ac_tool_warned in
   5044 yes:)
   5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5046 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5047 ac_tool_warned=yes ;;
   5048 esac
   5049     OBJDUMP=$ac_ct_OBJDUMP
   5050   fi
   5051 else
   5052   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5053 fi
   5054 
   5055   ;;
   5056 esac
   5057 
   5058 test -z "$AS" && AS=as
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 test -z "$OBJDUMP" && OBJDUMP=objdump
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 case `pwd` in
   5079   *\ * | *\	*)
   5080     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5081 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5082 esac
   5083 
   5084 
   5085 
   5086 macro_version='2.4.7'
   5087 macro_revision='2.4.7'
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 ltmain=$ac_aux_dir/ltmain.sh
   5103 
   5104 # Backslashify metacharacters that are still active within
   5105 # double-quoted strings.
   5106 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5107 
   5108 # Same as above, but do not quote variable references.
   5109 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5110 
   5111 # Sed substitution to delay expansion of an escaped shell variable in a
   5112 # double_quote_subst'ed string.
   5113 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5114 
   5115 # Sed substitution to delay expansion of an escaped single quote.
   5116 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5117 
   5118 # Sed substitution to avoid accidental globbing in evaled expressions
   5119 no_glob_subst='s/\*/\\\*/g'
   5120 
   5121 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5122 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5123 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5124 
   5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5126 printf %s "checking how to print strings... " >&6; }
   5127 # Test print first, because it will be a builtin if present.
   5128 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5129    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5130   ECHO='print -r --'
   5131 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5132   ECHO='printf %s\n'
   5133 else
   5134   # Use this function as a fallback that always works.
   5135   func_fallback_echo ()
   5136   {
   5137     eval 'cat <<_LTECHO_EOF
   5138 $1
   5139 _LTECHO_EOF'
   5140   }
   5141   ECHO='func_fallback_echo'
   5142 fi
   5143 
   5144 # func_echo_all arg...
   5145 # Invoke $ECHO with all args, space-separated.
   5146 func_echo_all ()
   5147 {
   5148     $ECHO ""
   5149 }
   5150 
   5151 case $ECHO in
   5152   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5153 printf "%s\n" "printf" >&6; } ;;
   5154   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5155 printf "%s\n" "print -r" >&6; } ;;
   5156   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5157 printf "%s\n" "cat" >&6; } ;;
   5158 esac
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5174 printf %s "checking for a sed that does not truncate output... " >&6; }
   5175 if test ${ac_cv_path_SED+y}
   5176 then :
   5177   printf %s "(cached) " >&6
   5178 else $as_nop
   5179             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5180      for ac_i in 1 2 3 4 5 6 7; do
   5181        ac_script="$ac_script$as_nl$ac_script"
   5182      done
   5183      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5184      { ac_script=; unset ac_script;}
   5185      if test -z "$SED"; then
   5186   ac_path_SED_found=false
   5187   # Loop through the user's path and test for each of PROGNAME-LIST
   5188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5189 for as_dir in $PATH
   5190 do
   5191   IFS=$as_save_IFS
   5192   case $as_dir in #(((
   5193     '') as_dir=./ ;;
   5194     */) ;;
   5195     *) as_dir=$as_dir/ ;;
   5196   esac
   5197     for ac_prog in sed gsed
   5198    do
   5199     for ac_exec_ext in '' $ac_executable_extensions; do
   5200       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5201       as_fn_executable_p "$ac_path_SED" || continue
   5202 # Check for GNU ac_path_SED and select it if it is found.
   5203   # Check for GNU $ac_path_SED
   5204 case `"$ac_path_SED" --version 2>&1` in
   5205 *GNU*)
   5206   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5207 *)
   5208   ac_count=0
   5209   printf %s 0123456789 >"conftest.in"
   5210   while :
   5211   do
   5212     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5213     mv "conftest.tmp" "conftest.in"
   5214     cp "conftest.in" "conftest.nl"
   5215     printf "%s\n" '' >> "conftest.nl"
   5216     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5218     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5219     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5220       # Best one so far, save it but keep looking for a better one
   5221       ac_cv_path_SED="$ac_path_SED"
   5222       ac_path_SED_max=$ac_count
   5223     fi
   5224     # 10*(2^10) chars as input seems more than enough
   5225     test $ac_count -gt 10 && break
   5226   done
   5227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5228 esac
   5229 
   5230       $ac_path_SED_found && break 3
   5231     done
   5232   done
   5233   done
   5234 IFS=$as_save_IFS
   5235   if test -z "$ac_cv_path_SED"; then
   5236     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5237   fi
   5238 else
   5239   ac_cv_path_SED=$SED
   5240 fi
   5241 
   5242 fi
   5243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5244 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5245  SED="$ac_cv_path_SED"
   5246   rm -f conftest.sed
   5247 
   5248 test -z "$SED" && SED=sed
   5249 Xsed="$SED -e 1s/^X//"
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5262 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5263 if test ${ac_cv_path_GREP+y}
   5264 then :
   5265   printf %s "(cached) " >&6
   5266 else $as_nop
   5267   if test -z "$GREP"; then
   5268   ac_path_GREP_found=false
   5269   # Loop through the user's path and test for each of PROGNAME-LIST
   5270   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5271 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5272 do
   5273   IFS=$as_save_IFS
   5274   case $as_dir in #(((
   5275     '') as_dir=./ ;;
   5276     */) ;;
   5277     *) as_dir=$as_dir/ ;;
   5278   esac
   5279     for ac_prog in grep ggrep
   5280    do
   5281     for ac_exec_ext in '' $ac_executable_extensions; do
   5282       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5283       as_fn_executable_p "$ac_path_GREP" || continue
   5284 # Check for GNU ac_path_GREP and select it if it is found.
   5285   # Check for GNU $ac_path_GREP
   5286 case `"$ac_path_GREP" --version 2>&1` in
   5287 *GNU*)
   5288   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5289 *)
   5290   ac_count=0
   5291   printf %s 0123456789 >"conftest.in"
   5292   while :
   5293   do
   5294     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5295     mv "conftest.tmp" "conftest.in"
   5296     cp "conftest.in" "conftest.nl"
   5297     printf "%s\n" 'GREP' >> "conftest.nl"
   5298     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5299     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5300     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5301     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5302       # Best one so far, save it but keep looking for a better one
   5303       ac_cv_path_GREP="$ac_path_GREP"
   5304       ac_path_GREP_max=$ac_count
   5305     fi
   5306     # 10*(2^10) chars as input seems more than enough
   5307     test $ac_count -gt 10 && break
   5308   done
   5309   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5310 esac
   5311 
   5312       $ac_path_GREP_found && break 3
   5313     done
   5314   done
   5315   done
   5316 IFS=$as_save_IFS
   5317   if test -z "$ac_cv_path_GREP"; then
   5318     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5319   fi
   5320 else
   5321   ac_cv_path_GREP=$GREP
   5322 fi
   5323 
   5324 fi
   5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5326 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5327  GREP="$ac_cv_path_GREP"
   5328 
   5329 
   5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5331 printf %s "checking for egrep... " >&6; }
   5332 if test ${ac_cv_path_EGREP+y}
   5333 then :
   5334   printf %s "(cached) " >&6
   5335 else $as_nop
   5336   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5337    then ac_cv_path_EGREP="$GREP -E"
   5338    else
   5339      if test -z "$EGREP"; then
   5340   ac_path_EGREP_found=false
   5341   # Loop through the user's path and test for each of PROGNAME-LIST
   5342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5344 do
   5345   IFS=$as_save_IFS
   5346   case $as_dir in #(((
   5347     '') as_dir=./ ;;
   5348     */) ;;
   5349     *) as_dir=$as_dir/ ;;
   5350   esac
   5351     for ac_prog in egrep
   5352    do
   5353     for ac_exec_ext in '' $ac_executable_extensions; do
   5354       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5355       as_fn_executable_p "$ac_path_EGREP" || continue
   5356 # Check for GNU ac_path_EGREP and select it if it is found.
   5357   # Check for GNU $ac_path_EGREP
   5358 case `"$ac_path_EGREP" --version 2>&1` in
   5359 *GNU*)
   5360   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5361 *)
   5362   ac_count=0
   5363   printf %s 0123456789 >"conftest.in"
   5364   while :
   5365   do
   5366     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5367     mv "conftest.tmp" "conftest.in"
   5368     cp "conftest.in" "conftest.nl"
   5369     printf "%s\n" 'EGREP' >> "conftest.nl"
   5370     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5371     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5372     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5373     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5374       # Best one so far, save it but keep looking for a better one
   5375       ac_cv_path_EGREP="$ac_path_EGREP"
   5376       ac_path_EGREP_max=$ac_count
   5377     fi
   5378     # 10*(2^10) chars as input seems more than enough
   5379     test $ac_count -gt 10 && break
   5380   done
   5381   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5382 esac
   5383 
   5384       $ac_path_EGREP_found && break 3
   5385     done
   5386   done
   5387   done
   5388 IFS=$as_save_IFS
   5389   if test -z "$ac_cv_path_EGREP"; then
   5390     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5391   fi
   5392 else
   5393   ac_cv_path_EGREP=$EGREP
   5394 fi
   5395 
   5396    fi
   5397 fi
   5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5399 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5400  EGREP="$ac_cv_path_EGREP"
   5401 
   5402 
   5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5404 printf %s "checking for fgrep... " >&6; }
   5405 if test ${ac_cv_path_FGREP+y}
   5406 then :
   5407   printf %s "(cached) " >&6
   5408 else $as_nop
   5409   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5410    then ac_cv_path_FGREP="$GREP -F"
   5411    else
   5412      if test -z "$FGREP"; then
   5413   ac_path_FGREP_found=false
   5414   # Loop through the user's path and test for each of PROGNAME-LIST
   5415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5417 do
   5418   IFS=$as_save_IFS
   5419   case $as_dir in #(((
   5420     '') as_dir=./ ;;
   5421     */) ;;
   5422     *) as_dir=$as_dir/ ;;
   5423   esac
   5424     for ac_prog in fgrep
   5425    do
   5426     for ac_exec_ext in '' $ac_executable_extensions; do
   5427       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5428       as_fn_executable_p "$ac_path_FGREP" || continue
   5429 # Check for GNU ac_path_FGREP and select it if it is found.
   5430   # Check for GNU $ac_path_FGREP
   5431 case `"$ac_path_FGREP" --version 2>&1` in
   5432 *GNU*)
   5433   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5434 *)
   5435   ac_count=0
   5436   printf %s 0123456789 >"conftest.in"
   5437   while :
   5438   do
   5439     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5440     mv "conftest.tmp" "conftest.in"
   5441     cp "conftest.in" "conftest.nl"
   5442     printf "%s\n" 'FGREP' >> "conftest.nl"
   5443     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5444     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5445     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5446     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5447       # Best one so far, save it but keep looking for a better one
   5448       ac_cv_path_FGREP="$ac_path_FGREP"
   5449       ac_path_FGREP_max=$ac_count
   5450     fi
   5451     # 10*(2^10) chars as input seems more than enough
   5452     test $ac_count -gt 10 && break
   5453   done
   5454   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5455 esac
   5456 
   5457       $ac_path_FGREP_found && break 3
   5458     done
   5459   done
   5460   done
   5461 IFS=$as_save_IFS
   5462   if test -z "$ac_cv_path_FGREP"; then
   5463     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5464   fi
   5465 else
   5466   ac_cv_path_FGREP=$FGREP
   5467 fi
   5468 
   5469    fi
   5470 fi
   5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5472 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5473  FGREP="$ac_cv_path_FGREP"
   5474 
   5475 
   5476 test -z "$GREP" && GREP=grep
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 # Check whether --with-gnu-ld was given.
   5497 if test ${with_gnu_ld+y}
   5498 then :
   5499   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5500 else $as_nop
   5501   with_gnu_ld=no
   5502 fi
   5503 
   5504 ac_prog=ld
   5505 if test yes = "$GCC"; then
   5506   # Check if gcc -print-prog-name=ld gives a path.
   5507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5508 printf %s "checking for ld used by $CC... " >&6; }
   5509   case $host in
   5510   *-*-mingw*)
   5511     # gcc leaves a trailing carriage return, which upsets mingw
   5512     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5513   *)
   5514     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5515   esac
   5516   case $ac_prog in
   5517     # Accept absolute paths.
   5518     [\\/]* | ?:[\\/]*)
   5519       re_direlt='/[^/][^/]*/\.\./'
   5520       # Canonicalize the pathname of ld
   5521       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5522       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5523 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5524       done
   5525       test -z "$LD" && LD=$ac_prog
   5526       ;;
   5527   "")
   5528     # If it fails, then pretend we aren't using GCC.
   5529     ac_prog=ld
   5530     ;;
   5531   *)
   5532     # If it is relative, then search for the first ld in PATH.
   5533     with_gnu_ld=unknown
   5534     ;;
   5535   esac
   5536 elif test yes = "$with_gnu_ld"; then
   5537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5538 printf %s "checking for GNU ld... " >&6; }
   5539 else
   5540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5541 printf %s "checking for non-GNU ld... " >&6; }
   5542 fi
   5543 if test ${lt_cv_path_LD+y}
   5544 then :
   5545   printf %s "(cached) " >&6
   5546 else $as_nop
   5547   if test -z "$LD"; then
   5548   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5549   for ac_dir in $PATH; do
   5550     IFS=$lt_save_ifs
   5551     test -z "$ac_dir" && ac_dir=.
   5552     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5553       lt_cv_path_LD=$ac_dir/$ac_prog
   5554       # Check to see if the program is GNU ld.  I'd rather use --version,
   5555       # but apparently some variants of GNU ld only accept -v.
   5556       # Break only if it was the GNU/non-GNU ld that we prefer.
   5557       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5558       *GNU* | *'with BFD'*)
   5559 	test no != "$with_gnu_ld" && break
   5560 	;;
   5561       *)
   5562 	test yes != "$with_gnu_ld" && break
   5563 	;;
   5564       esac
   5565     fi
   5566   done
   5567   IFS=$lt_save_ifs
   5568 else
   5569   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5570 fi
   5571 fi
   5572 
   5573 LD=$lt_cv_path_LD
   5574 if test -n "$LD"; then
   5575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5576 printf "%s\n" "$LD" >&6; }
   5577 else
   5578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5579 printf "%s\n" "no" >&6; }
   5580 fi
   5581 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5583 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5584 if test ${lt_cv_prog_gnu_ld+y}
   5585 then :
   5586   printf %s "(cached) " >&6
   5587 else $as_nop
   5588   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5589 case `$LD -v 2>&1 </dev/null` in
   5590 *GNU* | *'with BFD'*)
   5591   lt_cv_prog_gnu_ld=yes
   5592   ;;
   5593 *)
   5594   lt_cv_prog_gnu_ld=no
   5595   ;;
   5596 esac
   5597 fi
   5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5599 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5600 with_gnu_ld=$lt_cv_prog_gnu_ld
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5611 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5612 if test ${lt_cv_path_NM+y}
   5613 then :
   5614   printf %s "(cached) " >&6
   5615 else $as_nop
   5616   if test -n "$NM"; then
   5617   # Let the user override the test.
   5618   lt_cv_path_NM=$NM
   5619 else
   5620   lt_nm_to_check=${ac_tool_prefix}nm
   5621   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5622     lt_nm_to_check="$lt_nm_to_check nm"
   5623   fi
   5624   for lt_tmp_nm in $lt_nm_to_check; do
   5625     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5626     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5627       IFS=$lt_save_ifs
   5628       test -z "$ac_dir" && ac_dir=.
   5629       tmp_nm=$ac_dir/$lt_tmp_nm
   5630       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5631 	# Check to see if the nm accepts a BSD-compat flag.
   5632 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5633 	#   nm: unknown option "B" ignored
   5634 	# Tru64's nm complains that /dev/null is an invalid object file
   5635 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5636 	case $build_os in
   5637 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5638 	*) lt_bad_file=/dev/null ;;
   5639 	esac
   5640 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5641 	*$lt_bad_file* | *'Invalid file or object type'*)
   5642 	  lt_cv_path_NM="$tmp_nm -B"
   5643 	  break 2
   5644 	  ;;
   5645 	*)
   5646 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5647 	  */dev/null*)
   5648 	    lt_cv_path_NM="$tmp_nm -p"
   5649 	    break 2
   5650 	    ;;
   5651 	  *)
   5652 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5653 	    continue # so that we can try to find one that supports BSD flags
   5654 	    ;;
   5655 	  esac
   5656 	  ;;
   5657 	esac
   5658       fi
   5659     done
   5660     IFS=$lt_save_ifs
   5661   done
   5662   : ${lt_cv_path_NM=no}
   5663 fi
   5664 fi
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5666 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5667 if test no != "$lt_cv_path_NM"; then
   5668   NM=$lt_cv_path_NM
   5669 else
   5670   # Didn't find any BSD compatible name lister, look for dumpbin.
   5671   if test -n "$DUMPBIN"; then :
   5672     # Let the user override the test.
   5673   else
   5674     if test -n "$ac_tool_prefix"; then
   5675   for ac_prog in dumpbin "link -dump"
   5676   do
   5677     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5680 printf %s "checking for $ac_word... " >&6; }
   5681 if test ${ac_cv_prog_DUMPBIN+y}
   5682 then :
   5683   printf %s "(cached) " >&6
   5684 else $as_nop
   5685   if test -n "$DUMPBIN"; then
   5686   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5687 else
   5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5689 for as_dir in $PATH
   5690 do
   5691   IFS=$as_save_IFS
   5692   case $as_dir in #(((
   5693     '') as_dir=./ ;;
   5694     */) ;;
   5695     *) as_dir=$as_dir/ ;;
   5696   esac
   5697     for ac_exec_ext in '' $ac_executable_extensions; do
   5698   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5699     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5700     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5701     break 2
   5702   fi
   5703 done
   5704   done
   5705 IFS=$as_save_IFS
   5706 
   5707 fi
   5708 fi
   5709 DUMPBIN=$ac_cv_prog_DUMPBIN
   5710 if test -n "$DUMPBIN"; then
   5711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5712 printf "%s\n" "$DUMPBIN" >&6; }
   5713 else
   5714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5715 printf "%s\n" "no" >&6; }
   5716 fi
   5717 
   5718 
   5719     test -n "$DUMPBIN" && break
   5720   done
   5721 fi
   5722 if test -z "$DUMPBIN"; then
   5723   ac_ct_DUMPBIN=$DUMPBIN
   5724   for ac_prog in dumpbin "link -dump"
   5725 do
   5726   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5727 set dummy $ac_prog; ac_word=$2
   5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5729 printf %s "checking for $ac_word... " >&6; }
   5730 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5731 then :
   5732   printf %s "(cached) " >&6
   5733 else $as_nop
   5734   if test -n "$ac_ct_DUMPBIN"; then
   5735   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5736 else
   5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5738 for as_dir in $PATH
   5739 do
   5740   IFS=$as_save_IFS
   5741   case $as_dir in #(((
   5742     '') as_dir=./ ;;
   5743     */) ;;
   5744     *) as_dir=$as_dir/ ;;
   5745   esac
   5746     for ac_exec_ext in '' $ac_executable_extensions; do
   5747   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5748     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5749     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5750     break 2
   5751   fi
   5752 done
   5753   done
   5754 IFS=$as_save_IFS
   5755 
   5756 fi
   5757 fi
   5758 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5759 if test -n "$ac_ct_DUMPBIN"; then
   5760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5761 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5762 else
   5763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5764 printf "%s\n" "no" >&6; }
   5765 fi
   5766 
   5767 
   5768   test -n "$ac_ct_DUMPBIN" && break
   5769 done
   5770 
   5771   if test "x$ac_ct_DUMPBIN" = x; then
   5772     DUMPBIN=":"
   5773   else
   5774     case $cross_compiling:$ac_tool_warned in
   5775 yes:)
   5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5778 ac_tool_warned=yes ;;
   5779 esac
   5780     DUMPBIN=$ac_ct_DUMPBIN
   5781   fi
   5782 fi
   5783 
   5784     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5785     *COFF*)
   5786       DUMPBIN="$DUMPBIN -symbols -headers"
   5787       ;;
   5788     *)
   5789       DUMPBIN=:
   5790       ;;
   5791     esac
   5792   fi
   5793 
   5794   if test : != "$DUMPBIN"; then
   5795     NM=$DUMPBIN
   5796   fi
   5797 fi
   5798 test -z "$NM" && NM=nm
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5806 printf %s "checking the name lister ($NM) interface... " >&6; }
   5807 if test ${lt_cv_nm_interface+y}
   5808 then :
   5809   printf %s "(cached) " >&6
   5810 else $as_nop
   5811   lt_cv_nm_interface="BSD nm"
   5812   echo "int some_variable = 0;" > conftest.$ac_ext
   5813   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5814   (eval "$ac_compile" 2>conftest.err)
   5815   cat conftest.err >&5
   5816   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5817   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5818   cat conftest.err >&5
   5819   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5820   cat conftest.out >&5
   5821   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5822     lt_cv_nm_interface="MS dumpbin"
   5823   fi
   5824   rm -f conftest*
   5825 fi
   5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5827 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5828 
   5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5830 printf %s "checking whether ln -s works... " >&6; }
   5831 LN_S=$as_ln_s
   5832 if test "$LN_S" = "ln -s"; then
   5833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5834 printf "%s\n" "yes" >&6; }
   5835 else
   5836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5837 printf "%s\n" "no, using $LN_S" >&6; }
   5838 fi
   5839 
   5840 # find the maximum length of command line arguments
   5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5842 printf %s "checking the maximum length of command line arguments... " >&6; }
   5843 if test ${lt_cv_sys_max_cmd_len+y}
   5844 then :
   5845   printf %s "(cached) " >&6
   5846 else $as_nop
   5847     i=0
   5848   teststring=ABCD
   5849 
   5850   case $build_os in
   5851   msdosdjgpp*)
   5852     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5853     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5854     # during glob expansion).  Even if it were fixed, the result of this
   5855     # check would be larger than it should be.
   5856     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5857     ;;
   5858 
   5859   gnu*)
   5860     # Under GNU Hurd, this test is not required because there is
   5861     # no limit to the length of command line arguments.
   5862     # Libtool will interpret -1 as no limit whatsoever
   5863     lt_cv_sys_max_cmd_len=-1;
   5864     ;;
   5865 
   5866   cygwin* | mingw* | cegcc*)
   5867     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5868     # about 5 minutes as the teststring grows exponentially.
   5869     # Worse, since 9x/ME are not pre-emptively multitasking,
   5870     # you end up with a "frozen" computer, even though with patience
   5871     # the test eventually succeeds (with a max line length of 256k).
   5872     # Instead, let's just punt: use the minimum linelength reported by
   5873     # all of the supported platforms: 8192 (on NT/2K/XP).
   5874     lt_cv_sys_max_cmd_len=8192;
   5875     ;;
   5876 
   5877   mint*)
   5878     # On MiNT this can take a long time and run out of memory.
   5879     lt_cv_sys_max_cmd_len=8192;
   5880     ;;
   5881 
   5882   amigaos*)
   5883     # On AmigaOS with pdksh, this test takes hours, literally.
   5884     # So we just punt and use a minimum line length of 8192.
   5885     lt_cv_sys_max_cmd_len=8192;
   5886     ;;
   5887 
   5888   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5889     # This has been around since 386BSD, at least.  Likely further.
   5890     if test -x /sbin/sysctl; then
   5891       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5892     elif test -x /usr/sbin/sysctl; then
   5893       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5894     else
   5895       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5896     fi
   5897     # And add a safety zone
   5898     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5899     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5900     ;;
   5901 
   5902   interix*)
   5903     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5904     lt_cv_sys_max_cmd_len=196608
   5905     ;;
   5906 
   5907   os2*)
   5908     # The test takes a long time on OS/2.
   5909     lt_cv_sys_max_cmd_len=8192
   5910     ;;
   5911 
   5912   osf*)
   5913     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5914     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5915     # nice to cause kernel panics so lets avoid the loop below.
   5916     # First set a reasonable default.
   5917     lt_cv_sys_max_cmd_len=16384
   5918     #
   5919     if test -x /sbin/sysconfig; then
   5920       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5921         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5922       esac
   5923     fi
   5924     ;;
   5925   sco3.2v5*)
   5926     lt_cv_sys_max_cmd_len=102400
   5927     ;;
   5928   sysv5* | sco5v6* | sysv4.2uw2*)
   5929     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5930     if test -n "$kargmax"; then
   5931       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5932     else
   5933       lt_cv_sys_max_cmd_len=32768
   5934     fi
   5935     ;;
   5936   *)
   5937     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5938     if test -n "$lt_cv_sys_max_cmd_len" && \
   5939        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5940       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5941       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5942     else
   5943       # Make teststring a little bigger before we do anything with it.
   5944       # a 1K string should be a reasonable start.
   5945       for i in 1 2 3 4 5 6 7 8; do
   5946         teststring=$teststring$teststring
   5947       done
   5948       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5949       # If test is not a shell built-in, we'll probably end up computing a
   5950       # maximum length that is only half of the actual maximum length, but
   5951       # we can't tell.
   5952       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5953 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5954 	      test 17 != "$i" # 1/2 MB should be enough
   5955       do
   5956         i=`expr $i + 1`
   5957         teststring=$teststring$teststring
   5958       done
   5959       # Only check the string length outside the loop.
   5960       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5961       teststring=
   5962       # Add a significant safety factor because C++ compilers can tack on
   5963       # massive amounts of additional arguments before passing them to the
   5964       # linker.  It appears as though 1/2 is a usable value.
   5965       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5966     fi
   5967     ;;
   5968   esac
   5969 
   5970 fi
   5971 
   5972 if test -n "$lt_cv_sys_max_cmd_len"; then
   5973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5974 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5975 else
   5976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5977 printf "%s\n" "none" >&6; }
   5978 fi
   5979 max_cmd_len=$lt_cv_sys_max_cmd_len
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 : ${CP="cp -f"}
   5987 : ${MV="mv -f"}
   5988 : ${RM="rm -f"}
   5989 
   5990 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5991   lt_unset=unset
   5992 else
   5993   lt_unset=false
   5994 fi
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 # test EBCDIC or ASCII
   6001 case `echo X|tr X '\101'` in
   6002  A) # ASCII based system
   6003     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6004   lt_SP2NL='tr \040 \012'
   6005   lt_NL2SP='tr \015\012 \040\040'
   6006   ;;
   6007  *) # EBCDIC based system
   6008   lt_SP2NL='tr \100 \n'
   6009   lt_NL2SP='tr \r\n \100\100'
   6010   ;;
   6011 esac
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6022 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6023 if test ${lt_cv_to_host_file_cmd+y}
   6024 then :
   6025   printf %s "(cached) " >&6
   6026 else $as_nop
   6027   case $host in
   6028   *-*-mingw* )
   6029     case $build in
   6030       *-*-mingw* ) # actually msys
   6031         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6032         ;;
   6033       *-*-cygwin* )
   6034         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6035         ;;
   6036       * ) # otherwise, assume *nix
   6037         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6038         ;;
   6039     esac
   6040     ;;
   6041   *-*-cygwin* )
   6042     case $build in
   6043       *-*-mingw* ) # actually msys
   6044         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6045         ;;
   6046       *-*-cygwin* )
   6047         lt_cv_to_host_file_cmd=func_convert_file_noop
   6048         ;;
   6049       * ) # otherwise, assume *nix
   6050         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6051         ;;
   6052     esac
   6053     ;;
   6054   * ) # unhandled hosts (and "normal" native builds)
   6055     lt_cv_to_host_file_cmd=func_convert_file_noop
   6056     ;;
   6057 esac
   6058 
   6059 fi
   6060 
   6061 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6063 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6070 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6071 if test ${lt_cv_to_tool_file_cmd+y}
   6072 then :
   6073   printf %s "(cached) " >&6
   6074 else $as_nop
   6075   #assume ordinary cross tools, or native build.
   6076 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6077 case $host in
   6078   *-*-mingw* )
   6079     case $build in
   6080       *-*-mingw* ) # actually msys
   6081         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6082         ;;
   6083     esac
   6084     ;;
   6085 esac
   6086 
   6087 fi
   6088 
   6089 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6091 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6098 printf %s "checking for $LD option to reload object files... " >&6; }
   6099 if test ${lt_cv_ld_reload_flag+y}
   6100 then :
   6101   printf %s "(cached) " >&6
   6102 else $as_nop
   6103   lt_cv_ld_reload_flag='-r'
   6104 fi
   6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6106 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6107 reload_flag=$lt_cv_ld_reload_flag
   6108 case $reload_flag in
   6109 "" | " "*) ;;
   6110 *) reload_flag=" $reload_flag" ;;
   6111 esac
   6112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6113 case $host_os in
   6114   cygwin* | mingw* | pw32* | cegcc*)
   6115     if test yes != "$GCC"; then
   6116       reload_cmds=false
   6117     fi
   6118     ;;
   6119   darwin*)
   6120     if test yes = "$GCC"; then
   6121       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6122     else
   6123       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6124     fi
   6125     ;;
   6126 esac
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 if test -n "$ac_tool_prefix"; then
   6137   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6138 set dummy ${ac_tool_prefix}file; ac_word=$2
   6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6140 printf %s "checking for $ac_word... " >&6; }
   6141 if test ${ac_cv_prog_FILECMD+y}
   6142 then :
   6143   printf %s "(cached) " >&6
   6144 else $as_nop
   6145   if test -n "$FILECMD"; then
   6146   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6147 else
   6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6149 for as_dir in $PATH
   6150 do
   6151   IFS=$as_save_IFS
   6152   case $as_dir in #(((
   6153     '') as_dir=./ ;;
   6154     */) ;;
   6155     *) as_dir=$as_dir/ ;;
   6156   esac
   6157     for ac_exec_ext in '' $ac_executable_extensions; do
   6158   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6159     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6160     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6161     break 2
   6162   fi
   6163 done
   6164   done
   6165 IFS=$as_save_IFS
   6166 
   6167 fi
   6168 fi
   6169 FILECMD=$ac_cv_prog_FILECMD
   6170 if test -n "$FILECMD"; then
   6171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6172 printf "%s\n" "$FILECMD" >&6; }
   6173 else
   6174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6175 printf "%s\n" "no" >&6; }
   6176 fi
   6177 
   6178 
   6179 fi
   6180 if test -z "$ac_cv_prog_FILECMD"; then
   6181   ac_ct_FILECMD=$FILECMD
   6182   # Extract the first word of "file", so it can be a program name with args.
   6183 set dummy file; ac_word=$2
   6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6185 printf %s "checking for $ac_word... " >&6; }
   6186 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6187 then :
   6188   printf %s "(cached) " >&6
   6189 else $as_nop
   6190   if test -n "$ac_ct_FILECMD"; then
   6191   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6192 else
   6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6194 for as_dir in $PATH
   6195 do
   6196   IFS=$as_save_IFS
   6197   case $as_dir in #(((
   6198     '') as_dir=./ ;;
   6199     */) ;;
   6200     *) as_dir=$as_dir/ ;;
   6201   esac
   6202     for ac_exec_ext in '' $ac_executable_extensions; do
   6203   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6204     ac_cv_prog_ac_ct_FILECMD="file"
   6205     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6206     break 2
   6207   fi
   6208 done
   6209   done
   6210 IFS=$as_save_IFS
   6211 
   6212 fi
   6213 fi
   6214 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6215 if test -n "$ac_ct_FILECMD"; then
   6216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6217 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6218 else
   6219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6220 printf "%s\n" "no" >&6; }
   6221 fi
   6222 
   6223   if test "x$ac_ct_FILECMD" = x; then
   6224     FILECMD=":"
   6225   else
   6226     case $cross_compiling:$ac_tool_warned in
   6227 yes:)
   6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6229 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6230 ac_tool_warned=yes ;;
   6231 esac
   6232     FILECMD=$ac_ct_FILECMD
   6233   fi
   6234 else
   6235   FILECMD="$ac_cv_prog_FILECMD"
   6236 fi
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 if test -n "$ac_tool_prefix"; then
   6245   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6246 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6248 printf %s "checking for $ac_word... " >&6; }
   6249 if test ${ac_cv_prog_OBJDUMP+y}
   6250 then :
   6251   printf %s "(cached) " >&6
   6252 else $as_nop
   6253   if test -n "$OBJDUMP"; then
   6254   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6255 else
   6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6257 for as_dir in $PATH
   6258 do
   6259   IFS=$as_save_IFS
   6260   case $as_dir in #(((
   6261     '') as_dir=./ ;;
   6262     */) ;;
   6263     *) as_dir=$as_dir/ ;;
   6264   esac
   6265     for ac_exec_ext in '' $ac_executable_extensions; do
   6266   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6267     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6268     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6269     break 2
   6270   fi
   6271 done
   6272   done
   6273 IFS=$as_save_IFS
   6274 
   6275 fi
   6276 fi
   6277 OBJDUMP=$ac_cv_prog_OBJDUMP
   6278 if test -n "$OBJDUMP"; then
   6279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6280 printf "%s\n" "$OBJDUMP" >&6; }
   6281 else
   6282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6283 printf "%s\n" "no" >&6; }
   6284 fi
   6285 
   6286 
   6287 fi
   6288 if test -z "$ac_cv_prog_OBJDUMP"; then
   6289   ac_ct_OBJDUMP=$OBJDUMP
   6290   # Extract the first word of "objdump", so it can be a program name with args.
   6291 set dummy objdump; ac_word=$2
   6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6293 printf %s "checking for $ac_word... " >&6; }
   6294 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6295 then :
   6296   printf %s "(cached) " >&6
   6297 else $as_nop
   6298   if test -n "$ac_ct_OBJDUMP"; then
   6299   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6300 else
   6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6302 for as_dir in $PATH
   6303 do
   6304   IFS=$as_save_IFS
   6305   case $as_dir in #(((
   6306     '') as_dir=./ ;;
   6307     */) ;;
   6308     *) as_dir=$as_dir/ ;;
   6309   esac
   6310     for ac_exec_ext in '' $ac_executable_extensions; do
   6311   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6312     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6313     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6314     break 2
   6315   fi
   6316 done
   6317   done
   6318 IFS=$as_save_IFS
   6319 
   6320 fi
   6321 fi
   6322 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6323 if test -n "$ac_ct_OBJDUMP"; then
   6324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6325 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6326 else
   6327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6328 printf "%s\n" "no" >&6; }
   6329 fi
   6330 
   6331   if test "x$ac_ct_OBJDUMP" = x; then
   6332     OBJDUMP="false"
   6333   else
   6334     case $cross_compiling:$ac_tool_warned in
   6335 yes:)
   6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6337 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6338 ac_tool_warned=yes ;;
   6339 esac
   6340     OBJDUMP=$ac_ct_OBJDUMP
   6341   fi
   6342 else
   6343   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6344 fi
   6345 
   6346 test -z "$OBJDUMP" && OBJDUMP=objdump
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6354 printf %s "checking how to recognize dependent libraries... " >&6; }
   6355 if test ${lt_cv_deplibs_check_method+y}
   6356 then :
   6357   printf %s "(cached) " >&6
   6358 else $as_nop
   6359   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6360 lt_cv_file_magic_test_file=
   6361 lt_cv_deplibs_check_method='unknown'
   6362 # Need to set the preceding variable on all platforms that support
   6363 # interlibrary dependencies.
   6364 # 'none' -- dependencies not supported.
   6365 # 'unknown' -- same as none, but documents that we really don't know.
   6366 # 'pass_all' -- all dependencies passed with no checks.
   6367 # 'test_compile' -- check by making test program.
   6368 # 'file_magic [[regex]]' -- check by looking for files in library path
   6369 # that responds to the $file_magic_cmd with a given extended regex.
   6370 # If you have 'file' or equivalent on your system and you're not sure
   6371 # whether 'pass_all' will *always* work, you probably want this one.
   6372 
   6373 case $host_os in
   6374 aix[4-9]*)
   6375   lt_cv_deplibs_check_method=pass_all
   6376   ;;
   6377 
   6378 beos*)
   6379   lt_cv_deplibs_check_method=pass_all
   6380   ;;
   6381 
   6382 bsdi[45]*)
   6383   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6384   lt_cv_file_magic_cmd='$FILECMD -L'
   6385   lt_cv_file_magic_test_file=/shlib/libc.so
   6386   ;;
   6387 
   6388 cygwin*)
   6389   # func_win32_libid is a shell function defined in ltmain.sh
   6390   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6391   lt_cv_file_magic_cmd='func_win32_libid'
   6392   ;;
   6393 
   6394 mingw* | pw32*)
   6395   # Base MSYS/MinGW do not provide the 'file' command needed by
   6396   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6397   # unless we find 'file', for example because we are cross-compiling.
   6398   if ( file / ) >/dev/null 2>&1; then
   6399     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6400     lt_cv_file_magic_cmd='func_win32_libid'
   6401   else
   6402     # Keep this pattern in sync with the one in func_win32_libid.
   6403     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6404     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6405   fi
   6406   ;;
   6407 
   6408 cegcc*)
   6409   # use the weaker test based on 'objdump'. See mingw*.
   6410   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6411   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6412   ;;
   6413 
   6414 darwin* | rhapsody*)
   6415   lt_cv_deplibs_check_method=pass_all
   6416   ;;
   6417 
   6418 freebsd* | dragonfly* | midnightbsd*)
   6419   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6420     case $host_cpu in
   6421     i*86 )
   6422       # Not sure whether the presence of OpenBSD here was a mistake.
   6423       # Let's accept both of them until this is cleared up.
   6424       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6425       lt_cv_file_magic_cmd=$FILECMD
   6426       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6427       ;;
   6428     esac
   6429   else
   6430     lt_cv_deplibs_check_method=pass_all
   6431   fi
   6432   ;;
   6433 
   6434 haiku*)
   6435   lt_cv_deplibs_check_method=pass_all
   6436   ;;
   6437 
   6438 hpux10.20* | hpux11*)
   6439   lt_cv_file_magic_cmd=$FILECMD
   6440   case $host_cpu in
   6441   ia64*)
   6442     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6443     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6444     ;;
   6445   hppa*64*)
   6446     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]'
   6447     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6448     ;;
   6449   *)
   6450     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6451     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6452     ;;
   6453   esac
   6454   ;;
   6455 
   6456 interix[3-9]*)
   6457   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6458   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6459   ;;
   6460 
   6461 irix5* | irix6* | nonstopux*)
   6462   case $LD in
   6463   *-32|*"-32 ") libmagic=32-bit;;
   6464   *-n32|*"-n32 ") libmagic=N32;;
   6465   *-64|*"-64 ") libmagic=64-bit;;
   6466   *) libmagic=never-match;;
   6467   esac
   6468   lt_cv_deplibs_check_method=pass_all
   6469   ;;
   6470 
   6471 # This must be glibc/ELF.
   6472 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6473   lt_cv_deplibs_check_method=pass_all
   6474   ;;
   6475 
   6476 netbsd*)
   6477   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6478     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6479   else
   6480     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6481   fi
   6482   ;;
   6483 
   6484 newos6*)
   6485   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6486   lt_cv_file_magic_cmd=$FILECMD
   6487   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6488   ;;
   6489 
   6490 *nto* | *qnx*)
   6491   lt_cv_deplibs_check_method=pass_all
   6492   ;;
   6493 
   6494 openbsd* | bitrig*)
   6495   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6496     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6497   else
   6498     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6499   fi
   6500   ;;
   6501 
   6502 osf3* | osf4* | osf5*)
   6503   lt_cv_deplibs_check_method=pass_all
   6504   ;;
   6505 
   6506 rdos*)
   6507   lt_cv_deplibs_check_method=pass_all
   6508   ;;
   6509 
   6510 solaris*)
   6511   lt_cv_deplibs_check_method=pass_all
   6512   ;;
   6513 
   6514 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6515   lt_cv_deplibs_check_method=pass_all
   6516   ;;
   6517 
   6518 sysv4 | sysv4.3*)
   6519   case $host_vendor in
   6520   motorola)
   6521     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]'
   6522     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6523     ;;
   6524   ncr)
   6525     lt_cv_deplibs_check_method=pass_all
   6526     ;;
   6527   sequent)
   6528     lt_cv_file_magic_cmd='/bin/file'
   6529     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6530     ;;
   6531   sni)
   6532     lt_cv_file_magic_cmd='/bin/file'
   6533     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6534     lt_cv_file_magic_test_file=/lib/libc.so
   6535     ;;
   6536   siemens)
   6537     lt_cv_deplibs_check_method=pass_all
   6538     ;;
   6539   pc)
   6540     lt_cv_deplibs_check_method=pass_all
   6541     ;;
   6542   esac
   6543   ;;
   6544 
   6545 tpf*)
   6546   lt_cv_deplibs_check_method=pass_all
   6547   ;;
   6548 os2*)
   6549   lt_cv_deplibs_check_method=pass_all
   6550   ;;
   6551 esac
   6552 
   6553 fi
   6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6555 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6556 
   6557 file_magic_glob=
   6558 want_nocaseglob=no
   6559 if test "$build" = "$host"; then
   6560   case $host_os in
   6561   mingw* | pw32*)
   6562     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6563       want_nocaseglob=yes
   6564     else
   6565       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6566     fi
   6567     ;;
   6568   esac
   6569 fi
   6570 
   6571 file_magic_cmd=$lt_cv_file_magic_cmd
   6572 deplibs_check_method=$lt_cv_deplibs_check_method
   6573 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 if test -n "$ac_tool_prefix"; then
   6597   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6598 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6600 printf %s "checking for $ac_word... " >&6; }
   6601 if test ${ac_cv_prog_DLLTOOL+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else $as_nop
   6605   if test -n "$DLLTOOL"; then
   6606   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6607 else
   6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6609 for as_dir in $PATH
   6610 do
   6611   IFS=$as_save_IFS
   6612   case $as_dir in #(((
   6613     '') as_dir=./ ;;
   6614     */) ;;
   6615     *) as_dir=$as_dir/ ;;
   6616   esac
   6617     for ac_exec_ext in '' $ac_executable_extensions; do
   6618   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6619     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6620     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6621     break 2
   6622   fi
   6623 done
   6624   done
   6625 IFS=$as_save_IFS
   6626 
   6627 fi
   6628 fi
   6629 DLLTOOL=$ac_cv_prog_DLLTOOL
   6630 if test -n "$DLLTOOL"; then
   6631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6632 printf "%s\n" "$DLLTOOL" >&6; }
   6633 else
   6634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6635 printf "%s\n" "no" >&6; }
   6636 fi
   6637 
   6638 
   6639 fi
   6640 if test -z "$ac_cv_prog_DLLTOOL"; then
   6641   ac_ct_DLLTOOL=$DLLTOOL
   6642   # Extract the first word of "dlltool", so it can be a program name with args.
   6643 set dummy dlltool; ac_word=$2
   6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6645 printf %s "checking for $ac_word... " >&6; }
   6646 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6647 then :
   6648   printf %s "(cached) " >&6
   6649 else $as_nop
   6650   if test -n "$ac_ct_DLLTOOL"; then
   6651   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6652 else
   6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6654 for as_dir in $PATH
   6655 do
   6656   IFS=$as_save_IFS
   6657   case $as_dir in #(((
   6658     '') as_dir=./ ;;
   6659     */) ;;
   6660     *) as_dir=$as_dir/ ;;
   6661   esac
   6662     for ac_exec_ext in '' $ac_executable_extensions; do
   6663   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6664     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6665     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6666     break 2
   6667   fi
   6668 done
   6669   done
   6670 IFS=$as_save_IFS
   6671 
   6672 fi
   6673 fi
   6674 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6675 if test -n "$ac_ct_DLLTOOL"; then
   6676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6677 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6678 else
   6679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6680 printf "%s\n" "no" >&6; }
   6681 fi
   6682 
   6683   if test "x$ac_ct_DLLTOOL" = x; then
   6684     DLLTOOL="false"
   6685   else
   6686     case $cross_compiling:$ac_tool_warned in
   6687 yes:)
   6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6689 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6690 ac_tool_warned=yes ;;
   6691 esac
   6692     DLLTOOL=$ac_ct_DLLTOOL
   6693   fi
   6694 else
   6695   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6696 fi
   6697 
   6698 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6707 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6708 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6709 then :
   6710   printf %s "(cached) " >&6
   6711 else $as_nop
   6712   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6713 
   6714 case $host_os in
   6715 cygwin* | mingw* | pw32* | cegcc*)
   6716   # two different shell functions defined in ltmain.sh;
   6717   # decide which one to use based on capabilities of $DLLTOOL
   6718   case `$DLLTOOL --help 2>&1` in
   6719   *--identify-strict*)
   6720     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6721     ;;
   6722   *)
   6723     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6724     ;;
   6725   esac
   6726   ;;
   6727 *)
   6728   # fallback: assume linklib IS sharedlib
   6729   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6730   ;;
   6731 esac
   6732 
   6733 fi
   6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6735 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6736 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6737 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 if test -n "$ac_tool_prefix"; then
   6746   for ac_prog in ar
   6747   do
   6748     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6751 printf %s "checking for $ac_word... " >&6; }
   6752 if test ${ac_cv_prog_AR+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else $as_nop
   6756   if test -n "$AR"; then
   6757   ac_cv_prog_AR="$AR" # Let the user override the test.
   6758 else
   6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6760 for as_dir in $PATH
   6761 do
   6762   IFS=$as_save_IFS
   6763   case $as_dir in #(((
   6764     '') as_dir=./ ;;
   6765     */) ;;
   6766     *) as_dir=$as_dir/ ;;
   6767   esac
   6768     for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6770     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775   done
   6776 IFS=$as_save_IFS
   6777 
   6778 fi
   6779 fi
   6780 AR=$ac_cv_prog_AR
   6781 if test -n "$AR"; then
   6782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6783 printf "%s\n" "$AR" >&6; }
   6784 else
   6785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6786 printf "%s\n" "no" >&6; }
   6787 fi
   6788 
   6789 
   6790     test -n "$AR" && break
   6791   done
   6792 fi
   6793 if test -z "$AR"; then
   6794   ac_ct_AR=$AR
   6795   for ac_prog in ar
   6796 do
   6797   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6798 set dummy $ac_prog; ac_word=$2
   6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6800 printf %s "checking for $ac_word... " >&6; }
   6801 if test ${ac_cv_prog_ac_ct_AR+y}
   6802 then :
   6803   printf %s "(cached) " >&6
   6804 else $as_nop
   6805   if test -n "$ac_ct_AR"; then
   6806   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6807 else
   6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6809 for as_dir in $PATH
   6810 do
   6811   IFS=$as_save_IFS
   6812   case $as_dir in #(((
   6813     '') as_dir=./ ;;
   6814     */) ;;
   6815     *) as_dir=$as_dir/ ;;
   6816   esac
   6817     for ac_exec_ext in '' $ac_executable_extensions; do
   6818   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6819     ac_cv_prog_ac_ct_AR="$ac_prog"
   6820     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6821     break 2
   6822   fi
   6823 done
   6824   done
   6825 IFS=$as_save_IFS
   6826 
   6827 fi
   6828 fi
   6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6830 if test -n "$ac_ct_AR"; then
   6831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6832 printf "%s\n" "$ac_ct_AR" >&6; }
   6833 else
   6834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6835 printf "%s\n" "no" >&6; }
   6836 fi
   6837 
   6838 
   6839   test -n "$ac_ct_AR" && break
   6840 done
   6841 
   6842   if test "x$ac_ct_AR" = x; then
   6843     AR="false"
   6844   else
   6845     case $cross_compiling:$ac_tool_warned in
   6846 yes:)
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6848 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6849 ac_tool_warned=yes ;;
   6850 esac
   6851     AR=$ac_ct_AR
   6852   fi
   6853 fi
   6854 
   6855 : ${AR=ar}
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6863 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6864 # higher priority because thats what people were doing historically (setting
   6865 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6866 # variable obsoleted/removed.
   6867 
   6868 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6869 lt_ar_flags=$AR_FLAGS
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6877 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6885 printf %s "checking for archiver @FILE support... " >&6; }
   6886 if test ${lt_cv_ar_at_file+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else $as_nop
   6890   lt_cv_ar_at_file=no
   6891    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 
   6894 int
   6895 main (void)
   6896 {
   6897 
   6898   ;
   6899   return 0;
   6900 }
   6901 _ACEOF
   6902 if ac_fn_c_try_compile "$LINENO"
   6903 then :
   6904   echo conftest.$ac_objext > conftest.lst
   6905       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6906       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6907   (eval $lt_ar_try) 2>&5
   6908   ac_status=$?
   6909   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6910   test $ac_status = 0; }
   6911       if test 0 -eq "$ac_status"; then
   6912 	# Ensure the archiver fails upon bogus file names.
   6913 	rm -f conftest.$ac_objext libconftest.a
   6914 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6915   (eval $lt_ar_try) 2>&5
   6916   ac_status=$?
   6917   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6918   test $ac_status = 0; }
   6919 	if test 0 -ne "$ac_status"; then
   6920           lt_cv_ar_at_file=@
   6921         fi
   6922       fi
   6923       rm -f conftest.* libconftest.a
   6924 
   6925 fi
   6926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6927 
   6928 fi
   6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6930 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6931 
   6932 if test no = "$lt_cv_ar_at_file"; then
   6933   archiver_list_spec=
   6934 else
   6935   archiver_list_spec=$lt_cv_ar_at_file
   6936 fi
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 if test -n "$ac_tool_prefix"; then
   6945   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6946 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6948 printf %s "checking for $ac_word... " >&6; }
   6949 if test ${ac_cv_prog_STRIP+y}
   6950 then :
   6951   printf %s "(cached) " >&6
   6952 else $as_nop
   6953   if test -n "$STRIP"; then
   6954   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6955 else
   6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6957 for as_dir in $PATH
   6958 do
   6959   IFS=$as_save_IFS
   6960   case $as_dir in #(((
   6961     '') as_dir=./ ;;
   6962     */) ;;
   6963     *) as_dir=$as_dir/ ;;
   6964   esac
   6965     for ac_exec_ext in '' $ac_executable_extensions; do
   6966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6967     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6969     break 2
   6970   fi
   6971 done
   6972   done
   6973 IFS=$as_save_IFS
   6974 
   6975 fi
   6976 fi
   6977 STRIP=$ac_cv_prog_STRIP
   6978 if test -n "$STRIP"; then
   6979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6980 printf "%s\n" "$STRIP" >&6; }
   6981 else
   6982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 printf "%s\n" "no" >&6; }
   6984 fi
   6985 
   6986 
   6987 fi
   6988 if test -z "$ac_cv_prog_STRIP"; then
   6989   ac_ct_STRIP=$STRIP
   6990   # Extract the first word of "strip", so it can be a program name with args.
   6991 set dummy strip; ac_word=$2
   6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6993 printf %s "checking for $ac_word... " >&6; }
   6994 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6995 then :
   6996   printf %s "(cached) " >&6
   6997 else $as_nop
   6998   if test -n "$ac_ct_STRIP"; then
   6999   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7000 else
   7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7002 for as_dir in $PATH
   7003 do
   7004   IFS=$as_save_IFS
   7005   case $as_dir in #(((
   7006     '') as_dir=./ ;;
   7007     */) ;;
   7008     *) as_dir=$as_dir/ ;;
   7009   esac
   7010     for ac_exec_ext in '' $ac_executable_extensions; do
   7011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7012     ac_cv_prog_ac_ct_STRIP="strip"
   7013     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7014     break 2
   7015   fi
   7016 done
   7017   done
   7018 IFS=$as_save_IFS
   7019 
   7020 fi
   7021 fi
   7022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7023 if test -n "$ac_ct_STRIP"; then
   7024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7025 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7026 else
   7027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7028 printf "%s\n" "no" >&6; }
   7029 fi
   7030 
   7031   if test "x$ac_ct_STRIP" = x; then
   7032     STRIP=":"
   7033   else
   7034     case $cross_compiling:$ac_tool_warned in
   7035 yes:)
   7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7037 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7038 ac_tool_warned=yes ;;
   7039 esac
   7040     STRIP=$ac_ct_STRIP
   7041   fi
   7042 else
   7043   STRIP="$ac_cv_prog_STRIP"
   7044 fi
   7045 
   7046 test -z "$STRIP" && STRIP=:
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 if test -n "$ac_tool_prefix"; then
   7054   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7055 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7057 printf %s "checking for $ac_word... " >&6; }
   7058 if test ${ac_cv_prog_RANLIB+y}
   7059 then :
   7060   printf %s "(cached) " >&6
   7061 else $as_nop
   7062   if test -n "$RANLIB"; then
   7063   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7064 else
   7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7066 for as_dir in $PATH
   7067 do
   7068   IFS=$as_save_IFS
   7069   case $as_dir in #(((
   7070     '') as_dir=./ ;;
   7071     */) ;;
   7072     *) as_dir=$as_dir/ ;;
   7073   esac
   7074     for ac_exec_ext in '' $ac_executable_extensions; do
   7075   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7076     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7077     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7078     break 2
   7079   fi
   7080 done
   7081   done
   7082 IFS=$as_save_IFS
   7083 
   7084 fi
   7085 fi
   7086 RANLIB=$ac_cv_prog_RANLIB
   7087 if test -n "$RANLIB"; then
   7088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7089 printf "%s\n" "$RANLIB" >&6; }
   7090 else
   7091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7092 printf "%s\n" "no" >&6; }
   7093 fi
   7094 
   7095 
   7096 fi
   7097 if test -z "$ac_cv_prog_RANLIB"; then
   7098   ac_ct_RANLIB=$RANLIB
   7099   # Extract the first word of "ranlib", so it can be a program name with args.
   7100 set dummy ranlib; ac_word=$2
   7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7102 printf %s "checking for $ac_word... " >&6; }
   7103 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7104 then :
   7105   printf %s "(cached) " >&6
   7106 else $as_nop
   7107   if test -n "$ac_ct_RANLIB"; then
   7108   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7109 else
   7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7111 for as_dir in $PATH
   7112 do
   7113   IFS=$as_save_IFS
   7114   case $as_dir in #(((
   7115     '') as_dir=./ ;;
   7116     */) ;;
   7117     *) as_dir=$as_dir/ ;;
   7118   esac
   7119     for ac_exec_ext in '' $ac_executable_extensions; do
   7120   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7121     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7122     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7123     break 2
   7124   fi
   7125 done
   7126   done
   7127 IFS=$as_save_IFS
   7128 
   7129 fi
   7130 fi
   7131 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7132 if test -n "$ac_ct_RANLIB"; then
   7133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7134 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7135 else
   7136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7137 printf "%s\n" "no" >&6; }
   7138 fi
   7139 
   7140   if test "x$ac_ct_RANLIB" = x; then
   7141     RANLIB=":"
   7142   else
   7143     case $cross_compiling:$ac_tool_warned in
   7144 yes:)
   7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7146 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7147 ac_tool_warned=yes ;;
   7148 esac
   7149     RANLIB=$ac_ct_RANLIB
   7150   fi
   7151 else
   7152   RANLIB="$ac_cv_prog_RANLIB"
   7153 fi
   7154 
   7155 test -z "$RANLIB" && RANLIB=:
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 # Determine commands to create old-style static archives.
   7163 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7164 old_postinstall_cmds='chmod 644 $oldlib'
   7165 old_postuninstall_cmds=
   7166 
   7167 if test -n "$RANLIB"; then
   7168   case $host_os in
   7169   bitrig* | openbsd*)
   7170     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7171     ;;
   7172   *)
   7173     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7174     ;;
   7175   esac
   7176   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7177 fi
   7178 
   7179 case $host_os in
   7180   darwin*)
   7181     lock_old_archive_extraction=yes ;;
   7182   *)
   7183     lock_old_archive_extraction=no ;;
   7184 esac
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 # If no C compiler was specified, use CC.
   7225 LTCC=${LTCC-"$CC"}
   7226 
   7227 # If no C compiler flags were specified, use CFLAGS.
   7228 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7229 
   7230 # Allow CC to be a program name with arguments.
   7231 compiler=$CC
   7232 
   7233 
   7234 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7236 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7237 if test ${lt_cv_sys_global_symbol_pipe+y}
   7238 then :
   7239   printf %s "(cached) " >&6
   7240 else $as_nop
   7241 
   7242 # These are sane defaults that work on at least a few old systems.
   7243 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7244 
   7245 # Character class describing NM global symbol codes.
   7246 symcode='[BCDEGRST]'
   7247 
   7248 # Regexp to match symbols that can be accessed directly from C.
   7249 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7250 
   7251 # Define system-specific variables.
   7252 case $host_os in
   7253 aix*)
   7254   symcode='[BCDT]'
   7255   ;;
   7256 cygwin* | mingw* | pw32* | cegcc*)
   7257   symcode='[ABCDGISTW]'
   7258   ;;
   7259 hpux*)
   7260   if test ia64 = "$host_cpu"; then
   7261     symcode='[ABCDEGRST]'
   7262   fi
   7263   ;;
   7264 irix* | nonstopux*)
   7265   symcode='[BCDEGRST]'
   7266   ;;
   7267 osf*)
   7268   symcode='[BCDEGQRST]'
   7269   ;;
   7270 solaris*)
   7271   symcode='[BDRT]'
   7272   ;;
   7273 sco3.2v5*)
   7274   symcode='[DT]'
   7275   ;;
   7276 sysv4.2uw2*)
   7277   symcode='[DT]'
   7278   ;;
   7279 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7280   symcode='[ABDT]'
   7281   ;;
   7282 sysv4)
   7283   symcode='[DFNSTU]'
   7284   ;;
   7285 esac
   7286 
   7287 # If we're using GNU nm, then use its standard symbol codes.
   7288 case `$NM -V 2>&1` in
   7289 *GNU* | *'with BFD'*)
   7290   symcode='[ABCDGIRSTW]' ;;
   7291 esac
   7292 
   7293 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7294   # Gets list of data symbols to import.
   7295   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7296   # Adjust the below global symbol transforms to fixup imported variables.
   7297   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7298   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7299   lt_c_name_lib_hook="\
   7300   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7301   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7302 else
   7303   # Disable hooks by default.
   7304   lt_cv_sys_global_symbol_to_import=
   7305   lt_cdecl_hook=
   7306   lt_c_name_hook=
   7307   lt_c_name_lib_hook=
   7308 fi
   7309 
   7310 # Transform an extracted symbol line into a proper C declaration.
   7311 # Some systems (esp. on ia64) link data and code symbols differently,
   7312 # so use this general approach.
   7313 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7314 $lt_cdecl_hook\
   7315 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7316 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7317 
   7318 # Transform an extracted symbol line into symbol name and symbol address
   7319 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7320 $lt_c_name_hook\
   7321 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7322 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7323 
   7324 # Transform an extracted symbol line into symbol name with lib prefix and
   7325 # symbol address.
   7326 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7327 $lt_c_name_lib_hook\
   7328 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7329 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7330 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7331 
   7332 # Handle CRLF in mingw tool chain
   7333 opt_cr=
   7334 case $build_os in
   7335 mingw*)
   7336   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7337   ;;
   7338 esac
   7339 
   7340 # Try without a prefix underscore, then with it.
   7341 for ac_symprfx in "" "_"; do
   7342 
   7343   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7344   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7345 
   7346   # Write the raw and C identifiers.
   7347   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7348     # Fake it for dumpbin and say T for any non-static function,
   7349     # D for any global variable and I for any imported variable.
   7350     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7351     # which start with @ or ?.
   7352     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7353 "     {last_section=section; section=\$ 3};"\
   7354 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7355 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7356 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7357 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7358 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7359 "     \$ 0!~/External *\|/{next};"\
   7360 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7361 "     {if(hide[section]) next};"\
   7362 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7363 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7364 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7365 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7366 "     ' prfx=^$ac_symprfx"
   7367   else
   7368     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7369   fi
   7370   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7371 
   7372   # Check to see that the pipe works correctly.
   7373   pipe_works=no
   7374 
   7375   rm -f conftest*
   7376   cat > conftest.$ac_ext <<_LT_EOF
   7377 #ifdef __cplusplus
   7378 extern "C" {
   7379 #endif
   7380 char nm_test_var;
   7381 void nm_test_func(void);
   7382 void nm_test_func(void){}
   7383 #ifdef __cplusplus
   7384 }
   7385 #endif
   7386 int main(){nm_test_var='a';nm_test_func();return(0);}
   7387 _LT_EOF
   7388 
   7389   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7390   (eval $ac_compile) 2>&5
   7391   ac_status=$?
   7392   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7393   test $ac_status = 0; }; then
   7394     # Now try to grab the symbols.
   7395     nlist=conftest.nm
   7396     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7397   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7398   ac_status=$?
   7399   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7400   test $ac_status = 0; } && test -s "$nlist"; then
   7401       # Try sorting and uniquifying the output.
   7402       if sort "$nlist" | uniq > "$nlist"T; then
   7403 	mv -f "$nlist"T "$nlist"
   7404       else
   7405 	rm -f "$nlist"T
   7406       fi
   7407 
   7408       # Make sure that we snagged all the symbols we need.
   7409       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7410 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7411 	  cat <<_LT_EOF > conftest.$ac_ext
   7412 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7413 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7414 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7415    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7416 # define LT_DLSYM_CONST
   7417 #elif defined __osf__
   7418 /* This system does not cope well with relocations in const data.  */
   7419 # define LT_DLSYM_CONST
   7420 #else
   7421 # define LT_DLSYM_CONST const
   7422 #endif
   7423 
   7424 #ifdef __cplusplus
   7425 extern "C" {
   7426 #endif
   7427 
   7428 _LT_EOF
   7429 	  # Now generate the symbol file.
   7430 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7431 
   7432 	  cat <<_LT_EOF >> conftest.$ac_ext
   7433 
   7434 /* The mapping between symbol names and symbols.  */
   7435 LT_DLSYM_CONST struct {
   7436   const char *name;
   7437   void       *address;
   7438 }
   7439 lt__PROGRAM__LTX_preloaded_symbols[] =
   7440 {
   7441   { "@PROGRAM@", (void *) 0 },
   7442 _LT_EOF
   7443 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7444 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7445   {0, (void *) 0}
   7446 };
   7447 
   7448 /* This works around a problem in FreeBSD linker */
   7449 #ifdef FREEBSD_WORKAROUND
   7450 static const void *lt_preloaded_setup() {
   7451   return lt__PROGRAM__LTX_preloaded_symbols;
   7452 }
   7453 #endif
   7454 
   7455 #ifdef __cplusplus
   7456 }
   7457 #endif
   7458 _LT_EOF
   7459 	  # Now try linking the two files.
   7460 	  mv conftest.$ac_objext conftstm.$ac_objext
   7461 	  lt_globsym_save_LIBS=$LIBS
   7462 	  lt_globsym_save_CFLAGS=$CFLAGS
   7463 	  LIBS=conftstm.$ac_objext
   7464 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7465 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7466   (eval $ac_link) 2>&5
   7467   ac_status=$?
   7468   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7469   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7470 	    pipe_works=yes
   7471 	  fi
   7472 	  LIBS=$lt_globsym_save_LIBS
   7473 	  CFLAGS=$lt_globsym_save_CFLAGS
   7474 	else
   7475 	  echo "cannot find nm_test_func in $nlist" >&5
   7476 	fi
   7477       else
   7478 	echo "cannot find nm_test_var in $nlist" >&5
   7479       fi
   7480     else
   7481       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7482     fi
   7483   else
   7484     echo "$progname: failed program was:" >&5
   7485     cat conftest.$ac_ext >&5
   7486   fi
   7487   rm -rf conftest* conftst*
   7488 
   7489   # Do not use the global_symbol_pipe unless it works.
   7490   if test yes = "$pipe_works"; then
   7491     break
   7492   else
   7493     lt_cv_sys_global_symbol_pipe=
   7494   fi
   7495 done
   7496 
   7497 fi
   7498 
   7499 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7500   lt_cv_sys_global_symbol_to_cdecl=
   7501 fi
   7502 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7504 printf "%s\n" "failed" >&6; }
   7505 else
   7506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7507 printf "%s\n" "ok" >&6; }
   7508 fi
   7509 
   7510 # Response file support.
   7511 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7512   nm_file_list_spec='@'
   7513 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7514   nm_file_list_spec='@'
   7515 fi
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7554 printf %s "checking for sysroot... " >&6; }
   7555 
   7556 # Check whether --with-sysroot was given.
   7557 if test ${with_sysroot+y}
   7558 then :
   7559   withval=$with_sysroot;
   7560 else $as_nop
   7561   with_sysroot=no
   7562 fi
   7563 
   7564 
   7565 lt_sysroot=
   7566 case $with_sysroot in #(
   7567  yes)
   7568    if test yes = "$GCC"; then
   7569      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7570    fi
   7571    ;; #(
   7572  /*)
   7573    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7574    ;; #(
   7575  no|'')
   7576    ;; #(
   7577  *)
   7578    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7579 printf "%s\n" "$with_sysroot" >&6; }
   7580    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7581    ;;
   7582 esac
   7583 
   7584  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7585 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7592 printf %s "checking for a working dd... " >&6; }
   7593 if test ${ac_cv_path_lt_DD+y}
   7594 then :
   7595   printf %s "(cached) " >&6
   7596 else $as_nop
   7597   printf 0123456789abcdef0123456789abcdef >conftest.i
   7598 cat conftest.i conftest.i >conftest2.i
   7599 : ${lt_DD:=$DD}
   7600 if test -z "$lt_DD"; then
   7601   ac_path_lt_DD_found=false
   7602   # Loop through the user's path and test for each of PROGNAME-LIST
   7603   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7604 for as_dir in $PATH
   7605 do
   7606   IFS=$as_save_IFS
   7607   case $as_dir in #(((
   7608     '') as_dir=./ ;;
   7609     */) ;;
   7610     *) as_dir=$as_dir/ ;;
   7611   esac
   7612     for ac_prog in dd
   7613    do
   7614     for ac_exec_ext in '' $ac_executable_extensions; do
   7615       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7616       as_fn_executable_p "$ac_path_lt_DD" || continue
   7617 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7618   cmp -s conftest.i conftest.out \
   7619   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7620 fi
   7621       $ac_path_lt_DD_found && break 3
   7622     done
   7623   done
   7624   done
   7625 IFS=$as_save_IFS
   7626   if test -z "$ac_cv_path_lt_DD"; then
   7627     :
   7628   fi
   7629 else
   7630   ac_cv_path_lt_DD=$lt_DD
   7631 fi
   7632 
   7633 rm -f conftest.i conftest2.i conftest.out
   7634 fi
   7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7636 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7637 
   7638 
   7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7640 printf %s "checking how to truncate binary pipes... " >&6; }
   7641 if test ${lt_cv_truncate_bin+y}
   7642 then :
   7643   printf %s "(cached) " >&6
   7644 else $as_nop
   7645   printf 0123456789abcdef0123456789abcdef >conftest.i
   7646 cat conftest.i conftest.i >conftest2.i
   7647 lt_cv_truncate_bin=
   7648 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7649   cmp -s conftest.i conftest.out \
   7650   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7651 fi
   7652 rm -f conftest.i conftest2.i conftest.out
   7653 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7654 fi
   7655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7656 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7665 func_cc_basename ()
   7666 {
   7667     for cc_temp in $*""; do
   7668       case $cc_temp in
   7669         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7670         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7671         \-*) ;;
   7672         *) break;;
   7673       esac
   7674     done
   7675     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7676 }
   7677 
   7678 # Check whether --enable-libtool-lock was given.
   7679 if test ${enable_libtool_lock+y}
   7680 then :
   7681   enableval=$enable_libtool_lock;
   7682 fi
   7683 
   7684 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7685 
   7686 # Some flags need to be propagated to the compiler or linker for good
   7687 # libtool support.
   7688 case $host in
   7689 ia64-*-hpux*)
   7690   # Find out what ABI is being produced by ac_compile, and set mode
   7691   # options accordingly.
   7692   echo 'int i;' > conftest.$ac_ext
   7693   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7694   (eval $ac_compile) 2>&5
   7695   ac_status=$?
   7696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7697   test $ac_status = 0; }; then
   7698     case `$FILECMD conftest.$ac_objext` in
   7699       *ELF-32*)
   7700 	HPUX_IA64_MODE=32
   7701 	;;
   7702       *ELF-64*)
   7703 	HPUX_IA64_MODE=64
   7704 	;;
   7705     esac
   7706   fi
   7707   rm -rf conftest*
   7708   ;;
   7709 *-*-irix6*)
   7710   # Find out what ABI is being produced by ac_compile, and set linker
   7711   # options accordingly.
   7712   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7713   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7714   (eval $ac_compile) 2>&5
   7715   ac_status=$?
   7716   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7717   test $ac_status = 0; }; then
   7718     if test yes = "$lt_cv_prog_gnu_ld"; then
   7719       case `$FILECMD conftest.$ac_objext` in
   7720 	*32-bit*)
   7721 	  LD="${LD-ld} -melf32bsmip"
   7722 	  ;;
   7723 	*N32*)
   7724 	  LD="${LD-ld} -melf32bmipn32"
   7725 	  ;;
   7726 	*64-bit*)
   7727 	  LD="${LD-ld} -melf64bmip"
   7728 	;;
   7729       esac
   7730     else
   7731       case `$FILECMD conftest.$ac_objext` in
   7732 	*32-bit*)
   7733 	  LD="${LD-ld} -32"
   7734 	  ;;
   7735 	*N32*)
   7736 	  LD="${LD-ld} -n32"
   7737 	  ;;
   7738 	*64-bit*)
   7739 	  LD="${LD-ld} -64"
   7740 	  ;;
   7741       esac
   7742     fi
   7743   fi
   7744   rm -rf conftest*
   7745   ;;
   7746 
   7747 mips64*-*linux*)
   7748   # Find out what ABI is being produced by ac_compile, and set linker
   7749   # options accordingly.
   7750   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7751   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7752   (eval $ac_compile) 2>&5
   7753   ac_status=$?
   7754   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7755   test $ac_status = 0; }; then
   7756     emul=elf
   7757     case `$FILECMD conftest.$ac_objext` in
   7758       *32-bit*)
   7759 	emul="${emul}32"
   7760 	;;
   7761       *64-bit*)
   7762 	emul="${emul}64"
   7763 	;;
   7764     esac
   7765     case `$FILECMD conftest.$ac_objext` in
   7766       *MSB*)
   7767 	emul="${emul}btsmip"
   7768 	;;
   7769       *LSB*)
   7770 	emul="${emul}ltsmip"
   7771 	;;
   7772     esac
   7773     case `$FILECMD conftest.$ac_objext` in
   7774       *N32*)
   7775 	emul="${emul}n32"
   7776 	;;
   7777     esac
   7778     LD="${LD-ld} -m $emul"
   7779   fi
   7780   rm -rf conftest*
   7781   ;;
   7782 
   7783 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7784 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7785   # Find out what ABI is being produced by ac_compile, and set linker
   7786   # options accordingly.  Note that the listed cases only cover the
   7787   # situations where additional linker options are needed (such as when
   7788   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7789   # vice versa); the common cases where no linker options are needed do
   7790   # not appear in the list.
   7791   echo 'int i;' > conftest.$ac_ext
   7792   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7793   (eval $ac_compile) 2>&5
   7794   ac_status=$?
   7795   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7796   test $ac_status = 0; }; then
   7797     case `$FILECMD conftest.o` in
   7798       *32-bit*)
   7799 	case $host in
   7800 	  x86_64-*kfreebsd*-gnu)
   7801 	    LD="${LD-ld} -m elf_i386_fbsd"
   7802 	    ;;
   7803 	  x86_64-*linux*)
   7804 	    case `$FILECMD conftest.o` in
   7805 	      *x86-64*)
   7806 		LD="${LD-ld} -m elf32_x86_64"
   7807 		;;
   7808 	      *)
   7809 		LD="${LD-ld} -m elf_i386"
   7810 		;;
   7811 	    esac
   7812 	    ;;
   7813 	  powerpc64le-*linux*)
   7814 	    LD="${LD-ld} -m elf32lppclinux"
   7815 	    ;;
   7816 	  powerpc64-*linux*)
   7817 	    LD="${LD-ld} -m elf32ppclinux"
   7818 	    ;;
   7819 	  s390x-*linux*)
   7820 	    LD="${LD-ld} -m elf_s390"
   7821 	    ;;
   7822 	  sparc64-*linux*)
   7823 	    LD="${LD-ld} -m elf32_sparc"
   7824 	    ;;
   7825 	esac
   7826 	;;
   7827       *64-bit*)
   7828 	case $host in
   7829 	  x86_64-*kfreebsd*-gnu)
   7830 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7831 	    ;;
   7832 	  x86_64-*linux*)
   7833 	    LD="${LD-ld} -m elf_x86_64"
   7834 	    ;;
   7835 	  powerpcle-*linux*)
   7836 	    LD="${LD-ld} -m elf64lppc"
   7837 	    ;;
   7838 	  powerpc-*linux*)
   7839 	    LD="${LD-ld} -m elf64ppc"
   7840 	    ;;
   7841 	  s390*-*linux*|s390*-*tpf*)
   7842 	    LD="${LD-ld} -m elf64_s390"
   7843 	    ;;
   7844 	  sparc*-*linux*)
   7845 	    LD="${LD-ld} -m elf64_sparc"
   7846 	    ;;
   7847 	esac
   7848 	;;
   7849     esac
   7850   fi
   7851   rm -rf conftest*
   7852   ;;
   7853 
   7854 *-*-sco3.2v5*)
   7855   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7856   SAVE_CFLAGS=$CFLAGS
   7857   CFLAGS="$CFLAGS -belf"
   7858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7859 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7860 if test ${lt_cv_cc_needs_belf+y}
   7861 then :
   7862   printf %s "(cached) " >&6
   7863 else $as_nop
   7864   ac_ext=c
   7865 ac_cpp='$CPP $CPPFLAGS'
   7866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7869 
   7870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7871 /* end confdefs.h.  */
   7872 
   7873 int
   7874 main (void)
   7875 {
   7876 
   7877   ;
   7878   return 0;
   7879 }
   7880 _ACEOF
   7881 if ac_fn_c_try_link "$LINENO"
   7882 then :
   7883   lt_cv_cc_needs_belf=yes
   7884 else $as_nop
   7885   lt_cv_cc_needs_belf=no
   7886 fi
   7887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7888     conftest$ac_exeext conftest.$ac_ext
   7889      ac_ext=c
   7890 ac_cpp='$CPP $CPPFLAGS'
   7891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7894 
   7895 fi
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7897 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7898   if test yes != "$lt_cv_cc_needs_belf"; then
   7899     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7900     CFLAGS=$SAVE_CFLAGS
   7901   fi
   7902   ;;
   7903 *-*solaris*)
   7904   # Find out what ABI is being produced by ac_compile, and set linker
   7905   # options accordingly.
   7906   echo 'int i;' > conftest.$ac_ext
   7907   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7908   (eval $ac_compile) 2>&5
   7909   ac_status=$?
   7910   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7911   test $ac_status = 0; }; then
   7912     case `$FILECMD conftest.o` in
   7913     *64-bit*)
   7914       case $lt_cv_prog_gnu_ld in
   7915       yes*)
   7916         case $host in
   7917         i?86-*-solaris*|x86_64-*-solaris*)
   7918           LD="${LD-ld} -m elf_x86_64"
   7919           ;;
   7920         sparc*-*-solaris*)
   7921           LD="${LD-ld} -m elf64_sparc"
   7922           ;;
   7923         esac
   7924         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7925         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7926           LD=${LD-ld}_sol2
   7927         fi
   7928         ;;
   7929       *)
   7930 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7931 	  LD="${LD-ld} -64"
   7932 	fi
   7933 	;;
   7934       esac
   7935       ;;
   7936     esac
   7937   fi
   7938   rm -rf conftest*
   7939   ;;
   7940 esac
   7941 
   7942 need_locks=$enable_libtool_lock
   7943 
   7944 if test -n "$ac_tool_prefix"; then
   7945   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7946 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7948 printf %s "checking for $ac_word... " >&6; }
   7949 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7950 then :
   7951   printf %s "(cached) " >&6
   7952 else $as_nop
   7953   if test -n "$MANIFEST_TOOL"; then
   7954   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7955 else
   7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7957 for as_dir in $PATH
   7958 do
   7959   IFS=$as_save_IFS
   7960   case $as_dir in #(((
   7961     '') as_dir=./ ;;
   7962     */) ;;
   7963     *) as_dir=$as_dir/ ;;
   7964   esac
   7965     for ac_exec_ext in '' $ac_executable_extensions; do
   7966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7967     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7969     break 2
   7970   fi
   7971 done
   7972   done
   7973 IFS=$as_save_IFS
   7974 
   7975 fi
   7976 fi
   7977 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7978 if test -n "$MANIFEST_TOOL"; then
   7979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7980 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7981 else
   7982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7983 printf "%s\n" "no" >&6; }
   7984 fi
   7985 
   7986 
   7987 fi
   7988 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7989   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7990   # Extract the first word of "mt", so it can be a program name with args.
   7991 set dummy mt; ac_word=$2
   7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7993 printf %s "checking for $ac_word... " >&6; }
   7994 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7995 then :
   7996   printf %s "(cached) " >&6
   7997 else $as_nop
   7998   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7999   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8000 else
   8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8002 for as_dir in $PATH
   8003 do
   8004   IFS=$as_save_IFS
   8005   case $as_dir in #(((
   8006     '') as_dir=./ ;;
   8007     */) ;;
   8008     *) as_dir=$as_dir/ ;;
   8009   esac
   8010     for ac_exec_ext in '' $ac_executable_extensions; do
   8011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8012     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8013     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8014     break 2
   8015   fi
   8016 done
   8017   done
   8018 IFS=$as_save_IFS
   8019 
   8020 fi
   8021 fi
   8022 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8023 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8025 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8026 else
   8027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8028 printf "%s\n" "no" >&6; }
   8029 fi
   8030 
   8031   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8032     MANIFEST_TOOL=":"
   8033   else
   8034     case $cross_compiling:$ac_tool_warned in
   8035 yes:)
   8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8037 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8038 ac_tool_warned=yes ;;
   8039 esac
   8040     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8041   fi
   8042 else
   8043   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8044 fi
   8045 
   8046 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8048 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8049 if test ${lt_cv_path_mainfest_tool+y}
   8050 then :
   8051   printf %s "(cached) " >&6
   8052 else $as_nop
   8053   lt_cv_path_mainfest_tool=no
   8054   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8055   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8056   cat conftest.err >&5
   8057   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8058     lt_cv_path_mainfest_tool=yes
   8059   fi
   8060   rm -f conftest*
   8061 fi
   8062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8063 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8064 if test yes != "$lt_cv_path_mainfest_tool"; then
   8065   MANIFEST_TOOL=:
   8066 fi
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073   case $host_os in
   8074     rhapsody* | darwin*)
   8075     if test -n "$ac_tool_prefix"; then
   8076   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8077 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8079 printf %s "checking for $ac_word... " >&6; }
   8080 if test ${ac_cv_prog_DSYMUTIL+y}
   8081 then :
   8082   printf %s "(cached) " >&6
   8083 else $as_nop
   8084   if test -n "$DSYMUTIL"; then
   8085   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8086 else
   8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8088 for as_dir in $PATH
   8089 do
   8090   IFS=$as_save_IFS
   8091   case $as_dir in #(((
   8092     '') as_dir=./ ;;
   8093     */) ;;
   8094     *) as_dir=$as_dir/ ;;
   8095   esac
   8096     for ac_exec_ext in '' $ac_executable_extensions; do
   8097   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8098     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8099     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8100     break 2
   8101   fi
   8102 done
   8103   done
   8104 IFS=$as_save_IFS
   8105 
   8106 fi
   8107 fi
   8108 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8109 if test -n "$DSYMUTIL"; then
   8110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8111 printf "%s\n" "$DSYMUTIL" >&6; }
   8112 else
   8113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8114 printf "%s\n" "no" >&6; }
   8115 fi
   8116 
   8117 
   8118 fi
   8119 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8120   ac_ct_DSYMUTIL=$DSYMUTIL
   8121   # Extract the first word of "dsymutil", so it can be a program name with args.
   8122 set dummy dsymutil; ac_word=$2
   8123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8124 printf %s "checking for $ac_word... " >&6; }
   8125 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8126 then :
   8127   printf %s "(cached) " >&6
   8128 else $as_nop
   8129   if test -n "$ac_ct_DSYMUTIL"; then
   8130   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8131 else
   8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8133 for as_dir in $PATH
   8134 do
   8135   IFS=$as_save_IFS
   8136   case $as_dir in #(((
   8137     '') as_dir=./ ;;
   8138     */) ;;
   8139     *) as_dir=$as_dir/ ;;
   8140   esac
   8141     for ac_exec_ext in '' $ac_executable_extensions; do
   8142   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8143     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8144     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8145     break 2
   8146   fi
   8147 done
   8148   done
   8149 IFS=$as_save_IFS
   8150 
   8151 fi
   8152 fi
   8153 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8154 if test -n "$ac_ct_DSYMUTIL"; then
   8155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8156 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8157 else
   8158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8159 printf "%s\n" "no" >&6; }
   8160 fi
   8161 
   8162   if test "x$ac_ct_DSYMUTIL" = x; then
   8163     DSYMUTIL=":"
   8164   else
   8165     case $cross_compiling:$ac_tool_warned in
   8166 yes:)
   8167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8168 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8169 ac_tool_warned=yes ;;
   8170 esac
   8171     DSYMUTIL=$ac_ct_DSYMUTIL
   8172   fi
   8173 else
   8174   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8175 fi
   8176 
   8177     if test -n "$ac_tool_prefix"; then
   8178   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8179 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8181 printf %s "checking for $ac_word... " >&6; }
   8182 if test ${ac_cv_prog_NMEDIT+y}
   8183 then :
   8184   printf %s "(cached) " >&6
   8185 else $as_nop
   8186   if test -n "$NMEDIT"; then
   8187   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8188 else
   8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8190 for as_dir in $PATH
   8191 do
   8192   IFS=$as_save_IFS
   8193   case $as_dir in #(((
   8194     '') as_dir=./ ;;
   8195     */) ;;
   8196     *) as_dir=$as_dir/ ;;
   8197   esac
   8198     for ac_exec_ext in '' $ac_executable_extensions; do
   8199   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8200     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8201     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8202     break 2
   8203   fi
   8204 done
   8205   done
   8206 IFS=$as_save_IFS
   8207 
   8208 fi
   8209 fi
   8210 NMEDIT=$ac_cv_prog_NMEDIT
   8211 if test -n "$NMEDIT"; then
   8212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8213 printf "%s\n" "$NMEDIT" >&6; }
   8214 else
   8215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8216 printf "%s\n" "no" >&6; }
   8217 fi
   8218 
   8219 
   8220 fi
   8221 if test -z "$ac_cv_prog_NMEDIT"; then
   8222   ac_ct_NMEDIT=$NMEDIT
   8223   # Extract the first word of "nmedit", so it can be a program name with args.
   8224 set dummy nmedit; ac_word=$2
   8225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8226 printf %s "checking for $ac_word... " >&6; }
   8227 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8228 then :
   8229   printf %s "(cached) " >&6
   8230 else $as_nop
   8231   if test -n "$ac_ct_NMEDIT"; then
   8232   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8233 else
   8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8235 for as_dir in $PATH
   8236 do
   8237   IFS=$as_save_IFS
   8238   case $as_dir in #(((
   8239     '') as_dir=./ ;;
   8240     */) ;;
   8241     *) as_dir=$as_dir/ ;;
   8242   esac
   8243     for ac_exec_ext in '' $ac_executable_extensions; do
   8244   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8245     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8246     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8247     break 2
   8248   fi
   8249 done
   8250   done
   8251 IFS=$as_save_IFS
   8252 
   8253 fi
   8254 fi
   8255 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8256 if test -n "$ac_ct_NMEDIT"; then
   8257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8258 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8259 else
   8260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8261 printf "%s\n" "no" >&6; }
   8262 fi
   8263 
   8264   if test "x$ac_ct_NMEDIT" = x; then
   8265     NMEDIT=":"
   8266   else
   8267     case $cross_compiling:$ac_tool_warned in
   8268 yes:)
   8269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8271 ac_tool_warned=yes ;;
   8272 esac
   8273     NMEDIT=$ac_ct_NMEDIT
   8274   fi
   8275 else
   8276   NMEDIT="$ac_cv_prog_NMEDIT"
   8277 fi
   8278 
   8279     if test -n "$ac_tool_prefix"; then
   8280   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8281 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8283 printf %s "checking for $ac_word... " >&6; }
   8284 if test ${ac_cv_prog_LIPO+y}
   8285 then :
   8286   printf %s "(cached) " >&6
   8287 else $as_nop
   8288   if test -n "$LIPO"; then
   8289   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8290 else
   8291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8292 for as_dir in $PATH
   8293 do
   8294   IFS=$as_save_IFS
   8295   case $as_dir in #(((
   8296     '') as_dir=./ ;;
   8297     */) ;;
   8298     *) as_dir=$as_dir/ ;;
   8299   esac
   8300     for ac_exec_ext in '' $ac_executable_extensions; do
   8301   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8302     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8303     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8304     break 2
   8305   fi
   8306 done
   8307   done
   8308 IFS=$as_save_IFS
   8309 
   8310 fi
   8311 fi
   8312 LIPO=$ac_cv_prog_LIPO
   8313 if test -n "$LIPO"; then
   8314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8315 printf "%s\n" "$LIPO" >&6; }
   8316 else
   8317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8318 printf "%s\n" "no" >&6; }
   8319 fi
   8320 
   8321 
   8322 fi
   8323 if test -z "$ac_cv_prog_LIPO"; then
   8324   ac_ct_LIPO=$LIPO
   8325   # Extract the first word of "lipo", so it can be a program name with args.
   8326 set dummy lipo; ac_word=$2
   8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8328 printf %s "checking for $ac_word... " >&6; }
   8329 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8330 then :
   8331   printf %s "(cached) " >&6
   8332 else $as_nop
   8333   if test -n "$ac_ct_LIPO"; then
   8334   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8335 else
   8336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8337 for as_dir in $PATH
   8338 do
   8339   IFS=$as_save_IFS
   8340   case $as_dir in #(((
   8341     '') as_dir=./ ;;
   8342     */) ;;
   8343     *) as_dir=$as_dir/ ;;
   8344   esac
   8345     for ac_exec_ext in '' $ac_executable_extensions; do
   8346   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8347     ac_cv_prog_ac_ct_LIPO="lipo"
   8348     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8349     break 2
   8350   fi
   8351 done
   8352   done
   8353 IFS=$as_save_IFS
   8354 
   8355 fi
   8356 fi
   8357 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8358 if test -n "$ac_ct_LIPO"; then
   8359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8360 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8361 else
   8362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8363 printf "%s\n" "no" >&6; }
   8364 fi
   8365 
   8366   if test "x$ac_ct_LIPO" = x; then
   8367     LIPO=":"
   8368   else
   8369     case $cross_compiling:$ac_tool_warned in
   8370 yes:)
   8371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8372 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8373 ac_tool_warned=yes ;;
   8374 esac
   8375     LIPO=$ac_ct_LIPO
   8376   fi
   8377 else
   8378   LIPO="$ac_cv_prog_LIPO"
   8379 fi
   8380 
   8381     if test -n "$ac_tool_prefix"; then
   8382   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8383 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8385 printf %s "checking for $ac_word... " >&6; }
   8386 if test ${ac_cv_prog_OTOOL+y}
   8387 then :
   8388   printf %s "(cached) " >&6
   8389 else $as_nop
   8390   if test -n "$OTOOL"; then
   8391   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8392 else
   8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8394 for as_dir in $PATH
   8395 do
   8396   IFS=$as_save_IFS
   8397   case $as_dir in #(((
   8398     '') as_dir=./ ;;
   8399     */) ;;
   8400     *) as_dir=$as_dir/ ;;
   8401   esac
   8402     for ac_exec_ext in '' $ac_executable_extensions; do
   8403   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8404     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8405     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8406     break 2
   8407   fi
   8408 done
   8409   done
   8410 IFS=$as_save_IFS
   8411 
   8412 fi
   8413 fi
   8414 OTOOL=$ac_cv_prog_OTOOL
   8415 if test -n "$OTOOL"; then
   8416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8417 printf "%s\n" "$OTOOL" >&6; }
   8418 else
   8419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8420 printf "%s\n" "no" >&6; }
   8421 fi
   8422 
   8423 
   8424 fi
   8425 if test -z "$ac_cv_prog_OTOOL"; then
   8426   ac_ct_OTOOL=$OTOOL
   8427   # Extract the first word of "otool", so it can be a program name with args.
   8428 set dummy otool; ac_word=$2
   8429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8430 printf %s "checking for $ac_word... " >&6; }
   8431 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8432 then :
   8433   printf %s "(cached) " >&6
   8434 else $as_nop
   8435   if test -n "$ac_ct_OTOOL"; then
   8436   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8437 else
   8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8439 for as_dir in $PATH
   8440 do
   8441   IFS=$as_save_IFS
   8442   case $as_dir in #(((
   8443     '') as_dir=./ ;;
   8444     */) ;;
   8445     *) as_dir=$as_dir/ ;;
   8446   esac
   8447     for ac_exec_ext in '' $ac_executable_extensions; do
   8448   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8449     ac_cv_prog_ac_ct_OTOOL="otool"
   8450     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8451     break 2
   8452   fi
   8453 done
   8454   done
   8455 IFS=$as_save_IFS
   8456 
   8457 fi
   8458 fi
   8459 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8460 if test -n "$ac_ct_OTOOL"; then
   8461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8462 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8463 else
   8464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8465 printf "%s\n" "no" >&6; }
   8466 fi
   8467 
   8468   if test "x$ac_ct_OTOOL" = x; then
   8469     OTOOL=":"
   8470   else
   8471     case $cross_compiling:$ac_tool_warned in
   8472 yes:)
   8473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8474 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8475 ac_tool_warned=yes ;;
   8476 esac
   8477     OTOOL=$ac_ct_OTOOL
   8478   fi
   8479 else
   8480   OTOOL="$ac_cv_prog_OTOOL"
   8481 fi
   8482 
   8483     if test -n "$ac_tool_prefix"; then
   8484   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8485 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8487 printf %s "checking for $ac_word... " >&6; }
   8488 if test ${ac_cv_prog_OTOOL64+y}
   8489 then :
   8490   printf %s "(cached) " >&6
   8491 else $as_nop
   8492   if test -n "$OTOOL64"; then
   8493   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8494 else
   8495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8496 for as_dir in $PATH
   8497 do
   8498   IFS=$as_save_IFS
   8499   case $as_dir in #(((
   8500     '') as_dir=./ ;;
   8501     */) ;;
   8502     *) as_dir=$as_dir/ ;;
   8503   esac
   8504     for ac_exec_ext in '' $ac_executable_extensions; do
   8505   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8506     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8507     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8508     break 2
   8509   fi
   8510 done
   8511   done
   8512 IFS=$as_save_IFS
   8513 
   8514 fi
   8515 fi
   8516 OTOOL64=$ac_cv_prog_OTOOL64
   8517 if test -n "$OTOOL64"; then
   8518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8519 printf "%s\n" "$OTOOL64" >&6; }
   8520 else
   8521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8522 printf "%s\n" "no" >&6; }
   8523 fi
   8524 
   8525 
   8526 fi
   8527 if test -z "$ac_cv_prog_OTOOL64"; then
   8528   ac_ct_OTOOL64=$OTOOL64
   8529   # Extract the first word of "otool64", so it can be a program name with args.
   8530 set dummy otool64; ac_word=$2
   8531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8532 printf %s "checking for $ac_word... " >&6; }
   8533 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8534 then :
   8535   printf %s "(cached) " >&6
   8536 else $as_nop
   8537   if test -n "$ac_ct_OTOOL64"; then
   8538   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8539 else
   8540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8541 for as_dir in $PATH
   8542 do
   8543   IFS=$as_save_IFS
   8544   case $as_dir in #(((
   8545     '') as_dir=./ ;;
   8546     */) ;;
   8547     *) as_dir=$as_dir/ ;;
   8548   esac
   8549     for ac_exec_ext in '' $ac_executable_extensions; do
   8550   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8551     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8552     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8553     break 2
   8554   fi
   8555 done
   8556   done
   8557 IFS=$as_save_IFS
   8558 
   8559 fi
   8560 fi
   8561 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8562 if test -n "$ac_ct_OTOOL64"; then
   8563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8564 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8565 else
   8566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8567 printf "%s\n" "no" >&6; }
   8568 fi
   8569 
   8570   if test "x$ac_ct_OTOOL64" = x; then
   8571     OTOOL64=":"
   8572   else
   8573     case $cross_compiling:$ac_tool_warned in
   8574 yes:)
   8575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8576 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8577 ac_tool_warned=yes ;;
   8578 esac
   8579     OTOOL64=$ac_ct_OTOOL64
   8580   fi
   8581 else
   8582   OTOOL64="$ac_cv_prog_OTOOL64"
   8583 fi
   8584 
   8585 
   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     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8612 printf %s "checking for -single_module linker flag... " >&6; }
   8613 if test ${lt_cv_apple_cc_single_mod+y}
   8614 then :
   8615   printf %s "(cached) " >&6
   8616 else $as_nop
   8617   lt_cv_apple_cc_single_mod=no
   8618       if test -z "$LT_MULTI_MODULE"; then
   8619 	# By default we will add the -single_module flag. You can override
   8620 	# by either setting the environment variable LT_MULTI_MODULE
   8621 	# non-empty at configure time, or by adding -multi_module to the
   8622 	# link flags.
   8623 	rm -rf libconftest.dylib*
   8624 	echo "int foo(void){return 1;}" > conftest.c
   8625 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8626 -dynamiclib -Wl,-single_module conftest.c" >&5
   8627 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8628 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8629         _lt_result=$?
   8630 	# If there is a non-empty error log, and "single_module"
   8631 	# appears in it, assume the flag caused a linker warning
   8632         if test -s conftest.err && $GREP single_module conftest.err; then
   8633 	  cat conftest.err >&5
   8634 	# Otherwise, if the output was created with a 0 exit code from
   8635 	# the compiler, it worked.
   8636 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8637 	  lt_cv_apple_cc_single_mod=yes
   8638 	else
   8639 	  cat conftest.err >&5
   8640 	fi
   8641 	rm -rf libconftest.dylib*
   8642 	rm -f conftest.*
   8643       fi
   8644 fi
   8645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8646 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8647 
   8648     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8649 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8650 if test ${lt_cv_ld_exported_symbols_list+y}
   8651 then :
   8652   printf %s "(cached) " >&6
   8653 else $as_nop
   8654   lt_cv_ld_exported_symbols_list=no
   8655       save_LDFLAGS=$LDFLAGS
   8656       echo "_main" > conftest.sym
   8657       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8659 /* end confdefs.h.  */
   8660 
   8661 int
   8662 main (void)
   8663 {
   8664 
   8665   ;
   8666   return 0;
   8667 }
   8668 _ACEOF
   8669 if ac_fn_c_try_link "$LINENO"
   8670 then :
   8671   lt_cv_ld_exported_symbols_list=yes
   8672 else $as_nop
   8673   lt_cv_ld_exported_symbols_list=no
   8674 fi
   8675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8676     conftest$ac_exeext conftest.$ac_ext
   8677 	LDFLAGS=$save_LDFLAGS
   8678 
   8679 fi
   8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8681 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8682 
   8683     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8684 printf %s "checking for -force_load linker flag... " >&6; }
   8685 if test ${lt_cv_ld_force_load+y}
   8686 then :
   8687   printf %s "(cached) " >&6
   8688 else $as_nop
   8689   lt_cv_ld_force_load=no
   8690       cat > conftest.c << _LT_EOF
   8691 int forced_loaded() { return 2;}
   8692 _LT_EOF
   8693       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8694       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8695       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8696       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8697       echo "$RANLIB libconftest.a" >&5
   8698       $RANLIB libconftest.a 2>&5
   8699       cat > conftest.c << _LT_EOF
   8700 int main() { return 0;}
   8701 _LT_EOF
   8702       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8703       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8704       _lt_result=$?
   8705       if test -s conftest.err && $GREP force_load conftest.err; then
   8706 	cat conftest.err >&5
   8707       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8708 	lt_cv_ld_force_load=yes
   8709       else
   8710 	cat conftest.err >&5
   8711       fi
   8712         rm -f conftest.err libconftest.a conftest conftest.c
   8713         rm -rf conftest.dSYM
   8714 
   8715 fi
   8716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8717 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8718     case $host_os in
   8719     rhapsody* | darwin1.[012])
   8720       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8721     darwin1.*)
   8722       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8723     darwin*)
   8724       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8725         10.[012],*|,*powerpc*-darwin[5-8]*)
   8726           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8727         *)
   8728           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8729       esac
   8730     ;;
   8731   esac
   8732     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8733       _lt_dar_single_mod='$single_module'
   8734     fi
   8735     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8736       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8737     else
   8738       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8739     fi
   8740     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8741       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8742     else
   8743       _lt_dsymutil=
   8744     fi
   8745     ;;
   8746   esac
   8747 
   8748 # func_munge_path_list VARIABLE PATH
   8749 # -----------------------------------
   8750 # VARIABLE is name of variable containing _space_ separated list of
   8751 # directories to be munged by the contents of PATH, which is string
   8752 # having a format:
   8753 # "DIR[:DIR]:"
   8754 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8755 # ":DIR[:DIR]"
   8756 #       string "DIR[ DIR]" will be appended to VARIABLE
   8757 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8758 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8759 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8760 # "DIR[:DIR]"
   8761 #       VARIABLE will be replaced by "DIR[ DIR]"
   8762 func_munge_path_list ()
   8763 {
   8764     case x$2 in
   8765     x)
   8766         ;;
   8767     *:)
   8768         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8769         ;;
   8770     x:*)
   8771         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8772         ;;
   8773     *::*)
   8774         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8775         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8776         ;;
   8777     *)
   8778         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8779         ;;
   8780     esac
   8781 }
   8782 
   8783 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8784 "
   8785 if test "x$ac_cv_header_dlfcn_h" = xyes
   8786 then :
   8787   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8788 
   8789 fi
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 # Set options
   8796 
   8797 
   8798 
   8799         enable_dlopen=no
   8800 
   8801 
   8802 
   8803             # Check whether --enable-shared was given.
   8804 if test ${enable_shared+y}
   8805 then :
   8806   enableval=$enable_shared; p=${PACKAGE-default}
   8807     case $enableval in
   8808     yes) enable_shared=yes ;;
   8809     no) enable_shared=no ;;
   8810     *)
   8811       enable_shared=no
   8812       # Look at the argument we got.  We use all the common list separators.
   8813       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8814       for pkg in $enableval; do
   8815 	IFS=$lt_save_ifs
   8816 	if test "X$pkg" = "X$p"; then
   8817 	  enable_shared=yes
   8818 	fi
   8819       done
   8820       IFS=$lt_save_ifs
   8821       ;;
   8822     esac
   8823 else $as_nop
   8824   enable_shared=yes
   8825 fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835   # Check whether --enable-static was given.
   8836 if test ${enable_static+y}
   8837 then :
   8838   enableval=$enable_static; p=${PACKAGE-default}
   8839     case $enableval in
   8840     yes) enable_static=yes ;;
   8841     no) enable_static=no ;;
   8842     *)
   8843      enable_static=no
   8844       # Look at the argument we got.  We use all the common list separators.
   8845       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8846       for pkg in $enableval; do
   8847 	IFS=$lt_save_ifs
   8848 	if test "X$pkg" = "X$p"; then
   8849 	  enable_static=yes
   8850 	fi
   8851       done
   8852       IFS=$lt_save_ifs
   8853       ;;
   8854     esac
   8855 else $as_nop
   8856   enable_static=yes
   8857 fi
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 # Check whether --with-pic was given.
   8869 if test ${with_pic+y}
   8870 then :
   8871   withval=$with_pic; lt_p=${PACKAGE-default}
   8872     case $withval in
   8873     yes|no) pic_mode=$withval ;;
   8874     *)
   8875       pic_mode=default
   8876       # Look at the argument we got.  We use all the common list separators.
   8877       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8878       for lt_pkg in $withval; do
   8879 	IFS=$lt_save_ifs
   8880 	if test "X$lt_pkg" = "X$lt_p"; then
   8881 	  pic_mode=yes
   8882 	fi
   8883       done
   8884       IFS=$lt_save_ifs
   8885       ;;
   8886     esac
   8887 else $as_nop
   8888   pic_mode=default
   8889 fi
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898   # Check whether --enable-fast-install was given.
   8899 if test ${enable_fast_install+y}
   8900 then :
   8901   enableval=$enable_fast_install; p=${PACKAGE-default}
   8902     case $enableval in
   8903     yes) enable_fast_install=yes ;;
   8904     no) enable_fast_install=no ;;
   8905     *)
   8906       enable_fast_install=no
   8907       # Look at the argument we got.  We use all the common list separators.
   8908       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8909       for pkg in $enableval; do
   8910 	IFS=$lt_save_ifs
   8911 	if test "X$pkg" = "X$p"; then
   8912 	  enable_fast_install=yes
   8913 	fi
   8914       done
   8915       IFS=$lt_save_ifs
   8916       ;;
   8917     esac
   8918 else $as_nop
   8919   enable_fast_install=yes
   8920 fi
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929   shared_archive_member_spec=
   8930 case $host,$enable_shared in
   8931 power*-*-aix[5-9]*,yes)
   8932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8933 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8934 
   8935 # Check whether --with-aix-soname was given.
   8936 if test ${with_aix_soname+y}
   8937 then :
   8938   withval=$with_aix_soname; case $withval in
   8939     aix|svr4|both)
   8940       ;;
   8941     *)
   8942       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8943       ;;
   8944     esac
   8945     lt_cv_with_aix_soname=$with_aix_soname
   8946 else $as_nop
   8947   if test ${lt_cv_with_aix_soname+y}
   8948 then :
   8949   printf %s "(cached) " >&6
   8950 else $as_nop
   8951   lt_cv_with_aix_soname=aix
   8952 fi
   8953 
   8954     with_aix_soname=$lt_cv_with_aix_soname
   8955 fi
   8956 
   8957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8958 printf "%s\n" "$with_aix_soname" >&6; }
   8959   if test aix != "$with_aix_soname"; then
   8960     # For the AIX way of multilib, we name the shared archive member
   8961     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8962     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8963     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8964     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8965     if test 64 = "${OBJECT_MODE-32}"; then
   8966       shared_archive_member_spec=shr_64
   8967     else
   8968       shared_archive_member_spec=shr
   8969     fi
   8970   fi
   8971   ;;
   8972 *)
   8973   with_aix_soname=aix
   8974   ;;
   8975 esac
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 # This can be used to rebuild libtool when needed
   8987 LIBTOOL_DEPS=$ltmain
   8988 
   8989 # Always use our own libtool.
   8990 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 test -z "$LN_S" && LN_S="ln -s"
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 if test -n "${ZSH_VERSION+set}"; then
   9037    setopt NO_GLOB_SUBST
   9038 fi
   9039 
   9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9041 printf %s "checking for objdir... " >&6; }
   9042 if test ${lt_cv_objdir+y}
   9043 then :
   9044   printf %s "(cached) " >&6
   9045 else $as_nop
   9046   rm -f .libs 2>/dev/null
   9047 mkdir .libs 2>/dev/null
   9048 if test -d .libs; then
   9049   lt_cv_objdir=.libs
   9050 else
   9051   # MS-DOS does not allow filenames that begin with a dot.
   9052   lt_cv_objdir=_libs
   9053 fi
   9054 rmdir .libs 2>/dev/null
   9055 fi
   9056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9057 printf "%s\n" "$lt_cv_objdir" >&6; }
   9058 objdir=$lt_cv_objdir
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9065 
   9066 
   9067 
   9068 
   9069 case $host_os in
   9070 aix3*)
   9071   # AIX sometimes has problems with the GCC collect2 program.  For some
   9072   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9073   # vanish in a puff of smoke.
   9074   if test set != "${COLLECT_NAMES+set}"; then
   9075     COLLECT_NAMES=
   9076     export COLLECT_NAMES
   9077   fi
   9078   ;;
   9079 esac
   9080 
   9081 # Global variables:
   9082 ofile=libtool
   9083 can_build_shared=yes
   9084 
   9085 # All known linkers require a '.a' archive for static linking (except MSVC and
   9086 # ICC, which need '.lib').
   9087 libext=a
   9088 
   9089 with_gnu_ld=$lt_cv_prog_gnu_ld
   9090 
   9091 old_CC=$CC
   9092 old_CFLAGS=$CFLAGS
   9093 
   9094 # Set sane defaults for various variables
   9095 test -z "$CC" && CC=cc
   9096 test -z "$LTCC" && LTCC=$CC
   9097 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9098 test -z "$LD" && LD=ld
   9099 test -z "$ac_objext" && ac_objext=o
   9100 
   9101 func_cc_basename $compiler
   9102 cc_basename=$func_cc_basename_result
   9103 
   9104 
   9105 # Only perform the check for file, if the check method requires it
   9106 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9107 case $deplibs_check_method in
   9108 file_magic*)
   9109   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9110     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9111 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9112 if test ${lt_cv_path_MAGIC_CMD+y}
   9113 then :
   9114   printf %s "(cached) " >&6
   9115 else $as_nop
   9116   case $MAGIC_CMD in
   9117 [\\/*] |  ?:[\\/]*)
   9118   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9119   ;;
   9120 *)
   9121   lt_save_MAGIC_CMD=$MAGIC_CMD
   9122   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9123   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9124   for ac_dir in $ac_dummy; do
   9125     IFS=$lt_save_ifs
   9126     test -z "$ac_dir" && ac_dir=.
   9127     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9128       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9129       if test -n "$file_magic_test_file"; then
   9130 	case $deplibs_check_method in
   9131 	"file_magic "*)
   9132 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9133 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9134 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9135 	    $EGREP "$file_magic_regex" > /dev/null; then
   9136 	    :
   9137 	  else
   9138 	    cat <<_LT_EOF 1>&2
   9139 
   9140 *** Warning: the command libtool uses to detect shared libraries,
   9141 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9142 *** The result is that libtool may fail to recognize shared libraries
   9143 *** as such.  This will affect the creation of libtool libraries that
   9144 *** depend on shared libraries, but programs linked with such libtool
   9145 *** libraries will work regardless of this problem.  Nevertheless, you
   9146 *** may want to report the problem to your system manager and/or to
   9147 *** bug-libtool@gnu.org
   9148 
   9149 _LT_EOF
   9150 	  fi ;;
   9151 	esac
   9152       fi
   9153       break
   9154     fi
   9155   done
   9156   IFS=$lt_save_ifs
   9157   MAGIC_CMD=$lt_save_MAGIC_CMD
   9158   ;;
   9159 esac
   9160 fi
   9161 
   9162 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9163 if test -n "$MAGIC_CMD"; then
   9164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9165 printf "%s\n" "$MAGIC_CMD" >&6; }
   9166 else
   9167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9168 printf "%s\n" "no" >&6; }
   9169 fi
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9176   if test -n "$ac_tool_prefix"; then
   9177     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9178 printf %s "checking for file... " >&6; }
   9179 if test ${lt_cv_path_MAGIC_CMD+y}
   9180 then :
   9181   printf %s "(cached) " >&6
   9182 else $as_nop
   9183   case $MAGIC_CMD in
   9184 [\\/*] |  ?:[\\/]*)
   9185   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9186   ;;
   9187 *)
   9188   lt_save_MAGIC_CMD=$MAGIC_CMD
   9189   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9190   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9191   for ac_dir in $ac_dummy; do
   9192     IFS=$lt_save_ifs
   9193     test -z "$ac_dir" && ac_dir=.
   9194     if test -f "$ac_dir/file"; then
   9195       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9196       if test -n "$file_magic_test_file"; then
   9197 	case $deplibs_check_method in
   9198 	"file_magic "*)
   9199 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9200 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9201 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9202 	    $EGREP "$file_magic_regex" > /dev/null; then
   9203 	    :
   9204 	  else
   9205 	    cat <<_LT_EOF 1>&2
   9206 
   9207 *** Warning: the command libtool uses to detect shared libraries,
   9208 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9209 *** The result is that libtool may fail to recognize shared libraries
   9210 *** as such.  This will affect the creation of libtool libraries that
   9211 *** depend on shared libraries, but programs linked with such libtool
   9212 *** libraries will work regardless of this problem.  Nevertheless, you
   9213 *** may want to report the problem to your system manager and/or to
   9214 *** bug-libtool@gnu.org
   9215 
   9216 _LT_EOF
   9217 	  fi ;;
   9218 	esac
   9219       fi
   9220       break
   9221     fi
   9222   done
   9223   IFS=$lt_save_ifs
   9224   MAGIC_CMD=$lt_save_MAGIC_CMD
   9225   ;;
   9226 esac
   9227 fi
   9228 
   9229 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9230 if test -n "$MAGIC_CMD"; then
   9231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9232 printf "%s\n" "$MAGIC_CMD" >&6; }
   9233 else
   9234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9235 printf "%s\n" "no" >&6; }
   9236 fi
   9237 
   9238 
   9239   else
   9240     MAGIC_CMD=:
   9241   fi
   9242 fi
   9243 
   9244   fi
   9245   ;;
   9246 esac
   9247 
   9248 # Use C for the default configuration in the libtool script
   9249 
   9250 lt_save_CC=$CC
   9251 ac_ext=c
   9252 ac_cpp='$CPP $CPPFLAGS'
   9253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9256 
   9257 
   9258 # Source file extension for C test sources.
   9259 ac_ext=c
   9260 
   9261 # Object file extension for compiled C test sources.
   9262 objext=o
   9263 objext=$objext
   9264 
   9265 # Code to be used in simple compile tests
   9266 lt_simple_compile_test_code="int some_variable = 0;"
   9267 
   9268 # Code to be used in simple link tests
   9269 lt_simple_link_test_code='int main(){return(0);}'
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 # If no C compiler was specified, use CC.
   9278 LTCC=${LTCC-"$CC"}
   9279 
   9280 # If no C compiler flags were specified, use CFLAGS.
   9281 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9282 
   9283 # Allow CC to be a program name with arguments.
   9284 compiler=$CC
   9285 
   9286 # Save the default compiler, since it gets overwritten when the other
   9287 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9288 compiler_DEFAULT=$CC
   9289 
   9290 # save warnings/boilerplate of simple test code
   9291 ac_outfile=conftest.$ac_objext
   9292 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9293 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9294 _lt_compiler_boilerplate=`cat conftest.err`
   9295 $RM conftest*
   9296 
   9297 ac_outfile=conftest.$ac_objext
   9298 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9299 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9300 _lt_linker_boilerplate=`cat conftest.err`
   9301 $RM -r conftest*
   9302 
   9303 
   9304 if test -n "$compiler"; then
   9305 
   9306 lt_prog_compiler_no_builtin_flag=
   9307 
   9308 if test yes = "$GCC"; then
   9309   case $cc_basename in
   9310   nvcc*)
   9311     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9312   *)
   9313     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9314   esac
   9315 
   9316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9317 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9318 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9319 then :
   9320   printf %s "(cached) " >&6
   9321 else $as_nop
   9322   lt_cv_prog_compiler_rtti_exceptions=no
   9323    ac_outfile=conftest.$ac_objext
   9324    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9325    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9326    # Insert the option either (1) after the last *FLAGS variable, or
   9327    # (2) before a word containing "conftest.", or (3) at the end.
   9328    # Note that $ac_compile itself does not contain backslashes and begins
   9329    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9330    # The option is referenced via a variable to avoid confusing sed.
   9331    lt_compile=`echo "$ac_compile" | $SED \
   9332    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9333    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9334    -e 's:$: $lt_compiler_flag:'`
   9335    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9336    (eval "$lt_compile" 2>conftest.err)
   9337    ac_status=$?
   9338    cat conftest.err >&5
   9339    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9340    if (exit $ac_status) && test -s "$ac_outfile"; then
   9341      # The compiler can only warn and ignore the option if not recognized
   9342      # So say no if there are warnings other than the usual output.
   9343      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9344      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9345      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9346        lt_cv_prog_compiler_rtti_exceptions=yes
   9347      fi
   9348    fi
   9349    $RM conftest*
   9350 
   9351 fi
   9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9353 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9354 
   9355 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9356     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9357 else
   9358     :
   9359 fi
   9360 
   9361 fi
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368   lt_prog_compiler_wl=
   9369 lt_prog_compiler_pic=
   9370 lt_prog_compiler_static=
   9371 
   9372 
   9373   if test yes = "$GCC"; then
   9374     lt_prog_compiler_wl='-Wl,'
   9375     lt_prog_compiler_static='-static'
   9376 
   9377     case $host_os in
   9378       aix*)
   9379       # All AIX code is PIC.
   9380       if test ia64 = "$host_cpu"; then
   9381 	# AIX 5 now supports IA64 processor
   9382 	lt_prog_compiler_static='-Bstatic'
   9383       fi
   9384       lt_prog_compiler_pic='-fPIC'
   9385       ;;
   9386 
   9387     amigaos*)
   9388       case $host_cpu in
   9389       powerpc)
   9390             # see comment about AmigaOS4 .so support
   9391             lt_prog_compiler_pic='-fPIC'
   9392         ;;
   9393       m68k)
   9394             # FIXME: we need at least 68020 code to build shared libraries, but
   9395             # adding the '-m68020' flag to GCC prevents building anything better,
   9396             # like '-m68040'.
   9397             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9398         ;;
   9399       esac
   9400       ;;
   9401 
   9402     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9403       # PIC is the default for these OSes.
   9404       ;;
   9405 
   9406     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9407       # This hack is so that the source file can tell whether it is being
   9408       # built for inclusion in a dll (and should export symbols for example).
   9409       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9410       # (--disable-auto-import) libraries
   9411       lt_prog_compiler_pic='-DDLL_EXPORT'
   9412       case $host_os in
   9413       os2*)
   9414 	lt_prog_compiler_static='$wl-static'
   9415 	;;
   9416       esac
   9417       ;;
   9418 
   9419     darwin* | rhapsody*)
   9420       # PIC is the default on this platform
   9421       # Common symbols not allowed in MH_DYLIB files
   9422       lt_prog_compiler_pic='-fno-common'
   9423       ;;
   9424 
   9425     haiku*)
   9426       # PIC is the default for Haiku.
   9427       # The "-static" flag exists, but is broken.
   9428       lt_prog_compiler_static=
   9429       ;;
   9430 
   9431     hpux*)
   9432       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9433       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9434       # sets the default TLS model and affects inlining.
   9435       case $host_cpu in
   9436       hppa*64*)
   9437 	# +Z the default
   9438 	;;
   9439       *)
   9440 	lt_prog_compiler_pic='-fPIC'
   9441 	;;
   9442       esac
   9443       ;;
   9444 
   9445     interix[3-9]*)
   9446       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9447       # Instead, we relocate shared libraries at runtime.
   9448       ;;
   9449 
   9450     msdosdjgpp*)
   9451       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9452       # on systems that don't support them.
   9453       lt_prog_compiler_can_build_shared=no
   9454       enable_shared=no
   9455       ;;
   9456 
   9457     *nto* | *qnx*)
   9458       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9459       # it will coredump.
   9460       lt_prog_compiler_pic='-fPIC -shared'
   9461       ;;
   9462 
   9463     sysv4*MP*)
   9464       if test -d /usr/nec; then
   9465 	lt_prog_compiler_pic=-Kconform_pic
   9466       fi
   9467       ;;
   9468 
   9469     *)
   9470       lt_prog_compiler_pic='-fPIC'
   9471       ;;
   9472     esac
   9473 
   9474     case $cc_basename in
   9475     nvcc*) # Cuda Compiler Driver 2.2
   9476       lt_prog_compiler_wl='-Xlinker '
   9477       if test -n "$lt_prog_compiler_pic"; then
   9478         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9479       fi
   9480       ;;
   9481     esac
   9482   else
   9483     # PORTME Check for flag to pass linker flags through the system compiler.
   9484     case $host_os in
   9485     aix*)
   9486       lt_prog_compiler_wl='-Wl,'
   9487       if test ia64 = "$host_cpu"; then
   9488 	# AIX 5 now supports IA64 processor
   9489 	lt_prog_compiler_static='-Bstatic'
   9490       else
   9491 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9492       fi
   9493       ;;
   9494 
   9495     darwin* | rhapsody*)
   9496       # PIC is the default on this platform
   9497       # Common symbols not allowed in MH_DYLIB files
   9498       lt_prog_compiler_pic='-fno-common'
   9499       case $cc_basename in
   9500       nagfor*)
   9501         # NAG Fortran compiler
   9502         lt_prog_compiler_wl='-Wl,-Wl,,'
   9503         lt_prog_compiler_pic='-PIC'
   9504         lt_prog_compiler_static='-Bstatic'
   9505         ;;
   9506       esac
   9507       ;;
   9508 
   9509     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9510       # This hack is so that the source file can tell whether it is being
   9511       # built for inclusion in a dll (and should export symbols for example).
   9512       lt_prog_compiler_pic='-DDLL_EXPORT'
   9513       case $host_os in
   9514       os2*)
   9515 	lt_prog_compiler_static='$wl-static'
   9516 	;;
   9517       esac
   9518       ;;
   9519 
   9520     hpux9* | hpux10* | hpux11*)
   9521       lt_prog_compiler_wl='-Wl,'
   9522       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9523       # not for PA HP-UX.
   9524       case $host_cpu in
   9525       hppa*64*|ia64*)
   9526 	# +Z the default
   9527 	;;
   9528       *)
   9529 	lt_prog_compiler_pic='+Z'
   9530 	;;
   9531       esac
   9532       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9533       lt_prog_compiler_static='$wl-a ${wl}archive'
   9534       ;;
   9535 
   9536     irix5* | irix6* | nonstopux*)
   9537       lt_prog_compiler_wl='-Wl,'
   9538       # PIC (with -KPIC) is the default.
   9539       lt_prog_compiler_static='-non_shared'
   9540       ;;
   9541 
   9542     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9543       case $cc_basename in
   9544       # old Intel for x86_64, which still supported -KPIC.
   9545       ecc*)
   9546 	lt_prog_compiler_wl='-Wl,'
   9547 	lt_prog_compiler_pic='-KPIC'
   9548 	lt_prog_compiler_static='-static'
   9549         ;;
   9550       # icc used to be incompatible with GCC.
   9551       # ICC 10 doesn't accept -KPIC any more.
   9552       icc* | ifort*)
   9553 	lt_prog_compiler_wl='-Wl,'
   9554 	lt_prog_compiler_pic='-fPIC'
   9555 	lt_prog_compiler_static='-static'
   9556         ;;
   9557       # Lahey Fortran 8.1.
   9558       lf95*)
   9559 	lt_prog_compiler_wl='-Wl,'
   9560 	lt_prog_compiler_pic='--shared'
   9561 	lt_prog_compiler_static='--static'
   9562 	;;
   9563       nagfor*)
   9564 	# NAG Fortran compiler
   9565 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9566 	lt_prog_compiler_pic='-PIC'
   9567 	lt_prog_compiler_static='-Bstatic'
   9568 	;;
   9569       tcc*)
   9570 	# Fabrice Bellard et al's Tiny C Compiler
   9571 	lt_prog_compiler_wl='-Wl,'
   9572 	lt_prog_compiler_pic='-fPIC'
   9573 	lt_prog_compiler_static='-static'
   9574 	;;
   9575       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9576         # Portland Group compilers (*not* the Pentium gcc compiler,
   9577 	# which looks to be a dead project)
   9578 	lt_prog_compiler_wl='-Wl,'
   9579 	lt_prog_compiler_pic='-fpic'
   9580 	lt_prog_compiler_static='-Bstatic'
   9581         ;;
   9582       ccc*)
   9583         lt_prog_compiler_wl='-Wl,'
   9584         # All Alpha code is PIC.
   9585         lt_prog_compiler_static='-non_shared'
   9586         ;;
   9587       xl* | bgxl* | bgf* | mpixl*)
   9588 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9589 	lt_prog_compiler_wl='-Wl,'
   9590 	lt_prog_compiler_pic='-qpic'
   9591 	lt_prog_compiler_static='-qstaticlink'
   9592 	;;
   9593       *)
   9594 	case `$CC -V 2>&1 | $SED 5q` in
   9595 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9596 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9597 	  lt_prog_compiler_pic='-KPIC'
   9598 	  lt_prog_compiler_static='-Bstatic'
   9599 	  lt_prog_compiler_wl=''
   9600 	  ;;
   9601 	*Sun\ F* | *Sun*Fortran*)
   9602 	  lt_prog_compiler_pic='-KPIC'
   9603 	  lt_prog_compiler_static='-Bstatic'
   9604 	  lt_prog_compiler_wl='-Qoption ld '
   9605 	  ;;
   9606 	*Sun\ C*)
   9607 	  # Sun C 5.9
   9608 	  lt_prog_compiler_pic='-KPIC'
   9609 	  lt_prog_compiler_static='-Bstatic'
   9610 	  lt_prog_compiler_wl='-Wl,'
   9611 	  ;;
   9612         *Intel*\ [CF]*Compiler*)
   9613 	  lt_prog_compiler_wl='-Wl,'
   9614 	  lt_prog_compiler_pic='-fPIC'
   9615 	  lt_prog_compiler_static='-static'
   9616 	  ;;
   9617 	*Portland\ Group*)
   9618 	  lt_prog_compiler_wl='-Wl,'
   9619 	  lt_prog_compiler_pic='-fpic'
   9620 	  lt_prog_compiler_static='-Bstatic'
   9621 	  ;;
   9622 	esac
   9623 	;;
   9624       esac
   9625       ;;
   9626 
   9627     newsos6)
   9628       lt_prog_compiler_pic='-KPIC'
   9629       lt_prog_compiler_static='-Bstatic'
   9630       ;;
   9631 
   9632     *nto* | *qnx*)
   9633       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9634       # it will coredump.
   9635       lt_prog_compiler_pic='-fPIC -shared'
   9636       ;;
   9637 
   9638     osf3* | osf4* | osf5*)
   9639       lt_prog_compiler_wl='-Wl,'
   9640       # All OSF/1 code is PIC.
   9641       lt_prog_compiler_static='-non_shared'
   9642       ;;
   9643 
   9644     rdos*)
   9645       lt_prog_compiler_static='-non_shared'
   9646       ;;
   9647 
   9648     solaris*)
   9649       lt_prog_compiler_pic='-KPIC'
   9650       lt_prog_compiler_static='-Bstatic'
   9651       case $cc_basename in
   9652       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9653 	lt_prog_compiler_wl='-Qoption ld ';;
   9654       *)
   9655 	lt_prog_compiler_wl='-Wl,';;
   9656       esac
   9657       ;;
   9658 
   9659     sunos4*)
   9660       lt_prog_compiler_wl='-Qoption ld '
   9661       lt_prog_compiler_pic='-PIC'
   9662       lt_prog_compiler_static='-Bstatic'
   9663       ;;
   9664 
   9665     sysv4 | sysv4.2uw2* | sysv4.3*)
   9666       lt_prog_compiler_wl='-Wl,'
   9667       lt_prog_compiler_pic='-KPIC'
   9668       lt_prog_compiler_static='-Bstatic'
   9669       ;;
   9670 
   9671     sysv4*MP*)
   9672       if test -d /usr/nec; then
   9673 	lt_prog_compiler_pic='-Kconform_pic'
   9674 	lt_prog_compiler_static='-Bstatic'
   9675       fi
   9676       ;;
   9677 
   9678     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9679       lt_prog_compiler_wl='-Wl,'
   9680       lt_prog_compiler_pic='-KPIC'
   9681       lt_prog_compiler_static='-Bstatic'
   9682       ;;
   9683 
   9684     unicos*)
   9685       lt_prog_compiler_wl='-Wl,'
   9686       lt_prog_compiler_can_build_shared=no
   9687       ;;
   9688 
   9689     uts4*)
   9690       lt_prog_compiler_pic='-pic'
   9691       lt_prog_compiler_static='-Bstatic'
   9692       ;;
   9693 
   9694     *)
   9695       lt_prog_compiler_can_build_shared=no
   9696       ;;
   9697     esac
   9698   fi
   9699 
   9700 case $host_os in
   9701   # For platforms that do not support PIC, -DPIC is meaningless:
   9702   *djgpp*)
   9703     lt_prog_compiler_pic=
   9704     ;;
   9705   *)
   9706     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9707     ;;
   9708 esac
   9709 
   9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9711 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9712 if test ${lt_cv_prog_compiler_pic+y}
   9713 then :
   9714   printf %s "(cached) " >&6
   9715 else $as_nop
   9716   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9717 fi
   9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9719 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9720 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9721 
   9722 #
   9723 # Check to make sure the PIC flag actually works.
   9724 #
   9725 if test -n "$lt_prog_compiler_pic"; then
   9726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9727 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9728 if test ${lt_cv_prog_compiler_pic_works+y}
   9729 then :
   9730   printf %s "(cached) " >&6
   9731 else $as_nop
   9732   lt_cv_prog_compiler_pic_works=no
   9733    ac_outfile=conftest.$ac_objext
   9734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9735    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9736    # Insert the option either (1) after the last *FLAGS variable, or
   9737    # (2) before a word containing "conftest.", or (3) at the end.
   9738    # Note that $ac_compile itself does not contain backslashes and begins
   9739    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9740    # The option is referenced via a variable to avoid confusing sed.
   9741    lt_compile=`echo "$ac_compile" | $SED \
   9742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9744    -e 's:$: $lt_compiler_flag:'`
   9745    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9746    (eval "$lt_compile" 2>conftest.err)
   9747    ac_status=$?
   9748    cat conftest.err >&5
   9749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9750    if (exit $ac_status) && test -s "$ac_outfile"; then
   9751      # The compiler can only warn and ignore the option if not recognized
   9752      # So say no if there are warnings other than the usual output.
   9753      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9754      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9755      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9756        lt_cv_prog_compiler_pic_works=yes
   9757      fi
   9758    fi
   9759    $RM conftest*
   9760 
   9761 fi
   9762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9763 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9764 
   9765 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9766     case $lt_prog_compiler_pic in
   9767      "" | " "*) ;;
   9768      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9769      esac
   9770 else
   9771     lt_prog_compiler_pic=
   9772      lt_prog_compiler_can_build_shared=no
   9773 fi
   9774 
   9775 fi
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 #
   9788 # Check to make sure the static flag actually works.
   9789 #
   9790 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9792 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9793 if test ${lt_cv_prog_compiler_static_works+y}
   9794 then :
   9795   printf %s "(cached) " >&6
   9796 else $as_nop
   9797   lt_cv_prog_compiler_static_works=no
   9798    save_LDFLAGS=$LDFLAGS
   9799    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9800    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9801    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9802      # The linker can only warn and ignore the option if not recognized
   9803      # So say no if there are warnings
   9804      if test -s conftest.err; then
   9805        # Append any errors to the config.log.
   9806        cat conftest.err 1>&5
   9807        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9808        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9809        if diff conftest.exp conftest.er2 >/dev/null; then
   9810          lt_cv_prog_compiler_static_works=yes
   9811        fi
   9812      else
   9813        lt_cv_prog_compiler_static_works=yes
   9814      fi
   9815    fi
   9816    $RM -r conftest*
   9817    LDFLAGS=$save_LDFLAGS
   9818 
   9819 fi
   9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9821 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9822 
   9823 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9824     :
   9825 else
   9826     lt_prog_compiler_static=
   9827 fi
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9836 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9837 if test ${lt_cv_prog_compiler_c_o+y}
   9838 then :
   9839   printf %s "(cached) " >&6
   9840 else $as_nop
   9841   lt_cv_prog_compiler_c_o=no
   9842    $RM -r conftest 2>/dev/null
   9843    mkdir conftest
   9844    cd conftest
   9845    mkdir out
   9846    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9847 
   9848    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9849    # Insert the option either (1) after the last *FLAGS variable, or
   9850    # (2) before a word containing "conftest.", or (3) at the end.
   9851    # Note that $ac_compile itself does not contain backslashes and begins
   9852    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9853    lt_compile=`echo "$ac_compile" | $SED \
   9854    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9855    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9856    -e 's:$: $lt_compiler_flag:'`
   9857    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9858    (eval "$lt_compile" 2>out/conftest.err)
   9859    ac_status=$?
   9860    cat out/conftest.err >&5
   9861    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9862    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9863    then
   9864      # The compiler can only warn and ignore the option if not recognized
   9865      # So say no if there are warnings
   9866      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9867      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9868      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9869        lt_cv_prog_compiler_c_o=yes
   9870      fi
   9871    fi
   9872    chmod u+w . 2>&5
   9873    $RM conftest*
   9874    # SGI C++ compiler will create directory out/ii_files/ for
   9875    # template instantiation
   9876    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9877    $RM out/* && rmdir out
   9878    cd ..
   9879    $RM -r conftest
   9880    $RM conftest*
   9881 
   9882 fi
   9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9884 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9892 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9893 if test ${lt_cv_prog_compiler_c_o+y}
   9894 then :
   9895   printf %s "(cached) " >&6
   9896 else $as_nop
   9897   lt_cv_prog_compiler_c_o=no
   9898    $RM -r conftest 2>/dev/null
   9899    mkdir conftest
   9900    cd conftest
   9901    mkdir out
   9902    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9903 
   9904    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9905    # Insert the option either (1) after the last *FLAGS variable, or
   9906    # (2) before a word containing "conftest.", or (3) at the end.
   9907    # Note that $ac_compile itself does not contain backslashes and begins
   9908    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9909    lt_compile=`echo "$ac_compile" | $SED \
   9910    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9911    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9912    -e 's:$: $lt_compiler_flag:'`
   9913    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9914    (eval "$lt_compile" 2>out/conftest.err)
   9915    ac_status=$?
   9916    cat out/conftest.err >&5
   9917    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9918    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9919    then
   9920      # The compiler can only warn and ignore the option if not recognized
   9921      # So say no if there are warnings
   9922      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9923      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9924      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9925        lt_cv_prog_compiler_c_o=yes
   9926      fi
   9927    fi
   9928    chmod u+w . 2>&5
   9929    $RM conftest*
   9930    # SGI C++ compiler will create directory out/ii_files/ for
   9931    # template instantiation
   9932    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9933    $RM out/* && rmdir out
   9934    cd ..
   9935    $RM -r conftest
   9936    $RM conftest*
   9937 
   9938 fi
   9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9940 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9941 
   9942 
   9943 
   9944 
   9945 hard_links=nottested
   9946 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9947   # do not overwrite the value of need_locks provided by the user
   9948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9949 printf %s "checking if we can lock with hard links... " >&6; }
   9950   hard_links=yes
   9951   $RM conftest*
   9952   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9953   touch conftest.a
   9954   ln conftest.a conftest.b 2>&5 || hard_links=no
   9955   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9957 printf "%s\n" "$hard_links" >&6; }
   9958   if test no = "$hard_links"; then
   9959     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9960 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9961     need_locks=warn
   9962   fi
   9963 else
   9964   need_locks=no
   9965 fi
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9973 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9974 
   9975   runpath_var=
   9976   allow_undefined_flag=
   9977   always_export_symbols=no
   9978   archive_cmds=
   9979   archive_expsym_cmds=
   9980   compiler_needs_object=no
   9981   enable_shared_with_static_runtimes=no
   9982   export_dynamic_flag_spec=
   9983   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9984   hardcode_automatic=no
   9985   hardcode_direct=no
   9986   hardcode_direct_absolute=no
   9987   hardcode_libdir_flag_spec=
   9988   hardcode_libdir_separator=
   9989   hardcode_minus_L=no
   9990   hardcode_shlibpath_var=unsupported
   9991   inherit_rpath=no
   9992   link_all_deplibs=unknown
   9993   module_cmds=
   9994   module_expsym_cmds=
   9995   old_archive_from_new_cmds=
   9996   old_archive_from_expsyms_cmds=
   9997   thread_safe_flag_spec=
   9998   whole_archive_flag_spec=
   9999   # include_expsyms should be a list of space-separated symbols to be *always*
   10000   # included in the symbol list
   10001   include_expsyms=
   10002   # exclude_expsyms can be an extended regexp of symbols to exclude
   10003   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10004   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10005   # as well as any symbol that contains 'd'.
   10006   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10007   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10008   # platforms (ab)use it in PIC code, but their linkers get confused if
   10009   # the symbol is explicitly referenced.  Since portable code cannot
   10010   # rely on this symbol name, it's probably fine to never include it in
   10011   # preloaded symbol tables.
   10012   # Exclude shared library initialization/finalization symbols.
   10013   extract_expsyms_cmds=
   10014 
   10015   case $host_os in
   10016   cygwin* | mingw* | pw32* | cegcc*)
   10017     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10018     # When not using gcc, we currently assume that we are using
   10019     # Microsoft Visual C++ or Intel C++ Compiler.
   10020     if test yes != "$GCC"; then
   10021       with_gnu_ld=no
   10022     fi
   10023     ;;
   10024   interix*)
   10025     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10026     with_gnu_ld=yes
   10027     ;;
   10028   openbsd* | bitrig*)
   10029     with_gnu_ld=no
   10030     ;;
   10031   esac
   10032 
   10033   ld_shlibs=yes
   10034 
   10035   # On some targets, GNU ld is compatible enough with the native linker
   10036   # that we're better off using the native interface for both.
   10037   lt_use_gnu_ld_interface=no
   10038   if test yes = "$with_gnu_ld"; then
   10039     case $host_os in
   10040       aix*)
   10041 	# The AIX port of GNU ld has always aspired to compatibility
   10042 	# with the native linker.  However, as the warning in the GNU ld
   10043 	# block says, versions before 2.19.5* couldn't really create working
   10044 	# shared libraries, regardless of the interface used.
   10045 	case `$LD -v 2>&1` in
   10046 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10047 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10048 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10049 	  *)
   10050 	    lt_use_gnu_ld_interface=yes
   10051 	    ;;
   10052 	esac
   10053 	;;
   10054       *)
   10055 	lt_use_gnu_ld_interface=yes
   10056 	;;
   10057     esac
   10058   fi
   10059 
   10060   if test yes = "$lt_use_gnu_ld_interface"; then
   10061     # If archive_cmds runs LD, not CC, wlarc should be empty
   10062     wlarc='$wl'
   10063 
   10064     # Set some defaults for GNU ld with shared library support. These
   10065     # are reset later if shared libraries are not supported. Putting them
   10066     # here allows them to be overridden if necessary.
   10067     runpath_var=LD_RUN_PATH
   10068     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10069     export_dynamic_flag_spec='$wl--export-dynamic'
   10070     # ancient GNU ld didn't support --whole-archive et. al.
   10071     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10072       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10073     else
   10074       whole_archive_flag_spec=
   10075     fi
   10076     supports_anon_versioning=no
   10077     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10078       *GNU\ gold*) supports_anon_versioning=yes ;;
   10079       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10080       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10081       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10082       *\ 2.11.*) ;; # other 2.11 versions
   10083       *) supports_anon_versioning=yes ;;
   10084     esac
   10085 
   10086     # See if GNU ld supports shared libraries.
   10087     case $host_os in
   10088     aix[3-9]*)
   10089       # On AIX/PPC, the GNU linker is very broken
   10090       if test ia64 != "$host_cpu"; then
   10091 	ld_shlibs=no
   10092 	cat <<_LT_EOF 1>&2
   10093 
   10094 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10095 *** to be unable to reliably create shared libraries on AIX.
   10096 *** Therefore, libtool is disabling shared libraries support.  If you
   10097 *** really care for shared libraries, you may want to install binutils
   10098 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10099 *** You will then need to restart the configuration process.
   10100 
   10101 _LT_EOF
   10102       fi
   10103       ;;
   10104 
   10105     amigaos*)
   10106       case $host_cpu in
   10107       powerpc)
   10108             # see comment about AmigaOS4 .so support
   10109             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10110             archive_expsym_cmds=''
   10111         ;;
   10112       m68k)
   10113             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)'
   10114             hardcode_libdir_flag_spec='-L$libdir'
   10115             hardcode_minus_L=yes
   10116         ;;
   10117       esac
   10118       ;;
   10119 
   10120     beos*)
   10121       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10122 	allow_undefined_flag=unsupported
   10123 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10124 	# support --undefined.  This deserves some investigation.  FIXME
   10125 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10126       else
   10127 	ld_shlibs=no
   10128       fi
   10129       ;;
   10130 
   10131     cygwin* | mingw* | pw32* | cegcc*)
   10132       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10133       # as there is no search path for DLLs.
   10134       hardcode_libdir_flag_spec='-L$libdir'
   10135       export_dynamic_flag_spec='$wl--export-all-symbols'
   10136       allow_undefined_flag=unsupported
   10137       always_export_symbols=no
   10138       enable_shared_with_static_runtimes=yes
   10139       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'
   10140       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10141 
   10142       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10143         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10144 	# If the export-symbols file already is a .def file, use it as
   10145 	# is; otherwise, prepend EXPORTS...
   10146 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10147           cp $export_symbols $output_objdir/$soname.def;
   10148         else
   10149           echo EXPORTS > $output_objdir/$soname.def;
   10150           cat $export_symbols >> $output_objdir/$soname.def;
   10151         fi~
   10152         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10153       else
   10154 	ld_shlibs=no
   10155       fi
   10156       ;;
   10157 
   10158     haiku*)
   10159       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10160       link_all_deplibs=yes
   10161       ;;
   10162 
   10163     os2*)
   10164       hardcode_libdir_flag_spec='-L$libdir'
   10165       hardcode_minus_L=yes
   10166       allow_undefined_flag=unsupported
   10167       shrext_cmds=.dll
   10168       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10169 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10170 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10171 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10172 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10173 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10174 	emximp -o $lib $output_objdir/$libname.def'
   10175       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10176 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10177 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10178 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10179 	prefix_cmds="$SED"~
   10180 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10181 	  prefix_cmds="$prefix_cmds -e 1d";
   10182 	fi~
   10183 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10184 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10185 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10186 	emximp -o $lib $output_objdir/$libname.def'
   10187       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10188       enable_shared_with_static_runtimes=yes
   10189       file_list_spec='@'
   10190       ;;
   10191 
   10192     interix[3-9]*)
   10193       hardcode_direct=no
   10194       hardcode_shlibpath_var=no
   10195       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10196       export_dynamic_flag_spec='$wl-E'
   10197       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10198       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10199       # default) and relocated if they conflict, which is a slow very memory
   10200       # consuming and fragmenting process.  To avoid this, we pick a random,
   10201       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10202       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10203       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10204       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'
   10205       ;;
   10206 
   10207     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10208       tmp_diet=no
   10209       if test linux-dietlibc = "$host_os"; then
   10210 	case $cc_basename in
   10211 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10212 	esac
   10213       fi
   10214       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10215 	 && test no = "$tmp_diet"
   10216       then
   10217 	tmp_addflag=' $pic_flag'
   10218 	tmp_sharedflag='-shared'
   10219 	case $cc_basename,$host_cpu in
   10220         pgcc*)				# Portland Group C compiler
   10221 	  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'
   10222 	  tmp_addflag=' $pic_flag'
   10223 	  ;;
   10224 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10225 					# Portland Group f77 and f90 compilers
   10226 	  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'
   10227 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10228 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10229 	  tmp_addflag=' -i_dynamic' ;;
   10230 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10231 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10232 	ifc* | ifort*)			# Intel Fortran compiler
   10233 	  tmp_addflag=' -nofor_main' ;;
   10234 	lf95*)				# Lahey Fortran 8.1
   10235 	  whole_archive_flag_spec=
   10236 	  tmp_sharedflag='--shared' ;;
   10237         nagfor*)                        # NAGFOR 5.3
   10238           tmp_sharedflag='-Wl,-shared' ;;
   10239 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10240 	  tmp_sharedflag='-qmkshrobj'
   10241 	  tmp_addflag= ;;
   10242 	nvcc*)	# Cuda Compiler Driver 2.2
   10243 	  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'
   10244 	  compiler_needs_object=yes
   10245 	  ;;
   10246 	esac
   10247 	case `$CC -V 2>&1 | $SED 5q` in
   10248 	*Sun\ C*)			# Sun C 5.9
   10249 	  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'
   10250 	  compiler_needs_object=yes
   10251 	  tmp_sharedflag='-G' ;;
   10252 	*Sun\ F*)			# Sun Fortran 8.3
   10253 	  tmp_sharedflag='-G' ;;
   10254 	esac
   10255 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10256 
   10257         if test yes = "$supports_anon_versioning"; then
   10258           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10259             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10260             echo "local: *; };" >> $output_objdir/$libname.ver~
   10261             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10262         fi
   10263 
   10264 	case $cc_basename in
   10265 	tcc*)
   10266 	  export_dynamic_flag_spec='-rdynamic'
   10267 	  ;;
   10268 	xlf* | bgf* | bgxlf* | mpixlf*)
   10269 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10270 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10271 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10272 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10273 	  if test yes = "$supports_anon_versioning"; then
   10274 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10275               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10276               echo "local: *; };" >> $output_objdir/$libname.ver~
   10277               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10278 	  fi
   10279 	  ;;
   10280 	esac
   10281       else
   10282         ld_shlibs=no
   10283       fi
   10284       ;;
   10285 
   10286     netbsd*)
   10287       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10288 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10289 	wlarc=
   10290       else
   10291 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10292 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10293       fi
   10294       ;;
   10295 
   10296     solaris*)
   10297       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10298 	ld_shlibs=no
   10299 	cat <<_LT_EOF 1>&2
   10300 
   10301 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10302 *** create shared libraries on Solaris systems.  Therefore, libtool
   10303 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10304 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10305 *** your PATH or compiler configuration so that the native linker is
   10306 *** used, and then restart.
   10307 
   10308 _LT_EOF
   10309       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10310 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10311 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10312       else
   10313 	ld_shlibs=no
   10314       fi
   10315       ;;
   10316 
   10317     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10318       case `$LD -v 2>&1` in
   10319         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10320 	ld_shlibs=no
   10321 	cat <<_LT_EOF 1>&2
   10322 
   10323 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10324 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10325 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10326 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10327 *** your PATH or compiler configuration so that the native linker is
   10328 *** used, and then restart.
   10329 
   10330 _LT_EOF
   10331 	;;
   10332 	*)
   10333 	  # For security reasons, it is highly recommended that you always
   10334 	  # use absolute paths for naming shared libraries, and exclude the
   10335 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10336 	  # requires that you compile everything twice, which is a pain.
   10337 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10338 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10339 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10340 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10341 	  else
   10342 	    ld_shlibs=no
   10343 	  fi
   10344 	;;
   10345       esac
   10346       ;;
   10347 
   10348     sunos4*)
   10349       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10350       wlarc=
   10351       hardcode_direct=yes
   10352       hardcode_shlibpath_var=no
   10353       ;;
   10354 
   10355     *)
   10356       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10357 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10358 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10359       else
   10360 	ld_shlibs=no
   10361       fi
   10362       ;;
   10363     esac
   10364 
   10365     if test no = "$ld_shlibs"; then
   10366       runpath_var=
   10367       hardcode_libdir_flag_spec=
   10368       export_dynamic_flag_spec=
   10369       whole_archive_flag_spec=
   10370     fi
   10371   else
   10372     # PORTME fill in a description of your system's linker (not GNU ld)
   10373     case $host_os in
   10374     aix3*)
   10375       allow_undefined_flag=unsupported
   10376       always_export_symbols=yes
   10377       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'
   10378       # Note: this linker hardcodes the directories in LIBPATH if there
   10379       # are no directories specified by -L.
   10380       hardcode_minus_L=yes
   10381       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10382 	# Neither direct hardcoding nor static linking is supported with a
   10383 	# broken collect2.
   10384 	hardcode_direct=unsupported
   10385       fi
   10386       ;;
   10387 
   10388     aix[4-9]*)
   10389       if test ia64 = "$host_cpu"; then
   10390 	# On IA64, the linker does run time linking by default, so we don't
   10391 	# have to do anything special.
   10392 	aix_use_runtimelinking=no
   10393 	exp_sym_flag='-Bexport'
   10394 	no_entry_flag=
   10395       else
   10396 	# If we're using GNU nm, then we don't want the "-C" option.
   10397 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10398 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10399 	# weak defined symbols like other global defined symbols, whereas
   10400 	# GNU nm marks them as "W".
   10401 	# While the 'weak' keyword is ignored in the Export File, we need
   10402 	# it in the Import File for the 'aix-soname' feature, so we have
   10403 	# to replace the "-B" option with "-P" for AIX nm.
   10404 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10405 	  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'
   10406 	else
   10407 	  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'
   10408 	fi
   10409 	aix_use_runtimelinking=no
   10410 
   10411 	# Test if we are trying to use run time linking or normal
   10412 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10413 	# have runtime linking enabled, and use it for executables.
   10414 	# For shared libraries, we enable/disable runtime linking
   10415 	# depending on the kind of the shared library created -
   10416 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10417 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10418 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10419 	#            lib.a           static archive
   10420 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10421 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10422 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10423 	#            lib.a(lib.so.V) shared, rtl:no
   10424 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10425 	#            lib.a           static archive
   10426 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10427 	  for ld_flag in $LDFLAGS; do
   10428 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10429 	    aix_use_runtimelinking=yes
   10430 	    break
   10431 	  fi
   10432 	  done
   10433 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10434 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10435 	    # so we don't have lib.a shared libs to link our executables.
   10436 	    # We have to force runtime linking in this case.
   10437 	    aix_use_runtimelinking=yes
   10438 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10439 	  fi
   10440 	  ;;
   10441 	esac
   10442 
   10443 	exp_sym_flag='-bexport'
   10444 	no_entry_flag='-bnoentry'
   10445       fi
   10446 
   10447       # When large executables or shared objects are built, AIX ld can
   10448       # have problems creating the table of contents.  If linking a library
   10449       # or program results in "error TOC overflow" add -mminimal-toc to
   10450       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10451       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10452 
   10453       archive_cmds=''
   10454       hardcode_direct=yes
   10455       hardcode_direct_absolute=yes
   10456       hardcode_libdir_separator=':'
   10457       link_all_deplibs=yes
   10458       file_list_spec='$wl-f,'
   10459       case $with_aix_soname,$aix_use_runtimelinking in
   10460       aix,*) ;; # traditional, no import file
   10461       svr4,* | *,yes) # use import file
   10462 	# The Import File defines what to hardcode.
   10463 	hardcode_direct=no
   10464 	hardcode_direct_absolute=no
   10465 	;;
   10466       esac
   10467 
   10468       if test yes = "$GCC"; then
   10469 	case $host_os in aix4.[012]|aix4.[012].*)
   10470 	# We only want to do this on AIX 4.2 and lower, the check
   10471 	# below for broken collect2 doesn't work under 4.3+
   10472 	  collect2name=`$CC -print-prog-name=collect2`
   10473 	  if test -f "$collect2name" &&
   10474 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10475 	  then
   10476 	  # We have reworked collect2
   10477 	  :
   10478 	  else
   10479 	  # We have old collect2
   10480 	  hardcode_direct=unsupported
   10481 	  # It fails to find uninstalled libraries when the uninstalled
   10482 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10483 	  # to unsupported forces relinking
   10484 	  hardcode_minus_L=yes
   10485 	  hardcode_libdir_flag_spec='-L$libdir'
   10486 	  hardcode_libdir_separator=
   10487 	  fi
   10488 	  ;;
   10489 	esac
   10490 	shared_flag='-shared'
   10491 	if test yes = "$aix_use_runtimelinking"; then
   10492 	  shared_flag="$shared_flag "'$wl-G'
   10493 	fi
   10494 	# Need to ensure runtime linking is disabled for the traditional
   10495 	# shared library, or the linker may eventually find shared libraries
   10496 	# /with/ Import File - we do not want to mix them.
   10497 	shared_flag_aix='-shared'
   10498 	shared_flag_svr4='-shared $wl-G'
   10499       else
   10500 	# not using gcc
   10501 	if test ia64 = "$host_cpu"; then
   10502 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10503 	# chokes on -Wl,-G. The following line is correct:
   10504 	  shared_flag='-G'
   10505 	else
   10506 	  if test yes = "$aix_use_runtimelinking"; then
   10507 	    shared_flag='$wl-G'
   10508 	  else
   10509 	    shared_flag='$wl-bM:SRE'
   10510 	  fi
   10511 	  shared_flag_aix='$wl-bM:SRE'
   10512 	  shared_flag_svr4='$wl-G'
   10513 	fi
   10514       fi
   10515 
   10516       export_dynamic_flag_spec='$wl-bexpall'
   10517       # It seems that -bexpall does not export symbols beginning with
   10518       # underscore (_), so it is better to generate a list of symbols to export.
   10519       always_export_symbols=yes
   10520       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10521 	# Warning - without using the other runtime loading flags (-brtl),
   10522 	# -berok will link without error, but may produce a broken library.
   10523 	allow_undefined_flag='-berok'
   10524         # Determine the default libpath from the value encoded in an
   10525         # empty executable.
   10526         if test set = "${lt_cv_aix_libpath+set}"; then
   10527   aix_libpath=$lt_cv_aix_libpath
   10528 else
   10529   if test ${lt_cv_aix_libpath_+y}
   10530 then :
   10531   printf %s "(cached) " >&6
   10532 else $as_nop
   10533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 
   10536 int
   10537 main (void)
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 if ac_fn_c_try_link "$LINENO"
   10545 then :
   10546 
   10547   lt_aix_libpath_sed='
   10548       /Import File Strings/,/^$/ {
   10549 	  /^0/ {
   10550 	      s/^0  *\([^ ]*\) *$/\1/
   10551 	      p
   10552 	  }
   10553       }'
   10554   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10555   # Check for a 64-bit object if we didn't find anything.
   10556   if test -z "$lt_cv_aix_libpath_"; then
   10557     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10558   fi
   10559 fi
   10560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10561     conftest$ac_exeext conftest.$ac_ext
   10562   if test -z "$lt_cv_aix_libpath_"; then
   10563     lt_cv_aix_libpath_=/usr/lib:/lib
   10564   fi
   10565 
   10566 fi
   10567 
   10568   aix_libpath=$lt_cv_aix_libpath_
   10569 fi
   10570 
   10571         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10572         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
   10573       else
   10574 	if test ia64 = "$host_cpu"; then
   10575 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10576 	  allow_undefined_flag="-z nodefs"
   10577 	  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"
   10578 	else
   10579 	 # Determine the default libpath from the value encoded in an
   10580 	 # empty executable.
   10581 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10582   aix_libpath=$lt_cv_aix_libpath
   10583 else
   10584   if test ${lt_cv_aix_libpath_+y}
   10585 then :
   10586   printf %s "(cached) " >&6
   10587 else $as_nop
   10588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10589 /* end confdefs.h.  */
   10590 
   10591 int
   10592 main (void)
   10593 {
   10594 
   10595   ;
   10596   return 0;
   10597 }
   10598 _ACEOF
   10599 if ac_fn_c_try_link "$LINENO"
   10600 then :
   10601 
   10602   lt_aix_libpath_sed='
   10603       /Import File Strings/,/^$/ {
   10604 	  /^0/ {
   10605 	      s/^0  *\([^ ]*\) *$/\1/
   10606 	      p
   10607 	  }
   10608       }'
   10609   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10610   # Check for a 64-bit object if we didn't find anything.
   10611   if test -z "$lt_cv_aix_libpath_"; then
   10612     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10613   fi
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10616     conftest$ac_exeext conftest.$ac_ext
   10617   if test -z "$lt_cv_aix_libpath_"; then
   10618     lt_cv_aix_libpath_=/usr/lib:/lib
   10619   fi
   10620 
   10621 fi
   10622 
   10623   aix_libpath=$lt_cv_aix_libpath_
   10624 fi
   10625 
   10626 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10627 	  # Warning - without using the other run time loading flags,
   10628 	  # -berok will link without error, but may produce a broken library.
   10629 	  no_undefined_flag=' $wl-bernotok'
   10630 	  allow_undefined_flag=' $wl-berok'
   10631 	  if test yes = "$with_gnu_ld"; then
   10632 	    # We only use this code for GNU lds that support --whole-archive.
   10633 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10634 	  else
   10635 	    # Exported symbols can be pulled into shared objects from archives
   10636 	    whole_archive_flag_spec='$convenience'
   10637 	  fi
   10638 	  archive_cmds_need_lc=yes
   10639 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10640 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10641 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10642 	  if test svr4 != "$with_aix_soname"; then
   10643 	    # This is similar to how AIX traditionally builds its shared libraries.
   10644 	    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'
   10645 	  fi
   10646 	  if test aix != "$with_aix_soname"; then
   10647 	    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'
   10648 	  else
   10649 	    # used by -dlpreopen to get the symbols
   10650 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10651 	  fi
   10652 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10653 	fi
   10654       fi
   10655       ;;
   10656 
   10657     amigaos*)
   10658       case $host_cpu in
   10659       powerpc)
   10660             # see comment about AmigaOS4 .so support
   10661             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10662             archive_expsym_cmds=''
   10663         ;;
   10664       m68k)
   10665             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)'
   10666             hardcode_libdir_flag_spec='-L$libdir'
   10667             hardcode_minus_L=yes
   10668         ;;
   10669       esac
   10670       ;;
   10671 
   10672     bsdi[45]*)
   10673       export_dynamic_flag_spec=-rdynamic
   10674       ;;
   10675 
   10676     cygwin* | mingw* | pw32* | cegcc*)
   10677       # When not using gcc, we currently assume that we are using
   10678       # Microsoft Visual C++ or Intel C++ Compiler.
   10679       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10680       # no search path for DLLs.
   10681       case $cc_basename in
   10682       cl* | icl*)
   10683 	# Native MSVC or ICC
   10684 	hardcode_libdir_flag_spec=' '
   10685 	allow_undefined_flag=unsupported
   10686 	always_export_symbols=yes
   10687 	file_list_spec='@'
   10688 	# Tell ltmain to make .lib files, not .a files.
   10689 	libext=lib
   10690 	# Tell ltmain to make .dll files, not .so files.
   10691 	shrext_cmds=.dll
   10692 	# FIXME: Setting linknames here is a bad hack.
   10693 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10694 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10695             cp "$export_symbols" "$output_objdir/$soname.def";
   10696             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10697           else
   10698             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10699           fi~
   10700           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10701           linknames='
   10702 	# The linker will not automatically build a static lib if we build a DLL.
   10703 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10704 	enable_shared_with_static_runtimes=yes
   10705 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10706 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10707 	# Don't use ranlib
   10708 	old_postinstall_cmds='chmod 644 $oldlib'
   10709 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10710           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10711           case $lt_outputfile in
   10712             *.exe|*.EXE) ;;
   10713             *)
   10714               lt_outputfile=$lt_outputfile.exe
   10715               lt_tool_outputfile=$lt_tool_outputfile.exe
   10716               ;;
   10717           esac~
   10718           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10719             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10720             $RM "$lt_outputfile.manifest";
   10721           fi'
   10722 	;;
   10723       *)
   10724 	# Assume MSVC and ICC wrapper
   10725 	hardcode_libdir_flag_spec=' '
   10726 	allow_undefined_flag=unsupported
   10727 	# Tell ltmain to make .lib files, not .a files.
   10728 	libext=lib
   10729 	# Tell ltmain to make .dll files, not .so files.
   10730 	shrext_cmds=.dll
   10731 	# FIXME: Setting linknames here is a bad hack.
   10732 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10733 	# The linker will automatically build a .lib file if we build a DLL.
   10734 	old_archive_from_new_cmds='true'
   10735 	# FIXME: Should let the user specify the lib program.
   10736 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10737 	enable_shared_with_static_runtimes=yes
   10738 	;;
   10739       esac
   10740       ;;
   10741 
   10742     darwin* | rhapsody*)
   10743 
   10744 
   10745   archive_cmds_need_lc=no
   10746   hardcode_direct=no
   10747   hardcode_automatic=yes
   10748   hardcode_shlibpath_var=unsupported
   10749   if test yes = "$lt_cv_ld_force_load"; then
   10750     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\"`'
   10751 
   10752   else
   10753     whole_archive_flag_spec=''
   10754   fi
   10755   link_all_deplibs=yes
   10756   allow_undefined_flag=$_lt_dar_allow_undefined
   10757   case $cc_basename in
   10758      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10759      *) _lt_dar_can_shared=$GCC ;;
   10760   esac
   10761   if test yes = "$_lt_dar_can_shared"; then
   10762     output_verbose_link_cmd=func_echo_all
   10763     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10764     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10765     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"
   10766     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"
   10767 
   10768   else
   10769   ld_shlibs=no
   10770   fi
   10771 
   10772       ;;
   10773 
   10774     dgux*)
   10775       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10776       hardcode_libdir_flag_spec='-L$libdir'
   10777       hardcode_shlibpath_var=no
   10778       ;;
   10779 
   10780     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10781     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10782     # does not break anything, and helps significantly (at the cost of a little
   10783     # extra space).
   10784     freebsd2.2*)
   10785       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10786       hardcode_libdir_flag_spec='-R$libdir'
   10787       hardcode_direct=yes
   10788       hardcode_shlibpath_var=no
   10789       ;;
   10790 
   10791     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10792     freebsd2.*)
   10793       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10794       hardcode_direct=yes
   10795       hardcode_minus_L=yes
   10796       hardcode_shlibpath_var=no
   10797       ;;
   10798 
   10799     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10800     freebsd* | dragonfly* | midnightbsd*)
   10801       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10802       hardcode_libdir_flag_spec='-R$libdir'
   10803       hardcode_direct=yes
   10804       hardcode_shlibpath_var=no
   10805       ;;
   10806 
   10807     hpux9*)
   10808       if test yes = "$GCC"; then
   10809 	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'
   10810       else
   10811 	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'
   10812       fi
   10813       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10814       hardcode_libdir_separator=:
   10815       hardcode_direct=yes
   10816 
   10817       # hardcode_minus_L: Not really in the search PATH,
   10818       # but as the default location of the library.
   10819       hardcode_minus_L=yes
   10820       export_dynamic_flag_spec='$wl-E'
   10821       ;;
   10822 
   10823     hpux10*)
   10824       if test yes,no = "$GCC,$with_gnu_ld"; then
   10825 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10826       else
   10827 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10828       fi
   10829       if test no = "$with_gnu_ld"; then
   10830 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10831 	hardcode_libdir_separator=:
   10832 	hardcode_direct=yes
   10833 	hardcode_direct_absolute=yes
   10834 	export_dynamic_flag_spec='$wl-E'
   10835 	# hardcode_minus_L: Not really in the search PATH,
   10836 	# but as the default location of the library.
   10837 	hardcode_minus_L=yes
   10838       fi
   10839       ;;
   10840 
   10841     hpux11*)
   10842       if test yes,no = "$GCC,$with_gnu_ld"; then
   10843 	case $host_cpu in
   10844 	hppa*64*)
   10845 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10846 	  ;;
   10847 	ia64*)
   10848 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10849 	  ;;
   10850 	*)
   10851 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10852 	  ;;
   10853 	esac
   10854       else
   10855 	case $host_cpu in
   10856 	hppa*64*)
   10857 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10858 	  ;;
   10859 	ia64*)
   10860 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10861 	  ;;
   10862 	*)
   10863 
   10864 	  # Older versions of the 11.00 compiler do not understand -b yet
   10865 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10866 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10867 printf %s "checking if $CC understands -b... " >&6; }
   10868 if test ${lt_cv_prog_compiler__b+y}
   10869 then :
   10870   printf %s "(cached) " >&6
   10871 else $as_nop
   10872   lt_cv_prog_compiler__b=no
   10873    save_LDFLAGS=$LDFLAGS
   10874    LDFLAGS="$LDFLAGS -b"
   10875    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10876    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10877      # The linker can only warn and ignore the option if not recognized
   10878      # So say no if there are warnings
   10879      if test -s conftest.err; then
   10880        # Append any errors to the config.log.
   10881        cat conftest.err 1>&5
   10882        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10883        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10884        if diff conftest.exp conftest.er2 >/dev/null; then
   10885          lt_cv_prog_compiler__b=yes
   10886        fi
   10887      else
   10888        lt_cv_prog_compiler__b=yes
   10889      fi
   10890    fi
   10891    $RM -r conftest*
   10892    LDFLAGS=$save_LDFLAGS
   10893 
   10894 fi
   10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10896 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10897 
   10898 if test yes = "$lt_cv_prog_compiler__b"; then
   10899     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10900 else
   10901     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10902 fi
   10903 
   10904 	  ;;
   10905 	esac
   10906       fi
   10907       if test no = "$with_gnu_ld"; then
   10908 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10909 	hardcode_libdir_separator=:
   10910 
   10911 	case $host_cpu in
   10912 	hppa*64*|ia64*)
   10913 	  hardcode_direct=no
   10914 	  hardcode_shlibpath_var=no
   10915 	  ;;
   10916 	*)
   10917 	  hardcode_direct=yes
   10918 	  hardcode_direct_absolute=yes
   10919 	  export_dynamic_flag_spec='$wl-E'
   10920 
   10921 	  # hardcode_minus_L: Not really in the search PATH,
   10922 	  # but as the default location of the library.
   10923 	  hardcode_minus_L=yes
   10924 	  ;;
   10925 	esac
   10926       fi
   10927       ;;
   10928 
   10929     irix5* | irix6* | nonstopux*)
   10930       if test yes = "$GCC"; then
   10931 	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'
   10932 	# Try to use the -exported_symbol ld option, if it does not
   10933 	# work, assume that -exports_file does not work either and
   10934 	# implicitly export all symbols.
   10935 	# This should be the same for all languages, so no per-tag cache variable.
   10936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10937 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10938 if test ${lt_cv_irix_exported_symbol+y}
   10939 then :
   10940   printf %s "(cached) " >&6
   10941 else $as_nop
   10942   save_LDFLAGS=$LDFLAGS
   10943 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10944 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10945 /* end confdefs.h.  */
   10946 int foo (void) { return 0; }
   10947 _ACEOF
   10948 if ac_fn_c_try_link "$LINENO"
   10949 then :
   10950   lt_cv_irix_exported_symbol=yes
   10951 else $as_nop
   10952   lt_cv_irix_exported_symbol=no
   10953 fi
   10954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10955     conftest$ac_exeext conftest.$ac_ext
   10956            LDFLAGS=$save_LDFLAGS
   10957 fi
   10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10959 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10960 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10961           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'
   10962 	fi
   10963       else
   10964 	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'
   10965 	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'
   10966       fi
   10967       archive_cmds_need_lc='no'
   10968       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10969       hardcode_libdir_separator=:
   10970       inherit_rpath=yes
   10971       link_all_deplibs=yes
   10972       ;;
   10973 
   10974     linux*)
   10975       case $cc_basename in
   10976       tcc*)
   10977 	# Fabrice Bellard et al's Tiny C Compiler
   10978 	ld_shlibs=yes
   10979 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10980 	;;
   10981       esac
   10982       ;;
   10983 
   10984     netbsd*)
   10985       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10986 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10987       else
   10988 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10989       fi
   10990       hardcode_libdir_flag_spec='-R$libdir'
   10991       hardcode_direct=yes
   10992       hardcode_shlibpath_var=no
   10993       ;;
   10994 
   10995     newsos6)
   10996       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10997       hardcode_direct=yes
   10998       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10999       hardcode_libdir_separator=:
   11000       hardcode_shlibpath_var=no
   11001       ;;
   11002 
   11003     *nto* | *qnx*)
   11004       ;;
   11005 
   11006     openbsd* | bitrig*)
   11007       if test -f /usr/libexec/ld.so; then
   11008 	hardcode_direct=yes
   11009 	hardcode_shlibpath_var=no
   11010 	hardcode_direct_absolute=yes
   11011 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11012 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11013 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11014 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11015 	  export_dynamic_flag_spec='$wl-E'
   11016 	else
   11017 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11018 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11019 	fi
   11020       else
   11021 	ld_shlibs=no
   11022       fi
   11023       ;;
   11024 
   11025     os2*)
   11026       hardcode_libdir_flag_spec='-L$libdir'
   11027       hardcode_minus_L=yes
   11028       allow_undefined_flag=unsupported
   11029       shrext_cmds=.dll
   11030       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11031 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11032 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11033 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11034 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11035 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11036 	emximp -o $lib $output_objdir/$libname.def'
   11037       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11038 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11039 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11040 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11041 	prefix_cmds="$SED"~
   11042 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11043 	  prefix_cmds="$prefix_cmds -e 1d";
   11044 	fi~
   11045 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11046 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11047 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11048 	emximp -o $lib $output_objdir/$libname.def'
   11049       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11050       enable_shared_with_static_runtimes=yes
   11051       file_list_spec='@'
   11052       ;;
   11053 
   11054     osf3*)
   11055       if test yes = "$GCC"; then
   11056 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11057 	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'
   11058       else
   11059 	allow_undefined_flag=' -expect_unresolved \*'
   11060 	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'
   11061       fi
   11062       archive_cmds_need_lc='no'
   11063       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11064       hardcode_libdir_separator=:
   11065       ;;
   11066 
   11067     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11068       if test yes = "$GCC"; then
   11069 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11070 	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'
   11071 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11072       else
   11073 	allow_undefined_flag=' -expect_unresolved \*'
   11074 	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'
   11075 	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~
   11076           $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'
   11077 
   11078 	# Both c and cxx compiler support -rpath directly
   11079 	hardcode_libdir_flag_spec='-rpath $libdir'
   11080       fi
   11081       archive_cmds_need_lc='no'
   11082       hardcode_libdir_separator=:
   11083       ;;
   11084 
   11085     solaris*)
   11086       no_undefined_flag=' -z defs'
   11087       if test yes = "$GCC"; then
   11088 	wlarc='$wl'
   11089 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11090 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11091           $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'
   11092       else
   11093 	case `$CC -V 2>&1` in
   11094 	*"Compilers 5.0"*)
   11095 	  wlarc=''
   11096 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11097 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11098             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11099 	  ;;
   11100 	*)
   11101 	  wlarc='$wl'
   11102 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11103 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11104             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11105 	  ;;
   11106 	esac
   11107       fi
   11108       hardcode_libdir_flag_spec='-R$libdir'
   11109       hardcode_shlibpath_var=no
   11110       case $host_os in
   11111       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11112       *)
   11113 	# The compiler driver will combine and reorder linker options,
   11114 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11115 	# but is careful enough not to reorder.
   11116 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11117 	if test yes = "$GCC"; then
   11118 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11119 	else
   11120 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11121 	fi
   11122 	;;
   11123       esac
   11124       link_all_deplibs=yes
   11125       ;;
   11126 
   11127     sunos4*)
   11128       if test sequent = "$host_vendor"; then
   11129 	# Use $CC to link under sequent, because it throws in some extra .o
   11130 	# files that make .init and .fini sections work.
   11131 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11132       else
   11133 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11134       fi
   11135       hardcode_libdir_flag_spec='-L$libdir'
   11136       hardcode_direct=yes
   11137       hardcode_minus_L=yes
   11138       hardcode_shlibpath_var=no
   11139       ;;
   11140 
   11141     sysv4)
   11142       case $host_vendor in
   11143 	sni)
   11144 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11145 	  hardcode_direct=yes # is this really true???
   11146 	;;
   11147 	siemens)
   11148 	  ## LD is ld it makes a PLAMLIB
   11149 	  ## CC just makes a GrossModule.
   11150 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11151 	  reload_cmds='$CC -r -o $output$reload_objs'
   11152 	  hardcode_direct=no
   11153         ;;
   11154 	motorola)
   11155 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11156 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11157 	;;
   11158       esac
   11159       runpath_var='LD_RUN_PATH'
   11160       hardcode_shlibpath_var=no
   11161       ;;
   11162 
   11163     sysv4.3*)
   11164       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11165       hardcode_shlibpath_var=no
   11166       export_dynamic_flag_spec='-Bexport'
   11167       ;;
   11168 
   11169     sysv4*MP*)
   11170       if test -d /usr/nec; then
   11171 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11172 	hardcode_shlibpath_var=no
   11173 	runpath_var=LD_RUN_PATH
   11174 	hardcode_runpath_var=yes
   11175 	ld_shlibs=yes
   11176       fi
   11177       ;;
   11178 
   11179     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11180       no_undefined_flag='$wl-z,text'
   11181       archive_cmds_need_lc=no
   11182       hardcode_shlibpath_var=no
   11183       runpath_var='LD_RUN_PATH'
   11184 
   11185       if test yes = "$GCC"; then
   11186 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11187 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11188       else
   11189 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11190 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11191       fi
   11192       ;;
   11193 
   11194     sysv5* | sco3.2v5* | sco5v6*)
   11195       # Note: We CANNOT use -z defs as we might desire, because we do not
   11196       # link with -lc, and that would cause any symbols used from libc to
   11197       # always be unresolved, which means just about no library would
   11198       # ever link correctly.  If we're not using GNU ld we use -z text
   11199       # though, which does catch some bad symbols but isn't as heavy-handed
   11200       # as -z defs.
   11201       no_undefined_flag='$wl-z,text'
   11202       allow_undefined_flag='$wl-z,nodefs'
   11203       archive_cmds_need_lc=no
   11204       hardcode_shlibpath_var=no
   11205       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11206       hardcode_libdir_separator=':'
   11207       link_all_deplibs=yes
   11208       export_dynamic_flag_spec='$wl-Bexport'
   11209       runpath_var='LD_RUN_PATH'
   11210 
   11211       if test yes = "$GCC"; then
   11212 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11213 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11214       else
   11215 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11216 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11217       fi
   11218       ;;
   11219 
   11220     uts4*)
   11221       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11222       hardcode_libdir_flag_spec='-L$libdir'
   11223       hardcode_shlibpath_var=no
   11224       ;;
   11225 
   11226     *)
   11227       ld_shlibs=no
   11228       ;;
   11229     esac
   11230 
   11231     if test sni = "$host_vendor"; then
   11232       case $host in
   11233       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11234 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11235 	;;
   11236       esac
   11237     fi
   11238   fi
   11239 
   11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11241 printf "%s\n" "$ld_shlibs" >&6; }
   11242 test no = "$ld_shlibs" && can_build_shared=no
   11243 
   11244 with_gnu_ld=$with_gnu_ld
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 #
   11261 # Do we need to explicitly link libc?
   11262 #
   11263 case "x$archive_cmds_need_lc" in
   11264 x|xyes)
   11265   # Assume -lc should be added
   11266   archive_cmds_need_lc=yes
   11267 
   11268   if test yes,yes = "$GCC,$enable_shared"; then
   11269     case $archive_cmds in
   11270     *'~'*)
   11271       # FIXME: we may have to deal with multi-command sequences.
   11272       ;;
   11273     '$CC '*)
   11274       # Test whether the compiler implicitly links with -lc since on some
   11275       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11276       # to ld, don't add -lc before -lgcc.
   11277       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11278 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11279 if test ${lt_cv_archive_cmds_need_lc+y}
   11280 then :
   11281   printf %s "(cached) " >&6
   11282 else $as_nop
   11283   $RM conftest*
   11284 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11285 
   11286 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11287   (eval $ac_compile) 2>&5
   11288   ac_status=$?
   11289   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11290   test $ac_status = 0; } 2>conftest.err; then
   11291 	  soname=conftest
   11292 	  lib=conftest
   11293 	  libobjs=conftest.$ac_objext
   11294 	  deplibs=
   11295 	  wl=$lt_prog_compiler_wl
   11296 	  pic_flag=$lt_prog_compiler_pic
   11297 	  compiler_flags=-v
   11298 	  linker_flags=-v
   11299 	  verstring=
   11300 	  output_objdir=.
   11301 	  libname=conftest
   11302 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11303 	  allow_undefined_flag=
   11304 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11305   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11306   ac_status=$?
   11307   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11308   test $ac_status = 0; }
   11309 	  then
   11310 	    lt_cv_archive_cmds_need_lc=no
   11311 	  else
   11312 	    lt_cv_archive_cmds_need_lc=yes
   11313 	  fi
   11314 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11315 	else
   11316 	  cat conftest.err 1>&5
   11317 	fi
   11318 	$RM conftest*
   11319 
   11320 fi
   11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11322 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11323       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11324       ;;
   11325     esac
   11326   fi
   11327   ;;
   11328 esac
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11482 printf %s "checking dynamic linker characteristics... " >&6; }
   11483 
   11484 if test yes = "$GCC"; then
   11485   case $host_os in
   11486     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11487     *) lt_awk_arg='/^libraries:/' ;;
   11488   esac
   11489   case $host_os in
   11490     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11491     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11492   esac
   11493   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11494   case $lt_search_path_spec in
   11495   *\;*)
   11496     # if the path contains ";" then we assume it to be the separator
   11497     # otherwise default to the standard path separator (i.e. ":") - it is
   11498     # assumed that no part of a normal pathname contains ";" but that should
   11499     # okay in the real world where ";" in dirpaths is itself problematic.
   11500     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11501     ;;
   11502   *)
   11503     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11504     ;;
   11505   esac
   11506   # Ok, now we have the path, separated by spaces, we can step through it
   11507   # and add multilib dir if necessary...
   11508   lt_tmp_lt_search_path_spec=
   11509   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11510   # ...but if some path component already ends with the multilib dir we assume
   11511   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11512   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11513   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11514     lt_multi_os_dir=
   11515     ;;
   11516   esac
   11517   for lt_sys_path in $lt_search_path_spec; do
   11518     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11519       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11520     elif test -n "$lt_multi_os_dir"; then
   11521       test -d "$lt_sys_path" && \
   11522 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11523     fi
   11524   done
   11525   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11526 BEGIN {RS = " "; FS = "/|\n";} {
   11527   lt_foo = "";
   11528   lt_count = 0;
   11529   for (lt_i = NF; lt_i > 0; lt_i--) {
   11530     if ($lt_i != "" && $lt_i != ".") {
   11531       if ($lt_i == "..") {
   11532         lt_count++;
   11533       } else {
   11534         if (lt_count == 0) {
   11535           lt_foo = "/" $lt_i lt_foo;
   11536         } else {
   11537           lt_count--;
   11538         }
   11539       }
   11540     }
   11541   }
   11542   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11543   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11544 }'`
   11545   # AWK program above erroneously prepends '/' to C:/dos/paths
   11546   # for these hosts.
   11547   case $host_os in
   11548     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11549       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11550   esac
   11551   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11552 else
   11553   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11554 fi
   11555 library_names_spec=
   11556 libname_spec='lib$name'
   11557 soname_spec=
   11558 shrext_cmds=.so
   11559 postinstall_cmds=
   11560 postuninstall_cmds=
   11561 finish_cmds=
   11562 finish_eval=
   11563 shlibpath_var=
   11564 shlibpath_overrides_runpath=unknown
   11565 version_type=none
   11566 dynamic_linker="$host_os ld.so"
   11567 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11568 need_lib_prefix=unknown
   11569 hardcode_into_libs=no
   11570 
   11571 # when you set need_version to no, make sure it does not cause -set_version
   11572 # flags to be left without arguments
   11573 need_version=unknown
   11574 
   11575 
   11576 
   11577 case $host_os in
   11578 aix3*)
   11579   version_type=linux # correct to gnu/linux during the next big refactor
   11580   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11581   shlibpath_var=LIBPATH
   11582 
   11583   # AIX 3 has no versioning support, so we append a major version to the name.
   11584   soname_spec='$libname$release$shared_ext$major'
   11585   ;;
   11586 
   11587 aix[4-9]*)
   11588   version_type=linux # correct to gnu/linux during the next big refactor
   11589   need_lib_prefix=no
   11590   need_version=no
   11591   hardcode_into_libs=yes
   11592   if test ia64 = "$host_cpu"; then
   11593     # AIX 5 supports IA64
   11594     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11595     shlibpath_var=LD_LIBRARY_PATH
   11596   else
   11597     # With GCC up to 2.95.x, collect2 would create an import file
   11598     # for dependence libraries.  The import file would start with
   11599     # the line '#! .'.  This would cause the generated library to
   11600     # depend on '.', always an invalid library.  This was fixed in
   11601     # development snapshots of GCC prior to 3.0.
   11602     case $host_os in
   11603       aix4 | aix4.[01] | aix4.[01].*)
   11604       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11605 	   echo ' yes '
   11606 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11607 	:
   11608       else
   11609 	can_build_shared=no
   11610       fi
   11611       ;;
   11612     esac
   11613     # Using Import Files as archive members, it is possible to support
   11614     # filename-based versioning of shared library archives on AIX. While
   11615     # this would work for both with and without runtime linking, it will
   11616     # prevent static linking of such archives. So we do filename-based
   11617     # shared library versioning with .so extension only, which is used
   11618     # when both runtime linking and shared linking is enabled.
   11619     # Unfortunately, runtime linking may impact performance, so we do
   11620     # not want this to be the default eventually. Also, we use the
   11621     # versioned .so libs for executables only if there is the -brtl
   11622     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11623     # To allow for filename-based versioning support, we need to create
   11624     # libNAME.so.V as an archive file, containing:
   11625     # *) an Import File, referring to the versioned filename of the
   11626     #    archive as well as the shared archive member, telling the
   11627     #    bitwidth (32 or 64) of that shared object, and providing the
   11628     #    list of exported symbols of that shared object, eventually
   11629     #    decorated with the 'weak' keyword
   11630     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11631     #    it being seen by the linker.
   11632     # At run time we better use the real file rather than another symlink,
   11633     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11634 
   11635     case $with_aix_soname,$aix_use_runtimelinking in
   11636     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11637     # soname into executable. Probably we can add versioning support to
   11638     # collect2, so additional links can be useful in future.
   11639     aix,yes) # traditional libtool
   11640       dynamic_linker='AIX unversionable lib.so'
   11641       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11642       # instead of lib<name>.a to let people know that these are not
   11643       # typical AIX shared libraries.
   11644       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11645       ;;
   11646     aix,no) # traditional AIX only
   11647       dynamic_linker='AIX lib.a(lib.so.V)'
   11648       # We preserve .a as extension for shared libraries through AIX4.2
   11649       # and later when we are not doing run time linking.
   11650       library_names_spec='$libname$release.a $libname.a'
   11651       soname_spec='$libname$release$shared_ext$major'
   11652       ;;
   11653     svr4,*) # full svr4 only
   11654       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11655       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11656       # We do not specify a path in Import Files, so LIBPATH fires.
   11657       shlibpath_overrides_runpath=yes
   11658       ;;
   11659     *,yes) # both, prefer svr4
   11660       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11661       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11662       # unpreferred sharedlib libNAME.a needs extra handling
   11663       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"'
   11664       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"'
   11665       # We do not specify a path in Import Files, so LIBPATH fires.
   11666       shlibpath_overrides_runpath=yes
   11667       ;;
   11668     *,no) # both, prefer aix
   11669       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11670       library_names_spec='$libname$release.a $libname.a'
   11671       soname_spec='$libname$release$shared_ext$major'
   11672       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11673       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)'
   11674       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"'
   11675       ;;
   11676     esac
   11677     shlibpath_var=LIBPATH
   11678   fi
   11679   ;;
   11680 
   11681 amigaos*)
   11682   case $host_cpu in
   11683   powerpc)
   11684     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11685     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11686     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11687     ;;
   11688   m68k)
   11689     library_names_spec='$libname.ixlibrary $libname.a'
   11690     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11691     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'
   11692     ;;
   11693   esac
   11694   ;;
   11695 
   11696 beos*)
   11697   library_names_spec='$libname$shared_ext'
   11698   dynamic_linker="$host_os ld.so"
   11699   shlibpath_var=LIBRARY_PATH
   11700   ;;
   11701 
   11702 bsdi[45]*)
   11703   version_type=linux # correct to gnu/linux during the next big refactor
   11704   need_version=no
   11705   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11706   soname_spec='$libname$release$shared_ext$major'
   11707   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11708   shlibpath_var=LD_LIBRARY_PATH
   11709   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11710   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11711   # the default ld.so.conf also contains /usr/contrib/lib and
   11712   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11713   # libtool to hard-code these into programs
   11714   ;;
   11715 
   11716 cygwin* | mingw* | pw32* | cegcc*)
   11717   version_type=windows
   11718   shrext_cmds=.dll
   11719   need_version=no
   11720   need_lib_prefix=no
   11721 
   11722   case $GCC,$cc_basename in
   11723   yes,*)
   11724     # gcc
   11725     library_names_spec='$libname.dll.a'
   11726     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11727     postinstall_cmds='base_file=`basename \$file`~
   11728       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11729       dldir=$destdir/`dirname \$dlpath`~
   11730       test -d \$dldir || mkdir -p \$dldir~
   11731       $install_prog $dir/$dlname \$dldir/$dlname~
   11732       chmod a+x \$dldir/$dlname~
   11733       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11734         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11735       fi'
   11736     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11737       dlpath=$dir/\$dldll~
   11738        $RM \$dlpath'
   11739     shlibpath_overrides_runpath=yes
   11740 
   11741     case $host_os in
   11742     cygwin*)
   11743       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11744       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11745 
   11746       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11747       ;;
   11748     mingw* | cegcc*)
   11749       # MinGW DLLs use traditional 'lib' prefix
   11750       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11751       ;;
   11752     pw32*)
   11753       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11754       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11755       ;;
   11756     esac
   11757     dynamic_linker='Win32 ld.exe'
   11758     ;;
   11759 
   11760   *,cl* | *,icl*)
   11761     # Native MSVC or ICC
   11762     libname_spec='$name'
   11763     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11764     library_names_spec='$libname.dll.lib'
   11765 
   11766     case $build_os in
   11767     mingw*)
   11768       sys_lib_search_path_spec=
   11769       lt_save_ifs=$IFS
   11770       IFS=';'
   11771       for lt_path in $LIB
   11772       do
   11773         IFS=$lt_save_ifs
   11774         # Let DOS variable expansion print the short 8.3 style file name.
   11775         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11776         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11777       done
   11778       IFS=$lt_save_ifs
   11779       # Convert to MSYS style.
   11780       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11781       ;;
   11782     cygwin*)
   11783       # Convert to unix form, then to dos form, then back to unix form
   11784       # but this time dos style (no spaces!) so that the unix form looks
   11785       # like /cygdrive/c/PROGRA~1:/cygdr...
   11786       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11787       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11788       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11789       ;;
   11790     *)
   11791       sys_lib_search_path_spec=$LIB
   11792       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11793         # It is most probably a Windows format PATH.
   11794         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11795       else
   11796         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11797       fi
   11798       # FIXME: find the short name or the path components, as spaces are
   11799       # common. (e.g. "Program Files" -> "PROGRA~1")
   11800       ;;
   11801     esac
   11802 
   11803     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11804     postinstall_cmds='base_file=`basename \$file`~
   11805       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11806       dldir=$destdir/`dirname \$dlpath`~
   11807       test -d \$dldir || mkdir -p \$dldir~
   11808       $install_prog $dir/$dlname \$dldir/$dlname'
   11809     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11810       dlpath=$dir/\$dldll~
   11811        $RM \$dlpath'
   11812     shlibpath_overrides_runpath=yes
   11813     dynamic_linker='Win32 link.exe'
   11814     ;;
   11815 
   11816   *)
   11817     # Assume MSVC and ICC wrapper
   11818     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11819     dynamic_linker='Win32 ld.exe'
   11820     ;;
   11821   esac
   11822   # FIXME: first we should search . and the directory the executable is in
   11823   shlibpath_var=PATH
   11824   ;;
   11825 
   11826 darwin* | rhapsody*)
   11827   dynamic_linker="$host_os dyld"
   11828   version_type=darwin
   11829   need_lib_prefix=no
   11830   need_version=no
   11831   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11832   soname_spec='$libname$release$major$shared_ext'
   11833   shlibpath_overrides_runpath=yes
   11834   shlibpath_var=DYLD_LIBRARY_PATH
   11835   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11836 
   11837   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11838   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11839   ;;
   11840 
   11841 dgux*)
   11842   version_type=linux # correct to gnu/linux during the next big refactor
   11843   need_lib_prefix=no
   11844   need_version=no
   11845   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11846   soname_spec='$libname$release$shared_ext$major'
   11847   shlibpath_var=LD_LIBRARY_PATH
   11848   ;;
   11849 
   11850 freebsd* | dragonfly* | midnightbsd*)
   11851   # DragonFly does not have aout.  When/if they implement a new
   11852   # versioning mechanism, adjust this.
   11853   if test -x /usr/bin/objformat; then
   11854     objformat=`/usr/bin/objformat`
   11855   else
   11856     case $host_os in
   11857     freebsd[23].*) objformat=aout ;;
   11858     *) objformat=elf ;;
   11859     esac
   11860   fi
   11861   version_type=freebsd-$objformat
   11862   case $version_type in
   11863     freebsd-elf*)
   11864       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11865       soname_spec='$libname$release$shared_ext$major'
   11866       need_version=no
   11867       need_lib_prefix=no
   11868       ;;
   11869     freebsd-*)
   11870       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11871       need_version=yes
   11872       ;;
   11873   esac
   11874   shlibpath_var=LD_LIBRARY_PATH
   11875   case $host_os in
   11876   freebsd2.*)
   11877     shlibpath_overrides_runpath=yes
   11878     ;;
   11879   freebsd3.[01]* | freebsdelf3.[01]*)
   11880     shlibpath_overrides_runpath=yes
   11881     hardcode_into_libs=yes
   11882     ;;
   11883   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11884   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11885     shlibpath_overrides_runpath=no
   11886     hardcode_into_libs=yes
   11887     ;;
   11888   *) # from 4.6 on, and DragonFly
   11889     shlibpath_overrides_runpath=yes
   11890     hardcode_into_libs=yes
   11891     ;;
   11892   esac
   11893   ;;
   11894 
   11895 haiku*)
   11896   version_type=linux # correct to gnu/linux during the next big refactor
   11897   need_lib_prefix=no
   11898   need_version=no
   11899   dynamic_linker="$host_os runtime_loader"
   11900   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11901   soname_spec='$libname$release$shared_ext$major'
   11902   shlibpath_var=LIBRARY_PATH
   11903   shlibpath_overrides_runpath=no
   11904   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11905   hardcode_into_libs=yes
   11906   ;;
   11907 
   11908 hpux9* | hpux10* | hpux11*)
   11909   # Give a soname corresponding to the major version so that dld.sl refuses to
   11910   # link against other versions.
   11911   version_type=sunos
   11912   need_lib_prefix=no
   11913   need_version=no
   11914   case $host_cpu in
   11915   ia64*)
   11916     shrext_cmds='.so'
   11917     hardcode_into_libs=yes
   11918     dynamic_linker="$host_os dld.so"
   11919     shlibpath_var=LD_LIBRARY_PATH
   11920     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11921     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11922     soname_spec='$libname$release$shared_ext$major'
   11923     if test 32 = "$HPUX_IA64_MODE"; then
   11924       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11925       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11926     else
   11927       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11928       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11929     fi
   11930     ;;
   11931   hppa*64*)
   11932     shrext_cmds='.sl'
   11933     hardcode_into_libs=yes
   11934     dynamic_linker="$host_os dld.sl"
   11935     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11936     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11937     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11938     soname_spec='$libname$release$shared_ext$major'
   11939     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11940     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11941     ;;
   11942   *)
   11943     shrext_cmds='.sl'
   11944     dynamic_linker="$host_os dld.sl"
   11945     shlibpath_var=SHLIB_PATH
   11946     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11947     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11948     soname_spec='$libname$release$shared_ext$major'
   11949     ;;
   11950   esac
   11951   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11952   postinstall_cmds='chmod 555 $lib'
   11953   # or fails outright, so override atomically:
   11954   install_override_mode=555
   11955   ;;
   11956 
   11957 interix[3-9]*)
   11958   version_type=linux # correct to gnu/linux during the next big refactor
   11959   need_lib_prefix=no
   11960   need_version=no
   11961   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11962   soname_spec='$libname$release$shared_ext$major'
   11963   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11964   shlibpath_var=LD_LIBRARY_PATH
   11965   shlibpath_overrides_runpath=no
   11966   hardcode_into_libs=yes
   11967   ;;
   11968 
   11969 irix5* | irix6* | nonstopux*)
   11970   case $host_os in
   11971     nonstopux*) version_type=nonstopux ;;
   11972     *)
   11973 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11974 		version_type=linux # correct to gnu/linux during the next big refactor
   11975 	else
   11976 		version_type=irix
   11977 	fi ;;
   11978   esac
   11979   need_lib_prefix=no
   11980   need_version=no
   11981   soname_spec='$libname$release$shared_ext$major'
   11982   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11983   case $host_os in
   11984   irix5* | nonstopux*)
   11985     libsuff= shlibsuff=
   11986     ;;
   11987   *)
   11988     case $LD in # libtool.m4 will add one of these switches to LD
   11989     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11990       libsuff= shlibsuff= libmagic=32-bit;;
   11991     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11992       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11993     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11994       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11995     *) libsuff= shlibsuff= libmagic=never-match;;
   11996     esac
   11997     ;;
   11998   esac
   11999   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12000   shlibpath_overrides_runpath=no
   12001   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12002   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12003   hardcode_into_libs=yes
   12004   ;;
   12005 
   12006 # No shared lib support for Linux oldld, aout, or coff.
   12007 linux*oldld* | linux*aout* | linux*coff*)
   12008   dynamic_linker=no
   12009   ;;
   12010 
   12011 linux*android*)
   12012   version_type=none # Android doesn't support versioned libraries.
   12013   need_lib_prefix=no
   12014   need_version=no
   12015   library_names_spec='$libname$release$shared_ext'
   12016   soname_spec='$libname$release$shared_ext'
   12017   finish_cmds=
   12018   shlibpath_var=LD_LIBRARY_PATH
   12019   shlibpath_overrides_runpath=yes
   12020 
   12021   # This implies no fast_install, which is unacceptable.
   12022   # Some rework will be needed to allow for fast_install
   12023   # before this can be enabled.
   12024   hardcode_into_libs=yes
   12025 
   12026   dynamic_linker='Android linker'
   12027   # Don't embed -rpath directories since the linker doesn't support them.
   12028   hardcode_libdir_flag_spec='-L$libdir'
   12029   ;;
   12030 
   12031 # This must be glibc/ELF.
   12032 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12033   version_type=linux # correct to gnu/linux during the next big refactor
   12034   need_lib_prefix=no
   12035   need_version=no
   12036   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12037   soname_spec='$libname$release$shared_ext$major'
   12038   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12039   shlibpath_var=LD_LIBRARY_PATH
   12040   shlibpath_overrides_runpath=no
   12041 
   12042   # Some binutils ld are patched to set DT_RUNPATH
   12043   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12044 then :
   12045   printf %s "(cached) " >&6
   12046 else $as_nop
   12047   lt_cv_shlibpath_overrides_runpath=no
   12048     save_LDFLAGS=$LDFLAGS
   12049     save_libdir=$libdir
   12050     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12051 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12052     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12053 /* end confdefs.h.  */
   12054 
   12055 int
   12056 main (void)
   12057 {
   12058 
   12059   ;
   12060   return 0;
   12061 }
   12062 _ACEOF
   12063 if ac_fn_c_try_link "$LINENO"
   12064 then :
   12065   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12066 then :
   12067   lt_cv_shlibpath_overrides_runpath=yes
   12068 fi
   12069 fi
   12070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12071     conftest$ac_exeext conftest.$ac_ext
   12072     LDFLAGS=$save_LDFLAGS
   12073     libdir=$save_libdir
   12074 
   12075 fi
   12076 
   12077   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12078 
   12079   # This implies no fast_install, which is unacceptable.
   12080   # Some rework will be needed to allow for fast_install
   12081   # before this can be enabled.
   12082   hardcode_into_libs=yes
   12083 
   12084   # Ideally, we could use ldconfig to report *all* directores which are
   12085   # searched for libraries, however this is still not possible.  Aside from not
   12086   # being certain /sbin/ldconfig is available, command
   12087   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12088   # even though it is searched at run-time.  Try to do the best guess by
   12089   # appending ld.so.conf contents (and includes) to the search path.
   12090   if test -f /etc/ld.so.conf; then
   12091     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' ' '`
   12092     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12093   fi
   12094 
   12095   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12096   # powerpc, because MkLinux only supported shared libraries with the
   12097   # GNU dynamic linker.  Since this was broken with cross compilers,
   12098   # most powerpc-linux boxes support dynamic linking these days and
   12099   # people can always --disable-shared, the test was removed, and we
   12100   # assume the GNU/Linux dynamic linker is in use.
   12101   dynamic_linker='GNU/Linux ld.so'
   12102   ;;
   12103 
   12104 netbsd*)
   12105   version_type=sunos
   12106   need_lib_prefix=no
   12107   need_version=no
   12108   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12109     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12110     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12111     dynamic_linker='NetBSD (a.out) ld.so'
   12112   else
   12113     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12114     soname_spec='$libname$release$shared_ext$major'
   12115     dynamic_linker='NetBSD ld.elf_so'
   12116   fi
   12117   shlibpath_var=LD_LIBRARY_PATH
   12118   shlibpath_overrides_runpath=yes
   12119   hardcode_into_libs=yes
   12120   ;;
   12121 
   12122 newsos6)
   12123   version_type=linux # correct to gnu/linux during the next big refactor
   12124   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12125   shlibpath_var=LD_LIBRARY_PATH
   12126   shlibpath_overrides_runpath=yes
   12127   ;;
   12128 
   12129 *nto* | *qnx*)
   12130   version_type=qnx
   12131   need_lib_prefix=no
   12132   need_version=no
   12133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12134   soname_spec='$libname$release$shared_ext$major'
   12135   shlibpath_var=LD_LIBRARY_PATH
   12136   shlibpath_overrides_runpath=no
   12137   hardcode_into_libs=yes
   12138   dynamic_linker='ldqnx.so'
   12139   ;;
   12140 
   12141 openbsd* | bitrig*)
   12142   version_type=sunos
   12143   sys_lib_dlsearch_path_spec=/usr/lib
   12144   need_lib_prefix=no
   12145   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12146     need_version=no
   12147   else
   12148     need_version=yes
   12149   fi
   12150   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12151   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12152   shlibpath_var=LD_LIBRARY_PATH
   12153   shlibpath_overrides_runpath=yes
   12154   ;;
   12155 
   12156 os2*)
   12157   libname_spec='$name'
   12158   version_type=windows
   12159   shrext_cmds=.dll
   12160   need_version=no
   12161   need_lib_prefix=no
   12162   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12163   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12164     v=$($ECHO $release$versuffix | tr -d .-);
   12165     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12166     $ECHO $n$v`$shared_ext'
   12167   library_names_spec='${libname}_dll.$libext'
   12168   dynamic_linker='OS/2 ld.exe'
   12169   shlibpath_var=BEGINLIBPATH
   12170   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12171   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12172   postinstall_cmds='base_file=`basename \$file`~
   12173     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12174     dldir=$destdir/`dirname \$dlpath`~
   12175     test -d \$dldir || mkdir -p \$dldir~
   12176     $install_prog $dir/$dlname \$dldir/$dlname~
   12177     chmod a+x \$dldir/$dlname~
   12178     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12179       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12180     fi'
   12181   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12182     dlpath=$dir/\$dldll~
   12183     $RM \$dlpath'
   12184   ;;
   12185 
   12186 osf3* | osf4* | osf5*)
   12187   version_type=osf
   12188   need_lib_prefix=no
   12189   need_version=no
   12190   soname_spec='$libname$release$shared_ext$major'
   12191   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12192   shlibpath_var=LD_LIBRARY_PATH
   12193   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12194   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12195   ;;
   12196 
   12197 rdos*)
   12198   dynamic_linker=no
   12199   ;;
   12200 
   12201 solaris*)
   12202   version_type=linux # correct to gnu/linux during the next big refactor
   12203   need_lib_prefix=no
   12204   need_version=no
   12205   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12206   soname_spec='$libname$release$shared_ext$major'
   12207   shlibpath_var=LD_LIBRARY_PATH
   12208   shlibpath_overrides_runpath=yes
   12209   hardcode_into_libs=yes
   12210   # ldd complains unless libraries are executable
   12211   postinstall_cmds='chmod +x $lib'
   12212   ;;
   12213 
   12214 sunos4*)
   12215   version_type=sunos
   12216   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12217   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12218   shlibpath_var=LD_LIBRARY_PATH
   12219   shlibpath_overrides_runpath=yes
   12220   if test yes = "$with_gnu_ld"; then
   12221     need_lib_prefix=no
   12222   fi
   12223   need_version=yes
   12224   ;;
   12225 
   12226 sysv4 | sysv4.3*)
   12227   version_type=linux # correct to gnu/linux during the next big refactor
   12228   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12229   soname_spec='$libname$release$shared_ext$major'
   12230   shlibpath_var=LD_LIBRARY_PATH
   12231   case $host_vendor in
   12232     sni)
   12233       shlibpath_overrides_runpath=no
   12234       need_lib_prefix=no
   12235       runpath_var=LD_RUN_PATH
   12236       ;;
   12237     siemens)
   12238       need_lib_prefix=no
   12239       ;;
   12240     motorola)
   12241       need_lib_prefix=no
   12242       need_version=no
   12243       shlibpath_overrides_runpath=no
   12244       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12245       ;;
   12246   esac
   12247   ;;
   12248 
   12249 sysv4*MP*)
   12250   if test -d /usr/nec; then
   12251     version_type=linux # correct to gnu/linux during the next big refactor
   12252     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12253     soname_spec='$libname$shared_ext.$major'
   12254     shlibpath_var=LD_LIBRARY_PATH
   12255   fi
   12256   ;;
   12257 
   12258 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12259   version_type=sco
   12260   need_lib_prefix=no
   12261   need_version=no
   12262   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12263   soname_spec='$libname$release$shared_ext$major'
   12264   shlibpath_var=LD_LIBRARY_PATH
   12265   shlibpath_overrides_runpath=yes
   12266   hardcode_into_libs=yes
   12267   if test yes = "$with_gnu_ld"; then
   12268     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12269   else
   12270     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12271     case $host_os in
   12272       sco3.2v5*)
   12273         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12274 	;;
   12275     esac
   12276   fi
   12277   sys_lib_dlsearch_path_spec='/usr/lib'
   12278   ;;
   12279 
   12280 tpf*)
   12281   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12282   version_type=linux # correct to gnu/linux during the next big refactor
   12283   need_lib_prefix=no
   12284   need_version=no
   12285   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12286   shlibpath_var=LD_LIBRARY_PATH
   12287   shlibpath_overrides_runpath=no
   12288   hardcode_into_libs=yes
   12289   ;;
   12290 
   12291 uts4*)
   12292   version_type=linux # correct to gnu/linux during the next big refactor
   12293   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12294   soname_spec='$libname$release$shared_ext$major'
   12295   shlibpath_var=LD_LIBRARY_PATH
   12296   ;;
   12297 
   12298 *)
   12299   dynamic_linker=no
   12300   ;;
   12301 esac
   12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12303 printf "%s\n" "$dynamic_linker" >&6; }
   12304 test no = "$dynamic_linker" && can_build_shared=no
   12305 
   12306 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12307 if test yes = "$GCC"; then
   12308   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12309 fi
   12310 
   12311 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12312   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12313 fi
   12314 
   12315 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12316   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12317 fi
   12318 
   12319 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12320 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12321 
   12322 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12323 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12324 
   12325 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12326 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12425 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12426 hardcode_action=
   12427 if test -n "$hardcode_libdir_flag_spec" ||
   12428    test -n "$runpath_var" ||
   12429    test yes = "$hardcode_automatic"; then
   12430 
   12431   # We can hardcode non-existent directories.
   12432   if test no != "$hardcode_direct" &&
   12433      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12434      # have to relink, otherwise we might link with an installed library
   12435      # when we should be linking with a yet-to-be-installed one
   12436      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12437      test no != "$hardcode_minus_L"; then
   12438     # Linking always hardcodes the temporary library directory.
   12439     hardcode_action=relink
   12440   else
   12441     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12442     hardcode_action=immediate
   12443   fi
   12444 else
   12445   # We cannot hardcode anything, or else we can only hardcode existing
   12446   # directories.
   12447   hardcode_action=unsupported
   12448 fi
   12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12450 printf "%s\n" "$hardcode_action" >&6; }
   12451 
   12452 if test relink = "$hardcode_action" ||
   12453    test yes = "$inherit_rpath"; then
   12454   # Fast installation is not supported
   12455   enable_fast_install=no
   12456 elif test yes = "$shlibpath_overrides_runpath" ||
   12457      test no = "$enable_shared"; then
   12458   # Fast installation is not necessary
   12459   enable_fast_install=needless
   12460 fi
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467   if test yes != "$enable_dlopen"; then
   12468   enable_dlopen=unknown
   12469   enable_dlopen_self=unknown
   12470   enable_dlopen_self_static=unknown
   12471 else
   12472   lt_cv_dlopen=no
   12473   lt_cv_dlopen_libs=
   12474 
   12475   case $host_os in
   12476   beos*)
   12477     lt_cv_dlopen=load_add_on
   12478     lt_cv_dlopen_libs=
   12479     lt_cv_dlopen_self=yes
   12480     ;;
   12481 
   12482   mingw* | pw32* | cegcc*)
   12483     lt_cv_dlopen=LoadLibrary
   12484     lt_cv_dlopen_libs=
   12485     ;;
   12486 
   12487   cygwin*)
   12488     lt_cv_dlopen=dlopen
   12489     lt_cv_dlopen_libs=
   12490     ;;
   12491 
   12492   darwin*)
   12493     # if libdl is installed we need to link against it
   12494     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12495 printf %s "checking for dlopen in -ldl... " >&6; }
   12496 if test ${ac_cv_lib_dl_dlopen+y}
   12497 then :
   12498   printf %s "(cached) " >&6
   12499 else $as_nop
   12500   ac_check_lib_save_LIBS=$LIBS
   12501 LIBS="-ldl  $LIBS"
   12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12503 /* end confdefs.h.  */
   12504 
   12505 /* Override any GCC internal prototype to avoid an error.
   12506    Use char because int might match the return type of a GCC
   12507    builtin and then its argument prototype would still apply.  */
   12508 char dlopen ();
   12509 int
   12510 main (void)
   12511 {
   12512 return dlopen ();
   12513   ;
   12514   return 0;
   12515 }
   12516 _ACEOF
   12517 if ac_fn_c_try_link "$LINENO"
   12518 then :
   12519   ac_cv_lib_dl_dlopen=yes
   12520 else $as_nop
   12521   ac_cv_lib_dl_dlopen=no
   12522 fi
   12523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12524     conftest$ac_exeext conftest.$ac_ext
   12525 LIBS=$ac_check_lib_save_LIBS
   12526 fi
   12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12528 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12529 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12530 then :
   12531   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12532 else $as_nop
   12533 
   12534     lt_cv_dlopen=dyld
   12535     lt_cv_dlopen_libs=
   12536     lt_cv_dlopen_self=yes
   12537 
   12538 fi
   12539 
   12540     ;;
   12541 
   12542   tpf*)
   12543     # Don't try to run any link tests for TPF.  We know it's impossible
   12544     # because TPF is a cross-compiler, and we know how we open DSOs.
   12545     lt_cv_dlopen=dlopen
   12546     lt_cv_dlopen_libs=
   12547     lt_cv_dlopen_self=no
   12548     ;;
   12549 
   12550   *)
   12551     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12552 if test "x$ac_cv_func_shl_load" = xyes
   12553 then :
   12554   lt_cv_dlopen=shl_load
   12555 else $as_nop
   12556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12557 printf %s "checking for shl_load in -ldld... " >&6; }
   12558 if test ${ac_cv_lib_dld_shl_load+y}
   12559 then :
   12560   printf %s "(cached) " >&6
   12561 else $as_nop
   12562   ac_check_lib_save_LIBS=$LIBS
   12563 LIBS="-ldld  $LIBS"
   12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12565 /* end confdefs.h.  */
   12566 
   12567 /* Override any GCC internal prototype to avoid an error.
   12568    Use char because int might match the return type of a GCC
   12569    builtin and then its argument prototype would still apply.  */
   12570 char shl_load ();
   12571 int
   12572 main (void)
   12573 {
   12574 return shl_load ();
   12575   ;
   12576   return 0;
   12577 }
   12578 _ACEOF
   12579 if ac_fn_c_try_link "$LINENO"
   12580 then :
   12581   ac_cv_lib_dld_shl_load=yes
   12582 else $as_nop
   12583   ac_cv_lib_dld_shl_load=no
   12584 fi
   12585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12586     conftest$ac_exeext conftest.$ac_ext
   12587 LIBS=$ac_check_lib_save_LIBS
   12588 fi
   12589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12590 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12591 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12592 then :
   12593   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12594 else $as_nop
   12595   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12596 if test "x$ac_cv_func_dlopen" = xyes
   12597 then :
   12598   lt_cv_dlopen=dlopen
   12599 else $as_nop
   12600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12601 printf %s "checking for dlopen in -ldl... " >&6; }
   12602 if test ${ac_cv_lib_dl_dlopen+y}
   12603 then :
   12604   printf %s "(cached) " >&6
   12605 else $as_nop
   12606   ac_check_lib_save_LIBS=$LIBS
   12607 LIBS="-ldl  $LIBS"
   12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12609 /* end confdefs.h.  */
   12610 
   12611 /* Override any GCC internal prototype to avoid an error.
   12612    Use char because int might match the return type of a GCC
   12613    builtin and then its argument prototype would still apply.  */
   12614 char dlopen ();
   12615 int
   12616 main (void)
   12617 {
   12618 return dlopen ();
   12619   ;
   12620   return 0;
   12621 }
   12622 _ACEOF
   12623 if ac_fn_c_try_link "$LINENO"
   12624 then :
   12625   ac_cv_lib_dl_dlopen=yes
   12626 else $as_nop
   12627   ac_cv_lib_dl_dlopen=no
   12628 fi
   12629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12630     conftest$ac_exeext conftest.$ac_ext
   12631 LIBS=$ac_check_lib_save_LIBS
   12632 fi
   12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12634 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12635 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12636 then :
   12637   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12638 else $as_nop
   12639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12640 printf %s "checking for dlopen in -lsvld... " >&6; }
   12641 if test ${ac_cv_lib_svld_dlopen+y}
   12642 then :
   12643   printf %s "(cached) " >&6
   12644 else $as_nop
   12645   ac_check_lib_save_LIBS=$LIBS
   12646 LIBS="-lsvld  $LIBS"
   12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12648 /* end confdefs.h.  */
   12649 
   12650 /* Override any GCC internal prototype to avoid an error.
   12651    Use char because int might match the return type of a GCC
   12652    builtin and then its argument prototype would still apply.  */
   12653 char dlopen ();
   12654 int
   12655 main (void)
   12656 {
   12657 return dlopen ();
   12658   ;
   12659   return 0;
   12660 }
   12661 _ACEOF
   12662 if ac_fn_c_try_link "$LINENO"
   12663 then :
   12664   ac_cv_lib_svld_dlopen=yes
   12665 else $as_nop
   12666   ac_cv_lib_svld_dlopen=no
   12667 fi
   12668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12669     conftest$ac_exeext conftest.$ac_ext
   12670 LIBS=$ac_check_lib_save_LIBS
   12671 fi
   12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12673 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12674 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12675 then :
   12676   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12677 else $as_nop
   12678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12679 printf %s "checking for dld_link in -ldld... " >&6; }
   12680 if test ${ac_cv_lib_dld_dld_link+y}
   12681 then :
   12682   printf %s "(cached) " >&6
   12683 else $as_nop
   12684   ac_check_lib_save_LIBS=$LIBS
   12685 LIBS="-ldld  $LIBS"
   12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12687 /* end confdefs.h.  */
   12688 
   12689 /* Override any GCC internal prototype to avoid an error.
   12690    Use char because int might match the return type of a GCC
   12691    builtin and then its argument prototype would still apply.  */
   12692 char dld_link ();
   12693 int
   12694 main (void)
   12695 {
   12696 return dld_link ();
   12697   ;
   12698   return 0;
   12699 }
   12700 _ACEOF
   12701 if ac_fn_c_try_link "$LINENO"
   12702 then :
   12703   ac_cv_lib_dld_dld_link=yes
   12704 else $as_nop
   12705   ac_cv_lib_dld_dld_link=no
   12706 fi
   12707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12708     conftest$ac_exeext conftest.$ac_ext
   12709 LIBS=$ac_check_lib_save_LIBS
   12710 fi
   12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12712 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12713 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12714 then :
   12715   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12716 fi
   12717 
   12718 
   12719 fi
   12720 
   12721 
   12722 fi
   12723 
   12724 
   12725 fi
   12726 
   12727 
   12728 fi
   12729 
   12730 
   12731 fi
   12732 
   12733     ;;
   12734   esac
   12735 
   12736   if test no = "$lt_cv_dlopen"; then
   12737     enable_dlopen=no
   12738   else
   12739     enable_dlopen=yes
   12740   fi
   12741 
   12742   case $lt_cv_dlopen in
   12743   dlopen)
   12744     save_CPPFLAGS=$CPPFLAGS
   12745     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12746 
   12747     save_LDFLAGS=$LDFLAGS
   12748     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12749 
   12750     save_LIBS=$LIBS
   12751     LIBS="$lt_cv_dlopen_libs $LIBS"
   12752 
   12753     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12754 printf %s "checking whether a program can dlopen itself... " >&6; }
   12755 if test ${lt_cv_dlopen_self+y}
   12756 then :
   12757   printf %s "(cached) " >&6
   12758 else $as_nop
   12759   	  if test yes = "$cross_compiling"; then :
   12760   lt_cv_dlopen_self=cross
   12761 else
   12762   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12763   lt_status=$lt_dlunknown
   12764   cat > conftest.$ac_ext <<_LT_EOF
   12765 #line $LINENO "configure"
   12766 #include "confdefs.h"
   12767 
   12768 #if HAVE_DLFCN_H
   12769 #include <dlfcn.h>
   12770 #endif
   12771 
   12772 #include <stdio.h>
   12773 
   12774 #ifdef RTLD_GLOBAL
   12775 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12776 #else
   12777 #  ifdef DL_GLOBAL
   12778 #    define LT_DLGLOBAL		DL_GLOBAL
   12779 #  else
   12780 #    define LT_DLGLOBAL		0
   12781 #  endif
   12782 #endif
   12783 
   12784 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12785    find out it does not work in some platform. */
   12786 #ifndef LT_DLLAZY_OR_NOW
   12787 #  ifdef RTLD_LAZY
   12788 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12789 #  else
   12790 #    ifdef DL_LAZY
   12791 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12792 #    else
   12793 #      ifdef RTLD_NOW
   12794 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12795 #      else
   12796 #        ifdef DL_NOW
   12797 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12798 #        else
   12799 #          define LT_DLLAZY_OR_NOW	0
   12800 #        endif
   12801 #      endif
   12802 #    endif
   12803 #  endif
   12804 #endif
   12805 
   12806 /* When -fvisibility=hidden is used, assume the code has been annotated
   12807    correspondingly for the symbols needed.  */
   12808 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12809 int fnord () __attribute__((visibility("default")));
   12810 #endif
   12811 
   12812 int fnord () { return 42; }
   12813 int main ()
   12814 {
   12815   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12816   int status = $lt_dlunknown;
   12817 
   12818   if (self)
   12819     {
   12820       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12821       else
   12822         {
   12823 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12824           else puts (dlerror ());
   12825 	}
   12826       /* dlclose (self); */
   12827     }
   12828   else
   12829     puts (dlerror ());
   12830 
   12831   return status;
   12832 }
   12833 _LT_EOF
   12834   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12835   (eval $ac_link) 2>&5
   12836   ac_status=$?
   12837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12838   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12839     (./conftest; exit; ) >&5 2>/dev/null
   12840     lt_status=$?
   12841     case x$lt_status in
   12842       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12843       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12844       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12845     esac
   12846   else :
   12847     # compilation failed
   12848     lt_cv_dlopen_self=no
   12849   fi
   12850 fi
   12851 rm -fr conftest*
   12852 
   12853 
   12854 fi
   12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12856 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12857 
   12858     if test yes = "$lt_cv_dlopen_self"; then
   12859       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12860       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12861 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12862 if test ${lt_cv_dlopen_self_static+y}
   12863 then :
   12864   printf %s "(cached) " >&6
   12865 else $as_nop
   12866   	  if test yes = "$cross_compiling"; then :
   12867   lt_cv_dlopen_self_static=cross
   12868 else
   12869   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12870   lt_status=$lt_dlunknown
   12871   cat > conftest.$ac_ext <<_LT_EOF
   12872 #line $LINENO "configure"
   12873 #include "confdefs.h"
   12874 
   12875 #if HAVE_DLFCN_H
   12876 #include <dlfcn.h>
   12877 #endif
   12878 
   12879 #include <stdio.h>
   12880 
   12881 #ifdef RTLD_GLOBAL
   12882 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12883 #else
   12884 #  ifdef DL_GLOBAL
   12885 #    define LT_DLGLOBAL		DL_GLOBAL
   12886 #  else
   12887 #    define LT_DLGLOBAL		0
   12888 #  endif
   12889 #endif
   12890 
   12891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12892    find out it does not work in some platform. */
   12893 #ifndef LT_DLLAZY_OR_NOW
   12894 #  ifdef RTLD_LAZY
   12895 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12896 #  else
   12897 #    ifdef DL_LAZY
   12898 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12899 #    else
   12900 #      ifdef RTLD_NOW
   12901 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12902 #      else
   12903 #        ifdef DL_NOW
   12904 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12905 #        else
   12906 #          define LT_DLLAZY_OR_NOW	0
   12907 #        endif
   12908 #      endif
   12909 #    endif
   12910 #  endif
   12911 #endif
   12912 
   12913 /* When -fvisibility=hidden is used, assume the code has been annotated
   12914    correspondingly for the symbols needed.  */
   12915 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12916 int fnord () __attribute__((visibility("default")));
   12917 #endif
   12918 
   12919 int fnord () { return 42; }
   12920 int main ()
   12921 {
   12922   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12923   int status = $lt_dlunknown;
   12924 
   12925   if (self)
   12926     {
   12927       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12928       else
   12929         {
   12930 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12931           else puts (dlerror ());
   12932 	}
   12933       /* dlclose (self); */
   12934     }
   12935   else
   12936     puts (dlerror ());
   12937 
   12938   return status;
   12939 }
   12940 _LT_EOF
   12941   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12942   (eval $ac_link) 2>&5
   12943   ac_status=$?
   12944   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12945   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12946     (./conftest; exit; ) >&5 2>/dev/null
   12947     lt_status=$?
   12948     case x$lt_status in
   12949       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12950       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12951       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12952     esac
   12953   else :
   12954     # compilation failed
   12955     lt_cv_dlopen_self_static=no
   12956   fi
   12957 fi
   12958 rm -fr conftest*
   12959 
   12960 
   12961 fi
   12962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12963 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12964     fi
   12965 
   12966     CPPFLAGS=$save_CPPFLAGS
   12967     LDFLAGS=$save_LDFLAGS
   12968     LIBS=$save_LIBS
   12969     ;;
   12970   esac
   12971 
   12972   case $lt_cv_dlopen_self in
   12973   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12974   *) enable_dlopen_self=unknown ;;
   12975   esac
   12976 
   12977   case $lt_cv_dlopen_self_static in
   12978   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12979   *) enable_dlopen_self_static=unknown ;;
   12980   esac
   12981 fi
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 striplib=
   13000 old_striplib=
   13001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13002 printf %s "checking whether stripping libraries is possible... " >&6; }
   13003 if test -z "$STRIP"; then
   13004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13005 printf "%s\n" "no" >&6; }
   13006 else
   13007   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13008     old_striplib="$STRIP --strip-debug"
   13009     striplib="$STRIP --strip-unneeded"
   13010     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13011 printf "%s\n" "yes" >&6; }
   13012   else
   13013     case $host_os in
   13014     darwin*)
   13015       # FIXME - insert some real tests, host_os isn't really good enough
   13016       striplib="$STRIP -x"
   13017       old_striplib="$STRIP -S"
   13018       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13019 printf "%s\n" "yes" >&6; }
   13020       ;;
   13021     freebsd*)
   13022       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13023         old_striplib="$STRIP --strip-debug"
   13024         striplib="$STRIP --strip-unneeded"
   13025         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13026 printf "%s\n" "yes" >&6; }
   13027       else
   13028         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13029 printf "%s\n" "no" >&6; }
   13030       fi
   13031       ;;
   13032     *)
   13033       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13034 printf "%s\n" "no" >&6; }
   13035       ;;
   13036     esac
   13037   fi
   13038 fi
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051   # Report what library types will actually be built
   13052   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13053 printf %s "checking if libtool supports shared libraries... " >&6; }
   13054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13055 printf "%s\n" "$can_build_shared" >&6; }
   13056 
   13057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13058 printf %s "checking whether to build shared libraries... " >&6; }
   13059   test no = "$can_build_shared" && enable_shared=no
   13060 
   13061   # On AIX, shared libraries and static libraries use the same namespace, and
   13062   # are all built from PIC.
   13063   case $host_os in
   13064   aix3*)
   13065     test yes = "$enable_shared" && enable_static=no
   13066     if test -n "$RANLIB"; then
   13067       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13068       postinstall_cmds='$RANLIB $lib'
   13069     fi
   13070     ;;
   13071 
   13072   aix[4-9]*)
   13073     if test ia64 != "$host_cpu"; then
   13074       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13075       yes,aix,yes) ;;			# shared object as lib.so file only
   13076       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13077       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13078       esac
   13079     fi
   13080     ;;
   13081   esac
   13082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13083 printf "%s\n" "$enable_shared" >&6; }
   13084 
   13085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13086 printf %s "checking whether to build static libraries... " >&6; }
   13087   # Make sure either enable_shared or enable_static is yes.
   13088   test yes = "$enable_shared" || enable_static=yes
   13089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13090 printf "%s\n" "$enable_static" >&6; }
   13091 
   13092 
   13093 
   13094 
   13095 fi
   13096 ac_ext=c
   13097 ac_cpp='$CPP $CPPFLAGS'
   13098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13101 
   13102 CC=$lt_save_CC
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118         ac_config_commands="$ac_config_commands libtool"
   13119 
   13120 
   13121 
   13122 
   13123 # Only expand once:
   13124 
   13125 
   13126 
   13127 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13141 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13142 if test ${ac_cv_c_undeclared_builtin_options+y}
   13143 then :
   13144   printf %s "(cached) " >&6
   13145 else $as_nop
   13146   ac_save_CFLAGS=$CFLAGS
   13147    ac_cv_c_undeclared_builtin_options='cannot detect'
   13148    for ac_arg in '' -fno-builtin; do
   13149      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13150      # This test program should *not* compile successfully.
   13151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13152 /* end confdefs.h.  */
   13153 
   13154 int
   13155 main (void)
   13156 {
   13157 (void) strchr;
   13158   ;
   13159   return 0;
   13160 }
   13161 _ACEOF
   13162 if ac_fn_c_try_compile "$LINENO"
   13163 then :
   13164 
   13165 else $as_nop
   13166   # This test program should compile successfully.
   13167         # No library function is consistently available on
   13168         # freestanding implementations, so test against a dummy
   13169         # declaration.  Include always-available headers on the
   13170         # off chance that they somehow elicit warnings.
   13171         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13172 /* end confdefs.h.  */
   13173 #include <float.h>
   13174 #include <limits.h>
   13175 #include <stdarg.h>
   13176 #include <stddef.h>
   13177 extern void ac_decl (int, char *);
   13178 
   13179 int
   13180 main (void)
   13181 {
   13182 (void) ac_decl (0, (char *) 0);
   13183   (void) ac_decl;
   13184 
   13185   ;
   13186   return 0;
   13187 }
   13188 _ACEOF
   13189 if ac_fn_c_try_compile "$LINENO"
   13190 then :
   13191   if test x"$ac_arg" = x
   13192 then :
   13193   ac_cv_c_undeclared_builtin_options='none needed'
   13194 else $as_nop
   13195   ac_cv_c_undeclared_builtin_options=$ac_arg
   13196 fi
   13197           break
   13198 fi
   13199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13200 fi
   13201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13202     done
   13203     CFLAGS=$ac_save_CFLAGS
   13204 
   13205 fi
   13206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13207 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13208   case $ac_cv_c_undeclared_builtin_options in #(
   13209   'cannot detect') :
   13210     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13211 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13212 as_fn_error $? "cannot make $CC report undeclared builtins
   13213 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13214   'none needed') :
   13215     ac_c_undeclared_builtin_options='' ;; #(
   13216   *) :
   13217     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13218 esac
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13225 if test "x$ac_cv_have_decl___clang__" = xyes
   13226 then :
   13227   CLANGCC="yes"
   13228 else $as_nop
   13229   CLANGCC="no"
   13230 fi
   13231 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13232 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13233 then :
   13234   INTELCC="yes"
   13235 else $as_nop
   13236   INTELCC="no"
   13237 fi
   13238 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13239 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13240 then :
   13241   SUNCC="yes"
   13242 else $as_nop
   13243   SUNCC="no"
   13244 fi
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13254 	if test -n "$ac_tool_prefix"; then
   13255   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13256 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13258 printf %s "checking for $ac_word... " >&6; }
   13259 if test ${ac_cv_path_PKG_CONFIG+y}
   13260 then :
   13261   printf %s "(cached) " >&6
   13262 else $as_nop
   13263   case $PKG_CONFIG in
   13264   [\\/]* | ?:[\\/]*)
   13265   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13266   ;;
   13267   *)
   13268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13269 for as_dir in $PATH
   13270 do
   13271   IFS=$as_save_IFS
   13272   case $as_dir in #(((
   13273     '') as_dir=./ ;;
   13274     */) ;;
   13275     *) as_dir=$as_dir/ ;;
   13276   esac
   13277     for ac_exec_ext in '' $ac_executable_extensions; do
   13278   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13279     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13280     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13281     break 2
   13282   fi
   13283 done
   13284   done
   13285 IFS=$as_save_IFS
   13286 
   13287   ;;
   13288 esac
   13289 fi
   13290 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13291 if test -n "$PKG_CONFIG"; then
   13292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13293 printf "%s\n" "$PKG_CONFIG" >&6; }
   13294 else
   13295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13296 printf "%s\n" "no" >&6; }
   13297 fi
   13298 
   13299 
   13300 fi
   13301 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13302   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13303   # Extract the first word of "pkg-config", so it can be a program name with args.
   13304 set dummy pkg-config; ac_word=$2
   13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13306 printf %s "checking for $ac_word... " >&6; }
   13307 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13308 then :
   13309   printf %s "(cached) " >&6
   13310 else $as_nop
   13311   case $ac_pt_PKG_CONFIG in
   13312   [\\/]* | ?:[\\/]*)
   13313   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13314   ;;
   13315   *)
   13316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13317 for as_dir in $PATH
   13318 do
   13319   IFS=$as_save_IFS
   13320   case $as_dir in #(((
   13321     '') as_dir=./ ;;
   13322     */) ;;
   13323     *) as_dir=$as_dir/ ;;
   13324   esac
   13325     for ac_exec_ext in '' $ac_executable_extensions; do
   13326   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13327     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13328     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13329     break 2
   13330   fi
   13331 done
   13332   done
   13333 IFS=$as_save_IFS
   13334 
   13335   ;;
   13336 esac
   13337 fi
   13338 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13339 if test -n "$ac_pt_PKG_CONFIG"; then
   13340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13341 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13342 else
   13343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13344 printf "%s\n" "no" >&6; }
   13345 fi
   13346 
   13347   if test "x$ac_pt_PKG_CONFIG" = x; then
   13348     PKG_CONFIG=""
   13349   else
   13350     case $cross_compiling:$ac_tool_warned in
   13351 yes:)
   13352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13353 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13354 ac_tool_warned=yes ;;
   13355 esac
   13356     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13357   fi
   13358 else
   13359   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13360 fi
   13361 
   13362 fi
   13363 if test -n "$PKG_CONFIG"; then
   13364 	_pkg_min_version=0.9.0
   13365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13366 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13367 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13369 printf "%s\n" "yes" >&6; }
   13370 	else
   13371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13372 printf "%s\n" "no" >&6; }
   13373 		PKG_CONFIG=""
   13374 	fi
   13375 fi
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 # Check whether --enable-selective-werror was given.
   13382 if test ${enable_selective_werror+y}
   13383 then :
   13384   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13385 else $as_nop
   13386   SELECTIVE_WERROR=yes
   13387 fi
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13394 if test "x$SUNCC" = "xyes"; then
   13395     BASE_CFLAGS="-v"
   13396 else
   13397     BASE_CFLAGS=""
   13398 fi
   13399 
   13400 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 xorg_testset_save_CFLAGS="$CFLAGS"
   13415 
   13416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13419 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13420 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13421 then :
   13422   printf %s "(cached) " >&6
   13423 else $as_nop
   13424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13425 /* end confdefs.h.  */
   13426 int i;
   13427 _ACEOF
   13428 if ac_fn_c_try_compile "$LINENO"
   13429 then :
   13430   xorg_cv_cc_flag_unknown_warning_option=yes
   13431 else $as_nop
   13432   xorg_cv_cc_flag_unknown_warning_option=no
   13433 fi
   13434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13435 fi
   13436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13437 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13439 	CFLAGS="$xorg_testset_save_CFLAGS"
   13440 fi
   13441 
   13442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13445 	fi
   13446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13448 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13449 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13450 then :
   13451   printf %s "(cached) " >&6
   13452 else $as_nop
   13453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13454 /* end confdefs.h.  */
   13455 int i;
   13456 _ACEOF
   13457 if ac_fn_c_try_compile "$LINENO"
   13458 then :
   13459   xorg_cv_cc_flag_unused_command_line_argument=yes
   13460 else $as_nop
   13461   xorg_cv_cc_flag_unused_command_line_argument=no
   13462 fi
   13463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13464 fi
   13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13468 	CFLAGS="$xorg_testset_save_CFLAGS"
   13469 fi
   13470 
   13471 found="no"
   13472 
   13473 	if test $found = "no" ; then
   13474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13476 		fi
   13477 
   13478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13480 		fi
   13481 
   13482 		CFLAGS="$CFLAGS -Wall"
   13483 
   13484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13485 printf %s "checking if $CC supports -Wall... " >&6; }
   13486 		cacheid=xorg_cv_cc_flag__Wall
   13487 		if eval test \${$cacheid+y}
   13488 then :
   13489   printf %s "(cached) " >&6
   13490 else $as_nop
   13491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13492 /* end confdefs.h.  */
   13493 int i;
   13494 int
   13495 main (void)
   13496 {
   13497 
   13498   ;
   13499   return 0;
   13500 }
   13501 _ACEOF
   13502 if ac_fn_c_try_link "$LINENO"
   13503 then :
   13504   eval $cacheid=yes
   13505 else $as_nop
   13506   eval $cacheid=no
   13507 fi
   13508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13509     conftest$ac_exeext conftest.$ac_ext
   13510 fi
   13511 
   13512 
   13513 		CFLAGS="$xorg_testset_save_CFLAGS"
   13514 
   13515 		eval supported=\$$cacheid
   13516 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13517 printf "%s\n" "$supported" >&6; }
   13518 		if test "$supported" = "yes" ; then
   13519 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13520 			found="yes"
   13521 		fi
   13522 	fi
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 xorg_testset_save_CFLAGS="$CFLAGS"
   13539 
   13540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13543 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13544 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13545 then :
   13546   printf %s "(cached) " >&6
   13547 else $as_nop
   13548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13549 /* end confdefs.h.  */
   13550 int i;
   13551 _ACEOF
   13552 if ac_fn_c_try_compile "$LINENO"
   13553 then :
   13554   xorg_cv_cc_flag_unknown_warning_option=yes
   13555 else $as_nop
   13556   xorg_cv_cc_flag_unknown_warning_option=no
   13557 fi
   13558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13559 fi
   13560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13561 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13563 	CFLAGS="$xorg_testset_save_CFLAGS"
   13564 fi
   13565 
   13566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13569 	fi
   13570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13572 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13573 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13574 then :
   13575   printf %s "(cached) " >&6
   13576 else $as_nop
   13577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13578 /* end confdefs.h.  */
   13579 int i;
   13580 _ACEOF
   13581 if ac_fn_c_try_compile "$LINENO"
   13582 then :
   13583   xorg_cv_cc_flag_unused_command_line_argument=yes
   13584 else $as_nop
   13585   xorg_cv_cc_flag_unused_command_line_argument=no
   13586 fi
   13587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13588 fi
   13589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13590 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13592 	CFLAGS="$xorg_testset_save_CFLAGS"
   13593 fi
   13594 
   13595 found="no"
   13596 
   13597 	if test $found = "no" ; then
   13598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13600 		fi
   13601 
   13602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13604 		fi
   13605 
   13606 		CFLAGS="$CFLAGS -Wpointer-arith"
   13607 
   13608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13609 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13610 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13611 		if eval test \${$cacheid+y}
   13612 then :
   13613   printf %s "(cached) " >&6
   13614 else $as_nop
   13615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13616 /* end confdefs.h.  */
   13617 int i;
   13618 int
   13619 main (void)
   13620 {
   13621 
   13622   ;
   13623   return 0;
   13624 }
   13625 _ACEOF
   13626 if ac_fn_c_try_link "$LINENO"
   13627 then :
   13628   eval $cacheid=yes
   13629 else $as_nop
   13630   eval $cacheid=no
   13631 fi
   13632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13633     conftest$ac_exeext conftest.$ac_ext
   13634 fi
   13635 
   13636 
   13637 		CFLAGS="$xorg_testset_save_CFLAGS"
   13638 
   13639 		eval supported=\$$cacheid
   13640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13641 printf "%s\n" "$supported" >&6; }
   13642 		if test "$supported" = "yes" ; then
   13643 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13644 			found="yes"
   13645 		fi
   13646 	fi
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 xorg_testset_save_CFLAGS="$CFLAGS"
   13663 
   13664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13667 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13668 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13669 then :
   13670   printf %s "(cached) " >&6
   13671 else $as_nop
   13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13673 /* end confdefs.h.  */
   13674 int i;
   13675 _ACEOF
   13676 if ac_fn_c_try_compile "$LINENO"
   13677 then :
   13678   xorg_cv_cc_flag_unknown_warning_option=yes
   13679 else $as_nop
   13680   xorg_cv_cc_flag_unknown_warning_option=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13683 fi
   13684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13685 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13687 	CFLAGS="$xorg_testset_save_CFLAGS"
   13688 fi
   13689 
   13690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13693 	fi
   13694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13698 then :
   13699   printf %s "(cached) " >&6
   13700 else $as_nop
   13701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13702 /* end confdefs.h.  */
   13703 int i;
   13704 _ACEOF
   13705 if ac_fn_c_try_compile "$LINENO"
   13706 then :
   13707   xorg_cv_cc_flag_unused_command_line_argument=yes
   13708 else $as_nop
   13709   xorg_cv_cc_flag_unused_command_line_argument=no
   13710 fi
   13711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13712 fi
   13713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13714 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13716 	CFLAGS="$xorg_testset_save_CFLAGS"
   13717 fi
   13718 
   13719 found="no"
   13720 
   13721 	if test $found = "no" ; then
   13722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13724 		fi
   13725 
   13726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13728 		fi
   13729 
   13730 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13731 
   13732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13733 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13734 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13735 		if eval test \${$cacheid+y}
   13736 then :
   13737   printf %s "(cached) " >&6
   13738 else $as_nop
   13739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13740 /* end confdefs.h.  */
   13741 int i;
   13742 int
   13743 main (void)
   13744 {
   13745 
   13746   ;
   13747   return 0;
   13748 }
   13749 _ACEOF
   13750 if ac_fn_c_try_link "$LINENO"
   13751 then :
   13752   eval $cacheid=yes
   13753 else $as_nop
   13754   eval $cacheid=no
   13755 fi
   13756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13757     conftest$ac_exeext conftest.$ac_ext
   13758 fi
   13759 
   13760 
   13761 		CFLAGS="$xorg_testset_save_CFLAGS"
   13762 
   13763 		eval supported=\$$cacheid
   13764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13765 printf "%s\n" "$supported" >&6; }
   13766 		if test "$supported" = "yes" ; then
   13767 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13768 			found="yes"
   13769 		fi
   13770 	fi
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 xorg_testset_save_CFLAGS="$CFLAGS"
   13787 
   13788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13791 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13792 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13793 then :
   13794   printf %s "(cached) " >&6
   13795 else $as_nop
   13796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13797 /* end confdefs.h.  */
   13798 int i;
   13799 _ACEOF
   13800 if ac_fn_c_try_compile "$LINENO"
   13801 then :
   13802   xorg_cv_cc_flag_unknown_warning_option=yes
   13803 else $as_nop
   13804   xorg_cv_cc_flag_unknown_warning_option=no
   13805 fi
   13806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13807 fi
   13808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13811 	CFLAGS="$xorg_testset_save_CFLAGS"
   13812 fi
   13813 
   13814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13817 	fi
   13818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13822 then :
   13823   printf %s "(cached) " >&6
   13824 else $as_nop
   13825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13826 /* end confdefs.h.  */
   13827 int i;
   13828 _ACEOF
   13829 if ac_fn_c_try_compile "$LINENO"
   13830 then :
   13831   xorg_cv_cc_flag_unused_command_line_argument=yes
   13832 else $as_nop
   13833   xorg_cv_cc_flag_unused_command_line_argument=no
   13834 fi
   13835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13836 fi
   13837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13838 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13840 	CFLAGS="$xorg_testset_save_CFLAGS"
   13841 fi
   13842 
   13843 found="no"
   13844 
   13845 	if test $found = "no" ; then
   13846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13848 		fi
   13849 
   13850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13852 		fi
   13853 
   13854 		CFLAGS="$CFLAGS -Wformat=2"
   13855 
   13856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13857 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13858 		cacheid=xorg_cv_cc_flag__Wformat_2
   13859 		if eval test \${$cacheid+y}
   13860 then :
   13861   printf %s "(cached) " >&6
   13862 else $as_nop
   13863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13864 /* end confdefs.h.  */
   13865 int i;
   13866 int
   13867 main (void)
   13868 {
   13869 
   13870   ;
   13871   return 0;
   13872 }
   13873 _ACEOF
   13874 if ac_fn_c_try_link "$LINENO"
   13875 then :
   13876   eval $cacheid=yes
   13877 else $as_nop
   13878   eval $cacheid=no
   13879 fi
   13880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13881     conftest$ac_exeext conftest.$ac_ext
   13882 fi
   13883 
   13884 
   13885 		CFLAGS="$xorg_testset_save_CFLAGS"
   13886 
   13887 		eval supported=\$$cacheid
   13888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13889 printf "%s\n" "$supported" >&6; }
   13890 		if test "$supported" = "yes" ; then
   13891 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13892 			found="yes"
   13893 		fi
   13894 	fi
   13895 
   13896 	if test $found = "no" ; then
   13897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13899 		fi
   13900 
   13901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13903 		fi
   13904 
   13905 		CFLAGS="$CFLAGS -Wformat"
   13906 
   13907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13908 printf %s "checking if $CC supports -Wformat... " >&6; }
   13909 		cacheid=xorg_cv_cc_flag__Wformat
   13910 		if eval test \${$cacheid+y}
   13911 then :
   13912   printf %s "(cached) " >&6
   13913 else $as_nop
   13914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13915 /* end confdefs.h.  */
   13916 int i;
   13917 int
   13918 main (void)
   13919 {
   13920 
   13921   ;
   13922   return 0;
   13923 }
   13924 _ACEOF
   13925 if ac_fn_c_try_link "$LINENO"
   13926 then :
   13927   eval $cacheid=yes
   13928 else $as_nop
   13929   eval $cacheid=no
   13930 fi
   13931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13932     conftest$ac_exeext conftest.$ac_ext
   13933 fi
   13934 
   13935 
   13936 		CFLAGS="$xorg_testset_save_CFLAGS"
   13937 
   13938 		eval supported=\$$cacheid
   13939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13940 printf "%s\n" "$supported" >&6; }
   13941 		if test "$supported" = "yes" ; then
   13942 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13943 			found="yes"
   13944 		fi
   13945 	fi
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 xorg_testset_save_CFLAGS="$CFLAGS"
   13964 
   13965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13968 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13969 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13970 then :
   13971   printf %s "(cached) " >&6
   13972 else $as_nop
   13973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13974 /* end confdefs.h.  */
   13975 int i;
   13976 _ACEOF
   13977 if ac_fn_c_try_compile "$LINENO"
   13978 then :
   13979   xorg_cv_cc_flag_unknown_warning_option=yes
   13980 else $as_nop
   13981   xorg_cv_cc_flag_unknown_warning_option=no
   13982 fi
   13983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13984 fi
   13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13986 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13988 	CFLAGS="$xorg_testset_save_CFLAGS"
   13989 fi
   13990 
   13991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13994 	fi
   13995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13999 then :
   14000   printf %s "(cached) " >&6
   14001 else $as_nop
   14002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14003 /* end confdefs.h.  */
   14004 int i;
   14005 _ACEOF
   14006 if ac_fn_c_try_compile "$LINENO"
   14007 then :
   14008   xorg_cv_cc_flag_unused_command_line_argument=yes
   14009 else $as_nop
   14010   xorg_cv_cc_flag_unused_command_line_argument=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14013 fi
   14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14017 	CFLAGS="$xorg_testset_save_CFLAGS"
   14018 fi
   14019 
   14020 found="no"
   14021 
   14022 	if test $found = "no" ; then
   14023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14025 		fi
   14026 
   14027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14029 		fi
   14030 
   14031 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14032 
   14033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14034 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14035 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14036 		if eval test \${$cacheid+y}
   14037 then :
   14038   printf %s "(cached) " >&6
   14039 else $as_nop
   14040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14041 /* end confdefs.h.  */
   14042 int i;
   14043 int
   14044 main (void)
   14045 {
   14046 
   14047   ;
   14048   return 0;
   14049 }
   14050 _ACEOF
   14051 if ac_fn_c_try_link "$LINENO"
   14052 then :
   14053   eval $cacheid=yes
   14054 else $as_nop
   14055   eval $cacheid=no
   14056 fi
   14057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14058     conftest$ac_exeext conftest.$ac_ext
   14059 fi
   14060 
   14061 
   14062 		CFLAGS="$xorg_testset_save_CFLAGS"
   14063 
   14064 		eval supported=\$$cacheid
   14065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14066 printf "%s\n" "$supported" >&6; }
   14067 		if test "$supported" = "yes" ; then
   14068 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14069 			found="yes"
   14070 		fi
   14071 	fi
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 xorg_testset_save_CFLAGS="$CFLAGS"
   14088 
   14089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14092 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14093 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14094 then :
   14095   printf %s "(cached) " >&6
   14096 else $as_nop
   14097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14098 /* end confdefs.h.  */
   14099 int i;
   14100 _ACEOF
   14101 if ac_fn_c_try_compile "$LINENO"
   14102 then :
   14103   xorg_cv_cc_flag_unknown_warning_option=yes
   14104 else $as_nop
   14105   xorg_cv_cc_flag_unknown_warning_option=no
   14106 fi
   14107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14108 fi
   14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14112 	CFLAGS="$xorg_testset_save_CFLAGS"
   14113 fi
   14114 
   14115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14118 	fi
   14119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14123 then :
   14124   printf %s "(cached) " >&6
   14125 else $as_nop
   14126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14127 /* end confdefs.h.  */
   14128 int i;
   14129 _ACEOF
   14130 if ac_fn_c_try_compile "$LINENO"
   14131 then :
   14132   xorg_cv_cc_flag_unused_command_line_argument=yes
   14133 else $as_nop
   14134   xorg_cv_cc_flag_unused_command_line_argument=no
   14135 fi
   14136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14137 fi
   14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14139 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14141 	CFLAGS="$xorg_testset_save_CFLAGS"
   14142 fi
   14143 
   14144 found="no"
   14145 
   14146 	if test $found = "no" ; then
   14147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14149 		fi
   14150 
   14151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14153 		fi
   14154 
   14155 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14156 
   14157 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14158 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14159 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14160 		if eval test \${$cacheid+y}
   14161 then :
   14162   printf %s "(cached) " >&6
   14163 else $as_nop
   14164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14165 /* end confdefs.h.  */
   14166 int i;
   14167 int
   14168 main (void)
   14169 {
   14170 
   14171   ;
   14172   return 0;
   14173 }
   14174 _ACEOF
   14175 if ac_fn_c_try_link "$LINENO"
   14176 then :
   14177   eval $cacheid=yes
   14178 else $as_nop
   14179   eval $cacheid=no
   14180 fi
   14181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14182     conftest$ac_exeext conftest.$ac_ext
   14183 fi
   14184 
   14185 
   14186 		CFLAGS="$xorg_testset_save_CFLAGS"
   14187 
   14188 		eval supported=\$$cacheid
   14189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14190 printf "%s\n" "$supported" >&6; }
   14191 		if test "$supported" = "yes" ; then
   14192 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14193 			found="yes"
   14194 		fi
   14195 	fi
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 xorg_testset_save_CFLAGS="$CFLAGS"
   14212 
   14213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14218 then :
   14219   printf %s "(cached) " >&6
   14220 else $as_nop
   14221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14222 /* end confdefs.h.  */
   14223 int i;
   14224 _ACEOF
   14225 if ac_fn_c_try_compile "$LINENO"
   14226 then :
   14227   xorg_cv_cc_flag_unknown_warning_option=yes
   14228 else $as_nop
   14229   xorg_cv_cc_flag_unknown_warning_option=no
   14230 fi
   14231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14232 fi
   14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14234 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14236 	CFLAGS="$xorg_testset_save_CFLAGS"
   14237 fi
   14238 
   14239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14242 	fi
   14243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14247 then :
   14248   printf %s "(cached) " >&6
   14249 else $as_nop
   14250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14251 /* end confdefs.h.  */
   14252 int i;
   14253 _ACEOF
   14254 if ac_fn_c_try_compile "$LINENO"
   14255 then :
   14256   xorg_cv_cc_flag_unused_command_line_argument=yes
   14257 else $as_nop
   14258   xorg_cv_cc_flag_unused_command_line_argument=no
   14259 fi
   14260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14261 fi
   14262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14263 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14265 	CFLAGS="$xorg_testset_save_CFLAGS"
   14266 fi
   14267 
   14268 found="no"
   14269 
   14270 	if test $found = "no" ; then
   14271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14273 		fi
   14274 
   14275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14277 		fi
   14278 
   14279 		CFLAGS="$CFLAGS -Wnested-externs"
   14280 
   14281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14282 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14283 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14284 		if eval test \${$cacheid+y}
   14285 then :
   14286   printf %s "(cached) " >&6
   14287 else $as_nop
   14288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14289 /* end confdefs.h.  */
   14290 int i;
   14291 int
   14292 main (void)
   14293 {
   14294 
   14295   ;
   14296   return 0;
   14297 }
   14298 _ACEOF
   14299 if ac_fn_c_try_link "$LINENO"
   14300 then :
   14301   eval $cacheid=yes
   14302 else $as_nop
   14303   eval $cacheid=no
   14304 fi
   14305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14306     conftest$ac_exeext conftest.$ac_ext
   14307 fi
   14308 
   14309 
   14310 		CFLAGS="$xorg_testset_save_CFLAGS"
   14311 
   14312 		eval supported=\$$cacheid
   14313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14314 printf "%s\n" "$supported" >&6; }
   14315 		if test "$supported" = "yes" ; then
   14316 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14317 			found="yes"
   14318 		fi
   14319 	fi
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 xorg_testset_save_CFLAGS="$CFLAGS"
   14336 
   14337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14340 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14341 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14342 then :
   14343   printf %s "(cached) " >&6
   14344 else $as_nop
   14345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14346 /* end confdefs.h.  */
   14347 int i;
   14348 _ACEOF
   14349 if ac_fn_c_try_compile "$LINENO"
   14350 then :
   14351   xorg_cv_cc_flag_unknown_warning_option=yes
   14352 else $as_nop
   14353   xorg_cv_cc_flag_unknown_warning_option=no
   14354 fi
   14355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14356 fi
   14357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14358 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14360 	CFLAGS="$xorg_testset_save_CFLAGS"
   14361 fi
   14362 
   14363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14366 	fi
   14367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14369 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14370 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14371 then :
   14372   printf %s "(cached) " >&6
   14373 else $as_nop
   14374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14375 /* end confdefs.h.  */
   14376 int i;
   14377 _ACEOF
   14378 if ac_fn_c_try_compile "$LINENO"
   14379 then :
   14380   xorg_cv_cc_flag_unused_command_line_argument=yes
   14381 else $as_nop
   14382   xorg_cv_cc_flag_unused_command_line_argument=no
   14383 fi
   14384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14385 fi
   14386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14389 	CFLAGS="$xorg_testset_save_CFLAGS"
   14390 fi
   14391 
   14392 found="no"
   14393 
   14394 	if test $found = "no" ; then
   14395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14397 		fi
   14398 
   14399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14401 		fi
   14402 
   14403 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14404 
   14405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14406 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14407 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14408 		if eval test \${$cacheid+y}
   14409 then :
   14410   printf %s "(cached) " >&6
   14411 else $as_nop
   14412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14413 /* end confdefs.h.  */
   14414 int i;
   14415 int
   14416 main (void)
   14417 {
   14418 
   14419   ;
   14420   return 0;
   14421 }
   14422 _ACEOF
   14423 if ac_fn_c_try_link "$LINENO"
   14424 then :
   14425   eval $cacheid=yes
   14426 else $as_nop
   14427   eval $cacheid=no
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14430     conftest$ac_exeext conftest.$ac_ext
   14431 fi
   14432 
   14433 
   14434 		CFLAGS="$xorg_testset_save_CFLAGS"
   14435 
   14436 		eval supported=\$$cacheid
   14437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14438 printf "%s\n" "$supported" >&6; }
   14439 		if test "$supported" = "yes" ; then
   14440 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14441 			found="yes"
   14442 		fi
   14443 	fi
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 xorg_testset_save_CFLAGS="$CFLAGS"
   14460 
   14461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14466 then :
   14467   printf %s "(cached) " >&6
   14468 else $as_nop
   14469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14470 /* end confdefs.h.  */
   14471 int i;
   14472 _ACEOF
   14473 if ac_fn_c_try_compile "$LINENO"
   14474 then :
   14475   xorg_cv_cc_flag_unknown_warning_option=yes
   14476 else $as_nop
   14477   xorg_cv_cc_flag_unknown_warning_option=no
   14478 fi
   14479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14480 fi
   14481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14482 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14484 	CFLAGS="$xorg_testset_save_CFLAGS"
   14485 fi
   14486 
   14487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14490 	fi
   14491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14493 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14494 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14495 then :
   14496   printf %s "(cached) " >&6
   14497 else $as_nop
   14498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14499 /* end confdefs.h.  */
   14500 int i;
   14501 _ACEOF
   14502 if ac_fn_c_try_compile "$LINENO"
   14503 then :
   14504   xorg_cv_cc_flag_unused_command_line_argument=yes
   14505 else $as_nop
   14506   xorg_cv_cc_flag_unused_command_line_argument=no
   14507 fi
   14508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14509 fi
   14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14511 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14513 	CFLAGS="$xorg_testset_save_CFLAGS"
   14514 fi
   14515 
   14516 found="no"
   14517 
   14518 	if test $found = "no" ; then
   14519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14521 		fi
   14522 
   14523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14525 		fi
   14526 
   14527 		CFLAGS="$CFLAGS -Wold-style-definition"
   14528 
   14529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14530 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14531 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14532 		if eval test \${$cacheid+y}
   14533 then :
   14534   printf %s "(cached) " >&6
   14535 else $as_nop
   14536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14537 /* end confdefs.h.  */
   14538 int i;
   14539 int
   14540 main (void)
   14541 {
   14542 
   14543   ;
   14544   return 0;
   14545 }
   14546 _ACEOF
   14547 if ac_fn_c_try_link "$LINENO"
   14548 then :
   14549   eval $cacheid=yes
   14550 else $as_nop
   14551   eval $cacheid=no
   14552 fi
   14553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14554     conftest$ac_exeext conftest.$ac_ext
   14555 fi
   14556 
   14557 
   14558 		CFLAGS="$xorg_testset_save_CFLAGS"
   14559 
   14560 		eval supported=\$$cacheid
   14561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14562 printf "%s\n" "$supported" >&6; }
   14563 		if test "$supported" = "yes" ; then
   14564 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14565 			found="yes"
   14566 		fi
   14567 	fi
   14568 
   14569 	if test $found = "no" ; then
   14570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14572 		fi
   14573 
   14574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14576 		fi
   14577 
   14578 		CFLAGS="$CFLAGS -fd"
   14579 
   14580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14581 printf %s "checking if $CC supports -fd... " >&6; }
   14582 		cacheid=xorg_cv_cc_flag__fd
   14583 		if eval test \${$cacheid+y}
   14584 then :
   14585   printf %s "(cached) " >&6
   14586 else $as_nop
   14587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14588 /* end confdefs.h.  */
   14589 int i;
   14590 int
   14591 main (void)
   14592 {
   14593 
   14594   ;
   14595   return 0;
   14596 }
   14597 _ACEOF
   14598 if ac_fn_c_try_link "$LINENO"
   14599 then :
   14600   eval $cacheid=yes
   14601 else $as_nop
   14602   eval $cacheid=no
   14603 fi
   14604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14605     conftest$ac_exeext conftest.$ac_ext
   14606 fi
   14607 
   14608 
   14609 		CFLAGS="$xorg_testset_save_CFLAGS"
   14610 
   14611 		eval supported=\$$cacheid
   14612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14613 printf "%s\n" "$supported" >&6; }
   14614 		if test "$supported" = "yes" ; then
   14615 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14616 			found="yes"
   14617 		fi
   14618 	fi
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 xorg_testset_save_CFLAGS="$CFLAGS"
   14635 
   14636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14639 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14640 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   14651 else $as_nop
   14652   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14657 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14659 	CFLAGS="$xorg_testset_save_CFLAGS"
   14660 fi
   14661 
   14662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14665 	fi
   14666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14668 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14669 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14670 then :
   14671   printf %s "(cached) " >&6
   14672 else $as_nop
   14673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14674 /* end confdefs.h.  */
   14675 int i;
   14676 _ACEOF
   14677 if ac_fn_c_try_compile "$LINENO"
   14678 then :
   14679   xorg_cv_cc_flag_unused_command_line_argument=yes
   14680 else $as_nop
   14681   xorg_cv_cc_flag_unused_command_line_argument=no
   14682 fi
   14683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14684 fi
   14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14686 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14688 	CFLAGS="$xorg_testset_save_CFLAGS"
   14689 fi
   14690 
   14691 found="no"
   14692 
   14693 	if test $found = "no" ; then
   14694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14696 		fi
   14697 
   14698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14700 		fi
   14701 
   14702 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14703 
   14704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14705 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14706 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14707 		if eval test \${$cacheid+y}
   14708 then :
   14709   printf %s "(cached) " >&6
   14710 else $as_nop
   14711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14712 /* end confdefs.h.  */
   14713 int i;
   14714 int
   14715 main (void)
   14716 {
   14717 
   14718   ;
   14719   return 0;
   14720 }
   14721 _ACEOF
   14722 if ac_fn_c_try_link "$LINENO"
   14723 then :
   14724   eval $cacheid=yes
   14725 else $as_nop
   14726   eval $cacheid=no
   14727 fi
   14728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14729     conftest$ac_exeext conftest.$ac_ext
   14730 fi
   14731 
   14732 
   14733 		CFLAGS="$xorg_testset_save_CFLAGS"
   14734 
   14735 		eval supported=\$$cacheid
   14736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14737 printf "%s\n" "$supported" >&6; }
   14738 		if test "$supported" = "yes" ; then
   14739 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14740 			found="yes"
   14741 		fi
   14742 	fi
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 # This chunk adds additional warnings that could catch undesired effects.
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 xorg_testset_save_CFLAGS="$CFLAGS"
   14763 
   14764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14767 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14768 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14769 then :
   14770   printf %s "(cached) " >&6
   14771 else $as_nop
   14772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14773 /* end confdefs.h.  */
   14774 int i;
   14775 _ACEOF
   14776 if ac_fn_c_try_compile "$LINENO"
   14777 then :
   14778   xorg_cv_cc_flag_unknown_warning_option=yes
   14779 else $as_nop
   14780   xorg_cv_cc_flag_unknown_warning_option=no
   14781 fi
   14782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14783 fi
   14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14785 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14787 	CFLAGS="$xorg_testset_save_CFLAGS"
   14788 fi
   14789 
   14790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14793 	fi
   14794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14796 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14797 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14798 then :
   14799   printf %s "(cached) " >&6
   14800 else $as_nop
   14801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14802 /* end confdefs.h.  */
   14803 int i;
   14804 _ACEOF
   14805 if ac_fn_c_try_compile "$LINENO"
   14806 then :
   14807   xorg_cv_cc_flag_unused_command_line_argument=yes
   14808 else $as_nop
   14809   xorg_cv_cc_flag_unused_command_line_argument=no
   14810 fi
   14811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14812 fi
   14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14816 	CFLAGS="$xorg_testset_save_CFLAGS"
   14817 fi
   14818 
   14819 found="no"
   14820 
   14821 	if test $found = "no" ; then
   14822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14824 		fi
   14825 
   14826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14828 		fi
   14829 
   14830 		CFLAGS="$CFLAGS -Wunused"
   14831 
   14832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14833 printf %s "checking if $CC supports -Wunused... " >&6; }
   14834 		cacheid=xorg_cv_cc_flag__Wunused
   14835 		if eval test \${$cacheid+y}
   14836 then :
   14837   printf %s "(cached) " >&6
   14838 else $as_nop
   14839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14840 /* end confdefs.h.  */
   14841 int i;
   14842 int
   14843 main (void)
   14844 {
   14845 
   14846   ;
   14847   return 0;
   14848 }
   14849 _ACEOF
   14850 if ac_fn_c_try_link "$LINENO"
   14851 then :
   14852   eval $cacheid=yes
   14853 else $as_nop
   14854   eval $cacheid=no
   14855 fi
   14856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14857     conftest$ac_exeext conftest.$ac_ext
   14858 fi
   14859 
   14860 
   14861 		CFLAGS="$xorg_testset_save_CFLAGS"
   14862 
   14863 		eval supported=\$$cacheid
   14864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14865 printf "%s\n" "$supported" >&6; }
   14866 		if test "$supported" = "yes" ; then
   14867 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14868 			found="yes"
   14869 		fi
   14870 	fi
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 xorg_testset_save_CFLAGS="$CFLAGS"
   14887 
   14888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14891 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14892 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14893 then :
   14894   printf %s "(cached) " >&6
   14895 else $as_nop
   14896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14897 /* end confdefs.h.  */
   14898 int i;
   14899 _ACEOF
   14900 if ac_fn_c_try_compile "$LINENO"
   14901 then :
   14902   xorg_cv_cc_flag_unknown_warning_option=yes
   14903 else $as_nop
   14904   xorg_cv_cc_flag_unknown_warning_option=no
   14905 fi
   14906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14907 fi
   14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14909 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14911 	CFLAGS="$xorg_testset_save_CFLAGS"
   14912 fi
   14913 
   14914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14917 	fi
   14918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14922 then :
   14923   printf %s "(cached) " >&6
   14924 else $as_nop
   14925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14926 /* end confdefs.h.  */
   14927 int i;
   14928 _ACEOF
   14929 if ac_fn_c_try_compile "$LINENO"
   14930 then :
   14931   xorg_cv_cc_flag_unused_command_line_argument=yes
   14932 else $as_nop
   14933   xorg_cv_cc_flag_unused_command_line_argument=no
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14936 fi
   14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14938 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14940 	CFLAGS="$xorg_testset_save_CFLAGS"
   14941 fi
   14942 
   14943 found="no"
   14944 
   14945 	if test $found = "no" ; then
   14946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14948 		fi
   14949 
   14950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14952 		fi
   14953 
   14954 		CFLAGS="$CFLAGS -Wuninitialized"
   14955 
   14956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14957 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14958 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14959 		if eval test \${$cacheid+y}
   14960 then :
   14961   printf %s "(cached) " >&6
   14962 else $as_nop
   14963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14964 /* end confdefs.h.  */
   14965 int i;
   14966 int
   14967 main (void)
   14968 {
   14969 
   14970   ;
   14971   return 0;
   14972 }
   14973 _ACEOF
   14974 if ac_fn_c_try_link "$LINENO"
   14975 then :
   14976   eval $cacheid=yes
   14977 else $as_nop
   14978   eval $cacheid=no
   14979 fi
   14980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14981     conftest$ac_exeext conftest.$ac_ext
   14982 fi
   14983 
   14984 
   14985 		CFLAGS="$xorg_testset_save_CFLAGS"
   14986 
   14987 		eval supported=\$$cacheid
   14988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14989 printf "%s\n" "$supported" >&6; }
   14990 		if test "$supported" = "yes" ; then
   14991 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14992 			found="yes"
   14993 		fi
   14994 	fi
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 xorg_testset_save_CFLAGS="$CFLAGS"
   15011 
   15012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15017 then :
   15018   printf %s "(cached) " >&6
   15019 else $as_nop
   15020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15021 /* end confdefs.h.  */
   15022 int i;
   15023 _ACEOF
   15024 if ac_fn_c_try_compile "$LINENO"
   15025 then :
   15026   xorg_cv_cc_flag_unknown_warning_option=yes
   15027 else $as_nop
   15028   xorg_cv_cc_flag_unknown_warning_option=no
   15029 fi
   15030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15031 fi
   15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15033 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15035 	CFLAGS="$xorg_testset_save_CFLAGS"
   15036 fi
   15037 
   15038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15041 	fi
   15042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15044 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15045 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15046 then :
   15047   printf %s "(cached) " >&6
   15048 else $as_nop
   15049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15050 /* end confdefs.h.  */
   15051 int i;
   15052 _ACEOF
   15053 if ac_fn_c_try_compile "$LINENO"
   15054 then :
   15055   xorg_cv_cc_flag_unused_command_line_argument=yes
   15056 else $as_nop
   15057   xorg_cv_cc_flag_unused_command_line_argument=no
   15058 fi
   15059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15060 fi
   15061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15062 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15064 	CFLAGS="$xorg_testset_save_CFLAGS"
   15065 fi
   15066 
   15067 found="no"
   15068 
   15069 	if test $found = "no" ; then
   15070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 		fi
   15073 
   15074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15076 		fi
   15077 
   15078 		CFLAGS="$CFLAGS -Wshadow"
   15079 
   15080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15081 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15082 		cacheid=xorg_cv_cc_flag__Wshadow
   15083 		if eval test \${$cacheid+y}
   15084 then :
   15085   printf %s "(cached) " >&6
   15086 else $as_nop
   15087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15088 /* end confdefs.h.  */
   15089 int i;
   15090 int
   15091 main (void)
   15092 {
   15093 
   15094   ;
   15095   return 0;
   15096 }
   15097 _ACEOF
   15098 if ac_fn_c_try_link "$LINENO"
   15099 then :
   15100   eval $cacheid=yes
   15101 else $as_nop
   15102   eval $cacheid=no
   15103 fi
   15104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15105     conftest$ac_exeext conftest.$ac_ext
   15106 fi
   15107 
   15108 
   15109 		CFLAGS="$xorg_testset_save_CFLAGS"
   15110 
   15111 		eval supported=\$$cacheid
   15112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15113 printf "%s\n" "$supported" >&6; }
   15114 		if test "$supported" = "yes" ; then
   15115 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15116 			found="yes"
   15117 		fi
   15118 	fi
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 xorg_testset_save_CFLAGS="$CFLAGS"
   15135 
   15136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15141 then :
   15142   printf %s "(cached) " >&6
   15143 else $as_nop
   15144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15145 /* end confdefs.h.  */
   15146 int i;
   15147 _ACEOF
   15148 if ac_fn_c_try_compile "$LINENO"
   15149 then :
   15150   xorg_cv_cc_flag_unknown_warning_option=yes
   15151 else $as_nop
   15152   xorg_cv_cc_flag_unknown_warning_option=no
   15153 fi
   15154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15155 fi
   15156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15157 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15159 	CFLAGS="$xorg_testset_save_CFLAGS"
   15160 fi
   15161 
   15162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15165 	fi
   15166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15168 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15169 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15170 then :
   15171   printf %s "(cached) " >&6
   15172 else $as_nop
   15173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15174 /* end confdefs.h.  */
   15175 int i;
   15176 _ACEOF
   15177 if ac_fn_c_try_compile "$LINENO"
   15178 then :
   15179   xorg_cv_cc_flag_unused_command_line_argument=yes
   15180 else $as_nop
   15181   xorg_cv_cc_flag_unused_command_line_argument=no
   15182 fi
   15183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15184 fi
   15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15186 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15188 	CFLAGS="$xorg_testset_save_CFLAGS"
   15189 fi
   15190 
   15191 found="no"
   15192 
   15193 	if test $found = "no" ; then
   15194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15196 		fi
   15197 
   15198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15200 		fi
   15201 
   15202 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15203 
   15204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15205 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15206 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15207 		if eval test \${$cacheid+y}
   15208 then :
   15209   printf %s "(cached) " >&6
   15210 else $as_nop
   15211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15212 /* end confdefs.h.  */
   15213 int i;
   15214 int
   15215 main (void)
   15216 {
   15217 
   15218   ;
   15219   return 0;
   15220 }
   15221 _ACEOF
   15222 if ac_fn_c_try_link "$LINENO"
   15223 then :
   15224   eval $cacheid=yes
   15225 else $as_nop
   15226   eval $cacheid=no
   15227 fi
   15228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15229     conftest$ac_exeext conftest.$ac_ext
   15230 fi
   15231 
   15232 
   15233 		CFLAGS="$xorg_testset_save_CFLAGS"
   15234 
   15235 		eval supported=\$$cacheid
   15236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15237 printf "%s\n" "$supported" >&6; }
   15238 		if test "$supported" = "yes" ; then
   15239 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15240 			found="yes"
   15241 		fi
   15242 	fi
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 xorg_testset_save_CFLAGS="$CFLAGS"
   15259 
   15260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15263 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15264 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15265 then :
   15266   printf %s "(cached) " >&6
   15267 else $as_nop
   15268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15269 /* end confdefs.h.  */
   15270 int i;
   15271 _ACEOF
   15272 if ac_fn_c_try_compile "$LINENO"
   15273 then :
   15274   xorg_cv_cc_flag_unknown_warning_option=yes
   15275 else $as_nop
   15276   xorg_cv_cc_flag_unknown_warning_option=no
   15277 fi
   15278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15279 fi
   15280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15281 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15283 	CFLAGS="$xorg_testset_save_CFLAGS"
   15284 fi
   15285 
   15286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15289 	fi
   15290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15292 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15293 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15294 then :
   15295   printf %s "(cached) " >&6
   15296 else $as_nop
   15297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15298 /* end confdefs.h.  */
   15299 int i;
   15300 _ACEOF
   15301 if ac_fn_c_try_compile "$LINENO"
   15302 then :
   15303   xorg_cv_cc_flag_unused_command_line_argument=yes
   15304 else $as_nop
   15305   xorg_cv_cc_flag_unused_command_line_argument=no
   15306 fi
   15307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15308 fi
   15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15310 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15312 	CFLAGS="$xorg_testset_save_CFLAGS"
   15313 fi
   15314 
   15315 found="no"
   15316 
   15317 	if test $found = "no" ; then
   15318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15320 		fi
   15321 
   15322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15324 		fi
   15325 
   15326 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15327 
   15328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15329 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15330 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15331 		if eval test \${$cacheid+y}
   15332 then :
   15333   printf %s "(cached) " >&6
   15334 else $as_nop
   15335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15336 /* end confdefs.h.  */
   15337 int i;
   15338 int
   15339 main (void)
   15340 {
   15341 
   15342   ;
   15343   return 0;
   15344 }
   15345 _ACEOF
   15346 if ac_fn_c_try_link "$LINENO"
   15347 then :
   15348   eval $cacheid=yes
   15349 else $as_nop
   15350   eval $cacheid=no
   15351 fi
   15352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15353     conftest$ac_exeext conftest.$ac_ext
   15354 fi
   15355 
   15356 
   15357 		CFLAGS="$xorg_testset_save_CFLAGS"
   15358 
   15359 		eval supported=\$$cacheid
   15360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15361 printf "%s\n" "$supported" >&6; }
   15362 		if test "$supported" = "yes" ; then
   15363 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15364 			found="yes"
   15365 		fi
   15366 	fi
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 xorg_testset_save_CFLAGS="$CFLAGS"
   15383 
   15384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15389 then :
   15390   printf %s "(cached) " >&6
   15391 else $as_nop
   15392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15393 /* end confdefs.h.  */
   15394 int i;
   15395 _ACEOF
   15396 if ac_fn_c_try_compile "$LINENO"
   15397 then :
   15398   xorg_cv_cc_flag_unknown_warning_option=yes
   15399 else $as_nop
   15400   xorg_cv_cc_flag_unknown_warning_option=no
   15401 fi
   15402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15403 fi
   15404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15405 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15407 	CFLAGS="$xorg_testset_save_CFLAGS"
   15408 fi
   15409 
   15410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15413 	fi
   15414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15418 then :
   15419   printf %s "(cached) " >&6
   15420 else $as_nop
   15421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15422 /* end confdefs.h.  */
   15423 int i;
   15424 _ACEOF
   15425 if ac_fn_c_try_compile "$LINENO"
   15426 then :
   15427   xorg_cv_cc_flag_unused_command_line_argument=yes
   15428 else $as_nop
   15429   xorg_cv_cc_flag_unused_command_line_argument=no
   15430 fi
   15431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15432 fi
   15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15434 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15436 	CFLAGS="$xorg_testset_save_CFLAGS"
   15437 fi
   15438 
   15439 found="no"
   15440 
   15441 	if test $found = "no" ; then
   15442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15444 		fi
   15445 
   15446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15448 		fi
   15449 
   15450 		CFLAGS="$CFLAGS -Wredundant-decls"
   15451 
   15452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15453 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15454 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15455 		if eval test \${$cacheid+y}
   15456 then :
   15457   printf %s "(cached) " >&6
   15458 else $as_nop
   15459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15460 /* end confdefs.h.  */
   15461 int i;
   15462 int
   15463 main (void)
   15464 {
   15465 
   15466   ;
   15467   return 0;
   15468 }
   15469 _ACEOF
   15470 if ac_fn_c_try_link "$LINENO"
   15471 then :
   15472   eval $cacheid=yes
   15473 else $as_nop
   15474   eval $cacheid=no
   15475 fi
   15476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15477     conftest$ac_exeext conftest.$ac_ext
   15478 fi
   15479 
   15480 
   15481 		CFLAGS="$xorg_testset_save_CFLAGS"
   15482 
   15483 		eval supported=\$$cacheid
   15484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15485 printf "%s\n" "$supported" >&6; }
   15486 		if test "$supported" = "yes" ; then
   15487 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15488 			found="yes"
   15489 		fi
   15490 	fi
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 xorg_testset_save_CFLAGS="$CFLAGS"
   15507 
   15508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15513 then :
   15514   printf %s "(cached) " >&6
   15515 else $as_nop
   15516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15517 /* end confdefs.h.  */
   15518 int i;
   15519 _ACEOF
   15520 if ac_fn_c_try_compile "$LINENO"
   15521 then :
   15522   xorg_cv_cc_flag_unknown_warning_option=yes
   15523 else $as_nop
   15524   xorg_cv_cc_flag_unknown_warning_option=no
   15525 fi
   15526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15527 fi
   15528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15529 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15530 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15531 	CFLAGS="$xorg_testset_save_CFLAGS"
   15532 fi
   15533 
   15534 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15535 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15537 	fi
   15538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15540 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15541 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15542 then :
   15543   printf %s "(cached) " >&6
   15544 else $as_nop
   15545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 int i;
   15548 _ACEOF
   15549 if ac_fn_c_try_compile "$LINENO"
   15550 then :
   15551   xorg_cv_cc_flag_unused_command_line_argument=yes
   15552 else $as_nop
   15553   xorg_cv_cc_flag_unused_command_line_argument=no
   15554 fi
   15555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15556 fi
   15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15558 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15560 	CFLAGS="$xorg_testset_save_CFLAGS"
   15561 fi
   15562 
   15563 found="no"
   15564 
   15565 	if test $found = "no" ; then
   15566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15568 		fi
   15569 
   15570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15572 		fi
   15573 
   15574 		CFLAGS="$CFLAGS -Wlogical-op"
   15575 
   15576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15577 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15578 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15579 		if eval test \${$cacheid+y}
   15580 then :
   15581   printf %s "(cached) " >&6
   15582 else $as_nop
   15583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15584 /* end confdefs.h.  */
   15585 int i;
   15586 int
   15587 main (void)
   15588 {
   15589 
   15590   ;
   15591   return 0;
   15592 }
   15593 _ACEOF
   15594 if ac_fn_c_try_link "$LINENO"
   15595 then :
   15596   eval $cacheid=yes
   15597 else $as_nop
   15598   eval $cacheid=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15601     conftest$ac_exeext conftest.$ac_ext
   15602 fi
   15603 
   15604 
   15605 		CFLAGS="$xorg_testset_save_CFLAGS"
   15606 
   15607 		eval supported=\$$cacheid
   15608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15609 printf "%s\n" "$supported" >&6; }
   15610 		if test "$supported" = "yes" ; then
   15611 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15612 			found="yes"
   15613 		fi
   15614 	fi
   15615 
   15616 
   15617 
   15618 # These are currently disabled because they are noisy.  They will be enabled
   15619 # in the future once the codebase is sufficiently modernized to silence
   15620 # them.  For now, I don't want them to drown out the other warnings.
   15621 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15622 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15623 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15624 
   15625 # Turn some warnings into errors, so we don't accidently get successful builds
   15626 # when there are problems that should be fixed.
   15627 
   15628 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 xorg_testset_save_CFLAGS="$CFLAGS"
   15643 
   15644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15649 then :
   15650   printf %s "(cached) " >&6
   15651 else $as_nop
   15652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15653 /* end confdefs.h.  */
   15654 int i;
   15655 _ACEOF
   15656 if ac_fn_c_try_compile "$LINENO"
   15657 then :
   15658   xorg_cv_cc_flag_unknown_warning_option=yes
   15659 else $as_nop
   15660   xorg_cv_cc_flag_unknown_warning_option=no
   15661 fi
   15662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15663 fi
   15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15667 	CFLAGS="$xorg_testset_save_CFLAGS"
   15668 fi
   15669 
   15670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15673 	fi
   15674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15678 then :
   15679   printf %s "(cached) " >&6
   15680 else $as_nop
   15681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15682 /* end confdefs.h.  */
   15683 int i;
   15684 _ACEOF
   15685 if ac_fn_c_try_compile "$LINENO"
   15686 then :
   15687   xorg_cv_cc_flag_unused_command_line_argument=yes
   15688 else $as_nop
   15689   xorg_cv_cc_flag_unused_command_line_argument=no
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15692 fi
   15693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15696 	CFLAGS="$xorg_testset_save_CFLAGS"
   15697 fi
   15698 
   15699 found="no"
   15700 
   15701 	if test $found = "no" ; then
   15702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15704 		fi
   15705 
   15706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15708 		fi
   15709 
   15710 		CFLAGS="$CFLAGS -Werror=implicit"
   15711 
   15712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15713 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15714 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15715 		if eval test \${$cacheid+y}
   15716 then :
   15717   printf %s "(cached) " >&6
   15718 else $as_nop
   15719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15720 /* end confdefs.h.  */
   15721 int i;
   15722 int
   15723 main (void)
   15724 {
   15725 
   15726   ;
   15727   return 0;
   15728 }
   15729 _ACEOF
   15730 if ac_fn_c_try_link "$LINENO"
   15731 then :
   15732   eval $cacheid=yes
   15733 else $as_nop
   15734   eval $cacheid=no
   15735 fi
   15736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15737     conftest$ac_exeext conftest.$ac_ext
   15738 fi
   15739 
   15740 
   15741 		CFLAGS="$xorg_testset_save_CFLAGS"
   15742 
   15743 		eval supported=\$$cacheid
   15744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15745 printf "%s\n" "$supported" >&6; }
   15746 		if test "$supported" = "yes" ; then
   15747 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15748 			found="yes"
   15749 		fi
   15750 	fi
   15751 
   15752 	if test $found = "no" ; then
   15753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15755 		fi
   15756 
   15757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15759 		fi
   15760 
   15761 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15762 
   15763 		{ 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
   15764 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15765 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15766 		if eval test \${$cacheid+y}
   15767 then :
   15768   printf %s "(cached) " >&6
   15769 else $as_nop
   15770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15771 /* end confdefs.h.  */
   15772 int i;
   15773 int
   15774 main (void)
   15775 {
   15776 
   15777   ;
   15778   return 0;
   15779 }
   15780 _ACEOF
   15781 if ac_fn_c_try_link "$LINENO"
   15782 then :
   15783   eval $cacheid=yes
   15784 else $as_nop
   15785   eval $cacheid=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15788     conftest$ac_exeext conftest.$ac_ext
   15789 fi
   15790 
   15791 
   15792 		CFLAGS="$xorg_testset_save_CFLAGS"
   15793 
   15794 		eval supported=\$$cacheid
   15795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15796 printf "%s\n" "$supported" >&6; }
   15797 		if test "$supported" = "yes" ; then
   15798 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15799 			found="yes"
   15800 		fi
   15801 	fi
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 xorg_testset_save_CFLAGS="$CFLAGS"
   15818 
   15819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15822 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15823 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15824 then :
   15825   printf %s "(cached) " >&6
   15826 else $as_nop
   15827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15828 /* end confdefs.h.  */
   15829 int i;
   15830 _ACEOF
   15831 if ac_fn_c_try_compile "$LINENO"
   15832 then :
   15833   xorg_cv_cc_flag_unknown_warning_option=yes
   15834 else $as_nop
   15835   xorg_cv_cc_flag_unknown_warning_option=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15838 fi
   15839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15840 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15842 	CFLAGS="$xorg_testset_save_CFLAGS"
   15843 fi
   15844 
   15845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15848 	fi
   15849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15853 then :
   15854   printf %s "(cached) " >&6
   15855 else $as_nop
   15856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15857 /* end confdefs.h.  */
   15858 int i;
   15859 _ACEOF
   15860 if ac_fn_c_try_compile "$LINENO"
   15861 then :
   15862   xorg_cv_cc_flag_unused_command_line_argument=yes
   15863 else $as_nop
   15864   xorg_cv_cc_flag_unused_command_line_argument=no
   15865 fi
   15866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15867 fi
   15868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15869 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15871 	CFLAGS="$xorg_testset_save_CFLAGS"
   15872 fi
   15873 
   15874 found="no"
   15875 
   15876 	if test $found = "no" ; then
   15877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15879 		fi
   15880 
   15881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15883 		fi
   15884 
   15885 		CFLAGS="$CFLAGS -Werror=nonnull"
   15886 
   15887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15888 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15889 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15890 		if eval test \${$cacheid+y}
   15891 then :
   15892   printf %s "(cached) " >&6
   15893 else $as_nop
   15894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15895 /* end confdefs.h.  */
   15896 int i;
   15897 int
   15898 main (void)
   15899 {
   15900 
   15901   ;
   15902   return 0;
   15903 }
   15904 _ACEOF
   15905 if ac_fn_c_try_link "$LINENO"
   15906 then :
   15907   eval $cacheid=yes
   15908 else $as_nop
   15909   eval $cacheid=no
   15910 fi
   15911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15912     conftest$ac_exeext conftest.$ac_ext
   15913 fi
   15914 
   15915 
   15916 		CFLAGS="$xorg_testset_save_CFLAGS"
   15917 
   15918 		eval supported=\$$cacheid
   15919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15920 printf "%s\n" "$supported" >&6; }
   15921 		if test "$supported" = "yes" ; then
   15922 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15923 			found="yes"
   15924 		fi
   15925 	fi
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 xorg_testset_save_CFLAGS="$CFLAGS"
   15942 
   15943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15946 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15947 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15948 then :
   15949   printf %s "(cached) " >&6
   15950 else $as_nop
   15951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15952 /* end confdefs.h.  */
   15953 int i;
   15954 _ACEOF
   15955 if ac_fn_c_try_compile "$LINENO"
   15956 then :
   15957   xorg_cv_cc_flag_unknown_warning_option=yes
   15958 else $as_nop
   15959   xorg_cv_cc_flag_unknown_warning_option=no
   15960 fi
   15961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15962 fi
   15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15966 	CFLAGS="$xorg_testset_save_CFLAGS"
   15967 fi
   15968 
   15969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15972 	fi
   15973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15977 then :
   15978   printf %s "(cached) " >&6
   15979 else $as_nop
   15980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15981 /* end confdefs.h.  */
   15982 int i;
   15983 _ACEOF
   15984 if ac_fn_c_try_compile "$LINENO"
   15985 then :
   15986   xorg_cv_cc_flag_unused_command_line_argument=yes
   15987 else $as_nop
   15988   xorg_cv_cc_flag_unused_command_line_argument=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15991 fi
   15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15993 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15995 	CFLAGS="$xorg_testset_save_CFLAGS"
   15996 fi
   15997 
   15998 found="no"
   15999 
   16000 	if test $found = "no" ; then
   16001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16003 		fi
   16004 
   16005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16007 		fi
   16008 
   16009 		CFLAGS="$CFLAGS -Werror=init-self"
   16010 
   16011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16012 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16013 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16014 		if eval test \${$cacheid+y}
   16015 then :
   16016   printf %s "(cached) " >&6
   16017 else $as_nop
   16018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16019 /* end confdefs.h.  */
   16020 int i;
   16021 int
   16022 main (void)
   16023 {
   16024 
   16025   ;
   16026   return 0;
   16027 }
   16028 _ACEOF
   16029 if ac_fn_c_try_link "$LINENO"
   16030 then :
   16031   eval $cacheid=yes
   16032 else $as_nop
   16033   eval $cacheid=no
   16034 fi
   16035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16036     conftest$ac_exeext conftest.$ac_ext
   16037 fi
   16038 
   16039 
   16040 		CFLAGS="$xorg_testset_save_CFLAGS"
   16041 
   16042 		eval supported=\$$cacheid
   16043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16044 printf "%s\n" "$supported" >&6; }
   16045 		if test "$supported" = "yes" ; then
   16046 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16047 			found="yes"
   16048 		fi
   16049 	fi
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 xorg_testset_save_CFLAGS="$CFLAGS"
   16066 
   16067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16072 then :
   16073   printf %s "(cached) " >&6
   16074 else $as_nop
   16075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16076 /* end confdefs.h.  */
   16077 int i;
   16078 _ACEOF
   16079 if ac_fn_c_try_compile "$LINENO"
   16080 then :
   16081   xorg_cv_cc_flag_unknown_warning_option=yes
   16082 else $as_nop
   16083   xorg_cv_cc_flag_unknown_warning_option=no
   16084 fi
   16085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16086 fi
   16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16088 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16090 	CFLAGS="$xorg_testset_save_CFLAGS"
   16091 fi
   16092 
   16093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16096 	fi
   16097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16099 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16100 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16101 then :
   16102   printf %s "(cached) " >&6
   16103 else $as_nop
   16104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16105 /* end confdefs.h.  */
   16106 int i;
   16107 _ACEOF
   16108 if ac_fn_c_try_compile "$LINENO"
   16109 then :
   16110   xorg_cv_cc_flag_unused_command_line_argument=yes
   16111 else $as_nop
   16112   xorg_cv_cc_flag_unused_command_line_argument=no
   16113 fi
   16114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16115 fi
   16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16117 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16119 	CFLAGS="$xorg_testset_save_CFLAGS"
   16120 fi
   16121 
   16122 found="no"
   16123 
   16124 	if test $found = "no" ; then
   16125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16127 		fi
   16128 
   16129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16131 		fi
   16132 
   16133 		CFLAGS="$CFLAGS -Werror=main"
   16134 
   16135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16136 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16137 		cacheid=xorg_cv_cc_flag__Werror_main
   16138 		if eval test \${$cacheid+y}
   16139 then :
   16140   printf %s "(cached) " >&6
   16141 else $as_nop
   16142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16143 /* end confdefs.h.  */
   16144 int i;
   16145 int
   16146 main (void)
   16147 {
   16148 
   16149   ;
   16150   return 0;
   16151 }
   16152 _ACEOF
   16153 if ac_fn_c_try_link "$LINENO"
   16154 then :
   16155   eval $cacheid=yes
   16156 else $as_nop
   16157   eval $cacheid=no
   16158 fi
   16159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16160     conftest$ac_exeext conftest.$ac_ext
   16161 fi
   16162 
   16163 
   16164 		CFLAGS="$xorg_testset_save_CFLAGS"
   16165 
   16166 		eval supported=\$$cacheid
   16167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16168 printf "%s\n" "$supported" >&6; }
   16169 		if test "$supported" = "yes" ; then
   16170 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16171 			found="yes"
   16172 		fi
   16173 	fi
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 xorg_testset_save_CFLAGS="$CFLAGS"
   16190 
   16191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16194 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16195 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16196 then :
   16197   printf %s "(cached) " >&6
   16198 else $as_nop
   16199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16200 /* end confdefs.h.  */
   16201 int i;
   16202 _ACEOF
   16203 if ac_fn_c_try_compile "$LINENO"
   16204 then :
   16205   xorg_cv_cc_flag_unknown_warning_option=yes
   16206 else $as_nop
   16207   xorg_cv_cc_flag_unknown_warning_option=no
   16208 fi
   16209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16210 fi
   16211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16212 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16214 	CFLAGS="$xorg_testset_save_CFLAGS"
   16215 fi
   16216 
   16217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16220 	fi
   16221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16223 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16224 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16225 then :
   16226   printf %s "(cached) " >&6
   16227 else $as_nop
   16228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16229 /* end confdefs.h.  */
   16230 int i;
   16231 _ACEOF
   16232 if ac_fn_c_try_compile "$LINENO"
   16233 then :
   16234   xorg_cv_cc_flag_unused_command_line_argument=yes
   16235 else $as_nop
   16236   xorg_cv_cc_flag_unused_command_line_argument=no
   16237 fi
   16238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16239 fi
   16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16241 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16243 	CFLAGS="$xorg_testset_save_CFLAGS"
   16244 fi
   16245 
   16246 found="no"
   16247 
   16248 	if test $found = "no" ; then
   16249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16251 		fi
   16252 
   16253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16255 		fi
   16256 
   16257 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16258 
   16259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16260 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16261 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16262 		if eval test \${$cacheid+y}
   16263 then :
   16264   printf %s "(cached) " >&6
   16265 else $as_nop
   16266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16267 /* end confdefs.h.  */
   16268 int i;
   16269 int
   16270 main (void)
   16271 {
   16272 
   16273   ;
   16274   return 0;
   16275 }
   16276 _ACEOF
   16277 if ac_fn_c_try_link "$LINENO"
   16278 then :
   16279   eval $cacheid=yes
   16280 else $as_nop
   16281   eval $cacheid=no
   16282 fi
   16283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16284     conftest$ac_exeext conftest.$ac_ext
   16285 fi
   16286 
   16287 
   16288 		CFLAGS="$xorg_testset_save_CFLAGS"
   16289 
   16290 		eval supported=\$$cacheid
   16291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16292 printf "%s\n" "$supported" >&6; }
   16293 		if test "$supported" = "yes" ; then
   16294 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16295 			found="yes"
   16296 		fi
   16297 	fi
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 xorg_testset_save_CFLAGS="$CFLAGS"
   16314 
   16315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16318 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16319 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16320 then :
   16321   printf %s "(cached) " >&6
   16322 else $as_nop
   16323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16324 /* end confdefs.h.  */
   16325 int i;
   16326 _ACEOF
   16327 if ac_fn_c_try_compile "$LINENO"
   16328 then :
   16329   xorg_cv_cc_flag_unknown_warning_option=yes
   16330 else $as_nop
   16331   xorg_cv_cc_flag_unknown_warning_option=no
   16332 fi
   16333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16334 fi
   16335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16336 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16338 	CFLAGS="$xorg_testset_save_CFLAGS"
   16339 fi
   16340 
   16341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16344 	fi
   16345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16349 then :
   16350   printf %s "(cached) " >&6
   16351 else $as_nop
   16352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16353 /* end confdefs.h.  */
   16354 int i;
   16355 _ACEOF
   16356 if ac_fn_c_try_compile "$LINENO"
   16357 then :
   16358   xorg_cv_cc_flag_unused_command_line_argument=yes
   16359 else $as_nop
   16360   xorg_cv_cc_flag_unused_command_line_argument=no
   16361 fi
   16362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16363 fi
   16364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16365 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16367 	CFLAGS="$xorg_testset_save_CFLAGS"
   16368 fi
   16369 
   16370 found="no"
   16371 
   16372 	if test $found = "no" ; then
   16373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16375 		fi
   16376 
   16377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16379 		fi
   16380 
   16381 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16382 
   16383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16384 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16385 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16386 		if eval test \${$cacheid+y}
   16387 then :
   16388   printf %s "(cached) " >&6
   16389 else $as_nop
   16390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16391 /* end confdefs.h.  */
   16392 int i;
   16393 int
   16394 main (void)
   16395 {
   16396 
   16397   ;
   16398   return 0;
   16399 }
   16400 _ACEOF
   16401 if ac_fn_c_try_link "$LINENO"
   16402 then :
   16403   eval $cacheid=yes
   16404 else $as_nop
   16405   eval $cacheid=no
   16406 fi
   16407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16408     conftest$ac_exeext conftest.$ac_ext
   16409 fi
   16410 
   16411 
   16412 		CFLAGS="$xorg_testset_save_CFLAGS"
   16413 
   16414 		eval supported=\$$cacheid
   16415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16416 printf "%s\n" "$supported" >&6; }
   16417 		if test "$supported" = "yes" ; then
   16418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16419 			found="yes"
   16420 		fi
   16421 	fi
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 xorg_testset_save_CFLAGS="$CFLAGS"
   16438 
   16439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16444 then :
   16445   printf %s "(cached) " >&6
   16446 else $as_nop
   16447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16448 /* end confdefs.h.  */
   16449 int i;
   16450 _ACEOF
   16451 if ac_fn_c_try_compile "$LINENO"
   16452 then :
   16453   xorg_cv_cc_flag_unknown_warning_option=yes
   16454 else $as_nop
   16455   xorg_cv_cc_flag_unknown_warning_option=no
   16456 fi
   16457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16458 fi
   16459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16462 	CFLAGS="$xorg_testset_save_CFLAGS"
   16463 fi
   16464 
   16465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16468 	fi
   16469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16473 then :
   16474   printf %s "(cached) " >&6
   16475 else $as_nop
   16476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16477 /* end confdefs.h.  */
   16478 int i;
   16479 _ACEOF
   16480 if ac_fn_c_try_compile "$LINENO"
   16481 then :
   16482   xorg_cv_cc_flag_unused_command_line_argument=yes
   16483 else $as_nop
   16484   xorg_cv_cc_flag_unused_command_line_argument=no
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16487 fi
   16488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16489 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16491 	CFLAGS="$xorg_testset_save_CFLAGS"
   16492 fi
   16493 
   16494 found="no"
   16495 
   16496 	if test $found = "no" ; then
   16497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16499 		fi
   16500 
   16501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16503 		fi
   16504 
   16505 		CFLAGS="$CFLAGS -Werror=return-type"
   16506 
   16507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16508 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16509 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16510 		if eval test \${$cacheid+y}
   16511 then :
   16512   printf %s "(cached) " >&6
   16513 else $as_nop
   16514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16515 /* end confdefs.h.  */
   16516 int i;
   16517 int
   16518 main (void)
   16519 {
   16520 
   16521   ;
   16522   return 0;
   16523 }
   16524 _ACEOF
   16525 if ac_fn_c_try_link "$LINENO"
   16526 then :
   16527   eval $cacheid=yes
   16528 else $as_nop
   16529   eval $cacheid=no
   16530 fi
   16531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16532     conftest$ac_exeext conftest.$ac_ext
   16533 fi
   16534 
   16535 
   16536 		CFLAGS="$xorg_testset_save_CFLAGS"
   16537 
   16538 		eval supported=\$$cacheid
   16539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16540 printf "%s\n" "$supported" >&6; }
   16541 		if test "$supported" = "yes" ; then
   16542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16543 			found="yes"
   16544 		fi
   16545 	fi
   16546 
   16547 	if test $found = "no" ; then
   16548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16550 		fi
   16551 
   16552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16554 		fi
   16555 
   16556 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16557 
   16558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16559 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16560 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16561 		if eval test \${$cacheid+y}
   16562 then :
   16563   printf %s "(cached) " >&6
   16564 else $as_nop
   16565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 int
   16569 main (void)
   16570 {
   16571 
   16572   ;
   16573   return 0;
   16574 }
   16575 _ACEOF
   16576 if ac_fn_c_try_link "$LINENO"
   16577 then :
   16578   eval $cacheid=yes
   16579 else $as_nop
   16580   eval $cacheid=no
   16581 fi
   16582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16583     conftest$ac_exeext conftest.$ac_ext
   16584 fi
   16585 
   16586 
   16587 		CFLAGS="$xorg_testset_save_CFLAGS"
   16588 
   16589 		eval supported=\$$cacheid
   16590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16591 printf "%s\n" "$supported" >&6; }
   16592 		if test "$supported" = "yes" ; then
   16593 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16594 			found="yes"
   16595 		fi
   16596 	fi
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 xorg_testset_save_CFLAGS="$CFLAGS"
   16613 
   16614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16619 then :
   16620   printf %s "(cached) " >&6
   16621 else $as_nop
   16622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16623 /* end confdefs.h.  */
   16624 int i;
   16625 _ACEOF
   16626 if ac_fn_c_try_compile "$LINENO"
   16627 then :
   16628   xorg_cv_cc_flag_unknown_warning_option=yes
   16629 else $as_nop
   16630   xorg_cv_cc_flag_unknown_warning_option=no
   16631 fi
   16632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16633 fi
   16634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16637 	CFLAGS="$xorg_testset_save_CFLAGS"
   16638 fi
   16639 
   16640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16643 	fi
   16644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16648 then :
   16649   printf %s "(cached) " >&6
   16650 else $as_nop
   16651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16652 /* end confdefs.h.  */
   16653 int i;
   16654 _ACEOF
   16655 if ac_fn_c_try_compile "$LINENO"
   16656 then :
   16657   xorg_cv_cc_flag_unused_command_line_argument=yes
   16658 else $as_nop
   16659   xorg_cv_cc_flag_unused_command_line_argument=no
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16662 fi
   16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16666 	CFLAGS="$xorg_testset_save_CFLAGS"
   16667 fi
   16668 
   16669 found="no"
   16670 
   16671 	if test $found = "no" ; then
   16672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16674 		fi
   16675 
   16676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16678 		fi
   16679 
   16680 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16681 
   16682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16683 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16684 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16685 		if eval test \${$cacheid+y}
   16686 then :
   16687   printf %s "(cached) " >&6
   16688 else $as_nop
   16689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16690 /* end confdefs.h.  */
   16691 int i;
   16692 int
   16693 main (void)
   16694 {
   16695 
   16696   ;
   16697   return 0;
   16698 }
   16699 _ACEOF
   16700 if ac_fn_c_try_link "$LINENO"
   16701 then :
   16702   eval $cacheid=yes
   16703 else $as_nop
   16704   eval $cacheid=no
   16705 fi
   16706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16707     conftest$ac_exeext conftest.$ac_ext
   16708 fi
   16709 
   16710 
   16711 		CFLAGS="$xorg_testset_save_CFLAGS"
   16712 
   16713 		eval supported=\$$cacheid
   16714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16715 printf "%s\n" "$supported" >&6; }
   16716 		if test "$supported" = "yes" ; then
   16717 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16718 			found="yes"
   16719 		fi
   16720 	fi
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 xorg_testset_save_CFLAGS="$CFLAGS"
   16737 
   16738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16743 then :
   16744   printf %s "(cached) " >&6
   16745 else $as_nop
   16746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16747 /* end confdefs.h.  */
   16748 int i;
   16749 _ACEOF
   16750 if ac_fn_c_try_compile "$LINENO"
   16751 then :
   16752   xorg_cv_cc_flag_unknown_warning_option=yes
   16753 else $as_nop
   16754   xorg_cv_cc_flag_unknown_warning_option=no
   16755 fi
   16756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16757 fi
   16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16759 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16761 	CFLAGS="$xorg_testset_save_CFLAGS"
   16762 fi
   16763 
   16764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16767 	fi
   16768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16772 then :
   16773   printf %s "(cached) " >&6
   16774 else $as_nop
   16775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16776 /* end confdefs.h.  */
   16777 int i;
   16778 _ACEOF
   16779 if ac_fn_c_try_compile "$LINENO"
   16780 then :
   16781   xorg_cv_cc_flag_unused_command_line_argument=yes
   16782 else $as_nop
   16783   xorg_cv_cc_flag_unused_command_line_argument=no
   16784 fi
   16785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16786 fi
   16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16790 	CFLAGS="$xorg_testset_save_CFLAGS"
   16791 fi
   16792 
   16793 found="no"
   16794 
   16795 	if test $found = "no" ; then
   16796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16798 		fi
   16799 
   16800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16802 		fi
   16803 
   16804 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16805 
   16806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16807 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16808 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16809 		if eval test \${$cacheid+y}
   16810 then :
   16811   printf %s "(cached) " >&6
   16812 else $as_nop
   16813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16814 /* end confdefs.h.  */
   16815 int i;
   16816 int
   16817 main (void)
   16818 {
   16819 
   16820   ;
   16821   return 0;
   16822 }
   16823 _ACEOF
   16824 if ac_fn_c_try_link "$LINENO"
   16825 then :
   16826   eval $cacheid=yes
   16827 else $as_nop
   16828   eval $cacheid=no
   16829 fi
   16830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16831     conftest$ac_exeext conftest.$ac_ext
   16832 fi
   16833 
   16834 
   16835 		CFLAGS="$xorg_testset_save_CFLAGS"
   16836 
   16837 		eval supported=\$$cacheid
   16838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16839 printf "%s\n" "$supported" >&6; }
   16840 		if test "$supported" = "yes" ; then
   16841 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16842 			found="yes"
   16843 		fi
   16844 	fi
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 xorg_testset_save_CFLAGS="$CFLAGS"
   16861 
   16862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16867 then :
   16868   printf %s "(cached) " >&6
   16869 else $as_nop
   16870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16871 /* end confdefs.h.  */
   16872 int i;
   16873 _ACEOF
   16874 if ac_fn_c_try_compile "$LINENO"
   16875 then :
   16876   xorg_cv_cc_flag_unknown_warning_option=yes
   16877 else $as_nop
   16878   xorg_cv_cc_flag_unknown_warning_option=no
   16879 fi
   16880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16881 fi
   16882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16885 	CFLAGS="$xorg_testset_save_CFLAGS"
   16886 fi
   16887 
   16888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16891 	fi
   16892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16896 then :
   16897   printf %s "(cached) " >&6
   16898 else $as_nop
   16899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16900 /* end confdefs.h.  */
   16901 int i;
   16902 _ACEOF
   16903 if ac_fn_c_try_compile "$LINENO"
   16904 then :
   16905   xorg_cv_cc_flag_unused_command_line_argument=yes
   16906 else $as_nop
   16907   xorg_cv_cc_flag_unused_command_line_argument=no
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16910 fi
   16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16914 	CFLAGS="$xorg_testset_save_CFLAGS"
   16915 fi
   16916 
   16917 found="no"
   16918 
   16919 	if test $found = "no" ; then
   16920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16922 		fi
   16923 
   16924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16926 		fi
   16927 
   16928 		CFLAGS="$CFLAGS -Werror=write-strings"
   16929 
   16930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16931 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16932 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16933 		if eval test \${$cacheid+y}
   16934 then :
   16935   printf %s "(cached) " >&6
   16936 else $as_nop
   16937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16938 /* end confdefs.h.  */
   16939 int i;
   16940 int
   16941 main (void)
   16942 {
   16943 
   16944   ;
   16945   return 0;
   16946 }
   16947 _ACEOF
   16948 if ac_fn_c_try_link "$LINENO"
   16949 then :
   16950   eval $cacheid=yes
   16951 else $as_nop
   16952   eval $cacheid=no
   16953 fi
   16954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16955     conftest$ac_exeext conftest.$ac_ext
   16956 fi
   16957 
   16958 
   16959 		CFLAGS="$xorg_testset_save_CFLAGS"
   16960 
   16961 		eval supported=\$$cacheid
   16962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16963 printf "%s\n" "$supported" >&6; }
   16964 		if test "$supported" = "yes" ; then
   16965 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16966 			found="yes"
   16967 		fi
   16968 	fi
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 xorg_testset_save_CFLAGS="$CFLAGS"
   16985 
   16986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16989 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16990 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16991 then :
   16992   printf %s "(cached) " >&6
   16993 else $as_nop
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 int i;
   16997 _ACEOF
   16998 if ac_fn_c_try_compile "$LINENO"
   16999 then :
   17000   xorg_cv_cc_flag_unknown_warning_option=yes
   17001 else $as_nop
   17002   xorg_cv_cc_flag_unknown_warning_option=no
   17003 fi
   17004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17005 fi
   17006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17009 	CFLAGS="$xorg_testset_save_CFLAGS"
   17010 fi
   17011 
   17012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17015 	fi
   17016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17020 then :
   17021   printf %s "(cached) " >&6
   17022 else $as_nop
   17023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17024 /* end confdefs.h.  */
   17025 int i;
   17026 _ACEOF
   17027 if ac_fn_c_try_compile "$LINENO"
   17028 then :
   17029   xorg_cv_cc_flag_unused_command_line_argument=yes
   17030 else $as_nop
   17031   xorg_cv_cc_flag_unused_command_line_argument=no
   17032 fi
   17033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17034 fi
   17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17038 	CFLAGS="$xorg_testset_save_CFLAGS"
   17039 fi
   17040 
   17041 found="no"
   17042 
   17043 	if test $found = "no" ; then
   17044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17046 		fi
   17047 
   17048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17050 		fi
   17051 
   17052 		CFLAGS="$CFLAGS -Werror=address"
   17053 
   17054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17055 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17056 		cacheid=xorg_cv_cc_flag__Werror_address
   17057 		if eval test \${$cacheid+y}
   17058 then :
   17059   printf %s "(cached) " >&6
   17060 else $as_nop
   17061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17062 /* end confdefs.h.  */
   17063 int i;
   17064 int
   17065 main (void)
   17066 {
   17067 
   17068   ;
   17069   return 0;
   17070 }
   17071 _ACEOF
   17072 if ac_fn_c_try_link "$LINENO"
   17073 then :
   17074   eval $cacheid=yes
   17075 else $as_nop
   17076   eval $cacheid=no
   17077 fi
   17078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17079     conftest$ac_exeext conftest.$ac_ext
   17080 fi
   17081 
   17082 
   17083 		CFLAGS="$xorg_testset_save_CFLAGS"
   17084 
   17085 		eval supported=\$$cacheid
   17086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17087 printf "%s\n" "$supported" >&6; }
   17088 		if test "$supported" = "yes" ; then
   17089 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17090 			found="yes"
   17091 		fi
   17092 	fi
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 xorg_testset_save_CFLAGS="$CFLAGS"
   17109 
   17110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17113 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17114 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17115 then :
   17116   printf %s "(cached) " >&6
   17117 else $as_nop
   17118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17119 /* end confdefs.h.  */
   17120 int i;
   17121 _ACEOF
   17122 if ac_fn_c_try_compile "$LINENO"
   17123 then :
   17124   xorg_cv_cc_flag_unknown_warning_option=yes
   17125 else $as_nop
   17126   xorg_cv_cc_flag_unknown_warning_option=no
   17127 fi
   17128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17129 fi
   17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17133 	CFLAGS="$xorg_testset_save_CFLAGS"
   17134 fi
   17135 
   17136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17139 	fi
   17140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17144 then :
   17145   printf %s "(cached) " >&6
   17146 else $as_nop
   17147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 int i;
   17150 _ACEOF
   17151 if ac_fn_c_try_compile "$LINENO"
   17152 then :
   17153   xorg_cv_cc_flag_unused_command_line_argument=yes
   17154 else $as_nop
   17155   xorg_cv_cc_flag_unused_command_line_argument=no
   17156 fi
   17157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17158 fi
   17159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17160 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17162 	CFLAGS="$xorg_testset_save_CFLAGS"
   17163 fi
   17164 
   17165 found="no"
   17166 
   17167 	if test $found = "no" ; then
   17168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 		fi
   17171 
   17172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17174 		fi
   17175 
   17176 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17177 
   17178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17179 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17180 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17181 		if eval test \${$cacheid+y}
   17182 then :
   17183   printf %s "(cached) " >&6
   17184 else $as_nop
   17185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17186 /* end confdefs.h.  */
   17187 int i;
   17188 int
   17189 main (void)
   17190 {
   17191 
   17192   ;
   17193   return 0;
   17194 }
   17195 _ACEOF
   17196 if ac_fn_c_try_link "$LINENO"
   17197 then :
   17198   eval $cacheid=yes
   17199 else $as_nop
   17200   eval $cacheid=no
   17201 fi
   17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17203     conftest$ac_exeext conftest.$ac_ext
   17204 fi
   17205 
   17206 
   17207 		CFLAGS="$xorg_testset_save_CFLAGS"
   17208 
   17209 		eval supported=\$$cacheid
   17210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17211 printf "%s\n" "$supported" >&6; }
   17212 		if test "$supported" = "yes" ; then
   17213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17214 			found="yes"
   17215 		fi
   17216 	fi
   17217 
   17218 	if test $found = "no" ; then
   17219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17221 		fi
   17222 
   17223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17225 		fi
   17226 
   17227 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17228 
   17229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17230 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17231 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17232 		if eval test \${$cacheid+y}
   17233 then :
   17234   printf %s "(cached) " >&6
   17235 else $as_nop
   17236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 int
   17240 main (void)
   17241 {
   17242 
   17243   ;
   17244   return 0;
   17245 }
   17246 _ACEOF
   17247 if ac_fn_c_try_link "$LINENO"
   17248 then :
   17249   eval $cacheid=yes
   17250 else $as_nop
   17251   eval $cacheid=no
   17252 fi
   17253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17254     conftest$ac_exeext conftest.$ac_ext
   17255 fi
   17256 
   17257 
   17258 		CFLAGS="$xorg_testset_save_CFLAGS"
   17259 
   17260 		eval supported=\$$cacheid
   17261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17262 printf "%s\n" "$supported" >&6; }
   17263 		if test "$supported" = "yes" ; then
   17264 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17265 			found="yes"
   17266 		fi
   17267 	fi
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 xorg_testset_save_CFLAGS="$CFLAGS"
   17284 
   17285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17288 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17289 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17290 then :
   17291   printf %s "(cached) " >&6
   17292 else $as_nop
   17293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 _ACEOF
   17297 if ac_fn_c_try_compile "$LINENO"
   17298 then :
   17299   xorg_cv_cc_flag_unknown_warning_option=yes
   17300 else $as_nop
   17301   xorg_cv_cc_flag_unknown_warning_option=no
   17302 fi
   17303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17304 fi
   17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17306 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17308 	CFLAGS="$xorg_testset_save_CFLAGS"
   17309 fi
   17310 
   17311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17314 	fi
   17315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17317 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17318 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17319 then :
   17320   printf %s "(cached) " >&6
   17321 else $as_nop
   17322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17323 /* end confdefs.h.  */
   17324 int i;
   17325 _ACEOF
   17326 if ac_fn_c_try_compile "$LINENO"
   17327 then :
   17328   xorg_cv_cc_flag_unused_command_line_argument=yes
   17329 else $as_nop
   17330   xorg_cv_cc_flag_unused_command_line_argument=no
   17331 fi
   17332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17333 fi
   17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17335 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17337 	CFLAGS="$xorg_testset_save_CFLAGS"
   17338 fi
   17339 
   17340 found="no"
   17341 
   17342 	if test $found = "no" ; then
   17343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17345 		fi
   17346 
   17347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17349 		fi
   17350 
   17351 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17352 
   17353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17354 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17355 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17356 		if eval test \${$cacheid+y}
   17357 then :
   17358   printf %s "(cached) " >&6
   17359 else $as_nop
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 int
   17364 main (void)
   17365 {
   17366 
   17367   ;
   17368   return 0;
   17369 }
   17370 _ACEOF
   17371 if ac_fn_c_try_link "$LINENO"
   17372 then :
   17373   eval $cacheid=yes
   17374 else $as_nop
   17375   eval $cacheid=no
   17376 fi
   17377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17378     conftest$ac_exeext conftest.$ac_ext
   17379 fi
   17380 
   17381 
   17382 		CFLAGS="$xorg_testset_save_CFLAGS"
   17383 
   17384 		eval supported=\$$cacheid
   17385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17386 printf "%s\n" "$supported" >&6; }
   17387 		if test "$supported" = "yes" ; then
   17388 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17389 			found="yes"
   17390 		fi
   17391 	fi
   17392 
   17393  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17394 else
   17395 { 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
   17396 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;}
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 xorg_testset_save_CFLAGS="$CFLAGS"
   17411 
   17412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17417 then :
   17418   printf %s "(cached) " >&6
   17419 else $as_nop
   17420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17421 /* end confdefs.h.  */
   17422 int i;
   17423 _ACEOF
   17424 if ac_fn_c_try_compile "$LINENO"
   17425 then :
   17426   xorg_cv_cc_flag_unknown_warning_option=yes
   17427 else $as_nop
   17428   xorg_cv_cc_flag_unknown_warning_option=no
   17429 fi
   17430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17431 fi
   17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17433 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17435 	CFLAGS="$xorg_testset_save_CFLAGS"
   17436 fi
   17437 
   17438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17441 	fi
   17442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17444 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17445 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17446 then :
   17447   printf %s "(cached) " >&6
   17448 else $as_nop
   17449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17450 /* end confdefs.h.  */
   17451 int i;
   17452 _ACEOF
   17453 if ac_fn_c_try_compile "$LINENO"
   17454 then :
   17455   xorg_cv_cc_flag_unused_command_line_argument=yes
   17456 else $as_nop
   17457   xorg_cv_cc_flag_unused_command_line_argument=no
   17458 fi
   17459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17460 fi
   17461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17462 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17464 	CFLAGS="$xorg_testset_save_CFLAGS"
   17465 fi
   17466 
   17467 found="no"
   17468 
   17469 	if test $found = "no" ; then
   17470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17472 		fi
   17473 
   17474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17476 		fi
   17477 
   17478 		CFLAGS="$CFLAGS -Wimplicit"
   17479 
   17480 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17481 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17482 		cacheid=xorg_cv_cc_flag__Wimplicit
   17483 		if eval test \${$cacheid+y}
   17484 then :
   17485   printf %s "(cached) " >&6
   17486 else $as_nop
   17487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17488 /* end confdefs.h.  */
   17489 int i;
   17490 int
   17491 main (void)
   17492 {
   17493 
   17494   ;
   17495   return 0;
   17496 }
   17497 _ACEOF
   17498 if ac_fn_c_try_link "$LINENO"
   17499 then :
   17500   eval $cacheid=yes
   17501 else $as_nop
   17502   eval $cacheid=no
   17503 fi
   17504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17505     conftest$ac_exeext conftest.$ac_ext
   17506 fi
   17507 
   17508 
   17509 		CFLAGS="$xorg_testset_save_CFLAGS"
   17510 
   17511 		eval supported=\$$cacheid
   17512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17513 printf "%s\n" "$supported" >&6; }
   17514 		if test "$supported" = "yes" ; then
   17515 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17516 			found="yes"
   17517 		fi
   17518 	fi
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 xorg_testset_save_CFLAGS="$CFLAGS"
   17535 
   17536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17539 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17540 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17541 then :
   17542   printf %s "(cached) " >&6
   17543 else $as_nop
   17544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17545 /* end confdefs.h.  */
   17546 int i;
   17547 _ACEOF
   17548 if ac_fn_c_try_compile "$LINENO"
   17549 then :
   17550   xorg_cv_cc_flag_unknown_warning_option=yes
   17551 else $as_nop
   17552   xorg_cv_cc_flag_unknown_warning_option=no
   17553 fi
   17554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17555 fi
   17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17557 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17559 	CFLAGS="$xorg_testset_save_CFLAGS"
   17560 fi
   17561 
   17562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17565 	fi
   17566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17568 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17569 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17570 then :
   17571   printf %s "(cached) " >&6
   17572 else $as_nop
   17573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17574 /* end confdefs.h.  */
   17575 int i;
   17576 _ACEOF
   17577 if ac_fn_c_try_compile "$LINENO"
   17578 then :
   17579   xorg_cv_cc_flag_unused_command_line_argument=yes
   17580 else $as_nop
   17581   xorg_cv_cc_flag_unused_command_line_argument=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17584 fi
   17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17586 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17588 	CFLAGS="$xorg_testset_save_CFLAGS"
   17589 fi
   17590 
   17591 found="no"
   17592 
   17593 	if test $found = "no" ; then
   17594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17596 		fi
   17597 
   17598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17600 		fi
   17601 
   17602 		CFLAGS="$CFLAGS -Wnonnull"
   17603 
   17604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17605 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17606 		cacheid=xorg_cv_cc_flag__Wnonnull
   17607 		if eval test \${$cacheid+y}
   17608 then :
   17609   printf %s "(cached) " >&6
   17610 else $as_nop
   17611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17612 /* end confdefs.h.  */
   17613 int i;
   17614 int
   17615 main (void)
   17616 {
   17617 
   17618   ;
   17619   return 0;
   17620 }
   17621 _ACEOF
   17622 if ac_fn_c_try_link "$LINENO"
   17623 then :
   17624   eval $cacheid=yes
   17625 else $as_nop
   17626   eval $cacheid=no
   17627 fi
   17628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17629     conftest$ac_exeext conftest.$ac_ext
   17630 fi
   17631 
   17632 
   17633 		CFLAGS="$xorg_testset_save_CFLAGS"
   17634 
   17635 		eval supported=\$$cacheid
   17636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17637 printf "%s\n" "$supported" >&6; }
   17638 		if test "$supported" = "yes" ; then
   17639 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17640 			found="yes"
   17641 		fi
   17642 	fi
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 xorg_testset_save_CFLAGS="$CFLAGS"
   17659 
   17660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17664 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17665 then :
   17666   printf %s "(cached) " >&6
   17667 else $as_nop
   17668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17669 /* end confdefs.h.  */
   17670 int i;
   17671 _ACEOF
   17672 if ac_fn_c_try_compile "$LINENO"
   17673 then :
   17674   xorg_cv_cc_flag_unknown_warning_option=yes
   17675 else $as_nop
   17676   xorg_cv_cc_flag_unknown_warning_option=no
   17677 fi
   17678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17679 fi
   17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17681 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17683 	CFLAGS="$xorg_testset_save_CFLAGS"
   17684 fi
   17685 
   17686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17689 	fi
   17690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17692 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17693 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17694 then :
   17695   printf %s "(cached) " >&6
   17696 else $as_nop
   17697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17698 /* end confdefs.h.  */
   17699 int i;
   17700 _ACEOF
   17701 if ac_fn_c_try_compile "$LINENO"
   17702 then :
   17703   xorg_cv_cc_flag_unused_command_line_argument=yes
   17704 else $as_nop
   17705   xorg_cv_cc_flag_unused_command_line_argument=no
   17706 fi
   17707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17708 fi
   17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17710 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17712 	CFLAGS="$xorg_testset_save_CFLAGS"
   17713 fi
   17714 
   17715 found="no"
   17716 
   17717 	if test $found = "no" ; then
   17718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17720 		fi
   17721 
   17722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17724 		fi
   17725 
   17726 		CFLAGS="$CFLAGS -Winit-self"
   17727 
   17728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17729 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17730 		cacheid=xorg_cv_cc_flag__Winit_self
   17731 		if eval test \${$cacheid+y}
   17732 then :
   17733   printf %s "(cached) " >&6
   17734 else $as_nop
   17735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17736 /* end confdefs.h.  */
   17737 int i;
   17738 int
   17739 main (void)
   17740 {
   17741 
   17742   ;
   17743   return 0;
   17744 }
   17745 _ACEOF
   17746 if ac_fn_c_try_link "$LINENO"
   17747 then :
   17748   eval $cacheid=yes
   17749 else $as_nop
   17750   eval $cacheid=no
   17751 fi
   17752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17753     conftest$ac_exeext conftest.$ac_ext
   17754 fi
   17755 
   17756 
   17757 		CFLAGS="$xorg_testset_save_CFLAGS"
   17758 
   17759 		eval supported=\$$cacheid
   17760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17761 printf "%s\n" "$supported" >&6; }
   17762 		if test "$supported" = "yes" ; then
   17763 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17764 			found="yes"
   17765 		fi
   17766 	fi
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 xorg_testset_save_CFLAGS="$CFLAGS"
   17783 
   17784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17789 then :
   17790   printf %s "(cached) " >&6
   17791 else $as_nop
   17792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17793 /* end confdefs.h.  */
   17794 int i;
   17795 _ACEOF
   17796 if ac_fn_c_try_compile "$LINENO"
   17797 then :
   17798   xorg_cv_cc_flag_unknown_warning_option=yes
   17799 else $as_nop
   17800   xorg_cv_cc_flag_unknown_warning_option=no
   17801 fi
   17802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17803 fi
   17804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17805 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17807 	CFLAGS="$xorg_testset_save_CFLAGS"
   17808 fi
   17809 
   17810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17813 	fi
   17814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17816 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17817 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17818 then :
   17819   printf %s "(cached) " >&6
   17820 else $as_nop
   17821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17822 /* end confdefs.h.  */
   17823 int i;
   17824 _ACEOF
   17825 if ac_fn_c_try_compile "$LINENO"
   17826 then :
   17827   xorg_cv_cc_flag_unused_command_line_argument=yes
   17828 else $as_nop
   17829   xorg_cv_cc_flag_unused_command_line_argument=no
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17832 fi
   17833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17834 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17836 	CFLAGS="$xorg_testset_save_CFLAGS"
   17837 fi
   17838 
   17839 found="no"
   17840 
   17841 	if test $found = "no" ; then
   17842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17844 		fi
   17845 
   17846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17848 		fi
   17849 
   17850 		CFLAGS="$CFLAGS -Wmain"
   17851 
   17852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17853 printf %s "checking if $CC supports -Wmain... " >&6; }
   17854 		cacheid=xorg_cv_cc_flag__Wmain
   17855 		if eval test \${$cacheid+y}
   17856 then :
   17857   printf %s "(cached) " >&6
   17858 else $as_nop
   17859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17860 /* end confdefs.h.  */
   17861 int i;
   17862 int
   17863 main (void)
   17864 {
   17865 
   17866   ;
   17867   return 0;
   17868 }
   17869 _ACEOF
   17870 if ac_fn_c_try_link "$LINENO"
   17871 then :
   17872   eval $cacheid=yes
   17873 else $as_nop
   17874   eval $cacheid=no
   17875 fi
   17876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17877     conftest$ac_exeext conftest.$ac_ext
   17878 fi
   17879 
   17880 
   17881 		CFLAGS="$xorg_testset_save_CFLAGS"
   17882 
   17883 		eval supported=\$$cacheid
   17884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17885 printf "%s\n" "$supported" >&6; }
   17886 		if test "$supported" = "yes" ; then
   17887 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17888 			found="yes"
   17889 		fi
   17890 	fi
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 xorg_testset_save_CFLAGS="$CFLAGS"
   17907 
   17908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17911 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17912 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17913 then :
   17914   printf %s "(cached) " >&6
   17915 else $as_nop
   17916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17917 /* end confdefs.h.  */
   17918 int i;
   17919 _ACEOF
   17920 if ac_fn_c_try_compile "$LINENO"
   17921 then :
   17922   xorg_cv_cc_flag_unknown_warning_option=yes
   17923 else $as_nop
   17924   xorg_cv_cc_flag_unknown_warning_option=no
   17925 fi
   17926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17927 fi
   17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17929 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17931 	CFLAGS="$xorg_testset_save_CFLAGS"
   17932 fi
   17933 
   17934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17937 	fi
   17938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17940 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17941 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17942 then :
   17943   printf %s "(cached) " >&6
   17944 else $as_nop
   17945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17946 /* end confdefs.h.  */
   17947 int i;
   17948 _ACEOF
   17949 if ac_fn_c_try_compile "$LINENO"
   17950 then :
   17951   xorg_cv_cc_flag_unused_command_line_argument=yes
   17952 else $as_nop
   17953   xorg_cv_cc_flag_unused_command_line_argument=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17956 fi
   17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17958 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17960 	CFLAGS="$xorg_testset_save_CFLAGS"
   17961 fi
   17962 
   17963 found="no"
   17964 
   17965 	if test $found = "no" ; then
   17966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17968 		fi
   17969 
   17970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17972 		fi
   17973 
   17974 		CFLAGS="$CFLAGS -Wmissing-braces"
   17975 
   17976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17977 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17978 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17979 		if eval test \${$cacheid+y}
   17980 then :
   17981   printf %s "(cached) " >&6
   17982 else $as_nop
   17983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17984 /* end confdefs.h.  */
   17985 int i;
   17986 int
   17987 main (void)
   17988 {
   17989 
   17990   ;
   17991   return 0;
   17992 }
   17993 _ACEOF
   17994 if ac_fn_c_try_link "$LINENO"
   17995 then :
   17996   eval $cacheid=yes
   17997 else $as_nop
   17998   eval $cacheid=no
   17999 fi
   18000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18001     conftest$ac_exeext conftest.$ac_ext
   18002 fi
   18003 
   18004 
   18005 		CFLAGS="$xorg_testset_save_CFLAGS"
   18006 
   18007 		eval supported=\$$cacheid
   18008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18009 printf "%s\n" "$supported" >&6; }
   18010 		if test "$supported" = "yes" ; then
   18011 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18012 			found="yes"
   18013 		fi
   18014 	fi
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 xorg_testset_save_CFLAGS="$CFLAGS"
   18031 
   18032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18037 then :
   18038   printf %s "(cached) " >&6
   18039 else $as_nop
   18040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18041 /* end confdefs.h.  */
   18042 int i;
   18043 _ACEOF
   18044 if ac_fn_c_try_compile "$LINENO"
   18045 then :
   18046   xorg_cv_cc_flag_unknown_warning_option=yes
   18047 else $as_nop
   18048   xorg_cv_cc_flag_unknown_warning_option=no
   18049 fi
   18050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18051 fi
   18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18055 	CFLAGS="$xorg_testset_save_CFLAGS"
   18056 fi
   18057 
   18058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18061 	fi
   18062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18066 then :
   18067   printf %s "(cached) " >&6
   18068 else $as_nop
   18069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18070 /* end confdefs.h.  */
   18071 int i;
   18072 _ACEOF
   18073 if ac_fn_c_try_compile "$LINENO"
   18074 then :
   18075   xorg_cv_cc_flag_unused_command_line_argument=yes
   18076 else $as_nop
   18077   xorg_cv_cc_flag_unused_command_line_argument=no
   18078 fi
   18079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18080 fi
   18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18084 	CFLAGS="$xorg_testset_save_CFLAGS"
   18085 fi
   18086 
   18087 found="no"
   18088 
   18089 	if test $found = "no" ; then
   18090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18092 		fi
   18093 
   18094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18096 		fi
   18097 
   18098 		CFLAGS="$CFLAGS -Wsequence-point"
   18099 
   18100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18101 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18102 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18103 		if eval test \${$cacheid+y}
   18104 then :
   18105   printf %s "(cached) " >&6
   18106 else $as_nop
   18107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18108 /* end confdefs.h.  */
   18109 int i;
   18110 int
   18111 main (void)
   18112 {
   18113 
   18114   ;
   18115   return 0;
   18116 }
   18117 _ACEOF
   18118 if ac_fn_c_try_link "$LINENO"
   18119 then :
   18120   eval $cacheid=yes
   18121 else $as_nop
   18122   eval $cacheid=no
   18123 fi
   18124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18125     conftest$ac_exeext conftest.$ac_ext
   18126 fi
   18127 
   18128 
   18129 		CFLAGS="$xorg_testset_save_CFLAGS"
   18130 
   18131 		eval supported=\$$cacheid
   18132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18133 printf "%s\n" "$supported" >&6; }
   18134 		if test "$supported" = "yes" ; then
   18135 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18136 			found="yes"
   18137 		fi
   18138 	fi
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 
   18151 
   18152 
   18153 
   18154 xorg_testset_save_CFLAGS="$CFLAGS"
   18155 
   18156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18159 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18160 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18161 then :
   18162   printf %s "(cached) " >&6
   18163 else $as_nop
   18164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18165 /* end confdefs.h.  */
   18166 int i;
   18167 _ACEOF
   18168 if ac_fn_c_try_compile "$LINENO"
   18169 then :
   18170   xorg_cv_cc_flag_unknown_warning_option=yes
   18171 else $as_nop
   18172   xorg_cv_cc_flag_unknown_warning_option=no
   18173 fi
   18174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18175 fi
   18176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18177 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18179 	CFLAGS="$xorg_testset_save_CFLAGS"
   18180 fi
   18181 
   18182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18185 	fi
   18186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18188 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18189 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18190 then :
   18191   printf %s "(cached) " >&6
   18192 else $as_nop
   18193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18194 /* end confdefs.h.  */
   18195 int i;
   18196 _ACEOF
   18197 if ac_fn_c_try_compile "$LINENO"
   18198 then :
   18199   xorg_cv_cc_flag_unused_command_line_argument=yes
   18200 else $as_nop
   18201   xorg_cv_cc_flag_unused_command_line_argument=no
   18202 fi
   18203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18204 fi
   18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18206 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18208 	CFLAGS="$xorg_testset_save_CFLAGS"
   18209 fi
   18210 
   18211 found="no"
   18212 
   18213 	if test $found = "no" ; then
   18214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18216 		fi
   18217 
   18218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18220 		fi
   18221 
   18222 		CFLAGS="$CFLAGS -Wreturn-type"
   18223 
   18224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18225 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18226 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18227 		if eval test \${$cacheid+y}
   18228 then :
   18229   printf %s "(cached) " >&6
   18230 else $as_nop
   18231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18232 /* end confdefs.h.  */
   18233 int i;
   18234 int
   18235 main (void)
   18236 {
   18237 
   18238   ;
   18239   return 0;
   18240 }
   18241 _ACEOF
   18242 if ac_fn_c_try_link "$LINENO"
   18243 then :
   18244   eval $cacheid=yes
   18245 else $as_nop
   18246   eval $cacheid=no
   18247 fi
   18248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18249     conftest$ac_exeext conftest.$ac_ext
   18250 fi
   18251 
   18252 
   18253 		CFLAGS="$xorg_testset_save_CFLAGS"
   18254 
   18255 		eval supported=\$$cacheid
   18256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18257 printf "%s\n" "$supported" >&6; }
   18258 		if test "$supported" = "yes" ; then
   18259 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18260 			found="yes"
   18261 		fi
   18262 	fi
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 
   18274 
   18275 
   18276 
   18277 
   18278 xorg_testset_save_CFLAGS="$CFLAGS"
   18279 
   18280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18283 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18284 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18285 then :
   18286   printf %s "(cached) " >&6
   18287 else $as_nop
   18288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18289 /* end confdefs.h.  */
   18290 int i;
   18291 _ACEOF
   18292 if ac_fn_c_try_compile "$LINENO"
   18293 then :
   18294   xorg_cv_cc_flag_unknown_warning_option=yes
   18295 else $as_nop
   18296   xorg_cv_cc_flag_unknown_warning_option=no
   18297 fi
   18298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18299 fi
   18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18301 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18303 	CFLAGS="$xorg_testset_save_CFLAGS"
   18304 fi
   18305 
   18306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18309 	fi
   18310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18312 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18313 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18314 then :
   18315   printf %s "(cached) " >&6
   18316 else $as_nop
   18317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18318 /* end confdefs.h.  */
   18319 int i;
   18320 _ACEOF
   18321 if ac_fn_c_try_compile "$LINENO"
   18322 then :
   18323   xorg_cv_cc_flag_unused_command_line_argument=yes
   18324 else $as_nop
   18325   xorg_cv_cc_flag_unused_command_line_argument=no
   18326 fi
   18327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18328 fi
   18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18330 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18332 	CFLAGS="$xorg_testset_save_CFLAGS"
   18333 fi
   18334 
   18335 found="no"
   18336 
   18337 	if test $found = "no" ; then
   18338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18340 		fi
   18341 
   18342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18344 		fi
   18345 
   18346 		CFLAGS="$CFLAGS -Wtrigraphs"
   18347 
   18348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18349 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18350 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18351 		if eval test \${$cacheid+y}
   18352 then :
   18353   printf %s "(cached) " >&6
   18354 else $as_nop
   18355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18356 /* end confdefs.h.  */
   18357 int i;
   18358 int
   18359 main (void)
   18360 {
   18361 
   18362   ;
   18363   return 0;
   18364 }
   18365 _ACEOF
   18366 if ac_fn_c_try_link "$LINENO"
   18367 then :
   18368   eval $cacheid=yes
   18369 else $as_nop
   18370   eval $cacheid=no
   18371 fi
   18372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18373     conftest$ac_exeext conftest.$ac_ext
   18374 fi
   18375 
   18376 
   18377 		CFLAGS="$xorg_testset_save_CFLAGS"
   18378 
   18379 		eval supported=\$$cacheid
   18380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18381 printf "%s\n" "$supported" >&6; }
   18382 		if test "$supported" = "yes" ; then
   18383 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18384 			found="yes"
   18385 		fi
   18386 	fi
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 xorg_testset_save_CFLAGS="$CFLAGS"
   18403 
   18404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18407 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18408 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18409 then :
   18410   printf %s "(cached) " >&6
   18411 else $as_nop
   18412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18413 /* end confdefs.h.  */
   18414 int i;
   18415 _ACEOF
   18416 if ac_fn_c_try_compile "$LINENO"
   18417 then :
   18418   xorg_cv_cc_flag_unknown_warning_option=yes
   18419 else $as_nop
   18420   xorg_cv_cc_flag_unknown_warning_option=no
   18421 fi
   18422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18423 fi
   18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18425 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18427 	CFLAGS="$xorg_testset_save_CFLAGS"
   18428 fi
   18429 
   18430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18433 	fi
   18434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18436 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18437 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18438 then :
   18439   printf %s "(cached) " >&6
   18440 else $as_nop
   18441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18442 /* end confdefs.h.  */
   18443 int i;
   18444 _ACEOF
   18445 if ac_fn_c_try_compile "$LINENO"
   18446 then :
   18447   xorg_cv_cc_flag_unused_command_line_argument=yes
   18448 else $as_nop
   18449   xorg_cv_cc_flag_unused_command_line_argument=no
   18450 fi
   18451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18452 fi
   18453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18454 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18456 	CFLAGS="$xorg_testset_save_CFLAGS"
   18457 fi
   18458 
   18459 found="no"
   18460 
   18461 	if test $found = "no" ; then
   18462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18464 		fi
   18465 
   18466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18468 		fi
   18469 
   18470 		CFLAGS="$CFLAGS -Warray-bounds"
   18471 
   18472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18473 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18474 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18475 		if eval test \${$cacheid+y}
   18476 then :
   18477   printf %s "(cached) " >&6
   18478 else $as_nop
   18479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18480 /* end confdefs.h.  */
   18481 int i;
   18482 int
   18483 main (void)
   18484 {
   18485 
   18486   ;
   18487   return 0;
   18488 }
   18489 _ACEOF
   18490 if ac_fn_c_try_link "$LINENO"
   18491 then :
   18492   eval $cacheid=yes
   18493 else $as_nop
   18494   eval $cacheid=no
   18495 fi
   18496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18497     conftest$ac_exeext conftest.$ac_ext
   18498 fi
   18499 
   18500 
   18501 		CFLAGS="$xorg_testset_save_CFLAGS"
   18502 
   18503 		eval supported=\$$cacheid
   18504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18505 printf "%s\n" "$supported" >&6; }
   18506 		if test "$supported" = "yes" ; then
   18507 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18508 			found="yes"
   18509 		fi
   18510 	fi
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 
   18524 
   18525 
   18526 xorg_testset_save_CFLAGS="$CFLAGS"
   18527 
   18528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18531 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18532 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18533 then :
   18534   printf %s "(cached) " >&6
   18535 else $as_nop
   18536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18537 /* end confdefs.h.  */
   18538 int i;
   18539 _ACEOF
   18540 if ac_fn_c_try_compile "$LINENO"
   18541 then :
   18542   xorg_cv_cc_flag_unknown_warning_option=yes
   18543 else $as_nop
   18544   xorg_cv_cc_flag_unknown_warning_option=no
   18545 fi
   18546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18547 fi
   18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18549 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18551 	CFLAGS="$xorg_testset_save_CFLAGS"
   18552 fi
   18553 
   18554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18557 	fi
   18558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18560 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18561 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18562 then :
   18563   printf %s "(cached) " >&6
   18564 else $as_nop
   18565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18566 /* end confdefs.h.  */
   18567 int i;
   18568 _ACEOF
   18569 if ac_fn_c_try_compile "$LINENO"
   18570 then :
   18571   xorg_cv_cc_flag_unused_command_line_argument=yes
   18572 else $as_nop
   18573   xorg_cv_cc_flag_unused_command_line_argument=no
   18574 fi
   18575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18576 fi
   18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18578 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18580 	CFLAGS="$xorg_testset_save_CFLAGS"
   18581 fi
   18582 
   18583 found="no"
   18584 
   18585 	if test $found = "no" ; then
   18586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18588 		fi
   18589 
   18590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18592 		fi
   18593 
   18594 		CFLAGS="$CFLAGS -Wwrite-strings"
   18595 
   18596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18597 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18598 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18599 		if eval test \${$cacheid+y}
   18600 then :
   18601   printf %s "(cached) " >&6
   18602 else $as_nop
   18603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18604 /* end confdefs.h.  */
   18605 int i;
   18606 int
   18607 main (void)
   18608 {
   18609 
   18610   ;
   18611   return 0;
   18612 }
   18613 _ACEOF
   18614 if ac_fn_c_try_link "$LINENO"
   18615 then :
   18616   eval $cacheid=yes
   18617 else $as_nop
   18618   eval $cacheid=no
   18619 fi
   18620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18621     conftest$ac_exeext conftest.$ac_ext
   18622 fi
   18623 
   18624 
   18625 		CFLAGS="$xorg_testset_save_CFLAGS"
   18626 
   18627 		eval supported=\$$cacheid
   18628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18629 printf "%s\n" "$supported" >&6; }
   18630 		if test "$supported" = "yes" ; then
   18631 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18632 			found="yes"
   18633 		fi
   18634 	fi
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 
   18650 xorg_testset_save_CFLAGS="$CFLAGS"
   18651 
   18652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18655 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18656 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18657 then :
   18658   printf %s "(cached) " >&6
   18659 else $as_nop
   18660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18661 /* end confdefs.h.  */
   18662 int i;
   18663 _ACEOF
   18664 if ac_fn_c_try_compile "$LINENO"
   18665 then :
   18666   xorg_cv_cc_flag_unknown_warning_option=yes
   18667 else $as_nop
   18668   xorg_cv_cc_flag_unknown_warning_option=no
   18669 fi
   18670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18671 fi
   18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18673 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18675 	CFLAGS="$xorg_testset_save_CFLAGS"
   18676 fi
   18677 
   18678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18681 	fi
   18682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18686 then :
   18687   printf %s "(cached) " >&6
   18688 else $as_nop
   18689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18690 /* end confdefs.h.  */
   18691 int i;
   18692 _ACEOF
   18693 if ac_fn_c_try_compile "$LINENO"
   18694 then :
   18695   xorg_cv_cc_flag_unused_command_line_argument=yes
   18696 else $as_nop
   18697   xorg_cv_cc_flag_unused_command_line_argument=no
   18698 fi
   18699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18700 fi
   18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18702 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18704 	CFLAGS="$xorg_testset_save_CFLAGS"
   18705 fi
   18706 
   18707 found="no"
   18708 
   18709 	if test $found = "no" ; then
   18710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18712 		fi
   18713 
   18714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18716 		fi
   18717 
   18718 		CFLAGS="$CFLAGS -Waddress"
   18719 
   18720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18721 printf %s "checking if $CC supports -Waddress... " >&6; }
   18722 		cacheid=xorg_cv_cc_flag__Waddress
   18723 		if eval test \${$cacheid+y}
   18724 then :
   18725   printf %s "(cached) " >&6
   18726 else $as_nop
   18727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18728 /* end confdefs.h.  */
   18729 int i;
   18730 int
   18731 main (void)
   18732 {
   18733 
   18734   ;
   18735   return 0;
   18736 }
   18737 _ACEOF
   18738 if ac_fn_c_try_link "$LINENO"
   18739 then :
   18740   eval $cacheid=yes
   18741 else $as_nop
   18742   eval $cacheid=no
   18743 fi
   18744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18745     conftest$ac_exeext conftest.$ac_ext
   18746 fi
   18747 
   18748 
   18749 		CFLAGS="$xorg_testset_save_CFLAGS"
   18750 
   18751 		eval supported=\$$cacheid
   18752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18753 printf "%s\n" "$supported" >&6; }
   18754 		if test "$supported" = "yes" ; then
   18755 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18756 			found="yes"
   18757 		fi
   18758 	fi
   18759 
   18760 
   18761 
   18762 
   18763 
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 xorg_testset_save_CFLAGS="$CFLAGS"
   18775 
   18776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18779 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18780 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18781 then :
   18782   printf %s "(cached) " >&6
   18783 else $as_nop
   18784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18785 /* end confdefs.h.  */
   18786 int i;
   18787 _ACEOF
   18788 if ac_fn_c_try_compile "$LINENO"
   18789 then :
   18790   xorg_cv_cc_flag_unknown_warning_option=yes
   18791 else $as_nop
   18792   xorg_cv_cc_flag_unknown_warning_option=no
   18793 fi
   18794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18795 fi
   18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18799 	CFLAGS="$xorg_testset_save_CFLAGS"
   18800 fi
   18801 
   18802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18805 	fi
   18806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18810 then :
   18811   printf %s "(cached) " >&6
   18812 else $as_nop
   18813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18814 /* end confdefs.h.  */
   18815 int i;
   18816 _ACEOF
   18817 if ac_fn_c_try_compile "$LINENO"
   18818 then :
   18819   xorg_cv_cc_flag_unused_command_line_argument=yes
   18820 else $as_nop
   18821   xorg_cv_cc_flag_unused_command_line_argument=no
   18822 fi
   18823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18824 fi
   18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18826 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18828 	CFLAGS="$xorg_testset_save_CFLAGS"
   18829 fi
   18830 
   18831 found="no"
   18832 
   18833 	if test $found = "no" ; then
   18834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18836 		fi
   18837 
   18838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18840 		fi
   18841 
   18842 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18843 
   18844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18845 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18846 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18847 		if eval test \${$cacheid+y}
   18848 then :
   18849   printf %s "(cached) " >&6
   18850 else $as_nop
   18851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18852 /* end confdefs.h.  */
   18853 int i;
   18854 int
   18855 main (void)
   18856 {
   18857 
   18858   ;
   18859   return 0;
   18860 }
   18861 _ACEOF
   18862 if ac_fn_c_try_link "$LINENO"
   18863 then :
   18864   eval $cacheid=yes
   18865 else $as_nop
   18866   eval $cacheid=no
   18867 fi
   18868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18869     conftest$ac_exeext conftest.$ac_ext
   18870 fi
   18871 
   18872 
   18873 		CFLAGS="$xorg_testset_save_CFLAGS"
   18874 
   18875 		eval supported=\$$cacheid
   18876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18877 printf "%s\n" "$supported" >&6; }
   18878 		if test "$supported" = "yes" ; then
   18879 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18880 			found="yes"
   18881 		fi
   18882 	fi
   18883 
   18884 
   18885 
   18886 
   18887 
   18888 
   18889 
   18890 
   18891 
   18892 
   18893 
   18894 
   18895 
   18896 
   18897 
   18898 xorg_testset_save_CFLAGS="$CFLAGS"
   18899 
   18900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18905 then :
   18906   printf %s "(cached) " >&6
   18907 else $as_nop
   18908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18909 /* end confdefs.h.  */
   18910 int i;
   18911 _ACEOF
   18912 if ac_fn_c_try_compile "$LINENO"
   18913 then :
   18914   xorg_cv_cc_flag_unknown_warning_option=yes
   18915 else $as_nop
   18916   xorg_cv_cc_flag_unknown_warning_option=no
   18917 fi
   18918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18919 fi
   18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18923 	CFLAGS="$xorg_testset_save_CFLAGS"
   18924 fi
   18925 
   18926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18929 	fi
   18930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18934 then :
   18935   printf %s "(cached) " >&6
   18936 else $as_nop
   18937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18938 /* end confdefs.h.  */
   18939 int i;
   18940 _ACEOF
   18941 if ac_fn_c_try_compile "$LINENO"
   18942 then :
   18943   xorg_cv_cc_flag_unused_command_line_argument=yes
   18944 else $as_nop
   18945   xorg_cv_cc_flag_unused_command_line_argument=no
   18946 fi
   18947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18948 fi
   18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18952 	CFLAGS="$xorg_testset_save_CFLAGS"
   18953 fi
   18954 
   18955 found="no"
   18956 
   18957 	if test $found = "no" ; then
   18958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18960 		fi
   18961 
   18962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18964 		fi
   18965 
   18966 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18967 
   18968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18969 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18970 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18971 		if eval test \${$cacheid+y}
   18972 then :
   18973   printf %s "(cached) " >&6
   18974 else $as_nop
   18975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18976 /* end confdefs.h.  */
   18977 int i;
   18978 int
   18979 main (void)
   18980 {
   18981 
   18982   ;
   18983   return 0;
   18984 }
   18985 _ACEOF
   18986 if ac_fn_c_try_link "$LINENO"
   18987 then :
   18988   eval $cacheid=yes
   18989 else $as_nop
   18990   eval $cacheid=no
   18991 fi
   18992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18993     conftest$ac_exeext conftest.$ac_ext
   18994 fi
   18995 
   18996 
   18997 		CFLAGS="$xorg_testset_save_CFLAGS"
   18998 
   18999 		eval supported=\$$cacheid
   19000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19001 printf "%s\n" "$supported" >&6; }
   19002 		if test "$supported" = "yes" ; then
   19003 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19004 			found="yes"
   19005 		fi
   19006 	fi
   19007 
   19008 
   19009 fi
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 		CWARNFLAGS="$BASE_CFLAGS"
   19018 		if  test "x$GCC" = xyes ; then
   19019 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19020 		fi
   19021 
   19022 
   19023 
   19024 
   19025 
   19026 
   19027 
   19028 
   19029 # Check whether --enable-strict-compilation was given.
   19030 if test ${enable_strict_compilation+y}
   19031 then :
   19032   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19033 else $as_nop
   19034   STRICT_COMPILE=no
   19035 fi
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 STRICT_CFLAGS=""
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 xorg_testset_save_CFLAGS="$CFLAGS"
   19057 
   19058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19061 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19062 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19063 then :
   19064   printf %s "(cached) " >&6
   19065 else $as_nop
   19066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19067 /* end confdefs.h.  */
   19068 int i;
   19069 _ACEOF
   19070 if ac_fn_c_try_compile "$LINENO"
   19071 then :
   19072   xorg_cv_cc_flag_unknown_warning_option=yes
   19073 else $as_nop
   19074   xorg_cv_cc_flag_unknown_warning_option=no
   19075 fi
   19076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19077 fi
   19078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19079 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19081 	CFLAGS="$xorg_testset_save_CFLAGS"
   19082 fi
   19083 
   19084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19087 	fi
   19088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19090 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19091 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19092 then :
   19093   printf %s "(cached) " >&6
   19094 else $as_nop
   19095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19096 /* end confdefs.h.  */
   19097 int i;
   19098 _ACEOF
   19099 if ac_fn_c_try_compile "$LINENO"
   19100 then :
   19101   xorg_cv_cc_flag_unused_command_line_argument=yes
   19102 else $as_nop
   19103   xorg_cv_cc_flag_unused_command_line_argument=no
   19104 fi
   19105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19106 fi
   19107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19108 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19110 	CFLAGS="$xorg_testset_save_CFLAGS"
   19111 fi
   19112 
   19113 found="no"
   19114 
   19115 	if test $found = "no" ; then
   19116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19118 		fi
   19119 
   19120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19122 		fi
   19123 
   19124 		CFLAGS="$CFLAGS -pedantic"
   19125 
   19126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19127 printf %s "checking if $CC supports -pedantic... " >&6; }
   19128 		cacheid=xorg_cv_cc_flag__pedantic
   19129 		if eval test \${$cacheid+y}
   19130 then :
   19131   printf %s "(cached) " >&6
   19132 else $as_nop
   19133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19134 /* end confdefs.h.  */
   19135 int i;
   19136 int
   19137 main (void)
   19138 {
   19139 
   19140   ;
   19141   return 0;
   19142 }
   19143 _ACEOF
   19144 if ac_fn_c_try_link "$LINENO"
   19145 then :
   19146   eval $cacheid=yes
   19147 else $as_nop
   19148   eval $cacheid=no
   19149 fi
   19150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19151     conftest$ac_exeext conftest.$ac_ext
   19152 fi
   19153 
   19154 
   19155 		CFLAGS="$xorg_testset_save_CFLAGS"
   19156 
   19157 		eval supported=\$$cacheid
   19158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19159 printf "%s\n" "$supported" >&6; }
   19160 		if test "$supported" = "yes" ; then
   19161 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19162 			found="yes"
   19163 		fi
   19164 	fi
   19165 
   19166 
   19167 
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 
   19176 
   19177 
   19178 
   19179 
   19180 xorg_testset_save_CFLAGS="$CFLAGS"
   19181 
   19182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19185 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19186 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19187 then :
   19188   printf %s "(cached) " >&6
   19189 else $as_nop
   19190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19191 /* end confdefs.h.  */
   19192 int i;
   19193 _ACEOF
   19194 if ac_fn_c_try_compile "$LINENO"
   19195 then :
   19196   xorg_cv_cc_flag_unknown_warning_option=yes
   19197 else $as_nop
   19198   xorg_cv_cc_flag_unknown_warning_option=no
   19199 fi
   19200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19201 fi
   19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19205 	CFLAGS="$xorg_testset_save_CFLAGS"
   19206 fi
   19207 
   19208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19211 	fi
   19212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19216 then :
   19217   printf %s "(cached) " >&6
   19218 else $as_nop
   19219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19220 /* end confdefs.h.  */
   19221 int i;
   19222 _ACEOF
   19223 if ac_fn_c_try_compile "$LINENO"
   19224 then :
   19225   xorg_cv_cc_flag_unused_command_line_argument=yes
   19226 else $as_nop
   19227   xorg_cv_cc_flag_unused_command_line_argument=no
   19228 fi
   19229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19230 fi
   19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19234 	CFLAGS="$xorg_testset_save_CFLAGS"
   19235 fi
   19236 
   19237 found="no"
   19238 
   19239 	if test $found = "no" ; then
   19240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19242 		fi
   19243 
   19244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19246 		fi
   19247 
   19248 		CFLAGS="$CFLAGS -Werror"
   19249 
   19250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19251 printf %s "checking if $CC supports -Werror... " >&6; }
   19252 		cacheid=xorg_cv_cc_flag__Werror
   19253 		if eval test \${$cacheid+y}
   19254 then :
   19255   printf %s "(cached) " >&6
   19256 else $as_nop
   19257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19258 /* end confdefs.h.  */
   19259 int i;
   19260 int
   19261 main (void)
   19262 {
   19263 
   19264   ;
   19265   return 0;
   19266 }
   19267 _ACEOF
   19268 if ac_fn_c_try_link "$LINENO"
   19269 then :
   19270   eval $cacheid=yes
   19271 else $as_nop
   19272   eval $cacheid=no
   19273 fi
   19274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19275     conftest$ac_exeext conftest.$ac_ext
   19276 fi
   19277 
   19278 
   19279 		CFLAGS="$xorg_testset_save_CFLAGS"
   19280 
   19281 		eval supported=\$$cacheid
   19282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19283 printf "%s\n" "$supported" >&6; }
   19284 		if test "$supported" = "yes" ; then
   19285 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19286 			found="yes"
   19287 		fi
   19288 	fi
   19289 
   19290 	if test $found = "no" ; then
   19291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19293 		fi
   19294 
   19295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19297 		fi
   19298 
   19299 		CFLAGS="$CFLAGS -errwarn"
   19300 
   19301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19302 printf %s "checking if $CC supports -errwarn... " >&6; }
   19303 		cacheid=xorg_cv_cc_flag__errwarn
   19304 		if eval test \${$cacheid+y}
   19305 then :
   19306   printf %s "(cached) " >&6
   19307 else $as_nop
   19308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19309 /* end confdefs.h.  */
   19310 int i;
   19311 int
   19312 main (void)
   19313 {
   19314 
   19315   ;
   19316   return 0;
   19317 }
   19318 _ACEOF
   19319 if ac_fn_c_try_link "$LINENO"
   19320 then :
   19321   eval $cacheid=yes
   19322 else $as_nop
   19323   eval $cacheid=no
   19324 fi
   19325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19326     conftest$ac_exeext conftest.$ac_ext
   19327 fi
   19328 
   19329 
   19330 		CFLAGS="$xorg_testset_save_CFLAGS"
   19331 
   19332 		eval supported=\$$cacheid
   19333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19334 printf "%s\n" "$supported" >&6; }
   19335 		if test "$supported" = "yes" ; then
   19336 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19337 			found="yes"
   19338 		fi
   19339 	fi
   19340 
   19341 
   19342 
   19343 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19344 # activate it with -Werror, so we add it here explicitly.
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 xorg_testset_save_CFLAGS="$CFLAGS"
   19359 
   19360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19363 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19364 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19365 then :
   19366   printf %s "(cached) " >&6
   19367 else $as_nop
   19368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19369 /* end confdefs.h.  */
   19370 int i;
   19371 _ACEOF
   19372 if ac_fn_c_try_compile "$LINENO"
   19373 then :
   19374   xorg_cv_cc_flag_unknown_warning_option=yes
   19375 else $as_nop
   19376   xorg_cv_cc_flag_unknown_warning_option=no
   19377 fi
   19378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19379 fi
   19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19381 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19383 	CFLAGS="$xorg_testset_save_CFLAGS"
   19384 fi
   19385 
   19386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19389 	fi
   19390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19392 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19393 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19394 then :
   19395   printf %s "(cached) " >&6
   19396 else $as_nop
   19397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19398 /* end confdefs.h.  */
   19399 int i;
   19400 _ACEOF
   19401 if ac_fn_c_try_compile "$LINENO"
   19402 then :
   19403   xorg_cv_cc_flag_unused_command_line_argument=yes
   19404 else $as_nop
   19405   xorg_cv_cc_flag_unused_command_line_argument=no
   19406 fi
   19407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19408 fi
   19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19410 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19412 	CFLAGS="$xorg_testset_save_CFLAGS"
   19413 fi
   19414 
   19415 found="no"
   19416 
   19417 	if test $found = "no" ; then
   19418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19420 		fi
   19421 
   19422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19424 		fi
   19425 
   19426 		CFLAGS="$CFLAGS -Werror=attributes"
   19427 
   19428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19429 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19430 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19431 		if eval test \${$cacheid+y}
   19432 then :
   19433   printf %s "(cached) " >&6
   19434 else $as_nop
   19435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19436 /* end confdefs.h.  */
   19437 int i;
   19438 int
   19439 main (void)
   19440 {
   19441 
   19442   ;
   19443   return 0;
   19444 }
   19445 _ACEOF
   19446 if ac_fn_c_try_link "$LINENO"
   19447 then :
   19448   eval $cacheid=yes
   19449 else $as_nop
   19450   eval $cacheid=no
   19451 fi
   19452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19453     conftest$ac_exeext conftest.$ac_ext
   19454 fi
   19455 
   19456 
   19457 		CFLAGS="$xorg_testset_save_CFLAGS"
   19458 
   19459 		eval supported=\$$cacheid
   19460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19461 printf "%s\n" "$supported" >&6; }
   19462 		if test "$supported" = "yes" ; then
   19463 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19464 			found="yes"
   19465 		fi
   19466 	fi
   19467 
   19468 
   19469 
   19470 if test "x$STRICT_COMPILE" = "xyes"; then
   19471     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19472     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19473 fi
   19474 
   19475 
   19476 
   19477 
   19478 
   19479 
   19480 cat >>confdefs.h <<_ACEOF
   19481 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19482 _ACEOF
   19483 
   19484 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19485 	if test "x$PVM" = "x"; then
   19486 		PVM="0"
   19487 	fi
   19488 
   19489 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19490 
   19491 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19492 	if test "x$PVP" = "x"; then
   19493 		PVP="0"
   19494 	fi
   19495 
   19496 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19497 
   19498 
   19499 
   19500 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19501 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19502 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19503 touch \$(top_srcdir)/ChangeLog; \
   19504 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19505 
   19506 
   19507 
   19508 
   19509 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19510 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19511 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19512 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19513 touch \$(top_srcdir)/INSTALL; \
   19514 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19515 
   19516 
   19517 
   19518 
   19519 
   19520 
   19521 case $host_os in
   19522     solaris*)
   19523         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19524         # check for a man page file found in later versions that use
   19525         # traditional section numbers instead
   19526         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19527 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19528 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19529 then :
   19530   printf %s "(cached) " >&6
   19531 else $as_nop
   19532   test "$cross_compiling" = yes &&
   19533   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19534 if test -r "/usr/share/man/man7/attributes.7"; then
   19535   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19536 else
   19537   ac_cv_file__usr_share_man_man7_attributes_7=no
   19538 fi
   19539 fi
   19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19541 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19542 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19543 then :
   19544   SYSV_MAN_SECTIONS=false
   19545 else $as_nop
   19546   SYSV_MAN_SECTIONS=true
   19547 fi
   19548 
   19549         ;;
   19550     *) SYSV_MAN_SECTIONS=false ;;
   19551 esac
   19552 
   19553 if test x$APP_MAN_SUFFIX = x    ; then
   19554     APP_MAN_SUFFIX=1
   19555 fi
   19556 if test x$APP_MAN_DIR = x    ; then
   19557     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19558 fi
   19559 
   19560 if test x$LIB_MAN_SUFFIX = x    ; then
   19561     LIB_MAN_SUFFIX=3
   19562 fi
   19563 if test x$LIB_MAN_DIR = x    ; then
   19564     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19565 fi
   19566 
   19567 if test x$FILE_MAN_SUFFIX = x    ; then
   19568     case $SYSV_MAN_SECTIONS in
   19569 	true)				FILE_MAN_SUFFIX=4  ;;
   19570 	*)				FILE_MAN_SUFFIX=5  ;;
   19571     esac
   19572 fi
   19573 if test x$FILE_MAN_DIR = x    ; then
   19574     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19575 fi
   19576 
   19577 if test x$MISC_MAN_SUFFIX = x    ; then
   19578     case $SYSV_MAN_SECTIONS in
   19579 	true)				MISC_MAN_SUFFIX=5  ;;
   19580 	*)				MISC_MAN_SUFFIX=7  ;;
   19581     esac
   19582 fi
   19583 if test x$MISC_MAN_DIR = x    ; then
   19584     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19585 fi
   19586 
   19587 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19588     case $SYSV_MAN_SECTIONS in
   19589 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19590 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19591     esac
   19592 fi
   19593 if test x$DRIVER_MAN_DIR = x    ; then
   19594     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19595 fi
   19596 
   19597 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19598     case $SYSV_MAN_SECTIONS in
   19599 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19600 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19601     esac
   19602 fi
   19603 if test x$ADMIN_MAN_DIR = x    ; then
   19604     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19605 fi
   19606 
   19607 
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 
   19614 
   19615 
   19616 
   19617 
   19618 
   19619 
   19620 
   19621 XORG_MAN_PAGE="X Version 11"
   19622 
   19623 MAN_SUBSTS="\
   19624 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19625 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19626 	-e 's|__xservername__|Xorg|g' \
   19627 	-e 's|__xconfigfile__|xorg.conf|g' \
   19628 	-e 's|__projectroot__|\$(prefix)|g' \
   19629 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19630 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19631 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19632 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19633 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19634 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19635 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19636 
   19637 
   19638 
   19639 # Check whether --enable-silent-rules was given.
   19640 if test ${enable_silent_rules+y}
   19641 then :
   19642   enableval=$enable_silent_rules;
   19643 fi
   19644 
   19645 case $enable_silent_rules in # (((
   19646   yes) AM_DEFAULT_VERBOSITY=0;;
   19647    no) AM_DEFAULT_VERBOSITY=1;;
   19648     *) AM_DEFAULT_VERBOSITY=0;;
   19649 esac
   19650 am_make=${MAKE-make}
   19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19652 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19653 if test ${am_cv_make_support_nested_variables+y}
   19654 then :
   19655   printf %s "(cached) " >&6
   19656 else $as_nop
   19657   if printf "%s\n" 'TRUE=$(BAR$(V))
   19658 BAR0=false
   19659 BAR1=true
   19660 V=1
   19661 am__doit:
   19662 	@$(TRUE)
   19663 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19664   am_cv_make_support_nested_variables=yes
   19665 else
   19666   am_cv_make_support_nested_variables=no
   19667 fi
   19668 fi
   19669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19670 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19671 if test $am_cv_make_support_nested_variables = yes; then
   19672     AM_V='$(V)'
   19673   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19674 else
   19675   AM_V=$AM_DEFAULT_VERBOSITY
   19676   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19677 fi
   19678 AM_BACKSLASH='\'
   19679 
   19680 
   19681 
   19682 # Checks for programs.
   19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   19684 printf %s "checking whether ln -s works... " >&6; }
   19685 LN_S=$as_ln_s
   19686 if test "$LN_S" = "ln -s"; then
   19687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19688 printf "%s\n" "yes" >&6; }
   19689 else
   19690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   19691 printf "%s\n" "no, using $LN_S" >&6; }
   19692 fi
   19693 
   19694 
   19695 # Checks for library functions.
   19696 ac_fn_c_check_func "$LINENO" "explicit_bzero" "ac_cv_func_explicit_bzero"
   19697 if test "x$ac_cv_func_explicit_bzero" = xyes
   19698 then :
   19699   printf "%s\n" "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h
   19700 
   19701 fi
   19702 ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf"
   19703 if test "x$ac_cv_func_pathconf" = xyes
   19704 then :
   19705   printf "%s\n" "#define HAVE_PATHCONF 1" >>confdefs.h
   19706 
   19707 fi
   19708 
   19709 
   19710 # Obtain compiler/linker options for dependencies
   19711 
   19712 pkg_failed=no
   19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XAU" >&5
   19714 printf %s "checking for XAU... " >&6; }
   19715 
   19716 if test -n "$XAU_CFLAGS"; then
   19717     pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   19718  elif test -n "$PKG_CONFIG"; then
   19719     if test -n "$PKG_CONFIG" && \
   19720     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   19721   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19722   ac_status=$?
   19723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19724   test $ac_status = 0; }; then
   19725   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   19726 		      test "x$?" != "x0" && pkg_failed=yes
   19727 else
   19728   pkg_failed=yes
   19729 fi
   19730  else
   19731     pkg_failed=untried
   19732 fi
   19733 if test -n "$XAU_LIBS"; then
   19734     pkg_cv_XAU_LIBS="$XAU_LIBS"
   19735  elif test -n "$PKG_CONFIG"; then
   19736     if test -n "$PKG_CONFIG" && \
   19737     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   19738   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19739   ac_status=$?
   19740   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19741   test $ac_status = 0; }; then
   19742   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   19743 		      test "x$?" != "x0" && pkg_failed=yes
   19744 else
   19745   pkg_failed=yes
   19746 fi
   19747  else
   19748     pkg_failed=untried
   19749 fi
   19750 
   19751 
   19752 
   19753 if test $pkg_failed = yes; then
   19754    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19755 printf "%s\n" "no" >&6; }
   19756 
   19757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19758         _pkg_short_errors_supported=yes
   19759 else
   19760         _pkg_short_errors_supported=no
   19761 fi
   19762         if test $_pkg_short_errors_supported = yes; then
   19763 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   19764         else
   19765 	        XAU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   19766         fi
   19767 	# Put the nasty error message in config.log where it belongs
   19768 	echo "$XAU_PKG_ERRORS" >&5
   19769 
   19770 	as_fn_error $? "Package requirements (xproto) were not met:
   19771 
   19772 $XAU_PKG_ERRORS
   19773 
   19774 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19775 installed software in a non-standard prefix.
   19776 
   19777 Alternatively, you may set the environment variables XAU_CFLAGS
   19778 and XAU_LIBS to avoid the need to call pkg-config.
   19779 See the pkg-config man page for more details." "$LINENO" 5
   19780 elif test $pkg_failed = untried; then
   19781      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19782 printf "%s\n" "no" >&6; }
   19783 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19784 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19785 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19786 is in your PATH or set the PKG_CONFIG environment variable to the full
   19787 path to pkg-config.
   19788 
   19789 Alternatively, you may set the environment variables XAU_CFLAGS
   19790 and XAU_LIBS to avoid the need to call pkg-config.
   19791 See the pkg-config man page for more details.
   19792 
   19793 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19794 See \`config.log' for more details" "$LINENO" 5; }
   19795 else
   19796 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   19797 	XAU_LIBS=$pkg_cv_XAU_LIBS
   19798         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19799 printf "%s\n" "yes" >&6; }
   19800 
   19801 fi
   19802 
   19803 # Check whether --enable-xthreads was given.
   19804 if test ${enable_xthreads+y}
   19805 then :
   19806   enableval=$enable_xthreads; xthreads=$enableval
   19807 else $as_nop
   19808   xthreads=yes
   19809 fi
   19810 
   19811 
   19812 if test "x$xthreads" = "xyes" ; then
   19813 
   19814 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   19815 
   19816     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r in -lc" >&5
   19817 printf %s "checking for gethostbyname_r in -lc... " >&6; }
   19818 if test ${ac_cv_lib_c_gethostbyname_r+y}
   19819 then :
   19820   printf %s "(cached) " >&6
   19821 else $as_nop
   19822   ac_check_lib_save_LIBS=$LIBS
   19823 LIBS="-lc  $LIBS"
   19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19825 /* end confdefs.h.  */
   19826 
   19827 /* Override any GCC internal prototype to avoid an error.
   19828    Use char because int might match the return type of a GCC
   19829    builtin and then its argument prototype would still apply.  */
   19830 char gethostbyname_r ();
   19831 int
   19832 main (void)
   19833 {
   19834 return gethostbyname_r ();
   19835   ;
   19836   return 0;
   19837 }
   19838 _ACEOF
   19839 if ac_fn_c_try_link "$LINENO"
   19840 then :
   19841   ac_cv_lib_c_gethostbyname_r=yes
   19842 else $as_nop
   19843   ac_cv_lib_c_gethostbyname_r=no
   19844 fi
   19845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19846     conftest$ac_exeext conftest.$ac_ext
   19847 LIBS=$ac_check_lib_save_LIBS
   19848 fi
   19849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname_r" >&5
   19850 printf "%s\n" "$ac_cv_lib_c_gethostbyname_r" >&6; }
   19851 if test "x$ac_cv_lib_c_gethostbyname_r" = xyes
   19852 then :
   19853   mtsafe=yes
   19854 fi
   19855 
   19856     if test "x$mtsafe" = "x" ; then
   19857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r in -lnsl" >&5
   19858 printf %s "checking for gethostbyname_r in -lnsl... " >&6; }
   19859 if test ${ac_cv_lib_nsl_gethostbyname_r+y}
   19860 then :
   19861   printf %s "(cached) " >&6
   19862 else $as_nop
   19863   ac_check_lib_save_LIBS=$LIBS
   19864 LIBS="-lnsl  $LIBS"
   19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19866 /* end confdefs.h.  */
   19867 
   19868 /* Override any GCC internal prototype to avoid an error.
   19869    Use char because int might match the return type of a GCC
   19870    builtin and then its argument prototype would still apply.  */
   19871 char gethostbyname_r ();
   19872 int
   19873 main (void)
   19874 {
   19875 return gethostbyname_r ();
   19876   ;
   19877   return 0;
   19878 }
   19879 _ACEOF
   19880 if ac_fn_c_try_link "$LINENO"
   19881 then :
   19882   ac_cv_lib_nsl_gethostbyname_r=yes
   19883 else $as_nop
   19884   ac_cv_lib_nsl_gethostbyname_r=no
   19885 fi
   19886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19887     conftest$ac_exeext conftest.$ac_ext
   19888 LIBS=$ac_check_lib_save_LIBS
   19889 fi
   19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname_r" >&5
   19891 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname_r" >&6; }
   19892 if test "x$ac_cv_lib_nsl_gethostbyname_r" = xyes
   19893 then :
   19894   mtsafe=yes
   19895 fi
   19896 
   19897     fi
   19898     if test "x$mtsafe" = "xyes" ; then
   19899 
   19900 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   19901 
   19902     fi
   19903 
   19904 # XXX incomplete, please fill this in
   19905     case $host_os in
   19906     solaris*)
   19907 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   19908     esac
   19909     XAU_CFLAGS="$XAU_CFLAGS $XTHREAD_CFLAGS"
   19910 fi
   19911 
   19912 # Allow checking code with lint, sparse, etc.
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 # Check whether --with-lint was given.
   19919 if test ${with_lint+y}
   19920 then :
   19921   withval=$with_lint; use_lint=$withval
   19922 else $as_nop
   19923   use_lint=no
   19924 fi
   19925 
   19926 
   19927 # Obtain platform specific info like program name and options
   19928 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19929 case $host_os in
   19930   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19931 	lint_name=splint
   19932 	lint_options="-badflag"
   19933 	;;
   19934   *freebsd* | *netbsd*)
   19935 	lint_name=lint
   19936 	lint_options="-u -b"
   19937 	;;
   19938   *solaris*)
   19939 	lint_name=lint
   19940 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19941 	;;
   19942 esac
   19943 
   19944 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19945 if test "x$use_lint" = x"yes" ; then
   19946    # Extract the first word of "$lint_name", so it can be a program name with args.
   19947 set dummy $lint_name; ac_word=$2
   19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19949 printf %s "checking for $ac_word... " >&6; }
   19950 if test ${ac_cv_path_LINT+y}
   19951 then :
   19952   printf %s "(cached) " >&6
   19953 else $as_nop
   19954   case $LINT in
   19955   [\\/]* | ?:[\\/]*)
   19956   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19957   ;;
   19958   *)
   19959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19960 for as_dir in $PATH
   19961 do
   19962   IFS=$as_save_IFS
   19963   case $as_dir in #(((
   19964     '') as_dir=./ ;;
   19965     */) ;;
   19966     *) as_dir=$as_dir/ ;;
   19967   esac
   19968     for ac_exec_ext in '' $ac_executable_extensions; do
   19969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19970     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   19971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19972     break 2
   19973   fi
   19974 done
   19975   done
   19976 IFS=$as_save_IFS
   19977 
   19978   ;;
   19979 esac
   19980 fi
   19981 LINT=$ac_cv_path_LINT
   19982 if test -n "$LINT"; then
   19983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19984 printf "%s\n" "$LINT" >&6; }
   19985 else
   19986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19987 printf "%s\n" "no" >&6; }
   19988 fi
   19989 
   19990 
   19991    if test "x$LINT" = "x"; then
   19992         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19993    fi
   19994 elif test "x$use_lint" = x"no" ; then
   19995    if test "x$LINT" != "x"; then
   19996       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19997 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19998    fi
   19999 else
   20000    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20001 fi
   20002 
   20003 # User supplied flags override default flags
   20004 if test "x$LINT_FLAGS" != "x"; then
   20005    lint_options=$LINT_FLAGS
   20006 fi
   20007 
   20008 LINT_FLAGS=$lint_options
   20009 
   20010  if test "x$LINT" != x; then
   20011   LINT_TRUE=
   20012   LINT_FALSE='#'
   20013 else
   20014   LINT_TRUE='#'
   20015   LINT_FALSE=
   20016 fi
   20017 
   20018 
   20019 
   20020 
   20021 
   20022 # Check whether --enable-lint-library was given.
   20023 if test ${enable_lint_library+y}
   20024 then :
   20025   enableval=$enable_lint_library; make_lint_lib=$enableval
   20026 else $as_nop
   20027   make_lint_lib=no
   20028 fi
   20029 
   20030 
   20031 if test "x$make_lint_lib" = x"yes" ; then
   20032    LINTLIB=llib-lXau.ln
   20033    if test "x$LINT" = "x"; then
   20034         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20035    fi
   20036 elif test "x$make_lint_lib" != x"no" ; then
   20037    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20038 fi
   20039 
   20040 
   20041  if test x$make_lint_lib != xno; then
   20042   MAKE_LINT_LIB_TRUE=
   20043   MAKE_LINT_LIB_FALSE='#'
   20044 else
   20045   MAKE_LINT_LIB_TRUE='#'
   20046   MAKE_LINT_LIB_FALSE=
   20047 fi
   20048 
   20049 
   20050 
   20051 LINT_FLAGS="${LINT_FLAGS} ${XAU_CFLAGS}"
   20052 
   20053 ac_config_files="$ac_config_files Makefile man/Makefile xau.pc"
   20054 
   20055 cat >confcache <<\_ACEOF
   20056 # This file is a shell script that caches the results of configure
   20057 # tests run on this system so they can be shared between configure
   20058 # scripts and configure runs, see configure's option --config-cache.
   20059 # It is not useful on other systems.  If it contains results you don't
   20060 # want to keep, you may remove or edit it.
   20061 #
   20062 # config.status only pays attention to the cache file if you give it
   20063 # the --recheck option to rerun configure.
   20064 #
   20065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20067 # following values.
   20068 
   20069 _ACEOF
   20070 
   20071 # The following way of writing the cache mishandles newlines in values,
   20072 # but we know of no workaround that is simple, portable, and efficient.
   20073 # So, we kill variables containing newlines.
   20074 # Ultrix sh set writes to stderr and can't be redirected directly,
   20075 # and sets the high bit in the cache file unless we assign to the vars.
   20076 (
   20077   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20078     eval ac_val=\$$ac_var
   20079     case $ac_val in #(
   20080     *${as_nl}*)
   20081       case $ac_var in #(
   20082       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20083 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20084       esac
   20085       case $ac_var in #(
   20086       _ | IFS | as_nl) ;; #(
   20087       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20088       *) { eval $ac_var=; unset $ac_var;} ;;
   20089       esac ;;
   20090     esac
   20091   done
   20092 
   20093   (set) 2>&1 |
   20094     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20095     *${as_nl}ac_space=\ *)
   20096       # `set' does not quote correctly, so add quotes: double-quote
   20097       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20098       sed -n \
   20099 	"s/'/'\\\\''/g;
   20100 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20101       ;; #(
   20102     *)
   20103       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20104       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20105       ;;
   20106     esac |
   20107     sort
   20108 ) |
   20109   sed '
   20110      /^ac_cv_env_/b end
   20111      t clear
   20112      :clear
   20113      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20114      t end
   20115      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20116      :end' >>confcache
   20117 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20118   if test -w "$cache_file"; then
   20119     if test "x$cache_file" != "x/dev/null"; then
   20120       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20121 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20122       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20123 	cat confcache >"$cache_file"
   20124       else
   20125         case $cache_file in #(
   20126         */* | ?:*)
   20127 	  mv -f confcache "$cache_file"$$ &&
   20128 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20129         *)
   20130 	  mv -f confcache "$cache_file" ;;
   20131 	esac
   20132       fi
   20133     fi
   20134   else
   20135     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20136 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20137   fi
   20138 fi
   20139 rm -f confcache
   20140 
   20141 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20142 # Let make expand exec_prefix.
   20143 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20144 
   20145 DEFS=-DHAVE_CONFIG_H
   20146 
   20147 ac_libobjs=
   20148 ac_ltlibobjs=
   20149 U=
   20150 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20151   # 1. Remove the extension, and $U if already installed.
   20152   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20153   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20154   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20155   #    will be set to the directory where LIBOBJS objects are built.
   20156   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20157   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20158 done
   20159 LIBOBJS=$ac_libobjs
   20160 
   20161 LTLIBOBJS=$ac_ltlibobjs
   20162 
   20163 
   20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20165 printf %s "checking that generated files are newer than configure... " >&6; }
   20166    if test -n "$am_sleep_pid"; then
   20167      # Hide warnings about reused PIDs.
   20168      wait $am_sleep_pid 2>/dev/null
   20169    fi
   20170    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20171 printf "%s\n" "done" >&6; }
   20172 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20173   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20175 fi
   20176 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20177   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20179 fi
   20180  if test -n "$EXEEXT"; then
   20181   am__EXEEXT_TRUE=
   20182   am__EXEEXT_FALSE='#'
   20183 else
   20184   am__EXEEXT_TRUE='#'
   20185   am__EXEEXT_FALSE=
   20186 fi
   20187 
   20188 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20189   as_fn_error $? "conditional \"LINT\" was never defined.
   20190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20191 fi
   20192 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20193   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   20194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20195 fi
   20196 
   20197 : "${CONFIG_STATUS=./config.status}"
   20198 ac_write_fail=0
   20199 ac_clean_files_save=$ac_clean_files
   20200 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20202 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20203 as_write_fail=0
   20204 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20205 #! $SHELL
   20206 # Generated by $as_me.
   20207 # Run this file to recreate the current configuration.
   20208 # Compiler output produced by configure, useful for debugging
   20209 # configure, is in config.log if it exists.
   20210 
   20211 debug=false
   20212 ac_cs_recheck=false
   20213 ac_cs_silent=false
   20214 
   20215 SHELL=\${CONFIG_SHELL-$SHELL}
   20216 export SHELL
   20217 _ASEOF
   20218 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20219 ## -------------------- ##
   20220 ## M4sh Initialization. ##
   20221 ## -------------------- ##
   20222 
   20223 # Be more Bourne compatible
   20224 DUALCASE=1; export DUALCASE # for MKS sh
   20225 as_nop=:
   20226 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20227 then :
   20228   emulate sh
   20229   NULLCMD=:
   20230   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20231   # is contrary to our usage.  Disable this feature.
   20232   alias -g '${1+"$@"}'='"$@"'
   20233   setopt NO_GLOB_SUBST
   20234 else $as_nop
   20235   case `(set -o) 2>/dev/null` in #(
   20236   *posix*) :
   20237     set -o posix ;; #(
   20238   *) :
   20239      ;;
   20240 esac
   20241 fi
   20242 
   20243 
   20244 
   20245 # Reset variables that may have inherited troublesome values from
   20246 # the environment.
   20247 
   20248 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20249 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20250 # side effect of setting IFS to empty, thus disabling word splitting.)
   20251 # Quoting is to prevent editors from complaining about space-tab.
   20252 as_nl='
   20253 '
   20254 export as_nl
   20255 IFS=" ""	$as_nl"
   20256 
   20257 PS1='$ '
   20258 PS2='> '
   20259 PS4='+ '
   20260 
   20261 # Ensure predictable behavior from utilities with locale-dependent output.
   20262 LC_ALL=C
   20263 export LC_ALL
   20264 LANGUAGE=C
   20265 export LANGUAGE
   20266 
   20267 # We cannot yet rely on "unset" to work, but we need these variables
   20268 # to be unset--not just set to an empty or harmless value--now, to
   20269 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20270 # also avoids known problems related to "unset" and subshell syntax
   20271 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20272 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20273 do eval test \${$as_var+y} \
   20274   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20275 done
   20276 
   20277 # Ensure that fds 0, 1, and 2 are open.
   20278 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20279 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20280 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20281 
   20282 # The user is always right.
   20283 if ${PATH_SEPARATOR+false} :; then
   20284   PATH_SEPARATOR=:
   20285   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20286     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20287       PATH_SEPARATOR=';'
   20288   }
   20289 fi
   20290 
   20291 
   20292 # Find who we are.  Look in the path if we contain no directory separator.
   20293 as_myself=
   20294 case $0 in #((
   20295   *[\\/]* ) as_myself=$0 ;;
   20296   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20297 for as_dir in $PATH
   20298 do
   20299   IFS=$as_save_IFS
   20300   case $as_dir in #(((
   20301     '') as_dir=./ ;;
   20302     */) ;;
   20303     *) as_dir=$as_dir/ ;;
   20304   esac
   20305     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20306   done
   20307 IFS=$as_save_IFS
   20308 
   20309      ;;
   20310 esac
   20311 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20312 # in which case we are not to be found in the path.
   20313 if test "x$as_myself" = x; then
   20314   as_myself=$0
   20315 fi
   20316 if test ! -f "$as_myself"; then
   20317   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20318   exit 1
   20319 fi
   20320 
   20321 
   20322 
   20323 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20324 # ----------------------------------------
   20325 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20326 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20327 # script with STATUS, using 1 if that was 0.
   20328 as_fn_error ()
   20329 {
   20330   as_status=$1; test $as_status -eq 0 && as_status=1
   20331   if test "$4"; then
   20332     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20333     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20334   fi
   20335   printf "%s\n" "$as_me: error: $2" >&2
   20336   as_fn_exit $as_status
   20337 } # as_fn_error
   20338 
   20339 
   20340 
   20341 # as_fn_set_status STATUS
   20342 # -----------------------
   20343 # Set $? to STATUS, without forking.
   20344 as_fn_set_status ()
   20345 {
   20346   return $1
   20347 } # as_fn_set_status
   20348 
   20349 # as_fn_exit STATUS
   20350 # -----------------
   20351 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20352 as_fn_exit ()
   20353 {
   20354   set +e
   20355   as_fn_set_status $1
   20356   exit $1
   20357 } # as_fn_exit
   20358 
   20359 # as_fn_unset VAR
   20360 # ---------------
   20361 # Portably unset VAR.
   20362 as_fn_unset ()
   20363 {
   20364   { eval $1=; unset $1;}
   20365 }
   20366 as_unset=as_fn_unset
   20367 
   20368 # as_fn_append VAR VALUE
   20369 # ----------------------
   20370 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20371 # advantage of any shell optimizations that allow amortized linear growth over
   20372 # repeated appends, instead of the typical quadratic growth present in naive
   20373 # implementations.
   20374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20375 then :
   20376   eval 'as_fn_append ()
   20377   {
   20378     eval $1+=\$2
   20379   }'
   20380 else $as_nop
   20381   as_fn_append ()
   20382   {
   20383     eval $1=\$$1\$2
   20384   }
   20385 fi # as_fn_append
   20386 
   20387 # as_fn_arith ARG...
   20388 # ------------------
   20389 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20391 # must be portable across $(()) and expr.
   20392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20393 then :
   20394   eval 'as_fn_arith ()
   20395   {
   20396     as_val=$(( $* ))
   20397   }'
   20398 else $as_nop
   20399   as_fn_arith ()
   20400   {
   20401     as_val=`expr "$@" || test $? -eq 1`
   20402   }
   20403 fi # as_fn_arith
   20404 
   20405 
   20406 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20407    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20408   as_expr=expr
   20409 else
   20410   as_expr=false
   20411 fi
   20412 
   20413 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20414   as_basename=basename
   20415 else
   20416   as_basename=false
   20417 fi
   20418 
   20419 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20420   as_dirname=dirname
   20421 else
   20422   as_dirname=false
   20423 fi
   20424 
   20425 as_me=`$as_basename -- "$0" ||
   20426 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20427 	 X"$0" : 'X\(//\)$' \| \
   20428 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20429 printf "%s\n" X/"$0" |
   20430     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20431 	    s//\1/
   20432 	    q
   20433 	  }
   20434 	  /^X\/\(\/\/\)$/{
   20435 	    s//\1/
   20436 	    q
   20437 	  }
   20438 	  /^X\/\(\/\).*/{
   20439 	    s//\1/
   20440 	    q
   20441 	  }
   20442 	  s/.*/./; q'`
   20443 
   20444 # Avoid depending upon Character Ranges.
   20445 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20446 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20447 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20448 as_cr_digits='0123456789'
   20449 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20450 
   20451 
   20452 # Determine whether it's possible to make 'echo' print without a newline.
   20453 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20454 # for compatibility with existing Makefiles.
   20455 ECHO_C= ECHO_N= ECHO_T=
   20456 case `echo -n x` in #(((((
   20457 -n*)
   20458   case `echo 'xy\c'` in
   20459   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20460   xy)  ECHO_C='\c';;
   20461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20462        ECHO_T='	';;
   20463   esac;;
   20464 *)
   20465   ECHO_N='-n';;
   20466 esac
   20467 
   20468 # For backward compatibility with old third-party macros, we provide
   20469 # the shell variables $as_echo and $as_echo_n.  New code should use
   20470 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20471 as_echo='printf %s\n'
   20472 as_echo_n='printf %s'
   20473 
   20474 rm -f conf$$ conf$$.exe conf$$.file
   20475 if test -d conf$$.dir; then
   20476   rm -f conf$$.dir/conf$$.file
   20477 else
   20478   rm -f conf$$.dir
   20479   mkdir conf$$.dir 2>/dev/null
   20480 fi
   20481 if (echo >conf$$.file) 2>/dev/null; then
   20482   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20483     as_ln_s='ln -s'
   20484     # ... but there are two gotchas:
   20485     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20486     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20487     # In both cases, we have to default to `cp -pR'.
   20488     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20489       as_ln_s='cp -pR'
   20490   elif ln conf$$.file conf$$ 2>/dev/null; then
   20491     as_ln_s=ln
   20492   else
   20493     as_ln_s='cp -pR'
   20494   fi
   20495 else
   20496   as_ln_s='cp -pR'
   20497 fi
   20498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20499 rmdir conf$$.dir 2>/dev/null
   20500 
   20501 
   20502 # as_fn_mkdir_p
   20503 # -------------
   20504 # Create "$as_dir" as a directory, including parents if necessary.
   20505 as_fn_mkdir_p ()
   20506 {
   20507 
   20508   case $as_dir in #(
   20509   -*) as_dir=./$as_dir;;
   20510   esac
   20511   test -d "$as_dir" || eval $as_mkdir_p || {
   20512     as_dirs=
   20513     while :; do
   20514       case $as_dir in #(
   20515       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20516       *) as_qdir=$as_dir;;
   20517       esac
   20518       as_dirs="'$as_qdir' $as_dirs"
   20519       as_dir=`$as_dirname -- "$as_dir" ||
   20520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20521 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20522 	 X"$as_dir" : 'X\(//\)$' \| \
   20523 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20524 printf "%s\n" X"$as_dir" |
   20525     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20526 	    s//\1/
   20527 	    q
   20528 	  }
   20529 	  /^X\(\/\/\)[^/].*/{
   20530 	    s//\1/
   20531 	    q
   20532 	  }
   20533 	  /^X\(\/\/\)$/{
   20534 	    s//\1/
   20535 	    q
   20536 	  }
   20537 	  /^X\(\/\).*/{
   20538 	    s//\1/
   20539 	    q
   20540 	  }
   20541 	  s/.*/./; q'`
   20542       test -d "$as_dir" && break
   20543     done
   20544     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20545   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20546 
   20547 
   20548 } # as_fn_mkdir_p
   20549 if mkdir -p . 2>/dev/null; then
   20550   as_mkdir_p='mkdir -p "$as_dir"'
   20551 else
   20552   test -d ./-p && rmdir ./-p
   20553   as_mkdir_p=false
   20554 fi
   20555 
   20556 
   20557 # as_fn_executable_p FILE
   20558 # -----------------------
   20559 # Test if FILE is an executable regular file.
   20560 as_fn_executable_p ()
   20561 {
   20562   test -f "$1" && test -x "$1"
   20563 } # as_fn_executable_p
   20564 as_test_x='test -x'
   20565 as_executable_p=as_fn_executable_p
   20566 
   20567 # Sed expression to map a string onto a valid CPP name.
   20568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20569 
   20570 # Sed expression to map a string onto a valid variable name.
   20571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20572 
   20573 
   20574 exec 6>&1
   20575 ## ----------------------------------- ##
   20576 ## Main body of $CONFIG_STATUS script. ##
   20577 ## ----------------------------------- ##
   20578 _ASEOF
   20579 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20580 
   20581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20582 # Save the log message, to keep $0 and so on meaningful, and to
   20583 # report actual input values of CONFIG_FILES etc. instead of their
   20584 # values after options handling.
   20585 ac_log="
   20586 This file was extended by libXau $as_me 1.0.10, which was
   20587 generated by GNU Autoconf 2.71.  Invocation command line was
   20588 
   20589   CONFIG_FILES    = $CONFIG_FILES
   20590   CONFIG_HEADERS  = $CONFIG_HEADERS
   20591   CONFIG_LINKS    = $CONFIG_LINKS
   20592   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20593   $ $0 $@
   20594 
   20595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20596 "
   20597 
   20598 _ACEOF
   20599 
   20600 case $ac_config_files in *"
   20601 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20602 esac
   20603 
   20604 case $ac_config_headers in *"
   20605 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20606 esac
   20607 
   20608 
   20609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20610 # Files that config.status was made for.
   20611 config_files="$ac_config_files"
   20612 config_headers="$ac_config_headers"
   20613 config_commands="$ac_config_commands"
   20614 
   20615 _ACEOF
   20616 
   20617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20618 ac_cs_usage="\
   20619 \`$as_me' instantiates files and other configuration actions
   20620 from templates according to the current configuration.  Unless the files
   20621 and actions are specified as TAGs, all are instantiated by default.
   20622 
   20623 Usage: $0 [OPTION]... [TAG]...
   20624 
   20625   -h, --help       print this help, then exit
   20626   -V, --version    print version number and configuration settings, then exit
   20627       --config     print configuration, then exit
   20628   -q, --quiet, --silent
   20629                    do not print progress messages
   20630   -d, --debug      don't remove temporary files
   20631       --recheck    update $as_me by reconfiguring in the same conditions
   20632       --file=FILE[:TEMPLATE]
   20633                    instantiate the configuration file FILE
   20634       --header=FILE[:TEMPLATE]
   20635                    instantiate the configuration header FILE
   20636 
   20637 Configuration files:
   20638 $config_files
   20639 
   20640 Configuration headers:
   20641 $config_headers
   20642 
   20643 Configuration commands:
   20644 $config_commands
   20645 
   20646 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxau/-/issues>."
   20647 
   20648 _ACEOF
   20649 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20650 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20652 ac_cs_config='$ac_cs_config_escaped'
   20653 ac_cs_version="\\
   20654 libXau config.status 1.0.10
   20655 configured by $0, generated by GNU Autoconf 2.71,
   20656   with options \\"\$ac_cs_config\\"
   20657 
   20658 Copyright (C) 2021 Free Software Foundation, Inc.
   20659 This config.status script is free software; the Free Software Foundation
   20660 gives unlimited permission to copy, distribute and modify it."
   20661 
   20662 ac_pwd='$ac_pwd'
   20663 srcdir='$srcdir'
   20664 INSTALL='$INSTALL'
   20665 MKDIR_P='$MKDIR_P'
   20666 AWK='$AWK'
   20667 test -n "\$AWK" || AWK=awk
   20668 _ACEOF
   20669 
   20670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20671 # The default lists apply if the user does not specify any file.
   20672 ac_need_defaults=:
   20673 while test $# != 0
   20674 do
   20675   case $1 in
   20676   --*=?*)
   20677     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20678     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20679     ac_shift=:
   20680     ;;
   20681   --*=)
   20682     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20683     ac_optarg=
   20684     ac_shift=:
   20685     ;;
   20686   *)
   20687     ac_option=$1
   20688     ac_optarg=$2
   20689     ac_shift=shift
   20690     ;;
   20691   esac
   20692 
   20693   case $ac_option in
   20694   # Handling of the options.
   20695   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20696     ac_cs_recheck=: ;;
   20697   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20698     printf "%s\n" "$ac_cs_version"; exit ;;
   20699   --config | --confi | --conf | --con | --co | --c )
   20700     printf "%s\n" "$ac_cs_config"; exit ;;
   20701   --debug | --debu | --deb | --de | --d | -d )
   20702     debug=: ;;
   20703   --file | --fil | --fi | --f )
   20704     $ac_shift
   20705     case $ac_optarg in
   20706     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20707     '') as_fn_error $? "missing file argument" ;;
   20708     esac
   20709     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20710     ac_need_defaults=false;;
   20711   --header | --heade | --head | --hea )
   20712     $ac_shift
   20713     case $ac_optarg in
   20714     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20715     esac
   20716     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20717     ac_need_defaults=false;;
   20718   --he | --h)
   20719     # Conflict between --help and --header
   20720     as_fn_error $? "ambiguous option: \`$1'
   20721 Try \`$0 --help' for more information.";;
   20722   --help | --hel | -h )
   20723     printf "%s\n" "$ac_cs_usage"; exit ;;
   20724   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20725   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20726     ac_cs_silent=: ;;
   20727 
   20728   # This is an error.
   20729   -*) as_fn_error $? "unrecognized option: \`$1'
   20730 Try \`$0 --help' for more information." ;;
   20731 
   20732   *) as_fn_append ac_config_targets " $1"
   20733      ac_need_defaults=false ;;
   20734 
   20735   esac
   20736   shift
   20737 done
   20738 
   20739 ac_configure_extra_args=
   20740 
   20741 if $ac_cs_silent; then
   20742   exec 6>/dev/null
   20743   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20744 fi
   20745 
   20746 _ACEOF
   20747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20748 if \$ac_cs_recheck; then
   20749   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20750   shift
   20751   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20752   CONFIG_SHELL='$SHELL'
   20753   export CONFIG_SHELL
   20754   exec "\$@"
   20755 fi
   20756 
   20757 _ACEOF
   20758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20759 exec 5>>config.log
   20760 {
   20761   echo
   20762   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20763 ## Running $as_me. ##
   20764 _ASBOX
   20765   printf "%s\n" "$ac_log"
   20766 } >&5
   20767 
   20768 _ACEOF
   20769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20770 #
   20771 # INIT-COMMANDS
   20772 #
   20773 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20774 
   20775 
   20776 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20777 # if CDPATH is set.
   20778 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20779 
   20780 sed_quote_subst='$sed_quote_subst'
   20781 double_quote_subst='$double_quote_subst'
   20782 delay_variable_subst='$delay_variable_subst'
   20783 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   20784 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20785 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20786 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20787 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20788 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20789 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20790 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20791 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20792 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20793 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20794 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20795 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20796 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20797 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20798 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20799 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20800 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20801 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20802 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20803 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20804 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20805 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20806 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20807 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20808 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20809 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20810 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20811 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20812 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20813 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20814 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20815 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20816 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20817 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20818 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20819 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20820 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20821 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20822 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20823 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20824 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20825 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20826 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20827 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20828 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20829 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20830 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20831 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20832 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20833 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20834 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20835 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20836 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20837 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20838 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20839 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20840 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20841 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20842 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20843 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20844 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"`'
   20845 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20846 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20847 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20848 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20849 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20850 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20851 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20852 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20853 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20854 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20855 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20856 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20857 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20858 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20859 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20860 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20861 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20862 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20863 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20864 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20865 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20866 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20867 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20868 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20869 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20870 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20871 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20872 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20873 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20874 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20875 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20876 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20877 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20878 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20879 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20880 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20881 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20882 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20883 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20884 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20885 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20886 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20887 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20888 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20889 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20890 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20891 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20892 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20893 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20894 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20895 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20896 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20897 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20898 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20899 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20900 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20901 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20902 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20903 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20904 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20905 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20906 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20907 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20908 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20909 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20910 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20911 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20912 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20913 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20914 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20915 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20916 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20917 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20918 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20919 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20920 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20921 
   20922 LTCC='$LTCC'
   20923 LTCFLAGS='$LTCFLAGS'
   20924 compiler='$compiler_DEFAULT'
   20925 
   20926 # A function that is used when there is no print builtin or printf.
   20927 func_fallback_echo ()
   20928 {
   20929   eval 'cat <<_LTECHO_EOF
   20930 \$1
   20931 _LTECHO_EOF'
   20932 }
   20933 
   20934 # Quote evaled strings.
   20935 for var in AS \
   20936 DLLTOOL \
   20937 OBJDUMP \
   20938 SHELL \
   20939 ECHO \
   20940 PATH_SEPARATOR \
   20941 SED \
   20942 GREP \
   20943 EGREP \
   20944 FGREP \
   20945 LD \
   20946 NM \
   20947 LN_S \
   20948 lt_SP2NL \
   20949 lt_NL2SP \
   20950 reload_flag \
   20951 FILECMD \
   20952 deplibs_check_method \
   20953 file_magic_cmd \
   20954 file_magic_glob \
   20955 want_nocaseglob \
   20956 sharedlib_from_linklib_cmd \
   20957 AR \
   20958 archiver_list_spec \
   20959 STRIP \
   20960 RANLIB \
   20961 CC \
   20962 CFLAGS \
   20963 compiler \
   20964 lt_cv_sys_global_symbol_pipe \
   20965 lt_cv_sys_global_symbol_to_cdecl \
   20966 lt_cv_sys_global_symbol_to_import \
   20967 lt_cv_sys_global_symbol_to_c_name_address \
   20968 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20969 lt_cv_nm_interface \
   20970 nm_file_list_spec \
   20971 lt_cv_truncate_bin \
   20972 lt_prog_compiler_no_builtin_flag \
   20973 lt_prog_compiler_pic \
   20974 lt_prog_compiler_wl \
   20975 lt_prog_compiler_static \
   20976 lt_cv_prog_compiler_c_o \
   20977 need_locks \
   20978 MANIFEST_TOOL \
   20979 DSYMUTIL \
   20980 NMEDIT \
   20981 LIPO \
   20982 OTOOL \
   20983 OTOOL64 \
   20984 shrext_cmds \
   20985 export_dynamic_flag_spec \
   20986 whole_archive_flag_spec \
   20987 compiler_needs_object \
   20988 with_gnu_ld \
   20989 allow_undefined_flag \
   20990 no_undefined_flag \
   20991 hardcode_libdir_flag_spec \
   20992 hardcode_libdir_separator \
   20993 exclude_expsyms \
   20994 include_expsyms \
   20995 file_list_spec \
   20996 variables_saved_for_relink \
   20997 libname_spec \
   20998 library_names_spec \
   20999 soname_spec \
   21000 install_override_mode \
   21001 finish_eval \
   21002 old_striplib \
   21003 striplib; do
   21004     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21005     *[\\\\\\\`\\"\\\$]*)
   21006       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21007       ;;
   21008     *)
   21009       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21010       ;;
   21011     esac
   21012 done
   21013 
   21014 # Double-quote double-evaled strings.
   21015 for var in reload_cmds \
   21016 old_postinstall_cmds \
   21017 old_postuninstall_cmds \
   21018 old_archive_cmds \
   21019 extract_expsyms_cmds \
   21020 old_archive_from_new_cmds \
   21021 old_archive_from_expsyms_cmds \
   21022 archive_cmds \
   21023 archive_expsym_cmds \
   21024 module_cmds \
   21025 module_expsym_cmds \
   21026 export_symbols_cmds \
   21027 prelink_cmds \
   21028 postlink_cmds \
   21029 postinstall_cmds \
   21030 postuninstall_cmds \
   21031 finish_cmds \
   21032 sys_lib_search_path_spec \
   21033 configure_time_dlsearch_path \
   21034 configure_time_lt_sys_library_path; do
   21035     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21036     *[\\\\\\\`\\"\\\$]*)
   21037       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21038       ;;
   21039     *)
   21040       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21041       ;;
   21042     esac
   21043 done
   21044 
   21045 ac_aux_dir='$ac_aux_dir'
   21046 
   21047 # See if we are running on zsh, and set the options that allow our
   21048 # commands through without removal of \ escapes INIT.
   21049 if test -n "\${ZSH_VERSION+set}"; then
   21050    setopt NO_GLOB_SUBST
   21051 fi
   21052 
   21053 
   21054     PACKAGE='$PACKAGE'
   21055     VERSION='$VERSION'
   21056     RM='$RM'
   21057     ofile='$ofile'
   21058 
   21059 
   21060 
   21061 
   21062 _ACEOF
   21063 
   21064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21065 
   21066 # Handling of arguments.
   21067 for ac_config_target in $ac_config_targets
   21068 do
   21069   case $ac_config_target in
   21070     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21071     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21072     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21073     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21074     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21075     "xau.pc") CONFIG_FILES="$CONFIG_FILES xau.pc" ;;
   21076 
   21077   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21078   esac
   21079 done
   21080 
   21081 
   21082 # If the user did not use the arguments to specify the items to instantiate,
   21083 # then the envvar interface is used.  Set only those that are not.
   21084 # We use the long form for the default assignment because of an extremely
   21085 # bizarre bug on SunOS 4.1.3.
   21086 if $ac_need_defaults; then
   21087   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21088   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21089   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21090 fi
   21091 
   21092 # Have a temporary directory for convenience.  Make it in the build tree
   21093 # simply because there is no reason against having it here, and in addition,
   21094 # creating and moving files from /tmp can sometimes cause problems.
   21095 # Hook for its removal unless debugging.
   21096 # Note that there is a small window in which the directory will not be cleaned:
   21097 # after its creation but before its name has been assigned to `$tmp'.
   21098 $debug ||
   21099 {
   21100   tmp= ac_tmp=
   21101   trap 'exit_status=$?
   21102   : "${ac_tmp:=$tmp}"
   21103   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21104 ' 0
   21105   trap 'as_fn_exit 1' 1 2 13 15
   21106 }
   21107 # Create a (secure) tmp directory for tmp files.
   21108 
   21109 {
   21110   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21111   test -d "$tmp"
   21112 }  ||
   21113 {
   21114   tmp=./conf$$-$RANDOM
   21115   (umask 077 && mkdir "$tmp")
   21116 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21117 ac_tmp=$tmp
   21118 
   21119 # Set up the scripts for CONFIG_FILES section.
   21120 # No need to generate them if there are no CONFIG_FILES.
   21121 # This happens for instance with `./config.status config.h'.
   21122 if test -n "$CONFIG_FILES"; then
   21123 
   21124 
   21125 ac_cr=`echo X | tr X '\015'`
   21126 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21127 # But we know of no other shell where ac_cr would be empty at this
   21128 # point, so we can use a bashism as a fallback.
   21129 if test "x$ac_cr" = x; then
   21130   eval ac_cr=\$\'\\r\'
   21131 fi
   21132 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21134   ac_cs_awk_cr='\\r'
   21135 else
   21136   ac_cs_awk_cr=$ac_cr
   21137 fi
   21138 
   21139 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21140 _ACEOF
   21141 
   21142 
   21143 {
   21144   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21145   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21146   echo "_ACEOF"
   21147 } >conf$$subs.sh ||
   21148   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21150 ac_delim='%!_!# '
   21151 for ac_last_try in false false false false false :; do
   21152   . ./conf$$subs.sh ||
   21153     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21154 
   21155   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21156   if test $ac_delim_n = $ac_delim_num; then
   21157     break
   21158   elif $ac_last_try; then
   21159     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21160   else
   21161     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21162   fi
   21163 done
   21164 rm -f conf$$subs.sh
   21165 
   21166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21167 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21168 _ACEOF
   21169 sed -n '
   21170 h
   21171 s/^/S["/; s/!.*/"]=/
   21172 p
   21173 g
   21174 s/^[^!]*!//
   21175 :repl
   21176 t repl
   21177 s/'"$ac_delim"'$//
   21178 t delim
   21179 :nl
   21180 h
   21181 s/\(.\{148\}\)..*/\1/
   21182 t more1
   21183 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21184 p
   21185 n
   21186 b repl
   21187 :more1
   21188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21189 p
   21190 g
   21191 s/.\{148\}//
   21192 t nl
   21193 :delim
   21194 h
   21195 s/\(.\{148\}\)..*/\1/
   21196 t more2
   21197 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21198 p
   21199 b
   21200 :more2
   21201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21202 p
   21203 g
   21204 s/.\{148\}//
   21205 t delim
   21206 ' <conf$$subs.awk | sed '
   21207 /^[^""]/{
   21208   N
   21209   s/\n//
   21210 }
   21211 ' >>$CONFIG_STATUS || ac_write_fail=1
   21212 rm -f conf$$subs.awk
   21213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21214 _ACAWK
   21215 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21216   for (key in S) S_is_set[key] = 1
   21217   FS = ""
   21218 
   21219 }
   21220 {
   21221   line = $ 0
   21222   nfields = split(line, field, "@")
   21223   substed = 0
   21224   len = length(field[1])
   21225   for (i = 2; i < nfields; i++) {
   21226     key = field[i]
   21227     keylen = length(key)
   21228     if (S_is_set[key]) {
   21229       value = S[key]
   21230       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21231       len += length(value) + length(field[++i])
   21232       substed = 1
   21233     } else
   21234       len += 1 + keylen
   21235   }
   21236 
   21237   print line
   21238 }
   21239 
   21240 _ACAWK
   21241 _ACEOF
   21242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21243 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21244   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21245 else
   21246   cat
   21247 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21248   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21249 _ACEOF
   21250 
   21251 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21252 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21253 # trailing colons and then remove the whole line if VPATH becomes empty
   21254 # (actually we leave an empty line to preserve line numbers).
   21255 if test "x$srcdir" = x.; then
   21256   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21257 h
   21258 s///
   21259 s/^/:/
   21260 s/[	 ]*$/:/
   21261 s/:\$(srcdir):/:/g
   21262 s/:\${srcdir}:/:/g
   21263 s/:@srcdir@:/:/g
   21264 s/^:*//
   21265 s/:*$//
   21266 x
   21267 s/\(=[	 ]*\).*/\1/
   21268 G
   21269 s/\n//
   21270 s/^[^=]*=[	 ]*$//
   21271 }'
   21272 fi
   21273 
   21274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21275 fi # test -n "$CONFIG_FILES"
   21276 
   21277 # Set up the scripts for CONFIG_HEADERS section.
   21278 # No need to generate them if there are no CONFIG_HEADERS.
   21279 # This happens for instance with `./config.status Makefile'.
   21280 if test -n "$CONFIG_HEADERS"; then
   21281 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21282 BEGIN {
   21283 _ACEOF
   21284 
   21285 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21286 # here-document in config.status, that substitutes the proper values into
   21287 # config.h.in to produce config.h.
   21288 
   21289 # Create a delimiter string that does not exist in confdefs.h, to ease
   21290 # handling of long lines.
   21291 ac_delim='%!_!# '
   21292 for ac_last_try in false false :; do
   21293   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21294   if test -z "$ac_tt"; then
   21295     break
   21296   elif $ac_last_try; then
   21297     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21298   else
   21299     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21300   fi
   21301 done
   21302 
   21303 # For the awk script, D is an array of macro values keyed by name,
   21304 # likewise P contains macro parameters if any.  Preserve backslash
   21305 # newline sequences.
   21306 
   21307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21308 sed -n '
   21309 s/.\{148\}/&'"$ac_delim"'/g
   21310 t rset
   21311 :rset
   21312 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21313 t def
   21314 d
   21315 :def
   21316 s/\\$//
   21317 t bsnl
   21318 s/["\\]/\\&/g
   21319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21320 D["\1"]=" \3"/p
   21321 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21322 d
   21323 :bsnl
   21324 s/["\\]/\\&/g
   21325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21326 D["\1"]=" \3\\\\\\n"\\/p
   21327 t cont
   21328 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21329 t cont
   21330 d
   21331 :cont
   21332 n
   21333 s/.\{148\}/&'"$ac_delim"'/g
   21334 t clear
   21335 :clear
   21336 s/\\$//
   21337 t bsnlc
   21338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21339 d
   21340 :bsnlc
   21341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21342 b cont
   21343 ' <confdefs.h | sed '
   21344 s/'"$ac_delim"'/"\\\
   21345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21346 
   21347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21348   for (key in D) D_is_set[key] = 1
   21349   FS = ""
   21350 }
   21351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21352   line = \$ 0
   21353   split(line, arg, " ")
   21354   if (arg[1] == "#") {
   21355     defundef = arg[2]
   21356     mac1 = arg[3]
   21357   } else {
   21358     defundef = substr(arg[1], 2)
   21359     mac1 = arg[2]
   21360   }
   21361   split(mac1, mac2, "(") #)
   21362   macro = mac2[1]
   21363   prefix = substr(line, 1, index(line, defundef) - 1)
   21364   if (D_is_set[macro]) {
   21365     # Preserve the white space surrounding the "#".
   21366     print prefix "define", macro P[macro] D[macro]
   21367     next
   21368   } else {
   21369     # Replace #undef with comments.  This is necessary, for example,
   21370     # in the case of _POSIX_SOURCE, which is predefined and required
   21371     # on some systems where configure will not decide to define it.
   21372     if (defundef == "undef") {
   21373       print "/*", prefix defundef, macro, "*/"
   21374       next
   21375     }
   21376   }
   21377 }
   21378 { print }
   21379 _ACAWK
   21380 _ACEOF
   21381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21382   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21383 fi # test -n "$CONFIG_HEADERS"
   21384 
   21385 
   21386 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21387 shift
   21388 for ac_tag
   21389 do
   21390   case $ac_tag in
   21391   :[FHLC]) ac_mode=$ac_tag; continue;;
   21392   esac
   21393   case $ac_mode$ac_tag in
   21394   :[FHL]*:*);;
   21395   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21396   :[FH]-) ac_tag=-:-;;
   21397   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21398   esac
   21399   ac_save_IFS=$IFS
   21400   IFS=:
   21401   set x $ac_tag
   21402   IFS=$ac_save_IFS
   21403   shift
   21404   ac_file=$1
   21405   shift
   21406 
   21407   case $ac_mode in
   21408   :L) ac_source=$1;;
   21409   :[FH])
   21410     ac_file_inputs=
   21411     for ac_f
   21412     do
   21413       case $ac_f in
   21414       -) ac_f="$ac_tmp/stdin";;
   21415       *) # Look for the file first in the build tree, then in the source tree
   21416 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21417 	 # because $ac_f cannot contain `:'.
   21418 	 test -f "$ac_f" ||
   21419 	   case $ac_f in
   21420 	   [\\/$]*) false;;
   21421 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21422 	   esac ||
   21423 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21424       esac
   21425       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21426       as_fn_append ac_file_inputs " '$ac_f'"
   21427     done
   21428 
   21429     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21430     # use $as_me), people would be surprised to read:
   21431     #    /* config.h.  Generated by config.status.  */
   21432     configure_input='Generated from '`
   21433 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21434 	`' by configure.'
   21435     if test x"$ac_file" != x-; then
   21436       configure_input="$ac_file.  $configure_input"
   21437       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21438 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21439     fi
   21440     # Neutralize special characters interpreted by sed in replacement strings.
   21441     case $configure_input in #(
   21442     *\&* | *\|* | *\\* )
   21443        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21444        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21445     *) ac_sed_conf_input=$configure_input;;
   21446     esac
   21447 
   21448     case $ac_tag in
   21449     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21450       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21451     esac
   21452     ;;
   21453   esac
   21454 
   21455   ac_dir=`$as_dirname -- "$ac_file" ||
   21456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21457 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21458 	 X"$ac_file" : 'X\(//\)$' \| \
   21459 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21460 printf "%s\n" X"$ac_file" |
   21461     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21462 	    s//\1/
   21463 	    q
   21464 	  }
   21465 	  /^X\(\/\/\)[^/].*/{
   21466 	    s//\1/
   21467 	    q
   21468 	  }
   21469 	  /^X\(\/\/\)$/{
   21470 	    s//\1/
   21471 	    q
   21472 	  }
   21473 	  /^X\(\/\).*/{
   21474 	    s//\1/
   21475 	    q
   21476 	  }
   21477 	  s/.*/./; q'`
   21478   as_dir="$ac_dir"; as_fn_mkdir_p
   21479   ac_builddir=.
   21480 
   21481 case "$ac_dir" in
   21482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21483 *)
   21484   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21485   # A ".." for each directory in $ac_dir_suffix.
   21486   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21487   case $ac_top_builddir_sub in
   21488   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21489   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21490   esac ;;
   21491 esac
   21492 ac_abs_top_builddir=$ac_pwd
   21493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21494 # for backward compatibility:
   21495 ac_top_builddir=$ac_top_build_prefix
   21496 
   21497 case $srcdir in
   21498   .)  # We are building in place.
   21499     ac_srcdir=.
   21500     ac_top_srcdir=$ac_top_builddir_sub
   21501     ac_abs_top_srcdir=$ac_pwd ;;
   21502   [\\/]* | ?:[\\/]* )  # Absolute name.
   21503     ac_srcdir=$srcdir$ac_dir_suffix;
   21504     ac_top_srcdir=$srcdir
   21505     ac_abs_top_srcdir=$srcdir ;;
   21506   *) # Relative name.
   21507     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21508     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21509     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21510 esac
   21511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21512 
   21513 
   21514   case $ac_mode in
   21515   :F)
   21516   #
   21517   # CONFIG_FILE
   21518   #
   21519 
   21520   case $INSTALL in
   21521   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21522   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21523   esac
   21524   ac_MKDIR_P=$MKDIR_P
   21525   case $MKDIR_P in
   21526   [\\/$]* | ?:[\\/]* ) ;;
   21527   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21528   esac
   21529 _ACEOF
   21530 
   21531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21532 # If the template does not know about datarootdir, expand it.
   21533 # FIXME: This hack should be removed a few years after 2.60.
   21534 ac_datarootdir_hack=; ac_datarootdir_seen=
   21535 ac_sed_dataroot='
   21536 /datarootdir/ {
   21537   p
   21538   q
   21539 }
   21540 /@datadir@/p
   21541 /@docdir@/p
   21542 /@infodir@/p
   21543 /@localedir@/p
   21544 /@mandir@/p'
   21545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21546 *datarootdir*) ac_datarootdir_seen=yes;;
   21547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21549 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21550 _ACEOF
   21551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21552   ac_datarootdir_hack='
   21553   s&@datadir@&$datadir&g
   21554   s&@docdir@&$docdir&g
   21555   s&@infodir@&$infodir&g
   21556   s&@localedir@&$localedir&g
   21557   s&@mandir@&$mandir&g
   21558   s&\\\${datarootdir}&$datarootdir&g' ;;
   21559 esac
   21560 _ACEOF
   21561 
   21562 # Neutralize VPATH when `$srcdir' = `.'.
   21563 # Shell code in configure.ac might set extrasub.
   21564 # FIXME: do we really want to maintain this feature?
   21565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21566 ac_sed_extra="$ac_vpsub
   21567 $extrasub
   21568 _ACEOF
   21569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21570 :t
   21571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21572 s|@configure_input@|$ac_sed_conf_input|;t t
   21573 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21575 s&@srcdir@&$ac_srcdir&;t t
   21576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21577 s&@top_srcdir@&$ac_top_srcdir&;t t
   21578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21579 s&@builddir@&$ac_builddir&;t t
   21580 s&@abs_builddir@&$ac_abs_builddir&;t t
   21581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21582 s&@INSTALL@&$ac_INSTALL&;t t
   21583 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21584 $ac_datarootdir_hack
   21585 "
   21586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21587   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21588 
   21589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21590   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21591   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21592       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21594 which seems to be undefined.  Please make sure it is defined" >&5
   21595 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21596 which seems to be undefined.  Please make sure it is defined" >&2;}
   21597 
   21598   rm -f "$ac_tmp/stdin"
   21599   case $ac_file in
   21600   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21601   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21602   esac \
   21603   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21604  ;;
   21605   :H)
   21606   #
   21607   # CONFIG_HEADER
   21608   #
   21609   if test x"$ac_file" != x-; then
   21610     {
   21611       printf "%s\n" "/* $configure_input  */" >&1 \
   21612       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21613     } >"$ac_tmp/config.h" \
   21614       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21615     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21616       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21617 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21618     else
   21619       rm -f "$ac_file"
   21620       mv "$ac_tmp/config.h" "$ac_file" \
   21621 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21622     fi
   21623   else
   21624     printf "%s\n" "/* $configure_input  */" >&1 \
   21625       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21626       || as_fn_error $? "could not create -" "$LINENO" 5
   21627   fi
   21628 # Compute "$ac_file"'s index in $config_headers.
   21629 _am_arg="$ac_file"
   21630 _am_stamp_count=1
   21631 for _am_header in $config_headers :; do
   21632   case $_am_header in
   21633     $_am_arg | $_am_arg:* )
   21634       break ;;
   21635     * )
   21636       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21637   esac
   21638 done
   21639 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21640 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21641 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21642 	 X"$_am_arg" : 'X\(//\)$' \| \
   21643 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21644 printf "%s\n" X"$_am_arg" |
   21645     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21646 	    s//\1/
   21647 	    q
   21648 	  }
   21649 	  /^X\(\/\/\)[^/].*/{
   21650 	    s//\1/
   21651 	    q
   21652 	  }
   21653 	  /^X\(\/\/\)$/{
   21654 	    s//\1/
   21655 	    q
   21656 	  }
   21657 	  /^X\(\/\).*/{
   21658 	    s//\1/
   21659 	    q
   21660 	  }
   21661 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21662  ;;
   21663 
   21664   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21665 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21666  ;;
   21667   esac
   21668 
   21669 
   21670   case $ac_file$ac_mode in
   21671     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21672   # Older Autoconf quotes --file arguments for eval, but not when files
   21673   # are listed without --file.  Let's play safe and only enable the eval
   21674   # if we detect the quoting.
   21675   # TODO: see whether this extra hack can be removed once we start
   21676   # requiring Autoconf 2.70 or later.
   21677   case $CONFIG_FILES in #(
   21678   *\'*) :
   21679     eval set x "$CONFIG_FILES" ;; #(
   21680   *) :
   21681     set x $CONFIG_FILES ;; #(
   21682   *) :
   21683      ;;
   21684 esac
   21685   shift
   21686   # Used to flag and report bootstrapping failures.
   21687   am_rc=0
   21688   for am_mf
   21689   do
   21690     # Strip MF so we end up with the name of the file.
   21691     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21692     # Check whether this is an Automake generated Makefile which includes
   21693     # dependency-tracking related rules and includes.
   21694     # Grep'ing the whole file directly is not great: AIX grep has a line
   21695     # limit of 2048, but all sed's we know have understand at least 4000.
   21696     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21697       || continue
   21698     am_dirpart=`$as_dirname -- "$am_mf" ||
   21699 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21700 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21701 	 X"$am_mf" : 'X\(//\)$' \| \
   21702 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21703 printf "%s\n" X"$am_mf" |
   21704     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21705 	    s//\1/
   21706 	    q
   21707 	  }
   21708 	  /^X\(\/\/\)[^/].*/{
   21709 	    s//\1/
   21710 	    q
   21711 	  }
   21712 	  /^X\(\/\/\)$/{
   21713 	    s//\1/
   21714 	    q
   21715 	  }
   21716 	  /^X\(\/\).*/{
   21717 	    s//\1/
   21718 	    q
   21719 	  }
   21720 	  s/.*/./; q'`
   21721     am_filepart=`$as_basename -- "$am_mf" ||
   21722 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21723 	 X"$am_mf" : 'X\(//\)$' \| \
   21724 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21725 printf "%s\n" X/"$am_mf" |
   21726     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21727 	    s//\1/
   21728 	    q
   21729 	  }
   21730 	  /^X\/\(\/\/\)$/{
   21731 	    s//\1/
   21732 	    q
   21733 	  }
   21734 	  /^X\/\(\/\).*/{
   21735 	    s//\1/
   21736 	    q
   21737 	  }
   21738 	  s/.*/./; q'`
   21739     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21740       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21741         | $MAKE -f - am--depfiles" >&5
   21742    (cd "$am_dirpart" \
   21743       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21744         | $MAKE -f - am--depfiles) >&5 2>&5
   21745    ac_status=$?
   21746    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21747    (exit $ac_status); } || am_rc=$?
   21748   done
   21749   if test $am_rc -ne 0; then
   21750     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21751 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21752 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21753     for automatic dependency tracking.  If GNU make was not used, consider
   21754     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21755     necessary).  You can also try re-running configure with the
   21756     '--disable-dependency-tracking' option to at least be able to build
   21757     the package (albeit without support for automatic dependency tracking).
   21758 See \`config.log' for more details" "$LINENO" 5; }
   21759   fi
   21760   { am_dirpart=; unset am_dirpart;}
   21761   { am_filepart=; unset am_filepart;}
   21762   { am_mf=; unset am_mf;}
   21763   { am_rc=; unset am_rc;}
   21764   rm -f conftest-deps.mk
   21765 }
   21766  ;;
   21767     "libtool":C)
   21768 
   21769     # See if we are running on zsh, and set the options that allow our
   21770     # commands through without removal of \ escapes.
   21771     if test -n "${ZSH_VERSION+set}"; then
   21772       setopt NO_GLOB_SUBST
   21773     fi
   21774 
   21775     cfgfile=${ofile}T
   21776     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21777     $RM "$cfgfile"
   21778 
   21779     cat <<_LT_EOF >> "$cfgfile"
   21780 #! $SHELL
   21781 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21782 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21783 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21784 
   21785 # Provide generalized library-building support services.
   21786 # Written by Gordon Matzigkeit, 1996
   21787 
   21788 # Copyright (C) 2014 Free Software Foundation, Inc.
   21789 # This is free software; see the source for copying conditions.  There is NO
   21790 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21791 
   21792 # GNU Libtool is free software; you can redistribute it and/or modify
   21793 # it under the terms of the GNU General Public License as published by
   21794 # the Free Software Foundation; either version 2 of of the License, or
   21795 # (at your option) any later version.
   21796 #
   21797 # As a special exception to the GNU General Public License, if you
   21798 # distribute this file as part of a program or library that is built
   21799 # using GNU Libtool, you may include this file under the  same
   21800 # distribution terms that you use for the rest of that program.
   21801 #
   21802 # GNU Libtool is distributed in the hope that it will be useful, but
   21803 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21805 # GNU General Public License for more details.
   21806 #
   21807 # You should have received a copy of the GNU General Public License
   21808 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21809 
   21810 
   21811 # The names of the tagged configurations supported by this script.
   21812 available_tags=''
   21813 
   21814 # Configured defaults for sys_lib_dlsearch_path munging.
   21815 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21816 
   21817 # ### BEGIN LIBTOOL CONFIG
   21818 
   21819 # Assembler program.
   21820 AS=$lt_AS
   21821 
   21822 # DLL creation program.
   21823 DLLTOOL=$lt_DLLTOOL
   21824 
   21825 # Object dumper program.
   21826 OBJDUMP=$lt_OBJDUMP
   21827 
   21828 # Which release of libtool.m4 was used?
   21829 macro_version=$macro_version
   21830 macro_revision=$macro_revision
   21831 
   21832 # Whether or not to build shared libraries.
   21833 build_libtool_libs=$enable_shared
   21834 
   21835 # Whether or not to build static libraries.
   21836 build_old_libs=$enable_static
   21837 
   21838 # What type of objects to build.
   21839 pic_mode=$pic_mode
   21840 
   21841 # Whether or not to optimize for fast installation.
   21842 fast_install=$enable_fast_install
   21843 
   21844 # Shared archive member basename,for filename based shared library versioning on AIX.
   21845 shared_archive_member_spec=$shared_archive_member_spec
   21846 
   21847 # Shell to use when invoking shell scripts.
   21848 SHELL=$lt_SHELL
   21849 
   21850 # An echo program that protects backslashes.
   21851 ECHO=$lt_ECHO
   21852 
   21853 # The PATH separator for the build system.
   21854 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21855 
   21856 # The host system.
   21857 host_alias=$host_alias
   21858 host=$host
   21859 host_os=$host_os
   21860 
   21861 # The build system.
   21862 build_alias=$build_alias
   21863 build=$build
   21864 build_os=$build_os
   21865 
   21866 # A sed program that does not truncate output.
   21867 SED=$lt_SED
   21868 
   21869 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21870 Xsed="\$SED -e 1s/^X//"
   21871 
   21872 # A grep program that handles long lines.
   21873 GREP=$lt_GREP
   21874 
   21875 # An ERE matcher.
   21876 EGREP=$lt_EGREP
   21877 
   21878 # A literal string matcher.
   21879 FGREP=$lt_FGREP
   21880 
   21881 # A BSD- or MS-compatible name lister.
   21882 NM=$lt_NM
   21883 
   21884 # Whether we need soft or hard links.
   21885 LN_S=$lt_LN_S
   21886 
   21887 # What is the maximum length of a command?
   21888 max_cmd_len=$max_cmd_len
   21889 
   21890 # Object file suffix (normally "o").
   21891 objext=$ac_objext
   21892 
   21893 # Executable file suffix (normally "").
   21894 exeext=$exeext
   21895 
   21896 # whether the shell understands "unset".
   21897 lt_unset=$lt_unset
   21898 
   21899 # turn spaces into newlines.
   21900 SP2NL=$lt_lt_SP2NL
   21901 
   21902 # turn newlines into spaces.
   21903 NL2SP=$lt_lt_NL2SP
   21904 
   21905 # convert \$build file names to \$host format.
   21906 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21907 
   21908 # convert \$build files to toolchain format.
   21909 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21910 
   21911 # A file(cmd) program that detects file types.
   21912 FILECMD=$lt_FILECMD
   21913 
   21914 # Method to check whether dependent libraries are shared objects.
   21915 deplibs_check_method=$lt_deplibs_check_method
   21916 
   21917 # Command to use when deplibs_check_method = "file_magic".
   21918 file_magic_cmd=$lt_file_magic_cmd
   21919 
   21920 # How to find potential files when deplibs_check_method = "file_magic".
   21921 file_magic_glob=$lt_file_magic_glob
   21922 
   21923 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21924 want_nocaseglob=$lt_want_nocaseglob
   21925 
   21926 # Command to associate shared and link libraries.
   21927 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21928 
   21929 # The archiver.
   21930 AR=$lt_AR
   21931 
   21932 # Flags to create an archive (by configure).
   21933 lt_ar_flags=$lt_ar_flags
   21934 
   21935 # Flags to create an archive.
   21936 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21937 
   21938 # How to feed a file listing to the archiver.
   21939 archiver_list_spec=$lt_archiver_list_spec
   21940 
   21941 # A symbol stripping program.
   21942 STRIP=$lt_STRIP
   21943 
   21944 # Commands used to install an old-style archive.
   21945 RANLIB=$lt_RANLIB
   21946 old_postinstall_cmds=$lt_old_postinstall_cmds
   21947 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21948 
   21949 # Whether to use a lock for old archive extraction.
   21950 lock_old_archive_extraction=$lock_old_archive_extraction
   21951 
   21952 # A C compiler.
   21953 LTCC=$lt_CC
   21954 
   21955 # LTCC compiler flags.
   21956 LTCFLAGS=$lt_CFLAGS
   21957 
   21958 # Take the output of nm and produce a listing of raw symbols and C names.
   21959 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21960 
   21961 # Transform the output of nm in a proper C declaration.
   21962 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21963 
   21964 # Transform the output of nm into a list of symbols to manually relocate.
   21965 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21966 
   21967 # Transform the output of nm in a C name address pair.
   21968 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21969 
   21970 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21971 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21972 
   21973 # The name lister interface.
   21974 nm_interface=$lt_lt_cv_nm_interface
   21975 
   21976 # Specify filename containing input files for \$NM.
   21977 nm_file_list_spec=$lt_nm_file_list_spec
   21978 
   21979 # The root where to search for dependent libraries,and where our libraries should be installed.
   21980 lt_sysroot=$lt_sysroot
   21981 
   21982 # Command to truncate a binary pipe.
   21983 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21984 
   21985 # The name of the directory that contains temporary libtool files.
   21986 objdir=$objdir
   21987 
   21988 # Used to examine libraries when file_magic_cmd begins with "file".
   21989 MAGIC_CMD=$MAGIC_CMD
   21990 
   21991 # Must we lock files when doing compilation?
   21992 need_locks=$lt_need_locks
   21993 
   21994 # Manifest tool.
   21995 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21996 
   21997 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21998 DSYMUTIL=$lt_DSYMUTIL
   21999 
   22000 # Tool to change global to local symbols on Mac OS X.
   22001 NMEDIT=$lt_NMEDIT
   22002 
   22003 # Tool to manipulate fat objects and archives on Mac OS X.
   22004 LIPO=$lt_LIPO
   22005 
   22006 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22007 OTOOL=$lt_OTOOL
   22008 
   22009 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22010 OTOOL64=$lt_OTOOL64
   22011 
   22012 # Old archive suffix (normally "a").
   22013 libext=$libext
   22014 
   22015 # Shared library suffix (normally ".so").
   22016 shrext_cmds=$lt_shrext_cmds
   22017 
   22018 # The commands to extract the exported symbol list from a shared archive.
   22019 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22020 
   22021 # Variables whose values should be saved in libtool wrapper scripts and
   22022 # restored at link time.
   22023 variables_saved_for_relink=$lt_variables_saved_for_relink
   22024 
   22025 # Do we need the "lib" prefix for modules?
   22026 need_lib_prefix=$need_lib_prefix
   22027 
   22028 # Do we need a version for libraries?
   22029 need_version=$need_version
   22030 
   22031 # Library versioning type.
   22032 version_type=$version_type
   22033 
   22034 # Shared library runtime path variable.
   22035 runpath_var=$runpath_var
   22036 
   22037 # Shared library path variable.
   22038 shlibpath_var=$shlibpath_var
   22039 
   22040 # Is shlibpath searched before the hard-coded library search path?
   22041 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22042 
   22043 # Format of library name prefix.
   22044 libname_spec=$lt_libname_spec
   22045 
   22046 # List of archive names.  First name is the real one, the rest are links.
   22047 # The last name is the one that the linker finds with -lNAME
   22048 library_names_spec=$lt_library_names_spec
   22049 
   22050 # The coded name of the library, if different from the real name.
   22051 soname_spec=$lt_soname_spec
   22052 
   22053 # Permission mode override for installation of shared libraries.
   22054 install_override_mode=$lt_install_override_mode
   22055 
   22056 # Command to use after installation of a shared archive.
   22057 postinstall_cmds=$lt_postinstall_cmds
   22058 
   22059 # Command to use after uninstallation of a shared archive.
   22060 postuninstall_cmds=$lt_postuninstall_cmds
   22061 
   22062 # Commands used to finish a libtool library installation in a directory.
   22063 finish_cmds=$lt_finish_cmds
   22064 
   22065 # As "finish_cmds", except a single script fragment to be evaled but
   22066 # not shown.
   22067 finish_eval=$lt_finish_eval
   22068 
   22069 # Whether we should hardcode library paths into libraries.
   22070 hardcode_into_libs=$hardcode_into_libs
   22071 
   22072 # Compile-time system search path for libraries.
   22073 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22074 
   22075 # Detected run-time system search path for libraries.
   22076 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22077 
   22078 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22079 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22080 
   22081 # Whether dlopen is supported.
   22082 dlopen_support=$enable_dlopen
   22083 
   22084 # Whether dlopen of programs is supported.
   22085 dlopen_self=$enable_dlopen_self
   22086 
   22087 # Whether dlopen of statically linked programs is supported.
   22088 dlopen_self_static=$enable_dlopen_self_static
   22089 
   22090 # Commands to strip libraries.
   22091 old_striplib=$lt_old_striplib
   22092 striplib=$lt_striplib
   22093 
   22094 
   22095 # The linker used to build libraries.
   22096 LD=$lt_LD
   22097 
   22098 # How to create reloadable object files.
   22099 reload_flag=$lt_reload_flag
   22100 reload_cmds=$lt_reload_cmds
   22101 
   22102 # Commands used to build an old-style archive.
   22103 old_archive_cmds=$lt_old_archive_cmds
   22104 
   22105 # A language specific compiler.
   22106 CC=$lt_compiler
   22107 
   22108 # Is the compiler the GNU compiler?
   22109 with_gcc=$GCC
   22110 
   22111 # Compiler flag to turn off builtin functions.
   22112 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22113 
   22114 # Additional compiler flags for building library objects.
   22115 pic_flag=$lt_lt_prog_compiler_pic
   22116 
   22117 # How to pass a linker flag through the compiler.
   22118 wl=$lt_lt_prog_compiler_wl
   22119 
   22120 # Compiler flag to prevent dynamic linking.
   22121 link_static_flag=$lt_lt_prog_compiler_static
   22122 
   22123 # Does compiler simultaneously support -c and -o options?
   22124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22125 
   22126 # Whether or not to add -lc for building shared libraries.
   22127 build_libtool_need_lc=$archive_cmds_need_lc
   22128 
   22129 # Whether or not to disallow shared libs when runtime libs are static.
   22130 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22131 
   22132 # Compiler flag to allow reflexive dlopens.
   22133 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22134 
   22135 # Compiler flag to generate shared objects directly from archives.
   22136 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22137 
   22138 # Whether the compiler copes with passing no objects directly.
   22139 compiler_needs_object=$lt_compiler_needs_object
   22140 
   22141 # Create an old-style archive from a shared archive.
   22142 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22143 
   22144 # Create a temporary old-style archive to link instead of a shared archive.
   22145 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22146 
   22147 # Commands used to build a shared archive.
   22148 archive_cmds=$lt_archive_cmds
   22149 archive_expsym_cmds=$lt_archive_expsym_cmds
   22150 
   22151 # Commands used to build a loadable module if different from building
   22152 # a shared archive.
   22153 module_cmds=$lt_module_cmds
   22154 module_expsym_cmds=$lt_module_expsym_cmds
   22155 
   22156 # Whether we are building with GNU ld or not.
   22157 with_gnu_ld=$lt_with_gnu_ld
   22158 
   22159 # Flag that allows shared libraries with undefined symbols to be built.
   22160 allow_undefined_flag=$lt_allow_undefined_flag
   22161 
   22162 # Flag that enforces no undefined symbols.
   22163 no_undefined_flag=$lt_no_undefined_flag
   22164 
   22165 # Flag to hardcode \$libdir into a binary during linking.
   22166 # This must work even if \$libdir does not exist
   22167 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22168 
   22169 # Whether we need a single "-rpath" flag with a separated argument.
   22170 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22171 
   22172 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22173 # DIR into the resulting binary.
   22174 hardcode_direct=$hardcode_direct
   22175 
   22176 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22177 # DIR into the resulting binary and the resulting library dependency is
   22178 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22179 # library is relocated.
   22180 hardcode_direct_absolute=$hardcode_direct_absolute
   22181 
   22182 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22183 # into the resulting binary.
   22184 hardcode_minus_L=$hardcode_minus_L
   22185 
   22186 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22187 # into the resulting binary.
   22188 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22189 
   22190 # Set to "yes" if building a shared library automatically hardcodes DIR
   22191 # into the library and all subsequent libraries and executables linked
   22192 # against it.
   22193 hardcode_automatic=$hardcode_automatic
   22194 
   22195 # Set to yes if linker adds runtime paths of dependent libraries
   22196 # to runtime path list.
   22197 inherit_rpath=$inherit_rpath
   22198 
   22199 # Whether libtool must link a program against all its dependency libraries.
   22200 link_all_deplibs=$link_all_deplibs
   22201 
   22202 # Set to "yes" if exported symbols are required.
   22203 always_export_symbols=$always_export_symbols
   22204 
   22205 # The commands to list exported symbols.
   22206 export_symbols_cmds=$lt_export_symbols_cmds
   22207 
   22208 # Symbols that should not be listed in the preloaded symbols.
   22209 exclude_expsyms=$lt_exclude_expsyms
   22210 
   22211 # Symbols that must always be exported.
   22212 include_expsyms=$lt_include_expsyms
   22213 
   22214 # Commands necessary for linking programs (against libraries) with templates.
   22215 prelink_cmds=$lt_prelink_cmds
   22216 
   22217 # Commands necessary for finishing linking programs.
   22218 postlink_cmds=$lt_postlink_cmds
   22219 
   22220 # Specify filename containing input files.
   22221 file_list_spec=$lt_file_list_spec
   22222 
   22223 # How to hardcode a shared library path into an executable.
   22224 hardcode_action=$hardcode_action
   22225 
   22226 # ### END LIBTOOL CONFIG
   22227 
   22228 _LT_EOF
   22229 
   22230     cat <<'_LT_EOF' >> "$cfgfile"
   22231 
   22232 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22233 
   22234 # func_munge_path_list VARIABLE PATH
   22235 # -----------------------------------
   22236 # VARIABLE is name of variable containing _space_ separated list of
   22237 # directories to be munged by the contents of PATH, which is string
   22238 # having a format:
   22239 # "DIR[:DIR]:"
   22240 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22241 # ":DIR[:DIR]"
   22242 #       string "DIR[ DIR]" will be appended to VARIABLE
   22243 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22244 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22245 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22246 # "DIR[:DIR]"
   22247 #       VARIABLE will be replaced by "DIR[ DIR]"
   22248 func_munge_path_list ()
   22249 {
   22250     case x$2 in
   22251     x)
   22252         ;;
   22253     *:)
   22254         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22255         ;;
   22256     x:*)
   22257         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22258         ;;
   22259     *::*)
   22260         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22261         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22262         ;;
   22263     *)
   22264         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22265         ;;
   22266     esac
   22267 }
   22268 
   22269 
   22270 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22271 func_cc_basename ()
   22272 {
   22273     for cc_temp in $*""; do
   22274       case $cc_temp in
   22275         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22276         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22277         \-*) ;;
   22278         *) break;;
   22279       esac
   22280     done
   22281     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22282 }
   22283 
   22284 
   22285 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22286 
   22287 _LT_EOF
   22288 
   22289   case $host_os in
   22290   aix3*)
   22291     cat <<\_LT_EOF >> "$cfgfile"
   22292 # AIX sometimes has problems with the GCC collect2 program.  For some
   22293 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22294 # vanish in a puff of smoke.
   22295 if test set != "${COLLECT_NAMES+set}"; then
   22296   COLLECT_NAMES=
   22297   export COLLECT_NAMES
   22298 fi
   22299 _LT_EOF
   22300     ;;
   22301   esac
   22302 
   22303 
   22304 
   22305 ltmain=$ac_aux_dir/ltmain.sh
   22306 
   22307 
   22308   # We use sed instead of cat because bash on DJGPP gets confused if
   22309   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22310   # text mode, it properly converts lines to CR/LF.  This bash problem
   22311   # is reportedly fixed, but why not run on old versions too?
   22312   $SED '$q' "$ltmain" >> "$cfgfile" \
   22313      || (rm -f "$cfgfile"; exit 1)
   22314 
   22315    mv -f "$cfgfile" "$ofile" ||
   22316     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22317   chmod +x "$ofile"
   22318 
   22319  ;;
   22320 
   22321   esac
   22322 done # for ac_tag
   22323 
   22324 
   22325 as_fn_exit 0
   22326 _ACEOF
   22327 ac_clean_files=$ac_clean_files_save
   22328 
   22329 test $ac_write_fail = 0 ||
   22330   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22331 
   22332 
   22333 # configure is writing to config.log, and then calls config.status.
   22334 # config.status does its own redirection, appending to config.log.
   22335 # Unfortunately, on DOS this fails, as config.log is still kept open
   22336 # by configure, so config.status won't be able to write to it; its
   22337 # output is simply discarded.  So we exec the FD to /dev/null,
   22338 # effectively closing config.log, so it can be properly (re)opened and
   22339 # appended to by config.status.  When coming back to configure, we
   22340 # need to make the FD available again.
   22341 if test "$no_create" != yes; then
   22342   ac_cs_success=:
   22343   ac_config_status_args=
   22344   test "$silent" = yes &&
   22345     ac_config_status_args="$ac_config_status_args --quiet"
   22346   exec 5>/dev/null
   22347   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22348   exec 5>>config.log
   22349   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22350   # would make configure fail if this is the last instruction.
   22351   $ac_cs_success || as_fn_exit 1
   22352 fi
   22353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22355 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22356 fi
   22357 
   22358 
   22359