Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.17
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXi 1.8.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXi/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/libXi/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 as_awk_strverscmp='
    602   # Use only awk features that work with 7th edition Unix awk (1978).
    603   # My, what an old awk you have, Mr. Solaris!
    604   END {
    605     while (length(v1) && length(v2)) {
    606       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    607       # Normally this is a single character, but if v1 and v2 contain digits,
    608       # compare them as integers and fractions as strverscmp does.
    609       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    610 	# Split v1 and v2 into their leading digit string components d1 and d2,
    611 	# and advance v1 and v2 past the leading digit strings.
    612 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    613 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    614 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    615 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    616 	if (d1 ~ /^0/) {
    617 	  if (d2 ~ /^0/) {
    618 	    # Compare two fractions.
    619 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    620 	      d1 = substr(d1, 2); len1--
    621 	      d2 = substr(d2, 2); len2--
    622 	    }
    623 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    624 	      # The two components differ in length, and the common prefix
    625 	      # contains only leading zeros.  Consider the longer to be less.
    626 	      d1 = -len1
    627 	      d2 = -len2
    628 	    } else {
    629 	      # Otherwise, compare as strings.
    630 	      d1 = "x" d1
    631 	      d2 = "x" d2
    632 	    }
    633 	  } else {
    634 	    # A fraction is less than an integer.
    635 	    exit 1
    636 	  }
    637 	} else {
    638 	  if (d2 ~ /^0/) {
    639 	    # An integer is greater than a fraction.
    640 	    exit 2
    641 	  } else {
    642 	    # Compare two integers.
    643 	    d1 += 0
    644 	    d2 += 0
    645 	  }
    646 	}
    647       } else {
    648 	# The normal case, without worrying about digits.
    649 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    650 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    651       }
    652       if (d1 < d2) exit 1
    653       if (d1 > d2) exit 2
    654     }
    655     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    656     # which mishandles some comparisons of empty strings to integers.
    657     if (length(v2)) exit 1
    658     if (length(v1)) exit 2
    659   }
    660 '
    661 
    662 test -n "$DJDIR" || exec 7<&0 </dev/null
    663 exec 6>&1
    664 
    665 # Name of the host.
    666 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    667 # so uname gets run too.
    668 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    669 
    670 #
    671 # Initializations.
    672 #
    673 ac_default_prefix=/usr/local
    674 ac_clean_files=
    675 ac_config_libobj_dir=.
    676 LIBOBJS=
    677 cross_compiling=no
    678 subdirs=
    679 MFLAGS=
    680 MAKEFLAGS=
    681 
    682 # Identity of this package.
    683 PACKAGE_NAME='libXi'
    684 PACKAGE_TARNAME='libXi'
    685 PACKAGE_VERSION='1.8.1'
    686 PACKAGE_STRING='libXi 1.8.1'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXi/issues'
    688 PACKAGE_URL=''
    689 
    690 ac_unique_file="Makefile.am"
    691 # Factoring default headers for most tests.
    692 ac_includes_default="\
    693 #include <stddef.h>
    694 #ifdef HAVE_STDIO_H
    695 # include <stdio.h>
    696 #endif
    697 #ifdef HAVE_STDLIB_H
    698 # include <stdlib.h>
    699 #endif
    700 #ifdef HAVE_STRING_H
    701 # include <string.h>
    702 #endif
    703 #ifdef HAVE_INTTYPES_H
    704 # include <inttypes.h>
    705 #endif
    706 #ifdef HAVE_STDINT_H
    707 # include <stdint.h>
    708 #endif
    709 #ifdef HAVE_STRINGS_H
    710 # include <strings.h>
    711 #endif
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef HAVE_UNISTD_H
    719 # include <unistd.h>
    720 #endif"
    721 
    722 ac_header_c_list=
    723 ac_subst_vars='am__EXEEXT_FALSE
    724 am__EXEEXT_TRUE
    725 LTLIBOBJS
    726 LIBOBJS
    727 INSTALL_MANPAGES_FALSE
    728 INSTALL_MANPAGES_TRUE
    729 HAVE_DOCTOOLS_FALSE
    730 HAVE_DOCTOOLS_TRUE
    731 XFIXES_LIBS
    732 XFIXES_CFLAGS
    733 XI_LIBS
    734 XI_CFLAGS
    735 XTMALLOC_ZERO_CFLAGS
    736 XMALLOC_ZERO_CFLAGS
    737 MALLOC_ZERO_CFLAGS
    738 HAVE_ASCIIDOC_FALSE
    739 HAVE_ASCIIDOC_TRUE
    740 ASCIIDOC
    741 HAVE_STYLESHEETS_FALSE
    742 HAVE_STYLESHEETS_TRUE
    743 XSL_STYLESHEET
    744 STYLESHEET_SRCDIR
    745 XORG_SGML_PATH
    746 HAVE_XSLTPROC_FALSE
    747 HAVE_XSLTPROC_TRUE
    748 XSLTPROC
    749 HAVE_FOP_FALSE
    750 HAVE_FOP_TRUE
    751 FOP
    752 HAVE_XMLTO_FALSE
    753 HAVE_XMLTO_TRUE
    754 HAVE_XMLTO_TEXT_FALSE
    755 HAVE_XMLTO_TEXT_TRUE
    756 XMLTO
    757 ENABLE_SPECS_FALSE
    758 ENABLE_SPECS_TRUE
    759 ENABLE_DOCS_FALSE
    760 ENABLE_DOCS_TRUE
    761 MAN_SUBSTS
    762 XORG_MAN_PAGE
    763 ADMIN_MAN_DIR
    764 DRIVER_MAN_DIR
    765 MISC_MAN_DIR
    766 FILE_MAN_DIR
    767 LIB_MAN_DIR
    768 APP_MAN_DIR
    769 ADMIN_MAN_SUFFIX
    770 DRIVER_MAN_SUFFIX
    771 MISC_MAN_SUFFIX
    772 FILE_MAN_SUFFIX
    773 LIB_MAN_SUFFIX
    774 APP_MAN_SUFFIX
    775 INSTALL_CMD
    776 PKG_CONFIG_LIBDIR
    777 PKG_CONFIG_PATH
    778 PKG_CONFIG
    779 CHANGELOG_CMD
    780 STRICT_CFLAGS
    781 CWARNFLAGS
    782 BASE_CFLAGS
    783 LT_SYS_LIBRARY_PATH
    784 OTOOL64
    785 OTOOL
    786 LIPO
    787 NMEDIT
    788 DSYMUTIL
    789 MANIFEST_TOOL
    790 RANLIB
    791 ac_ct_AR
    792 AR
    793 DLLTOOL
    794 OBJDUMP
    795 FILECMD
    796 LN_S
    797 NM
    798 ac_ct_DUMPBIN
    799 DUMPBIN
    800 LD
    801 FGREP
    802 EGREP
    803 GREP
    804 SED
    805 am__fastdepCC_FALSE
    806 am__fastdepCC_TRUE
    807 CCDEPMODE
    808 am__nodep
    809 AMDEPBACKSLASH
    810 AMDEP_FALSE
    811 AMDEP_TRUE
    812 am__include
    813 DEPDIR
    814 OBJEXT
    815 EXEEXT
    816 ac_ct_CC
    817 CPPFLAGS
    818 LDFLAGS
    819 CFLAGS
    820 CC
    821 host_os
    822 host_vendor
    823 host_cpu
    824 host
    825 build_os
    826 build_vendor
    827 build_cpu
    828 build
    829 LIBTOOL
    830 AM_BACKSLASH
    831 AM_DEFAULT_VERBOSITY
    832 AM_DEFAULT_V
    833 AM_V
    834 CSCOPE
    835 ETAGS
    836 CTAGS
    837 am__untar
    838 am__tar
    839 AMTAR
    840 am__leading_dot
    841 SET_MAKE
    842 AWK
    843 mkdir_p
    844 MKDIR_P
    845 INSTALL_STRIP_PROGRAM
    846 STRIP
    847 install_sh
    848 MAKEINFO
    849 AUTOHEADER
    850 AUTOMAKE
    851 AUTOCONF
    852 ACLOCAL
    853 VERSION
    854 PACKAGE
    855 CYGPATH_W
    856 am__isrc
    857 INSTALL_DATA
    858 INSTALL_SCRIPT
    859 INSTALL_PROGRAM
    860 target_alias
    861 host_alias
    862 build_alias
    863 LIBS
    864 ECHO_T
    865 ECHO_N
    866 ECHO_C
    867 DEFS
    868 mandir
    869 localedir
    870 libdir
    871 psdir
    872 pdfdir
    873 dvidir
    874 htmldir
    875 infodir
    876 docdir
    877 oldincludedir
    878 includedir
    879 runstatedir
    880 localstatedir
    881 sharedstatedir
    882 sysconfdir
    883 datadir
    884 datarootdir
    885 libexecdir
    886 sbindir
    887 bindir
    888 program_transform_name
    889 prefix
    890 exec_prefix
    891 PACKAGE_URL
    892 PACKAGE_BUGREPORT
    893 PACKAGE_STRING
    894 PACKAGE_VERSION
    895 PACKAGE_TARNAME
    896 PACKAGE_NAME
    897 PATH_SEPARATOR
    898 SHELL
    899 am__quote'
    900 ac_subst_files=''
    901 ac_user_opts='
    902 enable_option_checking
    903 enable_silent_rules
    904 enable_shared
    905 enable_static
    906 with_pic
    907 enable_fast_install
    908 with_aix_soname
    909 enable_dependency_tracking
    910 with_gnu_ld
    911 with_sysroot
    912 enable_libtool_lock
    913 enable_selective_werror
    914 enable_strict_compilation
    915 enable_docs
    916 enable_specs
    917 with_xmlto
    918 with_fop
    919 with_xsltproc
    920 with_asciidoc
    921 enable_malloc0returnsnull
    922 '
    923       ac_precious_vars='build_alias
    924 host_alias
    925 target_alias
    926 CC
    927 CFLAGS
    928 LDFLAGS
    929 LIBS
    930 CPPFLAGS
    931 LT_SYS_LIBRARY_PATH
    932 PKG_CONFIG
    933 PKG_CONFIG_PATH
    934 PKG_CONFIG_LIBDIR
    935 XMLTO
    936 FOP
    937 XSLTPROC
    938 ASCIIDOC
    939 XI_CFLAGS
    940 XI_LIBS
    941 XFIXES_CFLAGS
    942 XFIXES_LIBS'
    943 
    944 
    945 # Initialize some variables set by options.
    946 ac_init_help=
    947 ac_init_version=false
    948 ac_unrecognized_opts=
    949 ac_unrecognized_sep=
    950 # The variables have the same names as the options, with
    951 # dashes changed to underlines.
    952 cache_file=/dev/null
    953 exec_prefix=NONE
    954 no_create=
    955 no_recursion=
    956 prefix=NONE
    957 program_prefix=NONE
    958 program_suffix=NONE
    959 program_transform_name=s,x,x,
    960 silent=
    961 site=
    962 srcdir=
    963 verbose=
    964 x_includes=NONE
    965 x_libraries=NONE
    966 
    967 # Installation directory options.
    968 # These are left unexpanded so users can "make install exec_prefix=/foo"
    969 # and all the variables that are supposed to be based on exec_prefix
    970 # by default will actually change.
    971 # Use braces instead of parens because sh, perl, etc. also accept them.
    972 # (The list follows the same order as the GNU Coding Standards.)
    973 bindir='${exec_prefix}/bin'
    974 sbindir='${exec_prefix}/sbin'
    975 libexecdir='${exec_prefix}/libexec'
    976 datarootdir='${prefix}/share'
    977 datadir='${datarootdir}'
    978 sysconfdir='${prefix}/etc'
    979 sharedstatedir='${prefix}/com'
    980 localstatedir='${prefix}/var'
    981 runstatedir='${localstatedir}/run'
    982 includedir='${prefix}/include'
    983 oldincludedir='/usr/include'
    984 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    985 infodir='${datarootdir}/info'
    986 htmldir='${docdir}'
    987 dvidir='${docdir}'
    988 pdfdir='${docdir}'
    989 psdir='${docdir}'
    990 libdir='${exec_prefix}/lib'
    991 localedir='${datarootdir}/locale'
    992 mandir='${datarootdir}/man'
    993 
    994 ac_prev=
    995 ac_dashdash=
    996 for ac_option
    997 do
    998   # If the previous option needs an argument, assign it.
    999   if test -n "$ac_prev"; then
   1000     eval $ac_prev=\$ac_option
   1001     ac_prev=
   1002     continue
   1003   fi
   1004 
   1005   case $ac_option in
   1006   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1007   *=)   ac_optarg= ;;
   1008   *)    ac_optarg=yes ;;
   1009   esac
   1010 
   1011   case $ac_dashdash$ac_option in
   1012   --)
   1013     ac_dashdash=yes ;;
   1014 
   1015   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1016     ac_prev=bindir ;;
   1017   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1018     bindir=$ac_optarg ;;
   1019 
   1020   -build | --build | --buil | --bui | --bu)
   1021     ac_prev=build_alias ;;
   1022   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1023     build_alias=$ac_optarg ;;
   1024 
   1025   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1026   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1027     ac_prev=cache_file ;;
   1028   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1029   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1030     cache_file=$ac_optarg ;;
   1031 
   1032   --config-cache | -C)
   1033     cache_file=config.cache ;;
   1034 
   1035   -datadir | --datadir | --datadi | --datad)
   1036     ac_prev=datadir ;;
   1037   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1038     datadir=$ac_optarg ;;
   1039 
   1040   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1041   | --dataroo | --dataro | --datar)
   1042     ac_prev=datarootdir ;;
   1043   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1044   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1045     datarootdir=$ac_optarg ;;
   1046 
   1047   -disable-* | --disable-*)
   1048     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1049     # Reject names that are not valid shell variable names.
   1050     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1051       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1052     ac_useropt_orig=$ac_useropt
   1053     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1054     case $ac_user_opts in
   1055       *"
   1056 "enable_$ac_useropt"
   1057 "*) ;;
   1058       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1059 	 ac_unrecognized_sep=', ';;
   1060     esac
   1061     eval enable_$ac_useropt=no ;;
   1062 
   1063   -docdir | --docdir | --docdi | --doc | --do)
   1064     ac_prev=docdir ;;
   1065   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1066     docdir=$ac_optarg ;;
   1067 
   1068   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1069     ac_prev=dvidir ;;
   1070   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1071     dvidir=$ac_optarg ;;
   1072 
   1073   -enable-* | --enable-*)
   1074     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1075     # Reject names that are not valid shell variable names.
   1076     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1077       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1078     ac_useropt_orig=$ac_useropt
   1079     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1080     case $ac_user_opts in
   1081       *"
   1082 "enable_$ac_useropt"
   1083 "*) ;;
   1084       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1085 	 ac_unrecognized_sep=', ';;
   1086     esac
   1087     eval enable_$ac_useropt=\$ac_optarg ;;
   1088 
   1089   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1090   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1091   | --exec | --exe | --ex)
   1092     ac_prev=exec_prefix ;;
   1093   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1094   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1095   | --exec=* | --exe=* | --ex=*)
   1096     exec_prefix=$ac_optarg ;;
   1097 
   1098   -gas | --gas | --ga | --g)
   1099     # Obsolete; use --with-gas.
   1100     with_gas=yes ;;
   1101 
   1102   -help | --help | --hel | --he | -h)
   1103     ac_init_help=long ;;
   1104   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1105     ac_init_help=recursive ;;
   1106   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1107     ac_init_help=short ;;
   1108 
   1109   -host | --host | --hos | --ho)
   1110     ac_prev=host_alias ;;
   1111   -host=* | --host=* | --hos=* | --ho=*)
   1112     host_alias=$ac_optarg ;;
   1113 
   1114   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1115     ac_prev=htmldir ;;
   1116   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1117   | --ht=*)
   1118     htmldir=$ac_optarg ;;
   1119 
   1120   -includedir | --includedir | --includedi | --included | --include \
   1121   | --includ | --inclu | --incl | --inc)
   1122     ac_prev=includedir ;;
   1123   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1124   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1125     includedir=$ac_optarg ;;
   1126 
   1127   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1128     ac_prev=infodir ;;
   1129   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1130     infodir=$ac_optarg ;;
   1131 
   1132   -libdir | --libdir | --libdi | --libd)
   1133     ac_prev=libdir ;;
   1134   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1135     libdir=$ac_optarg ;;
   1136 
   1137   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1138   | --libexe | --libex | --libe)
   1139     ac_prev=libexecdir ;;
   1140   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1141   | --libexe=* | --libex=* | --libe=*)
   1142     libexecdir=$ac_optarg ;;
   1143 
   1144   -localedir | --localedir | --localedi | --localed | --locale)
   1145     ac_prev=localedir ;;
   1146   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1147     localedir=$ac_optarg ;;
   1148 
   1149   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1150   | --localstate | --localstat | --localsta | --localst | --locals)
   1151     ac_prev=localstatedir ;;
   1152   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1153   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1154     localstatedir=$ac_optarg ;;
   1155 
   1156   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1157     ac_prev=mandir ;;
   1158   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1159     mandir=$ac_optarg ;;
   1160 
   1161   -nfp | --nfp | --nf)
   1162     # Obsolete; use --without-fp.
   1163     with_fp=no ;;
   1164 
   1165   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1166   | --no-cr | --no-c | -n)
   1167     no_create=yes ;;
   1168 
   1169   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1170   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1171     no_recursion=yes ;;
   1172 
   1173   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1174   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1175   | --oldin | --oldi | --old | --ol | --o)
   1176     ac_prev=oldincludedir ;;
   1177   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1178   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1179   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1180     oldincludedir=$ac_optarg ;;
   1181 
   1182   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1183     ac_prev=prefix ;;
   1184   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1185     prefix=$ac_optarg ;;
   1186 
   1187   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1188   | --program-pre | --program-pr | --program-p)
   1189     ac_prev=program_prefix ;;
   1190   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1191   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1192     program_prefix=$ac_optarg ;;
   1193 
   1194   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1195   | --program-suf | --program-su | --program-s)
   1196     ac_prev=program_suffix ;;
   1197   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1198   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1199     program_suffix=$ac_optarg ;;
   1200 
   1201   -program-transform-name | --program-transform-name \
   1202   | --program-transform-nam | --program-transform-na \
   1203   | --program-transform-n | --program-transform- \
   1204   | --program-transform | --program-transfor \
   1205   | --program-transfo | --program-transf \
   1206   | --program-trans | --program-tran \
   1207   | --progr-tra | --program-tr | --program-t)
   1208     ac_prev=program_transform_name ;;
   1209   -program-transform-name=* | --program-transform-name=* \
   1210   | --program-transform-nam=* | --program-transform-na=* \
   1211   | --program-transform-n=* | --program-transform-=* \
   1212   | --program-transform=* | --program-transfor=* \
   1213   | --program-transfo=* | --program-transf=* \
   1214   | --program-trans=* | --program-tran=* \
   1215   | --progr-tra=* | --program-tr=* | --program-t=*)
   1216     program_transform_name=$ac_optarg ;;
   1217 
   1218   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1219     ac_prev=pdfdir ;;
   1220   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1221     pdfdir=$ac_optarg ;;
   1222 
   1223   -psdir | --psdir | --psdi | --psd | --ps)
   1224     ac_prev=psdir ;;
   1225   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1226     psdir=$ac_optarg ;;
   1227 
   1228   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1229   | -silent | --silent | --silen | --sile | --sil)
   1230     silent=yes ;;
   1231 
   1232   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1233   | --runstate | --runstat | --runsta | --runst | --runs \
   1234   | --run | --ru | --r)
   1235     ac_prev=runstatedir ;;
   1236   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1237   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1238   | --run=* | --ru=* | --r=*)
   1239     runstatedir=$ac_optarg ;;
   1240 
   1241   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1242     ac_prev=sbindir ;;
   1243   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1244   | --sbi=* | --sb=*)
   1245     sbindir=$ac_optarg ;;
   1246 
   1247   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1248   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1249   | --sharedst | --shareds | --shared | --share | --shar \
   1250   | --sha | --sh)
   1251     ac_prev=sharedstatedir ;;
   1252   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1253   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1254   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1255   | --sha=* | --sh=*)
   1256     sharedstatedir=$ac_optarg ;;
   1257 
   1258   -site | --site | --sit)
   1259     ac_prev=site ;;
   1260   -site=* | --site=* | --sit=*)
   1261     site=$ac_optarg ;;
   1262 
   1263   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1264     ac_prev=srcdir ;;
   1265   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1266     srcdir=$ac_optarg ;;
   1267 
   1268   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1269   | --syscon | --sysco | --sysc | --sys | --sy)
   1270     ac_prev=sysconfdir ;;
   1271   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1272   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1273     sysconfdir=$ac_optarg ;;
   1274 
   1275   -target | --target | --targe | --targ | --tar | --ta | --t)
   1276     ac_prev=target_alias ;;
   1277   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1278     target_alias=$ac_optarg ;;
   1279 
   1280   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1281     verbose=yes ;;
   1282 
   1283   -version | --version | --versio | --versi | --vers | -V)
   1284     ac_init_version=: ;;
   1285 
   1286   -with-* | --with-*)
   1287     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1288     # Reject names that are not valid shell variable names.
   1289     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1290       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1291     ac_useropt_orig=$ac_useropt
   1292     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1293     case $ac_user_opts in
   1294       *"
   1295 "with_$ac_useropt"
   1296 "*) ;;
   1297       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1298 	 ac_unrecognized_sep=', ';;
   1299     esac
   1300     eval with_$ac_useropt=\$ac_optarg ;;
   1301 
   1302   -without-* | --without-*)
   1303     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1304     # Reject names that are not valid shell variable names.
   1305     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1306       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1307     ac_useropt_orig=$ac_useropt
   1308     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1309     case $ac_user_opts in
   1310       *"
   1311 "with_$ac_useropt"
   1312 "*) ;;
   1313       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1314 	 ac_unrecognized_sep=', ';;
   1315     esac
   1316     eval with_$ac_useropt=no ;;
   1317 
   1318   --x)
   1319     # Obsolete; use --with-x.
   1320     with_x=yes ;;
   1321 
   1322   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1323   | --x-incl | --x-inc | --x-in | --x-i)
   1324     ac_prev=x_includes ;;
   1325   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1326   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1327     x_includes=$ac_optarg ;;
   1328 
   1329   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1330   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1331     ac_prev=x_libraries ;;
   1332   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1333   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1334     x_libraries=$ac_optarg ;;
   1335 
   1336   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1337 Try \`$0 --help' for more information"
   1338     ;;
   1339 
   1340   *=*)
   1341     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1342     # Reject names that are not valid shell variable names.
   1343     case $ac_envvar in #(
   1344       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1345       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1346     esac
   1347     eval $ac_envvar=\$ac_optarg
   1348     export $ac_envvar ;;
   1349 
   1350   *)
   1351     # FIXME: should be removed in autoconf 3.0.
   1352     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1353     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1354       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1355     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1356     ;;
   1357 
   1358   esac
   1359 done
   1360 
   1361 if test -n "$ac_prev"; then
   1362   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1363   as_fn_error $? "missing argument to $ac_option"
   1364 fi
   1365 
   1366 if test -n "$ac_unrecognized_opts"; then
   1367   case $enable_option_checking in
   1368     no) ;;
   1369     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1370     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1371   esac
   1372 fi
   1373 
   1374 # Check all directory arguments for consistency.
   1375 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1376 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1377 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1378 		libdir localedir mandir runstatedir
   1379 do
   1380   eval ac_val=\$$ac_var
   1381   # Remove trailing slashes.
   1382   case $ac_val in
   1383     */ )
   1384       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1385       eval $ac_var=\$ac_val;;
   1386   esac
   1387   # Be sure to have absolute directory names.
   1388   case $ac_val in
   1389     [\\/$]* | ?:[\\/]* )  continue;;
   1390     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1391   esac
   1392   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1393 done
   1394 
   1395 # There might be people who depend on the old broken behavior: `$host'
   1396 # used to hold the argument of --host etc.
   1397 # FIXME: To remove some day.
   1398 build=$build_alias
   1399 host=$host_alias
   1400 target=$target_alias
   1401 
   1402 # FIXME: To remove some day.
   1403 if test "x$host_alias" != x; then
   1404   if test "x$build_alias" = x; then
   1405     cross_compiling=maybe
   1406   elif test "x$build_alias" != "x$host_alias"; then
   1407     cross_compiling=yes
   1408   fi
   1409 fi
   1410 
   1411 ac_tool_prefix=
   1412 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1413 
   1414 test "$silent" = yes && exec 6>/dev/null
   1415 
   1416 
   1417 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1418 ac_ls_di=`ls -di .` &&
   1419 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1420   as_fn_error $? "working directory cannot be determined"
   1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1422   as_fn_error $? "pwd does not report name of working directory"
   1423 
   1424 
   1425 # Find the source files, if location was not specified.
   1426 if test -z "$srcdir"; then
   1427   ac_srcdir_defaulted=yes
   1428   # Try the directory containing this script, then the parent directory.
   1429   ac_confdir=`$as_dirname -- "$as_myself" ||
   1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1431 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1432 	 X"$as_myself" : 'X\(//\)$' \| \
   1433 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1434 printf "%s\n" X"$as_myself" |
   1435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1436 	    s//\1/
   1437 	    q
   1438 	  }
   1439 	  /^X\(\/\/\)[^/].*/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  /^X\(\/\/\)$/{
   1444 	    s//\1/
   1445 	    q
   1446 	  }
   1447 	  /^X\(\/\).*/{
   1448 	    s//\1/
   1449 	    q
   1450 	  }
   1451 	  s/.*/./; q'`
   1452   srcdir=$ac_confdir
   1453   if test ! -r "$srcdir/$ac_unique_file"; then
   1454     srcdir=..
   1455   fi
   1456 else
   1457   ac_srcdir_defaulted=no
   1458 fi
   1459 if test ! -r "$srcdir/$ac_unique_file"; then
   1460   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1461   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1462 fi
   1463 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1464 ac_abs_confdir=`(
   1465 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1466 	pwd)`
   1467 # When building in place, set srcdir=.
   1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1469   srcdir=.
   1470 fi
   1471 # Remove unnecessary trailing slashes from srcdir.
   1472 # Double slashes in file names in object file debugging info
   1473 # mess up M-x gdb in Emacs.
   1474 case $srcdir in
   1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1476 esac
   1477 for ac_var in $ac_precious_vars; do
   1478   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1479   eval ac_env_${ac_var}_value=\$${ac_var}
   1480   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1481   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1482 done
   1483 
   1484 #
   1485 # Report the --help message.
   1486 #
   1487 if test "$ac_init_help" = "long"; then
   1488   # Omit some internal or obsolete options to make the list less imposing.
   1489   # This message is too long to be a string in the A/UX 3.1 sh.
   1490   cat <<_ACEOF
   1491 \`configure' configures libXi 1.8.1 to adapt to many kinds of systems.
   1492 
   1493 Usage: $0 [OPTION]... [VAR=VALUE]...
   1494 
   1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1496 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1497 
   1498 Defaults for the options are specified in brackets.
   1499 
   1500 Configuration:
   1501   -h, --help              display this help and exit
   1502       --help=short        display options specific to this package
   1503       --help=recursive    display the short help of all the included packages
   1504   -V, --version           display version information and exit
   1505   -q, --quiet, --silent   do not print \`checking ...' messages
   1506       --cache-file=FILE   cache test results in FILE [disabled]
   1507   -C, --config-cache      alias for \`--cache-file=config.cache'
   1508   -n, --no-create         do not create output files
   1509       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1510 
   1511 Installation directories:
   1512   --prefix=PREFIX         install architecture-independent files in PREFIX
   1513                           [$ac_default_prefix]
   1514   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1515                           [PREFIX]
   1516 
   1517 By default, \`make install' will install all the files in
   1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1520 for instance \`--prefix=\$HOME'.
   1521 
   1522 For better control, use the options below.
   1523 
   1524 Fine tuning of the installation directories:
   1525   --bindir=DIR            user executables [EPREFIX/bin]
   1526   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1527   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1528   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1529   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1530   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1531   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1532   --libdir=DIR            object code libraries [EPREFIX/lib]
   1533   --includedir=DIR        C header files [PREFIX/include]
   1534   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1535   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1536   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1537   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1538   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1539   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1540   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXi]
   1541   --htmldir=DIR           html documentation [DOCDIR]
   1542   --dvidir=DIR            dvi documentation [DOCDIR]
   1543   --pdfdir=DIR            pdf documentation [DOCDIR]
   1544   --psdir=DIR             ps documentation [DOCDIR]
   1545 _ACEOF
   1546 
   1547   cat <<\_ACEOF
   1548 
   1549 Program names:
   1550   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1551   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1552   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1553 
   1554 System types:
   1555   --build=BUILD     configure for building on BUILD [guessed]
   1556   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1557 _ACEOF
   1558 fi
   1559 
   1560 if test -n "$ac_init_help"; then
   1561   case $ac_init_help in
   1562      short | recursive ) echo "Configuration of libXi 1.8.1:";;
   1563    esac
   1564   cat <<\_ACEOF
   1565 
   1566 Optional Features:
   1567   --disable-option-checking  ignore unrecognized --enable/--with options
   1568   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1569   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1570   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1571   --disable-silent-rules  verbose build output (undo: "make V=0")
   1572   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1573   --enable-static[=PKGS]  build static libraries [default=yes]
   1574   --enable-fast-install[=PKGS]
   1575                           optimize for fast installation [default=yes]
   1576   --enable-dependency-tracking
   1577                           do not reject slow dependency extractors
   1578   --disable-dependency-tracking
   1579                           speeds up one-time build
   1580   --disable-libtool-lock  avoid locking (might break parallel builds)
   1581   --disable-selective-werror
   1582                           Turn off selective compiler errors. (default:
   1583                           enabled)
   1584   --enable-strict-compilation
   1585                           Enable all warnings from compiler and make them
   1586                           errors (default: disabled)
   1587   --enable-docs           Enable building the documentation (default: yes)
   1588   --enable-specs          Enable building the specs (default: yes)
   1589   --enable-malloc0returnsnull
   1590                           malloc(0) returns NULL (default: auto)
   1591 
   1592 Optional Packages:
   1593   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1594   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1595   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1596                           both]
   1597   --with-aix-soname=aix|svr4|both
   1598                           shared library versioning (aka "SONAME") variant to
   1599                           provide on AIX, [default=aix].
   1600   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1601   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1602                           compiler's sysroot if not specified).
   1603   --with-xmlto            Use xmlto to regenerate documentation (default:
   1604                           auto)
   1605   --with-fop              Use fop to regenerate documentation (default: auto)
   1606   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1607                           (default: auto)
   1608   --with-asciidoc         Use asciidoc to regenerate documentation (default:
   1609                           auto)
   1610 
   1611 Some influential environment variables:
   1612   CC          C compiler command
   1613   CFLAGS      C compiler flags
   1614   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1615               nonstandard directory <lib dir>
   1616   LIBS        libraries to pass to the linker, e.g. -l<library>
   1617   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1618               you have headers in a nonstandard directory <include dir>
   1619   LT_SYS_LIBRARY_PATH
   1620               User-defined run-time library search path.
   1621   PKG_CONFIG  path to pkg-config utility
   1622   PKG_CONFIG_PATH
   1623               directories to add to pkg-config's search path
   1624   PKG_CONFIG_LIBDIR
   1625               path overriding pkg-config's built-in search path
   1626   XMLTO       Path to xmlto command
   1627   FOP         Path to fop command
   1628   XSLTPROC    Path to xsltproc command
   1629   ASCIIDOC    Path to asciidoc command
   1630   XI_CFLAGS   C compiler flags for XI, overriding pkg-config
   1631   XI_LIBS     linker flags for XI, overriding pkg-config
   1632   XFIXES_CFLAGS
   1633               C compiler flags for XFIXES, overriding pkg-config
   1634   XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
   1635 
   1636 Use these variables to override the choices made by `configure' or to help
   1637 it to find libraries and programs with nonstandard names/locations.
   1638 
   1639 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXi/issues>.
   1640 _ACEOF
   1641 ac_status=$?
   1642 fi
   1643 
   1644 if test "$ac_init_help" = "recursive"; then
   1645   # If there are subdirs, report their specific --help.
   1646   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1647     test -d "$ac_dir" ||
   1648       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1649       continue
   1650     ac_builddir=.
   1651 
   1652 case "$ac_dir" in
   1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654 *)
   1655   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1656   # A ".." for each directory in $ac_dir_suffix.
   1657   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1658   case $ac_top_builddir_sub in
   1659   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1661   esac ;;
   1662 esac
   1663 ac_abs_top_builddir=$ac_pwd
   1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1665 # for backward compatibility:
   1666 ac_top_builddir=$ac_top_build_prefix
   1667 
   1668 case $srcdir in
   1669   .)  # We are building in place.
   1670     ac_srcdir=.
   1671     ac_top_srcdir=$ac_top_builddir_sub
   1672     ac_abs_top_srcdir=$ac_pwd ;;
   1673   [\\/]* | ?:[\\/]* )  # Absolute name.
   1674     ac_srcdir=$srcdir$ac_dir_suffix;
   1675     ac_top_srcdir=$srcdir
   1676     ac_abs_top_srcdir=$srcdir ;;
   1677   *) # Relative name.
   1678     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1679     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1680     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1681 esac
   1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1683 
   1684     cd "$ac_dir" || { ac_status=$?; continue; }
   1685     # Check for configure.gnu first; this name is used for a wrapper for
   1686     # Metaconfig's "Configure" on case-insensitive file systems.
   1687     if test -f "$ac_srcdir/configure.gnu"; then
   1688       echo &&
   1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1690     elif test -f "$ac_srcdir/configure"; then
   1691       echo &&
   1692       $SHELL "$ac_srcdir/configure" --help=recursive
   1693     else
   1694       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1695     fi || ac_status=$?
   1696     cd "$ac_pwd" || { ac_status=$?; break; }
   1697   done
   1698 fi
   1699 
   1700 test -n "$ac_init_help" && exit $ac_status
   1701 if $ac_init_version; then
   1702   cat <<\_ACEOF
   1703 libXi configure 1.8.1
   1704 generated by GNU Autoconf 2.71
   1705 
   1706 Copyright (C) 2021 Free Software Foundation, Inc.
   1707 This configure script is free software; the Free Software Foundation
   1708 gives unlimited permission to copy, distribute and modify it.
   1709 _ACEOF
   1710   exit
   1711 fi
   1712 
   1713 ## ------------------------ ##
   1714 ## Autoconf initialization. ##
   1715 ## ------------------------ ##
   1716 
   1717 # ac_fn_c_try_compile LINENO
   1718 # --------------------------
   1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1720 ac_fn_c_try_compile ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   rm -f conftest.$ac_objext conftest.beam
   1724   if { { ac_try="$ac_compile"
   1725 case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 printf "%s\n" "$ac_try_echo"; } >&5
   1731   (eval "$ac_compile") 2>conftest.err
   1732   ac_status=$?
   1733   if test -s conftest.err; then
   1734     grep -v '^ *+' conftest.err >conftest.er1
   1735     cat conftest.er1 >&5
   1736     mv -f conftest.er1 conftest.err
   1737   fi
   1738   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; } && {
   1740 	 test -z "$ac_c_werror_flag" ||
   1741 	 test ! -s conftest.err
   1742        } && test -s conftest.$ac_objext
   1743 then :
   1744   ac_retval=0
   1745 else $as_nop
   1746   printf "%s\n" "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749 	ac_retval=1
   1750 fi
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 printf "%s\n" "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }
   1785 then :
   1786   ac_retval=0
   1787 else $as_nop
   1788   printf "%s\n" "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1
   1792 fi
   1793   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1794   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1795   # interfere with the next link command; also delete a directory that is
   1796   # left behind by Apple's compiler.  We do this before executing the actions.
   1797   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799   as_fn_set_status $ac_retval
   1800 
   1801 } # ac_fn_c_try_link
   1802 
   1803 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1804 # -------------------------------------------------------
   1805 # Tests whether HEADER exists and can be compiled using the include files in
   1806 # INCLUDES, setting the cache variable VAR accordingly.
   1807 ac_fn_c_check_header_compile ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1811 printf %s "checking for $2... " >&6; }
   1812 if eval test \${$3+y}
   1813 then :
   1814   printf %s "(cached) " >&6
   1815 else $as_nop
   1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 $4
   1819 #include <$2>
   1820 _ACEOF
   1821 if ac_fn_c_try_compile "$LINENO"
   1822 then :
   1823   eval "$3=yes"
   1824 else $as_nop
   1825   eval "$3=no"
   1826 fi
   1827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1828 fi
   1829 eval ac_res=\$$3
   1830 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1831 printf "%s\n" "$ac_res" >&6; }
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833 
   1834 } # ac_fn_c_check_header_compile
   1835 
   1836 # ac_fn_c_check_func LINENO FUNC VAR
   1837 # ----------------------------------
   1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1839 ac_fn_c_check_func ()
   1840 {
   1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1843 printf %s "checking for $2... " >&6; }
   1844 if eval test \${$3+y}
   1845 then :
   1846   printf %s "(cached) " >&6
   1847 else $as_nop
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1852 #define $2 innocuous_$2
   1853 
   1854 /* System header to define __stub macros and hopefully few prototypes,
   1855    which can conflict with char $2 (); below.  */
   1856 
   1857 #include <limits.h>
   1858 #undef $2
   1859 
   1860 /* Override any GCC internal prototype to avoid an error.
   1861    Use char because int might match the return type of a GCC
   1862    builtin and then its argument prototype would still apply.  */
   1863 #ifdef __cplusplus
   1864 extern "C"
   1865 #endif
   1866 char $2 ();
   1867 /* The GNU C library defines this for functions which it implements
   1868     to always fail with ENOSYS.  Some functions are actually named
   1869     something starting with __ and the normal name is an alias.  */
   1870 #if defined __stub_$2 || defined __stub___$2
   1871 choke me
   1872 #endif
   1873 
   1874 int
   1875 main (void)
   1876 {
   1877 return $2 ();
   1878   ;
   1879   return 0;
   1880 }
   1881 _ACEOF
   1882 if ac_fn_c_try_link "$LINENO"
   1883 then :
   1884   eval "$3=yes"
   1885 else $as_nop
   1886   eval "$3=no"
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1889     conftest$ac_exeext conftest.$ac_ext
   1890 fi
   1891 eval ac_res=\$$3
   1892 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1893 printf "%s\n" "$ac_res" >&6; }
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895 
   1896 } # ac_fn_c_check_func
   1897 
   1898 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1899 # ------------------------------------------------------------------
   1900 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1901 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1902 ac_fn_check_decl ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1907 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1908 if eval test \${$3+y}
   1909 then :
   1910   printf %s "(cached) " >&6
   1911 else $as_nop
   1912   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1913   eval ac_save_FLAGS=\$$6
   1914   as_fn_append $6 " $5"
   1915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1916 /* end confdefs.h.  */
   1917 $4
   1918 int
   1919 main (void)
   1920 {
   1921 #ifndef $as_decl_name
   1922 #ifdef __cplusplus
   1923   (void) $as_decl_use;
   1924 #else
   1925   (void) $as_decl_name;
   1926 #endif
   1927 #endif
   1928 
   1929   ;
   1930   return 0;
   1931 }
   1932 _ACEOF
   1933 if ac_fn_c_try_compile "$LINENO"
   1934 then :
   1935   eval "$3=yes"
   1936 else $as_nop
   1937   eval "$3=no"
   1938 fi
   1939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1940   eval $6=\$ac_save_FLAGS
   1941 
   1942 fi
   1943 eval ac_res=\$$3
   1944 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1945 printf "%s\n" "$ac_res" >&6; }
   1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1947 
   1948 } # ac_fn_check_decl
   1949 
   1950 # ac_fn_c_try_run LINENO
   1951 # ----------------------
   1952 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1953 # executables *can* be run.
   1954 ac_fn_c_try_run ()
   1955 {
   1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1957   if { { ac_try="$ac_link"
   1958 case "(($ac_try" in
   1959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1960   *) ac_try_echo=$ac_try;;
   1961 esac
   1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1963 printf "%s\n" "$ac_try_echo"; } >&5
   1964   (eval "$ac_link") 2>&5
   1965   ac_status=$?
   1966   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1967   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1968   { { case "(($ac_try" in
   1969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1970   *) ac_try_echo=$ac_try;;
   1971 esac
   1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1973 printf "%s\n" "$ac_try_echo"; } >&5
   1974   (eval "$ac_try") 2>&5
   1975   ac_status=$?
   1976   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1977   test $ac_status = 0; }; }
   1978 then :
   1979   ac_retval=0
   1980 else $as_nop
   1981   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1982        printf "%s\n" "$as_me: failed program was:" >&5
   1983 sed 's/^/| /' conftest.$ac_ext >&5
   1984 
   1985        ac_retval=$ac_status
   1986 fi
   1987   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1988   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1989   as_fn_set_status $ac_retval
   1990 
   1991 } # ac_fn_c_try_run
   1992 ac_configure_args_raw=
   1993 for ac_arg
   1994 do
   1995   case $ac_arg in
   1996   *\'*)
   1997     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1998   esac
   1999   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2000 done
   2001 
   2002 case $ac_configure_args_raw in
   2003   *$as_nl*)
   2004     ac_safe_unquote= ;;
   2005   *)
   2006     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2007     ac_unsafe_a="$ac_unsafe_z#~"
   2008     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2009     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2010 esac
   2011 
   2012 cat >config.log <<_ACEOF
   2013 This file contains any messages produced by compilers while
   2014 running configure, to aid debugging if configure makes a mistake.
   2015 
   2016 It was created by libXi $as_me 1.8.1, which was
   2017 generated by GNU Autoconf 2.71.  Invocation command line was
   2018 
   2019   $ $0$ac_configure_args_raw
   2020 
   2021 _ACEOF
   2022 exec 5>>config.log
   2023 {
   2024 cat <<_ASUNAME
   2025 ## --------- ##
   2026 ## Platform. ##
   2027 ## --------- ##
   2028 
   2029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2034 
   2035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2036 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2037 
   2038 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2039 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2041 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2042 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2043 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2044 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2045 
   2046 _ASUNAME
   2047 
   2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2049 for as_dir in $PATH
   2050 do
   2051   IFS=$as_save_IFS
   2052   case $as_dir in #(((
   2053     '') as_dir=./ ;;
   2054     */) ;;
   2055     *) as_dir=$as_dir/ ;;
   2056   esac
   2057     printf "%s\n" "PATH: $as_dir"
   2058   done
   2059 IFS=$as_save_IFS
   2060 
   2061 } >&5
   2062 
   2063 cat >&5 <<_ACEOF
   2064 
   2065 
   2066 ## ----------- ##
   2067 ## Core tests. ##
   2068 ## ----------- ##
   2069 
   2070 _ACEOF
   2071 
   2072 
   2073 # Keep a trace of the command line.
   2074 # Strip out --no-create and --no-recursion so they do not pile up.
   2075 # Strip out --silent because we don't want to record it for future runs.
   2076 # Also quote any args containing shell meta-characters.
   2077 # Make two passes to allow for proper duplicate-argument suppression.
   2078 ac_configure_args=
   2079 ac_configure_args0=
   2080 ac_configure_args1=
   2081 ac_must_keep_next=false
   2082 for ac_pass in 1 2
   2083 do
   2084   for ac_arg
   2085   do
   2086     case $ac_arg in
   2087     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2088     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2089     | -silent | --silent | --silen | --sile | --sil)
   2090       continue ;;
   2091     *\'*)
   2092       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2093     esac
   2094     case $ac_pass in
   2095     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2096     2)
   2097       as_fn_append ac_configure_args1 " '$ac_arg'"
   2098       if test $ac_must_keep_next = true; then
   2099 	ac_must_keep_next=false # Got value, back to normal.
   2100       else
   2101 	case $ac_arg in
   2102 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2103 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2104 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2105 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2106 	    case "$ac_configure_args0 " in
   2107 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2108 	    esac
   2109 	    ;;
   2110 	  -* ) ac_must_keep_next=true ;;
   2111 	esac
   2112       fi
   2113       as_fn_append ac_configure_args " '$ac_arg'"
   2114       ;;
   2115     esac
   2116   done
   2117 done
   2118 { ac_configure_args0=; unset ac_configure_args0;}
   2119 { ac_configure_args1=; unset ac_configure_args1;}
   2120 
   2121 # When interrupted or exit'd, cleanup temporary files, and complete
   2122 # config.log.  We remove comments because anyway the quotes in there
   2123 # would cause problems or look ugly.
   2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2126 trap 'exit_status=$?
   2127   # Sanitize IFS.
   2128   IFS=" ""	$as_nl"
   2129   # Save into config.log some information that might help in debugging.
   2130   {
   2131     echo
   2132 
   2133     printf "%s\n" "## ---------------- ##
   2134 ## Cache variables. ##
   2135 ## ---------------- ##"
   2136     echo
   2137     # The following way of writing the cache mishandles newlines in values,
   2138 (
   2139   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2140     eval ac_val=\$$ac_var
   2141     case $ac_val in #(
   2142     *${as_nl}*)
   2143       case $ac_var in #(
   2144       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2145 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2146       esac
   2147       case $ac_var in #(
   2148       _ | IFS | as_nl) ;; #(
   2149       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2150       *) { eval $ac_var=; unset $ac_var;} ;;
   2151       esac ;;
   2152     esac
   2153   done
   2154   (set) 2>&1 |
   2155     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2156     *${as_nl}ac_space=\ *)
   2157       sed -n \
   2158 	"s/'\''/'\''\\\\'\'''\''/g;
   2159 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2160       ;; #(
   2161     *)
   2162       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2163       ;;
   2164     esac |
   2165     sort
   2166 )
   2167     echo
   2168 
   2169     printf "%s\n" "## ----------------- ##
   2170 ## Output variables. ##
   2171 ## ----------------- ##"
   2172     echo
   2173     for ac_var in $ac_subst_vars
   2174     do
   2175       eval ac_val=\$$ac_var
   2176       case $ac_val in
   2177       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2178       esac
   2179       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2180     done | sort
   2181     echo
   2182 
   2183     if test -n "$ac_subst_files"; then
   2184       printf "%s\n" "## ------------------- ##
   2185 ## File substitutions. ##
   2186 ## ------------------- ##"
   2187       echo
   2188       for ac_var in $ac_subst_files
   2189       do
   2190 	eval ac_val=\$$ac_var
   2191 	case $ac_val in
   2192 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2193 	esac
   2194 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2195       done | sort
   2196       echo
   2197     fi
   2198 
   2199     if test -s confdefs.h; then
   2200       printf "%s\n" "## ----------- ##
   2201 ## confdefs.h. ##
   2202 ## ----------- ##"
   2203       echo
   2204       cat confdefs.h
   2205       echo
   2206     fi
   2207     test "$ac_signal" != 0 &&
   2208       printf "%s\n" "$as_me: caught signal $ac_signal"
   2209     printf "%s\n" "$as_me: exit $exit_status"
   2210   } >&5
   2211   rm -f core *.core core.conftest.* &&
   2212     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2213     exit $exit_status
   2214 ' 0
   2215 for ac_signal in 1 2 13 15; do
   2216   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2217 done
   2218 ac_signal=0
   2219 
   2220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2221 rm -f -r conftest* confdefs.h
   2222 
   2223 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2224 
   2225 # Predefined preprocessor variables.
   2226 
   2227 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2228 
   2229 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2230 
   2231 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2232 
   2233 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2234 
   2235 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2236 
   2237 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2238 
   2239 
   2240 # Let the site file select an alternate cache file if it wants to.
   2241 # Prefer an explicitly selected file to automatically selected ones.
   2242 if test -n "$CONFIG_SITE"; then
   2243   ac_site_files="$CONFIG_SITE"
   2244 elif test "x$prefix" != xNONE; then
   2245   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2246 else
   2247   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2248 fi
   2249 
   2250 for ac_site_file in $ac_site_files
   2251 do
   2252   case $ac_site_file in #(
   2253   */*) :
   2254      ;; #(
   2255   *) :
   2256     ac_site_file=./$ac_site_file ;;
   2257 esac
   2258   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2259     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2260 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2261     sed 's/^/| /' "$ac_site_file" >&5
   2262     . "$ac_site_file" \
   2263       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2264 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2265 as_fn_error $? "failed to load site script $ac_site_file
   2266 See \`config.log' for more details" "$LINENO" 5; }
   2267   fi
   2268 done
   2269 
   2270 if test -r "$cache_file"; then
   2271   # Some versions of bash will fail to source /dev/null (special files
   2272   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2273   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2274     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2275 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2276     case $cache_file in
   2277       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2278       *)                      . "./$cache_file";;
   2279     esac
   2280   fi
   2281 else
   2282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2283 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2284   >$cache_file
   2285 fi
   2286 
   2287 # Test code for whether the C compiler supports C89 (global declarations)
   2288 ac_c_conftest_c89_globals='
   2289 /* Does the compiler advertise C89 conformance?
   2290    Do not test the value of __STDC__, because some compilers set it to 0
   2291    while being otherwise adequately conformant. */
   2292 #if !defined __STDC__
   2293 # error "Compiler does not advertise C89 conformance"
   2294 #endif
   2295 
   2296 #include <stddef.h>
   2297 #include <stdarg.h>
   2298 struct stat;
   2299 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2300 struct buf { int x; };
   2301 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2302 static char *e (p, i)
   2303      char **p;
   2304      int i;
   2305 {
   2306   return p[i];
   2307 }
   2308 static char *f (char * (*g) (char **, int), char **p, ...)
   2309 {
   2310   char *s;
   2311   va_list v;
   2312   va_start (v,p);
   2313   s = g (p, va_arg (v,int));
   2314   va_end (v);
   2315   return s;
   2316 }
   2317 
   2318 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2319    function prototypes and stuff, but not \xHH hex character constants.
   2320    These do not provoke an error unfortunately, instead are silently treated
   2321    as an "x".  The following induces an error, until -std is added to get
   2322    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2323    array size at least.  It is necessary to write \x00 == 0 to get something
   2324    that is true only with -std.  */
   2325 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2326 
   2327 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2328    inside strings and character constants.  */
   2329 #define FOO(x) '\''x'\''
   2330 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2331 
   2332 int test (int i, double x);
   2333 struct s1 {int (*f) (int a);};
   2334 struct s2 {int (*f) (double a);};
   2335 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2336                int, int);'
   2337 
   2338 # Test code for whether the C compiler supports C89 (body of main).
   2339 ac_c_conftest_c89_main='
   2340 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2341 '
   2342 
   2343 # Test code for whether the C compiler supports C99 (global declarations)
   2344 ac_c_conftest_c99_globals='
   2345 // Does the compiler advertise C99 conformance?
   2346 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2347 # error "Compiler does not advertise C99 conformance"
   2348 #endif
   2349 
   2350 #include <stdbool.h>
   2351 extern int puts (const char *);
   2352 extern int printf (const char *, ...);
   2353 extern int dprintf (int, const char *, ...);
   2354 extern void *malloc (size_t);
   2355 
   2356 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2357 // dprintf is used instead of fprintf to avoid needing to declare
   2358 // FILE and stderr.
   2359 #define debug(...) dprintf (2, __VA_ARGS__)
   2360 #define showlist(...) puts (#__VA_ARGS__)
   2361 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2362 static void
   2363 test_varargs_macros (void)
   2364 {
   2365   int x = 1234;
   2366   int y = 5678;
   2367   debug ("Flag");
   2368   debug ("X = %d\n", x);
   2369   showlist (The first, second, and third items.);
   2370   report (x>y, "x is %d but y is %d", x, y);
   2371 }
   2372 
   2373 // Check long long types.
   2374 #define BIG64 18446744073709551615ull
   2375 #define BIG32 4294967295ul
   2376 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2377 #if !BIG_OK
   2378   #error "your preprocessor is broken"
   2379 #endif
   2380 #if BIG_OK
   2381 #else
   2382   #error "your preprocessor is broken"
   2383 #endif
   2384 static long long int bignum = -9223372036854775807LL;
   2385 static unsigned long long int ubignum = BIG64;
   2386 
   2387 struct incomplete_array
   2388 {
   2389   int datasize;
   2390   double data[];
   2391 };
   2392 
   2393 struct named_init {
   2394   int number;
   2395   const wchar_t *name;
   2396   double average;
   2397 };
   2398 
   2399 typedef const char *ccp;
   2400 
   2401 static inline int
   2402 test_restrict (ccp restrict text)
   2403 {
   2404   // See if C++-style comments work.
   2405   // Iterate through items via the restricted pointer.
   2406   // Also check for declarations in for loops.
   2407   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2408     continue;
   2409   return 0;
   2410 }
   2411 
   2412 // Check varargs and va_copy.
   2413 static bool
   2414 test_varargs (const char *format, ...)
   2415 {
   2416   va_list args;
   2417   va_start (args, format);
   2418   va_list args_copy;
   2419   va_copy (args_copy, args);
   2420 
   2421   const char *str = "";
   2422   int number = 0;
   2423   float fnumber = 0;
   2424 
   2425   while (*format)
   2426     {
   2427       switch (*format++)
   2428 	{
   2429 	case '\''s'\'': // string
   2430 	  str = va_arg (args_copy, const char *);
   2431 	  break;
   2432 	case '\''d'\'': // int
   2433 	  number = va_arg (args_copy, int);
   2434 	  break;
   2435 	case '\''f'\'': // float
   2436 	  fnumber = va_arg (args_copy, double);
   2437 	  break;
   2438 	default:
   2439 	  break;
   2440 	}
   2441     }
   2442   va_end (args_copy);
   2443   va_end (args);
   2444 
   2445   return *str && number && fnumber;
   2446 }
   2447 '
   2448 
   2449 # Test code for whether the C compiler supports C99 (body of main).
   2450 ac_c_conftest_c99_main='
   2451   // Check bool.
   2452   _Bool success = false;
   2453   success |= (argc != 0);
   2454 
   2455   // Check restrict.
   2456   if (test_restrict ("String literal") == 0)
   2457     success = true;
   2458   char *restrict newvar = "Another string";
   2459 
   2460   // Check varargs.
   2461   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2462   test_varargs_macros ();
   2463 
   2464   // Check flexible array members.
   2465   struct incomplete_array *ia =
   2466     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2467   ia->datasize = 10;
   2468   for (int i = 0; i < ia->datasize; ++i)
   2469     ia->data[i] = i * 1.234;
   2470 
   2471   // Check named initializers.
   2472   struct named_init ni = {
   2473     .number = 34,
   2474     .name = L"Test wide string",
   2475     .average = 543.34343,
   2476   };
   2477 
   2478   ni.number = 58;
   2479 
   2480   int dynamic_array[ni.number];
   2481   dynamic_array[0] = argv[0][0];
   2482   dynamic_array[ni.number - 1] = 543;
   2483 
   2484   // work around unused variable warnings
   2485   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2486 	 || dynamic_array[ni.number - 1] != 543);
   2487 '
   2488 
   2489 # Test code for whether the C compiler supports C11 (global declarations)
   2490 ac_c_conftest_c11_globals='
   2491 // Does the compiler advertise C11 conformance?
   2492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2493 # error "Compiler does not advertise C11 conformance"
   2494 #endif
   2495 
   2496 // Check _Alignas.
   2497 char _Alignas (double) aligned_as_double;
   2498 char _Alignas (0) no_special_alignment;
   2499 extern char aligned_as_int;
   2500 char _Alignas (0) _Alignas (int) aligned_as_int;
   2501 
   2502 // Check _Alignof.
   2503 enum
   2504 {
   2505   int_alignment = _Alignof (int),
   2506   int_array_alignment = _Alignof (int[100]),
   2507   char_alignment = _Alignof (char)
   2508 };
   2509 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2510 
   2511 // Check _Noreturn.
   2512 int _Noreturn does_not_return (void) { for (;;) continue; }
   2513 
   2514 // Check _Static_assert.
   2515 struct test_static_assert
   2516 {
   2517   int x;
   2518   _Static_assert (sizeof (int) <= sizeof (long int),
   2519                   "_Static_assert does not work in struct");
   2520   long int y;
   2521 };
   2522 
   2523 // Check UTF-8 literals.
   2524 #define u8 syntax error!
   2525 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2526 
   2527 // Check duplicate typedefs.
   2528 typedef long *long_ptr;
   2529 typedef long int *long_ptr;
   2530 typedef long_ptr long_ptr;
   2531 
   2532 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2533 struct anonymous
   2534 {
   2535   union {
   2536     struct { int i; int j; };
   2537     struct { int k; long int l; } w;
   2538   };
   2539   int m;
   2540 } v1;
   2541 '
   2542 
   2543 # Test code for whether the C compiler supports C11 (body of main).
   2544 ac_c_conftest_c11_main='
   2545   _Static_assert ((offsetof (struct anonymous, i)
   2546 		   == offsetof (struct anonymous, w.k)),
   2547 		  "Anonymous union alignment botch");
   2548   v1.i = 2;
   2549   v1.w.k = 5;
   2550   ok |= v1.i != 5;
   2551 '
   2552 
   2553 # Test code for whether the C compiler supports C11 (complete).
   2554 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2555 ${ac_c_conftest_c99_globals}
   2556 ${ac_c_conftest_c11_globals}
   2557 
   2558 int
   2559 main (int argc, char **argv)
   2560 {
   2561   int ok = 0;
   2562   ${ac_c_conftest_c89_main}
   2563   ${ac_c_conftest_c99_main}
   2564   ${ac_c_conftest_c11_main}
   2565   return ok;
   2566 }
   2567 "
   2568 
   2569 # Test code for whether the C compiler supports C99 (complete).
   2570 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2571 ${ac_c_conftest_c99_globals}
   2572 
   2573 int
   2574 main (int argc, char **argv)
   2575 {
   2576   int ok = 0;
   2577   ${ac_c_conftest_c89_main}
   2578   ${ac_c_conftest_c99_main}
   2579   return ok;
   2580 }
   2581 "
   2582 
   2583 # Test code for whether the C compiler supports C89 (complete).
   2584 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2585 
   2586 int
   2587 main (int argc, char **argv)
   2588 {
   2589   int ok = 0;
   2590   ${ac_c_conftest_c89_main}
   2591   return ok;
   2592 }
   2593 "
   2594 
   2595 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2596 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2597 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2598 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2599 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2600 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2601 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2602 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2603 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2604 
   2605 # Auxiliary files required by this configure script.
   2606 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2607 
   2608 # Locations in which to look for auxiliary files.
   2609 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2610 
   2611 # Search for a directory containing all of the required auxiliary files,
   2612 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2613 # If we don't find one directory that contains all the files we need,
   2614 # we report the set of missing files from the *first* directory in
   2615 # $ac_aux_dir_candidates and give up.
   2616 ac_missing_aux_files=""
   2617 ac_first_candidate=:
   2618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2620 as_found=false
   2621 for as_dir in $ac_aux_dir_candidates
   2622 do
   2623   IFS=$as_save_IFS
   2624   case $as_dir in #(((
   2625     '') as_dir=./ ;;
   2626     */) ;;
   2627     *) as_dir=$as_dir/ ;;
   2628   esac
   2629   as_found=:
   2630 
   2631   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2632   ac_aux_dir_found=yes
   2633   ac_install_sh=
   2634   for ac_aux in $ac_aux_files
   2635   do
   2636     # As a special case, if "install-sh" is required, that requirement
   2637     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2638     # and $ac_install_sh is set appropriately for whichever one is found.
   2639     if test x"$ac_aux" = x"install-sh"
   2640     then
   2641       if test -f "${as_dir}install-sh"; then
   2642         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2643         ac_install_sh="${as_dir}install-sh -c"
   2644       elif test -f "${as_dir}install.sh"; then
   2645         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2646         ac_install_sh="${as_dir}install.sh -c"
   2647       elif test -f "${as_dir}shtool"; then
   2648         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2649         ac_install_sh="${as_dir}shtool install -c"
   2650       else
   2651         ac_aux_dir_found=no
   2652         if $ac_first_candidate; then
   2653           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2654         else
   2655           break
   2656         fi
   2657       fi
   2658     else
   2659       if test -f "${as_dir}${ac_aux}"; then
   2660         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2661       else
   2662         ac_aux_dir_found=no
   2663         if $ac_first_candidate; then
   2664           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2665         else
   2666           break
   2667         fi
   2668       fi
   2669     fi
   2670   done
   2671   if test "$ac_aux_dir_found" = yes; then
   2672     ac_aux_dir="$as_dir"
   2673     break
   2674   fi
   2675   ac_first_candidate=false
   2676 
   2677   as_found=false
   2678 done
   2679 IFS=$as_save_IFS
   2680 if $as_found
   2681 then :
   2682 
   2683 else $as_nop
   2684   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2685 fi
   2686 
   2687 
   2688 # These three variables are undocumented and unsupported,
   2689 # and are intended to be withdrawn in a future Autoconf release.
   2690 # They can cause serious problems if a builder's source tree is in a directory
   2691 # whose full name contains unusual characters.
   2692 if test -f "${ac_aux_dir}config.guess"; then
   2693   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2694 fi
   2695 if test -f "${ac_aux_dir}config.sub"; then
   2696   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2697 fi
   2698 if test -f "$ac_aux_dir/configure"; then
   2699   ac_configure="$SHELL ${ac_aux_dir}configure"
   2700 fi
   2701 
   2702 # Check that the precious variables saved in the cache have kept the same
   2703 # value.
   2704 ac_cache_corrupted=false
   2705 for ac_var in $ac_precious_vars; do
   2706   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2707   eval ac_new_set=\$ac_env_${ac_var}_set
   2708   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2709   eval ac_new_val=\$ac_env_${ac_var}_value
   2710   case $ac_old_set,$ac_new_set in
   2711     set,)
   2712       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2713 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2714       ac_cache_corrupted=: ;;
   2715     ,set)
   2716       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2717 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2718       ac_cache_corrupted=: ;;
   2719     ,);;
   2720     *)
   2721       if test "x$ac_old_val" != "x$ac_new_val"; then
   2722 	# differences in whitespace do not lead to failure.
   2723 	ac_old_val_w=`echo x $ac_old_val`
   2724 	ac_new_val_w=`echo x $ac_new_val`
   2725 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2726 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2727 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2728 	  ac_cache_corrupted=:
   2729 	else
   2730 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2731 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2732 	  eval $ac_var=\$ac_old_val
   2733 	fi
   2734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2735 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2737 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2738       fi;;
   2739   esac
   2740   # Pass precious variables to config.status.
   2741   if test "$ac_new_set" = set; then
   2742     case $ac_new_val in
   2743     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2744     *) ac_arg=$ac_var=$ac_new_val ;;
   2745     esac
   2746     case " $ac_configure_args " in
   2747       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2748       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2749     esac
   2750   fi
   2751 done
   2752 if $ac_cache_corrupted; then
   2753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2754 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2756 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2757   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2758 	    and start over" "$LINENO" 5
   2759 fi
   2760 ## -------------------- ##
   2761 ## Main body of script. ##
   2762 ## -------------------- ##
   2763 
   2764 ac_ext=c
   2765 ac_cpp='$CPP $CPPFLAGS'
   2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2769 
   2770 
   2771 
   2772 ac_config_headers="$ac_config_headers src/config.h"
   2773 
   2774 
   2775 
   2776 # Initialize Automake
   2777 am__api_version='1.16'
   2778 
   2779 
   2780 
   2781   # Find a good install program.  We prefer a C program (faster),
   2782 # so one script is as good as another.  But avoid the broken or
   2783 # incompatible versions:
   2784 # SysV /etc/install, /usr/sbin/install
   2785 # SunOS /usr/etc/install
   2786 # IRIX /sbin/install
   2787 # AIX /bin/install
   2788 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2789 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2790 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2791 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2792 # OS/2's system install, which has a completely different semantic
   2793 # ./install, which can be erroneously created by make from ./install.sh.
   2794 # Reject install programs that cannot install multiple files.
   2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2796 printf %s "checking for a BSD-compatible install... " >&6; }
   2797 if test -z "$INSTALL"; then
   2798 if test ${ac_cv_path_install+y}
   2799 then :
   2800   printf %s "(cached) " >&6
   2801 else $as_nop
   2802   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803 for as_dir in $PATH
   2804 do
   2805   IFS=$as_save_IFS
   2806   case $as_dir in #(((
   2807     '') as_dir=./ ;;
   2808     */) ;;
   2809     *) as_dir=$as_dir/ ;;
   2810   esac
   2811     # Account for fact that we put trailing slashes in our PATH walk.
   2812 case $as_dir in #((
   2813   ./ | /[cC]/* | \
   2814   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2815   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2816   /usr/ucb/* ) ;;
   2817   *)
   2818     # OSF1 and SCO ODT 3.0 have their own names for install.
   2819     # Don't use installbsd from OSF since it installs stuff as root
   2820     # by default.
   2821     for ac_prog in ginstall scoinst install; do
   2822       for ac_exec_ext in '' $ac_executable_extensions; do
   2823 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2824 	  if test $ac_prog = install &&
   2825 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2826 	    # AIX install.  It has an incompatible calling convention.
   2827 	    :
   2828 	  elif test $ac_prog = install &&
   2829 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2830 	    # program-specific install script used by HP pwplus--don't use.
   2831 	    :
   2832 	  else
   2833 	    rm -rf conftest.one conftest.two conftest.dir
   2834 	    echo one > conftest.one
   2835 	    echo two > conftest.two
   2836 	    mkdir conftest.dir
   2837 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2838 	      test -s conftest.one && test -s conftest.two &&
   2839 	      test -s conftest.dir/conftest.one &&
   2840 	      test -s conftest.dir/conftest.two
   2841 	    then
   2842 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2843 	      break 3
   2844 	    fi
   2845 	  fi
   2846 	fi
   2847       done
   2848     done
   2849     ;;
   2850 esac
   2851 
   2852   done
   2853 IFS=$as_save_IFS
   2854 
   2855 rm -rf conftest.one conftest.two conftest.dir
   2856 
   2857 fi
   2858   if test ${ac_cv_path_install+y}; then
   2859     INSTALL=$ac_cv_path_install
   2860   else
   2861     # As a last resort, use the slow shell script.  Don't cache a
   2862     # value for INSTALL within a source directory, because that will
   2863     # break other packages using the cache if that directory is
   2864     # removed, or if the value is a relative name.
   2865     INSTALL=$ac_install_sh
   2866   fi
   2867 fi
   2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2869 printf "%s\n" "$INSTALL" >&6; }
   2870 
   2871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2872 # It thinks the first close brace ends the variable substitution.
   2873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2874 
   2875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2876 
   2877 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2878 
   2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2880 printf %s "checking whether build environment is sane... " >&6; }
   2881 # Reject unsafe characters in $srcdir or the absolute working directory
   2882 # name.  Accept space and tab only in the latter.
   2883 am_lf='
   2884 '
   2885 case `pwd` in
   2886   *[\\\"\#\$\&\'\`$am_lf]*)
   2887     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2888 esac
   2889 case $srcdir in
   2890   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2891     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2892 esac
   2893 
   2894 # Do 'set' in a subshell so we don't clobber the current shell's
   2895 # arguments.  Must try -L first in case configure is actually a
   2896 # symlink; some systems play weird games with the mod time of symlinks
   2897 # (eg FreeBSD returns the mod time of the symlink's containing
   2898 # directory).
   2899 if (
   2900    am_has_slept=no
   2901    for am_try in 1 2; do
   2902      echo "timestamp, slept: $am_has_slept" > conftest.file
   2903      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2904      if test "$*" = "X"; then
   2905 	# -L didn't work.
   2906 	set X `ls -t "$srcdir/configure" conftest.file`
   2907      fi
   2908      if test "$*" != "X $srcdir/configure conftest.file" \
   2909 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2910 
   2911 	# If neither matched, then we have a broken ls.  This can happen
   2912 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2913 	# broken ls alias from the environment.  This has actually
   2914 	# happened.  Such a system could not be considered "sane".
   2915 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2916   alias in your environment" "$LINENO" 5
   2917      fi
   2918      if test "$2" = conftest.file || test $am_try -eq 2; then
   2919        break
   2920      fi
   2921      # Just in case.
   2922      sleep 1
   2923      am_has_slept=yes
   2924    done
   2925    test "$2" = conftest.file
   2926    )
   2927 then
   2928    # Ok.
   2929    :
   2930 else
   2931    as_fn_error $? "newly created file is older than distributed files!
   2932 Check your system clock" "$LINENO" 5
   2933 fi
   2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2935 printf "%s\n" "yes" >&6; }
   2936 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2937 # generated files are strictly newer.
   2938 am_sleep_pid=
   2939 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2940   ( sleep 1 ) &
   2941   am_sleep_pid=$!
   2942 fi
   2943 
   2944 rm -f conftest.file
   2945 
   2946 test "$program_prefix" != NONE &&
   2947   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2948 # Use a double $ so make ignores it.
   2949 test "$program_suffix" != NONE &&
   2950   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2951 # Double any \ or $.
   2952 # By default was `s,x,x', remove it if useless.
   2953 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2954 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2955 
   2956 
   2957 # Expand $ac_aux_dir to an absolute path.
   2958 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2959 
   2960 
   2961   if test x"${MISSING+set}" != xset; then
   2962   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2963 fi
   2964 # Use eval to expand $SHELL
   2965 if eval "$MISSING --is-lightweight"; then
   2966   am_missing_run="$MISSING "
   2967 else
   2968   am_missing_run=
   2969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2970 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2971 fi
   2972 
   2973 if test x"${install_sh+set}" != xset; then
   2974   case $am_aux_dir in
   2975   *\ * | *\	*)
   2976     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2977   *)
   2978     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2979   esac
   2980 fi
   2981 
   2982 # Installed binaries are usually stripped using 'strip' when the user
   2983 # run "make install-strip".  However 'strip' might not be the right
   2984 # tool to use in cross-compilation environments, therefore Automake
   2985 # will honor the 'STRIP' environment variable to overrule this program.
   2986 if test "$cross_compiling" != no; then
   2987   if test -n "$ac_tool_prefix"; then
   2988   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2989 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2991 printf %s "checking for $ac_word... " >&6; }
   2992 if test ${ac_cv_prog_STRIP+y}
   2993 then :
   2994   printf %s "(cached) " >&6
   2995 else $as_nop
   2996   if test -n "$STRIP"; then
   2997   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2998 else
   2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3000 for as_dir in $PATH
   3001 do
   3002   IFS=$as_save_IFS
   3003   case $as_dir in #(((
   3004     '') as_dir=./ ;;
   3005     */) ;;
   3006     *) as_dir=$as_dir/ ;;
   3007   esac
   3008     for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3010     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015   done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi
   3019 fi
   3020 STRIP=$ac_cv_prog_STRIP
   3021 if test -n "$STRIP"; then
   3022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3023 printf "%s\n" "$STRIP" >&6; }
   3024 else
   3025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3026 printf "%s\n" "no" >&6; }
   3027 fi
   3028 
   3029 
   3030 fi
   3031 if test -z "$ac_cv_prog_STRIP"; then
   3032   ac_ct_STRIP=$STRIP
   3033   # Extract the first word of "strip", so it can be a program name with args.
   3034 set dummy strip; ac_word=$2
   3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3036 printf %s "checking for $ac_word... " >&6; }
   3037 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3038 then :
   3039   printf %s "(cached) " >&6
   3040 else $as_nop
   3041   if test -n "$ac_ct_STRIP"; then
   3042   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   case $as_dir in #(((
   3049     '') as_dir=./ ;;
   3050     */) ;;
   3051     *) as_dir=$as_dir/ ;;
   3052   esac
   3053     for ac_exec_ext in '' $ac_executable_extensions; do
   3054   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3055     ac_cv_prog_ac_ct_STRIP="strip"
   3056     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3057     break 2
   3058   fi
   3059 done
   3060   done
   3061 IFS=$as_save_IFS
   3062 
   3063 fi
   3064 fi
   3065 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3066 if test -n "$ac_ct_STRIP"; then
   3067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3068 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3069 else
   3070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3071 printf "%s\n" "no" >&6; }
   3072 fi
   3073 
   3074   if test "x$ac_ct_STRIP" = x; then
   3075     STRIP=":"
   3076   else
   3077     case $cross_compiling:$ac_tool_warned in
   3078 yes:)
   3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3080 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3081 ac_tool_warned=yes ;;
   3082 esac
   3083     STRIP=$ac_ct_STRIP
   3084   fi
   3085 else
   3086   STRIP="$ac_cv_prog_STRIP"
   3087 fi
   3088 
   3089 fi
   3090 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3091 
   3092 
   3093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3094 printf %s "checking for a race-free mkdir -p... " >&6; }
   3095 if test -z "$MKDIR_P"; then
   3096   if test ${ac_cv_path_mkdir+y}
   3097 then :
   3098   printf %s "(cached) " >&6
   3099 else $as_nop
   3100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3101 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3102 do
   3103   IFS=$as_save_IFS
   3104   case $as_dir in #(((
   3105     '') as_dir=./ ;;
   3106     */) ;;
   3107     *) as_dir=$as_dir/ ;;
   3108   esac
   3109     for ac_prog in mkdir gmkdir; do
   3110 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3111 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3112 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3113 	     'mkdir ('*'coreutils) '* | \
   3114 	     'BusyBox '* | \
   3115 	     'mkdir (fileutils) '4.1*)
   3116 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3117 	       break 3;;
   3118 	   esac
   3119 	 done
   3120        done
   3121   done
   3122 IFS=$as_save_IFS
   3123 
   3124 fi
   3125 
   3126   test -d ./--version && rmdir ./--version
   3127   if test ${ac_cv_path_mkdir+y}; then
   3128     MKDIR_P="$ac_cv_path_mkdir -p"
   3129   else
   3130     # As a last resort, use the slow shell script.  Don't cache a
   3131     # value for MKDIR_P within a source directory, because that will
   3132     # break other packages using the cache if that directory is
   3133     # removed, or if the value is a relative name.
   3134     MKDIR_P="$ac_install_sh -d"
   3135   fi
   3136 fi
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3138 printf "%s\n" "$MKDIR_P" >&6; }
   3139 
   3140 for ac_prog in gawk mawk nawk awk
   3141 do
   3142   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3143 set dummy $ac_prog; ac_word=$2
   3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3145 printf %s "checking for $ac_word... " >&6; }
   3146 if test ${ac_cv_prog_AWK+y}
   3147 then :
   3148   printf %s "(cached) " >&6
   3149 else $as_nop
   3150   if test -n "$AWK"; then
   3151   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3152 else
   3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3154 for as_dir in $PATH
   3155 do
   3156   IFS=$as_save_IFS
   3157   case $as_dir in #(((
   3158     '') as_dir=./ ;;
   3159     */) ;;
   3160     *) as_dir=$as_dir/ ;;
   3161   esac
   3162     for ac_exec_ext in '' $ac_executable_extensions; do
   3163   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3164     ac_cv_prog_AWK="$ac_prog"
   3165     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3166     break 2
   3167   fi
   3168 done
   3169   done
   3170 IFS=$as_save_IFS
   3171 
   3172 fi
   3173 fi
   3174 AWK=$ac_cv_prog_AWK
   3175 if test -n "$AWK"; then
   3176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3177 printf "%s\n" "$AWK" >&6; }
   3178 else
   3179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3180 printf "%s\n" "no" >&6; }
   3181 fi
   3182 
   3183 
   3184   test -n "$AWK" && break
   3185 done
   3186 
   3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3188 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3189 set x ${MAKE-make}
   3190 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3191 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3192 then :
   3193   printf %s "(cached) " >&6
   3194 else $as_nop
   3195   cat >conftest.make <<\_ACEOF
   3196 SHELL = /bin/sh
   3197 all:
   3198 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3199 _ACEOF
   3200 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3201 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3202   *@@@%%%=?*=@@@%%%*)
   3203     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3204   *)
   3205     eval ac_cv_prog_make_${ac_make}_set=no;;
   3206 esac
   3207 rm -f conftest.make
   3208 fi
   3209 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3211 printf "%s\n" "yes" >&6; }
   3212   SET_MAKE=
   3213 else
   3214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3215 printf "%s\n" "no" >&6; }
   3216   SET_MAKE="MAKE=${MAKE-make}"
   3217 fi
   3218 
   3219 rm -rf .tst 2>/dev/null
   3220 mkdir .tst 2>/dev/null
   3221 if test -d .tst; then
   3222   am__leading_dot=.
   3223 else
   3224   am__leading_dot=_
   3225 fi
   3226 rmdir .tst 2>/dev/null
   3227 
   3228 # Check whether --enable-silent-rules was given.
   3229 if test ${enable_silent_rules+y}
   3230 then :
   3231   enableval=$enable_silent_rules;
   3232 fi
   3233 
   3234 case $enable_silent_rules in # (((
   3235   yes) AM_DEFAULT_VERBOSITY=0;;
   3236    no) AM_DEFAULT_VERBOSITY=1;;
   3237     *) AM_DEFAULT_VERBOSITY=1;;
   3238 esac
   3239 am_make=${MAKE-make}
   3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3241 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3242 if test ${am_cv_make_support_nested_variables+y}
   3243 then :
   3244   printf %s "(cached) " >&6
   3245 else $as_nop
   3246   if printf "%s\n" 'TRUE=$(BAR$(V))
   3247 BAR0=false
   3248 BAR1=true
   3249 V=1
   3250 am__doit:
   3251 	@$(TRUE)
   3252 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3253   am_cv_make_support_nested_variables=yes
   3254 else
   3255   am_cv_make_support_nested_variables=no
   3256 fi
   3257 fi
   3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3259 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3260 if test $am_cv_make_support_nested_variables = yes; then
   3261     AM_V='$(V)'
   3262   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3263 else
   3264   AM_V=$AM_DEFAULT_VERBOSITY
   3265   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3266 fi
   3267 AM_BACKSLASH='\'
   3268 
   3269 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3270   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3271   # is not polluted with repeated "-I."
   3272   am__isrc=' -I$(srcdir)'
   3273   # test to see if srcdir already configured
   3274   if test -f $srcdir/config.status; then
   3275     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3276   fi
   3277 fi
   3278 
   3279 # test whether we have cygpath
   3280 if test -z "$CYGPATH_W"; then
   3281   if (cygpath --version) >/dev/null 2>/dev/null; then
   3282     CYGPATH_W='cygpath -w'
   3283   else
   3284     CYGPATH_W=echo
   3285   fi
   3286 fi
   3287 
   3288 
   3289 # Define the identity of the package.
   3290  PACKAGE='libXi'
   3291  VERSION='1.8.1'
   3292 
   3293 
   3294 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3295 
   3296 
   3297 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3298 
   3299 # Some tools Automake needs.
   3300 
   3301 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3302 
   3303 
   3304 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3305 
   3306 
   3307 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3308 
   3309 
   3310 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3311 
   3312 
   3313 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3314 
   3315 # For better backward compatibility.  To be removed once Automake 1.9.x
   3316 # dies out for good.  For more background, see:
   3317 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3318 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3319 mkdir_p='$(MKDIR_P)'
   3320 
   3321 # We need awk for the "check" target (and possibly the TAP driver).  The
   3322 # system "awk" is bad on some platforms.
   3323 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3324 # in the wild :-(  We should find a proper way to deprecate it ...
   3325 AMTAR='$${TAR-tar}'
   3326 
   3327 
   3328 # We'll loop over all known methods to create a tar archive until one works.
   3329 _am_tools='gnutar  pax cpio none'
   3330 
   3331 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3332 
   3333 
   3334 
   3335 
   3336 
   3337 # Variables for tags utilities; see am/tags.am
   3338 if test -z "$CTAGS"; then
   3339   CTAGS=ctags
   3340 fi
   3341 
   3342 if test -z "$ETAGS"; then
   3343   ETAGS=etags
   3344 fi
   3345 
   3346 if test -z "$CSCOPE"; then
   3347   CSCOPE=cscope
   3348 fi
   3349 
   3350 
   3351 
   3352 # POSIX will say in a future version that running "rm -f" with no argument
   3353 # is OK; and we want to be able to make that assumption in our Makefile
   3354 # recipes.  So use an aggressive probe to check that the usage we want is
   3355 # actually supported "in the wild" to an acceptable degree.
   3356 # See automake bug#10828.
   3357 # To make any issue more visible, cause the running configure to be aborted
   3358 # by default if the 'rm' program in use doesn't match our expectations; the
   3359 # user can still override this though.
   3360 if rm -f && rm -fr && rm -rf; then : OK; else
   3361   cat >&2 <<'END'
   3362 Oops!
   3363 
   3364 Your 'rm' program seems unable to run without file operands specified
   3365 on the command line, even when the '-f' option is present.  This is contrary
   3366 to the behaviour of most rm programs out there, and not conforming with
   3367 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3368 
   3369 Please tell bug-automake@gnu.org about your system, including the value
   3370 of your $PATH and any error possibly output before this message.  This
   3371 can help us improve future automake versions.
   3372 
   3373 END
   3374   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3375     echo 'Configuration will proceed anyway, since you have set the' >&2
   3376     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3377     echo >&2
   3378   else
   3379     cat >&2 <<'END'
   3380 Aborting the configuration process, to ensure you take notice of the issue.
   3381 
   3382 You can download and install GNU coreutils to get an 'rm' implementation
   3383 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3384 
   3385 If you want to complete the configuration process using your problematic
   3386 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3387 to "yes", and re-run configure.
   3388 
   3389 END
   3390     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3391   fi
   3392 fi
   3393 
   3394 
   3395 # Initialize libtool
   3396 case `pwd` in
   3397   *\ * | *\	*)
   3398     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3399 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3400 esac
   3401 
   3402 
   3403 
   3404 macro_version='2.4.7'
   3405 macro_revision='2.4.7'
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 
   3413 
   3414 
   3415 
   3416 
   3417 
   3418 
   3419 
   3420 ltmain=$ac_aux_dir/ltmain.sh
   3421 
   3422 
   3423 
   3424   # Make sure we can run config.sub.
   3425 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3426   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3427 
   3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3429 printf %s "checking build system type... " >&6; }
   3430 if test ${ac_cv_build+y}
   3431 then :
   3432   printf %s "(cached) " >&6
   3433 else $as_nop
   3434   ac_build_alias=$build_alias
   3435 test "x$ac_build_alias" = x &&
   3436   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3437 test "x$ac_build_alias" = x &&
   3438   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3439 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3440   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3441 
   3442 fi
   3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3444 printf "%s\n" "$ac_cv_build" >&6; }
   3445 case $ac_cv_build in
   3446 *-*-*) ;;
   3447 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3448 esac
   3449 build=$ac_cv_build
   3450 ac_save_IFS=$IFS; IFS='-'
   3451 set x $ac_cv_build
   3452 shift
   3453 build_cpu=$1
   3454 build_vendor=$2
   3455 shift; shift
   3456 # Remember, the first character of IFS is used to create $*,
   3457 # except with old shells:
   3458 build_os=$*
   3459 IFS=$ac_save_IFS
   3460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3461 
   3462 
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3464 printf %s "checking host system type... " >&6; }
   3465 if test ${ac_cv_host+y}
   3466 then :
   3467   printf %s "(cached) " >&6
   3468 else $as_nop
   3469   if test "x$host_alias" = x; then
   3470   ac_cv_host=$ac_cv_build
   3471 else
   3472   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3473     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3474 fi
   3475 
   3476 fi
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3478 printf "%s\n" "$ac_cv_host" >&6; }
   3479 case $ac_cv_host in
   3480 *-*-*) ;;
   3481 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3482 esac
   3483 host=$ac_cv_host
   3484 ac_save_IFS=$IFS; IFS='-'
   3485 set x $ac_cv_host
   3486 shift
   3487 host_cpu=$1
   3488 host_vendor=$2
   3489 shift; shift
   3490 # Remember, the first character of IFS is used to create $*,
   3491 # except with old shells:
   3492 host_os=$*
   3493 IFS=$ac_save_IFS
   3494 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3495 
   3496 
   3497 # Backslashify metacharacters that are still active within
   3498 # double-quoted strings.
   3499 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3500 
   3501 # Same as above, but do not quote variable references.
   3502 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3503 
   3504 # Sed substitution to delay expansion of an escaped shell variable in a
   3505 # double_quote_subst'ed string.
   3506 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3507 
   3508 # Sed substitution to delay expansion of an escaped single quote.
   3509 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3510 
   3511 # Sed substitution to avoid accidental globbing in evaled expressions
   3512 no_glob_subst='s/\*/\\\*/g'
   3513 
   3514 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3515 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3516 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3517 
   3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3519 printf %s "checking how to print strings... " >&6; }
   3520 # Test print first, because it will be a builtin if present.
   3521 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3522    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3523   ECHO='print -r --'
   3524 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3525   ECHO='printf %s\n'
   3526 else
   3527   # Use this function as a fallback that always works.
   3528   func_fallback_echo ()
   3529   {
   3530     eval 'cat <<_LTECHO_EOF
   3531 $1
   3532 _LTECHO_EOF'
   3533   }
   3534   ECHO='func_fallback_echo'
   3535 fi
   3536 
   3537 # func_echo_all arg...
   3538 # Invoke $ECHO with all args, space-separated.
   3539 func_echo_all ()
   3540 {
   3541     $ECHO ""
   3542 }
   3543 
   3544 case $ECHO in
   3545   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3546 printf "%s\n" "printf" >&6; } ;;
   3547   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3548 printf "%s\n" "print -r" >&6; } ;;
   3549   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3550 printf "%s\n" "cat" >&6; } ;;
   3551 esac
   3552 
   3553 
   3554 
   3555 
   3556 
   3557 
   3558 
   3559 
   3560 
   3561 
   3562 
   3563 
   3564 
   3565 
   3566 
   3567 
   3568 
   3569 
   3570 
   3571 
   3572 
   3573 
   3574 
   3575 DEPDIR="${am__leading_dot}deps"
   3576 
   3577 ac_config_commands="$ac_config_commands depfiles"
   3578 
   3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3580 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3581 cat > confinc.mk << 'END'
   3582 am__doit:
   3583 	@echo this is the am__doit target >confinc.out
   3584 .PHONY: am__doit
   3585 END
   3586 am__include="#"
   3587 am__quote=
   3588 # BSD make does it like this.
   3589 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3590 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3591 echo 'include confinc.mk # ignored' > confmf.GNU
   3592 _am_result=no
   3593 for s in GNU BSD; do
   3594   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3595    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3596    ac_status=$?
   3597    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3598    (exit $ac_status); }
   3599   case $?:`cat confinc.out 2>/dev/null` in #(
   3600   '0:this is the am__doit target') :
   3601     case $s in #(
   3602   BSD) :
   3603     am__include='.include' am__quote='"' ;; #(
   3604   *) :
   3605     am__include='include' am__quote='' ;;
   3606 esac ;; #(
   3607   *) :
   3608      ;;
   3609 esac
   3610   if test "$am__include" != "#"; then
   3611     _am_result="yes ($s style)"
   3612     break
   3613   fi
   3614 done
   3615 rm -f confinc.* confmf.*
   3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3617 printf "%s\n" "${_am_result}" >&6; }
   3618 
   3619 # Check whether --enable-dependency-tracking was given.
   3620 if test ${enable_dependency_tracking+y}
   3621 then :
   3622   enableval=$enable_dependency_tracking;
   3623 fi
   3624 
   3625 if test "x$enable_dependency_tracking" != xno; then
   3626   am_depcomp="$ac_aux_dir/depcomp"
   3627   AMDEPBACKSLASH='\'
   3628   am__nodep='_no'
   3629 fi
   3630  if test "x$enable_dependency_tracking" != xno; then
   3631   AMDEP_TRUE=
   3632   AMDEP_FALSE='#'
   3633 else
   3634   AMDEP_TRUE='#'
   3635   AMDEP_FALSE=
   3636 fi
   3637 
   3638 
   3639 ac_ext=c
   3640 ac_cpp='$CPP $CPPFLAGS'
   3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3644 if test -n "$ac_tool_prefix"; then
   3645   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3648 printf %s "checking for $ac_word... " >&6; }
   3649 if test ${ac_cv_prog_CC+y}
   3650 then :
   3651   printf %s "(cached) " >&6
   3652 else $as_nop
   3653   if test -n "$CC"; then
   3654   ac_cv_prog_CC="$CC" # Let the user override the test.
   3655 else
   3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3657 for as_dir in $PATH
   3658 do
   3659   IFS=$as_save_IFS
   3660   case $as_dir in #(((
   3661     '') as_dir=./ ;;
   3662     */) ;;
   3663     *) as_dir=$as_dir/ ;;
   3664   esac
   3665     for ac_exec_ext in '' $ac_executable_extensions; do
   3666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3667     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3669     break 2
   3670   fi
   3671 done
   3672   done
   3673 IFS=$as_save_IFS
   3674 
   3675 fi
   3676 fi
   3677 CC=$ac_cv_prog_CC
   3678 if test -n "$CC"; then
   3679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3680 printf "%s\n" "$CC" >&6; }
   3681 else
   3682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3683 printf "%s\n" "no" >&6; }
   3684 fi
   3685 
   3686 
   3687 fi
   3688 if test -z "$ac_cv_prog_CC"; then
   3689   ac_ct_CC=$CC
   3690   # Extract the first word of "gcc", so it can be a program name with args.
   3691 set dummy gcc; ac_word=$2
   3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3693 printf %s "checking for $ac_word... " >&6; }
   3694 if test ${ac_cv_prog_ac_ct_CC+y}
   3695 then :
   3696   printf %s "(cached) " >&6
   3697 else $as_nop
   3698   if test -n "$ac_ct_CC"; then
   3699   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3700 else
   3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3702 for as_dir in $PATH
   3703 do
   3704   IFS=$as_save_IFS
   3705   case $as_dir in #(((
   3706     '') as_dir=./ ;;
   3707     */) ;;
   3708     *) as_dir=$as_dir/ ;;
   3709   esac
   3710     for ac_exec_ext in '' $ac_executable_extensions; do
   3711   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3712     ac_cv_prog_ac_ct_CC="gcc"
   3713     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3714     break 2
   3715   fi
   3716 done
   3717   done
   3718 IFS=$as_save_IFS
   3719 
   3720 fi
   3721 fi
   3722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3723 if test -n "$ac_ct_CC"; then
   3724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3725 printf "%s\n" "$ac_ct_CC" >&6; }
   3726 else
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3728 printf "%s\n" "no" >&6; }
   3729 fi
   3730 
   3731   if test "x$ac_ct_CC" = x; then
   3732     CC=""
   3733   else
   3734     case $cross_compiling:$ac_tool_warned in
   3735 yes:)
   3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3738 ac_tool_warned=yes ;;
   3739 esac
   3740     CC=$ac_ct_CC
   3741   fi
   3742 else
   3743   CC="$ac_cv_prog_CC"
   3744 fi
   3745 
   3746 if test -z "$CC"; then
   3747           if test -n "$ac_tool_prefix"; then
   3748     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3749 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3751 printf %s "checking for $ac_word... " >&6; }
   3752 if test ${ac_cv_prog_CC+y}
   3753 then :
   3754   printf %s "(cached) " >&6
   3755 else $as_nop
   3756   if test -n "$CC"; then
   3757   ac_cv_prog_CC="$CC" # Let the user override the test.
   3758 else
   3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3760 for as_dir in $PATH
   3761 do
   3762   IFS=$as_save_IFS
   3763   case $as_dir in #(((
   3764     '') as_dir=./ ;;
   3765     */) ;;
   3766     *) as_dir=$as_dir/ ;;
   3767   esac
   3768     for ac_exec_ext in '' $ac_executable_extensions; do
   3769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3770     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3772     break 2
   3773   fi
   3774 done
   3775   done
   3776 IFS=$as_save_IFS
   3777 
   3778 fi
   3779 fi
   3780 CC=$ac_cv_prog_CC
   3781 if test -n "$CC"; then
   3782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3783 printf "%s\n" "$CC" >&6; }
   3784 else
   3785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3786 printf "%s\n" "no" >&6; }
   3787 fi
   3788 
   3789 
   3790   fi
   3791 fi
   3792 if test -z "$CC"; then
   3793   # Extract the first word of "cc", so it can be a program name with args.
   3794 set dummy cc; ac_word=$2
   3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3796 printf %s "checking for $ac_word... " >&6; }
   3797 if test ${ac_cv_prog_CC+y}
   3798 then :
   3799   printf %s "(cached) " >&6
   3800 else $as_nop
   3801   if test -n "$CC"; then
   3802   ac_cv_prog_CC="$CC" # Let the user override the test.
   3803 else
   3804   ac_prog_rejected=no
   3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3806 for as_dir in $PATH
   3807 do
   3808   IFS=$as_save_IFS
   3809   case $as_dir in #(((
   3810     '') as_dir=./ ;;
   3811     */) ;;
   3812     *) as_dir=$as_dir/ ;;
   3813   esac
   3814     for ac_exec_ext in '' $ac_executable_extensions; do
   3815   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3816     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3817        ac_prog_rejected=yes
   3818        continue
   3819      fi
   3820     ac_cv_prog_CC="cc"
   3821     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3822     break 2
   3823   fi
   3824 done
   3825   done
   3826 IFS=$as_save_IFS
   3827 
   3828 if test $ac_prog_rejected = yes; then
   3829   # We found a bogon in the path, so make sure we never use it.
   3830   set dummy $ac_cv_prog_CC
   3831   shift
   3832   if test $# != 0; then
   3833     # We chose a different compiler from the bogus one.
   3834     # However, it has the same basename, so the bogon will be chosen
   3835     # first if we set CC to just the basename; use the full file name.
   3836     shift
   3837     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3838   fi
   3839 fi
   3840 fi
   3841 fi
   3842 CC=$ac_cv_prog_CC
   3843 if test -n "$CC"; then
   3844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3845 printf "%s\n" "$CC" >&6; }
   3846 else
   3847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3848 printf "%s\n" "no" >&6; }
   3849 fi
   3850 
   3851 
   3852 fi
   3853 if test -z "$CC"; then
   3854   if test -n "$ac_tool_prefix"; then
   3855   for ac_prog in cl.exe
   3856   do
   3857     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3860 printf %s "checking for $ac_word... " >&6; }
   3861 if test ${ac_cv_prog_CC+y}
   3862 then :
   3863   printf %s "(cached) " >&6
   3864 else $as_nop
   3865   if test -n "$CC"; then
   3866   ac_cv_prog_CC="$CC" # Let the user override the test.
   3867 else
   3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3869 for as_dir in $PATH
   3870 do
   3871   IFS=$as_save_IFS
   3872   case $as_dir in #(((
   3873     '') as_dir=./ ;;
   3874     */) ;;
   3875     *) as_dir=$as_dir/ ;;
   3876   esac
   3877     for ac_exec_ext in '' $ac_executable_extensions; do
   3878   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3879     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3880     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3881     break 2
   3882   fi
   3883 done
   3884   done
   3885 IFS=$as_save_IFS
   3886 
   3887 fi
   3888 fi
   3889 CC=$ac_cv_prog_CC
   3890 if test -n "$CC"; then
   3891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3892 printf "%s\n" "$CC" >&6; }
   3893 else
   3894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3895 printf "%s\n" "no" >&6; }
   3896 fi
   3897 
   3898 
   3899     test -n "$CC" && break
   3900   done
   3901 fi
   3902 if test -z "$CC"; then
   3903   ac_ct_CC=$CC
   3904   for ac_prog in cl.exe
   3905 do
   3906   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3907 set dummy $ac_prog; ac_word=$2
   3908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3909 printf %s "checking for $ac_word... " >&6; }
   3910 if test ${ac_cv_prog_ac_ct_CC+y}
   3911 then :
   3912   printf %s "(cached) " >&6
   3913 else $as_nop
   3914   if test -n "$ac_ct_CC"; then
   3915   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3916 else
   3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3918 for as_dir in $PATH
   3919 do
   3920   IFS=$as_save_IFS
   3921   case $as_dir in #(((
   3922     '') as_dir=./ ;;
   3923     */) ;;
   3924     *) as_dir=$as_dir/ ;;
   3925   esac
   3926     for ac_exec_ext in '' $ac_executable_extensions; do
   3927   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3928     ac_cv_prog_ac_ct_CC="$ac_prog"
   3929     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3930     break 2
   3931   fi
   3932 done
   3933   done
   3934 IFS=$as_save_IFS
   3935 
   3936 fi
   3937 fi
   3938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3939 if test -n "$ac_ct_CC"; then
   3940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3941 printf "%s\n" "$ac_ct_CC" >&6; }
   3942 else
   3943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3944 printf "%s\n" "no" >&6; }
   3945 fi
   3946 
   3947 
   3948   test -n "$ac_ct_CC" && break
   3949 done
   3950 
   3951   if test "x$ac_ct_CC" = x; then
   3952     CC=""
   3953   else
   3954     case $cross_compiling:$ac_tool_warned in
   3955 yes:)
   3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3957 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3958 ac_tool_warned=yes ;;
   3959 esac
   3960     CC=$ac_ct_CC
   3961   fi
   3962 fi
   3963 
   3964 fi
   3965 if test -z "$CC"; then
   3966   if test -n "$ac_tool_prefix"; then
   3967   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3968 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3970 printf %s "checking for $ac_word... " >&6; }
   3971 if test ${ac_cv_prog_CC+y}
   3972 then :
   3973   printf %s "(cached) " >&6
   3974 else $as_nop
   3975   if test -n "$CC"; then
   3976   ac_cv_prog_CC="$CC" # Let the user override the test.
   3977 else
   3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3979 for as_dir in $PATH
   3980 do
   3981   IFS=$as_save_IFS
   3982   case $as_dir in #(((
   3983     '') as_dir=./ ;;
   3984     */) ;;
   3985     *) as_dir=$as_dir/ ;;
   3986   esac
   3987     for ac_exec_ext in '' $ac_executable_extensions; do
   3988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3989     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3990     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3991     break 2
   3992   fi
   3993 done
   3994   done
   3995 IFS=$as_save_IFS
   3996 
   3997 fi
   3998 fi
   3999 CC=$ac_cv_prog_CC
   4000 if test -n "$CC"; then
   4001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4002 printf "%s\n" "$CC" >&6; }
   4003 else
   4004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4005 printf "%s\n" "no" >&6; }
   4006 fi
   4007 
   4008 
   4009 fi
   4010 if test -z "$ac_cv_prog_CC"; then
   4011   ac_ct_CC=$CC
   4012   # Extract the first word of "clang", so it can be a program name with args.
   4013 set dummy clang; ac_word=$2
   4014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4015 printf %s "checking for $ac_word... " >&6; }
   4016 if test ${ac_cv_prog_ac_ct_CC+y}
   4017 then :
   4018   printf %s "(cached) " >&6
   4019 else $as_nop
   4020   if test -n "$ac_ct_CC"; then
   4021   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4022 else
   4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4024 for as_dir in $PATH
   4025 do
   4026   IFS=$as_save_IFS
   4027   case $as_dir in #(((
   4028     '') as_dir=./ ;;
   4029     */) ;;
   4030     *) as_dir=$as_dir/ ;;
   4031   esac
   4032     for ac_exec_ext in '' $ac_executable_extensions; do
   4033   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4034     ac_cv_prog_ac_ct_CC="clang"
   4035     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4036     break 2
   4037   fi
   4038 done
   4039   done
   4040 IFS=$as_save_IFS
   4041 
   4042 fi
   4043 fi
   4044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4045 if test -n "$ac_ct_CC"; then
   4046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4047 printf "%s\n" "$ac_ct_CC" >&6; }
   4048 else
   4049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4050 printf "%s\n" "no" >&6; }
   4051 fi
   4052 
   4053   if test "x$ac_ct_CC" = x; then
   4054     CC=""
   4055   else
   4056     case $cross_compiling:$ac_tool_warned in
   4057 yes:)
   4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4059 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4060 ac_tool_warned=yes ;;
   4061 esac
   4062     CC=$ac_ct_CC
   4063   fi
   4064 else
   4065   CC="$ac_cv_prog_CC"
   4066 fi
   4067 
   4068 fi
   4069 
   4070 
   4071 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4072 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4073 as_fn_error $? "no acceptable C compiler found in \$PATH
   4074 See \`config.log' for more details" "$LINENO" 5; }
   4075 
   4076 # Provide some information about the compiler.
   4077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4078 set X $ac_compile
   4079 ac_compiler=$2
   4080 for ac_option in --version -v -V -qversion -version; do
   4081   { { ac_try="$ac_compiler $ac_option >&5"
   4082 case "(($ac_try" in
   4083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4084   *) ac_try_echo=$ac_try;;
   4085 esac
   4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4087 printf "%s\n" "$ac_try_echo"; } >&5
   4088   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4089   ac_status=$?
   4090   if test -s conftest.err; then
   4091     sed '10a\
   4092 ... rest of stderr output deleted ...
   4093          10q' conftest.err >conftest.er1
   4094     cat conftest.er1 >&5
   4095   fi
   4096   rm -f conftest.er1 conftest.err
   4097   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4098   test $ac_status = 0; }
   4099 done
   4100 
   4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main (void)
   4106 {
   4107 
   4108   ;
   4109   return 0;
   4110 }
   4111 _ACEOF
   4112 ac_clean_files_save=$ac_clean_files
   4113 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4114 # Try to create an executable without -o first, disregard a.out.
   4115 # It will help us diagnose broken compilers, and finding out an intuition
   4116 # of exeext.
   4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4118 printf %s "checking whether the C compiler works... " >&6; }
   4119 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4120 
   4121 # The possible output files:
   4122 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4123 
   4124 ac_rmfiles=
   4125 for ac_file in $ac_files
   4126 do
   4127   case $ac_file in
   4128     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4129     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4130   esac
   4131 done
   4132 rm -f $ac_rmfiles
   4133 
   4134 if { { ac_try="$ac_link_default"
   4135 case "(($ac_try" in
   4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4137   *) ac_try_echo=$ac_try;;
   4138 esac
   4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4140 printf "%s\n" "$ac_try_echo"; } >&5
   4141   (eval "$ac_link_default") 2>&5
   4142   ac_status=$?
   4143   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4144   test $ac_status = 0; }
   4145 then :
   4146   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4147 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4148 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4149 # so that the user can short-circuit this test for compilers unknown to
   4150 # Autoconf.
   4151 for ac_file in $ac_files ''
   4152 do
   4153   test -f "$ac_file" || continue
   4154   case $ac_file in
   4155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4156 	;;
   4157     [ab].out )
   4158 	# We found the default executable, but exeext='' is most
   4159 	# certainly right.
   4160 	break;;
   4161     *.* )
   4162 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4163 	then :; else
   4164 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4165 	fi
   4166 	# We set ac_cv_exeext here because the later test for it is not
   4167 	# safe: cross compilers may not add the suffix if given an `-o'
   4168 	# argument, so we may need to know it at that point already.
   4169 	# Even if this section looks crufty: it has the advantage of
   4170 	# actually working.
   4171 	break;;
   4172     * )
   4173 	break;;
   4174   esac
   4175 done
   4176 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4177 
   4178 else $as_nop
   4179   ac_file=''
   4180 fi
   4181 if test -z "$ac_file"
   4182 then :
   4183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4184 printf "%s\n" "no" >&6; }
   4185 printf "%s\n" "$as_me: failed program was:" >&5
   4186 sed 's/^/| /' conftest.$ac_ext >&5
   4187 
   4188 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4190 as_fn_error 77 "C compiler cannot create executables
   4191 See \`config.log' for more details" "$LINENO" 5; }
   4192 else $as_nop
   4193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4194 printf "%s\n" "yes" >&6; }
   4195 fi
   4196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4197 printf %s "checking for C compiler default output file name... " >&6; }
   4198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4199 printf "%s\n" "$ac_file" >&6; }
   4200 ac_exeext=$ac_cv_exeext
   4201 
   4202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4203 ac_clean_files=$ac_clean_files_save
   4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4205 printf %s "checking for suffix of executables... " >&6; }
   4206 if { { ac_try="$ac_link"
   4207 case "(($ac_try" in
   4208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4209   *) ac_try_echo=$ac_try;;
   4210 esac
   4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4212 printf "%s\n" "$ac_try_echo"; } >&5
   4213   (eval "$ac_link") 2>&5
   4214   ac_status=$?
   4215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4216   test $ac_status = 0; }
   4217 then :
   4218   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4219 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4220 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4221 # `rm'.
   4222 for ac_file in conftest.exe conftest conftest.*; do
   4223   test -f "$ac_file" || continue
   4224   case $ac_file in
   4225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4226     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4227 	  break;;
   4228     * ) break;;
   4229   esac
   4230 done
   4231 else $as_nop
   4232   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4233 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4234 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4235 See \`config.log' for more details" "$LINENO" 5; }
   4236 fi
   4237 rm -f conftest conftest$ac_cv_exeext
   4238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4239 printf "%s\n" "$ac_cv_exeext" >&6; }
   4240 
   4241 rm -f conftest.$ac_ext
   4242 EXEEXT=$ac_cv_exeext
   4243 ac_exeext=$EXEEXT
   4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #include <stdio.h>
   4247 int
   4248 main (void)
   4249 {
   4250 FILE *f = fopen ("conftest.out", "w");
   4251  return ferror (f) || fclose (f) != 0;
   4252 
   4253   ;
   4254   return 0;
   4255 }
   4256 _ACEOF
   4257 ac_clean_files="$ac_clean_files conftest.out"
   4258 # Check that the compiler produces executables we can run.  If not, either
   4259 # the compiler is broken, or we cross compile.
   4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4261 printf %s "checking whether we are cross compiling... " >&6; }
   4262 if test "$cross_compiling" != yes; then
   4263   { { ac_try="$ac_link"
   4264 case "(($ac_try" in
   4265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4266   *) ac_try_echo=$ac_try;;
   4267 esac
   4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4269 printf "%s\n" "$ac_try_echo"; } >&5
   4270   (eval "$ac_link") 2>&5
   4271   ac_status=$?
   4272   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4273   test $ac_status = 0; }
   4274   if { ac_try='./conftest$ac_cv_exeext'
   4275   { { case "(($ac_try" in
   4276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4277   *) ac_try_echo=$ac_try;;
   4278 esac
   4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4280 printf "%s\n" "$ac_try_echo"; } >&5
   4281   (eval "$ac_try") 2>&5
   4282   ac_status=$?
   4283   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4284   test $ac_status = 0; }; }; then
   4285     cross_compiling=no
   4286   else
   4287     if test "$cross_compiling" = maybe; then
   4288 	cross_compiling=yes
   4289     else
   4290 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4291 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4292 as_fn_error 77 "cannot run C compiled programs.
   4293 If you meant to cross compile, use \`--host'.
   4294 See \`config.log' for more details" "$LINENO" 5; }
   4295     fi
   4296   fi
   4297 fi
   4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4299 printf "%s\n" "$cross_compiling" >&6; }
   4300 
   4301 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4302 ac_clean_files=$ac_clean_files_save
   4303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4304 printf %s "checking for suffix of object files... " >&6; }
   4305 if test ${ac_cv_objext+y}
   4306 then :
   4307   printf %s "(cached) " >&6
   4308 else $as_nop
   4309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4310 /* end confdefs.h.  */
   4311 
   4312 int
   4313 main (void)
   4314 {
   4315 
   4316   ;
   4317   return 0;
   4318 }
   4319 _ACEOF
   4320 rm -f conftest.o conftest.obj
   4321 if { { ac_try="$ac_compile"
   4322 case "(($ac_try" in
   4323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4324   *) ac_try_echo=$ac_try;;
   4325 esac
   4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4327 printf "%s\n" "$ac_try_echo"; } >&5
   4328   (eval "$ac_compile") 2>&5
   4329   ac_status=$?
   4330   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4331   test $ac_status = 0; }
   4332 then :
   4333   for ac_file in conftest.o conftest.obj conftest.*; do
   4334   test -f "$ac_file" || continue;
   4335   case $ac_file in
   4336     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4337     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4338        break;;
   4339   esac
   4340 done
   4341 else $as_nop
   4342   printf "%s\n" "$as_me: failed program was:" >&5
   4343 sed 's/^/| /' conftest.$ac_ext >&5
   4344 
   4345 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4346 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4347 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4348 See \`config.log' for more details" "$LINENO" 5; }
   4349 fi
   4350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4351 fi
   4352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4353 printf "%s\n" "$ac_cv_objext" >&6; }
   4354 OBJEXT=$ac_cv_objext
   4355 ac_objext=$OBJEXT
   4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4357 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4358 if test ${ac_cv_c_compiler_gnu+y}
   4359 then :
   4360   printf %s "(cached) " >&6
   4361 else $as_nop
   4362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4363 /* end confdefs.h.  */
   4364 
   4365 int
   4366 main (void)
   4367 {
   4368 #ifndef __GNUC__
   4369        choke me
   4370 #endif
   4371 
   4372   ;
   4373   return 0;
   4374 }
   4375 _ACEOF
   4376 if ac_fn_c_try_compile "$LINENO"
   4377 then :
   4378   ac_compiler_gnu=yes
   4379 else $as_nop
   4380   ac_compiler_gnu=no
   4381 fi
   4382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4384 
   4385 fi
   4386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4387 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4389 
   4390 if test $ac_compiler_gnu = yes; then
   4391   GCC=yes
   4392 else
   4393   GCC=
   4394 fi
   4395 ac_test_CFLAGS=${CFLAGS+y}
   4396 ac_save_CFLAGS=$CFLAGS
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4398 printf %s "checking whether $CC accepts -g... " >&6; }
   4399 if test ${ac_cv_prog_cc_g+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else $as_nop
   4403   ac_save_c_werror_flag=$ac_c_werror_flag
   4404    ac_c_werror_flag=yes
   4405    ac_cv_prog_cc_g=no
   4406    CFLAGS="-g"
   4407    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 
   4410 int
   4411 main (void)
   4412 {
   4413 
   4414   ;
   4415   return 0;
   4416 }
   4417 _ACEOF
   4418 if ac_fn_c_try_compile "$LINENO"
   4419 then :
   4420   ac_cv_prog_cc_g=yes
   4421 else $as_nop
   4422   CFLAGS=""
   4423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 
   4426 int
   4427 main (void)
   4428 {
   4429 
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 if ac_fn_c_try_compile "$LINENO"
   4435 then :
   4436 
   4437 else $as_nop
   4438   ac_c_werror_flag=$ac_save_c_werror_flag
   4439 	 CFLAGS="-g"
   4440 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4441 /* end confdefs.h.  */
   4442 
   4443 int
   4444 main (void)
   4445 {
   4446 
   4447   ;
   4448   return 0;
   4449 }
   4450 _ACEOF
   4451 if ac_fn_c_try_compile "$LINENO"
   4452 then :
   4453   ac_cv_prog_cc_g=yes
   4454 fi
   4455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4456 fi
   4457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4458 fi
   4459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4460    ac_c_werror_flag=$ac_save_c_werror_flag
   4461 fi
   4462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4463 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4464 if test $ac_test_CFLAGS; then
   4465   CFLAGS=$ac_save_CFLAGS
   4466 elif test $ac_cv_prog_cc_g = yes; then
   4467   if test "$GCC" = yes; then
   4468     CFLAGS="-g -O2"
   4469   else
   4470     CFLAGS="-g"
   4471   fi
   4472 else
   4473   if test "$GCC" = yes; then
   4474     CFLAGS="-O2"
   4475   else
   4476     CFLAGS=
   4477   fi
   4478 fi
   4479 ac_prog_cc_stdc=no
   4480 if test x$ac_prog_cc_stdc = xno
   4481 then :
   4482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4483 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4484 if test ${ac_cv_prog_cc_c11+y}
   4485 then :
   4486   printf %s "(cached) " >&6
   4487 else $as_nop
   4488   ac_cv_prog_cc_c11=no
   4489 ac_save_CC=$CC
   4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4491 /* end confdefs.h.  */
   4492 $ac_c_conftest_c11_program
   4493 _ACEOF
   4494 for ac_arg in '' -std=gnu11
   4495 do
   4496   CC="$ac_save_CC $ac_arg"
   4497   if ac_fn_c_try_compile "$LINENO"
   4498 then :
   4499   ac_cv_prog_cc_c11=$ac_arg
   4500 fi
   4501 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4502   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4503 done
   4504 rm -f conftest.$ac_ext
   4505 CC=$ac_save_CC
   4506 fi
   4507 
   4508 if test "x$ac_cv_prog_cc_c11" = xno
   4509 then :
   4510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4511 printf "%s\n" "unsupported" >&6; }
   4512 else $as_nop
   4513   if test "x$ac_cv_prog_cc_c11" = x
   4514 then :
   4515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4516 printf "%s\n" "none needed" >&6; }
   4517 else $as_nop
   4518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4519 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4520      CC="$CC $ac_cv_prog_cc_c11"
   4521 fi
   4522   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4523   ac_prog_cc_stdc=c11
   4524 fi
   4525 fi
   4526 if test x$ac_prog_cc_stdc = xno
   4527 then :
   4528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4529 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4530 if test ${ac_cv_prog_cc_c99+y}
   4531 then :
   4532   printf %s "(cached) " >&6
   4533 else $as_nop
   4534   ac_cv_prog_cc_c99=no
   4535 ac_save_CC=$CC
   4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4537 /* end confdefs.h.  */
   4538 $ac_c_conftest_c99_program
   4539 _ACEOF
   4540 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4541 do
   4542   CC="$ac_save_CC $ac_arg"
   4543   if ac_fn_c_try_compile "$LINENO"
   4544 then :
   4545   ac_cv_prog_cc_c99=$ac_arg
   4546 fi
   4547 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4548   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4549 done
   4550 rm -f conftest.$ac_ext
   4551 CC=$ac_save_CC
   4552 fi
   4553 
   4554 if test "x$ac_cv_prog_cc_c99" = xno
   4555 then :
   4556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4557 printf "%s\n" "unsupported" >&6; }
   4558 else $as_nop
   4559   if test "x$ac_cv_prog_cc_c99" = x
   4560 then :
   4561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4562 printf "%s\n" "none needed" >&6; }
   4563 else $as_nop
   4564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4565 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4566      CC="$CC $ac_cv_prog_cc_c99"
   4567 fi
   4568   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4569   ac_prog_cc_stdc=c99
   4570 fi
   4571 fi
   4572 if test x$ac_prog_cc_stdc = xno
   4573 then :
   4574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4575 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4576 if test ${ac_cv_prog_cc_c89+y}
   4577 then :
   4578   printf %s "(cached) " >&6
   4579 else $as_nop
   4580   ac_cv_prog_cc_c89=no
   4581 ac_save_CC=$CC
   4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4583 /* end confdefs.h.  */
   4584 $ac_c_conftest_c89_program
   4585 _ACEOF
   4586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4587 do
   4588   CC="$ac_save_CC $ac_arg"
   4589   if ac_fn_c_try_compile "$LINENO"
   4590 then :
   4591   ac_cv_prog_cc_c89=$ac_arg
   4592 fi
   4593 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4594   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4595 done
   4596 rm -f conftest.$ac_ext
   4597 CC=$ac_save_CC
   4598 fi
   4599 
   4600 if test "x$ac_cv_prog_cc_c89" = xno
   4601 then :
   4602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4603 printf "%s\n" "unsupported" >&6; }
   4604 else $as_nop
   4605   if test "x$ac_cv_prog_cc_c89" = x
   4606 then :
   4607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4608 printf "%s\n" "none needed" >&6; }
   4609 else $as_nop
   4610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4611 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4612      CC="$CC $ac_cv_prog_cc_c89"
   4613 fi
   4614   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4615   ac_prog_cc_stdc=c89
   4616 fi
   4617 fi
   4618 
   4619 ac_ext=c
   4620 ac_cpp='$CPP $CPPFLAGS'
   4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4624 
   4625 
   4626   ac_ext=c
   4627 ac_cpp='$CPP $CPPFLAGS'
   4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4632 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4633 if test ${am_cv_prog_cc_c_o+y}
   4634 then :
   4635   printf %s "(cached) " >&6
   4636 else $as_nop
   4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 
   4640 int
   4641 main (void)
   4642 {
   4643 
   4644   ;
   4645   return 0;
   4646 }
   4647 _ACEOF
   4648   # Make sure it works both with $CC and with simple cc.
   4649   # Following AC_PROG_CC_C_O, we do the test twice because some
   4650   # compilers refuse to overwrite an existing .o file with -o,
   4651   # though they will create one.
   4652   am_cv_prog_cc_c_o=yes
   4653   for am_i in 1 2; do
   4654     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4655    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4656    ac_status=$?
   4657    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4658    (exit $ac_status); } \
   4659          && test -f conftest2.$ac_objext; then
   4660       : OK
   4661     else
   4662       am_cv_prog_cc_c_o=no
   4663       break
   4664     fi
   4665   done
   4666   rm -f core conftest*
   4667   unset am_i
   4668 fi
   4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4670 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4671 if test "$am_cv_prog_cc_c_o" != yes; then
   4672    # Losing compiler, so override with the script.
   4673    # FIXME: It is wrong to rewrite CC.
   4674    # But if we don't then we get into trouble of one sort or another.
   4675    # A longer-term fix would be to have automake use am__CC in this case,
   4676    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4677    CC="$am_aux_dir/compile $CC"
   4678 fi
   4679 ac_ext=c
   4680 ac_cpp='$CPP $CPPFLAGS'
   4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4684 
   4685 
   4686 depcc="$CC"   am_compiler_list=
   4687 
   4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4689 printf %s "checking dependency style of $depcc... " >&6; }
   4690 if test ${am_cv_CC_dependencies_compiler_type+y}
   4691 then :
   4692   printf %s "(cached) " >&6
   4693 else $as_nop
   4694   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4695   # We make a subdir and do the tests there.  Otherwise we can end up
   4696   # making bogus files that we don't know about and never remove.  For
   4697   # instance it was reported that on HP-UX the gcc test will end up
   4698   # making a dummy file named 'D' -- because '-MD' means "put the output
   4699   # in D".
   4700   rm -rf conftest.dir
   4701   mkdir conftest.dir
   4702   # Copy depcomp to subdir because otherwise we won't find it if we're
   4703   # using a relative directory.
   4704   cp "$am_depcomp" conftest.dir
   4705   cd conftest.dir
   4706   # We will build objects and dependencies in a subdirectory because
   4707   # it helps to detect inapplicable dependency modes.  For instance
   4708   # both Tru64's cc and ICC support -MD to output dependencies as a
   4709   # side effect of compilation, but ICC will put the dependencies in
   4710   # the current directory while Tru64 will put them in the object
   4711   # directory.
   4712   mkdir sub
   4713 
   4714   am_cv_CC_dependencies_compiler_type=none
   4715   if test "$am_compiler_list" = ""; then
   4716      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4717   fi
   4718   am__universal=false
   4719   case " $depcc " in #(
   4720      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4721      esac
   4722 
   4723   for depmode in $am_compiler_list; do
   4724     # Setup a source with many dependencies, because some compilers
   4725     # like to wrap large dependency lists on column 80 (with \), and
   4726     # we should not choose a depcomp mode which is confused by this.
   4727     #
   4728     # We need to recreate these files for each test, as the compiler may
   4729     # overwrite some of them when testing with obscure command lines.
   4730     # This happens at least with the AIX C compiler.
   4731     : > sub/conftest.c
   4732     for i in 1 2 3 4 5 6; do
   4733       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4734       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4735       # Solaris 10 /bin/sh.
   4736       echo '/* dummy */' > sub/conftst$i.h
   4737     done
   4738     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4739 
   4740     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4741     # mode.  It turns out that the SunPro C++ compiler does not properly
   4742     # handle '-M -o', and we need to detect this.  Also, some Intel
   4743     # versions had trouble with output in subdirs.
   4744     am__obj=sub/conftest.${OBJEXT-o}
   4745     am__minus_obj="-o $am__obj"
   4746     case $depmode in
   4747     gcc)
   4748       # This depmode causes a compiler race in universal mode.
   4749       test "$am__universal" = false || continue
   4750       ;;
   4751     nosideeffect)
   4752       # After this tag, mechanisms are not by side-effect, so they'll
   4753       # only be used when explicitly requested.
   4754       if test "x$enable_dependency_tracking" = xyes; then
   4755 	continue
   4756       else
   4757 	break
   4758       fi
   4759       ;;
   4760     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4761       # This compiler won't grok '-c -o', but also, the minuso test has
   4762       # not run yet.  These depmodes are late enough in the game, and
   4763       # so weak that their functioning should not be impacted.
   4764       am__obj=conftest.${OBJEXT-o}
   4765       am__minus_obj=
   4766       ;;
   4767     none) break ;;
   4768     esac
   4769     if depmode=$depmode \
   4770        source=sub/conftest.c object=$am__obj \
   4771        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4772        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4773          >/dev/null 2>conftest.err &&
   4774        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4775        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4776        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4777        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4778       # icc doesn't choke on unknown options, it will just issue warnings
   4779       # or remarks (even with -Werror).  So we grep stderr for any message
   4780       # that says an option was ignored or not supported.
   4781       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4782       #   icc: Command line warning: ignoring option '-M'; no argument required
   4783       # The diagnosis changed in icc 8.0:
   4784       #   icc: Command line remark: option '-MP' not supported
   4785       if (grep 'ignoring option' conftest.err ||
   4786           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4787         am_cv_CC_dependencies_compiler_type=$depmode
   4788         break
   4789       fi
   4790     fi
   4791   done
   4792 
   4793   cd ..
   4794   rm -rf conftest.dir
   4795 else
   4796   am_cv_CC_dependencies_compiler_type=none
   4797 fi
   4798 
   4799 fi
   4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4801 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4802 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4803 
   4804  if
   4805   test "x$enable_dependency_tracking" != xno \
   4806   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4807   am__fastdepCC_TRUE=
   4808   am__fastdepCC_FALSE='#'
   4809 else
   4810   am__fastdepCC_TRUE='#'
   4811   am__fastdepCC_FALSE=
   4812 fi
   4813 
   4814 
   4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4816 printf %s "checking for a sed that does not truncate output... " >&6; }
   4817 if test ${ac_cv_path_SED+y}
   4818 then :
   4819   printf %s "(cached) " >&6
   4820 else $as_nop
   4821             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4822      for ac_i in 1 2 3 4 5 6 7; do
   4823        ac_script="$ac_script$as_nl$ac_script"
   4824      done
   4825      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4826      { ac_script=; unset ac_script;}
   4827      if test -z "$SED"; then
   4828   ac_path_SED_found=false
   4829   # Loop through the user's path and test for each of PROGNAME-LIST
   4830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4831 for as_dir in $PATH
   4832 do
   4833   IFS=$as_save_IFS
   4834   case $as_dir in #(((
   4835     '') as_dir=./ ;;
   4836     */) ;;
   4837     *) as_dir=$as_dir/ ;;
   4838   esac
   4839     for ac_prog in sed gsed
   4840    do
   4841     for ac_exec_ext in '' $ac_executable_extensions; do
   4842       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4843       as_fn_executable_p "$ac_path_SED" || continue
   4844 # Check for GNU ac_path_SED and select it if it is found.
   4845   # Check for GNU $ac_path_SED
   4846 case `"$ac_path_SED" --version 2>&1` in
   4847 *GNU*)
   4848   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4849 *)
   4850   ac_count=0
   4851   printf %s 0123456789 >"conftest.in"
   4852   while :
   4853   do
   4854     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4855     mv "conftest.tmp" "conftest.in"
   4856     cp "conftest.in" "conftest.nl"
   4857     printf "%s\n" '' >> "conftest.nl"
   4858     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4859     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4860     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4861     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4862       # Best one so far, save it but keep looking for a better one
   4863       ac_cv_path_SED="$ac_path_SED"
   4864       ac_path_SED_max=$ac_count
   4865     fi
   4866     # 10*(2^10) chars as input seems more than enough
   4867     test $ac_count -gt 10 && break
   4868   done
   4869   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4870 esac
   4871 
   4872       $ac_path_SED_found && break 3
   4873     done
   4874   done
   4875   done
   4876 IFS=$as_save_IFS
   4877   if test -z "$ac_cv_path_SED"; then
   4878     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4879   fi
   4880 else
   4881   ac_cv_path_SED=$SED
   4882 fi
   4883 
   4884 fi
   4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4886 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4887  SED="$ac_cv_path_SED"
   4888   rm -f conftest.sed
   4889 
   4890 test -z "$SED" && SED=sed
   4891 Xsed="$SED -e 1s/^X//"
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4904 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4905 if test ${ac_cv_path_GREP+y}
   4906 then :
   4907   printf %s "(cached) " >&6
   4908 else $as_nop
   4909   if test -z "$GREP"; then
   4910   ac_path_GREP_found=false
   4911   # Loop through the user's path and test for each of PROGNAME-LIST
   4912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4914 do
   4915   IFS=$as_save_IFS
   4916   case $as_dir in #(((
   4917     '') as_dir=./ ;;
   4918     */) ;;
   4919     *) as_dir=$as_dir/ ;;
   4920   esac
   4921     for ac_prog in grep ggrep
   4922    do
   4923     for ac_exec_ext in '' $ac_executable_extensions; do
   4924       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4925       as_fn_executable_p "$ac_path_GREP" || continue
   4926 # Check for GNU ac_path_GREP and select it if it is found.
   4927   # Check for GNU $ac_path_GREP
   4928 case `"$ac_path_GREP" --version 2>&1` in
   4929 *GNU*)
   4930   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4931 *)
   4932   ac_count=0
   4933   printf %s 0123456789 >"conftest.in"
   4934   while :
   4935   do
   4936     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4937     mv "conftest.tmp" "conftest.in"
   4938     cp "conftest.in" "conftest.nl"
   4939     printf "%s\n" 'GREP' >> "conftest.nl"
   4940     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4941     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4942     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4943     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4944       # Best one so far, save it but keep looking for a better one
   4945       ac_cv_path_GREP="$ac_path_GREP"
   4946       ac_path_GREP_max=$ac_count
   4947     fi
   4948     # 10*(2^10) chars as input seems more than enough
   4949     test $ac_count -gt 10 && break
   4950   done
   4951   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4952 esac
   4953 
   4954       $ac_path_GREP_found && break 3
   4955     done
   4956   done
   4957   done
   4958 IFS=$as_save_IFS
   4959   if test -z "$ac_cv_path_GREP"; then
   4960     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4961   fi
   4962 else
   4963   ac_cv_path_GREP=$GREP
   4964 fi
   4965 
   4966 fi
   4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4968 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4969  GREP="$ac_cv_path_GREP"
   4970 
   4971 
   4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4973 printf %s "checking for egrep... " >&6; }
   4974 if test ${ac_cv_path_EGREP+y}
   4975 then :
   4976   printf %s "(cached) " >&6
   4977 else $as_nop
   4978   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4979    then ac_cv_path_EGREP="$GREP -E"
   4980    else
   4981      if test -z "$EGREP"; then
   4982   ac_path_EGREP_found=false
   4983   # Loop through the user's path and test for each of PROGNAME-LIST
   4984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4985 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4986 do
   4987   IFS=$as_save_IFS
   4988   case $as_dir in #(((
   4989     '') as_dir=./ ;;
   4990     */) ;;
   4991     *) as_dir=$as_dir/ ;;
   4992   esac
   4993     for ac_prog in egrep
   4994    do
   4995     for ac_exec_ext in '' $ac_executable_extensions; do
   4996       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4997       as_fn_executable_p "$ac_path_EGREP" || continue
   4998 # Check for GNU ac_path_EGREP and select it if it is found.
   4999   # Check for GNU $ac_path_EGREP
   5000 case `"$ac_path_EGREP" --version 2>&1` in
   5001 *GNU*)
   5002   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5003 *)
   5004   ac_count=0
   5005   printf %s 0123456789 >"conftest.in"
   5006   while :
   5007   do
   5008     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5009     mv "conftest.tmp" "conftest.in"
   5010     cp "conftest.in" "conftest.nl"
   5011     printf "%s\n" 'EGREP' >> "conftest.nl"
   5012     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5013     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5014     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5015     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5016       # Best one so far, save it but keep looking for a better one
   5017       ac_cv_path_EGREP="$ac_path_EGREP"
   5018       ac_path_EGREP_max=$ac_count
   5019     fi
   5020     # 10*(2^10) chars as input seems more than enough
   5021     test $ac_count -gt 10 && break
   5022   done
   5023   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5024 esac
   5025 
   5026       $ac_path_EGREP_found && break 3
   5027     done
   5028   done
   5029   done
   5030 IFS=$as_save_IFS
   5031   if test -z "$ac_cv_path_EGREP"; then
   5032     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5033   fi
   5034 else
   5035   ac_cv_path_EGREP=$EGREP
   5036 fi
   5037 
   5038    fi
   5039 fi
   5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5041 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5042  EGREP="$ac_cv_path_EGREP"
   5043 
   5044 
   5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5046 printf %s "checking for fgrep... " >&6; }
   5047 if test ${ac_cv_path_FGREP+y}
   5048 then :
   5049   printf %s "(cached) " >&6
   5050 else $as_nop
   5051   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5052    then ac_cv_path_FGREP="$GREP -F"
   5053    else
   5054      if test -z "$FGREP"; then
   5055   ac_path_FGREP_found=false
   5056   # Loop through the user's path and test for each of PROGNAME-LIST
   5057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5059 do
   5060   IFS=$as_save_IFS
   5061   case $as_dir in #(((
   5062     '') as_dir=./ ;;
   5063     */) ;;
   5064     *) as_dir=$as_dir/ ;;
   5065   esac
   5066     for ac_prog in fgrep
   5067    do
   5068     for ac_exec_ext in '' $ac_executable_extensions; do
   5069       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5070       as_fn_executable_p "$ac_path_FGREP" || continue
   5071 # Check for GNU ac_path_FGREP and select it if it is found.
   5072   # Check for GNU $ac_path_FGREP
   5073 case `"$ac_path_FGREP" --version 2>&1` in
   5074 *GNU*)
   5075   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5076 *)
   5077   ac_count=0
   5078   printf %s 0123456789 >"conftest.in"
   5079   while :
   5080   do
   5081     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5082     mv "conftest.tmp" "conftest.in"
   5083     cp "conftest.in" "conftest.nl"
   5084     printf "%s\n" 'FGREP' >> "conftest.nl"
   5085     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5086     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5087     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5088     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5089       # Best one so far, save it but keep looking for a better one
   5090       ac_cv_path_FGREP="$ac_path_FGREP"
   5091       ac_path_FGREP_max=$ac_count
   5092     fi
   5093     # 10*(2^10) chars as input seems more than enough
   5094     test $ac_count -gt 10 && break
   5095   done
   5096   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5097 esac
   5098 
   5099       $ac_path_FGREP_found && break 3
   5100     done
   5101   done
   5102   done
   5103 IFS=$as_save_IFS
   5104   if test -z "$ac_cv_path_FGREP"; then
   5105     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5106   fi
   5107 else
   5108   ac_cv_path_FGREP=$FGREP
   5109 fi
   5110 
   5111    fi
   5112 fi
   5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5114 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5115  FGREP="$ac_cv_path_FGREP"
   5116 
   5117 
   5118 test -z "$GREP" && GREP=grep
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 # Check whether --with-gnu-ld was given.
   5139 if test ${with_gnu_ld+y}
   5140 then :
   5141   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5142 else $as_nop
   5143   with_gnu_ld=no
   5144 fi
   5145 
   5146 ac_prog=ld
   5147 if test yes = "$GCC"; then
   5148   # Check if gcc -print-prog-name=ld gives a path.
   5149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5150 printf %s "checking for ld used by $CC... " >&6; }
   5151   case $host in
   5152   *-*-mingw*)
   5153     # gcc leaves a trailing carriage return, which upsets mingw
   5154     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5155   *)
   5156     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5157   esac
   5158   case $ac_prog in
   5159     # Accept absolute paths.
   5160     [\\/]* | ?:[\\/]*)
   5161       re_direlt='/[^/][^/]*/\.\./'
   5162       # Canonicalize the pathname of ld
   5163       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5164       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5165 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5166       done
   5167       test -z "$LD" && LD=$ac_prog
   5168       ;;
   5169   "")
   5170     # If it fails, then pretend we aren't using GCC.
   5171     ac_prog=ld
   5172     ;;
   5173   *)
   5174     # If it is relative, then search for the first ld in PATH.
   5175     with_gnu_ld=unknown
   5176     ;;
   5177   esac
   5178 elif test yes = "$with_gnu_ld"; then
   5179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5180 printf %s "checking for GNU ld... " >&6; }
   5181 else
   5182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5183 printf %s "checking for non-GNU ld... " >&6; }
   5184 fi
   5185 if test ${lt_cv_path_LD+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else $as_nop
   5189   if test -z "$LD"; then
   5190   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5191   for ac_dir in $PATH; do
   5192     IFS=$lt_save_ifs
   5193     test -z "$ac_dir" && ac_dir=.
   5194     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5195       lt_cv_path_LD=$ac_dir/$ac_prog
   5196       # Check to see if the program is GNU ld.  I'd rather use --version,
   5197       # but apparently some variants of GNU ld only accept -v.
   5198       # Break only if it was the GNU/non-GNU ld that we prefer.
   5199       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5200       *GNU* | *'with BFD'*)
   5201 	test no != "$with_gnu_ld" && break
   5202 	;;
   5203       *)
   5204 	test yes != "$with_gnu_ld" && break
   5205 	;;
   5206       esac
   5207     fi
   5208   done
   5209   IFS=$lt_save_ifs
   5210 else
   5211   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5212 fi
   5213 fi
   5214 
   5215 LD=$lt_cv_path_LD
   5216 if test -n "$LD"; then
   5217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5218 printf "%s\n" "$LD" >&6; }
   5219 else
   5220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5221 printf "%s\n" "no" >&6; }
   5222 fi
   5223 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5225 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5226 if test ${lt_cv_prog_gnu_ld+y}
   5227 then :
   5228   printf %s "(cached) " >&6
   5229 else $as_nop
   5230   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5231 case `$LD -v 2>&1 </dev/null` in
   5232 *GNU* | *'with BFD'*)
   5233   lt_cv_prog_gnu_ld=yes
   5234   ;;
   5235 *)
   5236   lt_cv_prog_gnu_ld=no
   5237   ;;
   5238 esac
   5239 fi
   5240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5241 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5242 with_gnu_ld=$lt_cv_prog_gnu_ld
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5253 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5254 if test ${lt_cv_path_NM+y}
   5255 then :
   5256   printf %s "(cached) " >&6
   5257 else $as_nop
   5258   if test -n "$NM"; then
   5259   # Let the user override the test.
   5260   lt_cv_path_NM=$NM
   5261 else
   5262   lt_nm_to_check=${ac_tool_prefix}nm
   5263   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5264     lt_nm_to_check="$lt_nm_to_check nm"
   5265   fi
   5266   for lt_tmp_nm in $lt_nm_to_check; do
   5267     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5268     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5269       IFS=$lt_save_ifs
   5270       test -z "$ac_dir" && ac_dir=.
   5271       tmp_nm=$ac_dir/$lt_tmp_nm
   5272       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5273 	# Check to see if the nm accepts a BSD-compat flag.
   5274 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5275 	#   nm: unknown option "B" ignored
   5276 	# Tru64's nm complains that /dev/null is an invalid object file
   5277 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5278 	case $build_os in
   5279 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5280 	*) lt_bad_file=/dev/null ;;
   5281 	esac
   5282 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5283 	*$lt_bad_file* | *'Invalid file or object type'*)
   5284 	  lt_cv_path_NM="$tmp_nm -B"
   5285 	  break 2
   5286 	  ;;
   5287 	*)
   5288 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5289 	  */dev/null*)
   5290 	    lt_cv_path_NM="$tmp_nm -p"
   5291 	    break 2
   5292 	    ;;
   5293 	  *)
   5294 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5295 	    continue # so that we can try to find one that supports BSD flags
   5296 	    ;;
   5297 	  esac
   5298 	  ;;
   5299 	esac
   5300       fi
   5301     done
   5302     IFS=$lt_save_ifs
   5303   done
   5304   : ${lt_cv_path_NM=no}
   5305 fi
   5306 fi
   5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5308 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5309 if test no != "$lt_cv_path_NM"; then
   5310   NM=$lt_cv_path_NM
   5311 else
   5312   # Didn't find any BSD compatible name lister, look for dumpbin.
   5313   if test -n "$DUMPBIN"; then :
   5314     # Let the user override the test.
   5315   else
   5316     if test -n "$ac_tool_prefix"; then
   5317   for ac_prog in dumpbin "link -dump"
   5318   do
   5319     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5322 printf %s "checking for $ac_word... " >&6; }
   5323 if test ${ac_cv_prog_DUMPBIN+y}
   5324 then :
   5325   printf %s "(cached) " >&6
   5326 else $as_nop
   5327   if test -n "$DUMPBIN"; then
   5328   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5329 else
   5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5331 for as_dir in $PATH
   5332 do
   5333   IFS=$as_save_IFS
   5334   case $as_dir in #(((
   5335     '') as_dir=./ ;;
   5336     */) ;;
   5337     *) as_dir=$as_dir/ ;;
   5338   esac
   5339     for ac_exec_ext in '' $ac_executable_extensions; do
   5340   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5341     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5342     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5343     break 2
   5344   fi
   5345 done
   5346   done
   5347 IFS=$as_save_IFS
   5348 
   5349 fi
   5350 fi
   5351 DUMPBIN=$ac_cv_prog_DUMPBIN
   5352 if test -n "$DUMPBIN"; then
   5353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5354 printf "%s\n" "$DUMPBIN" >&6; }
   5355 else
   5356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5357 printf "%s\n" "no" >&6; }
   5358 fi
   5359 
   5360 
   5361     test -n "$DUMPBIN" && break
   5362   done
   5363 fi
   5364 if test -z "$DUMPBIN"; then
   5365   ac_ct_DUMPBIN=$DUMPBIN
   5366   for ac_prog in dumpbin "link -dump"
   5367 do
   5368   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5369 set dummy $ac_prog; ac_word=$2
   5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5371 printf %s "checking for $ac_word... " >&6; }
   5372 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5373 then :
   5374   printf %s "(cached) " >&6
   5375 else $as_nop
   5376   if test -n "$ac_ct_DUMPBIN"; then
   5377   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5378 else
   5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5380 for as_dir in $PATH
   5381 do
   5382   IFS=$as_save_IFS
   5383   case $as_dir in #(((
   5384     '') as_dir=./ ;;
   5385     */) ;;
   5386     *) as_dir=$as_dir/ ;;
   5387   esac
   5388     for ac_exec_ext in '' $ac_executable_extensions; do
   5389   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5390     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5392     break 2
   5393   fi
   5394 done
   5395   done
   5396 IFS=$as_save_IFS
   5397 
   5398 fi
   5399 fi
   5400 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5401 if test -n "$ac_ct_DUMPBIN"; then
   5402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5403 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5404 else
   5405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5406 printf "%s\n" "no" >&6; }
   5407 fi
   5408 
   5409 
   5410   test -n "$ac_ct_DUMPBIN" && break
   5411 done
   5412 
   5413   if test "x$ac_ct_DUMPBIN" = x; then
   5414     DUMPBIN=":"
   5415   else
   5416     case $cross_compiling:$ac_tool_warned in
   5417 yes:)
   5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5419 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5420 ac_tool_warned=yes ;;
   5421 esac
   5422     DUMPBIN=$ac_ct_DUMPBIN
   5423   fi
   5424 fi
   5425 
   5426     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5427     *COFF*)
   5428       DUMPBIN="$DUMPBIN -symbols -headers"
   5429       ;;
   5430     *)
   5431       DUMPBIN=:
   5432       ;;
   5433     esac
   5434   fi
   5435 
   5436   if test : != "$DUMPBIN"; then
   5437     NM=$DUMPBIN
   5438   fi
   5439 fi
   5440 test -z "$NM" && NM=nm
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5448 printf %s "checking the name lister ($NM) interface... " >&6; }
   5449 if test ${lt_cv_nm_interface+y}
   5450 then :
   5451   printf %s "(cached) " >&6
   5452 else $as_nop
   5453   lt_cv_nm_interface="BSD nm"
   5454   echo "int some_variable = 0;" > conftest.$ac_ext
   5455   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5456   (eval "$ac_compile" 2>conftest.err)
   5457   cat conftest.err >&5
   5458   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5459   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5460   cat conftest.err >&5
   5461   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5462   cat conftest.out >&5
   5463   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5464     lt_cv_nm_interface="MS dumpbin"
   5465   fi
   5466   rm -f conftest*
   5467 fi
   5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5469 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5470 
   5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5472 printf %s "checking whether ln -s works... " >&6; }
   5473 LN_S=$as_ln_s
   5474 if test "$LN_S" = "ln -s"; then
   5475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5476 printf "%s\n" "yes" >&6; }
   5477 else
   5478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5479 printf "%s\n" "no, using $LN_S" >&6; }
   5480 fi
   5481 
   5482 # find the maximum length of command line arguments
   5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5484 printf %s "checking the maximum length of command line arguments... " >&6; }
   5485 if test ${lt_cv_sys_max_cmd_len+y}
   5486 then :
   5487   printf %s "(cached) " >&6
   5488 else $as_nop
   5489     i=0
   5490   teststring=ABCD
   5491 
   5492   case $build_os in
   5493   msdosdjgpp*)
   5494     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5495     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5496     # during glob expansion).  Even if it were fixed, the result of this
   5497     # check would be larger than it should be.
   5498     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5499     ;;
   5500 
   5501   gnu*)
   5502     # Under GNU Hurd, this test is not required because there is
   5503     # no limit to the length of command line arguments.
   5504     # Libtool will interpret -1 as no limit whatsoever
   5505     lt_cv_sys_max_cmd_len=-1;
   5506     ;;
   5507 
   5508   cygwin* | mingw* | cegcc*)
   5509     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5510     # about 5 minutes as the teststring grows exponentially.
   5511     # Worse, since 9x/ME are not pre-emptively multitasking,
   5512     # you end up with a "frozen" computer, even though with patience
   5513     # the test eventually succeeds (with a max line length of 256k).
   5514     # Instead, let's just punt: use the minimum linelength reported by
   5515     # all of the supported platforms: 8192 (on NT/2K/XP).
   5516     lt_cv_sys_max_cmd_len=8192;
   5517     ;;
   5518 
   5519   mint*)
   5520     # On MiNT this can take a long time and run out of memory.
   5521     lt_cv_sys_max_cmd_len=8192;
   5522     ;;
   5523 
   5524   amigaos*)
   5525     # On AmigaOS with pdksh, this test takes hours, literally.
   5526     # So we just punt and use a minimum line length of 8192.
   5527     lt_cv_sys_max_cmd_len=8192;
   5528     ;;
   5529 
   5530   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5531     # This has been around since 386BSD, at least.  Likely further.
   5532     if test -x /sbin/sysctl; then
   5533       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5534     elif test -x /usr/sbin/sysctl; then
   5535       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5536     else
   5537       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5538     fi
   5539     # And add a safety zone
   5540     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5541     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5542     ;;
   5543 
   5544   interix*)
   5545     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5546     lt_cv_sys_max_cmd_len=196608
   5547     ;;
   5548 
   5549   os2*)
   5550     # The test takes a long time on OS/2.
   5551     lt_cv_sys_max_cmd_len=8192
   5552     ;;
   5553 
   5554   osf*)
   5555     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5556     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5557     # nice to cause kernel panics so lets avoid the loop below.
   5558     # First set a reasonable default.
   5559     lt_cv_sys_max_cmd_len=16384
   5560     #
   5561     if test -x /sbin/sysconfig; then
   5562       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5563         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5564       esac
   5565     fi
   5566     ;;
   5567   sco3.2v5*)
   5568     lt_cv_sys_max_cmd_len=102400
   5569     ;;
   5570   sysv5* | sco5v6* | sysv4.2uw2*)
   5571     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5572     if test -n "$kargmax"; then
   5573       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5574     else
   5575       lt_cv_sys_max_cmd_len=32768
   5576     fi
   5577     ;;
   5578   *)
   5579     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5580     if test -n "$lt_cv_sys_max_cmd_len" && \
   5581        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5582       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5583       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5584     else
   5585       # Make teststring a little bigger before we do anything with it.
   5586       # a 1K string should be a reasonable start.
   5587       for i in 1 2 3 4 5 6 7 8; do
   5588         teststring=$teststring$teststring
   5589       done
   5590       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5591       # If test is not a shell built-in, we'll probably end up computing a
   5592       # maximum length that is only half of the actual maximum length, but
   5593       # we can't tell.
   5594       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5595 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5596 	      test 17 != "$i" # 1/2 MB should be enough
   5597       do
   5598         i=`expr $i + 1`
   5599         teststring=$teststring$teststring
   5600       done
   5601       # Only check the string length outside the loop.
   5602       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5603       teststring=
   5604       # Add a significant safety factor because C++ compilers can tack on
   5605       # massive amounts of additional arguments before passing them to the
   5606       # linker.  It appears as though 1/2 is a usable value.
   5607       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5608     fi
   5609     ;;
   5610   esac
   5611 
   5612 fi
   5613 
   5614 if test -n "$lt_cv_sys_max_cmd_len"; then
   5615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5616 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5617 else
   5618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5619 printf "%s\n" "none" >&6; }
   5620 fi
   5621 max_cmd_len=$lt_cv_sys_max_cmd_len
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 : ${CP="cp -f"}
   5629 : ${MV="mv -f"}
   5630 : ${RM="rm -f"}
   5631 
   5632 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5633   lt_unset=unset
   5634 else
   5635   lt_unset=false
   5636 fi
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 # test EBCDIC or ASCII
   5643 case `echo X|tr X '\101'` in
   5644  A) # ASCII based system
   5645     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5646   lt_SP2NL='tr \040 \012'
   5647   lt_NL2SP='tr \015\012 \040\040'
   5648   ;;
   5649  *) # EBCDIC based system
   5650   lt_SP2NL='tr \100 \n'
   5651   lt_NL2SP='tr \r\n \100\100'
   5652   ;;
   5653 esac
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5664 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5665 if test ${lt_cv_to_host_file_cmd+y}
   5666 then :
   5667   printf %s "(cached) " >&6
   5668 else $as_nop
   5669   case $host in
   5670   *-*-mingw* )
   5671     case $build in
   5672       *-*-mingw* ) # actually msys
   5673         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5674         ;;
   5675       *-*-cygwin* )
   5676         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5677         ;;
   5678       * ) # otherwise, assume *nix
   5679         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5680         ;;
   5681     esac
   5682     ;;
   5683   *-*-cygwin* )
   5684     case $build in
   5685       *-*-mingw* ) # actually msys
   5686         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5687         ;;
   5688       *-*-cygwin* )
   5689         lt_cv_to_host_file_cmd=func_convert_file_noop
   5690         ;;
   5691       * ) # otherwise, assume *nix
   5692         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5693         ;;
   5694     esac
   5695     ;;
   5696   * ) # unhandled hosts (and "normal" native builds)
   5697     lt_cv_to_host_file_cmd=func_convert_file_noop
   5698     ;;
   5699 esac
   5700 
   5701 fi
   5702 
   5703 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5705 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5712 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5713 if test ${lt_cv_to_tool_file_cmd+y}
   5714 then :
   5715   printf %s "(cached) " >&6
   5716 else $as_nop
   5717   #assume ordinary cross tools, or native build.
   5718 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5719 case $host in
   5720   *-*-mingw* )
   5721     case $build in
   5722       *-*-mingw* ) # actually msys
   5723         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5724         ;;
   5725     esac
   5726     ;;
   5727 esac
   5728 
   5729 fi
   5730 
   5731 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5733 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5740 printf %s "checking for $LD option to reload object files... " >&6; }
   5741 if test ${lt_cv_ld_reload_flag+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else $as_nop
   5745   lt_cv_ld_reload_flag='-r'
   5746 fi
   5747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5748 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5749 reload_flag=$lt_cv_ld_reload_flag
   5750 case $reload_flag in
   5751 "" | " "*) ;;
   5752 *) reload_flag=" $reload_flag" ;;
   5753 esac
   5754 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5755 case $host_os in
   5756   cygwin* | mingw* | pw32* | cegcc*)
   5757     if test yes != "$GCC"; then
   5758       reload_cmds=false
   5759     fi
   5760     ;;
   5761   darwin*)
   5762     if test yes = "$GCC"; then
   5763       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5764     else
   5765       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5766     fi
   5767     ;;
   5768 esac
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 if test -n "$ac_tool_prefix"; then
   5779   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5780 set dummy ${ac_tool_prefix}file; ac_word=$2
   5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5782 printf %s "checking for $ac_word... " >&6; }
   5783 if test ${ac_cv_prog_FILECMD+y}
   5784 then :
   5785   printf %s "(cached) " >&6
   5786 else $as_nop
   5787   if test -n "$FILECMD"; then
   5788   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5789 else
   5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5791 for as_dir in $PATH
   5792 do
   5793   IFS=$as_save_IFS
   5794   case $as_dir in #(((
   5795     '') as_dir=./ ;;
   5796     */) ;;
   5797     *) as_dir=$as_dir/ ;;
   5798   esac
   5799     for ac_exec_ext in '' $ac_executable_extensions; do
   5800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5801     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5803     break 2
   5804   fi
   5805 done
   5806   done
   5807 IFS=$as_save_IFS
   5808 
   5809 fi
   5810 fi
   5811 FILECMD=$ac_cv_prog_FILECMD
   5812 if test -n "$FILECMD"; then
   5813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5814 printf "%s\n" "$FILECMD" >&6; }
   5815 else
   5816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5817 printf "%s\n" "no" >&6; }
   5818 fi
   5819 
   5820 
   5821 fi
   5822 if test -z "$ac_cv_prog_FILECMD"; then
   5823   ac_ct_FILECMD=$FILECMD
   5824   # Extract the first word of "file", so it can be a program name with args.
   5825 set dummy file; ac_word=$2
   5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5827 printf %s "checking for $ac_word... " >&6; }
   5828 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5829 then :
   5830   printf %s "(cached) " >&6
   5831 else $as_nop
   5832   if test -n "$ac_ct_FILECMD"; then
   5833   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5834 else
   5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5836 for as_dir in $PATH
   5837 do
   5838   IFS=$as_save_IFS
   5839   case $as_dir in #(((
   5840     '') as_dir=./ ;;
   5841     */) ;;
   5842     *) as_dir=$as_dir/ ;;
   5843   esac
   5844     for ac_exec_ext in '' $ac_executable_extensions; do
   5845   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5846     ac_cv_prog_ac_ct_FILECMD="file"
   5847     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5848     break 2
   5849   fi
   5850 done
   5851   done
   5852 IFS=$as_save_IFS
   5853 
   5854 fi
   5855 fi
   5856 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5857 if test -n "$ac_ct_FILECMD"; then
   5858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5859 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5860 else
   5861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5862 printf "%s\n" "no" >&6; }
   5863 fi
   5864 
   5865   if test "x$ac_ct_FILECMD" = x; then
   5866     FILECMD=":"
   5867   else
   5868     case $cross_compiling:$ac_tool_warned in
   5869 yes:)
   5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5871 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5872 ac_tool_warned=yes ;;
   5873 esac
   5874     FILECMD=$ac_ct_FILECMD
   5875   fi
   5876 else
   5877   FILECMD="$ac_cv_prog_FILECMD"
   5878 fi
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 if test -n "$ac_tool_prefix"; then
   5887   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5888 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5890 printf %s "checking for $ac_word... " >&6; }
   5891 if test ${ac_cv_prog_OBJDUMP+y}
   5892 then :
   5893   printf %s "(cached) " >&6
   5894 else $as_nop
   5895   if test -n "$OBJDUMP"; then
   5896   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5897 else
   5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5899 for as_dir in $PATH
   5900 do
   5901   IFS=$as_save_IFS
   5902   case $as_dir in #(((
   5903     '') as_dir=./ ;;
   5904     */) ;;
   5905     *) as_dir=$as_dir/ ;;
   5906   esac
   5907     for ac_exec_ext in '' $ac_executable_extensions; do
   5908   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5909     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5910     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5911     break 2
   5912   fi
   5913 done
   5914   done
   5915 IFS=$as_save_IFS
   5916 
   5917 fi
   5918 fi
   5919 OBJDUMP=$ac_cv_prog_OBJDUMP
   5920 if test -n "$OBJDUMP"; then
   5921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5922 printf "%s\n" "$OBJDUMP" >&6; }
   5923 else
   5924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5925 printf "%s\n" "no" >&6; }
   5926 fi
   5927 
   5928 
   5929 fi
   5930 if test -z "$ac_cv_prog_OBJDUMP"; then
   5931   ac_ct_OBJDUMP=$OBJDUMP
   5932   # Extract the first word of "objdump", so it can be a program name with args.
   5933 set dummy objdump; ac_word=$2
   5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5935 printf %s "checking for $ac_word... " >&6; }
   5936 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5937 then :
   5938   printf %s "(cached) " >&6
   5939 else $as_nop
   5940   if test -n "$ac_ct_OBJDUMP"; then
   5941   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5942 else
   5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5944 for as_dir in $PATH
   5945 do
   5946   IFS=$as_save_IFS
   5947   case $as_dir in #(((
   5948     '') as_dir=./ ;;
   5949     */) ;;
   5950     *) as_dir=$as_dir/ ;;
   5951   esac
   5952     for ac_exec_ext in '' $ac_executable_extensions; do
   5953   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5954     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5955     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5956     break 2
   5957   fi
   5958 done
   5959   done
   5960 IFS=$as_save_IFS
   5961 
   5962 fi
   5963 fi
   5964 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5965 if test -n "$ac_ct_OBJDUMP"; then
   5966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5967 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5968 else
   5969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5970 printf "%s\n" "no" >&6; }
   5971 fi
   5972 
   5973   if test "x$ac_ct_OBJDUMP" = x; then
   5974     OBJDUMP="false"
   5975   else
   5976     case $cross_compiling:$ac_tool_warned in
   5977 yes:)
   5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5980 ac_tool_warned=yes ;;
   5981 esac
   5982     OBJDUMP=$ac_ct_OBJDUMP
   5983   fi
   5984 else
   5985   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5986 fi
   5987 
   5988 test -z "$OBJDUMP" && OBJDUMP=objdump
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5999 printf %s "checking how to recognize dependent libraries... " >&6; }
   6000 if test ${lt_cv_deplibs_check_method+y}
   6001 then :
   6002   printf %s "(cached) " >&6
   6003 else $as_nop
   6004   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6005 lt_cv_file_magic_test_file=
   6006 lt_cv_deplibs_check_method='unknown'
   6007 # Need to set the preceding variable on all platforms that support
   6008 # interlibrary dependencies.
   6009 # 'none' -- dependencies not supported.
   6010 # 'unknown' -- same as none, but documents that we really don't know.
   6011 # 'pass_all' -- all dependencies passed with no checks.
   6012 # 'test_compile' -- check by making test program.
   6013 # 'file_magic [[regex]]' -- check by looking for files in library path
   6014 # that responds to the $file_magic_cmd with a given extended regex.
   6015 # If you have 'file' or equivalent on your system and you're not sure
   6016 # whether 'pass_all' will *always* work, you probably want this one.
   6017 
   6018 case $host_os in
   6019 aix[4-9]*)
   6020   lt_cv_deplibs_check_method=pass_all
   6021   ;;
   6022 
   6023 beos*)
   6024   lt_cv_deplibs_check_method=pass_all
   6025   ;;
   6026 
   6027 bsdi[45]*)
   6028   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6029   lt_cv_file_magic_cmd='$FILECMD -L'
   6030   lt_cv_file_magic_test_file=/shlib/libc.so
   6031   ;;
   6032 
   6033 cygwin*)
   6034   # func_win32_libid is a shell function defined in ltmain.sh
   6035   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6036   lt_cv_file_magic_cmd='func_win32_libid'
   6037   ;;
   6038 
   6039 mingw* | pw32*)
   6040   # Base MSYS/MinGW do not provide the 'file' command needed by
   6041   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6042   # unless we find 'file', for example because we are cross-compiling.
   6043   if ( file / ) >/dev/null 2>&1; then
   6044     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6045     lt_cv_file_magic_cmd='func_win32_libid'
   6046   else
   6047     # Keep this pattern in sync with the one in func_win32_libid.
   6048     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6049     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6050   fi
   6051   ;;
   6052 
   6053 cegcc*)
   6054   # use the weaker test based on 'objdump'. See mingw*.
   6055   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6056   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6057   ;;
   6058 
   6059 darwin* | rhapsody*)
   6060   lt_cv_deplibs_check_method=pass_all
   6061   ;;
   6062 
   6063 freebsd* | dragonfly* | midnightbsd*)
   6064   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6065     case $host_cpu in
   6066     i*86 )
   6067       # Not sure whether the presence of OpenBSD here was a mistake.
   6068       # Let's accept both of them until this is cleared up.
   6069       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6070       lt_cv_file_magic_cmd=$FILECMD
   6071       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6072       ;;
   6073     esac
   6074   else
   6075     lt_cv_deplibs_check_method=pass_all
   6076   fi
   6077   ;;
   6078 
   6079 haiku*)
   6080   lt_cv_deplibs_check_method=pass_all
   6081   ;;
   6082 
   6083 hpux10.20* | hpux11*)
   6084   lt_cv_file_magic_cmd=$FILECMD
   6085   case $host_cpu in
   6086   ia64*)
   6087     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6088     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6089     ;;
   6090   hppa*64*)
   6091     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]'
   6092     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6093     ;;
   6094   *)
   6095     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6096     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6097     ;;
   6098   esac
   6099   ;;
   6100 
   6101 interix[3-9]*)
   6102   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6103   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6104   ;;
   6105 
   6106 irix5* | irix6* | nonstopux*)
   6107   case $LD in
   6108   *-32|*"-32 ") libmagic=32-bit;;
   6109   *-n32|*"-n32 ") libmagic=N32;;
   6110   *-64|*"-64 ") libmagic=64-bit;;
   6111   *) libmagic=never-match;;
   6112   esac
   6113   lt_cv_deplibs_check_method=pass_all
   6114   ;;
   6115 
   6116 # This must be glibc/ELF.
   6117 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6118   lt_cv_deplibs_check_method=pass_all
   6119   ;;
   6120 
   6121 netbsd*)
   6122   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6123     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6124   else
   6125     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6126   fi
   6127   ;;
   6128 
   6129 newos6*)
   6130   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6131   lt_cv_file_magic_cmd=$FILECMD
   6132   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6133   ;;
   6134 
   6135 *nto* | *qnx*)
   6136   lt_cv_deplibs_check_method=pass_all
   6137   ;;
   6138 
   6139 openbsd* | bitrig*)
   6140   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6141     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6142   else
   6143     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6144   fi
   6145   ;;
   6146 
   6147 osf3* | osf4* | osf5*)
   6148   lt_cv_deplibs_check_method=pass_all
   6149   ;;
   6150 
   6151 rdos*)
   6152   lt_cv_deplibs_check_method=pass_all
   6153   ;;
   6154 
   6155 solaris*)
   6156   lt_cv_deplibs_check_method=pass_all
   6157   ;;
   6158 
   6159 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6160   lt_cv_deplibs_check_method=pass_all
   6161   ;;
   6162 
   6163 sysv4 | sysv4.3*)
   6164   case $host_vendor in
   6165   motorola)
   6166     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]'
   6167     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6168     ;;
   6169   ncr)
   6170     lt_cv_deplibs_check_method=pass_all
   6171     ;;
   6172   sequent)
   6173     lt_cv_file_magic_cmd='/bin/file'
   6174     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6175     ;;
   6176   sni)
   6177     lt_cv_file_magic_cmd='/bin/file'
   6178     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6179     lt_cv_file_magic_test_file=/lib/libc.so
   6180     ;;
   6181   siemens)
   6182     lt_cv_deplibs_check_method=pass_all
   6183     ;;
   6184   pc)
   6185     lt_cv_deplibs_check_method=pass_all
   6186     ;;
   6187   esac
   6188   ;;
   6189 
   6190 tpf*)
   6191   lt_cv_deplibs_check_method=pass_all
   6192   ;;
   6193 os2*)
   6194   lt_cv_deplibs_check_method=pass_all
   6195   ;;
   6196 esac
   6197 
   6198 fi
   6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6200 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6201 
   6202 file_magic_glob=
   6203 want_nocaseglob=no
   6204 if test "$build" = "$host"; then
   6205   case $host_os in
   6206   mingw* | pw32*)
   6207     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6208       want_nocaseglob=yes
   6209     else
   6210       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6211     fi
   6212     ;;
   6213   esac
   6214 fi
   6215 
   6216 file_magic_cmd=$lt_cv_file_magic_cmd
   6217 deplibs_check_method=$lt_cv_deplibs_check_method
   6218 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 if test -n "$ac_tool_prefix"; then
   6242   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6243 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6245 printf %s "checking for $ac_word... " >&6; }
   6246 if test ${ac_cv_prog_DLLTOOL+y}
   6247 then :
   6248   printf %s "(cached) " >&6
   6249 else $as_nop
   6250   if test -n "$DLLTOOL"; then
   6251   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6252 else
   6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6254 for as_dir in $PATH
   6255 do
   6256   IFS=$as_save_IFS
   6257   case $as_dir in #(((
   6258     '') as_dir=./ ;;
   6259     */) ;;
   6260     *) as_dir=$as_dir/ ;;
   6261   esac
   6262     for ac_exec_ext in '' $ac_executable_extensions; do
   6263   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6264     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6265     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6266     break 2
   6267   fi
   6268 done
   6269   done
   6270 IFS=$as_save_IFS
   6271 
   6272 fi
   6273 fi
   6274 DLLTOOL=$ac_cv_prog_DLLTOOL
   6275 if test -n "$DLLTOOL"; then
   6276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6277 printf "%s\n" "$DLLTOOL" >&6; }
   6278 else
   6279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6280 printf "%s\n" "no" >&6; }
   6281 fi
   6282 
   6283 
   6284 fi
   6285 if test -z "$ac_cv_prog_DLLTOOL"; then
   6286   ac_ct_DLLTOOL=$DLLTOOL
   6287   # Extract the first word of "dlltool", so it can be a program name with args.
   6288 set dummy dlltool; ac_word=$2
   6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6290 printf %s "checking for $ac_word... " >&6; }
   6291 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6292 then :
   6293   printf %s "(cached) " >&6
   6294 else $as_nop
   6295   if test -n "$ac_ct_DLLTOOL"; then
   6296   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6297 else
   6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6299 for as_dir in $PATH
   6300 do
   6301   IFS=$as_save_IFS
   6302   case $as_dir in #(((
   6303     '') as_dir=./ ;;
   6304     */) ;;
   6305     *) as_dir=$as_dir/ ;;
   6306   esac
   6307     for ac_exec_ext in '' $ac_executable_extensions; do
   6308   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6309     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6310     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6311     break 2
   6312   fi
   6313 done
   6314   done
   6315 IFS=$as_save_IFS
   6316 
   6317 fi
   6318 fi
   6319 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6320 if test -n "$ac_ct_DLLTOOL"; then
   6321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6322 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6323 else
   6324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6325 printf "%s\n" "no" >&6; }
   6326 fi
   6327 
   6328   if test "x$ac_ct_DLLTOOL" = x; then
   6329     DLLTOOL="false"
   6330   else
   6331     case $cross_compiling:$ac_tool_warned in
   6332 yes:)
   6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6334 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6335 ac_tool_warned=yes ;;
   6336 esac
   6337     DLLTOOL=$ac_ct_DLLTOOL
   6338   fi
   6339 else
   6340   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6341 fi
   6342 
   6343 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6355 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6356 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6357 then :
   6358   printf %s "(cached) " >&6
   6359 else $as_nop
   6360   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6361 
   6362 case $host_os in
   6363 cygwin* | mingw* | pw32* | cegcc*)
   6364   # two different shell functions defined in ltmain.sh;
   6365   # decide which one to use based on capabilities of $DLLTOOL
   6366   case `$DLLTOOL --help 2>&1` in
   6367   *--identify-strict*)
   6368     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6369     ;;
   6370   *)
   6371     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6372     ;;
   6373   esac
   6374   ;;
   6375 *)
   6376   # fallback: assume linklib IS sharedlib
   6377   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6378   ;;
   6379 esac
   6380 
   6381 fi
   6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6383 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6384 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6385 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 if test -n "$ac_tool_prefix"; then
   6395   for ac_prog in ar
   6396   do
   6397     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6400 printf %s "checking for $ac_word... " >&6; }
   6401 if test ${ac_cv_prog_AR+y}
   6402 then :
   6403   printf %s "(cached) " >&6
   6404 else $as_nop
   6405   if test -n "$AR"; then
   6406   ac_cv_prog_AR="$AR" # Let the user override the test.
   6407 else
   6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6409 for as_dir in $PATH
   6410 do
   6411   IFS=$as_save_IFS
   6412   case $as_dir in #(((
   6413     '') as_dir=./ ;;
   6414     */) ;;
   6415     *) as_dir=$as_dir/ ;;
   6416   esac
   6417     for ac_exec_ext in '' $ac_executable_extensions; do
   6418   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6419     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6420     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6421     break 2
   6422   fi
   6423 done
   6424   done
   6425 IFS=$as_save_IFS
   6426 
   6427 fi
   6428 fi
   6429 AR=$ac_cv_prog_AR
   6430 if test -n "$AR"; then
   6431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6432 printf "%s\n" "$AR" >&6; }
   6433 else
   6434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6435 printf "%s\n" "no" >&6; }
   6436 fi
   6437 
   6438 
   6439     test -n "$AR" && break
   6440   done
   6441 fi
   6442 if test -z "$AR"; then
   6443   ac_ct_AR=$AR
   6444   for ac_prog in ar
   6445 do
   6446   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6447 set dummy $ac_prog; ac_word=$2
   6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6449 printf %s "checking for $ac_word... " >&6; }
   6450 if test ${ac_cv_prog_ac_ct_AR+y}
   6451 then :
   6452   printf %s "(cached) " >&6
   6453 else $as_nop
   6454   if test -n "$ac_ct_AR"; then
   6455   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6456 else
   6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6458 for as_dir in $PATH
   6459 do
   6460   IFS=$as_save_IFS
   6461   case $as_dir in #(((
   6462     '') as_dir=./ ;;
   6463     */) ;;
   6464     *) as_dir=$as_dir/ ;;
   6465   esac
   6466     for ac_exec_ext in '' $ac_executable_extensions; do
   6467   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6468     ac_cv_prog_ac_ct_AR="$ac_prog"
   6469     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6470     break 2
   6471   fi
   6472 done
   6473   done
   6474 IFS=$as_save_IFS
   6475 
   6476 fi
   6477 fi
   6478 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6479 if test -n "$ac_ct_AR"; then
   6480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6481 printf "%s\n" "$ac_ct_AR" >&6; }
   6482 else
   6483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6484 printf "%s\n" "no" >&6; }
   6485 fi
   6486 
   6487 
   6488   test -n "$ac_ct_AR" && break
   6489 done
   6490 
   6491   if test "x$ac_ct_AR" = x; then
   6492     AR="false"
   6493   else
   6494     case $cross_compiling:$ac_tool_warned in
   6495 yes:)
   6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6497 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6498 ac_tool_warned=yes ;;
   6499 esac
   6500     AR=$ac_ct_AR
   6501   fi
   6502 fi
   6503 
   6504 : ${AR=ar}
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6512 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6513 # higher priority because thats what people were doing historically (setting
   6514 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6515 # variable obsoleted/removed.
   6516 
   6517 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6518 lt_ar_flags=$AR_FLAGS
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6526 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6534 printf %s "checking for archiver @FILE support... " >&6; }
   6535 if test ${lt_cv_ar_at_file+y}
   6536 then :
   6537   printf %s "(cached) " >&6
   6538 else $as_nop
   6539   lt_cv_ar_at_file=no
   6540    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6541 /* end confdefs.h.  */
   6542 
   6543 int
   6544 main (void)
   6545 {
   6546 
   6547   ;
   6548   return 0;
   6549 }
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"
   6552 then :
   6553   echo conftest.$ac_objext > conftest.lst
   6554       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6555       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6556   (eval $lt_ar_try) 2>&5
   6557   ac_status=$?
   6558   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6559   test $ac_status = 0; }
   6560       if test 0 -eq "$ac_status"; then
   6561 	# Ensure the archiver fails upon bogus file names.
   6562 	rm -f conftest.$ac_objext libconftest.a
   6563 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6564   (eval $lt_ar_try) 2>&5
   6565   ac_status=$?
   6566   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6567   test $ac_status = 0; }
   6568 	if test 0 -ne "$ac_status"; then
   6569           lt_cv_ar_at_file=@
   6570         fi
   6571       fi
   6572       rm -f conftest.* libconftest.a
   6573 
   6574 fi
   6575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6576 
   6577 fi
   6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6579 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6580 
   6581 if test no = "$lt_cv_ar_at_file"; then
   6582   archiver_list_spec=
   6583 else
   6584   archiver_list_spec=$lt_cv_ar_at_file
   6585 fi
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 if test -n "$ac_tool_prefix"; then
   6594   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6595 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6597 printf %s "checking for $ac_word... " >&6; }
   6598 if test ${ac_cv_prog_STRIP+y}
   6599 then :
   6600   printf %s "(cached) " >&6
   6601 else $as_nop
   6602   if test -n "$STRIP"; then
   6603   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6604 else
   6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6606 for as_dir in $PATH
   6607 do
   6608   IFS=$as_save_IFS
   6609   case $as_dir in #(((
   6610     '') as_dir=./ ;;
   6611     */) ;;
   6612     *) as_dir=$as_dir/ ;;
   6613   esac
   6614     for ac_exec_ext in '' $ac_executable_extensions; do
   6615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6616     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6618     break 2
   6619   fi
   6620 done
   6621   done
   6622 IFS=$as_save_IFS
   6623 
   6624 fi
   6625 fi
   6626 STRIP=$ac_cv_prog_STRIP
   6627 if test -n "$STRIP"; then
   6628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6629 printf "%s\n" "$STRIP" >&6; }
   6630 else
   6631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6632 printf "%s\n" "no" >&6; }
   6633 fi
   6634 
   6635 
   6636 fi
   6637 if test -z "$ac_cv_prog_STRIP"; then
   6638   ac_ct_STRIP=$STRIP
   6639   # Extract the first word of "strip", so it can be a program name with args.
   6640 set dummy strip; ac_word=$2
   6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6642 printf %s "checking for $ac_word... " >&6; }
   6643 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6644 then :
   6645   printf %s "(cached) " >&6
   6646 else $as_nop
   6647   if test -n "$ac_ct_STRIP"; then
   6648   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6649 else
   6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6651 for as_dir in $PATH
   6652 do
   6653   IFS=$as_save_IFS
   6654   case $as_dir in #(((
   6655     '') as_dir=./ ;;
   6656     */) ;;
   6657     *) as_dir=$as_dir/ ;;
   6658   esac
   6659     for ac_exec_ext in '' $ac_executable_extensions; do
   6660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6661     ac_cv_prog_ac_ct_STRIP="strip"
   6662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6663     break 2
   6664   fi
   6665 done
   6666   done
   6667 IFS=$as_save_IFS
   6668 
   6669 fi
   6670 fi
   6671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6672 if test -n "$ac_ct_STRIP"; then
   6673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6674 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6675 else
   6676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6677 printf "%s\n" "no" >&6; }
   6678 fi
   6679 
   6680   if test "x$ac_ct_STRIP" = x; then
   6681     STRIP=":"
   6682   else
   6683     case $cross_compiling:$ac_tool_warned in
   6684 yes:)
   6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6686 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6687 ac_tool_warned=yes ;;
   6688 esac
   6689     STRIP=$ac_ct_STRIP
   6690   fi
   6691 else
   6692   STRIP="$ac_cv_prog_STRIP"
   6693 fi
   6694 
   6695 test -z "$STRIP" && STRIP=:
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 if test -n "$ac_tool_prefix"; then
   6703   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6706 printf %s "checking for $ac_word... " >&6; }
   6707 if test ${ac_cv_prog_RANLIB+y}
   6708 then :
   6709   printf %s "(cached) " >&6
   6710 else $as_nop
   6711   if test -n "$RANLIB"; then
   6712   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6713 else
   6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6715 for as_dir in $PATH
   6716 do
   6717   IFS=$as_save_IFS
   6718   case $as_dir in #(((
   6719     '') as_dir=./ ;;
   6720     */) ;;
   6721     *) as_dir=$as_dir/ ;;
   6722   esac
   6723     for ac_exec_ext in '' $ac_executable_extensions; do
   6724   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6725     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6726     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6727     break 2
   6728   fi
   6729 done
   6730   done
   6731 IFS=$as_save_IFS
   6732 
   6733 fi
   6734 fi
   6735 RANLIB=$ac_cv_prog_RANLIB
   6736 if test -n "$RANLIB"; then
   6737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6738 printf "%s\n" "$RANLIB" >&6; }
   6739 else
   6740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6741 printf "%s\n" "no" >&6; }
   6742 fi
   6743 
   6744 
   6745 fi
   6746 if test -z "$ac_cv_prog_RANLIB"; then
   6747   ac_ct_RANLIB=$RANLIB
   6748   # Extract the first word of "ranlib", so it can be a program name with args.
   6749 set dummy ranlib; 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_ac_ct_RANLIB+y}
   6753 then :
   6754   printf %s "(cached) " >&6
   6755 else $as_nop
   6756   if test -n "$ac_ct_RANLIB"; then
   6757   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
   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 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6781 if test -n "$ac_ct_RANLIB"; then
   6782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6783 printf "%s\n" "$ac_ct_RANLIB" >&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   if test "x$ac_ct_RANLIB" = x; then
   6790     RANLIB=":"
   6791   else
   6792     case $cross_compiling:$ac_tool_warned in
   6793 yes:)
   6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6795 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6796 ac_tool_warned=yes ;;
   6797 esac
   6798     RANLIB=$ac_ct_RANLIB
   6799   fi
   6800 else
   6801   RANLIB="$ac_cv_prog_RANLIB"
   6802 fi
   6803 
   6804 test -z "$RANLIB" && RANLIB=:
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 # Determine commands to create old-style static archives.
   6812 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6813 old_postinstall_cmds='chmod 644 $oldlib'
   6814 old_postuninstall_cmds=
   6815 
   6816 if test -n "$RANLIB"; then
   6817   case $host_os in
   6818   bitrig* | openbsd*)
   6819     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6820     ;;
   6821   *)
   6822     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6823     ;;
   6824   esac
   6825   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6826 fi
   6827 
   6828 case $host_os in
   6829   darwin*)
   6830     lock_old_archive_extraction=yes ;;
   6831   *)
   6832     lock_old_archive_extraction=no ;;
   6833 esac
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 # If no C compiler was specified, use CC.
   6874 LTCC=${LTCC-"$CC"}
   6875 
   6876 # If no C compiler flags were specified, use CFLAGS.
   6877 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6878 
   6879 # Allow CC to be a program name with arguments.
   6880 compiler=$CC
   6881 
   6882 
   6883 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6885 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6886 if test ${lt_cv_sys_global_symbol_pipe+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else $as_nop
   6890 
   6891 # These are sane defaults that work on at least a few old systems.
   6892 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6893 
   6894 # Character class describing NM global symbol codes.
   6895 symcode='[BCDEGRST]'
   6896 
   6897 # Regexp to match symbols that can be accessed directly from C.
   6898 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6899 
   6900 # Define system-specific variables.
   6901 case $host_os in
   6902 aix*)
   6903   symcode='[BCDT]'
   6904   ;;
   6905 cygwin* | mingw* | pw32* | cegcc*)
   6906   symcode='[ABCDGISTW]'
   6907   ;;
   6908 hpux*)
   6909   if test ia64 = "$host_cpu"; then
   6910     symcode='[ABCDEGRST]'
   6911   fi
   6912   ;;
   6913 irix* | nonstopux*)
   6914   symcode='[BCDEGRST]'
   6915   ;;
   6916 osf*)
   6917   symcode='[BCDEGQRST]'
   6918   ;;
   6919 solaris*)
   6920   symcode='[BDRT]'
   6921   ;;
   6922 sco3.2v5*)
   6923   symcode='[DT]'
   6924   ;;
   6925 sysv4.2uw2*)
   6926   symcode='[DT]'
   6927   ;;
   6928 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6929   symcode='[ABDT]'
   6930   ;;
   6931 sysv4)
   6932   symcode='[DFNSTU]'
   6933   ;;
   6934 esac
   6935 
   6936 # If we're using GNU nm, then use its standard symbol codes.
   6937 case `$NM -V 2>&1` in
   6938 *GNU* | *'with BFD'*)
   6939   symcode='[ABCDGIRSTW]' ;;
   6940 esac
   6941 
   6942 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6943   # Gets list of data symbols to import.
   6944   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6945   # Adjust the below global symbol transforms to fixup imported variables.
   6946   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6947   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6948   lt_c_name_lib_hook="\
   6949   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6950   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6951 else
   6952   # Disable hooks by default.
   6953   lt_cv_sys_global_symbol_to_import=
   6954   lt_cdecl_hook=
   6955   lt_c_name_hook=
   6956   lt_c_name_lib_hook=
   6957 fi
   6958 
   6959 # Transform an extracted symbol line into a proper C declaration.
   6960 # Some systems (esp. on ia64) link data and code symbols differently,
   6961 # so use this general approach.
   6962 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6963 $lt_cdecl_hook\
   6964 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6965 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6966 
   6967 # Transform an extracted symbol line into symbol name and symbol address
   6968 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6969 $lt_c_name_hook\
   6970 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6971 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6972 
   6973 # Transform an extracted symbol line into symbol name with lib prefix and
   6974 # symbol address.
   6975 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6976 $lt_c_name_lib_hook\
   6977 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6978 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6979 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6980 
   6981 # Handle CRLF in mingw tool chain
   6982 opt_cr=
   6983 case $build_os in
   6984 mingw*)
   6985   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6986   ;;
   6987 esac
   6988 
   6989 # Try without a prefix underscore, then with it.
   6990 for ac_symprfx in "" "_"; do
   6991 
   6992   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6993   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6994 
   6995   # Write the raw and C identifiers.
   6996   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6997     # Fake it for dumpbin and say T for any non-static function,
   6998     # D for any global variable and I for any imported variable.
   6999     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7000     # which start with @ or ?.
   7001     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7002 "     {last_section=section; section=\$ 3};"\
   7003 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7004 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7005 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7006 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7007 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7008 "     \$ 0!~/External *\|/{next};"\
   7009 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7010 "     {if(hide[section]) next};"\
   7011 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7012 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7013 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7014 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7015 "     ' prfx=^$ac_symprfx"
   7016   else
   7017     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7018   fi
   7019   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7020 
   7021   # Check to see that the pipe works correctly.
   7022   pipe_works=no
   7023 
   7024   rm -f conftest*
   7025   cat > conftest.$ac_ext <<_LT_EOF
   7026 #ifdef __cplusplus
   7027 extern "C" {
   7028 #endif
   7029 char nm_test_var;
   7030 void nm_test_func(void);
   7031 void nm_test_func(void){}
   7032 #ifdef __cplusplus
   7033 }
   7034 #endif
   7035 int main(){nm_test_var='a';nm_test_func();return(0);}
   7036 _LT_EOF
   7037 
   7038   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7039   (eval $ac_compile) 2>&5
   7040   ac_status=$?
   7041   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7042   test $ac_status = 0; }; then
   7043     # Now try to grab the symbols.
   7044     nlist=conftest.nm
   7045     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7046   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7047   ac_status=$?
   7048   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7049   test $ac_status = 0; } && test -s "$nlist"; then
   7050       # Try sorting and uniquifying the output.
   7051       if sort "$nlist" | uniq > "$nlist"T; then
   7052 	mv -f "$nlist"T "$nlist"
   7053       else
   7054 	rm -f "$nlist"T
   7055       fi
   7056 
   7057       # Make sure that we snagged all the symbols we need.
   7058       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7059 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7060 	  cat <<_LT_EOF > conftest.$ac_ext
   7061 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7062 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7063 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7064    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7065 # define LT_DLSYM_CONST
   7066 #elif defined __osf__
   7067 /* This system does not cope well with relocations in const data.  */
   7068 # define LT_DLSYM_CONST
   7069 #else
   7070 # define LT_DLSYM_CONST const
   7071 #endif
   7072 
   7073 #ifdef __cplusplus
   7074 extern "C" {
   7075 #endif
   7076 
   7077 _LT_EOF
   7078 	  # Now generate the symbol file.
   7079 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7080 
   7081 	  cat <<_LT_EOF >> conftest.$ac_ext
   7082 
   7083 /* The mapping between symbol names and symbols.  */
   7084 LT_DLSYM_CONST struct {
   7085   const char *name;
   7086   void       *address;
   7087 }
   7088 lt__PROGRAM__LTX_preloaded_symbols[] =
   7089 {
   7090   { "@PROGRAM@", (void *) 0 },
   7091 _LT_EOF
   7092 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7093 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7094   {0, (void *) 0}
   7095 };
   7096 
   7097 /* This works around a problem in FreeBSD linker */
   7098 #ifdef FREEBSD_WORKAROUND
   7099 static const void *lt_preloaded_setup() {
   7100   return lt__PROGRAM__LTX_preloaded_symbols;
   7101 }
   7102 #endif
   7103 
   7104 #ifdef __cplusplus
   7105 }
   7106 #endif
   7107 _LT_EOF
   7108 	  # Now try linking the two files.
   7109 	  mv conftest.$ac_objext conftstm.$ac_objext
   7110 	  lt_globsym_save_LIBS=$LIBS
   7111 	  lt_globsym_save_CFLAGS=$CFLAGS
   7112 	  LIBS=conftstm.$ac_objext
   7113 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7114 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7115   (eval $ac_link) 2>&5
   7116   ac_status=$?
   7117   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7118   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7119 	    pipe_works=yes
   7120 	  fi
   7121 	  LIBS=$lt_globsym_save_LIBS
   7122 	  CFLAGS=$lt_globsym_save_CFLAGS
   7123 	else
   7124 	  echo "cannot find nm_test_func in $nlist" >&5
   7125 	fi
   7126       else
   7127 	echo "cannot find nm_test_var in $nlist" >&5
   7128       fi
   7129     else
   7130       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7131     fi
   7132   else
   7133     echo "$progname: failed program was:" >&5
   7134     cat conftest.$ac_ext >&5
   7135   fi
   7136   rm -rf conftest* conftst*
   7137 
   7138   # Do not use the global_symbol_pipe unless it works.
   7139   if test yes = "$pipe_works"; then
   7140     break
   7141   else
   7142     lt_cv_sys_global_symbol_pipe=
   7143   fi
   7144 done
   7145 
   7146 fi
   7147 
   7148 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7149   lt_cv_sys_global_symbol_to_cdecl=
   7150 fi
   7151 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7152   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7153 printf "%s\n" "failed" >&6; }
   7154 else
   7155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7156 printf "%s\n" "ok" >&6; }
   7157 fi
   7158 
   7159 # Response file support.
   7160 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7161   nm_file_list_spec='@'
   7162 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7163   nm_file_list_spec='@'
   7164 fi
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7203 printf %s "checking for sysroot... " >&6; }
   7204 
   7205 # Check whether --with-sysroot was given.
   7206 if test ${with_sysroot+y}
   7207 then :
   7208   withval=$with_sysroot;
   7209 else $as_nop
   7210   with_sysroot=no
   7211 fi
   7212 
   7213 
   7214 lt_sysroot=
   7215 case $with_sysroot in #(
   7216  yes)
   7217    if test yes = "$GCC"; then
   7218      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7219    fi
   7220    ;; #(
   7221  /*)
   7222    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7223    ;; #(
   7224  no|'')
   7225    ;; #(
   7226  *)
   7227    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7228 printf "%s\n" "$with_sysroot" >&6; }
   7229    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7230    ;;
   7231 esac
   7232 
   7233  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7234 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7241 printf %s "checking for a working dd... " >&6; }
   7242 if test ${ac_cv_path_lt_DD+y}
   7243 then :
   7244   printf %s "(cached) " >&6
   7245 else $as_nop
   7246   printf 0123456789abcdef0123456789abcdef >conftest.i
   7247 cat conftest.i conftest.i >conftest2.i
   7248 : ${lt_DD:=$DD}
   7249 if test -z "$lt_DD"; then
   7250   ac_path_lt_DD_found=false
   7251   # Loop through the user's path and test for each of PROGNAME-LIST
   7252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7253 for as_dir in $PATH
   7254 do
   7255   IFS=$as_save_IFS
   7256   case $as_dir in #(((
   7257     '') as_dir=./ ;;
   7258     */) ;;
   7259     *) as_dir=$as_dir/ ;;
   7260   esac
   7261     for ac_prog in dd
   7262    do
   7263     for ac_exec_ext in '' $ac_executable_extensions; do
   7264       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7265       as_fn_executable_p "$ac_path_lt_DD" || continue
   7266 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7267   cmp -s conftest.i conftest.out \
   7268   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7269 fi
   7270       $ac_path_lt_DD_found && break 3
   7271     done
   7272   done
   7273   done
   7274 IFS=$as_save_IFS
   7275   if test -z "$ac_cv_path_lt_DD"; then
   7276     :
   7277   fi
   7278 else
   7279   ac_cv_path_lt_DD=$lt_DD
   7280 fi
   7281 
   7282 rm -f conftest.i conftest2.i conftest.out
   7283 fi
   7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7285 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7286 
   7287 
   7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7289 printf %s "checking how to truncate binary pipes... " >&6; }
   7290 if test ${lt_cv_truncate_bin+y}
   7291 then :
   7292   printf %s "(cached) " >&6
   7293 else $as_nop
   7294   printf 0123456789abcdef0123456789abcdef >conftest.i
   7295 cat conftest.i conftest.i >conftest2.i
   7296 lt_cv_truncate_bin=
   7297 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7298   cmp -s conftest.i conftest.out \
   7299   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7300 fi
   7301 rm -f conftest.i conftest2.i conftest.out
   7302 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7303 fi
   7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7305 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7314 func_cc_basename ()
   7315 {
   7316     for cc_temp in $*""; do
   7317       case $cc_temp in
   7318         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7319         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7320         \-*) ;;
   7321         *) break;;
   7322       esac
   7323     done
   7324     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7325 }
   7326 
   7327 # Check whether --enable-libtool-lock was given.
   7328 if test ${enable_libtool_lock+y}
   7329 then :
   7330   enableval=$enable_libtool_lock;
   7331 fi
   7332 
   7333 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7334 
   7335 # Some flags need to be propagated to the compiler or linker for good
   7336 # libtool support.
   7337 case $host in
   7338 ia64-*-hpux*)
   7339   # Find out what ABI is being produced by ac_compile, and set mode
   7340   # options accordingly.
   7341   echo 'int i;' > conftest.$ac_ext
   7342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7343   (eval $ac_compile) 2>&5
   7344   ac_status=$?
   7345   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7346   test $ac_status = 0; }; then
   7347     case `$FILECMD conftest.$ac_objext` in
   7348       *ELF-32*)
   7349 	HPUX_IA64_MODE=32
   7350 	;;
   7351       *ELF-64*)
   7352 	HPUX_IA64_MODE=64
   7353 	;;
   7354     esac
   7355   fi
   7356   rm -rf conftest*
   7357   ;;
   7358 *-*-irix6*)
   7359   # Find out what ABI is being produced by ac_compile, and set linker
   7360   # options accordingly.
   7361   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7362   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7363   (eval $ac_compile) 2>&5
   7364   ac_status=$?
   7365   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7366   test $ac_status = 0; }; then
   7367     if test yes = "$lt_cv_prog_gnu_ld"; then
   7368       case `$FILECMD conftest.$ac_objext` in
   7369 	*32-bit*)
   7370 	  LD="${LD-ld} -melf32bsmip"
   7371 	  ;;
   7372 	*N32*)
   7373 	  LD="${LD-ld} -melf32bmipn32"
   7374 	  ;;
   7375 	*64-bit*)
   7376 	  LD="${LD-ld} -melf64bmip"
   7377 	;;
   7378       esac
   7379     else
   7380       case `$FILECMD conftest.$ac_objext` in
   7381 	*32-bit*)
   7382 	  LD="${LD-ld} -32"
   7383 	  ;;
   7384 	*N32*)
   7385 	  LD="${LD-ld} -n32"
   7386 	  ;;
   7387 	*64-bit*)
   7388 	  LD="${LD-ld} -64"
   7389 	  ;;
   7390       esac
   7391     fi
   7392   fi
   7393   rm -rf conftest*
   7394   ;;
   7395 
   7396 mips64*-*linux*)
   7397   # Find out what ABI is being produced by ac_compile, and set linker
   7398   # options accordingly.
   7399   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7400   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7401   (eval $ac_compile) 2>&5
   7402   ac_status=$?
   7403   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7404   test $ac_status = 0; }; then
   7405     emul=elf
   7406     case `$FILECMD conftest.$ac_objext` in
   7407       *32-bit*)
   7408 	emul="${emul}32"
   7409 	;;
   7410       *64-bit*)
   7411 	emul="${emul}64"
   7412 	;;
   7413     esac
   7414     case `$FILECMD conftest.$ac_objext` in
   7415       *MSB*)
   7416 	emul="${emul}btsmip"
   7417 	;;
   7418       *LSB*)
   7419 	emul="${emul}ltsmip"
   7420 	;;
   7421     esac
   7422     case `$FILECMD conftest.$ac_objext` in
   7423       *N32*)
   7424 	emul="${emul}n32"
   7425 	;;
   7426     esac
   7427     LD="${LD-ld} -m $emul"
   7428   fi
   7429   rm -rf conftest*
   7430   ;;
   7431 
   7432 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7433 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7434   # Find out what ABI is being produced by ac_compile, and set linker
   7435   # options accordingly.  Note that the listed cases only cover the
   7436   # situations where additional linker options are needed (such as when
   7437   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7438   # vice versa); the common cases where no linker options are needed do
   7439   # not appear in the list.
   7440   echo 'int i;' > conftest.$ac_ext
   7441   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7442   (eval $ac_compile) 2>&5
   7443   ac_status=$?
   7444   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7445   test $ac_status = 0; }; then
   7446     case `$FILECMD conftest.o` in
   7447       *32-bit*)
   7448 	case $host in
   7449 	  x86_64-*kfreebsd*-gnu)
   7450 	    LD="${LD-ld} -m elf_i386_fbsd"
   7451 	    ;;
   7452 	  x86_64-*linux*)
   7453 	    case `$FILECMD conftest.o` in
   7454 	      *x86-64*)
   7455 		LD="${LD-ld} -m elf32_x86_64"
   7456 		;;
   7457 	      *)
   7458 		LD="${LD-ld} -m elf_i386"
   7459 		;;
   7460 	    esac
   7461 	    ;;
   7462 	  powerpc64le-*linux*)
   7463 	    LD="${LD-ld} -m elf32lppclinux"
   7464 	    ;;
   7465 	  powerpc64-*linux*)
   7466 	    LD="${LD-ld} -m elf32ppclinux"
   7467 	    ;;
   7468 	  s390x-*linux*)
   7469 	    LD="${LD-ld} -m elf_s390"
   7470 	    ;;
   7471 	  sparc64-*linux*)
   7472 	    LD="${LD-ld} -m elf32_sparc"
   7473 	    ;;
   7474 	esac
   7475 	;;
   7476       *64-bit*)
   7477 	case $host in
   7478 	  x86_64-*kfreebsd*-gnu)
   7479 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7480 	    ;;
   7481 	  x86_64-*linux*)
   7482 	    LD="${LD-ld} -m elf_x86_64"
   7483 	    ;;
   7484 	  powerpcle-*linux*)
   7485 	    LD="${LD-ld} -m elf64lppc"
   7486 	    ;;
   7487 	  powerpc-*linux*)
   7488 	    LD="${LD-ld} -m elf64ppc"
   7489 	    ;;
   7490 	  s390*-*linux*|s390*-*tpf*)
   7491 	    LD="${LD-ld} -m elf64_s390"
   7492 	    ;;
   7493 	  sparc*-*linux*)
   7494 	    LD="${LD-ld} -m elf64_sparc"
   7495 	    ;;
   7496 	esac
   7497 	;;
   7498     esac
   7499   fi
   7500   rm -rf conftest*
   7501   ;;
   7502 
   7503 *-*-sco3.2v5*)
   7504   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7505   SAVE_CFLAGS=$CFLAGS
   7506   CFLAGS="$CFLAGS -belf"
   7507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7508 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7509 if test ${lt_cv_cc_needs_belf+y}
   7510 then :
   7511   printf %s "(cached) " >&6
   7512 else $as_nop
   7513   ac_ext=c
   7514 ac_cpp='$CPP $CPPFLAGS'
   7515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7518 
   7519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7520 /* end confdefs.h.  */
   7521 
   7522 int
   7523 main (void)
   7524 {
   7525 
   7526   ;
   7527   return 0;
   7528 }
   7529 _ACEOF
   7530 if ac_fn_c_try_link "$LINENO"
   7531 then :
   7532   lt_cv_cc_needs_belf=yes
   7533 else $as_nop
   7534   lt_cv_cc_needs_belf=no
   7535 fi
   7536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7537     conftest$ac_exeext conftest.$ac_ext
   7538      ac_ext=c
   7539 ac_cpp='$CPP $CPPFLAGS'
   7540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7543 
   7544 fi
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7546 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7547   if test yes != "$lt_cv_cc_needs_belf"; then
   7548     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7549     CFLAGS=$SAVE_CFLAGS
   7550   fi
   7551   ;;
   7552 *-*solaris*)
   7553   # Find out what ABI is being produced by ac_compile, and set linker
   7554   # options accordingly.
   7555   echo 'int i;' > conftest.$ac_ext
   7556   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7557   (eval $ac_compile) 2>&5
   7558   ac_status=$?
   7559   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7560   test $ac_status = 0; }; then
   7561     case `$FILECMD conftest.o` in
   7562     *64-bit*)
   7563       case $lt_cv_prog_gnu_ld in
   7564       yes*)
   7565         case $host in
   7566         i?86-*-solaris*|x86_64-*-solaris*)
   7567           LD="${LD-ld} -m elf_x86_64"
   7568           ;;
   7569         sparc*-*-solaris*)
   7570           LD="${LD-ld} -m elf64_sparc"
   7571           ;;
   7572         esac
   7573         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7574         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7575           LD=${LD-ld}_sol2
   7576         fi
   7577         ;;
   7578       *)
   7579 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7580 	  LD="${LD-ld} -64"
   7581 	fi
   7582 	;;
   7583       esac
   7584       ;;
   7585     esac
   7586   fi
   7587   rm -rf conftest*
   7588   ;;
   7589 esac
   7590 
   7591 need_locks=$enable_libtool_lock
   7592 
   7593 if test -n "$ac_tool_prefix"; then
   7594   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7595 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7597 printf %s "checking for $ac_word... " >&6; }
   7598 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7599 then :
   7600   printf %s "(cached) " >&6
   7601 else $as_nop
   7602   if test -n "$MANIFEST_TOOL"; then
   7603   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7604 else
   7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7606 for as_dir in $PATH
   7607 do
   7608   IFS=$as_save_IFS
   7609   case $as_dir in #(((
   7610     '') as_dir=./ ;;
   7611     */) ;;
   7612     *) as_dir=$as_dir/ ;;
   7613   esac
   7614     for ac_exec_ext in '' $ac_executable_extensions; do
   7615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7616     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7618     break 2
   7619   fi
   7620 done
   7621   done
   7622 IFS=$as_save_IFS
   7623 
   7624 fi
   7625 fi
   7626 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7627 if test -n "$MANIFEST_TOOL"; then
   7628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7629 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7630 else
   7631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7632 printf "%s\n" "no" >&6; }
   7633 fi
   7634 
   7635 
   7636 fi
   7637 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7638   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7639   # Extract the first word of "mt", so it can be a program name with args.
   7640 set dummy mt; ac_word=$2
   7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7642 printf %s "checking for $ac_word... " >&6; }
   7643 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7644 then :
   7645   printf %s "(cached) " >&6
   7646 else $as_nop
   7647   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7648   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7649 else
   7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7651 for as_dir in $PATH
   7652 do
   7653   IFS=$as_save_IFS
   7654   case $as_dir in #(((
   7655     '') as_dir=./ ;;
   7656     */) ;;
   7657     *) as_dir=$as_dir/ ;;
   7658   esac
   7659     for ac_exec_ext in '' $ac_executable_extensions; do
   7660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7661     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7663     break 2
   7664   fi
   7665 done
   7666   done
   7667 IFS=$as_save_IFS
   7668 
   7669 fi
   7670 fi
   7671 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7672 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7674 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7675 else
   7676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7677 printf "%s\n" "no" >&6; }
   7678 fi
   7679 
   7680   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7681     MANIFEST_TOOL=":"
   7682   else
   7683     case $cross_compiling:$ac_tool_warned in
   7684 yes:)
   7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7686 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7687 ac_tool_warned=yes ;;
   7688 esac
   7689     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7690   fi
   7691 else
   7692   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7693 fi
   7694 
   7695 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7697 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7698 if test ${lt_cv_path_mainfest_tool+y}
   7699 then :
   7700   printf %s "(cached) " >&6
   7701 else $as_nop
   7702   lt_cv_path_mainfest_tool=no
   7703   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7704   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7705   cat conftest.err >&5
   7706   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7707     lt_cv_path_mainfest_tool=yes
   7708   fi
   7709   rm -f conftest*
   7710 fi
   7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7712 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7713 if test yes != "$lt_cv_path_mainfest_tool"; then
   7714   MANIFEST_TOOL=:
   7715 fi
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722   case $host_os in
   7723     rhapsody* | darwin*)
   7724     if test -n "$ac_tool_prefix"; then
   7725   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7726 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7728 printf %s "checking for $ac_word... " >&6; }
   7729 if test ${ac_cv_prog_DSYMUTIL+y}
   7730 then :
   7731   printf %s "(cached) " >&6
   7732 else $as_nop
   7733   if test -n "$DSYMUTIL"; then
   7734   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7735 else
   7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7737 for as_dir in $PATH
   7738 do
   7739   IFS=$as_save_IFS
   7740   case $as_dir in #(((
   7741     '') as_dir=./ ;;
   7742     */) ;;
   7743     *) as_dir=$as_dir/ ;;
   7744   esac
   7745     for ac_exec_ext in '' $ac_executable_extensions; do
   7746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7747     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7749     break 2
   7750   fi
   7751 done
   7752   done
   7753 IFS=$as_save_IFS
   7754 
   7755 fi
   7756 fi
   7757 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7758 if test -n "$DSYMUTIL"; then
   7759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7760 printf "%s\n" "$DSYMUTIL" >&6; }
   7761 else
   7762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7763 printf "%s\n" "no" >&6; }
   7764 fi
   7765 
   7766 
   7767 fi
   7768 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7769   ac_ct_DSYMUTIL=$DSYMUTIL
   7770   # Extract the first word of "dsymutil", so it can be a program name with args.
   7771 set dummy dsymutil; ac_word=$2
   7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7773 printf %s "checking for $ac_word... " >&6; }
   7774 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7775 then :
   7776   printf %s "(cached) " >&6
   7777 else $as_nop
   7778   if test -n "$ac_ct_DSYMUTIL"; then
   7779   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7780 else
   7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7782 for as_dir in $PATH
   7783 do
   7784   IFS=$as_save_IFS
   7785   case $as_dir in #(((
   7786     '') as_dir=./ ;;
   7787     */) ;;
   7788     *) as_dir=$as_dir/ ;;
   7789   esac
   7790     for ac_exec_ext in '' $ac_executable_extensions; do
   7791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7792     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7794     break 2
   7795   fi
   7796 done
   7797   done
   7798 IFS=$as_save_IFS
   7799 
   7800 fi
   7801 fi
   7802 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7803 if test -n "$ac_ct_DSYMUTIL"; then
   7804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7805 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7806 else
   7807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7808 printf "%s\n" "no" >&6; }
   7809 fi
   7810 
   7811   if test "x$ac_ct_DSYMUTIL" = x; then
   7812     DSYMUTIL=":"
   7813   else
   7814     case $cross_compiling:$ac_tool_warned in
   7815 yes:)
   7816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7817 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7818 ac_tool_warned=yes ;;
   7819 esac
   7820     DSYMUTIL=$ac_ct_DSYMUTIL
   7821   fi
   7822 else
   7823   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7824 fi
   7825 
   7826     if test -n "$ac_tool_prefix"; then
   7827   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7828 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7830 printf %s "checking for $ac_word... " >&6; }
   7831 if test ${ac_cv_prog_NMEDIT+y}
   7832 then :
   7833   printf %s "(cached) " >&6
   7834 else $as_nop
   7835   if test -n "$NMEDIT"; then
   7836   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7837 else
   7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7839 for as_dir in $PATH
   7840 do
   7841   IFS=$as_save_IFS
   7842   case $as_dir in #(((
   7843     '') as_dir=./ ;;
   7844     */) ;;
   7845     *) as_dir=$as_dir/ ;;
   7846   esac
   7847     for ac_exec_ext in '' $ac_executable_extensions; do
   7848   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7849     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7850     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7851     break 2
   7852   fi
   7853 done
   7854   done
   7855 IFS=$as_save_IFS
   7856 
   7857 fi
   7858 fi
   7859 NMEDIT=$ac_cv_prog_NMEDIT
   7860 if test -n "$NMEDIT"; then
   7861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7862 printf "%s\n" "$NMEDIT" >&6; }
   7863 else
   7864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7865 printf "%s\n" "no" >&6; }
   7866 fi
   7867 
   7868 
   7869 fi
   7870 if test -z "$ac_cv_prog_NMEDIT"; then
   7871   ac_ct_NMEDIT=$NMEDIT
   7872   # Extract the first word of "nmedit", so it can be a program name with args.
   7873 set dummy nmedit; ac_word=$2
   7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7875 printf %s "checking for $ac_word... " >&6; }
   7876 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7877 then :
   7878   printf %s "(cached) " >&6
   7879 else $as_nop
   7880   if test -n "$ac_ct_NMEDIT"; then
   7881   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7882 else
   7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7884 for as_dir in $PATH
   7885 do
   7886   IFS=$as_save_IFS
   7887   case $as_dir in #(((
   7888     '') as_dir=./ ;;
   7889     */) ;;
   7890     *) as_dir=$as_dir/ ;;
   7891   esac
   7892     for ac_exec_ext in '' $ac_executable_extensions; do
   7893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7894     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7896     break 2
   7897   fi
   7898 done
   7899   done
   7900 IFS=$as_save_IFS
   7901 
   7902 fi
   7903 fi
   7904 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7905 if test -n "$ac_ct_NMEDIT"; then
   7906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7907 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7908 else
   7909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7910 printf "%s\n" "no" >&6; }
   7911 fi
   7912 
   7913   if test "x$ac_ct_NMEDIT" = x; then
   7914     NMEDIT=":"
   7915   else
   7916     case $cross_compiling:$ac_tool_warned in
   7917 yes:)
   7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7919 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7920 ac_tool_warned=yes ;;
   7921 esac
   7922     NMEDIT=$ac_ct_NMEDIT
   7923   fi
   7924 else
   7925   NMEDIT="$ac_cv_prog_NMEDIT"
   7926 fi
   7927 
   7928     if test -n "$ac_tool_prefix"; then
   7929   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7930 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7932 printf %s "checking for $ac_word... " >&6; }
   7933 if test ${ac_cv_prog_LIPO+y}
   7934 then :
   7935   printf %s "(cached) " >&6
   7936 else $as_nop
   7937   if test -n "$LIPO"; then
   7938   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7939 else
   7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7941 for as_dir in $PATH
   7942 do
   7943   IFS=$as_save_IFS
   7944   case $as_dir in #(((
   7945     '') as_dir=./ ;;
   7946     */) ;;
   7947     *) as_dir=$as_dir/ ;;
   7948   esac
   7949     for ac_exec_ext in '' $ac_executable_extensions; do
   7950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7951     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7952     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7953     break 2
   7954   fi
   7955 done
   7956   done
   7957 IFS=$as_save_IFS
   7958 
   7959 fi
   7960 fi
   7961 LIPO=$ac_cv_prog_LIPO
   7962 if test -n "$LIPO"; then
   7963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7964 printf "%s\n" "$LIPO" >&6; }
   7965 else
   7966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7967 printf "%s\n" "no" >&6; }
   7968 fi
   7969 
   7970 
   7971 fi
   7972 if test -z "$ac_cv_prog_LIPO"; then
   7973   ac_ct_LIPO=$LIPO
   7974   # Extract the first word of "lipo", so it can be a program name with args.
   7975 set dummy lipo; ac_word=$2
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7977 printf %s "checking for $ac_word... " >&6; }
   7978 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7979 then :
   7980   printf %s "(cached) " >&6
   7981 else $as_nop
   7982   if test -n "$ac_ct_LIPO"; then
   7983   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7984 else
   7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7986 for as_dir in $PATH
   7987 do
   7988   IFS=$as_save_IFS
   7989   case $as_dir in #(((
   7990     '') as_dir=./ ;;
   7991     */) ;;
   7992     *) as_dir=$as_dir/ ;;
   7993   esac
   7994     for ac_exec_ext in '' $ac_executable_extensions; do
   7995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7996     ac_cv_prog_ac_ct_LIPO="lipo"
   7997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7998     break 2
   7999   fi
   8000 done
   8001   done
   8002 IFS=$as_save_IFS
   8003 
   8004 fi
   8005 fi
   8006 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8007 if test -n "$ac_ct_LIPO"; then
   8008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8009 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8010 else
   8011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8012 printf "%s\n" "no" >&6; }
   8013 fi
   8014 
   8015   if test "x$ac_ct_LIPO" = x; then
   8016     LIPO=":"
   8017   else
   8018     case $cross_compiling:$ac_tool_warned in
   8019 yes:)
   8020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8022 ac_tool_warned=yes ;;
   8023 esac
   8024     LIPO=$ac_ct_LIPO
   8025   fi
   8026 else
   8027   LIPO="$ac_cv_prog_LIPO"
   8028 fi
   8029 
   8030     if test -n "$ac_tool_prefix"; then
   8031   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8032 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8034 printf %s "checking for $ac_word... " >&6; }
   8035 if test ${ac_cv_prog_OTOOL+y}
   8036 then :
   8037   printf %s "(cached) " >&6
   8038 else $as_nop
   8039   if test -n "$OTOOL"; then
   8040   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8041 else
   8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8043 for as_dir in $PATH
   8044 do
   8045   IFS=$as_save_IFS
   8046   case $as_dir in #(((
   8047     '') as_dir=./ ;;
   8048     */) ;;
   8049     *) as_dir=$as_dir/ ;;
   8050   esac
   8051     for ac_exec_ext in '' $ac_executable_extensions; do
   8052   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8053     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8054     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8055     break 2
   8056   fi
   8057 done
   8058   done
   8059 IFS=$as_save_IFS
   8060 
   8061 fi
   8062 fi
   8063 OTOOL=$ac_cv_prog_OTOOL
   8064 if test -n "$OTOOL"; then
   8065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8066 printf "%s\n" "$OTOOL" >&6; }
   8067 else
   8068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8069 printf "%s\n" "no" >&6; }
   8070 fi
   8071 
   8072 
   8073 fi
   8074 if test -z "$ac_cv_prog_OTOOL"; then
   8075   ac_ct_OTOOL=$OTOOL
   8076   # Extract the first word of "otool", so it can be a program name with args.
   8077 set dummy otool; 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_ac_ct_OTOOL+y}
   8081 then :
   8082   printf %s "(cached) " >&6
   8083 else $as_nop
   8084   if test -n "$ac_ct_OTOOL"; then
   8085   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
   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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8109 if test -n "$ac_ct_OTOOL"; then
   8110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8111 printf "%s\n" "$ac_ct_OTOOL" >&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   if test "x$ac_ct_OTOOL" = x; then
   8118     OTOOL=":"
   8119   else
   8120     case $cross_compiling:$ac_tool_warned in
   8121 yes:)
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8123 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8124 ac_tool_warned=yes ;;
   8125 esac
   8126     OTOOL=$ac_ct_OTOOL
   8127   fi
   8128 else
   8129   OTOOL="$ac_cv_prog_OTOOL"
   8130 fi
   8131 
   8132     if test -n "$ac_tool_prefix"; then
   8133   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8134 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8136 printf %s "checking for $ac_word... " >&6; }
   8137 if test ${ac_cv_prog_OTOOL64+y}
   8138 then :
   8139   printf %s "(cached) " >&6
   8140 else $as_nop
   8141   if test -n "$OTOOL64"; then
   8142   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8143 else
   8144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8145 for as_dir in $PATH
   8146 do
   8147   IFS=$as_save_IFS
   8148   case $as_dir in #(((
   8149     '') as_dir=./ ;;
   8150     */) ;;
   8151     *) as_dir=$as_dir/ ;;
   8152   esac
   8153     for ac_exec_ext in '' $ac_executable_extensions; do
   8154   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8155     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8156     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8157     break 2
   8158   fi
   8159 done
   8160   done
   8161 IFS=$as_save_IFS
   8162 
   8163 fi
   8164 fi
   8165 OTOOL64=$ac_cv_prog_OTOOL64
   8166 if test -n "$OTOOL64"; then
   8167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8168 printf "%s\n" "$OTOOL64" >&6; }
   8169 else
   8170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8171 printf "%s\n" "no" >&6; }
   8172 fi
   8173 
   8174 
   8175 fi
   8176 if test -z "$ac_cv_prog_OTOOL64"; then
   8177   ac_ct_OTOOL64=$OTOOL64
   8178   # Extract the first word of "otool64", so it can be a program name with args.
   8179 set dummy otool64; 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_ac_ct_OTOOL64+y}
   8183 then :
   8184   printf %s "(cached) " >&6
   8185 else $as_nop
   8186   if test -n "$ac_ct_OTOOL64"; then
   8187   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64"
   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 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8211 if test -n "$ac_ct_OTOOL64"; then
   8212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8213 printf "%s\n" "$ac_ct_OTOOL64" >&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   if test "x$ac_ct_OTOOL64" = x; then
   8220     OTOOL64=":"
   8221   else
   8222     case $cross_compiling:$ac_tool_warned in
   8223 yes:)
   8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8226 ac_tool_warned=yes ;;
   8227 esac
   8228     OTOOL64=$ac_ct_OTOOL64
   8229   fi
   8230 else
   8231   OTOOL64="$ac_cv_prog_OTOOL64"
   8232 fi
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8261 printf %s "checking for -single_module linker flag... " >&6; }
   8262 if test ${lt_cv_apple_cc_single_mod+y}
   8263 then :
   8264   printf %s "(cached) " >&6
   8265 else $as_nop
   8266   lt_cv_apple_cc_single_mod=no
   8267       if test -z "$LT_MULTI_MODULE"; then
   8268 	# By default we will add the -single_module flag. You can override
   8269 	# by either setting the environment variable LT_MULTI_MODULE
   8270 	# non-empty at configure time, or by adding -multi_module to the
   8271 	# link flags.
   8272 	rm -rf libconftest.dylib*
   8273 	echo "int foo(void){return 1;}" > conftest.c
   8274 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8275 -dynamiclib -Wl,-single_module conftest.c" >&5
   8276 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8277 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8278         _lt_result=$?
   8279 	# If there is a non-empty error log, and "single_module"
   8280 	# appears in it, assume the flag caused a linker warning
   8281         if test -s conftest.err && $GREP single_module conftest.err; then
   8282 	  cat conftest.err >&5
   8283 	# Otherwise, if the output was created with a 0 exit code from
   8284 	# the compiler, it worked.
   8285 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8286 	  lt_cv_apple_cc_single_mod=yes
   8287 	else
   8288 	  cat conftest.err >&5
   8289 	fi
   8290 	rm -rf libconftest.dylib*
   8291 	rm -f conftest.*
   8292       fi
   8293 fi
   8294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8295 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8296 
   8297     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8298 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8299 if test ${lt_cv_ld_exported_symbols_list+y}
   8300 then :
   8301   printf %s "(cached) " >&6
   8302 else $as_nop
   8303   lt_cv_ld_exported_symbols_list=no
   8304       save_LDFLAGS=$LDFLAGS
   8305       echo "_main" > conftest.sym
   8306       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 
   8310 int
   8311 main (void)
   8312 {
   8313 
   8314   ;
   8315   return 0;
   8316 }
   8317 _ACEOF
   8318 if ac_fn_c_try_link "$LINENO"
   8319 then :
   8320   lt_cv_ld_exported_symbols_list=yes
   8321 else $as_nop
   8322   lt_cv_ld_exported_symbols_list=no
   8323 fi
   8324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8325     conftest$ac_exeext conftest.$ac_ext
   8326 	LDFLAGS=$save_LDFLAGS
   8327 
   8328 fi
   8329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8330 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8331 
   8332     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8333 printf %s "checking for -force_load linker flag... " >&6; }
   8334 if test ${lt_cv_ld_force_load+y}
   8335 then :
   8336   printf %s "(cached) " >&6
   8337 else $as_nop
   8338   lt_cv_ld_force_load=no
   8339       cat > conftest.c << _LT_EOF
   8340 int forced_loaded() { return 2;}
   8341 _LT_EOF
   8342       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8343       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8344       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8345       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8346       echo "$RANLIB libconftest.a" >&5
   8347       $RANLIB libconftest.a 2>&5
   8348       cat > conftest.c << _LT_EOF
   8349 int main() { return 0;}
   8350 _LT_EOF
   8351       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8352       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8353       _lt_result=$?
   8354       if test -s conftest.err && $GREP force_load conftest.err; then
   8355 	cat conftest.err >&5
   8356       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8357 	lt_cv_ld_force_load=yes
   8358       else
   8359 	cat conftest.err >&5
   8360       fi
   8361         rm -f conftest.err libconftest.a conftest conftest.c
   8362         rm -rf conftest.dSYM
   8363 
   8364 fi
   8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8366 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8367     case $host_os in
   8368     rhapsody* | darwin1.[012])
   8369       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8370     darwin1.*)
   8371       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8372     darwin*)
   8373       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8374         10.[012],*|,*powerpc*-darwin[5-8]*)
   8375           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8376         *)
   8377           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8378       esac
   8379     ;;
   8380   esac
   8381     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8382       _lt_dar_single_mod='$single_module'
   8383     fi
   8384     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8385       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8386     else
   8387       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8388     fi
   8389     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8390       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8391     else
   8392       _lt_dsymutil=
   8393     fi
   8394     ;;
   8395   esac
   8396 
   8397 # func_munge_path_list VARIABLE PATH
   8398 # -----------------------------------
   8399 # VARIABLE is name of variable containing _space_ separated list of
   8400 # directories to be munged by the contents of PATH, which is string
   8401 # having a format:
   8402 # "DIR[:DIR]:"
   8403 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8404 # ":DIR[:DIR]"
   8405 #       string "DIR[ DIR]" will be appended to VARIABLE
   8406 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8407 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8408 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8409 # "DIR[:DIR]"
   8410 #       VARIABLE will be replaced by "DIR[ DIR]"
   8411 func_munge_path_list ()
   8412 {
   8413     case x$2 in
   8414     x)
   8415         ;;
   8416     *:)
   8417         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8418         ;;
   8419     x:*)
   8420         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8421         ;;
   8422     *::*)
   8423         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8424         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8425         ;;
   8426     *)
   8427         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8428         ;;
   8429     esac
   8430 }
   8431 
   8432 ac_header= ac_cache=
   8433 for ac_item in $ac_header_c_list
   8434 do
   8435   if test $ac_cache; then
   8436     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8437     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8438       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8439     fi
   8440     ac_header= ac_cache=
   8441   elif test $ac_header; then
   8442     ac_cache=$ac_item
   8443   else
   8444     ac_header=$ac_item
   8445   fi
   8446 done
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8456 then :
   8457 
   8458 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8459 
   8460 fi
   8461 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8462 "
   8463 if test "x$ac_cv_header_dlfcn_h" = xyes
   8464 then :
   8465   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8466 
   8467 fi
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 # Set options
   8474 
   8475 
   8476 
   8477         enable_dlopen=no
   8478 
   8479 
   8480   enable_win32_dll=no
   8481 
   8482 
   8483             # Check whether --enable-shared was given.
   8484 if test ${enable_shared+y}
   8485 then :
   8486   enableval=$enable_shared; p=${PACKAGE-default}
   8487     case $enableval in
   8488     yes) enable_shared=yes ;;
   8489     no) enable_shared=no ;;
   8490     *)
   8491       enable_shared=no
   8492       # Look at the argument we got.  We use all the common list separators.
   8493       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8494       for pkg in $enableval; do
   8495 	IFS=$lt_save_ifs
   8496 	if test "X$pkg" = "X$p"; then
   8497 	  enable_shared=yes
   8498 	fi
   8499       done
   8500       IFS=$lt_save_ifs
   8501       ;;
   8502     esac
   8503 else $as_nop
   8504   enable_shared=yes
   8505 fi
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515   # Check whether --enable-static was given.
   8516 if test ${enable_static+y}
   8517 then :
   8518   enableval=$enable_static; p=${PACKAGE-default}
   8519     case $enableval in
   8520     yes) enable_static=yes ;;
   8521     no) enable_static=no ;;
   8522     *)
   8523      enable_static=no
   8524       # Look at the argument we got.  We use all the common list separators.
   8525       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8526       for pkg in $enableval; do
   8527 	IFS=$lt_save_ifs
   8528 	if test "X$pkg" = "X$p"; then
   8529 	  enable_static=yes
   8530 	fi
   8531       done
   8532       IFS=$lt_save_ifs
   8533       ;;
   8534     esac
   8535 else $as_nop
   8536   enable_static=yes
   8537 fi
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 # Check whether --with-pic was given.
   8549 if test ${with_pic+y}
   8550 then :
   8551   withval=$with_pic; lt_p=${PACKAGE-default}
   8552     case $withval in
   8553     yes|no) pic_mode=$withval ;;
   8554     *)
   8555       pic_mode=default
   8556       # Look at the argument we got.  We use all the common list separators.
   8557       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8558       for lt_pkg in $withval; do
   8559 	IFS=$lt_save_ifs
   8560 	if test "X$lt_pkg" = "X$lt_p"; then
   8561 	  pic_mode=yes
   8562 	fi
   8563       done
   8564       IFS=$lt_save_ifs
   8565       ;;
   8566     esac
   8567 else $as_nop
   8568   pic_mode=default
   8569 fi
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578   # Check whether --enable-fast-install was given.
   8579 if test ${enable_fast_install+y}
   8580 then :
   8581   enableval=$enable_fast_install; p=${PACKAGE-default}
   8582     case $enableval in
   8583     yes) enable_fast_install=yes ;;
   8584     no) enable_fast_install=no ;;
   8585     *)
   8586       enable_fast_install=no
   8587       # Look at the argument we got.  We use all the common list separators.
   8588       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8589       for pkg in $enableval; do
   8590 	IFS=$lt_save_ifs
   8591 	if test "X$pkg" = "X$p"; then
   8592 	  enable_fast_install=yes
   8593 	fi
   8594       done
   8595       IFS=$lt_save_ifs
   8596       ;;
   8597     esac
   8598 else $as_nop
   8599   enable_fast_install=yes
   8600 fi
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609   shared_archive_member_spec=
   8610 case $host,$enable_shared in
   8611 power*-*-aix[5-9]*,yes)
   8612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8613 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8614 
   8615 # Check whether --with-aix-soname was given.
   8616 if test ${with_aix_soname+y}
   8617 then :
   8618   withval=$with_aix_soname; case $withval in
   8619     aix|svr4|both)
   8620       ;;
   8621     *)
   8622       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8623       ;;
   8624     esac
   8625     lt_cv_with_aix_soname=$with_aix_soname
   8626 else $as_nop
   8627   if test ${lt_cv_with_aix_soname+y}
   8628 then :
   8629   printf %s "(cached) " >&6
   8630 else $as_nop
   8631   lt_cv_with_aix_soname=aix
   8632 fi
   8633 
   8634     with_aix_soname=$lt_cv_with_aix_soname
   8635 fi
   8636 
   8637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8638 printf "%s\n" "$with_aix_soname" >&6; }
   8639   if test aix != "$with_aix_soname"; then
   8640     # For the AIX way of multilib, we name the shared archive member
   8641     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8642     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8643     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8644     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8645     if test 64 = "${OBJECT_MODE-32}"; then
   8646       shared_archive_member_spec=shr_64
   8647     else
   8648       shared_archive_member_spec=shr
   8649     fi
   8650   fi
   8651   ;;
   8652 *)
   8653   with_aix_soname=aix
   8654   ;;
   8655 esac
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 # This can be used to rebuild libtool when needed
   8667 LIBTOOL_DEPS=$ltmain
   8668 
   8669 # Always use our own libtool.
   8670 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 test -z "$LN_S" && LN_S="ln -s"
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 if test -n "${ZSH_VERSION+set}"; then
   8717    setopt NO_GLOB_SUBST
   8718 fi
   8719 
   8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8721 printf %s "checking for objdir... " >&6; }
   8722 if test ${lt_cv_objdir+y}
   8723 then :
   8724   printf %s "(cached) " >&6
   8725 else $as_nop
   8726   rm -f .libs 2>/dev/null
   8727 mkdir .libs 2>/dev/null
   8728 if test -d .libs; then
   8729   lt_cv_objdir=.libs
   8730 else
   8731   # MS-DOS does not allow filenames that begin with a dot.
   8732   lt_cv_objdir=_libs
   8733 fi
   8734 rmdir .libs 2>/dev/null
   8735 fi
   8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8737 printf "%s\n" "$lt_cv_objdir" >&6; }
   8738 objdir=$lt_cv_objdir
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8745 
   8746 
   8747 
   8748 
   8749 case $host_os in
   8750 aix3*)
   8751   # AIX sometimes has problems with the GCC collect2 program.  For some
   8752   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8753   # vanish in a puff of smoke.
   8754   if test set != "${COLLECT_NAMES+set}"; then
   8755     COLLECT_NAMES=
   8756     export COLLECT_NAMES
   8757   fi
   8758   ;;
   8759 esac
   8760 
   8761 # Global variables:
   8762 ofile=libtool
   8763 can_build_shared=yes
   8764 
   8765 # All known linkers require a '.a' archive for static linking (except MSVC and
   8766 # ICC, which need '.lib').
   8767 libext=a
   8768 
   8769 with_gnu_ld=$lt_cv_prog_gnu_ld
   8770 
   8771 old_CC=$CC
   8772 old_CFLAGS=$CFLAGS
   8773 
   8774 # Set sane defaults for various variables
   8775 test -z "$CC" && CC=cc
   8776 test -z "$LTCC" && LTCC=$CC
   8777 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8778 test -z "$LD" && LD=ld
   8779 test -z "$ac_objext" && ac_objext=o
   8780 
   8781 func_cc_basename $compiler
   8782 cc_basename=$func_cc_basename_result
   8783 
   8784 
   8785 # Only perform the check for file, if the check method requires it
   8786 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8787 case $deplibs_check_method in
   8788 file_magic*)
   8789   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8790     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8791 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8792 if test ${lt_cv_path_MAGIC_CMD+y}
   8793 then :
   8794   printf %s "(cached) " >&6
   8795 else $as_nop
   8796   case $MAGIC_CMD in
   8797 [\\/*] |  ?:[\\/]*)
   8798   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8799   ;;
   8800 *)
   8801   lt_save_MAGIC_CMD=$MAGIC_CMD
   8802   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8803   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8804   for ac_dir in $ac_dummy; do
   8805     IFS=$lt_save_ifs
   8806     test -z "$ac_dir" && ac_dir=.
   8807     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8808       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8809       if test -n "$file_magic_test_file"; then
   8810 	case $deplibs_check_method in
   8811 	"file_magic "*)
   8812 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8813 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8814 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8815 	    $EGREP "$file_magic_regex" > /dev/null; then
   8816 	    :
   8817 	  else
   8818 	    cat <<_LT_EOF 1>&2
   8819 
   8820 *** Warning: the command libtool uses to detect shared libraries,
   8821 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8822 *** The result is that libtool may fail to recognize shared libraries
   8823 *** as such.  This will affect the creation of libtool libraries that
   8824 *** depend on shared libraries, but programs linked with such libtool
   8825 *** libraries will work regardless of this problem.  Nevertheless, you
   8826 *** may want to report the problem to your system manager and/or to
   8827 *** bug-libtool@gnu.org
   8828 
   8829 _LT_EOF
   8830 	  fi ;;
   8831 	esac
   8832       fi
   8833       break
   8834     fi
   8835   done
   8836   IFS=$lt_save_ifs
   8837   MAGIC_CMD=$lt_save_MAGIC_CMD
   8838   ;;
   8839 esac
   8840 fi
   8841 
   8842 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8843 if test -n "$MAGIC_CMD"; then
   8844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8845 printf "%s\n" "$MAGIC_CMD" >&6; }
   8846 else
   8847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8848 printf "%s\n" "no" >&6; }
   8849 fi
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8856   if test -n "$ac_tool_prefix"; then
   8857     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8858 printf %s "checking for file... " >&6; }
   8859 if test ${lt_cv_path_MAGIC_CMD+y}
   8860 then :
   8861   printf %s "(cached) " >&6
   8862 else $as_nop
   8863   case $MAGIC_CMD in
   8864 [\\/*] |  ?:[\\/]*)
   8865   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8866   ;;
   8867 *)
   8868   lt_save_MAGIC_CMD=$MAGIC_CMD
   8869   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8870   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8871   for ac_dir in $ac_dummy; do
   8872     IFS=$lt_save_ifs
   8873     test -z "$ac_dir" && ac_dir=.
   8874     if test -f "$ac_dir/file"; then
   8875       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8876       if test -n "$file_magic_test_file"; then
   8877 	case $deplibs_check_method in
   8878 	"file_magic "*)
   8879 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8880 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8881 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8882 	    $EGREP "$file_magic_regex" > /dev/null; then
   8883 	    :
   8884 	  else
   8885 	    cat <<_LT_EOF 1>&2
   8886 
   8887 *** Warning: the command libtool uses to detect shared libraries,
   8888 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8889 *** The result is that libtool may fail to recognize shared libraries
   8890 *** as such.  This will affect the creation of libtool libraries that
   8891 *** depend on shared libraries, but programs linked with such libtool
   8892 *** libraries will work regardless of this problem.  Nevertheless, you
   8893 *** may want to report the problem to your system manager and/or to
   8894 *** bug-libtool@gnu.org
   8895 
   8896 _LT_EOF
   8897 	  fi ;;
   8898 	esac
   8899       fi
   8900       break
   8901     fi
   8902   done
   8903   IFS=$lt_save_ifs
   8904   MAGIC_CMD=$lt_save_MAGIC_CMD
   8905   ;;
   8906 esac
   8907 fi
   8908 
   8909 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8910 if test -n "$MAGIC_CMD"; then
   8911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8912 printf "%s\n" "$MAGIC_CMD" >&6; }
   8913 else
   8914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8915 printf "%s\n" "no" >&6; }
   8916 fi
   8917 
   8918 
   8919   else
   8920     MAGIC_CMD=:
   8921   fi
   8922 fi
   8923 
   8924   fi
   8925   ;;
   8926 esac
   8927 
   8928 # Use C for the default configuration in the libtool script
   8929 
   8930 lt_save_CC=$CC
   8931 ac_ext=c
   8932 ac_cpp='$CPP $CPPFLAGS'
   8933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8936 
   8937 
   8938 # Source file extension for C test sources.
   8939 ac_ext=c
   8940 
   8941 # Object file extension for compiled C test sources.
   8942 objext=o
   8943 objext=$objext
   8944 
   8945 # Code to be used in simple compile tests
   8946 lt_simple_compile_test_code="int some_variable = 0;"
   8947 
   8948 # Code to be used in simple link tests
   8949 lt_simple_link_test_code='int main(){return(0);}'
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 # If no C compiler was specified, use CC.
   8958 LTCC=${LTCC-"$CC"}
   8959 
   8960 # If no C compiler flags were specified, use CFLAGS.
   8961 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8962 
   8963 # Allow CC to be a program name with arguments.
   8964 compiler=$CC
   8965 
   8966 # Save the default compiler, since it gets overwritten when the other
   8967 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8968 compiler_DEFAULT=$CC
   8969 
   8970 # save warnings/boilerplate of simple test code
   8971 ac_outfile=conftest.$ac_objext
   8972 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8973 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8974 _lt_compiler_boilerplate=`cat conftest.err`
   8975 $RM conftest*
   8976 
   8977 ac_outfile=conftest.$ac_objext
   8978 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8979 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8980 _lt_linker_boilerplate=`cat conftest.err`
   8981 $RM -r conftest*
   8982 
   8983 
   8984 ## CAVEAT EMPTOR:
   8985 ## There is no encapsulation within the following macros, do not change
   8986 ## the running order or otherwise move them around unless you know exactly
   8987 ## what you are doing...
   8988 if test -n "$compiler"; then
   8989 
   8990 lt_prog_compiler_no_builtin_flag=
   8991 
   8992 if test yes = "$GCC"; then
   8993   case $cc_basename in
   8994   nvcc*)
   8995     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8996   *)
   8997     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8998   esac
   8999 
   9000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9001 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9002 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9003 then :
   9004   printf %s "(cached) " >&6
   9005 else $as_nop
   9006   lt_cv_prog_compiler_rtti_exceptions=no
   9007    ac_outfile=conftest.$ac_objext
   9008    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9009    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9010    # Insert the option either (1) after the last *FLAGS variable, or
   9011    # (2) before a word containing "conftest.", or (3) at the end.
   9012    # Note that $ac_compile itself does not contain backslashes and begins
   9013    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9014    # The option is referenced via a variable to avoid confusing sed.
   9015    lt_compile=`echo "$ac_compile" | $SED \
   9016    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9017    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9018    -e 's:$: $lt_compiler_flag:'`
   9019    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9020    (eval "$lt_compile" 2>conftest.err)
   9021    ac_status=$?
   9022    cat conftest.err >&5
   9023    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9024    if (exit $ac_status) && test -s "$ac_outfile"; then
   9025      # The compiler can only warn and ignore the option if not recognized
   9026      # So say no if there are warnings other than the usual output.
   9027      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9028      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9029      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9030        lt_cv_prog_compiler_rtti_exceptions=yes
   9031      fi
   9032    fi
   9033    $RM conftest*
   9034 
   9035 fi
   9036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9037 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9038 
   9039 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9040     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9041 else
   9042     :
   9043 fi
   9044 
   9045 fi
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052   lt_prog_compiler_wl=
   9053 lt_prog_compiler_pic=
   9054 lt_prog_compiler_static=
   9055 
   9056 
   9057   if test yes = "$GCC"; then
   9058     lt_prog_compiler_wl='-Wl,'
   9059     lt_prog_compiler_static='-static'
   9060 
   9061     case $host_os in
   9062       aix*)
   9063       # All AIX code is PIC.
   9064       if test ia64 = "$host_cpu"; then
   9065 	# AIX 5 now supports IA64 processor
   9066 	lt_prog_compiler_static='-Bstatic'
   9067       fi
   9068       lt_prog_compiler_pic='-fPIC'
   9069       ;;
   9070 
   9071     amigaos*)
   9072       case $host_cpu in
   9073       powerpc)
   9074             # see comment about AmigaOS4 .so support
   9075             lt_prog_compiler_pic='-fPIC'
   9076         ;;
   9077       m68k)
   9078             # FIXME: we need at least 68020 code to build shared libraries, but
   9079             # adding the '-m68020' flag to GCC prevents building anything better,
   9080             # like '-m68040'.
   9081             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9082         ;;
   9083       esac
   9084       ;;
   9085 
   9086     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9087       # PIC is the default for these OSes.
   9088       ;;
   9089 
   9090     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9091       # This hack is so that the source file can tell whether it is being
   9092       # built for inclusion in a dll (and should export symbols for example).
   9093       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9094       # (--disable-auto-import) libraries
   9095       lt_prog_compiler_pic='-DDLL_EXPORT'
   9096       case $host_os in
   9097       os2*)
   9098 	lt_prog_compiler_static='$wl-static'
   9099 	;;
   9100       esac
   9101       ;;
   9102 
   9103     darwin* | rhapsody*)
   9104       # PIC is the default on this platform
   9105       # Common symbols not allowed in MH_DYLIB files
   9106       lt_prog_compiler_pic='-fno-common'
   9107       ;;
   9108 
   9109     haiku*)
   9110       # PIC is the default for Haiku.
   9111       # The "-static" flag exists, but is broken.
   9112       lt_prog_compiler_static=
   9113       ;;
   9114 
   9115     hpux*)
   9116       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9117       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9118       # sets the default TLS model and affects inlining.
   9119       case $host_cpu in
   9120       hppa*64*)
   9121 	# +Z the default
   9122 	;;
   9123       *)
   9124 	lt_prog_compiler_pic='-fPIC'
   9125 	;;
   9126       esac
   9127       ;;
   9128 
   9129     interix[3-9]*)
   9130       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9131       # Instead, we relocate shared libraries at runtime.
   9132       ;;
   9133 
   9134     msdosdjgpp*)
   9135       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9136       # on systems that don't support them.
   9137       lt_prog_compiler_can_build_shared=no
   9138       enable_shared=no
   9139       ;;
   9140 
   9141     *nto* | *qnx*)
   9142       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9143       # it will coredump.
   9144       lt_prog_compiler_pic='-fPIC -shared'
   9145       ;;
   9146 
   9147     sysv4*MP*)
   9148       if test -d /usr/nec; then
   9149 	lt_prog_compiler_pic=-Kconform_pic
   9150       fi
   9151       ;;
   9152 
   9153     *)
   9154       lt_prog_compiler_pic='-fPIC'
   9155       ;;
   9156     esac
   9157 
   9158     case $cc_basename in
   9159     nvcc*) # Cuda Compiler Driver 2.2
   9160       lt_prog_compiler_wl='-Xlinker '
   9161       if test -n "$lt_prog_compiler_pic"; then
   9162         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9163       fi
   9164       ;;
   9165     esac
   9166   else
   9167     # PORTME Check for flag to pass linker flags through the system compiler.
   9168     case $host_os in
   9169     aix*)
   9170       lt_prog_compiler_wl='-Wl,'
   9171       if test ia64 = "$host_cpu"; then
   9172 	# AIX 5 now supports IA64 processor
   9173 	lt_prog_compiler_static='-Bstatic'
   9174       else
   9175 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9176       fi
   9177       ;;
   9178 
   9179     darwin* | rhapsody*)
   9180       # PIC is the default on this platform
   9181       # Common symbols not allowed in MH_DYLIB files
   9182       lt_prog_compiler_pic='-fno-common'
   9183       case $cc_basename in
   9184       nagfor*)
   9185         # NAG Fortran compiler
   9186         lt_prog_compiler_wl='-Wl,-Wl,,'
   9187         lt_prog_compiler_pic='-PIC'
   9188         lt_prog_compiler_static='-Bstatic'
   9189         ;;
   9190       esac
   9191       ;;
   9192 
   9193     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9194       # This hack is so that the source file can tell whether it is being
   9195       # built for inclusion in a dll (and should export symbols for example).
   9196       lt_prog_compiler_pic='-DDLL_EXPORT'
   9197       case $host_os in
   9198       os2*)
   9199 	lt_prog_compiler_static='$wl-static'
   9200 	;;
   9201       esac
   9202       ;;
   9203 
   9204     hpux9* | hpux10* | hpux11*)
   9205       lt_prog_compiler_wl='-Wl,'
   9206       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9207       # not for PA HP-UX.
   9208       case $host_cpu in
   9209       hppa*64*|ia64*)
   9210 	# +Z the default
   9211 	;;
   9212       *)
   9213 	lt_prog_compiler_pic='+Z'
   9214 	;;
   9215       esac
   9216       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9217       lt_prog_compiler_static='$wl-a ${wl}archive'
   9218       ;;
   9219 
   9220     irix5* | irix6* | nonstopux*)
   9221       lt_prog_compiler_wl='-Wl,'
   9222       # PIC (with -KPIC) is the default.
   9223       lt_prog_compiler_static='-non_shared'
   9224       ;;
   9225 
   9226     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9227       case $cc_basename in
   9228       # old Intel for x86_64, which still supported -KPIC.
   9229       ecc*)
   9230 	lt_prog_compiler_wl='-Wl,'
   9231 	lt_prog_compiler_pic='-KPIC'
   9232 	lt_prog_compiler_static='-static'
   9233         ;;
   9234       # icc used to be incompatible with GCC.
   9235       # ICC 10 doesn't accept -KPIC any more.
   9236       icc* | ifort*)
   9237 	lt_prog_compiler_wl='-Wl,'
   9238 	lt_prog_compiler_pic='-fPIC'
   9239 	lt_prog_compiler_static='-static'
   9240         ;;
   9241       # Lahey Fortran 8.1.
   9242       lf95*)
   9243 	lt_prog_compiler_wl='-Wl,'
   9244 	lt_prog_compiler_pic='--shared'
   9245 	lt_prog_compiler_static='--static'
   9246 	;;
   9247       nagfor*)
   9248 	# NAG Fortran compiler
   9249 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9250 	lt_prog_compiler_pic='-PIC'
   9251 	lt_prog_compiler_static='-Bstatic'
   9252 	;;
   9253       tcc*)
   9254 	# Fabrice Bellard et al's Tiny C Compiler
   9255 	lt_prog_compiler_wl='-Wl,'
   9256 	lt_prog_compiler_pic='-fPIC'
   9257 	lt_prog_compiler_static='-static'
   9258 	;;
   9259       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9260         # Portland Group compilers (*not* the Pentium gcc compiler,
   9261 	# which looks to be a dead project)
   9262 	lt_prog_compiler_wl='-Wl,'
   9263 	lt_prog_compiler_pic='-fpic'
   9264 	lt_prog_compiler_static='-Bstatic'
   9265         ;;
   9266       ccc*)
   9267         lt_prog_compiler_wl='-Wl,'
   9268         # All Alpha code is PIC.
   9269         lt_prog_compiler_static='-non_shared'
   9270         ;;
   9271       xl* | bgxl* | bgf* | mpixl*)
   9272 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9273 	lt_prog_compiler_wl='-Wl,'
   9274 	lt_prog_compiler_pic='-qpic'
   9275 	lt_prog_compiler_static='-qstaticlink'
   9276 	;;
   9277       *)
   9278 	case `$CC -V 2>&1 | $SED 5q` in
   9279 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9280 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9281 	  lt_prog_compiler_pic='-KPIC'
   9282 	  lt_prog_compiler_static='-Bstatic'
   9283 	  lt_prog_compiler_wl=''
   9284 	  ;;
   9285 	*Sun\ F* | *Sun*Fortran*)
   9286 	  lt_prog_compiler_pic='-KPIC'
   9287 	  lt_prog_compiler_static='-Bstatic'
   9288 	  lt_prog_compiler_wl='-Qoption ld '
   9289 	  ;;
   9290 	*Sun\ C*)
   9291 	  # Sun C 5.9
   9292 	  lt_prog_compiler_pic='-KPIC'
   9293 	  lt_prog_compiler_static='-Bstatic'
   9294 	  lt_prog_compiler_wl='-Wl,'
   9295 	  ;;
   9296         *Intel*\ [CF]*Compiler*)
   9297 	  lt_prog_compiler_wl='-Wl,'
   9298 	  lt_prog_compiler_pic='-fPIC'
   9299 	  lt_prog_compiler_static='-static'
   9300 	  ;;
   9301 	*Portland\ Group*)
   9302 	  lt_prog_compiler_wl='-Wl,'
   9303 	  lt_prog_compiler_pic='-fpic'
   9304 	  lt_prog_compiler_static='-Bstatic'
   9305 	  ;;
   9306 	esac
   9307 	;;
   9308       esac
   9309       ;;
   9310 
   9311     newsos6)
   9312       lt_prog_compiler_pic='-KPIC'
   9313       lt_prog_compiler_static='-Bstatic'
   9314       ;;
   9315 
   9316     *nto* | *qnx*)
   9317       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9318       # it will coredump.
   9319       lt_prog_compiler_pic='-fPIC -shared'
   9320       ;;
   9321 
   9322     osf3* | osf4* | osf5*)
   9323       lt_prog_compiler_wl='-Wl,'
   9324       # All OSF/1 code is PIC.
   9325       lt_prog_compiler_static='-non_shared'
   9326       ;;
   9327 
   9328     rdos*)
   9329       lt_prog_compiler_static='-non_shared'
   9330       ;;
   9331 
   9332     solaris*)
   9333       lt_prog_compiler_pic='-KPIC'
   9334       lt_prog_compiler_static='-Bstatic'
   9335       case $cc_basename in
   9336       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9337 	lt_prog_compiler_wl='-Qoption ld ';;
   9338       *)
   9339 	lt_prog_compiler_wl='-Wl,';;
   9340       esac
   9341       ;;
   9342 
   9343     sunos4*)
   9344       lt_prog_compiler_wl='-Qoption ld '
   9345       lt_prog_compiler_pic='-PIC'
   9346       lt_prog_compiler_static='-Bstatic'
   9347       ;;
   9348 
   9349     sysv4 | sysv4.2uw2* | sysv4.3*)
   9350       lt_prog_compiler_wl='-Wl,'
   9351       lt_prog_compiler_pic='-KPIC'
   9352       lt_prog_compiler_static='-Bstatic'
   9353       ;;
   9354 
   9355     sysv4*MP*)
   9356       if test -d /usr/nec; then
   9357 	lt_prog_compiler_pic='-Kconform_pic'
   9358 	lt_prog_compiler_static='-Bstatic'
   9359       fi
   9360       ;;
   9361 
   9362     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9363       lt_prog_compiler_wl='-Wl,'
   9364       lt_prog_compiler_pic='-KPIC'
   9365       lt_prog_compiler_static='-Bstatic'
   9366       ;;
   9367 
   9368     unicos*)
   9369       lt_prog_compiler_wl='-Wl,'
   9370       lt_prog_compiler_can_build_shared=no
   9371       ;;
   9372 
   9373     uts4*)
   9374       lt_prog_compiler_pic='-pic'
   9375       lt_prog_compiler_static='-Bstatic'
   9376       ;;
   9377 
   9378     *)
   9379       lt_prog_compiler_can_build_shared=no
   9380       ;;
   9381     esac
   9382   fi
   9383 
   9384 case $host_os in
   9385   # For platforms that do not support PIC, -DPIC is meaningless:
   9386   *djgpp*)
   9387     lt_prog_compiler_pic=
   9388     ;;
   9389   *)
   9390     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9391     ;;
   9392 esac
   9393 
   9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9395 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9396 if test ${lt_cv_prog_compiler_pic+y}
   9397 then :
   9398   printf %s "(cached) " >&6
   9399 else $as_nop
   9400   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9401 fi
   9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9403 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9404 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9405 
   9406 #
   9407 # Check to make sure the PIC flag actually works.
   9408 #
   9409 if test -n "$lt_prog_compiler_pic"; then
   9410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9411 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9412 if test ${lt_cv_prog_compiler_pic_works+y}
   9413 then :
   9414   printf %s "(cached) " >&6
   9415 else $as_nop
   9416   lt_cv_prog_compiler_pic_works=no
   9417    ac_outfile=conftest.$ac_objext
   9418    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9419    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9420    # Insert the option either (1) after the last *FLAGS variable, or
   9421    # (2) before a word containing "conftest.", or (3) at the end.
   9422    # Note that $ac_compile itself does not contain backslashes and begins
   9423    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9424    # The option is referenced via a variable to avoid confusing sed.
   9425    lt_compile=`echo "$ac_compile" | $SED \
   9426    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9427    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9428    -e 's:$: $lt_compiler_flag:'`
   9429    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9430    (eval "$lt_compile" 2>conftest.err)
   9431    ac_status=$?
   9432    cat conftest.err >&5
   9433    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9434    if (exit $ac_status) && test -s "$ac_outfile"; then
   9435      # The compiler can only warn and ignore the option if not recognized
   9436      # So say no if there are warnings other than the usual output.
   9437      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9438      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9439      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9440        lt_cv_prog_compiler_pic_works=yes
   9441      fi
   9442    fi
   9443    $RM conftest*
   9444 
   9445 fi
   9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9447 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9448 
   9449 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9450     case $lt_prog_compiler_pic in
   9451      "" | " "*) ;;
   9452      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9453      esac
   9454 else
   9455     lt_prog_compiler_pic=
   9456      lt_prog_compiler_can_build_shared=no
   9457 fi
   9458 
   9459 fi
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 #
   9472 # Check to make sure the static flag actually works.
   9473 #
   9474 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9476 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9477 if test ${lt_cv_prog_compiler_static_works+y}
   9478 then :
   9479   printf %s "(cached) " >&6
   9480 else $as_nop
   9481   lt_cv_prog_compiler_static_works=no
   9482    save_LDFLAGS=$LDFLAGS
   9483    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9484    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9485    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9486      # The linker can only warn and ignore the option if not recognized
   9487      # So say no if there are warnings
   9488      if test -s conftest.err; then
   9489        # Append any errors to the config.log.
   9490        cat conftest.err 1>&5
   9491        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9492        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9493        if diff conftest.exp conftest.er2 >/dev/null; then
   9494          lt_cv_prog_compiler_static_works=yes
   9495        fi
   9496      else
   9497        lt_cv_prog_compiler_static_works=yes
   9498      fi
   9499    fi
   9500    $RM -r conftest*
   9501    LDFLAGS=$save_LDFLAGS
   9502 
   9503 fi
   9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9505 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9506 
   9507 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9508     :
   9509 else
   9510     lt_prog_compiler_static=
   9511 fi
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9520 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9521 if test ${lt_cv_prog_compiler_c_o+y}
   9522 then :
   9523   printf %s "(cached) " >&6
   9524 else $as_nop
   9525   lt_cv_prog_compiler_c_o=no
   9526    $RM -r conftest 2>/dev/null
   9527    mkdir conftest
   9528    cd conftest
   9529    mkdir out
   9530    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9531 
   9532    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9533    # Insert the option either (1) after the last *FLAGS variable, or
   9534    # (2) before a word containing "conftest.", or (3) at the end.
   9535    # Note that $ac_compile itself does not contain backslashes and begins
   9536    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9537    lt_compile=`echo "$ac_compile" | $SED \
   9538    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9539    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9540    -e 's:$: $lt_compiler_flag:'`
   9541    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9542    (eval "$lt_compile" 2>out/conftest.err)
   9543    ac_status=$?
   9544    cat out/conftest.err >&5
   9545    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9546    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9547    then
   9548      # The compiler can only warn and ignore the option if not recognized
   9549      # So say no if there are warnings
   9550      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9551      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9552      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9553        lt_cv_prog_compiler_c_o=yes
   9554      fi
   9555    fi
   9556    chmod u+w . 2>&5
   9557    $RM conftest*
   9558    # SGI C++ compiler will create directory out/ii_files/ for
   9559    # template instantiation
   9560    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9561    $RM out/* && rmdir out
   9562    cd ..
   9563    $RM -r conftest
   9564    $RM conftest*
   9565 
   9566 fi
   9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9568 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9576 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9577 if test ${lt_cv_prog_compiler_c_o+y}
   9578 then :
   9579   printf %s "(cached) " >&6
   9580 else $as_nop
   9581   lt_cv_prog_compiler_c_o=no
   9582    $RM -r conftest 2>/dev/null
   9583    mkdir conftest
   9584    cd conftest
   9585    mkdir out
   9586    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9587 
   9588    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9589    # Insert the option either (1) after the last *FLAGS variable, or
   9590    # (2) before a word containing "conftest.", or (3) at the end.
   9591    # Note that $ac_compile itself does not contain backslashes and begins
   9592    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9593    lt_compile=`echo "$ac_compile" | $SED \
   9594    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9595    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9596    -e 's:$: $lt_compiler_flag:'`
   9597    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9598    (eval "$lt_compile" 2>out/conftest.err)
   9599    ac_status=$?
   9600    cat out/conftest.err >&5
   9601    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9602    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9603    then
   9604      # The compiler can only warn and ignore the option if not recognized
   9605      # So say no if there are warnings
   9606      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9607      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9608      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9609        lt_cv_prog_compiler_c_o=yes
   9610      fi
   9611    fi
   9612    chmod u+w . 2>&5
   9613    $RM conftest*
   9614    # SGI C++ compiler will create directory out/ii_files/ for
   9615    # template instantiation
   9616    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9617    $RM out/* && rmdir out
   9618    cd ..
   9619    $RM -r conftest
   9620    $RM conftest*
   9621 
   9622 fi
   9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9624 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9625 
   9626 
   9627 
   9628 
   9629 hard_links=nottested
   9630 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9631   # do not overwrite the value of need_locks provided by the user
   9632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9633 printf %s "checking if we can lock with hard links... " >&6; }
   9634   hard_links=yes
   9635   $RM conftest*
   9636   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9637   touch conftest.a
   9638   ln conftest.a conftest.b 2>&5 || hard_links=no
   9639   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9641 printf "%s\n" "$hard_links" >&6; }
   9642   if test no = "$hard_links"; then
   9643     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9644 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9645     need_locks=warn
   9646   fi
   9647 else
   9648   need_locks=no
   9649 fi
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9657 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9658 
   9659   runpath_var=
   9660   allow_undefined_flag=
   9661   always_export_symbols=no
   9662   archive_cmds=
   9663   archive_expsym_cmds=
   9664   compiler_needs_object=no
   9665   enable_shared_with_static_runtimes=no
   9666   export_dynamic_flag_spec=
   9667   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9668   hardcode_automatic=no
   9669   hardcode_direct=no
   9670   hardcode_direct_absolute=no
   9671   hardcode_libdir_flag_spec=
   9672   hardcode_libdir_separator=
   9673   hardcode_minus_L=no
   9674   hardcode_shlibpath_var=unsupported
   9675   inherit_rpath=no
   9676   link_all_deplibs=unknown
   9677   module_cmds=
   9678   module_expsym_cmds=
   9679   old_archive_from_new_cmds=
   9680   old_archive_from_expsyms_cmds=
   9681   thread_safe_flag_spec=
   9682   whole_archive_flag_spec=
   9683   # include_expsyms should be a list of space-separated symbols to be *always*
   9684   # included in the symbol list
   9685   include_expsyms=
   9686   # exclude_expsyms can be an extended regexp of symbols to exclude
   9687   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9688   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9689   # as well as any symbol that contains 'd'.
   9690   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9691   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9692   # platforms (ab)use it in PIC code, but their linkers get confused if
   9693   # the symbol is explicitly referenced.  Since portable code cannot
   9694   # rely on this symbol name, it's probably fine to never include it in
   9695   # preloaded symbol tables.
   9696   # Exclude shared library initialization/finalization symbols.
   9697   extract_expsyms_cmds=
   9698 
   9699   case $host_os in
   9700   cygwin* | mingw* | pw32* | cegcc*)
   9701     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9702     # When not using gcc, we currently assume that we are using
   9703     # Microsoft Visual C++ or Intel C++ Compiler.
   9704     if test yes != "$GCC"; then
   9705       with_gnu_ld=no
   9706     fi
   9707     ;;
   9708   interix*)
   9709     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9710     with_gnu_ld=yes
   9711     ;;
   9712   openbsd* | bitrig*)
   9713     with_gnu_ld=no
   9714     ;;
   9715   esac
   9716 
   9717   ld_shlibs=yes
   9718 
   9719   # On some targets, GNU ld is compatible enough with the native linker
   9720   # that we're better off using the native interface for both.
   9721   lt_use_gnu_ld_interface=no
   9722   if test yes = "$with_gnu_ld"; then
   9723     case $host_os in
   9724       aix*)
   9725 	# The AIX port of GNU ld has always aspired to compatibility
   9726 	# with the native linker.  However, as the warning in the GNU ld
   9727 	# block says, versions before 2.19.5* couldn't really create working
   9728 	# shared libraries, regardless of the interface used.
   9729 	case `$LD -v 2>&1` in
   9730 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9731 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9732 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9733 	  *)
   9734 	    lt_use_gnu_ld_interface=yes
   9735 	    ;;
   9736 	esac
   9737 	;;
   9738       *)
   9739 	lt_use_gnu_ld_interface=yes
   9740 	;;
   9741     esac
   9742   fi
   9743 
   9744   if test yes = "$lt_use_gnu_ld_interface"; then
   9745     # If archive_cmds runs LD, not CC, wlarc should be empty
   9746     wlarc='$wl'
   9747 
   9748     # Set some defaults for GNU ld with shared library support. These
   9749     # are reset later if shared libraries are not supported. Putting them
   9750     # here allows them to be overridden if necessary.
   9751     runpath_var=LD_RUN_PATH
   9752     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9753     export_dynamic_flag_spec='$wl--export-dynamic'
   9754     # ancient GNU ld didn't support --whole-archive et. al.
   9755     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9756       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9757     else
   9758       whole_archive_flag_spec=
   9759     fi
   9760     supports_anon_versioning=no
   9761     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9762       *GNU\ gold*) supports_anon_versioning=yes ;;
   9763       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9764       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9765       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9766       *\ 2.11.*) ;; # other 2.11 versions
   9767       *) supports_anon_versioning=yes ;;
   9768     esac
   9769 
   9770     # See if GNU ld supports shared libraries.
   9771     case $host_os in
   9772     aix[3-9]*)
   9773       # On AIX/PPC, the GNU linker is very broken
   9774       if test ia64 != "$host_cpu"; then
   9775 	ld_shlibs=no
   9776 	cat <<_LT_EOF 1>&2
   9777 
   9778 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9779 *** to be unable to reliably create shared libraries on AIX.
   9780 *** Therefore, libtool is disabling shared libraries support.  If you
   9781 *** really care for shared libraries, you may want to install binutils
   9782 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9783 *** You will then need to restart the configuration process.
   9784 
   9785 _LT_EOF
   9786       fi
   9787       ;;
   9788 
   9789     amigaos*)
   9790       case $host_cpu in
   9791       powerpc)
   9792             # see comment about AmigaOS4 .so support
   9793             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9794             archive_expsym_cmds=''
   9795         ;;
   9796       m68k)
   9797             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)'
   9798             hardcode_libdir_flag_spec='-L$libdir'
   9799             hardcode_minus_L=yes
   9800         ;;
   9801       esac
   9802       ;;
   9803 
   9804     beos*)
   9805       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9806 	allow_undefined_flag=unsupported
   9807 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9808 	# support --undefined.  This deserves some investigation.  FIXME
   9809 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9810       else
   9811 	ld_shlibs=no
   9812       fi
   9813       ;;
   9814 
   9815     cygwin* | mingw* | pw32* | cegcc*)
   9816       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9817       # as there is no search path for DLLs.
   9818       hardcode_libdir_flag_spec='-L$libdir'
   9819       export_dynamic_flag_spec='$wl--export-all-symbols'
   9820       allow_undefined_flag=unsupported
   9821       always_export_symbols=no
   9822       enable_shared_with_static_runtimes=yes
   9823       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'
   9824       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9825 
   9826       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9827         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9828 	# If the export-symbols file already is a .def file, use it as
   9829 	# is; otherwise, prepend EXPORTS...
   9830 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9831           cp $export_symbols $output_objdir/$soname.def;
   9832         else
   9833           echo EXPORTS > $output_objdir/$soname.def;
   9834           cat $export_symbols >> $output_objdir/$soname.def;
   9835         fi~
   9836         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9837       else
   9838 	ld_shlibs=no
   9839       fi
   9840       ;;
   9841 
   9842     haiku*)
   9843       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9844       link_all_deplibs=yes
   9845       ;;
   9846 
   9847     os2*)
   9848       hardcode_libdir_flag_spec='-L$libdir'
   9849       hardcode_minus_L=yes
   9850       allow_undefined_flag=unsupported
   9851       shrext_cmds=.dll
   9852       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9853 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9854 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9855 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9856 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9857 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9858 	emximp -o $lib $output_objdir/$libname.def'
   9859       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9860 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9861 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9862 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9863 	prefix_cmds="$SED"~
   9864 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9865 	  prefix_cmds="$prefix_cmds -e 1d";
   9866 	fi~
   9867 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9868 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9869 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9870 	emximp -o $lib $output_objdir/$libname.def'
   9871       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9872       enable_shared_with_static_runtimes=yes
   9873       file_list_spec='@'
   9874       ;;
   9875 
   9876     interix[3-9]*)
   9877       hardcode_direct=no
   9878       hardcode_shlibpath_var=no
   9879       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9880       export_dynamic_flag_spec='$wl-E'
   9881       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9882       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9883       # default) and relocated if they conflict, which is a slow very memory
   9884       # consuming and fragmenting process.  To avoid this, we pick a random,
   9885       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9886       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9887       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9888       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'
   9889       ;;
   9890 
   9891     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9892       tmp_diet=no
   9893       if test linux-dietlibc = "$host_os"; then
   9894 	case $cc_basename in
   9895 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9896 	esac
   9897       fi
   9898       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9899 	 && test no = "$tmp_diet"
   9900       then
   9901 	tmp_addflag=' $pic_flag'
   9902 	tmp_sharedflag='-shared'
   9903 	case $cc_basename,$host_cpu in
   9904         pgcc*)				# Portland Group C compiler
   9905 	  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'
   9906 	  tmp_addflag=' $pic_flag'
   9907 	  ;;
   9908 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9909 					# Portland Group f77 and f90 compilers
   9910 	  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'
   9911 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9912 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9913 	  tmp_addflag=' -i_dynamic' ;;
   9914 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9915 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9916 	ifc* | ifort*)			# Intel Fortran compiler
   9917 	  tmp_addflag=' -nofor_main' ;;
   9918 	lf95*)				# Lahey Fortran 8.1
   9919 	  whole_archive_flag_spec=
   9920 	  tmp_sharedflag='--shared' ;;
   9921         nagfor*)                        # NAGFOR 5.3
   9922           tmp_sharedflag='-Wl,-shared' ;;
   9923 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9924 	  tmp_sharedflag='-qmkshrobj'
   9925 	  tmp_addflag= ;;
   9926 	nvcc*)	# Cuda Compiler Driver 2.2
   9927 	  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'
   9928 	  compiler_needs_object=yes
   9929 	  ;;
   9930 	esac
   9931 	case `$CC -V 2>&1 | $SED 5q` in
   9932 	*Sun\ C*)			# Sun C 5.9
   9933 	  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'
   9934 	  compiler_needs_object=yes
   9935 	  tmp_sharedflag='-G' ;;
   9936 	*Sun\ F*)			# Sun Fortran 8.3
   9937 	  tmp_sharedflag='-G' ;;
   9938 	esac
   9939 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9940 
   9941         if test yes = "$supports_anon_versioning"; then
   9942           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9943             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9944             echo "local: *; };" >> $output_objdir/$libname.ver~
   9945             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9946         fi
   9947 
   9948 	case $cc_basename in
   9949 	tcc*)
   9950 	  export_dynamic_flag_spec='-rdynamic'
   9951 	  ;;
   9952 	xlf* | bgf* | bgxlf* | mpixlf*)
   9953 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9954 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9955 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9956 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9957 	  if test yes = "$supports_anon_versioning"; then
   9958 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9959               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9960               echo "local: *; };" >> $output_objdir/$libname.ver~
   9961               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9962 	  fi
   9963 	  ;;
   9964 	esac
   9965       else
   9966         ld_shlibs=no
   9967       fi
   9968       ;;
   9969 
   9970     netbsd*)
   9971       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9972 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9973 	wlarc=
   9974       else
   9975 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9976 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9977       fi
   9978       ;;
   9979 
   9980     solaris*)
   9981       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9982 	ld_shlibs=no
   9983 	cat <<_LT_EOF 1>&2
   9984 
   9985 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9986 *** create shared libraries on Solaris systems.  Therefore, libtool
   9987 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9988 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9989 *** your PATH or compiler configuration so that the native linker is
   9990 *** used, and then restart.
   9991 
   9992 _LT_EOF
   9993       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9994 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9995 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9996       else
   9997 	ld_shlibs=no
   9998       fi
   9999       ;;
   10000 
   10001     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10002       case `$LD -v 2>&1` in
   10003         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10004 	ld_shlibs=no
   10005 	cat <<_LT_EOF 1>&2
   10006 
   10007 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10008 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10009 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10010 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10011 *** your PATH or compiler configuration so that the native linker is
   10012 *** used, and then restart.
   10013 
   10014 _LT_EOF
   10015 	;;
   10016 	*)
   10017 	  # For security reasons, it is highly recommended that you always
   10018 	  # use absolute paths for naming shared libraries, and exclude the
   10019 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10020 	  # requires that you compile everything twice, which is a pain.
   10021 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10022 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10023 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10024 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10025 	  else
   10026 	    ld_shlibs=no
   10027 	  fi
   10028 	;;
   10029       esac
   10030       ;;
   10031 
   10032     sunos4*)
   10033       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10034       wlarc=
   10035       hardcode_direct=yes
   10036       hardcode_shlibpath_var=no
   10037       ;;
   10038 
   10039     *)
   10040       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10041 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10042 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10043       else
   10044 	ld_shlibs=no
   10045       fi
   10046       ;;
   10047     esac
   10048 
   10049     if test no = "$ld_shlibs"; then
   10050       runpath_var=
   10051       hardcode_libdir_flag_spec=
   10052       export_dynamic_flag_spec=
   10053       whole_archive_flag_spec=
   10054     fi
   10055   else
   10056     # PORTME fill in a description of your system's linker (not GNU ld)
   10057     case $host_os in
   10058     aix3*)
   10059       allow_undefined_flag=unsupported
   10060       always_export_symbols=yes
   10061       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'
   10062       # Note: this linker hardcodes the directories in LIBPATH if there
   10063       # are no directories specified by -L.
   10064       hardcode_minus_L=yes
   10065       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10066 	# Neither direct hardcoding nor static linking is supported with a
   10067 	# broken collect2.
   10068 	hardcode_direct=unsupported
   10069       fi
   10070       ;;
   10071 
   10072     aix[4-9]*)
   10073       if test ia64 = "$host_cpu"; then
   10074 	# On IA64, the linker does run time linking by default, so we don't
   10075 	# have to do anything special.
   10076 	aix_use_runtimelinking=no
   10077 	exp_sym_flag='-Bexport'
   10078 	no_entry_flag=
   10079       else
   10080 	# If we're using GNU nm, then we don't want the "-C" option.
   10081 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10082 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10083 	# weak defined symbols like other global defined symbols, whereas
   10084 	# GNU nm marks them as "W".
   10085 	# While the 'weak' keyword is ignored in the Export File, we need
   10086 	# it in the Import File for the 'aix-soname' feature, so we have
   10087 	# to replace the "-B" option with "-P" for AIX nm.
   10088 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10089 	  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'
   10090 	else
   10091 	  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'
   10092 	fi
   10093 	aix_use_runtimelinking=no
   10094 
   10095 	# Test if we are trying to use run time linking or normal
   10096 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10097 	# have runtime linking enabled, and use it for executables.
   10098 	# For shared libraries, we enable/disable runtime linking
   10099 	# depending on the kind of the shared library created -
   10100 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10101 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10102 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10103 	#            lib.a           static archive
   10104 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10105 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10106 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10107 	#            lib.a(lib.so.V) shared, rtl:no
   10108 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10109 	#            lib.a           static archive
   10110 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10111 	  for ld_flag in $LDFLAGS; do
   10112 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10113 	    aix_use_runtimelinking=yes
   10114 	    break
   10115 	  fi
   10116 	  done
   10117 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10118 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10119 	    # so we don't have lib.a shared libs to link our executables.
   10120 	    # We have to force runtime linking in this case.
   10121 	    aix_use_runtimelinking=yes
   10122 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10123 	  fi
   10124 	  ;;
   10125 	esac
   10126 
   10127 	exp_sym_flag='-bexport'
   10128 	no_entry_flag='-bnoentry'
   10129       fi
   10130 
   10131       # When large executables or shared objects are built, AIX ld can
   10132       # have problems creating the table of contents.  If linking a library
   10133       # or program results in "error TOC overflow" add -mminimal-toc to
   10134       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10135       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10136 
   10137       archive_cmds=''
   10138       hardcode_direct=yes
   10139       hardcode_direct_absolute=yes
   10140       hardcode_libdir_separator=':'
   10141       link_all_deplibs=yes
   10142       file_list_spec='$wl-f,'
   10143       case $with_aix_soname,$aix_use_runtimelinking in
   10144       aix,*) ;; # traditional, no import file
   10145       svr4,* | *,yes) # use import file
   10146 	# The Import File defines what to hardcode.
   10147 	hardcode_direct=no
   10148 	hardcode_direct_absolute=no
   10149 	;;
   10150       esac
   10151 
   10152       if test yes = "$GCC"; then
   10153 	case $host_os in aix4.[012]|aix4.[012].*)
   10154 	# We only want to do this on AIX 4.2 and lower, the check
   10155 	# below for broken collect2 doesn't work under 4.3+
   10156 	  collect2name=`$CC -print-prog-name=collect2`
   10157 	  if test -f "$collect2name" &&
   10158 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10159 	  then
   10160 	  # We have reworked collect2
   10161 	  :
   10162 	  else
   10163 	  # We have old collect2
   10164 	  hardcode_direct=unsupported
   10165 	  # It fails to find uninstalled libraries when the uninstalled
   10166 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10167 	  # to unsupported forces relinking
   10168 	  hardcode_minus_L=yes
   10169 	  hardcode_libdir_flag_spec='-L$libdir'
   10170 	  hardcode_libdir_separator=
   10171 	  fi
   10172 	  ;;
   10173 	esac
   10174 	shared_flag='-shared'
   10175 	if test yes = "$aix_use_runtimelinking"; then
   10176 	  shared_flag="$shared_flag "'$wl-G'
   10177 	fi
   10178 	# Need to ensure runtime linking is disabled for the traditional
   10179 	# shared library, or the linker may eventually find shared libraries
   10180 	# /with/ Import File - we do not want to mix them.
   10181 	shared_flag_aix='-shared'
   10182 	shared_flag_svr4='-shared $wl-G'
   10183       else
   10184 	# not using gcc
   10185 	if test ia64 = "$host_cpu"; then
   10186 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10187 	# chokes on -Wl,-G. The following line is correct:
   10188 	  shared_flag='-G'
   10189 	else
   10190 	  if test yes = "$aix_use_runtimelinking"; then
   10191 	    shared_flag='$wl-G'
   10192 	  else
   10193 	    shared_flag='$wl-bM:SRE'
   10194 	  fi
   10195 	  shared_flag_aix='$wl-bM:SRE'
   10196 	  shared_flag_svr4='$wl-G'
   10197 	fi
   10198       fi
   10199 
   10200       export_dynamic_flag_spec='$wl-bexpall'
   10201       # It seems that -bexpall does not export symbols beginning with
   10202       # underscore (_), so it is better to generate a list of symbols to export.
   10203       always_export_symbols=yes
   10204       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10205 	# Warning - without using the other runtime loading flags (-brtl),
   10206 	# -berok will link without error, but may produce a broken library.
   10207 	allow_undefined_flag='-berok'
   10208         # Determine the default libpath from the value encoded in an
   10209         # empty executable.
   10210         if test set = "${lt_cv_aix_libpath+set}"; then
   10211   aix_libpath=$lt_cv_aix_libpath
   10212 else
   10213   if test ${lt_cv_aix_libpath_+y}
   10214 then :
   10215   printf %s "(cached) " >&6
   10216 else $as_nop
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 
   10220 int
   10221 main (void)
   10222 {
   10223 
   10224   ;
   10225   return 0;
   10226 }
   10227 _ACEOF
   10228 if ac_fn_c_try_link "$LINENO"
   10229 then :
   10230 
   10231   lt_aix_libpath_sed='
   10232       /Import File Strings/,/^$/ {
   10233 	  /^0/ {
   10234 	      s/^0  *\([^ ]*\) *$/\1/
   10235 	      p
   10236 	  }
   10237       }'
   10238   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10239   # Check for a 64-bit object if we didn't find anything.
   10240   if test -z "$lt_cv_aix_libpath_"; then
   10241     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10242   fi
   10243 fi
   10244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10245     conftest$ac_exeext conftest.$ac_ext
   10246   if test -z "$lt_cv_aix_libpath_"; then
   10247     lt_cv_aix_libpath_=/usr/lib:/lib
   10248   fi
   10249 
   10250 fi
   10251 
   10252   aix_libpath=$lt_cv_aix_libpath_
   10253 fi
   10254 
   10255         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10256         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
   10257       else
   10258 	if test ia64 = "$host_cpu"; then
   10259 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10260 	  allow_undefined_flag="-z nodefs"
   10261 	  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"
   10262 	else
   10263 	 # Determine the default libpath from the value encoded in an
   10264 	 # empty executable.
   10265 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10266   aix_libpath=$lt_cv_aix_libpath
   10267 else
   10268   if test ${lt_cv_aix_libpath_+y}
   10269 then :
   10270   printf %s "(cached) " >&6
   10271 else $as_nop
   10272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10273 /* end confdefs.h.  */
   10274 
   10275 int
   10276 main (void)
   10277 {
   10278 
   10279   ;
   10280   return 0;
   10281 }
   10282 _ACEOF
   10283 if ac_fn_c_try_link "$LINENO"
   10284 then :
   10285 
   10286   lt_aix_libpath_sed='
   10287       /Import File Strings/,/^$/ {
   10288 	  /^0/ {
   10289 	      s/^0  *\([^ ]*\) *$/\1/
   10290 	      p
   10291 	  }
   10292       }'
   10293   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10294   # Check for a 64-bit object if we didn't find anything.
   10295   if test -z "$lt_cv_aix_libpath_"; then
   10296     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10297   fi
   10298 fi
   10299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10300     conftest$ac_exeext conftest.$ac_ext
   10301   if test -z "$lt_cv_aix_libpath_"; then
   10302     lt_cv_aix_libpath_=/usr/lib:/lib
   10303   fi
   10304 
   10305 fi
   10306 
   10307   aix_libpath=$lt_cv_aix_libpath_
   10308 fi
   10309 
   10310 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10311 	  # Warning - without using the other run time loading flags,
   10312 	  # -berok will link without error, but may produce a broken library.
   10313 	  no_undefined_flag=' $wl-bernotok'
   10314 	  allow_undefined_flag=' $wl-berok'
   10315 	  if test yes = "$with_gnu_ld"; then
   10316 	    # We only use this code for GNU lds that support --whole-archive.
   10317 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10318 	  else
   10319 	    # Exported symbols can be pulled into shared objects from archives
   10320 	    whole_archive_flag_spec='$convenience'
   10321 	  fi
   10322 	  archive_cmds_need_lc=yes
   10323 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10324 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10325 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10326 	  if test svr4 != "$with_aix_soname"; then
   10327 	    # This is similar to how AIX traditionally builds its shared libraries.
   10328 	    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'
   10329 	  fi
   10330 	  if test aix != "$with_aix_soname"; then
   10331 	    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'
   10332 	  else
   10333 	    # used by -dlpreopen to get the symbols
   10334 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10335 	  fi
   10336 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10337 	fi
   10338       fi
   10339       ;;
   10340 
   10341     amigaos*)
   10342       case $host_cpu in
   10343       powerpc)
   10344             # see comment about AmigaOS4 .so support
   10345             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10346             archive_expsym_cmds=''
   10347         ;;
   10348       m68k)
   10349             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)'
   10350             hardcode_libdir_flag_spec='-L$libdir'
   10351             hardcode_minus_L=yes
   10352         ;;
   10353       esac
   10354       ;;
   10355 
   10356     bsdi[45]*)
   10357       export_dynamic_flag_spec=-rdynamic
   10358       ;;
   10359 
   10360     cygwin* | mingw* | pw32* | cegcc*)
   10361       # When not using gcc, we currently assume that we are using
   10362       # Microsoft Visual C++ or Intel C++ Compiler.
   10363       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10364       # no search path for DLLs.
   10365       case $cc_basename in
   10366       cl* | icl*)
   10367 	# Native MSVC or ICC
   10368 	hardcode_libdir_flag_spec=' '
   10369 	allow_undefined_flag=unsupported
   10370 	always_export_symbols=yes
   10371 	file_list_spec='@'
   10372 	# Tell ltmain to make .lib files, not .a files.
   10373 	libext=lib
   10374 	# Tell ltmain to make .dll files, not .so files.
   10375 	shrext_cmds=.dll
   10376 	# FIXME: Setting linknames here is a bad hack.
   10377 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10378 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10379             cp "$export_symbols" "$output_objdir/$soname.def";
   10380             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10381           else
   10382             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10383           fi~
   10384           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10385           linknames='
   10386 	# The linker will not automatically build a static lib if we build a DLL.
   10387 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10388 	enable_shared_with_static_runtimes=yes
   10389 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10390 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10391 	# Don't use ranlib
   10392 	old_postinstall_cmds='chmod 644 $oldlib'
   10393 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10394           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10395           case $lt_outputfile in
   10396             *.exe|*.EXE) ;;
   10397             *)
   10398               lt_outputfile=$lt_outputfile.exe
   10399               lt_tool_outputfile=$lt_tool_outputfile.exe
   10400               ;;
   10401           esac~
   10402           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10403             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10404             $RM "$lt_outputfile.manifest";
   10405           fi'
   10406 	;;
   10407       *)
   10408 	# Assume MSVC and ICC wrapper
   10409 	hardcode_libdir_flag_spec=' '
   10410 	allow_undefined_flag=unsupported
   10411 	# Tell ltmain to make .lib files, not .a files.
   10412 	libext=lib
   10413 	# Tell ltmain to make .dll files, not .so files.
   10414 	shrext_cmds=.dll
   10415 	# FIXME: Setting linknames here is a bad hack.
   10416 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10417 	# The linker will automatically build a .lib file if we build a DLL.
   10418 	old_archive_from_new_cmds='true'
   10419 	# FIXME: Should let the user specify the lib program.
   10420 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10421 	enable_shared_with_static_runtimes=yes
   10422 	;;
   10423       esac
   10424       ;;
   10425 
   10426     darwin* | rhapsody*)
   10427 
   10428 
   10429   archive_cmds_need_lc=no
   10430   hardcode_direct=no
   10431   hardcode_automatic=yes
   10432   hardcode_shlibpath_var=unsupported
   10433   if test yes = "$lt_cv_ld_force_load"; then
   10434     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\"`'
   10435 
   10436   else
   10437     whole_archive_flag_spec=''
   10438   fi
   10439   link_all_deplibs=yes
   10440   allow_undefined_flag=$_lt_dar_allow_undefined
   10441   case $cc_basename in
   10442      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10443      *) _lt_dar_can_shared=$GCC ;;
   10444   esac
   10445   if test yes = "$_lt_dar_can_shared"; then
   10446     output_verbose_link_cmd=func_echo_all
   10447     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10448     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10449     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"
   10450     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"
   10451 
   10452   else
   10453   ld_shlibs=no
   10454   fi
   10455 
   10456       ;;
   10457 
   10458     dgux*)
   10459       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10460       hardcode_libdir_flag_spec='-L$libdir'
   10461       hardcode_shlibpath_var=no
   10462       ;;
   10463 
   10464     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10465     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10466     # does not break anything, and helps significantly (at the cost of a little
   10467     # extra space).
   10468     freebsd2.2*)
   10469       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10470       hardcode_libdir_flag_spec='-R$libdir'
   10471       hardcode_direct=yes
   10472       hardcode_shlibpath_var=no
   10473       ;;
   10474 
   10475     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10476     freebsd2.*)
   10477       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10478       hardcode_direct=yes
   10479       hardcode_minus_L=yes
   10480       hardcode_shlibpath_var=no
   10481       ;;
   10482 
   10483     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10484     freebsd* | dragonfly* | midnightbsd*)
   10485       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10486       hardcode_libdir_flag_spec='-R$libdir'
   10487       hardcode_direct=yes
   10488       hardcode_shlibpath_var=no
   10489       ;;
   10490 
   10491     hpux9*)
   10492       if test yes = "$GCC"; then
   10493 	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'
   10494       else
   10495 	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'
   10496       fi
   10497       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10498       hardcode_libdir_separator=:
   10499       hardcode_direct=yes
   10500 
   10501       # hardcode_minus_L: Not really in the search PATH,
   10502       # but as the default location of the library.
   10503       hardcode_minus_L=yes
   10504       export_dynamic_flag_spec='$wl-E'
   10505       ;;
   10506 
   10507     hpux10*)
   10508       if test yes,no = "$GCC,$with_gnu_ld"; then
   10509 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10510       else
   10511 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10512       fi
   10513       if test no = "$with_gnu_ld"; then
   10514 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10515 	hardcode_libdir_separator=:
   10516 	hardcode_direct=yes
   10517 	hardcode_direct_absolute=yes
   10518 	export_dynamic_flag_spec='$wl-E'
   10519 	# hardcode_minus_L: Not really in the search PATH,
   10520 	# but as the default location of the library.
   10521 	hardcode_minus_L=yes
   10522       fi
   10523       ;;
   10524 
   10525     hpux11*)
   10526       if test yes,no = "$GCC,$with_gnu_ld"; then
   10527 	case $host_cpu in
   10528 	hppa*64*)
   10529 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10530 	  ;;
   10531 	ia64*)
   10532 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10533 	  ;;
   10534 	*)
   10535 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10536 	  ;;
   10537 	esac
   10538       else
   10539 	case $host_cpu in
   10540 	hppa*64*)
   10541 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10542 	  ;;
   10543 	ia64*)
   10544 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10545 	  ;;
   10546 	*)
   10547 
   10548 	  # Older versions of the 11.00 compiler do not understand -b yet
   10549 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10550 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10551 printf %s "checking if $CC understands -b... " >&6; }
   10552 if test ${lt_cv_prog_compiler__b+y}
   10553 then :
   10554   printf %s "(cached) " >&6
   10555 else $as_nop
   10556   lt_cv_prog_compiler__b=no
   10557    save_LDFLAGS=$LDFLAGS
   10558    LDFLAGS="$LDFLAGS -b"
   10559    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10560    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10561      # The linker can only warn and ignore the option if not recognized
   10562      # So say no if there are warnings
   10563      if test -s conftest.err; then
   10564        # Append any errors to the config.log.
   10565        cat conftest.err 1>&5
   10566        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10567        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10568        if diff conftest.exp conftest.er2 >/dev/null; then
   10569          lt_cv_prog_compiler__b=yes
   10570        fi
   10571      else
   10572        lt_cv_prog_compiler__b=yes
   10573      fi
   10574    fi
   10575    $RM -r conftest*
   10576    LDFLAGS=$save_LDFLAGS
   10577 
   10578 fi
   10579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10580 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10581 
   10582 if test yes = "$lt_cv_prog_compiler__b"; then
   10583     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10584 else
   10585     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10586 fi
   10587 
   10588 	  ;;
   10589 	esac
   10590       fi
   10591       if test no = "$with_gnu_ld"; then
   10592 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10593 	hardcode_libdir_separator=:
   10594 
   10595 	case $host_cpu in
   10596 	hppa*64*|ia64*)
   10597 	  hardcode_direct=no
   10598 	  hardcode_shlibpath_var=no
   10599 	  ;;
   10600 	*)
   10601 	  hardcode_direct=yes
   10602 	  hardcode_direct_absolute=yes
   10603 	  export_dynamic_flag_spec='$wl-E'
   10604 
   10605 	  # hardcode_minus_L: Not really in the search PATH,
   10606 	  # but as the default location of the library.
   10607 	  hardcode_minus_L=yes
   10608 	  ;;
   10609 	esac
   10610       fi
   10611       ;;
   10612 
   10613     irix5* | irix6* | nonstopux*)
   10614       if test yes = "$GCC"; then
   10615 	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'
   10616 	# Try to use the -exported_symbol ld option, if it does not
   10617 	# work, assume that -exports_file does not work either and
   10618 	# implicitly export all symbols.
   10619 	# This should be the same for all languages, so no per-tag cache variable.
   10620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10621 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10622 if test ${lt_cv_irix_exported_symbol+y}
   10623 then :
   10624   printf %s "(cached) " >&6
   10625 else $as_nop
   10626   save_LDFLAGS=$LDFLAGS
   10627 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10628 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10629 /* end confdefs.h.  */
   10630 int foo (void) { return 0; }
   10631 _ACEOF
   10632 if ac_fn_c_try_link "$LINENO"
   10633 then :
   10634   lt_cv_irix_exported_symbol=yes
   10635 else $as_nop
   10636   lt_cv_irix_exported_symbol=no
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10639     conftest$ac_exeext conftest.$ac_ext
   10640            LDFLAGS=$save_LDFLAGS
   10641 fi
   10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10643 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10644 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10645           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'
   10646 	fi
   10647       else
   10648 	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'
   10649 	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'
   10650       fi
   10651       archive_cmds_need_lc='no'
   10652       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10653       hardcode_libdir_separator=:
   10654       inherit_rpath=yes
   10655       link_all_deplibs=yes
   10656       ;;
   10657 
   10658     linux*)
   10659       case $cc_basename in
   10660       tcc*)
   10661 	# Fabrice Bellard et al's Tiny C Compiler
   10662 	ld_shlibs=yes
   10663 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10664 	;;
   10665       esac
   10666       ;;
   10667 
   10668     netbsd*)
   10669       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10670 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10671       else
   10672 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10673       fi
   10674       hardcode_libdir_flag_spec='-R$libdir'
   10675       hardcode_direct=yes
   10676       hardcode_shlibpath_var=no
   10677       ;;
   10678 
   10679     newsos6)
   10680       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10681       hardcode_direct=yes
   10682       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10683       hardcode_libdir_separator=:
   10684       hardcode_shlibpath_var=no
   10685       ;;
   10686 
   10687     *nto* | *qnx*)
   10688       ;;
   10689 
   10690     openbsd* | bitrig*)
   10691       if test -f /usr/libexec/ld.so; then
   10692 	hardcode_direct=yes
   10693 	hardcode_shlibpath_var=no
   10694 	hardcode_direct_absolute=yes
   10695 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10696 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10697 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10698 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10699 	  export_dynamic_flag_spec='$wl-E'
   10700 	else
   10701 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10702 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10703 	fi
   10704       else
   10705 	ld_shlibs=no
   10706       fi
   10707       ;;
   10708 
   10709     os2*)
   10710       hardcode_libdir_flag_spec='-L$libdir'
   10711       hardcode_minus_L=yes
   10712       allow_undefined_flag=unsupported
   10713       shrext_cmds=.dll
   10714       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10715 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10716 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10717 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10718 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10719 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10720 	emximp -o $lib $output_objdir/$libname.def'
   10721       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10722 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10723 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10724 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10725 	prefix_cmds="$SED"~
   10726 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10727 	  prefix_cmds="$prefix_cmds -e 1d";
   10728 	fi~
   10729 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10730 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10731 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10732 	emximp -o $lib $output_objdir/$libname.def'
   10733       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10734       enable_shared_with_static_runtimes=yes
   10735       file_list_spec='@'
   10736       ;;
   10737 
   10738     osf3*)
   10739       if test yes = "$GCC"; then
   10740 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10741 	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'
   10742       else
   10743 	allow_undefined_flag=' -expect_unresolved \*'
   10744 	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'
   10745       fi
   10746       archive_cmds_need_lc='no'
   10747       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10748       hardcode_libdir_separator=:
   10749       ;;
   10750 
   10751     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10752       if test yes = "$GCC"; then
   10753 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10754 	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'
   10755 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10756       else
   10757 	allow_undefined_flag=' -expect_unresolved \*'
   10758 	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'
   10759 	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~
   10760           $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'
   10761 
   10762 	# Both c and cxx compiler support -rpath directly
   10763 	hardcode_libdir_flag_spec='-rpath $libdir'
   10764       fi
   10765       archive_cmds_need_lc='no'
   10766       hardcode_libdir_separator=:
   10767       ;;
   10768 
   10769     solaris*)
   10770       no_undefined_flag=' -z defs'
   10771       if test yes = "$GCC"; then
   10772 	wlarc='$wl'
   10773 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10774 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10775           $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'
   10776       else
   10777 	case `$CC -V 2>&1` in
   10778 	*"Compilers 5.0"*)
   10779 	  wlarc=''
   10780 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10781 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10782             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10783 	  ;;
   10784 	*)
   10785 	  wlarc='$wl'
   10786 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10787 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10788             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10789 	  ;;
   10790 	esac
   10791       fi
   10792       hardcode_libdir_flag_spec='-R$libdir'
   10793       hardcode_shlibpath_var=no
   10794       case $host_os in
   10795       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10796       *)
   10797 	# The compiler driver will combine and reorder linker options,
   10798 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10799 	# but is careful enough not to reorder.
   10800 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10801 	if test yes = "$GCC"; then
   10802 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10803 	else
   10804 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10805 	fi
   10806 	;;
   10807       esac
   10808       link_all_deplibs=yes
   10809       ;;
   10810 
   10811     sunos4*)
   10812       if test sequent = "$host_vendor"; then
   10813 	# Use $CC to link under sequent, because it throws in some extra .o
   10814 	# files that make .init and .fini sections work.
   10815 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10816       else
   10817 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10818       fi
   10819       hardcode_libdir_flag_spec='-L$libdir'
   10820       hardcode_direct=yes
   10821       hardcode_minus_L=yes
   10822       hardcode_shlibpath_var=no
   10823       ;;
   10824 
   10825     sysv4)
   10826       case $host_vendor in
   10827 	sni)
   10828 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10829 	  hardcode_direct=yes # is this really true???
   10830 	;;
   10831 	siemens)
   10832 	  ## LD is ld it makes a PLAMLIB
   10833 	  ## CC just makes a GrossModule.
   10834 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10835 	  reload_cmds='$CC -r -o $output$reload_objs'
   10836 	  hardcode_direct=no
   10837         ;;
   10838 	motorola)
   10839 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10840 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10841 	;;
   10842       esac
   10843       runpath_var='LD_RUN_PATH'
   10844       hardcode_shlibpath_var=no
   10845       ;;
   10846 
   10847     sysv4.3*)
   10848       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10849       hardcode_shlibpath_var=no
   10850       export_dynamic_flag_spec='-Bexport'
   10851       ;;
   10852 
   10853     sysv4*MP*)
   10854       if test -d /usr/nec; then
   10855 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10856 	hardcode_shlibpath_var=no
   10857 	runpath_var=LD_RUN_PATH
   10858 	hardcode_runpath_var=yes
   10859 	ld_shlibs=yes
   10860       fi
   10861       ;;
   10862 
   10863     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10864       no_undefined_flag='$wl-z,text'
   10865       archive_cmds_need_lc=no
   10866       hardcode_shlibpath_var=no
   10867       runpath_var='LD_RUN_PATH'
   10868 
   10869       if test yes = "$GCC"; then
   10870 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10871 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10872       else
   10873 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10874 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10875       fi
   10876       ;;
   10877 
   10878     sysv5* | sco3.2v5* | sco5v6*)
   10879       # Note: We CANNOT use -z defs as we might desire, because we do not
   10880       # link with -lc, and that would cause any symbols used from libc to
   10881       # always be unresolved, which means just about no library would
   10882       # ever link correctly.  If we're not using GNU ld we use -z text
   10883       # though, which does catch some bad symbols but isn't as heavy-handed
   10884       # as -z defs.
   10885       no_undefined_flag='$wl-z,text'
   10886       allow_undefined_flag='$wl-z,nodefs'
   10887       archive_cmds_need_lc=no
   10888       hardcode_shlibpath_var=no
   10889       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10890       hardcode_libdir_separator=':'
   10891       link_all_deplibs=yes
   10892       export_dynamic_flag_spec='$wl-Bexport'
   10893       runpath_var='LD_RUN_PATH'
   10894 
   10895       if test yes = "$GCC"; then
   10896 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10897 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10898       else
   10899 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10900 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10901       fi
   10902       ;;
   10903 
   10904     uts4*)
   10905       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10906       hardcode_libdir_flag_spec='-L$libdir'
   10907       hardcode_shlibpath_var=no
   10908       ;;
   10909 
   10910     *)
   10911       ld_shlibs=no
   10912       ;;
   10913     esac
   10914 
   10915     if test sni = "$host_vendor"; then
   10916       case $host in
   10917       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10918 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10919 	;;
   10920       esac
   10921     fi
   10922   fi
   10923 
   10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10925 printf "%s\n" "$ld_shlibs" >&6; }
   10926 test no = "$ld_shlibs" && can_build_shared=no
   10927 
   10928 with_gnu_ld=$with_gnu_ld
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 #
   10945 # Do we need to explicitly link libc?
   10946 #
   10947 case "x$archive_cmds_need_lc" in
   10948 x|xyes)
   10949   # Assume -lc should be added
   10950   archive_cmds_need_lc=yes
   10951 
   10952   if test yes,yes = "$GCC,$enable_shared"; then
   10953     case $archive_cmds in
   10954     *'~'*)
   10955       # FIXME: we may have to deal with multi-command sequences.
   10956       ;;
   10957     '$CC '*)
   10958       # Test whether the compiler implicitly links with -lc since on some
   10959       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10960       # to ld, don't add -lc before -lgcc.
   10961       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10962 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10963 if test ${lt_cv_archive_cmds_need_lc+y}
   10964 then :
   10965   printf %s "(cached) " >&6
   10966 else $as_nop
   10967   $RM conftest*
   10968 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10969 
   10970 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10971   (eval $ac_compile) 2>&5
   10972   ac_status=$?
   10973   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10974   test $ac_status = 0; } 2>conftest.err; then
   10975 	  soname=conftest
   10976 	  lib=conftest
   10977 	  libobjs=conftest.$ac_objext
   10978 	  deplibs=
   10979 	  wl=$lt_prog_compiler_wl
   10980 	  pic_flag=$lt_prog_compiler_pic
   10981 	  compiler_flags=-v
   10982 	  linker_flags=-v
   10983 	  verstring=
   10984 	  output_objdir=.
   10985 	  libname=conftest
   10986 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10987 	  allow_undefined_flag=
   10988 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10989   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10990   ac_status=$?
   10991   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10992   test $ac_status = 0; }
   10993 	  then
   10994 	    lt_cv_archive_cmds_need_lc=no
   10995 	  else
   10996 	    lt_cv_archive_cmds_need_lc=yes
   10997 	  fi
   10998 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10999 	else
   11000 	  cat conftest.err 1>&5
   11001 	fi
   11002 	$RM conftest*
   11003 
   11004 fi
   11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11006 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11007       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11008       ;;
   11009     esac
   11010   fi
   11011   ;;
   11012 esac
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11166 printf %s "checking dynamic linker characteristics... " >&6; }
   11167 
   11168 if test yes = "$GCC"; then
   11169   case $host_os in
   11170     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11171     *) lt_awk_arg='/^libraries:/' ;;
   11172   esac
   11173   case $host_os in
   11174     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11175     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11176   esac
   11177   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11178   case $lt_search_path_spec in
   11179   *\;*)
   11180     # if the path contains ";" then we assume it to be the separator
   11181     # otherwise default to the standard path separator (i.e. ":") - it is
   11182     # assumed that no part of a normal pathname contains ";" but that should
   11183     # okay in the real world where ";" in dirpaths is itself problematic.
   11184     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11185     ;;
   11186   *)
   11187     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11188     ;;
   11189   esac
   11190   # Ok, now we have the path, separated by spaces, we can step through it
   11191   # and add multilib dir if necessary...
   11192   lt_tmp_lt_search_path_spec=
   11193   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11194   # ...but if some path component already ends with the multilib dir we assume
   11195   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11196   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11197   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11198     lt_multi_os_dir=
   11199     ;;
   11200   esac
   11201   for lt_sys_path in $lt_search_path_spec; do
   11202     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11203       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11204     elif test -n "$lt_multi_os_dir"; then
   11205       test -d "$lt_sys_path" && \
   11206 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11207     fi
   11208   done
   11209   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11210 BEGIN {RS = " "; FS = "/|\n";} {
   11211   lt_foo = "";
   11212   lt_count = 0;
   11213   for (lt_i = NF; lt_i > 0; lt_i--) {
   11214     if ($lt_i != "" && $lt_i != ".") {
   11215       if ($lt_i == "..") {
   11216         lt_count++;
   11217       } else {
   11218         if (lt_count == 0) {
   11219           lt_foo = "/" $lt_i lt_foo;
   11220         } else {
   11221           lt_count--;
   11222         }
   11223       }
   11224     }
   11225   }
   11226   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11227   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11228 }'`
   11229   # AWK program above erroneously prepends '/' to C:/dos/paths
   11230   # for these hosts.
   11231   case $host_os in
   11232     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11233       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11234   esac
   11235   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11236 else
   11237   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11238 fi
   11239 library_names_spec=
   11240 libname_spec='lib$name'
   11241 soname_spec=
   11242 shrext_cmds=.so
   11243 postinstall_cmds=
   11244 postuninstall_cmds=
   11245 finish_cmds=
   11246 finish_eval=
   11247 shlibpath_var=
   11248 shlibpath_overrides_runpath=unknown
   11249 version_type=none
   11250 dynamic_linker="$host_os ld.so"
   11251 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11252 need_lib_prefix=unknown
   11253 hardcode_into_libs=no
   11254 
   11255 # when you set need_version to no, make sure it does not cause -set_version
   11256 # flags to be left without arguments
   11257 need_version=unknown
   11258 
   11259 
   11260 
   11261 case $host_os in
   11262 aix3*)
   11263   version_type=linux # correct to gnu/linux during the next big refactor
   11264   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11265   shlibpath_var=LIBPATH
   11266 
   11267   # AIX 3 has no versioning support, so we append a major version to the name.
   11268   soname_spec='$libname$release$shared_ext$major'
   11269   ;;
   11270 
   11271 aix[4-9]*)
   11272   version_type=linux # correct to gnu/linux during the next big refactor
   11273   need_lib_prefix=no
   11274   need_version=no
   11275   hardcode_into_libs=yes
   11276   if test ia64 = "$host_cpu"; then
   11277     # AIX 5 supports IA64
   11278     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11279     shlibpath_var=LD_LIBRARY_PATH
   11280   else
   11281     # With GCC up to 2.95.x, collect2 would create an import file
   11282     # for dependence libraries.  The import file would start with
   11283     # the line '#! .'.  This would cause the generated library to
   11284     # depend on '.', always an invalid library.  This was fixed in
   11285     # development snapshots of GCC prior to 3.0.
   11286     case $host_os in
   11287       aix4 | aix4.[01] | aix4.[01].*)
   11288       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11289 	   echo ' yes '
   11290 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11291 	:
   11292       else
   11293 	can_build_shared=no
   11294       fi
   11295       ;;
   11296     esac
   11297     # Using Import Files as archive members, it is possible to support
   11298     # filename-based versioning of shared library archives on AIX. While
   11299     # this would work for both with and without runtime linking, it will
   11300     # prevent static linking of such archives. So we do filename-based
   11301     # shared library versioning with .so extension only, which is used
   11302     # when both runtime linking and shared linking is enabled.
   11303     # Unfortunately, runtime linking may impact performance, so we do
   11304     # not want this to be the default eventually. Also, we use the
   11305     # versioned .so libs for executables only if there is the -brtl
   11306     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11307     # To allow for filename-based versioning support, we need to create
   11308     # libNAME.so.V as an archive file, containing:
   11309     # *) an Import File, referring to the versioned filename of the
   11310     #    archive as well as the shared archive member, telling the
   11311     #    bitwidth (32 or 64) of that shared object, and providing the
   11312     #    list of exported symbols of that shared object, eventually
   11313     #    decorated with the 'weak' keyword
   11314     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11315     #    it being seen by the linker.
   11316     # At run time we better use the real file rather than another symlink,
   11317     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11318 
   11319     case $with_aix_soname,$aix_use_runtimelinking in
   11320     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11321     # soname into executable. Probably we can add versioning support to
   11322     # collect2, so additional links can be useful in future.
   11323     aix,yes) # traditional libtool
   11324       dynamic_linker='AIX unversionable lib.so'
   11325       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11326       # instead of lib<name>.a to let people know that these are not
   11327       # typical AIX shared libraries.
   11328       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11329       ;;
   11330     aix,no) # traditional AIX only
   11331       dynamic_linker='AIX lib.a(lib.so.V)'
   11332       # We preserve .a as extension for shared libraries through AIX4.2
   11333       # and later when we are not doing run time linking.
   11334       library_names_spec='$libname$release.a $libname.a'
   11335       soname_spec='$libname$release$shared_ext$major'
   11336       ;;
   11337     svr4,*) # full svr4 only
   11338       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11339       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11340       # We do not specify a path in Import Files, so LIBPATH fires.
   11341       shlibpath_overrides_runpath=yes
   11342       ;;
   11343     *,yes) # both, prefer svr4
   11344       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11345       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11346       # unpreferred sharedlib libNAME.a needs extra handling
   11347       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"'
   11348       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"'
   11349       # We do not specify a path in Import Files, so LIBPATH fires.
   11350       shlibpath_overrides_runpath=yes
   11351       ;;
   11352     *,no) # both, prefer aix
   11353       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11354       library_names_spec='$libname$release.a $libname.a'
   11355       soname_spec='$libname$release$shared_ext$major'
   11356       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11357       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)'
   11358       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"'
   11359       ;;
   11360     esac
   11361     shlibpath_var=LIBPATH
   11362   fi
   11363   ;;
   11364 
   11365 amigaos*)
   11366   case $host_cpu in
   11367   powerpc)
   11368     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11369     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11370     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11371     ;;
   11372   m68k)
   11373     library_names_spec='$libname.ixlibrary $libname.a'
   11374     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11375     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'
   11376     ;;
   11377   esac
   11378   ;;
   11379 
   11380 beos*)
   11381   library_names_spec='$libname$shared_ext'
   11382   dynamic_linker="$host_os ld.so"
   11383   shlibpath_var=LIBRARY_PATH
   11384   ;;
   11385 
   11386 bsdi[45]*)
   11387   version_type=linux # correct to gnu/linux during the next big refactor
   11388   need_version=no
   11389   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11390   soname_spec='$libname$release$shared_ext$major'
   11391   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11392   shlibpath_var=LD_LIBRARY_PATH
   11393   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11394   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11395   # the default ld.so.conf also contains /usr/contrib/lib and
   11396   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11397   # libtool to hard-code these into programs
   11398   ;;
   11399 
   11400 cygwin* | mingw* | pw32* | cegcc*)
   11401   version_type=windows
   11402   shrext_cmds=.dll
   11403   need_version=no
   11404   need_lib_prefix=no
   11405 
   11406   case $GCC,$cc_basename in
   11407   yes,*)
   11408     # gcc
   11409     library_names_spec='$libname.dll.a'
   11410     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11411     postinstall_cmds='base_file=`basename \$file`~
   11412       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11413       dldir=$destdir/`dirname \$dlpath`~
   11414       test -d \$dldir || mkdir -p \$dldir~
   11415       $install_prog $dir/$dlname \$dldir/$dlname~
   11416       chmod a+x \$dldir/$dlname~
   11417       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11418         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11419       fi'
   11420     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11421       dlpath=$dir/\$dldll~
   11422        $RM \$dlpath'
   11423     shlibpath_overrides_runpath=yes
   11424 
   11425     case $host_os in
   11426     cygwin*)
   11427       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11428       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11429 
   11430       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11431       ;;
   11432     mingw* | cegcc*)
   11433       # MinGW DLLs use traditional 'lib' prefix
   11434       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11435       ;;
   11436     pw32*)
   11437       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11438       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11439       ;;
   11440     esac
   11441     dynamic_linker='Win32 ld.exe'
   11442     ;;
   11443 
   11444   *,cl* | *,icl*)
   11445     # Native MSVC or ICC
   11446     libname_spec='$name'
   11447     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11448     library_names_spec='$libname.dll.lib'
   11449 
   11450     case $build_os in
   11451     mingw*)
   11452       sys_lib_search_path_spec=
   11453       lt_save_ifs=$IFS
   11454       IFS=';'
   11455       for lt_path in $LIB
   11456       do
   11457         IFS=$lt_save_ifs
   11458         # Let DOS variable expansion print the short 8.3 style file name.
   11459         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11460         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11461       done
   11462       IFS=$lt_save_ifs
   11463       # Convert to MSYS style.
   11464       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11465       ;;
   11466     cygwin*)
   11467       # Convert to unix form, then to dos form, then back to unix form
   11468       # but this time dos style (no spaces!) so that the unix form looks
   11469       # like /cygdrive/c/PROGRA~1:/cygdr...
   11470       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11471       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11472       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11473       ;;
   11474     *)
   11475       sys_lib_search_path_spec=$LIB
   11476       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11477         # It is most probably a Windows format PATH.
   11478         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11479       else
   11480         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11481       fi
   11482       # FIXME: find the short name or the path components, as spaces are
   11483       # common. (e.g. "Program Files" -> "PROGRA~1")
   11484       ;;
   11485     esac
   11486 
   11487     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11488     postinstall_cmds='base_file=`basename \$file`~
   11489       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11490       dldir=$destdir/`dirname \$dlpath`~
   11491       test -d \$dldir || mkdir -p \$dldir~
   11492       $install_prog $dir/$dlname \$dldir/$dlname'
   11493     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11494       dlpath=$dir/\$dldll~
   11495        $RM \$dlpath'
   11496     shlibpath_overrides_runpath=yes
   11497     dynamic_linker='Win32 link.exe'
   11498     ;;
   11499 
   11500   *)
   11501     # Assume MSVC and ICC wrapper
   11502     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11503     dynamic_linker='Win32 ld.exe'
   11504     ;;
   11505   esac
   11506   # FIXME: first we should search . and the directory the executable is in
   11507   shlibpath_var=PATH
   11508   ;;
   11509 
   11510 darwin* | rhapsody*)
   11511   dynamic_linker="$host_os dyld"
   11512   version_type=darwin
   11513   need_lib_prefix=no
   11514   need_version=no
   11515   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11516   soname_spec='$libname$release$major$shared_ext'
   11517   shlibpath_overrides_runpath=yes
   11518   shlibpath_var=DYLD_LIBRARY_PATH
   11519   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11520 
   11521   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11522   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11523   ;;
   11524 
   11525 dgux*)
   11526   version_type=linux # correct to gnu/linux during the next big refactor
   11527   need_lib_prefix=no
   11528   need_version=no
   11529   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11530   soname_spec='$libname$release$shared_ext$major'
   11531   shlibpath_var=LD_LIBRARY_PATH
   11532   ;;
   11533 
   11534 freebsd* | dragonfly* | midnightbsd*)
   11535   # DragonFly does not have aout.  When/if they implement a new
   11536   # versioning mechanism, adjust this.
   11537   if test -x /usr/bin/objformat; then
   11538     objformat=`/usr/bin/objformat`
   11539   else
   11540     case $host_os in
   11541     freebsd[23].*) objformat=aout ;;
   11542     *) objformat=elf ;;
   11543     esac
   11544   fi
   11545   version_type=freebsd-$objformat
   11546   case $version_type in
   11547     freebsd-elf*)
   11548       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11549       soname_spec='$libname$release$shared_ext$major'
   11550       need_version=no
   11551       need_lib_prefix=no
   11552       ;;
   11553     freebsd-*)
   11554       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11555       need_version=yes
   11556       ;;
   11557   esac
   11558   shlibpath_var=LD_LIBRARY_PATH
   11559   case $host_os in
   11560   freebsd2.*)
   11561     shlibpath_overrides_runpath=yes
   11562     ;;
   11563   freebsd3.[01]* | freebsdelf3.[01]*)
   11564     shlibpath_overrides_runpath=yes
   11565     hardcode_into_libs=yes
   11566     ;;
   11567   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11568   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11569     shlibpath_overrides_runpath=no
   11570     hardcode_into_libs=yes
   11571     ;;
   11572   *) # from 4.6 on, and DragonFly
   11573     shlibpath_overrides_runpath=yes
   11574     hardcode_into_libs=yes
   11575     ;;
   11576   esac
   11577   ;;
   11578 
   11579 haiku*)
   11580   version_type=linux # correct to gnu/linux during the next big refactor
   11581   need_lib_prefix=no
   11582   need_version=no
   11583   dynamic_linker="$host_os runtime_loader"
   11584   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11585   soname_spec='$libname$release$shared_ext$major'
   11586   shlibpath_var=LIBRARY_PATH
   11587   shlibpath_overrides_runpath=no
   11588   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11589   hardcode_into_libs=yes
   11590   ;;
   11591 
   11592 hpux9* | hpux10* | hpux11*)
   11593   # Give a soname corresponding to the major version so that dld.sl refuses to
   11594   # link against other versions.
   11595   version_type=sunos
   11596   need_lib_prefix=no
   11597   need_version=no
   11598   case $host_cpu in
   11599   ia64*)
   11600     shrext_cmds='.so'
   11601     hardcode_into_libs=yes
   11602     dynamic_linker="$host_os dld.so"
   11603     shlibpath_var=LD_LIBRARY_PATH
   11604     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11605     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11606     soname_spec='$libname$release$shared_ext$major'
   11607     if test 32 = "$HPUX_IA64_MODE"; then
   11608       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11609       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11610     else
   11611       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11612       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11613     fi
   11614     ;;
   11615   hppa*64*)
   11616     shrext_cmds='.sl'
   11617     hardcode_into_libs=yes
   11618     dynamic_linker="$host_os dld.sl"
   11619     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11620     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11621     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11622     soname_spec='$libname$release$shared_ext$major'
   11623     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11624     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11625     ;;
   11626   *)
   11627     shrext_cmds='.sl'
   11628     dynamic_linker="$host_os dld.sl"
   11629     shlibpath_var=SHLIB_PATH
   11630     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11631     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11632     soname_spec='$libname$release$shared_ext$major'
   11633     ;;
   11634   esac
   11635   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11636   postinstall_cmds='chmod 555 $lib'
   11637   # or fails outright, so override atomically:
   11638   install_override_mode=555
   11639   ;;
   11640 
   11641 interix[3-9]*)
   11642   version_type=linux # correct to gnu/linux during the next big refactor
   11643   need_lib_prefix=no
   11644   need_version=no
   11645   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11646   soname_spec='$libname$release$shared_ext$major'
   11647   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11648   shlibpath_var=LD_LIBRARY_PATH
   11649   shlibpath_overrides_runpath=no
   11650   hardcode_into_libs=yes
   11651   ;;
   11652 
   11653 irix5* | irix6* | nonstopux*)
   11654   case $host_os in
   11655     nonstopux*) version_type=nonstopux ;;
   11656     *)
   11657 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11658 		version_type=linux # correct to gnu/linux during the next big refactor
   11659 	else
   11660 		version_type=irix
   11661 	fi ;;
   11662   esac
   11663   need_lib_prefix=no
   11664   need_version=no
   11665   soname_spec='$libname$release$shared_ext$major'
   11666   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11667   case $host_os in
   11668   irix5* | nonstopux*)
   11669     libsuff= shlibsuff=
   11670     ;;
   11671   *)
   11672     case $LD in # libtool.m4 will add one of these switches to LD
   11673     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11674       libsuff= shlibsuff= libmagic=32-bit;;
   11675     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11676       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11677     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11678       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11679     *) libsuff= shlibsuff= libmagic=never-match;;
   11680     esac
   11681     ;;
   11682   esac
   11683   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11684   shlibpath_overrides_runpath=no
   11685   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11686   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11687   hardcode_into_libs=yes
   11688   ;;
   11689 
   11690 # No shared lib support for Linux oldld, aout, or coff.
   11691 linux*oldld* | linux*aout* | linux*coff*)
   11692   dynamic_linker=no
   11693   ;;
   11694 
   11695 linux*android*)
   11696   version_type=none # Android doesn't support versioned libraries.
   11697   need_lib_prefix=no
   11698   need_version=no
   11699   library_names_spec='$libname$release$shared_ext'
   11700   soname_spec='$libname$release$shared_ext'
   11701   finish_cmds=
   11702   shlibpath_var=LD_LIBRARY_PATH
   11703   shlibpath_overrides_runpath=yes
   11704 
   11705   # This implies no fast_install, which is unacceptable.
   11706   # Some rework will be needed to allow for fast_install
   11707   # before this can be enabled.
   11708   hardcode_into_libs=yes
   11709 
   11710   dynamic_linker='Android linker'
   11711   # Don't embed -rpath directories since the linker doesn't support them.
   11712   hardcode_libdir_flag_spec='-L$libdir'
   11713   ;;
   11714 
   11715 # This must be glibc/ELF.
   11716 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11717   version_type=linux # correct to gnu/linux during the next big refactor
   11718   need_lib_prefix=no
   11719   need_version=no
   11720   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11721   soname_spec='$libname$release$shared_ext$major'
   11722   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11723   shlibpath_var=LD_LIBRARY_PATH
   11724   shlibpath_overrides_runpath=no
   11725 
   11726   # Some binutils ld are patched to set DT_RUNPATH
   11727   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11728 then :
   11729   printf %s "(cached) " >&6
   11730 else $as_nop
   11731   lt_cv_shlibpath_overrides_runpath=no
   11732     save_LDFLAGS=$LDFLAGS
   11733     save_libdir=$libdir
   11734     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11735 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11736     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11737 /* end confdefs.h.  */
   11738 
   11739 int
   11740 main (void)
   11741 {
   11742 
   11743   ;
   11744   return 0;
   11745 }
   11746 _ACEOF
   11747 if ac_fn_c_try_link "$LINENO"
   11748 then :
   11749   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11750 then :
   11751   lt_cv_shlibpath_overrides_runpath=yes
   11752 fi
   11753 fi
   11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11755     conftest$ac_exeext conftest.$ac_ext
   11756     LDFLAGS=$save_LDFLAGS
   11757     libdir=$save_libdir
   11758 
   11759 fi
   11760 
   11761   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11762 
   11763   # This implies no fast_install, which is unacceptable.
   11764   # Some rework will be needed to allow for fast_install
   11765   # before this can be enabled.
   11766   hardcode_into_libs=yes
   11767 
   11768   # Add ABI-specific directories to the system library path.
   11769   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11770 
   11771   # Ideally, we could use ldconfig to report *all* directores which are
   11772   # searched for libraries, however this is still not possible.  Aside from not
   11773   # being certain /sbin/ldconfig is available, command
   11774   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11775   # even though it is searched at run-time.  Try to do the best guess by
   11776   # appending ld.so.conf contents (and includes) to the search path.
   11777   if test -f /etc/ld.so.conf; then
   11778     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' ' '`
   11779     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11780   fi
   11781 
   11782   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11783   # powerpc, because MkLinux only supported shared libraries with the
   11784   # GNU dynamic linker.  Since this was broken with cross compilers,
   11785   # most powerpc-linux boxes support dynamic linking these days and
   11786   # people can always --disable-shared, the test was removed, and we
   11787   # assume the GNU/Linux dynamic linker is in use.
   11788   dynamic_linker='GNU/Linux ld.so'
   11789   ;;
   11790 
   11791 netbsd*)
   11792   version_type=sunos
   11793   need_lib_prefix=no
   11794   need_version=no
   11795   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11796     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11797     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11798     dynamic_linker='NetBSD (a.out) ld.so'
   11799   else
   11800     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11801     soname_spec='$libname$release$shared_ext$major'
   11802     dynamic_linker='NetBSD ld.elf_so'
   11803   fi
   11804   shlibpath_var=LD_LIBRARY_PATH
   11805   shlibpath_overrides_runpath=yes
   11806   hardcode_into_libs=yes
   11807   ;;
   11808 
   11809 newsos6)
   11810   version_type=linux # correct to gnu/linux during the next big refactor
   11811   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11812   shlibpath_var=LD_LIBRARY_PATH
   11813   shlibpath_overrides_runpath=yes
   11814   ;;
   11815 
   11816 *nto* | *qnx*)
   11817   version_type=qnx
   11818   need_lib_prefix=no
   11819   need_version=no
   11820   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11821   soname_spec='$libname$release$shared_ext$major'
   11822   shlibpath_var=LD_LIBRARY_PATH
   11823   shlibpath_overrides_runpath=no
   11824   hardcode_into_libs=yes
   11825   dynamic_linker='ldqnx.so'
   11826   ;;
   11827 
   11828 openbsd* | bitrig*)
   11829   version_type=sunos
   11830   sys_lib_dlsearch_path_spec=/usr/lib
   11831   need_lib_prefix=no
   11832   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11833     need_version=no
   11834   else
   11835     need_version=yes
   11836   fi
   11837   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11838   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11839   shlibpath_var=LD_LIBRARY_PATH
   11840   shlibpath_overrides_runpath=yes
   11841   ;;
   11842 
   11843 os2*)
   11844   libname_spec='$name'
   11845   version_type=windows
   11846   shrext_cmds=.dll
   11847   need_version=no
   11848   need_lib_prefix=no
   11849   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11850   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11851     v=$($ECHO $release$versuffix | tr -d .-);
   11852     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11853     $ECHO $n$v`$shared_ext'
   11854   library_names_spec='${libname}_dll.$libext'
   11855   dynamic_linker='OS/2 ld.exe'
   11856   shlibpath_var=BEGINLIBPATH
   11857   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11858   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11859   postinstall_cmds='base_file=`basename \$file`~
   11860     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11861     dldir=$destdir/`dirname \$dlpath`~
   11862     test -d \$dldir || mkdir -p \$dldir~
   11863     $install_prog $dir/$dlname \$dldir/$dlname~
   11864     chmod a+x \$dldir/$dlname~
   11865     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11866       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11867     fi'
   11868   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11869     dlpath=$dir/\$dldll~
   11870     $RM \$dlpath'
   11871   ;;
   11872 
   11873 osf3* | osf4* | osf5*)
   11874   version_type=osf
   11875   need_lib_prefix=no
   11876   need_version=no
   11877   soname_spec='$libname$release$shared_ext$major'
   11878   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11879   shlibpath_var=LD_LIBRARY_PATH
   11880   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11881   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11882   ;;
   11883 
   11884 rdos*)
   11885   dynamic_linker=no
   11886   ;;
   11887 
   11888 solaris*)
   11889   version_type=linux # correct to gnu/linux during the next big refactor
   11890   need_lib_prefix=no
   11891   need_version=no
   11892   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11893   soname_spec='$libname$release$shared_ext$major'
   11894   shlibpath_var=LD_LIBRARY_PATH
   11895   shlibpath_overrides_runpath=yes
   11896   hardcode_into_libs=yes
   11897   # ldd complains unless libraries are executable
   11898   postinstall_cmds='chmod +x $lib'
   11899   ;;
   11900 
   11901 sunos4*)
   11902   version_type=sunos
   11903   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11904   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11905   shlibpath_var=LD_LIBRARY_PATH
   11906   shlibpath_overrides_runpath=yes
   11907   if test yes = "$with_gnu_ld"; then
   11908     need_lib_prefix=no
   11909   fi
   11910   need_version=yes
   11911   ;;
   11912 
   11913 sysv4 | sysv4.3*)
   11914   version_type=linux # correct to gnu/linux during the next big refactor
   11915   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11916   soname_spec='$libname$release$shared_ext$major'
   11917   shlibpath_var=LD_LIBRARY_PATH
   11918   case $host_vendor in
   11919     sni)
   11920       shlibpath_overrides_runpath=no
   11921       need_lib_prefix=no
   11922       runpath_var=LD_RUN_PATH
   11923       ;;
   11924     siemens)
   11925       need_lib_prefix=no
   11926       ;;
   11927     motorola)
   11928       need_lib_prefix=no
   11929       need_version=no
   11930       shlibpath_overrides_runpath=no
   11931       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11932       ;;
   11933   esac
   11934   ;;
   11935 
   11936 sysv4*MP*)
   11937   if test -d /usr/nec; then
   11938     version_type=linux # correct to gnu/linux during the next big refactor
   11939     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11940     soname_spec='$libname$shared_ext.$major'
   11941     shlibpath_var=LD_LIBRARY_PATH
   11942   fi
   11943   ;;
   11944 
   11945 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11946   version_type=sco
   11947   need_lib_prefix=no
   11948   need_version=no
   11949   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11950   soname_spec='$libname$release$shared_ext$major'
   11951   shlibpath_var=LD_LIBRARY_PATH
   11952   shlibpath_overrides_runpath=yes
   11953   hardcode_into_libs=yes
   11954   if test yes = "$with_gnu_ld"; then
   11955     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11956   else
   11957     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11958     case $host_os in
   11959       sco3.2v5*)
   11960         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11961 	;;
   11962     esac
   11963   fi
   11964   sys_lib_dlsearch_path_spec='/usr/lib'
   11965   ;;
   11966 
   11967 tpf*)
   11968   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11969   version_type=linux # correct to gnu/linux during the next big refactor
   11970   need_lib_prefix=no
   11971   need_version=no
   11972   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11973   shlibpath_var=LD_LIBRARY_PATH
   11974   shlibpath_overrides_runpath=no
   11975   hardcode_into_libs=yes
   11976   ;;
   11977 
   11978 uts4*)
   11979   version_type=linux # correct to gnu/linux during the next big refactor
   11980   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11981   soname_spec='$libname$release$shared_ext$major'
   11982   shlibpath_var=LD_LIBRARY_PATH
   11983   ;;
   11984 
   11985 *)
   11986   dynamic_linker=no
   11987   ;;
   11988 esac
   11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11990 printf "%s\n" "$dynamic_linker" >&6; }
   11991 test no = "$dynamic_linker" && can_build_shared=no
   11992 
   11993 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11994 if test yes = "$GCC"; then
   11995   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11996 fi
   11997 
   11998 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11999   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12000 fi
   12001 
   12002 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12003   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12004 fi
   12005 
   12006 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12007 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12008 
   12009 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12010 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12011 
   12012 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12013 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12112 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12113 hardcode_action=
   12114 if test -n "$hardcode_libdir_flag_spec" ||
   12115    test -n "$runpath_var" ||
   12116    test yes = "$hardcode_automatic"; then
   12117 
   12118   # We can hardcode non-existent directories.
   12119   if test no != "$hardcode_direct" &&
   12120      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12121      # have to relink, otherwise we might link with an installed library
   12122      # when we should be linking with a yet-to-be-installed one
   12123      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12124      test no != "$hardcode_minus_L"; then
   12125     # Linking always hardcodes the temporary library directory.
   12126     hardcode_action=relink
   12127   else
   12128     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12129     hardcode_action=immediate
   12130   fi
   12131 else
   12132   # We cannot hardcode anything, or else we can only hardcode existing
   12133   # directories.
   12134   hardcode_action=unsupported
   12135 fi
   12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12137 printf "%s\n" "$hardcode_action" >&6; }
   12138 
   12139 if test relink = "$hardcode_action" ||
   12140    test yes = "$inherit_rpath"; then
   12141   # Fast installation is not supported
   12142   enable_fast_install=no
   12143 elif test yes = "$shlibpath_overrides_runpath" ||
   12144      test no = "$enable_shared"; then
   12145   # Fast installation is not necessary
   12146   enable_fast_install=needless
   12147 fi
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154   if test yes != "$enable_dlopen"; then
   12155   enable_dlopen=unknown
   12156   enable_dlopen_self=unknown
   12157   enable_dlopen_self_static=unknown
   12158 else
   12159   lt_cv_dlopen=no
   12160   lt_cv_dlopen_libs=
   12161 
   12162   case $host_os in
   12163   beos*)
   12164     lt_cv_dlopen=load_add_on
   12165     lt_cv_dlopen_libs=
   12166     lt_cv_dlopen_self=yes
   12167     ;;
   12168 
   12169   mingw* | pw32* | cegcc*)
   12170     lt_cv_dlopen=LoadLibrary
   12171     lt_cv_dlopen_libs=
   12172     ;;
   12173 
   12174   cygwin*)
   12175     lt_cv_dlopen=dlopen
   12176     lt_cv_dlopen_libs=
   12177     ;;
   12178 
   12179   darwin*)
   12180     # if libdl is installed we need to link against it
   12181     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12182 printf %s "checking for dlopen in -ldl... " >&6; }
   12183 if test ${ac_cv_lib_dl_dlopen+y}
   12184 then :
   12185   printf %s "(cached) " >&6
   12186 else $as_nop
   12187   ac_check_lib_save_LIBS=$LIBS
   12188 LIBS="-ldl  $LIBS"
   12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12190 /* end confdefs.h.  */
   12191 
   12192 /* Override any GCC internal prototype to avoid an error.
   12193    Use char because int might match the return type of a GCC
   12194    builtin and then its argument prototype would still apply.  */
   12195 char dlopen ();
   12196 int
   12197 main (void)
   12198 {
   12199 return dlopen ();
   12200   ;
   12201   return 0;
   12202 }
   12203 _ACEOF
   12204 if ac_fn_c_try_link "$LINENO"
   12205 then :
   12206   ac_cv_lib_dl_dlopen=yes
   12207 else $as_nop
   12208   ac_cv_lib_dl_dlopen=no
   12209 fi
   12210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12211     conftest$ac_exeext conftest.$ac_ext
   12212 LIBS=$ac_check_lib_save_LIBS
   12213 fi
   12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12215 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12216 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12217 then :
   12218   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12219 else $as_nop
   12220 
   12221     lt_cv_dlopen=dyld
   12222     lt_cv_dlopen_libs=
   12223     lt_cv_dlopen_self=yes
   12224 
   12225 fi
   12226 
   12227     ;;
   12228 
   12229   tpf*)
   12230     # Don't try to run any link tests for TPF.  We know it's impossible
   12231     # because TPF is a cross-compiler, and we know how we open DSOs.
   12232     lt_cv_dlopen=dlopen
   12233     lt_cv_dlopen_libs=
   12234     lt_cv_dlopen_self=no
   12235     ;;
   12236 
   12237   *)
   12238     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12239 if test "x$ac_cv_func_shl_load" = xyes
   12240 then :
   12241   lt_cv_dlopen=shl_load
   12242 else $as_nop
   12243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12244 printf %s "checking for shl_load in -ldld... " >&6; }
   12245 if test ${ac_cv_lib_dld_shl_load+y}
   12246 then :
   12247   printf %s "(cached) " >&6
   12248 else $as_nop
   12249   ac_check_lib_save_LIBS=$LIBS
   12250 LIBS="-ldld  $LIBS"
   12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12252 /* end confdefs.h.  */
   12253 
   12254 /* Override any GCC internal prototype to avoid an error.
   12255    Use char because int might match the return type of a GCC
   12256    builtin and then its argument prototype would still apply.  */
   12257 char shl_load ();
   12258 int
   12259 main (void)
   12260 {
   12261 return shl_load ();
   12262   ;
   12263   return 0;
   12264 }
   12265 _ACEOF
   12266 if ac_fn_c_try_link "$LINENO"
   12267 then :
   12268   ac_cv_lib_dld_shl_load=yes
   12269 else $as_nop
   12270   ac_cv_lib_dld_shl_load=no
   12271 fi
   12272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12273     conftest$ac_exeext conftest.$ac_ext
   12274 LIBS=$ac_check_lib_save_LIBS
   12275 fi
   12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12277 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12278 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12279 then :
   12280   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12281 else $as_nop
   12282   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12283 if test "x$ac_cv_func_dlopen" = xyes
   12284 then :
   12285   lt_cv_dlopen=dlopen
   12286 else $as_nop
   12287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12288 printf %s "checking for dlopen in -ldl... " >&6; }
   12289 if test ${ac_cv_lib_dl_dlopen+y}
   12290 then :
   12291   printf %s "(cached) " >&6
   12292 else $as_nop
   12293   ac_check_lib_save_LIBS=$LIBS
   12294 LIBS="-ldl  $LIBS"
   12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12296 /* end confdefs.h.  */
   12297 
   12298 /* Override any GCC internal prototype to avoid an error.
   12299    Use char because int might match the return type of a GCC
   12300    builtin and then its argument prototype would still apply.  */
   12301 char dlopen ();
   12302 int
   12303 main (void)
   12304 {
   12305 return dlopen ();
   12306   ;
   12307   return 0;
   12308 }
   12309 _ACEOF
   12310 if ac_fn_c_try_link "$LINENO"
   12311 then :
   12312   ac_cv_lib_dl_dlopen=yes
   12313 else $as_nop
   12314   ac_cv_lib_dl_dlopen=no
   12315 fi
   12316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12317     conftest$ac_exeext conftest.$ac_ext
   12318 LIBS=$ac_check_lib_save_LIBS
   12319 fi
   12320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12321 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12322 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12323 then :
   12324   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12325 else $as_nop
   12326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12327 printf %s "checking for dlopen in -lsvld... " >&6; }
   12328 if test ${ac_cv_lib_svld_dlopen+y}
   12329 then :
   12330   printf %s "(cached) " >&6
   12331 else $as_nop
   12332   ac_check_lib_save_LIBS=$LIBS
   12333 LIBS="-lsvld  $LIBS"
   12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12335 /* end confdefs.h.  */
   12336 
   12337 /* Override any GCC internal prototype to avoid an error.
   12338    Use char because int might match the return type of a GCC
   12339    builtin and then its argument prototype would still apply.  */
   12340 char dlopen ();
   12341 int
   12342 main (void)
   12343 {
   12344 return dlopen ();
   12345   ;
   12346   return 0;
   12347 }
   12348 _ACEOF
   12349 if ac_fn_c_try_link "$LINENO"
   12350 then :
   12351   ac_cv_lib_svld_dlopen=yes
   12352 else $as_nop
   12353   ac_cv_lib_svld_dlopen=no
   12354 fi
   12355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12356     conftest$ac_exeext conftest.$ac_ext
   12357 LIBS=$ac_check_lib_save_LIBS
   12358 fi
   12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12360 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12361 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12362 then :
   12363   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12364 else $as_nop
   12365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12366 printf %s "checking for dld_link in -ldld... " >&6; }
   12367 if test ${ac_cv_lib_dld_dld_link+y}
   12368 then :
   12369   printf %s "(cached) " >&6
   12370 else $as_nop
   12371   ac_check_lib_save_LIBS=$LIBS
   12372 LIBS="-ldld  $LIBS"
   12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12374 /* end confdefs.h.  */
   12375 
   12376 /* Override any GCC internal prototype to avoid an error.
   12377    Use char because int might match the return type of a GCC
   12378    builtin and then its argument prototype would still apply.  */
   12379 char dld_link ();
   12380 int
   12381 main (void)
   12382 {
   12383 return dld_link ();
   12384   ;
   12385   return 0;
   12386 }
   12387 _ACEOF
   12388 if ac_fn_c_try_link "$LINENO"
   12389 then :
   12390   ac_cv_lib_dld_dld_link=yes
   12391 else $as_nop
   12392   ac_cv_lib_dld_dld_link=no
   12393 fi
   12394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12395     conftest$ac_exeext conftest.$ac_ext
   12396 LIBS=$ac_check_lib_save_LIBS
   12397 fi
   12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12399 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12400 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12401 then :
   12402   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12403 fi
   12404 
   12405 
   12406 fi
   12407 
   12408 
   12409 fi
   12410 
   12411 
   12412 fi
   12413 
   12414 
   12415 fi
   12416 
   12417 
   12418 fi
   12419 
   12420     ;;
   12421   esac
   12422 
   12423   if test no = "$lt_cv_dlopen"; then
   12424     enable_dlopen=no
   12425   else
   12426     enable_dlopen=yes
   12427   fi
   12428 
   12429   case $lt_cv_dlopen in
   12430   dlopen)
   12431     save_CPPFLAGS=$CPPFLAGS
   12432     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12433 
   12434     save_LDFLAGS=$LDFLAGS
   12435     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12436 
   12437     save_LIBS=$LIBS
   12438     LIBS="$lt_cv_dlopen_libs $LIBS"
   12439 
   12440     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12441 printf %s "checking whether a program can dlopen itself... " >&6; }
   12442 if test ${lt_cv_dlopen_self+y}
   12443 then :
   12444   printf %s "(cached) " >&6
   12445 else $as_nop
   12446   	  if test yes = "$cross_compiling"; then :
   12447   lt_cv_dlopen_self=cross
   12448 else
   12449   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12450   lt_status=$lt_dlunknown
   12451   cat > conftest.$ac_ext <<_LT_EOF
   12452 #line $LINENO "configure"
   12453 #include "confdefs.h"
   12454 
   12455 #if HAVE_DLFCN_H
   12456 #include <dlfcn.h>
   12457 #endif
   12458 
   12459 #include <stdio.h>
   12460 
   12461 #ifdef RTLD_GLOBAL
   12462 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12463 #else
   12464 #  ifdef DL_GLOBAL
   12465 #    define LT_DLGLOBAL		DL_GLOBAL
   12466 #  else
   12467 #    define LT_DLGLOBAL		0
   12468 #  endif
   12469 #endif
   12470 
   12471 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12472    find out it does not work in some platform. */
   12473 #ifndef LT_DLLAZY_OR_NOW
   12474 #  ifdef RTLD_LAZY
   12475 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12476 #  else
   12477 #    ifdef DL_LAZY
   12478 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12479 #    else
   12480 #      ifdef RTLD_NOW
   12481 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12482 #      else
   12483 #        ifdef DL_NOW
   12484 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12485 #        else
   12486 #          define LT_DLLAZY_OR_NOW	0
   12487 #        endif
   12488 #      endif
   12489 #    endif
   12490 #  endif
   12491 #endif
   12492 
   12493 /* When -fvisibility=hidden is used, assume the code has been annotated
   12494    correspondingly for the symbols needed.  */
   12495 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12496 int fnord () __attribute__((visibility("default")));
   12497 #endif
   12498 
   12499 int fnord () { return 42; }
   12500 int main ()
   12501 {
   12502   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12503   int status = $lt_dlunknown;
   12504 
   12505   if (self)
   12506     {
   12507       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12508       else
   12509         {
   12510 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12511           else puts (dlerror ());
   12512 	}
   12513       /* dlclose (self); */
   12514     }
   12515   else
   12516     puts (dlerror ());
   12517 
   12518   return status;
   12519 }
   12520 _LT_EOF
   12521   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12522   (eval $ac_link) 2>&5
   12523   ac_status=$?
   12524   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12525   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12526     (./conftest; exit; ) >&5 2>/dev/null
   12527     lt_status=$?
   12528     case x$lt_status in
   12529       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12530       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12531       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12532     esac
   12533   else :
   12534     # compilation failed
   12535     lt_cv_dlopen_self=no
   12536   fi
   12537 fi
   12538 rm -fr conftest*
   12539 
   12540 
   12541 fi
   12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12543 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12544 
   12545     if test yes = "$lt_cv_dlopen_self"; then
   12546       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12547       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12548 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12549 if test ${lt_cv_dlopen_self_static+y}
   12550 then :
   12551   printf %s "(cached) " >&6
   12552 else $as_nop
   12553   	  if test yes = "$cross_compiling"; then :
   12554   lt_cv_dlopen_self_static=cross
   12555 else
   12556   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12557   lt_status=$lt_dlunknown
   12558   cat > conftest.$ac_ext <<_LT_EOF
   12559 #line $LINENO "configure"
   12560 #include "confdefs.h"
   12561 
   12562 #if HAVE_DLFCN_H
   12563 #include <dlfcn.h>
   12564 #endif
   12565 
   12566 #include <stdio.h>
   12567 
   12568 #ifdef RTLD_GLOBAL
   12569 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12570 #else
   12571 #  ifdef DL_GLOBAL
   12572 #    define LT_DLGLOBAL		DL_GLOBAL
   12573 #  else
   12574 #    define LT_DLGLOBAL		0
   12575 #  endif
   12576 #endif
   12577 
   12578 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12579    find out it does not work in some platform. */
   12580 #ifndef LT_DLLAZY_OR_NOW
   12581 #  ifdef RTLD_LAZY
   12582 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12583 #  else
   12584 #    ifdef DL_LAZY
   12585 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12586 #    else
   12587 #      ifdef RTLD_NOW
   12588 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12589 #      else
   12590 #        ifdef DL_NOW
   12591 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12592 #        else
   12593 #          define LT_DLLAZY_OR_NOW	0
   12594 #        endif
   12595 #      endif
   12596 #    endif
   12597 #  endif
   12598 #endif
   12599 
   12600 /* When -fvisibility=hidden is used, assume the code has been annotated
   12601    correspondingly for the symbols needed.  */
   12602 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12603 int fnord () __attribute__((visibility("default")));
   12604 #endif
   12605 
   12606 int fnord () { return 42; }
   12607 int main ()
   12608 {
   12609   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12610   int status = $lt_dlunknown;
   12611 
   12612   if (self)
   12613     {
   12614       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12615       else
   12616         {
   12617 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12618           else puts (dlerror ());
   12619 	}
   12620       /* dlclose (self); */
   12621     }
   12622   else
   12623     puts (dlerror ());
   12624 
   12625   return status;
   12626 }
   12627 _LT_EOF
   12628   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12629   (eval $ac_link) 2>&5
   12630   ac_status=$?
   12631   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12632   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12633     (./conftest; exit; ) >&5 2>/dev/null
   12634     lt_status=$?
   12635     case x$lt_status in
   12636       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12637       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12638       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12639     esac
   12640   else :
   12641     # compilation failed
   12642     lt_cv_dlopen_self_static=no
   12643   fi
   12644 fi
   12645 rm -fr conftest*
   12646 
   12647 
   12648 fi
   12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12650 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12651     fi
   12652 
   12653     CPPFLAGS=$save_CPPFLAGS
   12654     LDFLAGS=$save_LDFLAGS
   12655     LIBS=$save_LIBS
   12656     ;;
   12657   esac
   12658 
   12659   case $lt_cv_dlopen_self in
   12660   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12661   *) enable_dlopen_self=unknown ;;
   12662   esac
   12663 
   12664   case $lt_cv_dlopen_self_static in
   12665   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12666   *) enable_dlopen_self_static=unknown ;;
   12667   esac
   12668 fi
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 striplib=
   12687 old_striplib=
   12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12689 printf %s "checking whether stripping libraries is possible... " >&6; }
   12690 if test -z "$STRIP"; then
   12691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12692 printf "%s\n" "no" >&6; }
   12693 else
   12694   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12695     old_striplib="$STRIP --strip-debug"
   12696     striplib="$STRIP --strip-unneeded"
   12697     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12698 printf "%s\n" "yes" >&6; }
   12699   else
   12700     case $host_os in
   12701     darwin*)
   12702       # FIXME - insert some real tests, host_os isn't really good enough
   12703       striplib="$STRIP -x"
   12704       old_striplib="$STRIP -S"
   12705       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12706 printf "%s\n" "yes" >&6; }
   12707       ;;
   12708     freebsd*)
   12709       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12710         old_striplib="$STRIP --strip-debug"
   12711         striplib="$STRIP --strip-unneeded"
   12712         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12713 printf "%s\n" "yes" >&6; }
   12714       else
   12715         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12716 printf "%s\n" "no" >&6; }
   12717       fi
   12718       ;;
   12719     *)
   12720       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12721 printf "%s\n" "no" >&6; }
   12722       ;;
   12723     esac
   12724   fi
   12725 fi
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738   # Report what library types will actually be built
   12739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12740 printf %s "checking if libtool supports shared libraries... " >&6; }
   12741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12742 printf "%s\n" "$can_build_shared" >&6; }
   12743 
   12744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12745 printf %s "checking whether to build shared libraries... " >&6; }
   12746   test no = "$can_build_shared" && enable_shared=no
   12747 
   12748   # On AIX, shared libraries and static libraries use the same namespace, and
   12749   # are all built from PIC.
   12750   case $host_os in
   12751   aix3*)
   12752     test yes = "$enable_shared" && enable_static=no
   12753     if test -n "$RANLIB"; then
   12754       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12755       postinstall_cmds='$RANLIB $lib'
   12756     fi
   12757     ;;
   12758 
   12759   aix[4-9]*)
   12760     if test ia64 != "$host_cpu"; then
   12761       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12762       yes,aix,yes) ;;			# shared object as lib.so file only
   12763       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12764       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12765       esac
   12766     fi
   12767     ;;
   12768   esac
   12769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12770 printf "%s\n" "$enable_shared" >&6; }
   12771 
   12772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12773 printf %s "checking whether to build static libraries... " >&6; }
   12774   # Make sure either enable_shared or enable_static is yes.
   12775   test yes = "$enable_shared" || enable_static=yes
   12776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12777 printf "%s\n" "$enable_static" >&6; }
   12778 
   12779 
   12780 
   12781 
   12782 fi
   12783 ac_ext=c
   12784 ac_cpp='$CPP $CPPFLAGS'
   12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12788 
   12789 CC=$lt_save_CC
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805         ac_config_commands="$ac_config_commands libtool"
   12806 
   12807 
   12808 
   12809 
   12810 # Only expand once:
   12811 
   12812 
   12813 
   12814 # Require xorg-macros minimum of 1.12 for DocBook external references
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12828 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12829 if test ${ac_cv_c_undeclared_builtin_options+y}
   12830 then :
   12831   printf %s "(cached) " >&6
   12832 else $as_nop
   12833   ac_save_CFLAGS=$CFLAGS
   12834    ac_cv_c_undeclared_builtin_options='cannot detect'
   12835    for ac_arg in '' -fno-builtin; do
   12836      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12837      # This test program should *not* compile successfully.
   12838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12839 /* end confdefs.h.  */
   12840 
   12841 int
   12842 main (void)
   12843 {
   12844 (void) strchr;
   12845   ;
   12846   return 0;
   12847 }
   12848 _ACEOF
   12849 if ac_fn_c_try_compile "$LINENO"
   12850 then :
   12851 
   12852 else $as_nop
   12853   # This test program should compile successfully.
   12854         # No library function is consistently available on
   12855         # freestanding implementations, so test against a dummy
   12856         # declaration.  Include always-available headers on the
   12857         # off chance that they somehow elicit warnings.
   12858         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12859 /* end confdefs.h.  */
   12860 #include <float.h>
   12861 #include <limits.h>
   12862 #include <stdarg.h>
   12863 #include <stddef.h>
   12864 extern void ac_decl (int, char *);
   12865 
   12866 int
   12867 main (void)
   12868 {
   12869 (void) ac_decl (0, (char *) 0);
   12870   (void) ac_decl;
   12871 
   12872   ;
   12873   return 0;
   12874 }
   12875 _ACEOF
   12876 if ac_fn_c_try_compile "$LINENO"
   12877 then :
   12878   if test x"$ac_arg" = x
   12879 then :
   12880   ac_cv_c_undeclared_builtin_options='none needed'
   12881 else $as_nop
   12882   ac_cv_c_undeclared_builtin_options=$ac_arg
   12883 fi
   12884           break
   12885 fi
   12886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12887 fi
   12888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12889     done
   12890     CFLAGS=$ac_save_CFLAGS
   12891 
   12892 fi
   12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12894 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12895   case $ac_cv_c_undeclared_builtin_options in #(
   12896   'cannot detect') :
   12897     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12898 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12899 as_fn_error $? "cannot make $CC report undeclared builtins
   12900 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12901   'none needed') :
   12902     ac_c_undeclared_builtin_options='' ;; #(
   12903   *) :
   12904     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12905 esac
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12912 if test "x$ac_cv_have_decl___clang__" = xyes
   12913 then :
   12914   CLANGCC="yes"
   12915 else $as_nop
   12916   CLANGCC="no"
   12917 fi
   12918 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12919 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12920 then :
   12921   INTELCC="yes"
   12922 else $as_nop
   12923   INTELCC="no"
   12924 fi
   12925 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12926 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12927 then :
   12928   SUNCC="yes"
   12929 else $as_nop
   12930   SUNCC="no"
   12931 fi
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12941 	if test -n "$ac_tool_prefix"; then
   12942   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12943 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12945 printf %s "checking for $ac_word... " >&6; }
   12946 if test ${ac_cv_path_PKG_CONFIG+y}
   12947 then :
   12948   printf %s "(cached) " >&6
   12949 else $as_nop
   12950   case $PKG_CONFIG in
   12951   [\\/]* | ?:[\\/]*)
   12952   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12953   ;;
   12954   *)
   12955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12956 for as_dir in $PATH
   12957 do
   12958   IFS=$as_save_IFS
   12959   case $as_dir in #(((
   12960     '') as_dir=./ ;;
   12961     */) ;;
   12962     *) as_dir=$as_dir/ ;;
   12963   esac
   12964     for ac_exec_ext in '' $ac_executable_extensions; do
   12965   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12966     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12967     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12968     break 2
   12969   fi
   12970 done
   12971   done
   12972 IFS=$as_save_IFS
   12973 
   12974   ;;
   12975 esac
   12976 fi
   12977 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12978 if test -n "$PKG_CONFIG"; then
   12979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12980 printf "%s\n" "$PKG_CONFIG" >&6; }
   12981 else
   12982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12983 printf "%s\n" "no" >&6; }
   12984 fi
   12985 
   12986 
   12987 fi
   12988 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12989   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12990   # Extract the first word of "pkg-config", so it can be a program name with args.
   12991 set dummy pkg-config; ac_word=$2
   12992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12993 printf %s "checking for $ac_word... " >&6; }
   12994 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12995 then :
   12996   printf %s "(cached) " >&6
   12997 else $as_nop
   12998   case $ac_pt_PKG_CONFIG in
   12999   [\\/]* | ?:[\\/]*)
   13000   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13001   ;;
   13002   *)
   13003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13004 for as_dir in $PATH
   13005 do
   13006   IFS=$as_save_IFS
   13007   case $as_dir in #(((
   13008     '') as_dir=./ ;;
   13009     */) ;;
   13010     *) as_dir=$as_dir/ ;;
   13011   esac
   13012     for ac_exec_ext in '' $ac_executable_extensions; do
   13013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13014     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13016     break 2
   13017   fi
   13018 done
   13019   done
   13020 IFS=$as_save_IFS
   13021 
   13022   ;;
   13023 esac
   13024 fi
   13025 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13026 if test -n "$ac_pt_PKG_CONFIG"; then
   13027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13028 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13029 else
   13030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13031 printf "%s\n" "no" >&6; }
   13032 fi
   13033 
   13034   if test "x$ac_pt_PKG_CONFIG" = x; then
   13035     PKG_CONFIG=""
   13036   else
   13037     case $cross_compiling:$ac_tool_warned in
   13038 yes:)
   13039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13040 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13041 ac_tool_warned=yes ;;
   13042 esac
   13043     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13044   fi
   13045 else
   13046   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13047 fi
   13048 
   13049 fi
   13050 if test -n "$PKG_CONFIG"; then
   13051 	_pkg_min_version=0.9.0
   13052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13053 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13054 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13056 printf "%s\n" "yes" >&6; }
   13057 	else
   13058 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13059 printf "%s\n" "no" >&6; }
   13060 		PKG_CONFIG=""
   13061 	fi
   13062 fi
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 # Check whether --enable-selective-werror was given.
   13069 if test ${enable_selective_werror+y}
   13070 then :
   13071   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13072 else $as_nop
   13073   SELECTIVE_WERROR=yes
   13074 fi
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13081 if test "x$SUNCC" = "xyes"; then
   13082     BASE_CFLAGS="-v"
   13083 else
   13084     BASE_CFLAGS=""
   13085 fi
   13086 
   13087 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 xorg_testset_save_CFLAGS="$CFLAGS"
   13102 
   13103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13108 then :
   13109   printf %s "(cached) " >&6
   13110 else $as_nop
   13111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13112 /* end confdefs.h.  */
   13113 int i;
   13114 _ACEOF
   13115 if ac_fn_c_try_compile "$LINENO"
   13116 then :
   13117   xorg_cv_cc_flag_unknown_warning_option=yes
   13118 else $as_nop
   13119   xorg_cv_cc_flag_unknown_warning_option=no
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13122 fi
   13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13126 	CFLAGS="$xorg_testset_save_CFLAGS"
   13127 fi
   13128 
   13129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13132 	fi
   13133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13137 then :
   13138   printf %s "(cached) " >&6
   13139 else $as_nop
   13140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13141 /* end confdefs.h.  */
   13142 int i;
   13143 _ACEOF
   13144 if ac_fn_c_try_compile "$LINENO"
   13145 then :
   13146   xorg_cv_cc_flag_unused_command_line_argument=yes
   13147 else $as_nop
   13148   xorg_cv_cc_flag_unused_command_line_argument=no
   13149 fi
   13150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13151 fi
   13152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13155 	CFLAGS="$xorg_testset_save_CFLAGS"
   13156 fi
   13157 
   13158 found="no"
   13159 
   13160 	if test $found = "no" ; then
   13161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13163 		fi
   13164 
   13165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13167 		fi
   13168 
   13169 		CFLAGS="$CFLAGS -Wall"
   13170 
   13171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13172 printf %s "checking if $CC supports -Wall... " >&6; }
   13173 		cacheid=xorg_cv_cc_flag__Wall
   13174 		if eval test \${$cacheid+y}
   13175 then :
   13176   printf %s "(cached) " >&6
   13177 else $as_nop
   13178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13179 /* end confdefs.h.  */
   13180 int i;
   13181 int
   13182 main (void)
   13183 {
   13184 
   13185   ;
   13186   return 0;
   13187 }
   13188 _ACEOF
   13189 if ac_fn_c_try_link "$LINENO"
   13190 then :
   13191   eval $cacheid=yes
   13192 else $as_nop
   13193   eval $cacheid=no
   13194 fi
   13195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13196     conftest$ac_exeext conftest.$ac_ext
   13197 fi
   13198 
   13199 
   13200 		CFLAGS="$xorg_testset_save_CFLAGS"
   13201 
   13202 		eval supported=\$$cacheid
   13203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13204 printf "%s\n" "$supported" >&6; }
   13205 		if test "$supported" = "yes" ; then
   13206 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13207 			found="yes"
   13208 		fi
   13209 	fi
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 xorg_testset_save_CFLAGS="$CFLAGS"
   13226 
   13227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13230 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13231 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13232 then :
   13233   printf %s "(cached) " >&6
   13234 else $as_nop
   13235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 int i;
   13238 _ACEOF
   13239 if ac_fn_c_try_compile "$LINENO"
   13240 then :
   13241   xorg_cv_cc_flag_unknown_warning_option=yes
   13242 else $as_nop
   13243   xorg_cv_cc_flag_unknown_warning_option=no
   13244 fi
   13245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13246 fi
   13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13248 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13250 	CFLAGS="$xorg_testset_save_CFLAGS"
   13251 fi
   13252 
   13253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13256 	fi
   13257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13259 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13260 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13261 then :
   13262   printf %s "(cached) " >&6
   13263 else $as_nop
   13264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13265 /* end confdefs.h.  */
   13266 int i;
   13267 _ACEOF
   13268 if ac_fn_c_try_compile "$LINENO"
   13269 then :
   13270   xorg_cv_cc_flag_unused_command_line_argument=yes
   13271 else $as_nop
   13272   xorg_cv_cc_flag_unused_command_line_argument=no
   13273 fi
   13274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13275 fi
   13276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13277 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13279 	CFLAGS="$xorg_testset_save_CFLAGS"
   13280 fi
   13281 
   13282 found="no"
   13283 
   13284 	if test $found = "no" ; then
   13285 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13287 		fi
   13288 
   13289 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13291 		fi
   13292 
   13293 		CFLAGS="$CFLAGS -Wpointer-arith"
   13294 
   13295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13296 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13297 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13298 		if eval test \${$cacheid+y}
   13299 then :
   13300   printf %s "(cached) " >&6
   13301 else $as_nop
   13302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13303 /* end confdefs.h.  */
   13304 int i;
   13305 int
   13306 main (void)
   13307 {
   13308 
   13309   ;
   13310   return 0;
   13311 }
   13312 _ACEOF
   13313 if ac_fn_c_try_link "$LINENO"
   13314 then :
   13315   eval $cacheid=yes
   13316 else $as_nop
   13317   eval $cacheid=no
   13318 fi
   13319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13320     conftest$ac_exeext conftest.$ac_ext
   13321 fi
   13322 
   13323 
   13324 		CFLAGS="$xorg_testset_save_CFLAGS"
   13325 
   13326 		eval supported=\$$cacheid
   13327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13328 printf "%s\n" "$supported" >&6; }
   13329 		if test "$supported" = "yes" ; then
   13330 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13331 			found="yes"
   13332 		fi
   13333 	fi
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 xorg_testset_save_CFLAGS="$CFLAGS"
   13350 
   13351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13356 then :
   13357   printf %s "(cached) " >&6
   13358 else $as_nop
   13359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13360 /* end confdefs.h.  */
   13361 int i;
   13362 _ACEOF
   13363 if ac_fn_c_try_compile "$LINENO"
   13364 then :
   13365   xorg_cv_cc_flag_unknown_warning_option=yes
   13366 else $as_nop
   13367   xorg_cv_cc_flag_unknown_warning_option=no
   13368 fi
   13369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13370 fi
   13371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13372 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13374 	CFLAGS="$xorg_testset_save_CFLAGS"
   13375 fi
   13376 
   13377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13380 	fi
   13381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13383 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13384 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13385 then :
   13386   printf %s "(cached) " >&6
   13387 else $as_nop
   13388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13389 /* end confdefs.h.  */
   13390 int i;
   13391 _ACEOF
   13392 if ac_fn_c_try_compile "$LINENO"
   13393 then :
   13394   xorg_cv_cc_flag_unused_command_line_argument=yes
   13395 else $as_nop
   13396   xorg_cv_cc_flag_unused_command_line_argument=no
   13397 fi
   13398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13399 fi
   13400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13401 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13403 	CFLAGS="$xorg_testset_save_CFLAGS"
   13404 fi
   13405 
   13406 found="no"
   13407 
   13408 	if test $found = "no" ; then
   13409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13411 		fi
   13412 
   13413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13415 		fi
   13416 
   13417 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13418 
   13419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13420 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13421 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13422 		if eval test \${$cacheid+y}
   13423 then :
   13424   printf %s "(cached) " >&6
   13425 else $as_nop
   13426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13427 /* end confdefs.h.  */
   13428 int i;
   13429 int
   13430 main (void)
   13431 {
   13432 
   13433   ;
   13434   return 0;
   13435 }
   13436 _ACEOF
   13437 if ac_fn_c_try_link "$LINENO"
   13438 then :
   13439   eval $cacheid=yes
   13440 else $as_nop
   13441   eval $cacheid=no
   13442 fi
   13443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13444     conftest$ac_exeext conftest.$ac_ext
   13445 fi
   13446 
   13447 
   13448 		CFLAGS="$xorg_testset_save_CFLAGS"
   13449 
   13450 		eval supported=\$$cacheid
   13451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13452 printf "%s\n" "$supported" >&6; }
   13453 		if test "$supported" = "yes" ; then
   13454 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13455 			found="yes"
   13456 		fi
   13457 	fi
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 xorg_testset_save_CFLAGS="$CFLAGS"
   13474 
   13475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13478 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13479 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13480 then :
   13481   printf %s "(cached) " >&6
   13482 else $as_nop
   13483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13484 /* end confdefs.h.  */
   13485 int i;
   13486 _ACEOF
   13487 if ac_fn_c_try_compile "$LINENO"
   13488 then :
   13489   xorg_cv_cc_flag_unknown_warning_option=yes
   13490 else $as_nop
   13491   xorg_cv_cc_flag_unknown_warning_option=no
   13492 fi
   13493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13494 fi
   13495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13498 	CFLAGS="$xorg_testset_save_CFLAGS"
   13499 fi
   13500 
   13501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13504 	fi
   13505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13509 then :
   13510   printf %s "(cached) " >&6
   13511 else $as_nop
   13512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13513 /* end confdefs.h.  */
   13514 int i;
   13515 _ACEOF
   13516 if ac_fn_c_try_compile "$LINENO"
   13517 then :
   13518   xorg_cv_cc_flag_unused_command_line_argument=yes
   13519 else $as_nop
   13520   xorg_cv_cc_flag_unused_command_line_argument=no
   13521 fi
   13522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13523 fi
   13524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13525 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13527 	CFLAGS="$xorg_testset_save_CFLAGS"
   13528 fi
   13529 
   13530 found="no"
   13531 
   13532 	if test $found = "no" ; then
   13533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13535 		fi
   13536 
   13537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13539 		fi
   13540 
   13541 		CFLAGS="$CFLAGS -Wformat=2"
   13542 
   13543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13544 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13545 		cacheid=xorg_cv_cc_flag__Wformat_2
   13546 		if eval test \${$cacheid+y}
   13547 then :
   13548   printf %s "(cached) " >&6
   13549 else $as_nop
   13550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13551 /* end confdefs.h.  */
   13552 int i;
   13553 int
   13554 main (void)
   13555 {
   13556 
   13557   ;
   13558   return 0;
   13559 }
   13560 _ACEOF
   13561 if ac_fn_c_try_link "$LINENO"
   13562 then :
   13563   eval $cacheid=yes
   13564 else $as_nop
   13565   eval $cacheid=no
   13566 fi
   13567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13568     conftest$ac_exeext conftest.$ac_ext
   13569 fi
   13570 
   13571 
   13572 		CFLAGS="$xorg_testset_save_CFLAGS"
   13573 
   13574 		eval supported=\$$cacheid
   13575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13576 printf "%s\n" "$supported" >&6; }
   13577 		if test "$supported" = "yes" ; then
   13578 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13579 			found="yes"
   13580 		fi
   13581 	fi
   13582 
   13583 	if test $found = "no" ; then
   13584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13586 		fi
   13587 
   13588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13590 		fi
   13591 
   13592 		CFLAGS="$CFLAGS -Wformat"
   13593 
   13594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13595 printf %s "checking if $CC supports -Wformat... " >&6; }
   13596 		cacheid=xorg_cv_cc_flag__Wformat
   13597 		if eval test \${$cacheid+y}
   13598 then :
   13599   printf %s "(cached) " >&6
   13600 else $as_nop
   13601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13602 /* end confdefs.h.  */
   13603 int i;
   13604 int
   13605 main (void)
   13606 {
   13607 
   13608   ;
   13609   return 0;
   13610 }
   13611 _ACEOF
   13612 if ac_fn_c_try_link "$LINENO"
   13613 then :
   13614   eval $cacheid=yes
   13615 else $as_nop
   13616   eval $cacheid=no
   13617 fi
   13618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13619     conftest$ac_exeext conftest.$ac_ext
   13620 fi
   13621 
   13622 
   13623 		CFLAGS="$xorg_testset_save_CFLAGS"
   13624 
   13625 		eval supported=\$$cacheid
   13626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13627 printf "%s\n" "$supported" >&6; }
   13628 		if test "$supported" = "yes" ; then
   13629 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13630 			found="yes"
   13631 		fi
   13632 	fi
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 xorg_testset_save_CFLAGS="$CFLAGS"
   13651 
   13652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13655 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13656 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13657 then :
   13658   printf %s "(cached) " >&6
   13659 else $as_nop
   13660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13661 /* end confdefs.h.  */
   13662 int i;
   13663 _ACEOF
   13664 if ac_fn_c_try_compile "$LINENO"
   13665 then :
   13666   xorg_cv_cc_flag_unknown_warning_option=yes
   13667 else $as_nop
   13668   xorg_cv_cc_flag_unknown_warning_option=no
   13669 fi
   13670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13671 fi
   13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13673 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13675 	CFLAGS="$xorg_testset_save_CFLAGS"
   13676 fi
   13677 
   13678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13681 	fi
   13682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13686 then :
   13687   printf %s "(cached) " >&6
   13688 else $as_nop
   13689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13690 /* end confdefs.h.  */
   13691 int i;
   13692 _ACEOF
   13693 if ac_fn_c_try_compile "$LINENO"
   13694 then :
   13695   xorg_cv_cc_flag_unused_command_line_argument=yes
   13696 else $as_nop
   13697   xorg_cv_cc_flag_unused_command_line_argument=no
   13698 fi
   13699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13700 fi
   13701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13702 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13704 	CFLAGS="$xorg_testset_save_CFLAGS"
   13705 fi
   13706 
   13707 found="no"
   13708 
   13709 	if test $found = "no" ; then
   13710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13712 		fi
   13713 
   13714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13716 		fi
   13717 
   13718 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13719 
   13720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13721 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13722 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13723 		if eval test \${$cacheid+y}
   13724 then :
   13725   printf %s "(cached) " >&6
   13726 else $as_nop
   13727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13728 /* end confdefs.h.  */
   13729 int i;
   13730 int
   13731 main (void)
   13732 {
   13733 
   13734   ;
   13735   return 0;
   13736 }
   13737 _ACEOF
   13738 if ac_fn_c_try_link "$LINENO"
   13739 then :
   13740   eval $cacheid=yes
   13741 else $as_nop
   13742   eval $cacheid=no
   13743 fi
   13744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13745     conftest$ac_exeext conftest.$ac_ext
   13746 fi
   13747 
   13748 
   13749 		CFLAGS="$xorg_testset_save_CFLAGS"
   13750 
   13751 		eval supported=\$$cacheid
   13752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13753 printf "%s\n" "$supported" >&6; }
   13754 		if test "$supported" = "yes" ; then
   13755 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13756 			found="yes"
   13757 		fi
   13758 	fi
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 xorg_testset_save_CFLAGS="$CFLAGS"
   13775 
   13776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13779 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13780 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13781 then :
   13782   printf %s "(cached) " >&6
   13783 else $as_nop
   13784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13785 /* end confdefs.h.  */
   13786 int i;
   13787 _ACEOF
   13788 if ac_fn_c_try_compile "$LINENO"
   13789 then :
   13790   xorg_cv_cc_flag_unknown_warning_option=yes
   13791 else $as_nop
   13792   xorg_cv_cc_flag_unknown_warning_option=no
   13793 fi
   13794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13795 fi
   13796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13799 	CFLAGS="$xorg_testset_save_CFLAGS"
   13800 fi
   13801 
   13802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13805 	fi
   13806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13810 then :
   13811   printf %s "(cached) " >&6
   13812 else $as_nop
   13813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13814 /* end confdefs.h.  */
   13815 int i;
   13816 _ACEOF
   13817 if ac_fn_c_try_compile "$LINENO"
   13818 then :
   13819   xorg_cv_cc_flag_unused_command_line_argument=yes
   13820 else $as_nop
   13821   xorg_cv_cc_flag_unused_command_line_argument=no
   13822 fi
   13823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13824 fi
   13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13826 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13828 	CFLAGS="$xorg_testset_save_CFLAGS"
   13829 fi
   13830 
   13831 found="no"
   13832 
   13833 	if test $found = "no" ; then
   13834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13836 		fi
   13837 
   13838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13840 		fi
   13841 
   13842 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13843 
   13844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13845 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13846 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13847 		if eval test \${$cacheid+y}
   13848 then :
   13849   printf %s "(cached) " >&6
   13850 else $as_nop
   13851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13852 /* end confdefs.h.  */
   13853 int i;
   13854 int
   13855 main (void)
   13856 {
   13857 
   13858   ;
   13859   return 0;
   13860 }
   13861 _ACEOF
   13862 if ac_fn_c_try_link "$LINENO"
   13863 then :
   13864   eval $cacheid=yes
   13865 else $as_nop
   13866   eval $cacheid=no
   13867 fi
   13868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13869     conftest$ac_exeext conftest.$ac_ext
   13870 fi
   13871 
   13872 
   13873 		CFLAGS="$xorg_testset_save_CFLAGS"
   13874 
   13875 		eval supported=\$$cacheid
   13876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13877 printf "%s\n" "$supported" >&6; }
   13878 		if test "$supported" = "yes" ; then
   13879 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13880 			found="yes"
   13881 		fi
   13882 	fi
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 xorg_testset_save_CFLAGS="$CFLAGS"
   13899 
   13900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13905 then :
   13906   printf %s "(cached) " >&6
   13907 else $as_nop
   13908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13909 /* end confdefs.h.  */
   13910 int i;
   13911 _ACEOF
   13912 if ac_fn_c_try_compile "$LINENO"
   13913 then :
   13914   xorg_cv_cc_flag_unknown_warning_option=yes
   13915 else $as_nop
   13916   xorg_cv_cc_flag_unknown_warning_option=no
   13917 fi
   13918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13919 fi
   13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13923 	CFLAGS="$xorg_testset_save_CFLAGS"
   13924 fi
   13925 
   13926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13929 	fi
   13930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13934 then :
   13935   printf %s "(cached) " >&6
   13936 else $as_nop
   13937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13938 /* end confdefs.h.  */
   13939 int i;
   13940 _ACEOF
   13941 if ac_fn_c_try_compile "$LINENO"
   13942 then :
   13943   xorg_cv_cc_flag_unused_command_line_argument=yes
   13944 else $as_nop
   13945   xorg_cv_cc_flag_unused_command_line_argument=no
   13946 fi
   13947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13948 fi
   13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13952 	CFLAGS="$xorg_testset_save_CFLAGS"
   13953 fi
   13954 
   13955 found="no"
   13956 
   13957 	if test $found = "no" ; then
   13958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13960 		fi
   13961 
   13962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13964 		fi
   13965 
   13966 		CFLAGS="$CFLAGS -Wnested-externs"
   13967 
   13968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13969 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13970 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13971 		if eval test \${$cacheid+y}
   13972 then :
   13973   printf %s "(cached) " >&6
   13974 else $as_nop
   13975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13976 /* end confdefs.h.  */
   13977 int i;
   13978 int
   13979 main (void)
   13980 {
   13981 
   13982   ;
   13983   return 0;
   13984 }
   13985 _ACEOF
   13986 if ac_fn_c_try_link "$LINENO"
   13987 then :
   13988   eval $cacheid=yes
   13989 else $as_nop
   13990   eval $cacheid=no
   13991 fi
   13992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13993     conftest$ac_exeext conftest.$ac_ext
   13994 fi
   13995 
   13996 
   13997 		CFLAGS="$xorg_testset_save_CFLAGS"
   13998 
   13999 		eval supported=\$$cacheid
   14000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14001 printf "%s\n" "$supported" >&6; }
   14002 		if test "$supported" = "yes" ; then
   14003 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14004 			found="yes"
   14005 		fi
   14006 	fi
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 xorg_testset_save_CFLAGS="$CFLAGS"
   14023 
   14024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14027 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14028 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14029 then :
   14030   printf %s "(cached) " >&6
   14031 else $as_nop
   14032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14033 /* end confdefs.h.  */
   14034 int i;
   14035 _ACEOF
   14036 if ac_fn_c_try_compile "$LINENO"
   14037 then :
   14038   xorg_cv_cc_flag_unknown_warning_option=yes
   14039 else $as_nop
   14040   xorg_cv_cc_flag_unknown_warning_option=no
   14041 fi
   14042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14043 fi
   14044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14045 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14047 	CFLAGS="$xorg_testset_save_CFLAGS"
   14048 fi
   14049 
   14050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14053 	fi
   14054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14056 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14057 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14058 then :
   14059   printf %s "(cached) " >&6
   14060 else $as_nop
   14061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14062 /* end confdefs.h.  */
   14063 int i;
   14064 _ACEOF
   14065 if ac_fn_c_try_compile "$LINENO"
   14066 then :
   14067   xorg_cv_cc_flag_unused_command_line_argument=yes
   14068 else $as_nop
   14069   xorg_cv_cc_flag_unused_command_line_argument=no
   14070 fi
   14071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14072 fi
   14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14076 	CFLAGS="$xorg_testset_save_CFLAGS"
   14077 fi
   14078 
   14079 found="no"
   14080 
   14081 	if test $found = "no" ; then
   14082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14084 		fi
   14085 
   14086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14088 		fi
   14089 
   14090 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14091 
   14092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14093 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14094 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14095 		if eval test \${$cacheid+y}
   14096 then :
   14097   printf %s "(cached) " >&6
   14098 else $as_nop
   14099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14100 /* end confdefs.h.  */
   14101 int i;
   14102 int
   14103 main (void)
   14104 {
   14105 
   14106   ;
   14107   return 0;
   14108 }
   14109 _ACEOF
   14110 if ac_fn_c_try_link "$LINENO"
   14111 then :
   14112   eval $cacheid=yes
   14113 else $as_nop
   14114   eval $cacheid=no
   14115 fi
   14116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14117     conftest$ac_exeext conftest.$ac_ext
   14118 fi
   14119 
   14120 
   14121 		CFLAGS="$xorg_testset_save_CFLAGS"
   14122 
   14123 		eval supported=\$$cacheid
   14124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14125 printf "%s\n" "$supported" >&6; }
   14126 		if test "$supported" = "yes" ; then
   14127 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14128 			found="yes"
   14129 		fi
   14130 	fi
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 xorg_testset_save_CFLAGS="$CFLAGS"
   14147 
   14148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14153 then :
   14154   printf %s "(cached) " >&6
   14155 else $as_nop
   14156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14157 /* end confdefs.h.  */
   14158 int i;
   14159 _ACEOF
   14160 if ac_fn_c_try_compile "$LINENO"
   14161 then :
   14162   xorg_cv_cc_flag_unknown_warning_option=yes
   14163 else $as_nop
   14164   xorg_cv_cc_flag_unknown_warning_option=no
   14165 fi
   14166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14167 fi
   14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14171 	CFLAGS="$xorg_testset_save_CFLAGS"
   14172 fi
   14173 
   14174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14177 	fi
   14178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14182 then :
   14183   printf %s "(cached) " >&6
   14184 else $as_nop
   14185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14186 /* end confdefs.h.  */
   14187 int i;
   14188 _ACEOF
   14189 if ac_fn_c_try_compile "$LINENO"
   14190 then :
   14191   xorg_cv_cc_flag_unused_command_line_argument=yes
   14192 else $as_nop
   14193   xorg_cv_cc_flag_unused_command_line_argument=no
   14194 fi
   14195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14196 fi
   14197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14200 	CFLAGS="$xorg_testset_save_CFLAGS"
   14201 fi
   14202 
   14203 found="no"
   14204 
   14205 	if test $found = "no" ; then
   14206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14208 		fi
   14209 
   14210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14212 		fi
   14213 
   14214 		CFLAGS="$CFLAGS -Wold-style-definition"
   14215 
   14216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14217 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14218 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14219 		if eval test \${$cacheid+y}
   14220 then :
   14221   printf %s "(cached) " >&6
   14222 else $as_nop
   14223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14224 /* end confdefs.h.  */
   14225 int i;
   14226 int
   14227 main (void)
   14228 {
   14229 
   14230   ;
   14231   return 0;
   14232 }
   14233 _ACEOF
   14234 if ac_fn_c_try_link "$LINENO"
   14235 then :
   14236   eval $cacheid=yes
   14237 else $as_nop
   14238   eval $cacheid=no
   14239 fi
   14240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14241     conftest$ac_exeext conftest.$ac_ext
   14242 fi
   14243 
   14244 
   14245 		CFLAGS="$xorg_testset_save_CFLAGS"
   14246 
   14247 		eval supported=\$$cacheid
   14248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14249 printf "%s\n" "$supported" >&6; }
   14250 		if test "$supported" = "yes" ; then
   14251 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14252 			found="yes"
   14253 		fi
   14254 	fi
   14255 
   14256 	if test $found = "no" ; then
   14257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14259 		fi
   14260 
   14261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14263 		fi
   14264 
   14265 		CFLAGS="$CFLAGS -fd"
   14266 
   14267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14268 printf %s "checking if $CC supports -fd... " >&6; }
   14269 		cacheid=xorg_cv_cc_flag__fd
   14270 		if eval test \${$cacheid+y}
   14271 then :
   14272   printf %s "(cached) " >&6
   14273 else $as_nop
   14274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14275 /* end confdefs.h.  */
   14276 int i;
   14277 int
   14278 main (void)
   14279 {
   14280 
   14281   ;
   14282   return 0;
   14283 }
   14284 _ACEOF
   14285 if ac_fn_c_try_link "$LINENO"
   14286 then :
   14287   eval $cacheid=yes
   14288 else $as_nop
   14289   eval $cacheid=no
   14290 fi
   14291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14292     conftest$ac_exeext conftest.$ac_ext
   14293 fi
   14294 
   14295 
   14296 		CFLAGS="$xorg_testset_save_CFLAGS"
   14297 
   14298 		eval supported=\$$cacheid
   14299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14300 printf "%s\n" "$supported" >&6; }
   14301 		if test "$supported" = "yes" ; then
   14302 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14303 			found="yes"
   14304 		fi
   14305 	fi
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 xorg_testset_save_CFLAGS="$CFLAGS"
   14322 
   14323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14326 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14327 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14328 then :
   14329   printf %s "(cached) " >&6
   14330 else $as_nop
   14331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14332 /* end confdefs.h.  */
   14333 int i;
   14334 _ACEOF
   14335 if ac_fn_c_try_compile "$LINENO"
   14336 then :
   14337   xorg_cv_cc_flag_unknown_warning_option=yes
   14338 else $as_nop
   14339   xorg_cv_cc_flag_unknown_warning_option=no
   14340 fi
   14341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14342 fi
   14343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14346 	CFLAGS="$xorg_testset_save_CFLAGS"
   14347 fi
   14348 
   14349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14352 	fi
   14353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14357 then :
   14358   printf %s "(cached) " >&6
   14359 else $as_nop
   14360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 int i;
   14363 _ACEOF
   14364 if ac_fn_c_try_compile "$LINENO"
   14365 then :
   14366   xorg_cv_cc_flag_unused_command_line_argument=yes
   14367 else $as_nop
   14368   xorg_cv_cc_flag_unused_command_line_argument=no
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14371 fi
   14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14373 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14375 	CFLAGS="$xorg_testset_save_CFLAGS"
   14376 fi
   14377 
   14378 found="no"
   14379 
   14380 	if test $found = "no" ; then
   14381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14383 		fi
   14384 
   14385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14387 		fi
   14388 
   14389 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14390 
   14391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14392 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14393 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14394 		if eval test \${$cacheid+y}
   14395 then :
   14396   printf %s "(cached) " >&6
   14397 else $as_nop
   14398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14399 /* end confdefs.h.  */
   14400 int i;
   14401 int
   14402 main (void)
   14403 {
   14404 
   14405   ;
   14406   return 0;
   14407 }
   14408 _ACEOF
   14409 if ac_fn_c_try_link "$LINENO"
   14410 then :
   14411   eval $cacheid=yes
   14412 else $as_nop
   14413   eval $cacheid=no
   14414 fi
   14415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14416     conftest$ac_exeext conftest.$ac_ext
   14417 fi
   14418 
   14419 
   14420 		CFLAGS="$xorg_testset_save_CFLAGS"
   14421 
   14422 		eval supported=\$$cacheid
   14423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14424 printf "%s\n" "$supported" >&6; }
   14425 		if test "$supported" = "yes" ; then
   14426 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14427 			found="yes"
   14428 		fi
   14429 	fi
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 # This chunk adds additional warnings that could catch undesired effects.
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 xorg_testset_save_CFLAGS="$CFLAGS"
   14450 
   14451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14456 then :
   14457   printf %s "(cached) " >&6
   14458 else $as_nop
   14459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14460 /* end confdefs.h.  */
   14461 int i;
   14462 _ACEOF
   14463 if ac_fn_c_try_compile "$LINENO"
   14464 then :
   14465   xorg_cv_cc_flag_unknown_warning_option=yes
   14466 else $as_nop
   14467   xorg_cv_cc_flag_unknown_warning_option=no
   14468 fi
   14469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14470 fi
   14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14472 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14474 	CFLAGS="$xorg_testset_save_CFLAGS"
   14475 fi
   14476 
   14477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14480 	fi
   14481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14483 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14484 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14485 then :
   14486   printf %s "(cached) " >&6
   14487 else $as_nop
   14488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14489 /* end confdefs.h.  */
   14490 int i;
   14491 _ACEOF
   14492 if ac_fn_c_try_compile "$LINENO"
   14493 then :
   14494   xorg_cv_cc_flag_unused_command_line_argument=yes
   14495 else $as_nop
   14496   xorg_cv_cc_flag_unused_command_line_argument=no
   14497 fi
   14498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14499 fi
   14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14501 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14503 	CFLAGS="$xorg_testset_save_CFLAGS"
   14504 fi
   14505 
   14506 found="no"
   14507 
   14508 	if test $found = "no" ; then
   14509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14511 		fi
   14512 
   14513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14515 		fi
   14516 
   14517 		CFLAGS="$CFLAGS -Wunused"
   14518 
   14519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14520 printf %s "checking if $CC supports -Wunused... " >&6; }
   14521 		cacheid=xorg_cv_cc_flag__Wunused
   14522 		if eval test \${$cacheid+y}
   14523 then :
   14524   printf %s "(cached) " >&6
   14525 else $as_nop
   14526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14527 /* end confdefs.h.  */
   14528 int i;
   14529 int
   14530 main (void)
   14531 {
   14532 
   14533   ;
   14534   return 0;
   14535 }
   14536 _ACEOF
   14537 if ac_fn_c_try_link "$LINENO"
   14538 then :
   14539   eval $cacheid=yes
   14540 else $as_nop
   14541   eval $cacheid=no
   14542 fi
   14543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14544     conftest$ac_exeext conftest.$ac_ext
   14545 fi
   14546 
   14547 
   14548 		CFLAGS="$xorg_testset_save_CFLAGS"
   14549 
   14550 		eval supported=\$$cacheid
   14551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14552 printf "%s\n" "$supported" >&6; }
   14553 		if test "$supported" = "yes" ; then
   14554 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14555 			found="yes"
   14556 		fi
   14557 	fi
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 xorg_testset_save_CFLAGS="$CFLAGS"
   14574 
   14575 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14576 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14578 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14579 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14580 then :
   14581   printf %s "(cached) " >&6
   14582 else $as_nop
   14583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14584 /* end confdefs.h.  */
   14585 int i;
   14586 _ACEOF
   14587 if ac_fn_c_try_compile "$LINENO"
   14588 then :
   14589   xorg_cv_cc_flag_unknown_warning_option=yes
   14590 else $as_nop
   14591   xorg_cv_cc_flag_unknown_warning_option=no
   14592 fi
   14593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14594 fi
   14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14596 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14598 	CFLAGS="$xorg_testset_save_CFLAGS"
   14599 fi
   14600 
   14601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14604 	fi
   14605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14607 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14608 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14609 then :
   14610   printf %s "(cached) " >&6
   14611 else $as_nop
   14612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14613 /* end confdefs.h.  */
   14614 int i;
   14615 _ACEOF
   14616 if ac_fn_c_try_compile "$LINENO"
   14617 then :
   14618   xorg_cv_cc_flag_unused_command_line_argument=yes
   14619 else $as_nop
   14620   xorg_cv_cc_flag_unused_command_line_argument=no
   14621 fi
   14622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14623 fi
   14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14625 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14627 	CFLAGS="$xorg_testset_save_CFLAGS"
   14628 fi
   14629 
   14630 found="no"
   14631 
   14632 	if test $found = "no" ; then
   14633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14635 		fi
   14636 
   14637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14639 		fi
   14640 
   14641 		CFLAGS="$CFLAGS -Wuninitialized"
   14642 
   14643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14644 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14645 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14646 		if eval test \${$cacheid+y}
   14647 then :
   14648   printf %s "(cached) " >&6
   14649 else $as_nop
   14650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14651 /* end confdefs.h.  */
   14652 int i;
   14653 int
   14654 main (void)
   14655 {
   14656 
   14657   ;
   14658   return 0;
   14659 }
   14660 _ACEOF
   14661 if ac_fn_c_try_link "$LINENO"
   14662 then :
   14663   eval $cacheid=yes
   14664 else $as_nop
   14665   eval $cacheid=no
   14666 fi
   14667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14668     conftest$ac_exeext conftest.$ac_ext
   14669 fi
   14670 
   14671 
   14672 		CFLAGS="$xorg_testset_save_CFLAGS"
   14673 
   14674 		eval supported=\$$cacheid
   14675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14676 printf "%s\n" "$supported" >&6; }
   14677 		if test "$supported" = "yes" ; then
   14678 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14679 			found="yes"
   14680 		fi
   14681 	fi
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 xorg_testset_save_CFLAGS="$CFLAGS"
   14698 
   14699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14704 then :
   14705   printf %s "(cached) " >&6
   14706 else $as_nop
   14707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14708 /* end confdefs.h.  */
   14709 int i;
   14710 _ACEOF
   14711 if ac_fn_c_try_compile "$LINENO"
   14712 then :
   14713   xorg_cv_cc_flag_unknown_warning_option=yes
   14714 else $as_nop
   14715   xorg_cv_cc_flag_unknown_warning_option=no
   14716 fi
   14717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14718 fi
   14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14720 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14722 	CFLAGS="$xorg_testset_save_CFLAGS"
   14723 fi
   14724 
   14725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14728 	fi
   14729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14733 then :
   14734   printf %s "(cached) " >&6
   14735 else $as_nop
   14736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14737 /* end confdefs.h.  */
   14738 int i;
   14739 _ACEOF
   14740 if ac_fn_c_try_compile "$LINENO"
   14741 then :
   14742   xorg_cv_cc_flag_unused_command_line_argument=yes
   14743 else $as_nop
   14744   xorg_cv_cc_flag_unused_command_line_argument=no
   14745 fi
   14746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14747 fi
   14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14749 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14750 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14751 	CFLAGS="$xorg_testset_save_CFLAGS"
   14752 fi
   14753 
   14754 found="no"
   14755 
   14756 	if test $found = "no" ; then
   14757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14759 		fi
   14760 
   14761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14763 		fi
   14764 
   14765 		CFLAGS="$CFLAGS -Wshadow"
   14766 
   14767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14768 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14769 		cacheid=xorg_cv_cc_flag__Wshadow
   14770 		if eval test \${$cacheid+y}
   14771 then :
   14772   printf %s "(cached) " >&6
   14773 else $as_nop
   14774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14775 /* end confdefs.h.  */
   14776 int i;
   14777 int
   14778 main (void)
   14779 {
   14780 
   14781   ;
   14782   return 0;
   14783 }
   14784 _ACEOF
   14785 if ac_fn_c_try_link "$LINENO"
   14786 then :
   14787   eval $cacheid=yes
   14788 else $as_nop
   14789   eval $cacheid=no
   14790 fi
   14791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14792     conftest$ac_exeext conftest.$ac_ext
   14793 fi
   14794 
   14795 
   14796 		CFLAGS="$xorg_testset_save_CFLAGS"
   14797 
   14798 		eval supported=\$$cacheid
   14799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14800 printf "%s\n" "$supported" >&6; }
   14801 		if test "$supported" = "yes" ; then
   14802 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14803 			found="yes"
   14804 		fi
   14805 	fi
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 xorg_testset_save_CFLAGS="$CFLAGS"
   14822 
   14823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14828 then :
   14829   printf %s "(cached) " >&6
   14830 else $as_nop
   14831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14832 /* end confdefs.h.  */
   14833 int i;
   14834 _ACEOF
   14835 if ac_fn_c_try_compile "$LINENO"
   14836 then :
   14837   xorg_cv_cc_flag_unknown_warning_option=yes
   14838 else $as_nop
   14839   xorg_cv_cc_flag_unknown_warning_option=no
   14840 fi
   14841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14842 fi
   14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14844 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14846 	CFLAGS="$xorg_testset_save_CFLAGS"
   14847 fi
   14848 
   14849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14852 	fi
   14853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14855 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14856 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14857 then :
   14858   printf %s "(cached) " >&6
   14859 else $as_nop
   14860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14861 /* end confdefs.h.  */
   14862 int i;
   14863 _ACEOF
   14864 if ac_fn_c_try_compile "$LINENO"
   14865 then :
   14866   xorg_cv_cc_flag_unused_command_line_argument=yes
   14867 else $as_nop
   14868   xorg_cv_cc_flag_unused_command_line_argument=no
   14869 fi
   14870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14871 fi
   14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14873 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14875 	CFLAGS="$xorg_testset_save_CFLAGS"
   14876 fi
   14877 
   14878 found="no"
   14879 
   14880 	if test $found = "no" ; then
   14881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14883 		fi
   14884 
   14885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14887 		fi
   14888 
   14889 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14890 
   14891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14892 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14893 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14894 		if eval test \${$cacheid+y}
   14895 then :
   14896   printf %s "(cached) " >&6
   14897 else $as_nop
   14898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14899 /* end confdefs.h.  */
   14900 int i;
   14901 int
   14902 main (void)
   14903 {
   14904 
   14905   ;
   14906   return 0;
   14907 }
   14908 _ACEOF
   14909 if ac_fn_c_try_link "$LINENO"
   14910 then :
   14911   eval $cacheid=yes
   14912 else $as_nop
   14913   eval $cacheid=no
   14914 fi
   14915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14916     conftest$ac_exeext conftest.$ac_ext
   14917 fi
   14918 
   14919 
   14920 		CFLAGS="$xorg_testset_save_CFLAGS"
   14921 
   14922 		eval supported=\$$cacheid
   14923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14924 printf "%s\n" "$supported" >&6; }
   14925 		if test "$supported" = "yes" ; then
   14926 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14927 			found="yes"
   14928 		fi
   14929 	fi
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 xorg_testset_save_CFLAGS="$CFLAGS"
   14946 
   14947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14952 then :
   14953   printf %s "(cached) " >&6
   14954 else $as_nop
   14955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14956 /* end confdefs.h.  */
   14957 int i;
   14958 _ACEOF
   14959 if ac_fn_c_try_compile "$LINENO"
   14960 then :
   14961   xorg_cv_cc_flag_unknown_warning_option=yes
   14962 else $as_nop
   14963   xorg_cv_cc_flag_unknown_warning_option=no
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14966 fi
   14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14970 	CFLAGS="$xorg_testset_save_CFLAGS"
   14971 fi
   14972 
   14973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14976 	fi
   14977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14981 then :
   14982   printf %s "(cached) " >&6
   14983 else $as_nop
   14984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14985 /* end confdefs.h.  */
   14986 int i;
   14987 _ACEOF
   14988 if ac_fn_c_try_compile "$LINENO"
   14989 then :
   14990   xorg_cv_cc_flag_unused_command_line_argument=yes
   14991 else $as_nop
   14992   xorg_cv_cc_flag_unused_command_line_argument=no
   14993 fi
   14994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14995 fi
   14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14999 	CFLAGS="$xorg_testset_save_CFLAGS"
   15000 fi
   15001 
   15002 found="no"
   15003 
   15004 	if test $found = "no" ; then
   15005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15007 		fi
   15008 
   15009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15011 		fi
   15012 
   15013 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15014 
   15015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15016 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15017 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15018 		if eval test \${$cacheid+y}
   15019 then :
   15020   printf %s "(cached) " >&6
   15021 else $as_nop
   15022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15023 /* end confdefs.h.  */
   15024 int i;
   15025 int
   15026 main (void)
   15027 {
   15028 
   15029   ;
   15030   return 0;
   15031 }
   15032 _ACEOF
   15033 if ac_fn_c_try_link "$LINENO"
   15034 then :
   15035   eval $cacheid=yes
   15036 else $as_nop
   15037   eval $cacheid=no
   15038 fi
   15039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15040     conftest$ac_exeext conftest.$ac_ext
   15041 fi
   15042 
   15043 
   15044 		CFLAGS="$xorg_testset_save_CFLAGS"
   15045 
   15046 		eval supported=\$$cacheid
   15047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15048 printf "%s\n" "$supported" >&6; }
   15049 		if test "$supported" = "yes" ; then
   15050 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15051 			found="yes"
   15052 		fi
   15053 	fi
   15054 
   15055 
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 xorg_testset_save_CFLAGS="$CFLAGS"
   15070 
   15071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15076 then :
   15077   printf %s "(cached) " >&6
   15078 else $as_nop
   15079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15080 /* end confdefs.h.  */
   15081 int i;
   15082 _ACEOF
   15083 if ac_fn_c_try_compile "$LINENO"
   15084 then :
   15085   xorg_cv_cc_flag_unknown_warning_option=yes
   15086 else $as_nop
   15087   xorg_cv_cc_flag_unknown_warning_option=no
   15088 fi
   15089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15090 fi
   15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15094 	CFLAGS="$xorg_testset_save_CFLAGS"
   15095 fi
   15096 
   15097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15100 	fi
   15101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15105 then :
   15106   printf %s "(cached) " >&6
   15107 else $as_nop
   15108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15109 /* end confdefs.h.  */
   15110 int i;
   15111 _ACEOF
   15112 if ac_fn_c_try_compile "$LINENO"
   15113 then :
   15114   xorg_cv_cc_flag_unused_command_line_argument=yes
   15115 else $as_nop
   15116   xorg_cv_cc_flag_unused_command_line_argument=no
   15117 fi
   15118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15119 fi
   15120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15123 	CFLAGS="$xorg_testset_save_CFLAGS"
   15124 fi
   15125 
   15126 found="no"
   15127 
   15128 	if test $found = "no" ; then
   15129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15131 		fi
   15132 
   15133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15135 		fi
   15136 
   15137 		CFLAGS="$CFLAGS -Wredundant-decls"
   15138 
   15139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15140 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15141 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15142 		if eval test \${$cacheid+y}
   15143 then :
   15144   printf %s "(cached) " >&6
   15145 else $as_nop
   15146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15147 /* end confdefs.h.  */
   15148 int i;
   15149 int
   15150 main (void)
   15151 {
   15152 
   15153   ;
   15154   return 0;
   15155 }
   15156 _ACEOF
   15157 if ac_fn_c_try_link "$LINENO"
   15158 then :
   15159   eval $cacheid=yes
   15160 else $as_nop
   15161   eval $cacheid=no
   15162 fi
   15163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15164     conftest$ac_exeext conftest.$ac_ext
   15165 fi
   15166 
   15167 
   15168 		CFLAGS="$xorg_testset_save_CFLAGS"
   15169 
   15170 		eval supported=\$$cacheid
   15171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15172 printf "%s\n" "$supported" >&6; }
   15173 		if test "$supported" = "yes" ; then
   15174 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15175 			found="yes"
   15176 		fi
   15177 	fi
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 xorg_testset_save_CFLAGS="$CFLAGS"
   15194 
   15195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15200 then :
   15201   printf %s "(cached) " >&6
   15202 else $as_nop
   15203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15204 /* end confdefs.h.  */
   15205 int i;
   15206 _ACEOF
   15207 if ac_fn_c_try_compile "$LINENO"
   15208 then :
   15209   xorg_cv_cc_flag_unknown_warning_option=yes
   15210 else $as_nop
   15211   xorg_cv_cc_flag_unknown_warning_option=no
   15212 fi
   15213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15214 fi
   15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15216 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15218 	CFLAGS="$xorg_testset_save_CFLAGS"
   15219 fi
   15220 
   15221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15224 	fi
   15225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15227 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15228 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15229 then :
   15230   printf %s "(cached) " >&6
   15231 else $as_nop
   15232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15233 /* end confdefs.h.  */
   15234 int i;
   15235 _ACEOF
   15236 if ac_fn_c_try_compile "$LINENO"
   15237 then :
   15238   xorg_cv_cc_flag_unused_command_line_argument=yes
   15239 else $as_nop
   15240   xorg_cv_cc_flag_unused_command_line_argument=no
   15241 fi
   15242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15243 fi
   15244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15247 	CFLAGS="$xorg_testset_save_CFLAGS"
   15248 fi
   15249 
   15250 found="no"
   15251 
   15252 	if test $found = "no" ; then
   15253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15255 		fi
   15256 
   15257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15259 		fi
   15260 
   15261 		CFLAGS="$CFLAGS -Wlogical-op"
   15262 
   15263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15264 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15265 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15266 		if eval test \${$cacheid+y}
   15267 then :
   15268   printf %s "(cached) " >&6
   15269 else $as_nop
   15270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15271 /* end confdefs.h.  */
   15272 int i;
   15273 int
   15274 main (void)
   15275 {
   15276 
   15277   ;
   15278   return 0;
   15279 }
   15280 _ACEOF
   15281 if ac_fn_c_try_link "$LINENO"
   15282 then :
   15283   eval $cacheid=yes
   15284 else $as_nop
   15285   eval $cacheid=no
   15286 fi
   15287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15288     conftest$ac_exeext conftest.$ac_ext
   15289 fi
   15290 
   15291 
   15292 		CFLAGS="$xorg_testset_save_CFLAGS"
   15293 
   15294 		eval supported=\$$cacheid
   15295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15296 printf "%s\n" "$supported" >&6; }
   15297 		if test "$supported" = "yes" ; then
   15298 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15299 			found="yes"
   15300 		fi
   15301 	fi
   15302 
   15303 
   15304 
   15305 # These are currently disabled because they are noisy.  They will be enabled
   15306 # in the future once the codebase is sufficiently modernized to silence
   15307 # them.  For now, I don't want them to drown out the other warnings.
   15308 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15309 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15310 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15311 
   15312 # Turn some warnings into errors, so we don't accidently get successful builds
   15313 # when there are problems that should be fixed.
   15314 
   15315 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15316 
   15317 
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 xorg_testset_save_CFLAGS="$CFLAGS"
   15330 
   15331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15336 then :
   15337   printf %s "(cached) " >&6
   15338 else $as_nop
   15339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15340 /* end confdefs.h.  */
   15341 int i;
   15342 _ACEOF
   15343 if ac_fn_c_try_compile "$LINENO"
   15344 then :
   15345   xorg_cv_cc_flag_unknown_warning_option=yes
   15346 else $as_nop
   15347   xorg_cv_cc_flag_unknown_warning_option=no
   15348 fi
   15349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15350 fi
   15351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15354 	CFLAGS="$xorg_testset_save_CFLAGS"
   15355 fi
   15356 
   15357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15360 	fi
   15361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15365 then :
   15366   printf %s "(cached) " >&6
   15367 else $as_nop
   15368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15369 /* end confdefs.h.  */
   15370 int i;
   15371 _ACEOF
   15372 if ac_fn_c_try_compile "$LINENO"
   15373 then :
   15374   xorg_cv_cc_flag_unused_command_line_argument=yes
   15375 else $as_nop
   15376   xorg_cv_cc_flag_unused_command_line_argument=no
   15377 fi
   15378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15379 fi
   15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15383 	CFLAGS="$xorg_testset_save_CFLAGS"
   15384 fi
   15385 
   15386 found="no"
   15387 
   15388 	if test $found = "no" ; then
   15389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15391 		fi
   15392 
   15393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15395 		fi
   15396 
   15397 		CFLAGS="$CFLAGS -Werror=implicit"
   15398 
   15399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15400 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15401 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15402 		if eval test \${$cacheid+y}
   15403 then :
   15404   printf %s "(cached) " >&6
   15405 else $as_nop
   15406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15407 /* end confdefs.h.  */
   15408 int i;
   15409 int
   15410 main (void)
   15411 {
   15412 
   15413   ;
   15414   return 0;
   15415 }
   15416 _ACEOF
   15417 if ac_fn_c_try_link "$LINENO"
   15418 then :
   15419   eval $cacheid=yes
   15420 else $as_nop
   15421   eval $cacheid=no
   15422 fi
   15423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15424     conftest$ac_exeext conftest.$ac_ext
   15425 fi
   15426 
   15427 
   15428 		CFLAGS="$xorg_testset_save_CFLAGS"
   15429 
   15430 		eval supported=\$$cacheid
   15431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15432 printf "%s\n" "$supported" >&6; }
   15433 		if test "$supported" = "yes" ; then
   15434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15435 			found="yes"
   15436 		fi
   15437 	fi
   15438 
   15439 	if test $found = "no" ; then
   15440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15442 		fi
   15443 
   15444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15446 		fi
   15447 
   15448 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15449 
   15450 		{ 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
   15451 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15452 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15453 		if eval test \${$cacheid+y}
   15454 then :
   15455   printf %s "(cached) " >&6
   15456 else $as_nop
   15457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15458 /* end confdefs.h.  */
   15459 int i;
   15460 int
   15461 main (void)
   15462 {
   15463 
   15464   ;
   15465   return 0;
   15466 }
   15467 _ACEOF
   15468 if ac_fn_c_try_link "$LINENO"
   15469 then :
   15470   eval $cacheid=yes
   15471 else $as_nop
   15472   eval $cacheid=no
   15473 fi
   15474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15475     conftest$ac_exeext conftest.$ac_ext
   15476 fi
   15477 
   15478 
   15479 		CFLAGS="$xorg_testset_save_CFLAGS"
   15480 
   15481 		eval supported=\$$cacheid
   15482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15483 printf "%s\n" "$supported" >&6; }
   15484 		if test "$supported" = "yes" ; then
   15485 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15486 			found="yes"
   15487 		fi
   15488 	fi
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 xorg_testset_save_CFLAGS="$CFLAGS"
   15505 
   15506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15508 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15509 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15510 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15511 then :
   15512   printf %s "(cached) " >&6
   15513 else $as_nop
   15514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15515 /* end confdefs.h.  */
   15516 int i;
   15517 _ACEOF
   15518 if ac_fn_c_try_compile "$LINENO"
   15519 then :
   15520   xorg_cv_cc_flag_unknown_warning_option=yes
   15521 else $as_nop
   15522   xorg_cv_cc_flag_unknown_warning_option=no
   15523 fi
   15524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15525 fi
   15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15527 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15529 	CFLAGS="$xorg_testset_save_CFLAGS"
   15530 fi
   15531 
   15532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15535 	fi
   15536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15538 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15539 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15540 then :
   15541   printf %s "(cached) " >&6
   15542 else $as_nop
   15543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15544 /* end confdefs.h.  */
   15545 int i;
   15546 _ACEOF
   15547 if ac_fn_c_try_compile "$LINENO"
   15548 then :
   15549   xorg_cv_cc_flag_unused_command_line_argument=yes
   15550 else $as_nop
   15551   xorg_cv_cc_flag_unused_command_line_argument=no
   15552 fi
   15553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15554 fi
   15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15556 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15557 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15558 	CFLAGS="$xorg_testset_save_CFLAGS"
   15559 fi
   15560 
   15561 found="no"
   15562 
   15563 	if test $found = "no" ; then
   15564 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15565 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15566 		fi
   15567 
   15568 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15569 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15570 		fi
   15571 
   15572 		CFLAGS="$CFLAGS -Werror=nonnull"
   15573 
   15574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15575 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15576 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15577 		if eval test \${$cacheid+y}
   15578 then :
   15579   printf %s "(cached) " >&6
   15580 else $as_nop
   15581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15582 /* end confdefs.h.  */
   15583 int i;
   15584 int
   15585 main (void)
   15586 {
   15587 
   15588   ;
   15589   return 0;
   15590 }
   15591 _ACEOF
   15592 if ac_fn_c_try_link "$LINENO"
   15593 then :
   15594   eval $cacheid=yes
   15595 else $as_nop
   15596   eval $cacheid=no
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15599     conftest$ac_exeext conftest.$ac_ext
   15600 fi
   15601 
   15602 
   15603 		CFLAGS="$xorg_testset_save_CFLAGS"
   15604 
   15605 		eval supported=\$$cacheid
   15606 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15607 printf "%s\n" "$supported" >&6; }
   15608 		if test "$supported" = "yes" ; then
   15609 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15610 			found="yes"
   15611 		fi
   15612 	fi
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 xorg_testset_save_CFLAGS="$CFLAGS"
   15629 
   15630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15633 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15634 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15635 then :
   15636   printf %s "(cached) " >&6
   15637 else $as_nop
   15638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15639 /* end confdefs.h.  */
   15640 int i;
   15641 _ACEOF
   15642 if ac_fn_c_try_compile "$LINENO"
   15643 then :
   15644   xorg_cv_cc_flag_unknown_warning_option=yes
   15645 else $as_nop
   15646   xorg_cv_cc_flag_unknown_warning_option=no
   15647 fi
   15648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15649 fi
   15650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15651 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15653 	CFLAGS="$xorg_testset_save_CFLAGS"
   15654 fi
   15655 
   15656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15659 	fi
   15660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15661 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15662 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15663 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15664 then :
   15665   printf %s "(cached) " >&6
   15666 else $as_nop
   15667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15668 /* end confdefs.h.  */
   15669 int i;
   15670 _ACEOF
   15671 if ac_fn_c_try_compile "$LINENO"
   15672 then :
   15673   xorg_cv_cc_flag_unused_command_line_argument=yes
   15674 else $as_nop
   15675   xorg_cv_cc_flag_unused_command_line_argument=no
   15676 fi
   15677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15678 fi
   15679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15680 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15682 	CFLAGS="$xorg_testset_save_CFLAGS"
   15683 fi
   15684 
   15685 found="no"
   15686 
   15687 	if test $found = "no" ; then
   15688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15690 		fi
   15691 
   15692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15694 		fi
   15695 
   15696 		CFLAGS="$CFLAGS -Werror=init-self"
   15697 
   15698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15699 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15700 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15701 		if eval test \${$cacheid+y}
   15702 then :
   15703   printf %s "(cached) " >&6
   15704 else $as_nop
   15705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15706 /* end confdefs.h.  */
   15707 int i;
   15708 int
   15709 main (void)
   15710 {
   15711 
   15712   ;
   15713   return 0;
   15714 }
   15715 _ACEOF
   15716 if ac_fn_c_try_link "$LINENO"
   15717 then :
   15718   eval $cacheid=yes
   15719 else $as_nop
   15720   eval $cacheid=no
   15721 fi
   15722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15723     conftest$ac_exeext conftest.$ac_ext
   15724 fi
   15725 
   15726 
   15727 		CFLAGS="$xorg_testset_save_CFLAGS"
   15728 
   15729 		eval supported=\$$cacheid
   15730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15731 printf "%s\n" "$supported" >&6; }
   15732 		if test "$supported" = "yes" ; then
   15733 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15734 			found="yes"
   15735 		fi
   15736 	fi
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 xorg_testset_save_CFLAGS="$CFLAGS"
   15753 
   15754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15756 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15757 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15758 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15759 then :
   15760   printf %s "(cached) " >&6
   15761 else $as_nop
   15762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15763 /* end confdefs.h.  */
   15764 int i;
   15765 _ACEOF
   15766 if ac_fn_c_try_compile "$LINENO"
   15767 then :
   15768   xorg_cv_cc_flag_unknown_warning_option=yes
   15769 else $as_nop
   15770   xorg_cv_cc_flag_unknown_warning_option=no
   15771 fi
   15772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15773 fi
   15774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15775 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15777 	CFLAGS="$xorg_testset_save_CFLAGS"
   15778 fi
   15779 
   15780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15783 	fi
   15784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15785 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15788 then :
   15789   printf %s "(cached) " >&6
   15790 else $as_nop
   15791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 int i;
   15794 _ACEOF
   15795 if ac_fn_c_try_compile "$LINENO"
   15796 then :
   15797   xorg_cv_cc_flag_unused_command_line_argument=yes
   15798 else $as_nop
   15799   xorg_cv_cc_flag_unused_command_line_argument=no
   15800 fi
   15801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15802 fi
   15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15804 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15806 	CFLAGS="$xorg_testset_save_CFLAGS"
   15807 fi
   15808 
   15809 found="no"
   15810 
   15811 	if test $found = "no" ; then
   15812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15814 		fi
   15815 
   15816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15818 		fi
   15819 
   15820 		CFLAGS="$CFLAGS -Werror=main"
   15821 
   15822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15823 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15824 		cacheid=xorg_cv_cc_flag__Werror_main
   15825 		if eval test \${$cacheid+y}
   15826 then :
   15827   printf %s "(cached) " >&6
   15828 else $as_nop
   15829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15830 /* end confdefs.h.  */
   15831 int i;
   15832 int
   15833 main (void)
   15834 {
   15835 
   15836   ;
   15837   return 0;
   15838 }
   15839 _ACEOF
   15840 if ac_fn_c_try_link "$LINENO"
   15841 then :
   15842   eval $cacheid=yes
   15843 else $as_nop
   15844   eval $cacheid=no
   15845 fi
   15846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15847     conftest$ac_exeext conftest.$ac_ext
   15848 fi
   15849 
   15850 
   15851 		CFLAGS="$xorg_testset_save_CFLAGS"
   15852 
   15853 		eval supported=\$$cacheid
   15854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15855 printf "%s\n" "$supported" >&6; }
   15856 		if test "$supported" = "yes" ; then
   15857 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15858 			found="yes"
   15859 		fi
   15860 	fi
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 xorg_testset_save_CFLAGS="$CFLAGS"
   15877 
   15878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15881 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15882 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15883 then :
   15884   printf %s "(cached) " >&6
   15885 else $as_nop
   15886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15887 /* end confdefs.h.  */
   15888 int i;
   15889 _ACEOF
   15890 if ac_fn_c_try_compile "$LINENO"
   15891 then :
   15892   xorg_cv_cc_flag_unknown_warning_option=yes
   15893 else $as_nop
   15894   xorg_cv_cc_flag_unknown_warning_option=no
   15895 fi
   15896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15897 fi
   15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15899 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15901 	CFLAGS="$xorg_testset_save_CFLAGS"
   15902 fi
   15903 
   15904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15907 	fi
   15908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15909 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15910 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15911 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15912 then :
   15913   printf %s "(cached) " >&6
   15914 else $as_nop
   15915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15916 /* end confdefs.h.  */
   15917 int i;
   15918 _ACEOF
   15919 if ac_fn_c_try_compile "$LINENO"
   15920 then :
   15921   xorg_cv_cc_flag_unused_command_line_argument=yes
   15922 else $as_nop
   15923   xorg_cv_cc_flag_unused_command_line_argument=no
   15924 fi
   15925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15926 fi
   15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15928 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15930 	CFLAGS="$xorg_testset_save_CFLAGS"
   15931 fi
   15932 
   15933 found="no"
   15934 
   15935 	if test $found = "no" ; then
   15936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15938 		fi
   15939 
   15940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15942 		fi
   15943 
   15944 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15945 
   15946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15947 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15948 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15949 		if eval test \${$cacheid+y}
   15950 then :
   15951   printf %s "(cached) " >&6
   15952 else $as_nop
   15953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15954 /* end confdefs.h.  */
   15955 int i;
   15956 int
   15957 main (void)
   15958 {
   15959 
   15960   ;
   15961   return 0;
   15962 }
   15963 _ACEOF
   15964 if ac_fn_c_try_link "$LINENO"
   15965 then :
   15966   eval $cacheid=yes
   15967 else $as_nop
   15968   eval $cacheid=no
   15969 fi
   15970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15971     conftest$ac_exeext conftest.$ac_ext
   15972 fi
   15973 
   15974 
   15975 		CFLAGS="$xorg_testset_save_CFLAGS"
   15976 
   15977 		eval supported=\$$cacheid
   15978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15979 printf "%s\n" "$supported" >&6; }
   15980 		if test "$supported" = "yes" ; then
   15981 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15982 			found="yes"
   15983 		fi
   15984 	fi
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 xorg_testset_save_CFLAGS="$CFLAGS"
   16001 
   16002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16004 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16005 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16006 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16007 then :
   16008   printf %s "(cached) " >&6
   16009 else $as_nop
   16010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16011 /* end confdefs.h.  */
   16012 int i;
   16013 _ACEOF
   16014 if ac_fn_c_try_compile "$LINENO"
   16015 then :
   16016   xorg_cv_cc_flag_unknown_warning_option=yes
   16017 else $as_nop
   16018   xorg_cv_cc_flag_unknown_warning_option=no
   16019 fi
   16020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16021 fi
   16022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16023 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16025 	CFLAGS="$xorg_testset_save_CFLAGS"
   16026 fi
   16027 
   16028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16031 	fi
   16032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16034 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16035 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16036 then :
   16037   printf %s "(cached) " >&6
   16038 else $as_nop
   16039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16040 /* end confdefs.h.  */
   16041 int i;
   16042 _ACEOF
   16043 if ac_fn_c_try_compile "$LINENO"
   16044 then :
   16045   xorg_cv_cc_flag_unused_command_line_argument=yes
   16046 else $as_nop
   16047   xorg_cv_cc_flag_unused_command_line_argument=no
   16048 fi
   16049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16050 fi
   16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16052 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16054 	CFLAGS="$xorg_testset_save_CFLAGS"
   16055 fi
   16056 
   16057 found="no"
   16058 
   16059 	if test $found = "no" ; then
   16060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16062 		fi
   16063 
   16064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16066 		fi
   16067 
   16068 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16069 
   16070 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16071 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16072 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16073 		if eval test \${$cacheid+y}
   16074 then :
   16075   printf %s "(cached) " >&6
   16076 else $as_nop
   16077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16078 /* end confdefs.h.  */
   16079 int i;
   16080 int
   16081 main (void)
   16082 {
   16083 
   16084   ;
   16085   return 0;
   16086 }
   16087 _ACEOF
   16088 if ac_fn_c_try_link "$LINENO"
   16089 then :
   16090   eval $cacheid=yes
   16091 else $as_nop
   16092   eval $cacheid=no
   16093 fi
   16094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16095     conftest$ac_exeext conftest.$ac_ext
   16096 fi
   16097 
   16098 
   16099 		CFLAGS="$xorg_testset_save_CFLAGS"
   16100 
   16101 		eval supported=\$$cacheid
   16102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16103 printf "%s\n" "$supported" >&6; }
   16104 		if test "$supported" = "yes" ; then
   16105 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16106 			found="yes"
   16107 		fi
   16108 	fi
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 xorg_testset_save_CFLAGS="$CFLAGS"
   16125 
   16126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16129 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16130 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16131 then :
   16132   printf %s "(cached) " >&6
   16133 else $as_nop
   16134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16135 /* end confdefs.h.  */
   16136 int i;
   16137 _ACEOF
   16138 if ac_fn_c_try_compile "$LINENO"
   16139 then :
   16140   xorg_cv_cc_flag_unknown_warning_option=yes
   16141 else $as_nop
   16142   xorg_cv_cc_flag_unknown_warning_option=no
   16143 fi
   16144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16145 fi
   16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16147 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16149 	CFLAGS="$xorg_testset_save_CFLAGS"
   16150 fi
   16151 
   16152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16155 	fi
   16156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16158 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16159 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16160 then :
   16161   printf %s "(cached) " >&6
   16162 else $as_nop
   16163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16164 /* end confdefs.h.  */
   16165 int i;
   16166 _ACEOF
   16167 if ac_fn_c_try_compile "$LINENO"
   16168 then :
   16169   xorg_cv_cc_flag_unused_command_line_argument=yes
   16170 else $as_nop
   16171   xorg_cv_cc_flag_unused_command_line_argument=no
   16172 fi
   16173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16174 fi
   16175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16176 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16178 	CFLAGS="$xorg_testset_save_CFLAGS"
   16179 fi
   16180 
   16181 found="no"
   16182 
   16183 	if test $found = "no" ; then
   16184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16186 		fi
   16187 
   16188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16190 		fi
   16191 
   16192 		CFLAGS="$CFLAGS -Werror=return-type"
   16193 
   16194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16195 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16196 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16197 		if eval test \${$cacheid+y}
   16198 then :
   16199   printf %s "(cached) " >&6
   16200 else $as_nop
   16201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16202 /* end confdefs.h.  */
   16203 int i;
   16204 int
   16205 main (void)
   16206 {
   16207 
   16208   ;
   16209   return 0;
   16210 }
   16211 _ACEOF
   16212 if ac_fn_c_try_link "$LINENO"
   16213 then :
   16214   eval $cacheid=yes
   16215 else $as_nop
   16216   eval $cacheid=no
   16217 fi
   16218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16219     conftest$ac_exeext conftest.$ac_ext
   16220 fi
   16221 
   16222 
   16223 		CFLAGS="$xorg_testset_save_CFLAGS"
   16224 
   16225 		eval supported=\$$cacheid
   16226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16227 printf "%s\n" "$supported" >&6; }
   16228 		if test "$supported" = "yes" ; then
   16229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16230 			found="yes"
   16231 		fi
   16232 	fi
   16233 
   16234 	if test $found = "no" ; then
   16235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16237 		fi
   16238 
   16239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16241 		fi
   16242 
   16243 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16244 
   16245 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16246 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16247 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16248 		if eval test \${$cacheid+y}
   16249 then :
   16250   printf %s "(cached) " >&6
   16251 else $as_nop
   16252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16253 /* end confdefs.h.  */
   16254 int i;
   16255 int
   16256 main (void)
   16257 {
   16258 
   16259   ;
   16260   return 0;
   16261 }
   16262 _ACEOF
   16263 if ac_fn_c_try_link "$LINENO"
   16264 then :
   16265   eval $cacheid=yes
   16266 else $as_nop
   16267   eval $cacheid=no
   16268 fi
   16269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16270     conftest$ac_exeext conftest.$ac_ext
   16271 fi
   16272 
   16273 
   16274 		CFLAGS="$xorg_testset_save_CFLAGS"
   16275 
   16276 		eval supported=\$$cacheid
   16277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16278 printf "%s\n" "$supported" >&6; }
   16279 		if test "$supported" = "yes" ; then
   16280 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16281 			found="yes"
   16282 		fi
   16283 	fi
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 xorg_testset_save_CFLAGS="$CFLAGS"
   16300 
   16301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16304 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16305 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16306 then :
   16307   printf %s "(cached) " >&6
   16308 else $as_nop
   16309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16310 /* end confdefs.h.  */
   16311 int i;
   16312 _ACEOF
   16313 if ac_fn_c_try_compile "$LINENO"
   16314 then :
   16315   xorg_cv_cc_flag_unknown_warning_option=yes
   16316 else $as_nop
   16317   xorg_cv_cc_flag_unknown_warning_option=no
   16318 fi
   16319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16320 fi
   16321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16322 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16324 	CFLAGS="$xorg_testset_save_CFLAGS"
   16325 fi
   16326 
   16327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16330 	fi
   16331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16333 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16334 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16335 then :
   16336   printf %s "(cached) " >&6
   16337 else $as_nop
   16338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16339 /* end confdefs.h.  */
   16340 int i;
   16341 _ACEOF
   16342 if ac_fn_c_try_compile "$LINENO"
   16343 then :
   16344   xorg_cv_cc_flag_unused_command_line_argument=yes
   16345 else $as_nop
   16346   xorg_cv_cc_flag_unused_command_line_argument=no
   16347 fi
   16348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16349 fi
   16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16351 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16353 	CFLAGS="$xorg_testset_save_CFLAGS"
   16354 fi
   16355 
   16356 found="no"
   16357 
   16358 	if test $found = "no" ; then
   16359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16361 		fi
   16362 
   16363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16365 		fi
   16366 
   16367 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16368 
   16369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16370 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16371 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16372 		if eval test \${$cacheid+y}
   16373 then :
   16374   printf %s "(cached) " >&6
   16375 else $as_nop
   16376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16377 /* end confdefs.h.  */
   16378 int i;
   16379 int
   16380 main (void)
   16381 {
   16382 
   16383   ;
   16384   return 0;
   16385 }
   16386 _ACEOF
   16387 if ac_fn_c_try_link "$LINENO"
   16388 then :
   16389   eval $cacheid=yes
   16390 else $as_nop
   16391   eval $cacheid=no
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16394     conftest$ac_exeext conftest.$ac_ext
   16395 fi
   16396 
   16397 
   16398 		CFLAGS="$xorg_testset_save_CFLAGS"
   16399 
   16400 		eval supported=\$$cacheid
   16401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16402 printf "%s\n" "$supported" >&6; }
   16403 		if test "$supported" = "yes" ; then
   16404 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16405 			found="yes"
   16406 		fi
   16407 	fi
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 xorg_testset_save_CFLAGS="$CFLAGS"
   16424 
   16425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16428 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16429 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16430 then :
   16431   printf %s "(cached) " >&6
   16432 else $as_nop
   16433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16434 /* end confdefs.h.  */
   16435 int i;
   16436 _ACEOF
   16437 if ac_fn_c_try_compile "$LINENO"
   16438 then :
   16439   xorg_cv_cc_flag_unknown_warning_option=yes
   16440 else $as_nop
   16441   xorg_cv_cc_flag_unknown_warning_option=no
   16442 fi
   16443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16444 fi
   16445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16446 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16448 	CFLAGS="$xorg_testset_save_CFLAGS"
   16449 fi
   16450 
   16451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16454 	fi
   16455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16457 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16458 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16459 then :
   16460   printf %s "(cached) " >&6
   16461 else $as_nop
   16462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16463 /* end confdefs.h.  */
   16464 int i;
   16465 _ACEOF
   16466 if ac_fn_c_try_compile "$LINENO"
   16467 then :
   16468   xorg_cv_cc_flag_unused_command_line_argument=yes
   16469 else $as_nop
   16470   xorg_cv_cc_flag_unused_command_line_argument=no
   16471 fi
   16472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16473 fi
   16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16475 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16477 	CFLAGS="$xorg_testset_save_CFLAGS"
   16478 fi
   16479 
   16480 found="no"
   16481 
   16482 	if test $found = "no" ; then
   16483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16485 		fi
   16486 
   16487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16489 		fi
   16490 
   16491 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16492 
   16493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16494 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16495 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16496 		if eval test \${$cacheid+y}
   16497 then :
   16498   printf %s "(cached) " >&6
   16499 else $as_nop
   16500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16501 /* end confdefs.h.  */
   16502 int i;
   16503 int
   16504 main (void)
   16505 {
   16506 
   16507   ;
   16508   return 0;
   16509 }
   16510 _ACEOF
   16511 if ac_fn_c_try_link "$LINENO"
   16512 then :
   16513   eval $cacheid=yes
   16514 else $as_nop
   16515   eval $cacheid=no
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16518     conftest$ac_exeext conftest.$ac_ext
   16519 fi
   16520 
   16521 
   16522 		CFLAGS="$xorg_testset_save_CFLAGS"
   16523 
   16524 		eval supported=\$$cacheid
   16525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16526 printf "%s\n" "$supported" >&6; }
   16527 		if test "$supported" = "yes" ; then
   16528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16529 			found="yes"
   16530 		fi
   16531 	fi
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 xorg_testset_save_CFLAGS="$CFLAGS"
   16548 
   16549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16552 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16553 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16554 then :
   16555   printf %s "(cached) " >&6
   16556 else $as_nop
   16557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16558 /* end confdefs.h.  */
   16559 int i;
   16560 _ACEOF
   16561 if ac_fn_c_try_compile "$LINENO"
   16562 then :
   16563   xorg_cv_cc_flag_unknown_warning_option=yes
   16564 else $as_nop
   16565   xorg_cv_cc_flag_unknown_warning_option=no
   16566 fi
   16567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16568 fi
   16569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16572 	CFLAGS="$xorg_testset_save_CFLAGS"
   16573 fi
   16574 
   16575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16578 	fi
   16579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16583 then :
   16584   printf %s "(cached) " >&6
   16585 else $as_nop
   16586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16587 /* end confdefs.h.  */
   16588 int i;
   16589 _ACEOF
   16590 if ac_fn_c_try_compile "$LINENO"
   16591 then :
   16592   xorg_cv_cc_flag_unused_command_line_argument=yes
   16593 else $as_nop
   16594   xorg_cv_cc_flag_unused_command_line_argument=no
   16595 fi
   16596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16597 fi
   16598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16599 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16601 	CFLAGS="$xorg_testset_save_CFLAGS"
   16602 fi
   16603 
   16604 found="no"
   16605 
   16606 	if test $found = "no" ; then
   16607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16609 		fi
   16610 
   16611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16613 		fi
   16614 
   16615 		CFLAGS="$CFLAGS -Werror=write-strings"
   16616 
   16617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16618 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16619 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16620 		if eval test \${$cacheid+y}
   16621 then :
   16622   printf %s "(cached) " >&6
   16623 else $as_nop
   16624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16625 /* end confdefs.h.  */
   16626 int i;
   16627 int
   16628 main (void)
   16629 {
   16630 
   16631   ;
   16632   return 0;
   16633 }
   16634 _ACEOF
   16635 if ac_fn_c_try_link "$LINENO"
   16636 then :
   16637   eval $cacheid=yes
   16638 else $as_nop
   16639   eval $cacheid=no
   16640 fi
   16641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16642     conftest$ac_exeext conftest.$ac_ext
   16643 fi
   16644 
   16645 
   16646 		CFLAGS="$xorg_testset_save_CFLAGS"
   16647 
   16648 		eval supported=\$$cacheid
   16649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16650 printf "%s\n" "$supported" >&6; }
   16651 		if test "$supported" = "yes" ; then
   16652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16653 			found="yes"
   16654 		fi
   16655 	fi
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 xorg_testset_save_CFLAGS="$CFLAGS"
   16672 
   16673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16676 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16677 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16678 then :
   16679   printf %s "(cached) " >&6
   16680 else $as_nop
   16681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16682 /* end confdefs.h.  */
   16683 int i;
   16684 _ACEOF
   16685 if ac_fn_c_try_compile "$LINENO"
   16686 then :
   16687   xorg_cv_cc_flag_unknown_warning_option=yes
   16688 else $as_nop
   16689   xorg_cv_cc_flag_unknown_warning_option=no
   16690 fi
   16691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16692 fi
   16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16696 	CFLAGS="$xorg_testset_save_CFLAGS"
   16697 fi
   16698 
   16699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16702 	fi
   16703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16707 then :
   16708   printf %s "(cached) " >&6
   16709 else $as_nop
   16710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16711 /* end confdefs.h.  */
   16712 int i;
   16713 _ACEOF
   16714 if ac_fn_c_try_compile "$LINENO"
   16715 then :
   16716   xorg_cv_cc_flag_unused_command_line_argument=yes
   16717 else $as_nop
   16718   xorg_cv_cc_flag_unused_command_line_argument=no
   16719 fi
   16720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16721 fi
   16722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16723 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16725 	CFLAGS="$xorg_testset_save_CFLAGS"
   16726 fi
   16727 
   16728 found="no"
   16729 
   16730 	if test $found = "no" ; then
   16731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16733 		fi
   16734 
   16735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16737 		fi
   16738 
   16739 		CFLAGS="$CFLAGS -Werror=address"
   16740 
   16741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16742 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16743 		cacheid=xorg_cv_cc_flag__Werror_address
   16744 		if eval test \${$cacheid+y}
   16745 then :
   16746   printf %s "(cached) " >&6
   16747 else $as_nop
   16748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16749 /* end confdefs.h.  */
   16750 int i;
   16751 int
   16752 main (void)
   16753 {
   16754 
   16755   ;
   16756   return 0;
   16757 }
   16758 _ACEOF
   16759 if ac_fn_c_try_link "$LINENO"
   16760 then :
   16761   eval $cacheid=yes
   16762 else $as_nop
   16763   eval $cacheid=no
   16764 fi
   16765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16766     conftest$ac_exeext conftest.$ac_ext
   16767 fi
   16768 
   16769 
   16770 		CFLAGS="$xorg_testset_save_CFLAGS"
   16771 
   16772 		eval supported=\$$cacheid
   16773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16774 printf "%s\n" "$supported" >&6; }
   16775 		if test "$supported" = "yes" ; then
   16776 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16777 			found="yes"
   16778 		fi
   16779 	fi
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 xorg_testset_save_CFLAGS="$CFLAGS"
   16796 
   16797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16802 then :
   16803   printf %s "(cached) " >&6
   16804 else $as_nop
   16805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16806 /* end confdefs.h.  */
   16807 int i;
   16808 _ACEOF
   16809 if ac_fn_c_try_compile "$LINENO"
   16810 then :
   16811   xorg_cv_cc_flag_unknown_warning_option=yes
   16812 else $as_nop
   16813   xorg_cv_cc_flag_unknown_warning_option=no
   16814 fi
   16815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16816 fi
   16817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16820 	CFLAGS="$xorg_testset_save_CFLAGS"
   16821 fi
   16822 
   16823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16826 	fi
   16827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16831 then :
   16832   printf %s "(cached) " >&6
   16833 else $as_nop
   16834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16835 /* end confdefs.h.  */
   16836 int i;
   16837 _ACEOF
   16838 if ac_fn_c_try_compile "$LINENO"
   16839 then :
   16840   xorg_cv_cc_flag_unused_command_line_argument=yes
   16841 else $as_nop
   16842   xorg_cv_cc_flag_unused_command_line_argument=no
   16843 fi
   16844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16845 fi
   16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16847 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16849 	CFLAGS="$xorg_testset_save_CFLAGS"
   16850 fi
   16851 
   16852 found="no"
   16853 
   16854 	if test $found = "no" ; then
   16855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16857 		fi
   16858 
   16859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16861 		fi
   16862 
   16863 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16864 
   16865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16866 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16867 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16868 		if eval test \${$cacheid+y}
   16869 then :
   16870   printf %s "(cached) " >&6
   16871 else $as_nop
   16872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16873 /* end confdefs.h.  */
   16874 int i;
   16875 int
   16876 main (void)
   16877 {
   16878 
   16879   ;
   16880   return 0;
   16881 }
   16882 _ACEOF
   16883 if ac_fn_c_try_link "$LINENO"
   16884 then :
   16885   eval $cacheid=yes
   16886 else $as_nop
   16887   eval $cacheid=no
   16888 fi
   16889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16890     conftest$ac_exeext conftest.$ac_ext
   16891 fi
   16892 
   16893 
   16894 		CFLAGS="$xorg_testset_save_CFLAGS"
   16895 
   16896 		eval supported=\$$cacheid
   16897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16898 printf "%s\n" "$supported" >&6; }
   16899 		if test "$supported" = "yes" ; then
   16900 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16901 			found="yes"
   16902 		fi
   16903 	fi
   16904 
   16905 	if test $found = "no" ; then
   16906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16908 		fi
   16909 
   16910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16912 		fi
   16913 
   16914 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16915 
   16916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16917 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16918 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16919 		if eval test \${$cacheid+y}
   16920 then :
   16921   printf %s "(cached) " >&6
   16922 else $as_nop
   16923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16924 /* end confdefs.h.  */
   16925 int i;
   16926 int
   16927 main (void)
   16928 {
   16929 
   16930   ;
   16931   return 0;
   16932 }
   16933 _ACEOF
   16934 if ac_fn_c_try_link "$LINENO"
   16935 then :
   16936   eval $cacheid=yes
   16937 else $as_nop
   16938   eval $cacheid=no
   16939 fi
   16940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16941     conftest$ac_exeext conftest.$ac_ext
   16942 fi
   16943 
   16944 
   16945 		CFLAGS="$xorg_testset_save_CFLAGS"
   16946 
   16947 		eval supported=\$$cacheid
   16948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16949 printf "%s\n" "$supported" >&6; }
   16950 		if test "$supported" = "yes" ; then
   16951 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16952 			found="yes"
   16953 		fi
   16954 	fi
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 xorg_testset_save_CFLAGS="$CFLAGS"
   16971 
   16972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16977 then :
   16978   printf %s "(cached) " >&6
   16979 else $as_nop
   16980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16981 /* end confdefs.h.  */
   16982 int i;
   16983 _ACEOF
   16984 if ac_fn_c_try_compile "$LINENO"
   16985 then :
   16986   xorg_cv_cc_flag_unknown_warning_option=yes
   16987 else $as_nop
   16988   xorg_cv_cc_flag_unknown_warning_option=no
   16989 fi
   16990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16991 fi
   16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16995 	CFLAGS="$xorg_testset_save_CFLAGS"
   16996 fi
   16997 
   16998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17001 	fi
   17002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17006 then :
   17007   printf %s "(cached) " >&6
   17008 else $as_nop
   17009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17010 /* end confdefs.h.  */
   17011 int i;
   17012 _ACEOF
   17013 if ac_fn_c_try_compile "$LINENO"
   17014 then :
   17015   xorg_cv_cc_flag_unused_command_line_argument=yes
   17016 else $as_nop
   17017   xorg_cv_cc_flag_unused_command_line_argument=no
   17018 fi
   17019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17020 fi
   17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17024 	CFLAGS="$xorg_testset_save_CFLAGS"
   17025 fi
   17026 
   17027 found="no"
   17028 
   17029 	if test $found = "no" ; then
   17030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17032 		fi
   17033 
   17034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17036 		fi
   17037 
   17038 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17039 
   17040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17041 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17042 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17043 		if eval test \${$cacheid+y}
   17044 then :
   17045   printf %s "(cached) " >&6
   17046 else $as_nop
   17047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17048 /* end confdefs.h.  */
   17049 int i;
   17050 int
   17051 main (void)
   17052 {
   17053 
   17054   ;
   17055   return 0;
   17056 }
   17057 _ACEOF
   17058 if ac_fn_c_try_link "$LINENO"
   17059 then :
   17060   eval $cacheid=yes
   17061 else $as_nop
   17062   eval $cacheid=no
   17063 fi
   17064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17065     conftest$ac_exeext conftest.$ac_ext
   17066 fi
   17067 
   17068 
   17069 		CFLAGS="$xorg_testset_save_CFLAGS"
   17070 
   17071 		eval supported=\$$cacheid
   17072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17073 printf "%s\n" "$supported" >&6; }
   17074 		if test "$supported" = "yes" ; then
   17075 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17076 			found="yes"
   17077 		fi
   17078 	fi
   17079 
   17080  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17081 else
   17082 { 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
   17083 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;}
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 xorg_testset_save_CFLAGS="$CFLAGS"
   17098 
   17099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17104 then :
   17105   printf %s "(cached) " >&6
   17106 else $as_nop
   17107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17108 /* end confdefs.h.  */
   17109 int i;
   17110 _ACEOF
   17111 if ac_fn_c_try_compile "$LINENO"
   17112 then :
   17113   xorg_cv_cc_flag_unknown_warning_option=yes
   17114 else $as_nop
   17115   xorg_cv_cc_flag_unknown_warning_option=no
   17116 fi
   17117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17118 fi
   17119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17120 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17122 	CFLAGS="$xorg_testset_save_CFLAGS"
   17123 fi
   17124 
   17125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17128 	fi
   17129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17133 then :
   17134   printf %s "(cached) " >&6
   17135 else $as_nop
   17136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17137 /* end confdefs.h.  */
   17138 int i;
   17139 _ACEOF
   17140 if ac_fn_c_try_compile "$LINENO"
   17141 then :
   17142   xorg_cv_cc_flag_unused_command_line_argument=yes
   17143 else $as_nop
   17144   xorg_cv_cc_flag_unused_command_line_argument=no
   17145 fi
   17146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17147 fi
   17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17149 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17151 	CFLAGS="$xorg_testset_save_CFLAGS"
   17152 fi
   17153 
   17154 found="no"
   17155 
   17156 	if test $found = "no" ; then
   17157 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17159 		fi
   17160 
   17161 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17163 		fi
   17164 
   17165 		CFLAGS="$CFLAGS -Wimplicit"
   17166 
   17167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17168 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17169 		cacheid=xorg_cv_cc_flag__Wimplicit
   17170 		if eval test \${$cacheid+y}
   17171 then :
   17172   printf %s "(cached) " >&6
   17173 else $as_nop
   17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17175 /* end confdefs.h.  */
   17176 int i;
   17177 int
   17178 main (void)
   17179 {
   17180 
   17181   ;
   17182   return 0;
   17183 }
   17184 _ACEOF
   17185 if ac_fn_c_try_link "$LINENO"
   17186 then :
   17187   eval $cacheid=yes
   17188 else $as_nop
   17189   eval $cacheid=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17192     conftest$ac_exeext conftest.$ac_ext
   17193 fi
   17194 
   17195 
   17196 		CFLAGS="$xorg_testset_save_CFLAGS"
   17197 
   17198 		eval supported=\$$cacheid
   17199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17200 printf "%s\n" "$supported" >&6; }
   17201 		if test "$supported" = "yes" ; then
   17202 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17203 			found="yes"
   17204 		fi
   17205 	fi
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 xorg_testset_save_CFLAGS="$CFLAGS"
   17222 
   17223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17226 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17227 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17228 then :
   17229   printf %s "(cached) " >&6
   17230 else $as_nop
   17231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17232 /* end confdefs.h.  */
   17233 int i;
   17234 _ACEOF
   17235 if ac_fn_c_try_compile "$LINENO"
   17236 then :
   17237   xorg_cv_cc_flag_unknown_warning_option=yes
   17238 else $as_nop
   17239   xorg_cv_cc_flag_unknown_warning_option=no
   17240 fi
   17241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17242 fi
   17243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17246 	CFLAGS="$xorg_testset_save_CFLAGS"
   17247 fi
   17248 
   17249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17252 	fi
   17253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17257 then :
   17258   printf %s "(cached) " >&6
   17259 else $as_nop
   17260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17261 /* end confdefs.h.  */
   17262 int i;
   17263 _ACEOF
   17264 if ac_fn_c_try_compile "$LINENO"
   17265 then :
   17266   xorg_cv_cc_flag_unused_command_line_argument=yes
   17267 else $as_nop
   17268   xorg_cv_cc_flag_unused_command_line_argument=no
   17269 fi
   17270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17271 fi
   17272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17275 	CFLAGS="$xorg_testset_save_CFLAGS"
   17276 fi
   17277 
   17278 found="no"
   17279 
   17280 	if test $found = "no" ; then
   17281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17283 		fi
   17284 
   17285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17287 		fi
   17288 
   17289 		CFLAGS="$CFLAGS -Wnonnull"
   17290 
   17291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17292 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17293 		cacheid=xorg_cv_cc_flag__Wnonnull
   17294 		if eval test \${$cacheid+y}
   17295 then :
   17296   printf %s "(cached) " >&6
   17297 else $as_nop
   17298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17299 /* end confdefs.h.  */
   17300 int i;
   17301 int
   17302 main (void)
   17303 {
   17304 
   17305   ;
   17306   return 0;
   17307 }
   17308 _ACEOF
   17309 if ac_fn_c_try_link "$LINENO"
   17310 then :
   17311   eval $cacheid=yes
   17312 else $as_nop
   17313   eval $cacheid=no
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17316     conftest$ac_exeext conftest.$ac_ext
   17317 fi
   17318 
   17319 
   17320 		CFLAGS="$xorg_testset_save_CFLAGS"
   17321 
   17322 		eval supported=\$$cacheid
   17323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17324 printf "%s\n" "$supported" >&6; }
   17325 		if test "$supported" = "yes" ; then
   17326 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17327 			found="yes"
   17328 		fi
   17329 	fi
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 xorg_testset_save_CFLAGS="$CFLAGS"
   17346 
   17347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17350 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17351 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17352 then :
   17353   printf %s "(cached) " >&6
   17354 else $as_nop
   17355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17356 /* end confdefs.h.  */
   17357 int i;
   17358 _ACEOF
   17359 if ac_fn_c_try_compile "$LINENO"
   17360 then :
   17361   xorg_cv_cc_flag_unknown_warning_option=yes
   17362 else $as_nop
   17363   xorg_cv_cc_flag_unknown_warning_option=no
   17364 fi
   17365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17366 fi
   17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17368 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17370 	CFLAGS="$xorg_testset_save_CFLAGS"
   17371 fi
   17372 
   17373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17376 	fi
   17377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17379 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17380 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17381 then :
   17382   printf %s "(cached) " >&6
   17383 else $as_nop
   17384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17385 /* end confdefs.h.  */
   17386 int i;
   17387 _ACEOF
   17388 if ac_fn_c_try_compile "$LINENO"
   17389 then :
   17390   xorg_cv_cc_flag_unused_command_line_argument=yes
   17391 else $as_nop
   17392   xorg_cv_cc_flag_unused_command_line_argument=no
   17393 fi
   17394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17395 fi
   17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17397 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17399 	CFLAGS="$xorg_testset_save_CFLAGS"
   17400 fi
   17401 
   17402 found="no"
   17403 
   17404 	if test $found = "no" ; then
   17405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17407 		fi
   17408 
   17409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17411 		fi
   17412 
   17413 		CFLAGS="$CFLAGS -Winit-self"
   17414 
   17415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17416 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17417 		cacheid=xorg_cv_cc_flag__Winit_self
   17418 		if eval test \${$cacheid+y}
   17419 then :
   17420   printf %s "(cached) " >&6
   17421 else $as_nop
   17422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17423 /* end confdefs.h.  */
   17424 int i;
   17425 int
   17426 main (void)
   17427 {
   17428 
   17429   ;
   17430   return 0;
   17431 }
   17432 _ACEOF
   17433 if ac_fn_c_try_link "$LINENO"
   17434 then :
   17435   eval $cacheid=yes
   17436 else $as_nop
   17437   eval $cacheid=no
   17438 fi
   17439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17440     conftest$ac_exeext conftest.$ac_ext
   17441 fi
   17442 
   17443 
   17444 		CFLAGS="$xorg_testset_save_CFLAGS"
   17445 
   17446 		eval supported=\$$cacheid
   17447 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17448 printf "%s\n" "$supported" >&6; }
   17449 		if test "$supported" = "yes" ; then
   17450 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17451 			found="yes"
   17452 		fi
   17453 	fi
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 xorg_testset_save_CFLAGS="$CFLAGS"
   17470 
   17471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17474 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17475 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17476 then :
   17477   printf %s "(cached) " >&6
   17478 else $as_nop
   17479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17480 /* end confdefs.h.  */
   17481 int i;
   17482 _ACEOF
   17483 if ac_fn_c_try_compile "$LINENO"
   17484 then :
   17485   xorg_cv_cc_flag_unknown_warning_option=yes
   17486 else $as_nop
   17487   xorg_cv_cc_flag_unknown_warning_option=no
   17488 fi
   17489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17490 fi
   17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17492 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17494 	CFLAGS="$xorg_testset_save_CFLAGS"
   17495 fi
   17496 
   17497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17500 	fi
   17501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17503 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17504 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17505 then :
   17506   printf %s "(cached) " >&6
   17507 else $as_nop
   17508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17509 /* end confdefs.h.  */
   17510 int i;
   17511 _ACEOF
   17512 if ac_fn_c_try_compile "$LINENO"
   17513 then :
   17514   xorg_cv_cc_flag_unused_command_line_argument=yes
   17515 else $as_nop
   17516   xorg_cv_cc_flag_unused_command_line_argument=no
   17517 fi
   17518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17519 fi
   17520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17523 	CFLAGS="$xorg_testset_save_CFLAGS"
   17524 fi
   17525 
   17526 found="no"
   17527 
   17528 	if test $found = "no" ; then
   17529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17531 		fi
   17532 
   17533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17535 		fi
   17536 
   17537 		CFLAGS="$CFLAGS -Wmain"
   17538 
   17539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17540 printf %s "checking if $CC supports -Wmain... " >&6; }
   17541 		cacheid=xorg_cv_cc_flag__Wmain
   17542 		if eval test \${$cacheid+y}
   17543 then :
   17544   printf %s "(cached) " >&6
   17545 else $as_nop
   17546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17547 /* end confdefs.h.  */
   17548 int i;
   17549 int
   17550 main (void)
   17551 {
   17552 
   17553   ;
   17554   return 0;
   17555 }
   17556 _ACEOF
   17557 if ac_fn_c_try_link "$LINENO"
   17558 then :
   17559   eval $cacheid=yes
   17560 else $as_nop
   17561   eval $cacheid=no
   17562 fi
   17563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17564     conftest$ac_exeext conftest.$ac_ext
   17565 fi
   17566 
   17567 
   17568 		CFLAGS="$xorg_testset_save_CFLAGS"
   17569 
   17570 		eval supported=\$$cacheid
   17571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17572 printf "%s\n" "$supported" >&6; }
   17573 		if test "$supported" = "yes" ; then
   17574 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17575 			found="yes"
   17576 		fi
   17577 	fi
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 xorg_testset_save_CFLAGS="$CFLAGS"
   17594 
   17595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17598 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17599 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17600 then :
   17601   printf %s "(cached) " >&6
   17602 else $as_nop
   17603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17604 /* end confdefs.h.  */
   17605 int i;
   17606 _ACEOF
   17607 if ac_fn_c_try_compile "$LINENO"
   17608 then :
   17609   xorg_cv_cc_flag_unknown_warning_option=yes
   17610 else $as_nop
   17611   xorg_cv_cc_flag_unknown_warning_option=no
   17612 fi
   17613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17614 fi
   17615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17616 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17618 	CFLAGS="$xorg_testset_save_CFLAGS"
   17619 fi
   17620 
   17621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17624 	fi
   17625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17627 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17628 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17629 then :
   17630   printf %s "(cached) " >&6
   17631 else $as_nop
   17632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17633 /* end confdefs.h.  */
   17634 int i;
   17635 _ACEOF
   17636 if ac_fn_c_try_compile "$LINENO"
   17637 then :
   17638   xorg_cv_cc_flag_unused_command_line_argument=yes
   17639 else $as_nop
   17640   xorg_cv_cc_flag_unused_command_line_argument=no
   17641 fi
   17642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17643 fi
   17644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17645 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17647 	CFLAGS="$xorg_testset_save_CFLAGS"
   17648 fi
   17649 
   17650 found="no"
   17651 
   17652 	if test $found = "no" ; then
   17653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17655 		fi
   17656 
   17657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17659 		fi
   17660 
   17661 		CFLAGS="$CFLAGS -Wmissing-braces"
   17662 
   17663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17664 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17665 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17666 		if eval test \${$cacheid+y}
   17667 then :
   17668   printf %s "(cached) " >&6
   17669 else $as_nop
   17670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17671 /* end confdefs.h.  */
   17672 int i;
   17673 int
   17674 main (void)
   17675 {
   17676 
   17677   ;
   17678   return 0;
   17679 }
   17680 _ACEOF
   17681 if ac_fn_c_try_link "$LINENO"
   17682 then :
   17683   eval $cacheid=yes
   17684 else $as_nop
   17685   eval $cacheid=no
   17686 fi
   17687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17688     conftest$ac_exeext conftest.$ac_ext
   17689 fi
   17690 
   17691 
   17692 		CFLAGS="$xorg_testset_save_CFLAGS"
   17693 
   17694 		eval supported=\$$cacheid
   17695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17696 printf "%s\n" "$supported" >&6; }
   17697 		if test "$supported" = "yes" ; then
   17698 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17699 			found="yes"
   17700 		fi
   17701 	fi
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 xorg_testset_save_CFLAGS="$CFLAGS"
   17718 
   17719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17724 then :
   17725   printf %s "(cached) " >&6
   17726 else $as_nop
   17727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17728 /* end confdefs.h.  */
   17729 int i;
   17730 _ACEOF
   17731 if ac_fn_c_try_compile "$LINENO"
   17732 then :
   17733   xorg_cv_cc_flag_unknown_warning_option=yes
   17734 else $as_nop
   17735   xorg_cv_cc_flag_unknown_warning_option=no
   17736 fi
   17737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17738 fi
   17739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17740 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17742 	CFLAGS="$xorg_testset_save_CFLAGS"
   17743 fi
   17744 
   17745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17748 	fi
   17749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17751 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17752 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17753 then :
   17754   printf %s "(cached) " >&6
   17755 else $as_nop
   17756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17757 /* end confdefs.h.  */
   17758 int i;
   17759 _ACEOF
   17760 if ac_fn_c_try_compile "$LINENO"
   17761 then :
   17762   xorg_cv_cc_flag_unused_command_line_argument=yes
   17763 else $as_nop
   17764   xorg_cv_cc_flag_unused_command_line_argument=no
   17765 fi
   17766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17767 fi
   17768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17769 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17771 	CFLAGS="$xorg_testset_save_CFLAGS"
   17772 fi
   17773 
   17774 found="no"
   17775 
   17776 	if test $found = "no" ; then
   17777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17779 		fi
   17780 
   17781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17783 		fi
   17784 
   17785 		CFLAGS="$CFLAGS -Wsequence-point"
   17786 
   17787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17788 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17789 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17790 		if eval test \${$cacheid+y}
   17791 then :
   17792   printf %s "(cached) " >&6
   17793 else $as_nop
   17794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17795 /* end confdefs.h.  */
   17796 int i;
   17797 int
   17798 main (void)
   17799 {
   17800 
   17801   ;
   17802   return 0;
   17803 }
   17804 _ACEOF
   17805 if ac_fn_c_try_link "$LINENO"
   17806 then :
   17807   eval $cacheid=yes
   17808 else $as_nop
   17809   eval $cacheid=no
   17810 fi
   17811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17812     conftest$ac_exeext conftest.$ac_ext
   17813 fi
   17814 
   17815 
   17816 		CFLAGS="$xorg_testset_save_CFLAGS"
   17817 
   17818 		eval supported=\$$cacheid
   17819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17820 printf "%s\n" "$supported" >&6; }
   17821 		if test "$supported" = "yes" ; then
   17822 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17823 			found="yes"
   17824 		fi
   17825 	fi
   17826 
   17827 
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 xorg_testset_save_CFLAGS="$CFLAGS"
   17842 
   17843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17848 then :
   17849   printf %s "(cached) " >&6
   17850 else $as_nop
   17851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17852 /* end confdefs.h.  */
   17853 int i;
   17854 _ACEOF
   17855 if ac_fn_c_try_compile "$LINENO"
   17856 then :
   17857   xorg_cv_cc_flag_unknown_warning_option=yes
   17858 else $as_nop
   17859   xorg_cv_cc_flag_unknown_warning_option=no
   17860 fi
   17861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17862 fi
   17863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17866 	CFLAGS="$xorg_testset_save_CFLAGS"
   17867 fi
   17868 
   17869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17872 	fi
   17873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17877 then :
   17878   printf %s "(cached) " >&6
   17879 else $as_nop
   17880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17881 /* end confdefs.h.  */
   17882 int i;
   17883 _ACEOF
   17884 if ac_fn_c_try_compile "$LINENO"
   17885 then :
   17886   xorg_cv_cc_flag_unused_command_line_argument=yes
   17887 else $as_nop
   17888   xorg_cv_cc_flag_unused_command_line_argument=no
   17889 fi
   17890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17891 fi
   17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17895 	CFLAGS="$xorg_testset_save_CFLAGS"
   17896 fi
   17897 
   17898 found="no"
   17899 
   17900 	if test $found = "no" ; then
   17901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17903 		fi
   17904 
   17905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17907 		fi
   17908 
   17909 		CFLAGS="$CFLAGS -Wreturn-type"
   17910 
   17911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17912 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17913 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17914 		if eval test \${$cacheid+y}
   17915 then :
   17916   printf %s "(cached) " >&6
   17917 else $as_nop
   17918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17919 /* end confdefs.h.  */
   17920 int i;
   17921 int
   17922 main (void)
   17923 {
   17924 
   17925   ;
   17926   return 0;
   17927 }
   17928 _ACEOF
   17929 if ac_fn_c_try_link "$LINENO"
   17930 then :
   17931   eval $cacheid=yes
   17932 else $as_nop
   17933   eval $cacheid=no
   17934 fi
   17935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17936     conftest$ac_exeext conftest.$ac_ext
   17937 fi
   17938 
   17939 
   17940 		CFLAGS="$xorg_testset_save_CFLAGS"
   17941 
   17942 		eval supported=\$$cacheid
   17943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17944 printf "%s\n" "$supported" >&6; }
   17945 		if test "$supported" = "yes" ; then
   17946 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17947 			found="yes"
   17948 		fi
   17949 	fi
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 xorg_testset_save_CFLAGS="$CFLAGS"
   17966 
   17967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17972 then :
   17973   printf %s "(cached) " >&6
   17974 else $as_nop
   17975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17976 /* end confdefs.h.  */
   17977 int i;
   17978 _ACEOF
   17979 if ac_fn_c_try_compile "$LINENO"
   17980 then :
   17981   xorg_cv_cc_flag_unknown_warning_option=yes
   17982 else $as_nop
   17983   xorg_cv_cc_flag_unknown_warning_option=no
   17984 fi
   17985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17986 fi
   17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17990 	CFLAGS="$xorg_testset_save_CFLAGS"
   17991 fi
   17992 
   17993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17996 	fi
   17997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18001 then :
   18002   printf %s "(cached) " >&6
   18003 else $as_nop
   18004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18005 /* end confdefs.h.  */
   18006 int i;
   18007 _ACEOF
   18008 if ac_fn_c_try_compile "$LINENO"
   18009 then :
   18010   xorg_cv_cc_flag_unused_command_line_argument=yes
   18011 else $as_nop
   18012   xorg_cv_cc_flag_unused_command_line_argument=no
   18013 fi
   18014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18015 fi
   18016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18019 	CFLAGS="$xorg_testset_save_CFLAGS"
   18020 fi
   18021 
   18022 found="no"
   18023 
   18024 	if test $found = "no" ; then
   18025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18027 		fi
   18028 
   18029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18031 		fi
   18032 
   18033 		CFLAGS="$CFLAGS -Wtrigraphs"
   18034 
   18035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18036 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18037 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18038 		if eval test \${$cacheid+y}
   18039 then :
   18040   printf %s "(cached) " >&6
   18041 else $as_nop
   18042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18043 /* end confdefs.h.  */
   18044 int i;
   18045 int
   18046 main (void)
   18047 {
   18048 
   18049   ;
   18050   return 0;
   18051 }
   18052 _ACEOF
   18053 if ac_fn_c_try_link "$LINENO"
   18054 then :
   18055   eval $cacheid=yes
   18056 else $as_nop
   18057   eval $cacheid=no
   18058 fi
   18059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18060     conftest$ac_exeext conftest.$ac_ext
   18061 fi
   18062 
   18063 
   18064 		CFLAGS="$xorg_testset_save_CFLAGS"
   18065 
   18066 		eval supported=\$$cacheid
   18067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18068 printf "%s\n" "$supported" >&6; }
   18069 		if test "$supported" = "yes" ; then
   18070 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18071 			found="yes"
   18072 		fi
   18073 	fi
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 xorg_testset_save_CFLAGS="$CFLAGS"
   18090 
   18091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18096 then :
   18097   printf %s "(cached) " >&6
   18098 else $as_nop
   18099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18100 /* end confdefs.h.  */
   18101 int i;
   18102 _ACEOF
   18103 if ac_fn_c_try_compile "$LINENO"
   18104 then :
   18105   xorg_cv_cc_flag_unknown_warning_option=yes
   18106 else $as_nop
   18107   xorg_cv_cc_flag_unknown_warning_option=no
   18108 fi
   18109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18110 fi
   18111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18112 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18114 	CFLAGS="$xorg_testset_save_CFLAGS"
   18115 fi
   18116 
   18117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18120 	fi
   18121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18123 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18124 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18125 then :
   18126   printf %s "(cached) " >&6
   18127 else $as_nop
   18128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18129 /* end confdefs.h.  */
   18130 int i;
   18131 _ACEOF
   18132 if ac_fn_c_try_compile "$LINENO"
   18133 then :
   18134   xorg_cv_cc_flag_unused_command_line_argument=yes
   18135 else $as_nop
   18136   xorg_cv_cc_flag_unused_command_line_argument=no
   18137 fi
   18138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18139 fi
   18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18143 	CFLAGS="$xorg_testset_save_CFLAGS"
   18144 fi
   18145 
   18146 found="no"
   18147 
   18148 	if test $found = "no" ; then
   18149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18151 		fi
   18152 
   18153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18155 		fi
   18156 
   18157 		CFLAGS="$CFLAGS -Warray-bounds"
   18158 
   18159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18160 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18161 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18162 		if eval test \${$cacheid+y}
   18163 then :
   18164   printf %s "(cached) " >&6
   18165 else $as_nop
   18166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18167 /* end confdefs.h.  */
   18168 int i;
   18169 int
   18170 main (void)
   18171 {
   18172 
   18173   ;
   18174   return 0;
   18175 }
   18176 _ACEOF
   18177 if ac_fn_c_try_link "$LINENO"
   18178 then :
   18179   eval $cacheid=yes
   18180 else $as_nop
   18181   eval $cacheid=no
   18182 fi
   18183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18184     conftest$ac_exeext conftest.$ac_ext
   18185 fi
   18186 
   18187 
   18188 		CFLAGS="$xorg_testset_save_CFLAGS"
   18189 
   18190 		eval supported=\$$cacheid
   18191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18192 printf "%s\n" "$supported" >&6; }
   18193 		if test "$supported" = "yes" ; then
   18194 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18195 			found="yes"
   18196 		fi
   18197 	fi
   18198 
   18199 
   18200 
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 xorg_testset_save_CFLAGS="$CFLAGS"
   18214 
   18215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18220 then :
   18221   printf %s "(cached) " >&6
   18222 else $as_nop
   18223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18224 /* end confdefs.h.  */
   18225 int i;
   18226 _ACEOF
   18227 if ac_fn_c_try_compile "$LINENO"
   18228 then :
   18229   xorg_cv_cc_flag_unknown_warning_option=yes
   18230 else $as_nop
   18231   xorg_cv_cc_flag_unknown_warning_option=no
   18232 fi
   18233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18234 fi
   18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18238 	CFLAGS="$xorg_testset_save_CFLAGS"
   18239 fi
   18240 
   18241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18244 	fi
   18245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18249 then :
   18250   printf %s "(cached) " >&6
   18251 else $as_nop
   18252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18253 /* end confdefs.h.  */
   18254 int i;
   18255 _ACEOF
   18256 if ac_fn_c_try_compile "$LINENO"
   18257 then :
   18258   xorg_cv_cc_flag_unused_command_line_argument=yes
   18259 else $as_nop
   18260   xorg_cv_cc_flag_unused_command_line_argument=no
   18261 fi
   18262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18263 fi
   18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18265 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18267 	CFLAGS="$xorg_testset_save_CFLAGS"
   18268 fi
   18269 
   18270 found="no"
   18271 
   18272 	if test $found = "no" ; then
   18273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18275 		fi
   18276 
   18277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18279 		fi
   18280 
   18281 		CFLAGS="$CFLAGS -Wwrite-strings"
   18282 
   18283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18284 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18285 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18286 		if eval test \${$cacheid+y}
   18287 then :
   18288   printf %s "(cached) " >&6
   18289 else $as_nop
   18290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18291 /* end confdefs.h.  */
   18292 int i;
   18293 int
   18294 main (void)
   18295 {
   18296 
   18297   ;
   18298   return 0;
   18299 }
   18300 _ACEOF
   18301 if ac_fn_c_try_link "$LINENO"
   18302 then :
   18303   eval $cacheid=yes
   18304 else $as_nop
   18305   eval $cacheid=no
   18306 fi
   18307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18308     conftest$ac_exeext conftest.$ac_ext
   18309 fi
   18310 
   18311 
   18312 		CFLAGS="$xorg_testset_save_CFLAGS"
   18313 
   18314 		eval supported=\$$cacheid
   18315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18316 printf "%s\n" "$supported" >&6; }
   18317 		if test "$supported" = "yes" ; then
   18318 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18319 			found="yes"
   18320 		fi
   18321 	fi
   18322 
   18323 
   18324 
   18325 
   18326 
   18327 
   18328 
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 xorg_testset_save_CFLAGS="$CFLAGS"
   18338 
   18339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18342 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18343 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18344 then :
   18345   printf %s "(cached) " >&6
   18346 else $as_nop
   18347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18348 /* end confdefs.h.  */
   18349 int i;
   18350 _ACEOF
   18351 if ac_fn_c_try_compile "$LINENO"
   18352 then :
   18353   xorg_cv_cc_flag_unknown_warning_option=yes
   18354 else $as_nop
   18355   xorg_cv_cc_flag_unknown_warning_option=no
   18356 fi
   18357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18358 fi
   18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18360 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18362 	CFLAGS="$xorg_testset_save_CFLAGS"
   18363 fi
   18364 
   18365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18368 	fi
   18369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18371 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18372 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18373 then :
   18374   printf %s "(cached) " >&6
   18375 else $as_nop
   18376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18377 /* end confdefs.h.  */
   18378 int i;
   18379 _ACEOF
   18380 if ac_fn_c_try_compile "$LINENO"
   18381 then :
   18382   xorg_cv_cc_flag_unused_command_line_argument=yes
   18383 else $as_nop
   18384   xorg_cv_cc_flag_unused_command_line_argument=no
   18385 fi
   18386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18387 fi
   18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18389 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18391 	CFLAGS="$xorg_testset_save_CFLAGS"
   18392 fi
   18393 
   18394 found="no"
   18395 
   18396 	if test $found = "no" ; then
   18397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18399 		fi
   18400 
   18401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18403 		fi
   18404 
   18405 		CFLAGS="$CFLAGS -Waddress"
   18406 
   18407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18408 printf %s "checking if $CC supports -Waddress... " >&6; }
   18409 		cacheid=xorg_cv_cc_flag__Waddress
   18410 		if eval test \${$cacheid+y}
   18411 then :
   18412   printf %s "(cached) " >&6
   18413 else $as_nop
   18414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18415 /* end confdefs.h.  */
   18416 int i;
   18417 int
   18418 main (void)
   18419 {
   18420 
   18421   ;
   18422   return 0;
   18423 }
   18424 _ACEOF
   18425 if ac_fn_c_try_link "$LINENO"
   18426 then :
   18427   eval $cacheid=yes
   18428 else $as_nop
   18429   eval $cacheid=no
   18430 fi
   18431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18432     conftest$ac_exeext conftest.$ac_ext
   18433 fi
   18434 
   18435 
   18436 		CFLAGS="$xorg_testset_save_CFLAGS"
   18437 
   18438 		eval supported=\$$cacheid
   18439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18440 printf "%s\n" "$supported" >&6; }
   18441 		if test "$supported" = "yes" ; then
   18442 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18443 			found="yes"
   18444 		fi
   18445 	fi
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 xorg_testset_save_CFLAGS="$CFLAGS"
   18462 
   18463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18466 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18467 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18468 then :
   18469   printf %s "(cached) " >&6
   18470 else $as_nop
   18471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18472 /* end confdefs.h.  */
   18473 int i;
   18474 _ACEOF
   18475 if ac_fn_c_try_compile "$LINENO"
   18476 then :
   18477   xorg_cv_cc_flag_unknown_warning_option=yes
   18478 else $as_nop
   18479   xorg_cv_cc_flag_unknown_warning_option=no
   18480 fi
   18481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18482 fi
   18483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18484 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18486 	CFLAGS="$xorg_testset_save_CFLAGS"
   18487 fi
   18488 
   18489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18492 	fi
   18493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18497 then :
   18498   printf %s "(cached) " >&6
   18499 else $as_nop
   18500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18501 /* end confdefs.h.  */
   18502 int i;
   18503 _ACEOF
   18504 if ac_fn_c_try_compile "$LINENO"
   18505 then :
   18506   xorg_cv_cc_flag_unused_command_line_argument=yes
   18507 else $as_nop
   18508   xorg_cv_cc_flag_unused_command_line_argument=no
   18509 fi
   18510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18511 fi
   18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18513 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18515 	CFLAGS="$xorg_testset_save_CFLAGS"
   18516 fi
   18517 
   18518 found="no"
   18519 
   18520 	if test $found = "no" ; then
   18521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18523 		fi
   18524 
   18525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18527 		fi
   18528 
   18529 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18530 
   18531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18532 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18533 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18534 		if eval test \${$cacheid+y}
   18535 then :
   18536   printf %s "(cached) " >&6
   18537 else $as_nop
   18538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18539 /* end confdefs.h.  */
   18540 int i;
   18541 int
   18542 main (void)
   18543 {
   18544 
   18545   ;
   18546   return 0;
   18547 }
   18548 _ACEOF
   18549 if ac_fn_c_try_link "$LINENO"
   18550 then :
   18551   eval $cacheid=yes
   18552 else $as_nop
   18553   eval $cacheid=no
   18554 fi
   18555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18556     conftest$ac_exeext conftest.$ac_ext
   18557 fi
   18558 
   18559 
   18560 		CFLAGS="$xorg_testset_save_CFLAGS"
   18561 
   18562 		eval supported=\$$cacheid
   18563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18564 printf "%s\n" "$supported" >&6; }
   18565 		if test "$supported" = "yes" ; then
   18566 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18567 			found="yes"
   18568 		fi
   18569 	fi
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 xorg_testset_save_CFLAGS="$CFLAGS"
   18586 
   18587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18590 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18591 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18592 then :
   18593   printf %s "(cached) " >&6
   18594 else $as_nop
   18595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18596 /* end confdefs.h.  */
   18597 int i;
   18598 _ACEOF
   18599 if ac_fn_c_try_compile "$LINENO"
   18600 then :
   18601   xorg_cv_cc_flag_unknown_warning_option=yes
   18602 else $as_nop
   18603   xorg_cv_cc_flag_unknown_warning_option=no
   18604 fi
   18605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18606 fi
   18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18608 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18610 	CFLAGS="$xorg_testset_save_CFLAGS"
   18611 fi
   18612 
   18613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18616 	fi
   18617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18618 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18619 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18620 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18621 then :
   18622   printf %s "(cached) " >&6
   18623 else $as_nop
   18624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18625 /* end confdefs.h.  */
   18626 int i;
   18627 _ACEOF
   18628 if ac_fn_c_try_compile "$LINENO"
   18629 then :
   18630   xorg_cv_cc_flag_unused_command_line_argument=yes
   18631 else $as_nop
   18632   xorg_cv_cc_flag_unused_command_line_argument=no
   18633 fi
   18634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18635 fi
   18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18637 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18639 	CFLAGS="$xorg_testset_save_CFLAGS"
   18640 fi
   18641 
   18642 found="no"
   18643 
   18644 	if test $found = "no" ; then
   18645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18647 		fi
   18648 
   18649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18651 		fi
   18652 
   18653 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18654 
   18655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18656 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18657 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18658 		if eval test \${$cacheid+y}
   18659 then :
   18660   printf %s "(cached) " >&6
   18661 else $as_nop
   18662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18663 /* end confdefs.h.  */
   18664 int i;
   18665 int
   18666 main (void)
   18667 {
   18668 
   18669   ;
   18670   return 0;
   18671 }
   18672 _ACEOF
   18673 if ac_fn_c_try_link "$LINENO"
   18674 then :
   18675   eval $cacheid=yes
   18676 else $as_nop
   18677   eval $cacheid=no
   18678 fi
   18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18680     conftest$ac_exeext conftest.$ac_ext
   18681 fi
   18682 
   18683 
   18684 		CFLAGS="$xorg_testset_save_CFLAGS"
   18685 
   18686 		eval supported=\$$cacheid
   18687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18688 printf "%s\n" "$supported" >&6; }
   18689 		if test "$supported" = "yes" ; then
   18690 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18691 			found="yes"
   18692 		fi
   18693 	fi
   18694 
   18695 
   18696 fi
   18697 
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 		CWARNFLAGS="$BASE_CFLAGS"
   18705 		if  test "x$GCC" = xyes ; then
   18706 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18707 		fi
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 
   18714 
   18715 
   18716 # Check whether --enable-strict-compilation was given.
   18717 if test ${enable_strict_compilation+y}
   18718 then :
   18719   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18720 else $as_nop
   18721   STRICT_COMPILE=no
   18722 fi
   18723 
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 STRICT_CFLAGS=""
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 xorg_testset_save_CFLAGS="$CFLAGS"
   18744 
   18745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18748 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18749 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18750 then :
   18751   printf %s "(cached) " >&6
   18752 else $as_nop
   18753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18754 /* end confdefs.h.  */
   18755 int i;
   18756 _ACEOF
   18757 if ac_fn_c_try_compile "$LINENO"
   18758 then :
   18759   xorg_cv_cc_flag_unknown_warning_option=yes
   18760 else $as_nop
   18761   xorg_cv_cc_flag_unknown_warning_option=no
   18762 fi
   18763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18764 fi
   18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18766 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18768 	CFLAGS="$xorg_testset_save_CFLAGS"
   18769 fi
   18770 
   18771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18774 	fi
   18775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18779 then :
   18780   printf %s "(cached) " >&6
   18781 else $as_nop
   18782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18783 /* end confdefs.h.  */
   18784 int i;
   18785 _ACEOF
   18786 if ac_fn_c_try_compile "$LINENO"
   18787 then :
   18788   xorg_cv_cc_flag_unused_command_line_argument=yes
   18789 else $as_nop
   18790   xorg_cv_cc_flag_unused_command_line_argument=no
   18791 fi
   18792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18793 fi
   18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18797 	CFLAGS="$xorg_testset_save_CFLAGS"
   18798 fi
   18799 
   18800 found="no"
   18801 
   18802 	if test $found = "no" ; then
   18803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18805 		fi
   18806 
   18807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18809 		fi
   18810 
   18811 		CFLAGS="$CFLAGS -pedantic"
   18812 
   18813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18814 printf %s "checking if $CC supports -pedantic... " >&6; }
   18815 		cacheid=xorg_cv_cc_flag__pedantic
   18816 		if eval test \${$cacheid+y}
   18817 then :
   18818   printf %s "(cached) " >&6
   18819 else $as_nop
   18820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18821 /* end confdefs.h.  */
   18822 int i;
   18823 int
   18824 main (void)
   18825 {
   18826 
   18827   ;
   18828   return 0;
   18829 }
   18830 _ACEOF
   18831 if ac_fn_c_try_link "$LINENO"
   18832 then :
   18833   eval $cacheid=yes
   18834 else $as_nop
   18835   eval $cacheid=no
   18836 fi
   18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18838     conftest$ac_exeext conftest.$ac_ext
   18839 fi
   18840 
   18841 
   18842 		CFLAGS="$xorg_testset_save_CFLAGS"
   18843 
   18844 		eval supported=\$$cacheid
   18845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18846 printf "%s\n" "$supported" >&6; }
   18847 		if test "$supported" = "yes" ; then
   18848 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18849 			found="yes"
   18850 		fi
   18851 	fi
   18852 
   18853 
   18854 
   18855 
   18856 
   18857 
   18858 
   18859 
   18860 
   18861 
   18862 
   18863 
   18864 
   18865 
   18866 
   18867 xorg_testset_save_CFLAGS="$CFLAGS"
   18868 
   18869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18872 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18873 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18874 then :
   18875   printf %s "(cached) " >&6
   18876 else $as_nop
   18877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18878 /* end confdefs.h.  */
   18879 int i;
   18880 _ACEOF
   18881 if ac_fn_c_try_compile "$LINENO"
   18882 then :
   18883   xorg_cv_cc_flag_unknown_warning_option=yes
   18884 else $as_nop
   18885   xorg_cv_cc_flag_unknown_warning_option=no
   18886 fi
   18887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18888 fi
   18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18890 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18892 	CFLAGS="$xorg_testset_save_CFLAGS"
   18893 fi
   18894 
   18895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18898 	fi
   18899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18901 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18902 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18903 then :
   18904   printf %s "(cached) " >&6
   18905 else $as_nop
   18906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18907 /* end confdefs.h.  */
   18908 int i;
   18909 _ACEOF
   18910 if ac_fn_c_try_compile "$LINENO"
   18911 then :
   18912   xorg_cv_cc_flag_unused_command_line_argument=yes
   18913 else $as_nop
   18914   xorg_cv_cc_flag_unused_command_line_argument=no
   18915 fi
   18916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18917 fi
   18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18919 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18921 	CFLAGS="$xorg_testset_save_CFLAGS"
   18922 fi
   18923 
   18924 found="no"
   18925 
   18926 	if test $found = "no" ; then
   18927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18929 		fi
   18930 
   18931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18933 		fi
   18934 
   18935 		CFLAGS="$CFLAGS -Werror"
   18936 
   18937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18938 printf %s "checking if $CC supports -Werror... " >&6; }
   18939 		cacheid=xorg_cv_cc_flag__Werror
   18940 		if eval test \${$cacheid+y}
   18941 then :
   18942   printf %s "(cached) " >&6
   18943 else $as_nop
   18944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18945 /* end confdefs.h.  */
   18946 int i;
   18947 int
   18948 main (void)
   18949 {
   18950 
   18951   ;
   18952   return 0;
   18953 }
   18954 _ACEOF
   18955 if ac_fn_c_try_link "$LINENO"
   18956 then :
   18957   eval $cacheid=yes
   18958 else $as_nop
   18959   eval $cacheid=no
   18960 fi
   18961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18962     conftest$ac_exeext conftest.$ac_ext
   18963 fi
   18964 
   18965 
   18966 		CFLAGS="$xorg_testset_save_CFLAGS"
   18967 
   18968 		eval supported=\$$cacheid
   18969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18970 printf "%s\n" "$supported" >&6; }
   18971 		if test "$supported" = "yes" ; then
   18972 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18973 			found="yes"
   18974 		fi
   18975 	fi
   18976 
   18977 	if test $found = "no" ; then
   18978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18980 		fi
   18981 
   18982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18984 		fi
   18985 
   18986 		CFLAGS="$CFLAGS -errwarn"
   18987 
   18988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18989 printf %s "checking if $CC supports -errwarn... " >&6; }
   18990 		cacheid=xorg_cv_cc_flag__errwarn
   18991 		if eval test \${$cacheid+y}
   18992 then :
   18993   printf %s "(cached) " >&6
   18994 else $as_nop
   18995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18996 /* end confdefs.h.  */
   18997 int i;
   18998 int
   18999 main (void)
   19000 {
   19001 
   19002   ;
   19003   return 0;
   19004 }
   19005 _ACEOF
   19006 if ac_fn_c_try_link "$LINENO"
   19007 then :
   19008   eval $cacheid=yes
   19009 else $as_nop
   19010   eval $cacheid=no
   19011 fi
   19012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19013     conftest$ac_exeext conftest.$ac_ext
   19014 fi
   19015 
   19016 
   19017 		CFLAGS="$xorg_testset_save_CFLAGS"
   19018 
   19019 		eval supported=\$$cacheid
   19020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19021 printf "%s\n" "$supported" >&6; }
   19022 		if test "$supported" = "yes" ; then
   19023 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19024 			found="yes"
   19025 		fi
   19026 	fi
   19027 
   19028 
   19029 
   19030 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19031 # activate it with -Werror, so we add it here explicitly.
   19032 
   19033 
   19034 
   19035 
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 xorg_testset_save_CFLAGS="$CFLAGS"
   19046 
   19047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19050 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19051 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19052 then :
   19053   printf %s "(cached) " >&6
   19054 else $as_nop
   19055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19056 /* end confdefs.h.  */
   19057 int i;
   19058 _ACEOF
   19059 if ac_fn_c_try_compile "$LINENO"
   19060 then :
   19061   xorg_cv_cc_flag_unknown_warning_option=yes
   19062 else $as_nop
   19063   xorg_cv_cc_flag_unknown_warning_option=no
   19064 fi
   19065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19066 fi
   19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19070 	CFLAGS="$xorg_testset_save_CFLAGS"
   19071 fi
   19072 
   19073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19076 	fi
   19077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19081 then :
   19082   printf %s "(cached) " >&6
   19083 else $as_nop
   19084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19085 /* end confdefs.h.  */
   19086 int i;
   19087 _ACEOF
   19088 if ac_fn_c_try_compile "$LINENO"
   19089 then :
   19090   xorg_cv_cc_flag_unused_command_line_argument=yes
   19091 else $as_nop
   19092   xorg_cv_cc_flag_unused_command_line_argument=no
   19093 fi
   19094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19095 fi
   19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19097 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19099 	CFLAGS="$xorg_testset_save_CFLAGS"
   19100 fi
   19101 
   19102 found="no"
   19103 
   19104 	if test $found = "no" ; then
   19105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19107 		fi
   19108 
   19109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19111 		fi
   19112 
   19113 		CFLAGS="$CFLAGS -Werror=attributes"
   19114 
   19115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19116 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19117 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19118 		if eval test \${$cacheid+y}
   19119 then :
   19120   printf %s "(cached) " >&6
   19121 else $as_nop
   19122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19123 /* end confdefs.h.  */
   19124 int i;
   19125 int
   19126 main (void)
   19127 {
   19128 
   19129   ;
   19130   return 0;
   19131 }
   19132 _ACEOF
   19133 if ac_fn_c_try_link "$LINENO"
   19134 then :
   19135   eval $cacheid=yes
   19136 else $as_nop
   19137   eval $cacheid=no
   19138 fi
   19139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19140     conftest$ac_exeext conftest.$ac_ext
   19141 fi
   19142 
   19143 
   19144 		CFLAGS="$xorg_testset_save_CFLAGS"
   19145 
   19146 		eval supported=\$$cacheid
   19147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19148 printf "%s\n" "$supported" >&6; }
   19149 		if test "$supported" = "yes" ; then
   19150 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19151 			found="yes"
   19152 		fi
   19153 	fi
   19154 
   19155 
   19156 
   19157 if test "x$STRICT_COMPILE" = "xyes"; then
   19158     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19159     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19160 fi
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 cat >>confdefs.h <<_ACEOF
   19168 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19169 _ACEOF
   19170 
   19171 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19172 	if test "x$PVM" = "x"; then
   19173 		PVM="0"
   19174 	fi
   19175 
   19176 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19177 
   19178 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19179 	if test "x$PVP" = "x"; then
   19180 		PVP="0"
   19181 	fi
   19182 
   19183 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19184 
   19185 
   19186 
   19187 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19188 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19189 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19190 touch \$(top_srcdir)/ChangeLog; \
   19191 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19192 
   19193 
   19194 
   19195 
   19196 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19197 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19198 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19199 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19200 touch \$(top_srcdir)/INSTALL; \
   19201 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 case $host_os in
   19209     solaris*)
   19210         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19211         # check for a man page file found in later versions that use
   19212         # traditional section numbers instead
   19213         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19214 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19215 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19216 then :
   19217   printf %s "(cached) " >&6
   19218 else $as_nop
   19219   test "$cross_compiling" = yes &&
   19220   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19221 if test -r "/usr/share/man/man7/attributes.7"; then
   19222   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19223 else
   19224   ac_cv_file__usr_share_man_man7_attributes_7=no
   19225 fi
   19226 fi
   19227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19228 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19229 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19230 then :
   19231   SYSV_MAN_SECTIONS=false
   19232 else $as_nop
   19233   SYSV_MAN_SECTIONS=true
   19234 fi
   19235 
   19236         ;;
   19237     *) SYSV_MAN_SECTIONS=false ;;
   19238 esac
   19239 
   19240 if test x$APP_MAN_SUFFIX = x    ; then
   19241     APP_MAN_SUFFIX=1
   19242 fi
   19243 if test x$APP_MAN_DIR = x    ; then
   19244     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19245 fi
   19246 
   19247 if test x$LIB_MAN_SUFFIX = x    ; then
   19248     LIB_MAN_SUFFIX=3
   19249 fi
   19250 if test x$LIB_MAN_DIR = x    ; then
   19251     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19252 fi
   19253 
   19254 if test x$FILE_MAN_SUFFIX = x    ; then
   19255     case $SYSV_MAN_SECTIONS in
   19256 	true)				FILE_MAN_SUFFIX=4  ;;
   19257 	*)				FILE_MAN_SUFFIX=5  ;;
   19258     esac
   19259 fi
   19260 if test x$FILE_MAN_DIR = x    ; then
   19261     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19262 fi
   19263 
   19264 if test x$MISC_MAN_SUFFIX = x    ; then
   19265     case $SYSV_MAN_SECTIONS in
   19266 	true)				MISC_MAN_SUFFIX=5  ;;
   19267 	*)				MISC_MAN_SUFFIX=7  ;;
   19268     esac
   19269 fi
   19270 if test x$MISC_MAN_DIR = x    ; then
   19271     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19272 fi
   19273 
   19274 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19275     case $SYSV_MAN_SECTIONS in
   19276 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19277 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19278     esac
   19279 fi
   19280 if test x$DRIVER_MAN_DIR = x    ; then
   19281     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19282 fi
   19283 
   19284 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19285     case $SYSV_MAN_SECTIONS in
   19286 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19287 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19288     esac
   19289 fi
   19290 if test x$ADMIN_MAN_DIR = x    ; then
   19291     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19292 fi
   19293 
   19294 
   19295 
   19296 
   19297 
   19298 
   19299 
   19300 
   19301 
   19302 
   19303 
   19304 
   19305 
   19306 
   19307 
   19308 XORG_MAN_PAGE="X Version 11"
   19309 
   19310 MAN_SUBSTS="\
   19311 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19312 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19313 	-e 's|__xservername__|Xorg|g' \
   19314 	-e 's|__xconfigfile__|xorg.conf|g' \
   19315 	-e 's|__projectroot__|\$(prefix)|g' \
   19316 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19317 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19318 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19319 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19320 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19321 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19322 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19323 
   19324 
   19325 
   19326 # Check whether --enable-silent-rules was given.
   19327 if test ${enable_silent_rules+y}
   19328 then :
   19329   enableval=$enable_silent_rules;
   19330 fi
   19331 
   19332 case $enable_silent_rules in # (((
   19333   yes) AM_DEFAULT_VERBOSITY=0;;
   19334    no) AM_DEFAULT_VERBOSITY=1;;
   19335     *) AM_DEFAULT_VERBOSITY=0;;
   19336 esac
   19337 am_make=${MAKE-make}
   19338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19339 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19340 if test ${am_cv_make_support_nested_variables+y}
   19341 then :
   19342   printf %s "(cached) " >&6
   19343 else $as_nop
   19344   if printf "%s\n" 'TRUE=$(BAR$(V))
   19345 BAR0=false
   19346 BAR1=true
   19347 V=1
   19348 am__doit:
   19349 	@$(TRUE)
   19350 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19351   am_cv_make_support_nested_variables=yes
   19352 else
   19353   am_cv_make_support_nested_variables=no
   19354 fi
   19355 fi
   19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19357 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19358 if test $am_cv_make_support_nested_variables = yes; then
   19359     AM_V='$(V)'
   19360   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19361 else
   19362   AM_V=$AM_DEFAULT_VERBOSITY
   19363   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19364 fi
   19365 AM_BACKSLASH='\'
   19366 
   19367 
   19368 
   19369 
   19370 # Check whether --enable-docs was given.
   19371 if test ${enable_docs+y}
   19372 then :
   19373   enableval=$enable_docs; build_docs=$enableval
   19374 else $as_nop
   19375   build_docs=yes
   19376 fi
   19377 
   19378 
   19379  if test x$build_docs = xyes; then
   19380   ENABLE_DOCS_TRUE=
   19381   ENABLE_DOCS_FALSE='#'
   19382 else
   19383   ENABLE_DOCS_TRUE='#'
   19384   ENABLE_DOCS_FALSE=
   19385 fi
   19386 
   19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   19388 printf %s "checking whether to build documentation... " >&6; }
   19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   19390 printf "%s\n" "$build_docs" >&6; }
   19391 
   19392 
   19393 
   19394 # Check whether --enable-specs was given.
   19395 if test ${enable_specs+y}
   19396 then :
   19397   enableval=$enable_specs; build_specs=$enableval
   19398 else $as_nop
   19399   build_specs=yes
   19400 fi
   19401 
   19402 
   19403  if test x$build_specs = xyes; then
   19404   ENABLE_SPECS_TRUE=
   19405   ENABLE_SPECS_FALSE='#'
   19406 else
   19407   ENABLE_SPECS_TRUE='#'
   19408   ENABLE_SPECS_FALSE=
   19409 fi
   19410 
   19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19412 printf %s "checking whether to build functional specifications... " >&6; }
   19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19414 printf "%s\n" "$build_specs" >&6; }
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 # Check whether --with-xmlto was given.
   19421 if test ${with_xmlto+y}
   19422 then :
   19423   withval=$with_xmlto; use_xmlto=$withval
   19424 else $as_nop
   19425   use_xmlto=auto
   19426 fi
   19427 
   19428 
   19429 
   19430 if test "x$use_xmlto" = x"auto"; then
   19431    # Extract the first word of "xmlto", so it can be a program name with args.
   19432 set dummy xmlto; ac_word=$2
   19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19434 printf %s "checking for $ac_word... " >&6; }
   19435 if test ${ac_cv_path_XMLTO+y}
   19436 then :
   19437   printf %s "(cached) " >&6
   19438 else $as_nop
   19439   case $XMLTO in
   19440   [\\/]* | ?:[\\/]*)
   19441   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19442   ;;
   19443   *)
   19444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19445 for as_dir in $PATH
   19446 do
   19447   IFS=$as_save_IFS
   19448   case $as_dir in #(((
   19449     '') as_dir=./ ;;
   19450     */) ;;
   19451     *) as_dir=$as_dir/ ;;
   19452   esac
   19453     for ac_exec_ext in '' $ac_executable_extensions; do
   19454   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19455     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19456     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19457     break 2
   19458   fi
   19459 done
   19460   done
   19461 IFS=$as_save_IFS
   19462 
   19463   ;;
   19464 esac
   19465 fi
   19466 XMLTO=$ac_cv_path_XMLTO
   19467 if test -n "$XMLTO"; then
   19468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19469 printf "%s\n" "$XMLTO" >&6; }
   19470 else
   19471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19472 printf "%s\n" "no" >&6; }
   19473 fi
   19474 
   19475 
   19476    if test "x$XMLTO" = "x"; then
   19477         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19478 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19479 	have_xmlto=no
   19480    else
   19481         have_xmlto=yes
   19482    fi
   19483 elif test "x$use_xmlto" = x"yes" ; then
   19484    # Extract the first word of "xmlto", so it can be a program name with args.
   19485 set dummy xmlto; ac_word=$2
   19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19487 printf %s "checking for $ac_word... " >&6; }
   19488 if test ${ac_cv_path_XMLTO+y}
   19489 then :
   19490   printf %s "(cached) " >&6
   19491 else $as_nop
   19492   case $XMLTO in
   19493   [\\/]* | ?:[\\/]*)
   19494   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19495   ;;
   19496   *)
   19497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19498 for as_dir in $PATH
   19499 do
   19500   IFS=$as_save_IFS
   19501   case $as_dir in #(((
   19502     '') as_dir=./ ;;
   19503     */) ;;
   19504     *) as_dir=$as_dir/ ;;
   19505   esac
   19506     for ac_exec_ext in '' $ac_executable_extensions; do
   19507   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19508     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19509     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19510     break 2
   19511   fi
   19512 done
   19513   done
   19514 IFS=$as_save_IFS
   19515 
   19516   ;;
   19517 esac
   19518 fi
   19519 XMLTO=$ac_cv_path_XMLTO
   19520 if test -n "$XMLTO"; then
   19521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19522 printf "%s\n" "$XMLTO" >&6; }
   19523 else
   19524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19525 printf "%s\n" "no" >&6; }
   19526 fi
   19527 
   19528 
   19529    if test "x$XMLTO" = "x"; then
   19530         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19531    fi
   19532    have_xmlto=yes
   19533 elif test "x$use_xmlto" = x"no" ; then
   19534    if test "x$XMLTO" != "x"; then
   19535       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19536 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19537    fi
   19538    have_xmlto=no
   19539 else
   19540    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19541 fi
   19542 
   19543 # Test for a minimum version of xmlto, if provided.
   19544 if test "$have_xmlto" = yes; then
   19545     # scrape the xmlto version
   19546     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19547 printf %s "checking the xmlto version... " >&6; }
   19548     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19549     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19550 printf "%s\n" "$xmlto_version" >&6; }
   19551     as_arg_v1=$xmlto_version
   19552 as_arg_v2=0.0.22
   19553 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19554 case $? in #(
   19555   1) :
   19556     if test "x$use_xmlto" = xauto; then
   19557             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19558 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19559             have_xmlto=no
   19560         else
   19561             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19562         fi ;; #(
   19563   0) :
   19564      ;; #(
   19565   2) :
   19566      ;; #(
   19567   *) :
   19568      ;;
   19569 esac
   19570 fi
   19571 
   19572 # Test for the ability of xmlto to generate a text target
   19573 #
   19574 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19575 # following test for empty XML docbook files.
   19576 # For compatibility reasons use the following empty XML docbook file and if
   19577 # it fails try it again with a non-empty XML file.
   19578 have_xmlto_text=no
   19579 cat > conftest.xml << "EOF"
   19580 EOF
   19581 if test "$have_xmlto" = yes
   19582 then :
   19583   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19584 then :
   19585   have_xmlto_text=yes
   19586 else $as_nop
   19587   # Try it again with a non-empty XML file.
   19588               cat > conftest.xml << "EOF"
   19589 <x></x>
   19590 EOF
   19591               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19592 then :
   19593   have_xmlto_text=yes
   19594 else $as_nop
   19595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19596 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19597 fi
   19598 fi
   19599 fi
   19600 rm -f conftest.xml
   19601  if test $have_xmlto_text = yes; then
   19602   HAVE_XMLTO_TEXT_TRUE=
   19603   HAVE_XMLTO_TEXT_FALSE='#'
   19604 else
   19605   HAVE_XMLTO_TEXT_TRUE='#'
   19606   HAVE_XMLTO_TEXT_FALSE=
   19607 fi
   19608 
   19609  if test "$have_xmlto" = yes; then
   19610   HAVE_XMLTO_TRUE=
   19611   HAVE_XMLTO_FALSE='#'
   19612 else
   19613   HAVE_XMLTO_TRUE='#'
   19614   HAVE_XMLTO_FALSE=
   19615 fi
   19616 
   19617 
   19618 
   19619 
   19620 
   19621 
   19622 # Check whether --with-fop was given.
   19623 if test ${with_fop+y}
   19624 then :
   19625   withval=$with_fop; use_fop=$withval
   19626 else $as_nop
   19627   use_fop=auto
   19628 fi
   19629 
   19630 
   19631 
   19632 if test "x$use_fop" = x"auto"; then
   19633    # Extract the first word of "fop", so it can be a program name with args.
   19634 set dummy fop; ac_word=$2
   19635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19636 printf %s "checking for $ac_word... " >&6; }
   19637 if test ${ac_cv_path_FOP+y}
   19638 then :
   19639   printf %s "(cached) " >&6
   19640 else $as_nop
   19641   case $FOP in
   19642   [\\/]* | ?:[\\/]*)
   19643   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19644   ;;
   19645   *)
   19646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19647 for as_dir in $PATH
   19648 do
   19649   IFS=$as_save_IFS
   19650   case $as_dir in #(((
   19651     '') as_dir=./ ;;
   19652     */) ;;
   19653     *) as_dir=$as_dir/ ;;
   19654   esac
   19655     for ac_exec_ext in '' $ac_executable_extensions; do
   19656   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19657     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19658     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19659     break 2
   19660   fi
   19661 done
   19662   done
   19663 IFS=$as_save_IFS
   19664 
   19665   ;;
   19666 esac
   19667 fi
   19668 FOP=$ac_cv_path_FOP
   19669 if test -n "$FOP"; then
   19670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19671 printf "%s\n" "$FOP" >&6; }
   19672 else
   19673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19674 printf "%s\n" "no" >&6; }
   19675 fi
   19676 
   19677 
   19678    if test "x$FOP" = "x"; then
   19679         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19680 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19681 	have_fop=no
   19682    else
   19683         have_fop=yes
   19684    fi
   19685 elif test "x$use_fop" = x"yes" ; then
   19686    # Extract the first word of "fop", so it can be a program name with args.
   19687 set dummy fop; ac_word=$2
   19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19689 printf %s "checking for $ac_word... " >&6; }
   19690 if test ${ac_cv_path_FOP+y}
   19691 then :
   19692   printf %s "(cached) " >&6
   19693 else $as_nop
   19694   case $FOP in
   19695   [\\/]* | ?:[\\/]*)
   19696   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19697   ;;
   19698   *)
   19699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19700 for as_dir in $PATH
   19701 do
   19702   IFS=$as_save_IFS
   19703   case $as_dir in #(((
   19704     '') as_dir=./ ;;
   19705     */) ;;
   19706     *) as_dir=$as_dir/ ;;
   19707   esac
   19708     for ac_exec_ext in '' $ac_executable_extensions; do
   19709   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19710     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19711     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19712     break 2
   19713   fi
   19714 done
   19715   done
   19716 IFS=$as_save_IFS
   19717 
   19718   ;;
   19719 esac
   19720 fi
   19721 FOP=$ac_cv_path_FOP
   19722 if test -n "$FOP"; then
   19723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19724 printf "%s\n" "$FOP" >&6; }
   19725 else
   19726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19727 printf "%s\n" "no" >&6; }
   19728 fi
   19729 
   19730 
   19731    if test "x$FOP" = "x"; then
   19732         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19733    fi
   19734    have_fop=yes
   19735 elif test "x$use_fop" = x"no" ; then
   19736    if test "x$FOP" != "x"; then
   19737       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19738 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19739    fi
   19740    have_fop=no
   19741 else
   19742    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19743 fi
   19744 
   19745 # Test for a minimum version of fop, if provided.
   19746 
   19747  if test "$have_fop" = yes; then
   19748   HAVE_FOP_TRUE=
   19749   HAVE_FOP_FALSE='#'
   19750 else
   19751   HAVE_FOP_TRUE='#'
   19752   HAVE_FOP_FALSE=
   19753 fi
   19754 
   19755 
   19756 
   19757 
   19758 # Preserves the interface, should it be implemented later
   19759 
   19760 
   19761 
   19762 # Check whether --with-xsltproc was given.
   19763 if test ${with_xsltproc+y}
   19764 then :
   19765   withval=$with_xsltproc; use_xsltproc=$withval
   19766 else $as_nop
   19767   use_xsltproc=auto
   19768 fi
   19769 
   19770 
   19771 
   19772 if test "x$use_xsltproc" = x"auto"; then
   19773    # Extract the first word of "xsltproc", so it can be a program name with args.
   19774 set dummy xsltproc; ac_word=$2
   19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19776 printf %s "checking for $ac_word... " >&6; }
   19777 if test ${ac_cv_path_XSLTPROC+y}
   19778 then :
   19779   printf %s "(cached) " >&6
   19780 else $as_nop
   19781   case $XSLTPROC in
   19782   [\\/]* | ?:[\\/]*)
   19783   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19784   ;;
   19785   *)
   19786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19787 for as_dir in $PATH
   19788 do
   19789   IFS=$as_save_IFS
   19790   case $as_dir in #(((
   19791     '') as_dir=./ ;;
   19792     */) ;;
   19793     *) as_dir=$as_dir/ ;;
   19794   esac
   19795     for ac_exec_ext in '' $ac_executable_extensions; do
   19796   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19797     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19798     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19799     break 2
   19800   fi
   19801 done
   19802   done
   19803 IFS=$as_save_IFS
   19804 
   19805   ;;
   19806 esac
   19807 fi
   19808 XSLTPROC=$ac_cv_path_XSLTPROC
   19809 if test -n "$XSLTPROC"; then
   19810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19811 printf "%s\n" "$XSLTPROC" >&6; }
   19812 else
   19813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19814 printf "%s\n" "no" >&6; }
   19815 fi
   19816 
   19817 
   19818    if test "x$XSLTPROC" = "x"; then
   19819         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19820 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19821 	have_xsltproc=no
   19822    else
   19823         have_xsltproc=yes
   19824    fi
   19825 elif test "x$use_xsltproc" = x"yes" ; then
   19826    # Extract the first word of "xsltproc", so it can be a program name with args.
   19827 set dummy xsltproc; ac_word=$2
   19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19829 printf %s "checking for $ac_word... " >&6; }
   19830 if test ${ac_cv_path_XSLTPROC+y}
   19831 then :
   19832   printf %s "(cached) " >&6
   19833 else $as_nop
   19834   case $XSLTPROC in
   19835   [\\/]* | ?:[\\/]*)
   19836   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19837   ;;
   19838   *)
   19839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19840 for as_dir in $PATH
   19841 do
   19842   IFS=$as_save_IFS
   19843   case $as_dir in #(((
   19844     '') as_dir=./ ;;
   19845     */) ;;
   19846     *) as_dir=$as_dir/ ;;
   19847   esac
   19848     for ac_exec_ext in '' $ac_executable_extensions; do
   19849   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19850     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19851     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19852     break 2
   19853   fi
   19854 done
   19855   done
   19856 IFS=$as_save_IFS
   19857 
   19858   ;;
   19859 esac
   19860 fi
   19861 XSLTPROC=$ac_cv_path_XSLTPROC
   19862 if test -n "$XSLTPROC"; then
   19863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19864 printf "%s\n" "$XSLTPROC" >&6; }
   19865 else
   19866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19867 printf "%s\n" "no" >&6; }
   19868 fi
   19869 
   19870 
   19871    if test "x$XSLTPROC" = "x"; then
   19872         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19873    fi
   19874    have_xsltproc=yes
   19875 elif test "x$use_xsltproc" = x"no" ; then
   19876    if test "x$XSLTPROC" != "x"; then
   19877       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19878 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19879    fi
   19880    have_xsltproc=no
   19881 else
   19882    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19883 fi
   19884 
   19885  if test "$have_xsltproc" = yes; then
   19886   HAVE_XSLTPROC_TRUE=
   19887   HAVE_XSLTPROC_FALSE='#'
   19888 else
   19889   HAVE_XSLTPROC_TRUE='#'
   19890   HAVE_XSLTPROC_FALSE=
   19891 fi
   19892 
   19893 
   19894 
   19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   19896 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   19897 XORG_SGML_PATH=
   19898 if test -n "$PKG_CONFIG" && \
   19899     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   19900   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   19901   ac_status=$?
   19902   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19903   test $ac_status = 0; }; then
   19904   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19905 else
   19906   :
   19907 
   19908 fi
   19909 
   19910 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19911 # the path and the name of the doc stylesheet
   19912 if test "x$XORG_SGML_PATH" != "x" ; then
   19913    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19914 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19915    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19916    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19917 else
   19918    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19919 printf "%s\n" "no" >&6; }
   19920 fi
   19921 
   19922 
   19923 
   19924 
   19925  if test "x$XSL_STYLESHEET" != "x"; then
   19926   HAVE_STYLESHEETS_TRUE=
   19927   HAVE_STYLESHEETS_FALSE='#'
   19928 else
   19929   HAVE_STYLESHEETS_TRUE='#'
   19930   HAVE_STYLESHEETS_FALSE=
   19931 fi
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 # Check whether --with-asciidoc was given.
   19939 if test ${with_asciidoc+y}
   19940 then :
   19941   withval=$with_asciidoc; use_asciidoc=$withval
   19942 else $as_nop
   19943   use_asciidoc=auto
   19944 fi
   19945 
   19946 
   19947 
   19948 if test "x$use_asciidoc" = x"auto"; then
   19949    # Extract the first word of "asciidoc", so it can be a program name with args.
   19950 set dummy asciidoc; ac_word=$2
   19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19952 printf %s "checking for $ac_word... " >&6; }
   19953 if test ${ac_cv_path_ASCIIDOC+y}
   19954 then :
   19955   printf %s "(cached) " >&6
   19956 else $as_nop
   19957   case $ASCIIDOC in
   19958   [\\/]* | ?:[\\/]*)
   19959   ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
   19960   ;;
   19961   *)
   19962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19963 for as_dir in $PATH
   19964 do
   19965   IFS=$as_save_IFS
   19966   case $as_dir in #(((
   19967     '') as_dir=./ ;;
   19968     */) ;;
   19969     *) as_dir=$as_dir/ ;;
   19970   esac
   19971     for ac_exec_ext in '' $ac_executable_extensions; do
   19972   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19973     ac_cv_path_ASCIIDOC="$as_dir$ac_word$ac_exec_ext"
   19974     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19975     break 2
   19976   fi
   19977 done
   19978   done
   19979 IFS=$as_save_IFS
   19980 
   19981   ;;
   19982 esac
   19983 fi
   19984 ASCIIDOC=$ac_cv_path_ASCIIDOC
   19985 if test -n "$ASCIIDOC"; then
   19986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
   19987 printf "%s\n" "$ASCIIDOC" >&6; }
   19988 else
   19989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19990 printf "%s\n" "no" >&6; }
   19991 fi
   19992 
   19993 
   19994    if test "x$ASCIIDOC" = "x"; then
   19995         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc not found - documentation targets will be skipped" >&5
   19996 printf "%s\n" "$as_me: WARNING: asciidoc not found - documentation targets will be skipped" >&2;}
   19997 	have_asciidoc=no
   19998    else
   19999         have_asciidoc=yes
   20000    fi
   20001 elif test "x$use_asciidoc" = x"yes" ; then
   20002    # Extract the first word of "asciidoc", so it can be a program name with args.
   20003 set dummy asciidoc; ac_word=$2
   20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20005 printf %s "checking for $ac_word... " >&6; }
   20006 if test ${ac_cv_path_ASCIIDOC+y}
   20007 then :
   20008   printf %s "(cached) " >&6
   20009 else $as_nop
   20010   case $ASCIIDOC in
   20011   [\\/]* | ?:[\\/]*)
   20012   ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
   20013   ;;
   20014   *)
   20015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20016 for as_dir in $PATH
   20017 do
   20018   IFS=$as_save_IFS
   20019   case $as_dir in #(((
   20020     '') as_dir=./ ;;
   20021     */) ;;
   20022     *) as_dir=$as_dir/ ;;
   20023   esac
   20024     for ac_exec_ext in '' $ac_executable_extensions; do
   20025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20026     ac_cv_path_ASCIIDOC="$as_dir$ac_word$ac_exec_ext"
   20027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20028     break 2
   20029   fi
   20030 done
   20031   done
   20032 IFS=$as_save_IFS
   20033 
   20034   ;;
   20035 esac
   20036 fi
   20037 ASCIIDOC=$ac_cv_path_ASCIIDOC
   20038 if test -n "$ASCIIDOC"; then
   20039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
   20040 printf "%s\n" "$ASCIIDOC" >&6; }
   20041 else
   20042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20043 printf "%s\n" "no" >&6; }
   20044 fi
   20045 
   20046 
   20047    if test "x$ASCIIDOC" = "x"; then
   20048         as_fn_error $? "--with-asciidoc=yes specified but asciidoc not found in PATH" "$LINENO" 5
   20049    fi
   20050    have_asciidoc=yes
   20051 elif test "x$use_asciidoc" = x"no" ; then
   20052    if test "x$ASCIIDOC" != "x"; then
   20053       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&5
   20054 printf "%s\n" "$as_me: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&2;}
   20055    fi
   20056    have_asciidoc=no
   20057 else
   20058    as_fn_error $? "--with-asciidoc expects 'yes' or 'no'" "$LINENO" 5
   20059 fi
   20060 if test "$have_asciidoc" = yes; then
   20061     # scrape the asciidoc version
   20062     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the asciidoc version" >&5
   20063 printf %s "checking the asciidoc version... " >&6; }
   20064     asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
   20065     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $asciidoc_version" >&5
   20066 printf "%s\n" "$asciidoc_version" >&6; }
   20067     as_arg_v1=$asciidoc_version
   20068 as_arg_v2=8.4.5
   20069 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20070 case $? in #(
   20071   1) :
   20072     if test "x$use_asciidoc" = xauto; then
   20073             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&5
   20074 printf "%s\n" "$as_me: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&2;}
   20075             have_asciidoc=no
   20076         else
   20077             as_fn_error $? "asciidoc version $asciidoc_version found, but 8.4.5 needed" "$LINENO" 5
   20078         fi ;; #(
   20079   0) :
   20080      ;; #(
   20081   2) :
   20082      ;; #(
   20083   *) :
   20084      ;;
   20085 esac
   20086 fi
   20087  if test "$have_asciidoc" = yes; then
   20088   HAVE_ASCIIDOC_TRUE=
   20089   HAVE_ASCIIDOC_FALSE='#'
   20090 else
   20091   HAVE_ASCIIDOC_TRUE='#'
   20092   HAVE_ASCIIDOC_FALSE=
   20093 fi
   20094 
   20095 
   20096 
   20097 # Check whether --enable-malloc0returnsnull was given.
   20098 if test ${enable_malloc0returnsnull+y}
   20099 then :
   20100   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20101 else $as_nop
   20102   MALLOC_ZERO_RETURNS_NULL=auto
   20103 fi
   20104 
   20105 
   20106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   20107 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   20108 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20109 if test ${xorg_cv_malloc0_returns_null+y}
   20110 then :
   20111   printf %s "(cached) " >&6
   20112 else $as_nop
   20113   if test "$cross_compiling" = yes
   20114 then :
   20115   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20117 as_fn_error $? "cannot run test program while cross compiling
   20118 See \`config.log' for more details" "$LINENO" 5; }
   20119 else $as_nop
   20120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20121 /* end confdefs.h.  */
   20122 
   20123 #include <stdlib.h>
   20124 
   20125 int
   20126 main (void)
   20127 {
   20128 
   20129     char *m0, *r0, *c0, *p;
   20130     m0 = malloc(0);
   20131     p = malloc(10);
   20132     r0 = realloc(p,0);
   20133     c0 = calloc(0,10);
   20134     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   20135 
   20136   ;
   20137   return 0;
   20138 }
   20139 _ACEOF
   20140 if ac_fn_c_try_run "$LINENO"
   20141 then :
   20142   xorg_cv_malloc0_returns_null=yes
   20143 else $as_nop
   20144   xorg_cv_malloc0_returns_null=no
   20145 fi
   20146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20147   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20148 fi
   20149 
   20150 fi
   20151 
   20152 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   20153 fi
   20154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20155 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20156 
   20157 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20158 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20159 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20160 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20161 else
   20162 	MALLOC_ZERO_CFLAGS=""
   20163 	XMALLOC_ZERO_CFLAGS=""
   20164 	XTMALLOC_ZERO_CFLAGS=""
   20165 fi
   20166 
   20167 
   20168 
   20169 
   20170 
   20171 
   20172 # Obtain compiler/linker options for dependencies
   20173 
   20174 pkg_failed=no
   20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XI" >&5
   20176 printf %s "checking for XI... " >&6; }
   20177 
   20178 if test -n "$XI_CFLAGS"; then
   20179     pkg_cv_XI_CFLAGS="$XI_CFLAGS"
   20180  elif test -n "$PKG_CONFIG"; then
   20181     if test -n "$PKG_CONFIG" && \
   20182     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1\""; } >&5
   20183   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1") 2>&5
   20184   ac_status=$?
   20185   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20186   test $ac_status = 0; }; then
   20187   pkg_cv_XI_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1" 2>/dev/null`
   20188 		      test "x$?" != "x0" && pkg_failed=yes
   20189 else
   20190   pkg_failed=yes
   20191 fi
   20192  else
   20193     pkg_failed=untried
   20194 fi
   20195 if test -n "$XI_LIBS"; then
   20196     pkg_cv_XI_LIBS="$XI_LIBS"
   20197  elif test -n "$PKG_CONFIG"; then
   20198     if test -n "$PKG_CONFIG" && \
   20199     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1\""; } >&5
   20200   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1") 2>&5
   20201   ac_status=$?
   20202   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20203   test $ac_status = 0; }; then
   20204   pkg_cv_XI_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1" 2>/dev/null`
   20205 		      test "x$?" != "x0" && pkg_failed=yes
   20206 else
   20207   pkg_failed=yes
   20208 fi
   20209  else
   20210     pkg_failed=untried
   20211 fi
   20212 
   20213 
   20214 
   20215 if test $pkg_failed = yes; then
   20216    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20217 printf "%s\n" "no" >&6; }
   20218 
   20219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20220         _pkg_short_errors_supported=yes
   20221 else
   20222         _pkg_short_errors_supported=no
   20223 fi
   20224         if test $_pkg_short_errors_supported = yes; then
   20225 	        XI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1" 2>&1`
   20226         else
   20227 	        XI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1" 2>&1`
   20228         fi
   20229 	# Put the nasty error message in config.log where it belongs
   20230 	echo "$XI_PKG_ERRORS" >&5
   20231 
   20232 	as_fn_error $? "Package requirements (xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 2.3.99.1) were not met:
   20233 
   20234 $XI_PKG_ERRORS
   20235 
   20236 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20237 installed software in a non-standard prefix.
   20238 
   20239 Alternatively, you may set the environment variables XI_CFLAGS
   20240 and XI_LIBS to avoid the need to call pkg-config.
   20241 See the pkg-config man page for more details." "$LINENO" 5
   20242 elif test $pkg_failed = untried; then
   20243      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20244 printf "%s\n" "no" >&6; }
   20245 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20246 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20247 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20248 is in your PATH or set the PKG_CONFIG environment variable to the full
   20249 path to pkg-config.
   20250 
   20251 Alternatively, you may set the environment variables XI_CFLAGS
   20252 and XI_LIBS to avoid the need to call pkg-config.
   20253 See the pkg-config man page for more details.
   20254 
   20255 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20256 See \`config.log' for more details" "$LINENO" 5; }
   20257 else
   20258 	XI_CFLAGS=$pkg_cv_XI_CFLAGS
   20259 	XI_LIBS=$pkg_cv_XI_LIBS
   20260         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20261 printf "%s\n" "yes" >&6; }
   20262 
   20263 fi
   20264 # CFLAGS only for PointerBarrier typedef
   20265 
   20266 pkg_failed=no
   20267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
   20268 printf %s "checking for XFIXES... " >&6; }
   20269 
   20270 if test -n "$XFIXES_CFLAGS"; then
   20271     pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
   20272  elif test -n "$PKG_CONFIG"; then
   20273     if test -n "$PKG_CONFIG" && \
   20274     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= 5\""; } >&5
   20275   ($PKG_CONFIG --exists --print-errors "xfixes >= 5") 2>&5
   20276   ac_status=$?
   20277   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20278   test $ac_status = 0; }; then
   20279   pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes >= 5" 2>/dev/null`
   20280 		      test "x$?" != "x0" && pkg_failed=yes
   20281 else
   20282   pkg_failed=yes
   20283 fi
   20284  else
   20285     pkg_failed=untried
   20286 fi
   20287 if test -n "$XFIXES_LIBS"; then
   20288     pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
   20289  elif test -n "$PKG_CONFIG"; then
   20290     if test -n "$PKG_CONFIG" && \
   20291     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes >= 5\""; } >&5
   20292   ($PKG_CONFIG --exists --print-errors "xfixes >= 5") 2>&5
   20293   ac_status=$?
   20294   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20295   test $ac_status = 0; }; then
   20296   pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes >= 5" 2>/dev/null`
   20297 		      test "x$?" != "x0" && pkg_failed=yes
   20298 else
   20299   pkg_failed=yes
   20300 fi
   20301  else
   20302     pkg_failed=untried
   20303 fi
   20304 
   20305 
   20306 
   20307 if test $pkg_failed = yes; then
   20308    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20309 printf "%s\n" "no" >&6; }
   20310 
   20311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20312         _pkg_short_errors_supported=yes
   20313 else
   20314         _pkg_short_errors_supported=no
   20315 fi
   20316         if test $_pkg_short_errors_supported = yes; then
   20317 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xfixes >= 5" 2>&1`
   20318         else
   20319 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xfixes >= 5" 2>&1`
   20320         fi
   20321 	# Put the nasty error message in config.log where it belongs
   20322 	echo "$XFIXES_PKG_ERRORS" >&5
   20323 
   20324 	as_fn_error $? "Package requirements (xfixes >= 5) were not met:
   20325 
   20326 $XFIXES_PKG_ERRORS
   20327 
   20328 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20329 installed software in a non-standard prefix.
   20330 
   20331 Alternatively, you may set the environment variables XFIXES_CFLAGS
   20332 and XFIXES_LIBS to avoid the need to call pkg-config.
   20333 See the pkg-config man page for more details." "$LINENO" 5
   20334 elif test $pkg_failed = untried; then
   20335      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20336 printf "%s\n" "no" >&6; }
   20337 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20338 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20339 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20340 is in your PATH or set the PKG_CONFIG environment variable to the full
   20341 path to pkg-config.
   20342 
   20343 Alternatively, you may set the environment variables XFIXES_CFLAGS
   20344 and XFIXES_LIBS to avoid the need to call pkg-config.
   20345 See the pkg-config man page for more details.
   20346 
   20347 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20348 See \`config.log' for more details" "$LINENO" 5; }
   20349 else
   20350 	XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
   20351 	XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
   20352         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20353 printf "%s\n" "yes" >&6; }
   20354 
   20355 fi
   20356 
   20357 # Check for xmlto and asciidoc for man page conversion
   20358 # (only needed by people building tarballs)
   20359 if test "$have_xmlto" = yes && test "$have_asciidoc" = yes; then
   20360 	have_doctools=yes
   20361 else
   20362 	have_doctools=no
   20363 fi
   20364  if test $have_doctools = yes; then
   20365   HAVE_DOCTOOLS_TRUE=
   20366   HAVE_DOCTOOLS_FALSE='#'
   20367 else
   20368   HAVE_DOCTOOLS_TRUE='#'
   20369   HAVE_DOCTOOLS_FALSE=
   20370 fi
   20371 
   20372 if test $have_doctools = no; then
   20373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&5
   20374 printf "%s\n" "$as_me: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&2;}
   20375 fi
   20376 
   20377 # Determine if the source for man pages is available
   20378 # It may already be present (tarball) or can be generated using doctools
   20379  if test -f "$srcdir/man/XAllowDeviceEvents.man" || \
   20380 	  test $have_doctools = yes; then
   20381   INSTALL_MANPAGES_TRUE=
   20382   INSTALL_MANPAGES_FALSE='#'
   20383 else
   20384   INSTALL_MANPAGES_TRUE='#'
   20385   INSTALL_MANPAGES_FALSE=
   20386 fi
   20387 
   20388 
   20389 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile specs/Makefile xi.pc"
   20390 
   20391 cat >confcache <<\_ACEOF
   20392 # This file is a shell script that caches the results of configure
   20393 # tests run on this system so they can be shared between configure
   20394 # scripts and configure runs, see configure's option --config-cache.
   20395 # It is not useful on other systems.  If it contains results you don't
   20396 # want to keep, you may remove or edit it.
   20397 #
   20398 # config.status only pays attention to the cache file if you give it
   20399 # the --recheck option to rerun configure.
   20400 #
   20401 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20402 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20403 # following values.
   20404 
   20405 _ACEOF
   20406 
   20407 # The following way of writing the cache mishandles newlines in values,
   20408 # but we know of no workaround that is simple, portable, and efficient.
   20409 # So, we kill variables containing newlines.
   20410 # Ultrix sh set writes to stderr and can't be redirected directly,
   20411 # and sets the high bit in the cache file unless we assign to the vars.
   20412 (
   20413   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20414     eval ac_val=\$$ac_var
   20415     case $ac_val in #(
   20416     *${as_nl}*)
   20417       case $ac_var in #(
   20418       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20419 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20420       esac
   20421       case $ac_var in #(
   20422       _ | IFS | as_nl) ;; #(
   20423       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20424       *) { eval $ac_var=; unset $ac_var;} ;;
   20425       esac ;;
   20426     esac
   20427   done
   20428 
   20429   (set) 2>&1 |
   20430     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20431     *${as_nl}ac_space=\ *)
   20432       # `set' does not quote correctly, so add quotes: double-quote
   20433       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20434       sed -n \
   20435 	"s/'/'\\\\''/g;
   20436 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20437       ;; #(
   20438     *)
   20439       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20440       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20441       ;;
   20442     esac |
   20443     sort
   20444 ) |
   20445   sed '
   20446      /^ac_cv_env_/b end
   20447      t clear
   20448      :clear
   20449      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20450      t end
   20451      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20452      :end' >>confcache
   20453 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20454   if test -w "$cache_file"; then
   20455     if test "x$cache_file" != "x/dev/null"; then
   20456       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20457 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20458       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20459 	cat confcache >"$cache_file"
   20460       else
   20461         case $cache_file in #(
   20462         */* | ?:*)
   20463 	  mv -f confcache "$cache_file"$$ &&
   20464 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20465         *)
   20466 	  mv -f confcache "$cache_file" ;;
   20467 	esac
   20468       fi
   20469     fi
   20470   else
   20471     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20472 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20473   fi
   20474 fi
   20475 rm -f confcache
   20476 
   20477 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20478 # Let make expand exec_prefix.
   20479 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20480 
   20481 DEFS=-DHAVE_CONFIG_H
   20482 
   20483 ac_libobjs=
   20484 ac_ltlibobjs=
   20485 U=
   20486 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20487   # 1. Remove the extension, and $U if already installed.
   20488   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20489   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20490   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20491   #    will be set to the directory where LIBOBJS objects are built.
   20492   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20493   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20494 done
   20495 LIBOBJS=$ac_libobjs
   20496 
   20497 LTLIBOBJS=$ac_ltlibobjs
   20498 
   20499 
   20500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20501 printf %s "checking that generated files are newer than configure... " >&6; }
   20502    if test -n "$am_sleep_pid"; then
   20503      # Hide warnings about reused PIDs.
   20504      wait $am_sleep_pid 2>/dev/null
   20505    fi
   20506    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20507 printf "%s\n" "done" >&6; }
   20508  if test -n "$EXEEXT"; then
   20509   am__EXEEXT_TRUE=
   20510   am__EXEEXT_FALSE='#'
   20511 else
   20512   am__EXEEXT_TRUE='#'
   20513   am__EXEEXT_FALSE=
   20514 fi
   20515 
   20516 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20517   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20519 fi
   20520 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20521   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20523 fi
   20524 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   20525   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   20526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20527 fi
   20528 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   20529   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   20530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20531 fi
   20532 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20533   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20535 fi
   20536 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20537   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20539 fi
   20540 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20541   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20543 fi
   20544 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20545   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20547 fi
   20548 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20549   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20551 fi
   20552 if test -z "${HAVE_ASCIIDOC_TRUE}" && test -z "${HAVE_ASCIIDOC_FALSE}"; then
   20553   as_fn_error $? "conditional \"HAVE_ASCIIDOC\" was never defined.
   20554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20555 fi
   20556 if test -z "${HAVE_DOCTOOLS_TRUE}" && test -z "${HAVE_DOCTOOLS_FALSE}"; then
   20557   as_fn_error $? "conditional \"HAVE_DOCTOOLS\" was never defined.
   20558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20559 fi
   20560 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   20561   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   20562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20563 fi
   20564 
   20565 : "${CONFIG_STATUS=./config.status}"
   20566 ac_write_fail=0
   20567 ac_clean_files_save=$ac_clean_files
   20568 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20570 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20571 as_write_fail=0
   20572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20573 #! $SHELL
   20574 # Generated by $as_me.
   20575 # Run this file to recreate the current configuration.
   20576 # Compiler output produced by configure, useful for debugging
   20577 # configure, is in config.log if it exists.
   20578 
   20579 debug=false
   20580 ac_cs_recheck=false
   20581 ac_cs_silent=false
   20582 
   20583 SHELL=\${CONFIG_SHELL-$SHELL}
   20584 export SHELL
   20585 _ASEOF
   20586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20587 ## -------------------- ##
   20588 ## M4sh Initialization. ##
   20589 ## -------------------- ##
   20590 
   20591 # Be more Bourne compatible
   20592 DUALCASE=1; export DUALCASE # for MKS sh
   20593 as_nop=:
   20594 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20595 then :
   20596   emulate sh
   20597   NULLCMD=:
   20598   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20599   # is contrary to our usage.  Disable this feature.
   20600   alias -g '${1+"$@"}'='"$@"'
   20601   setopt NO_GLOB_SUBST
   20602 else $as_nop
   20603   case `(set -o) 2>/dev/null` in #(
   20604   *posix*) :
   20605     set -o posix ;; #(
   20606   *) :
   20607      ;;
   20608 esac
   20609 fi
   20610 
   20611 
   20612 
   20613 # Reset variables that may have inherited troublesome values from
   20614 # the environment.
   20615 
   20616 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20617 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20618 # side effect of setting IFS to empty, thus disabling word splitting.)
   20619 # Quoting is to prevent editors from complaining about space-tab.
   20620 as_nl='
   20621 '
   20622 export as_nl
   20623 IFS=" ""	$as_nl"
   20624 
   20625 PS1='$ '
   20626 PS2='> '
   20627 PS4='+ '
   20628 
   20629 # Ensure predictable behavior from utilities with locale-dependent output.
   20630 LC_ALL=C
   20631 export LC_ALL
   20632 LANGUAGE=C
   20633 export LANGUAGE
   20634 
   20635 # We cannot yet rely on "unset" to work, but we need these variables
   20636 # to be unset--not just set to an empty or harmless value--now, to
   20637 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20638 # also avoids known problems related to "unset" and subshell syntax
   20639 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20640 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20641 do eval test \${$as_var+y} \
   20642   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20643 done
   20644 
   20645 # Ensure that fds 0, 1, and 2 are open.
   20646 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20647 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20648 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20649 
   20650 # The user is always right.
   20651 if ${PATH_SEPARATOR+false} :; then
   20652   PATH_SEPARATOR=:
   20653   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20654     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20655       PATH_SEPARATOR=';'
   20656   }
   20657 fi
   20658 
   20659 
   20660 # Find who we are.  Look in the path if we contain no directory separator.
   20661 as_myself=
   20662 case $0 in #((
   20663   *[\\/]* ) as_myself=$0 ;;
   20664   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20665 for as_dir in $PATH
   20666 do
   20667   IFS=$as_save_IFS
   20668   case $as_dir in #(((
   20669     '') as_dir=./ ;;
   20670     */) ;;
   20671     *) as_dir=$as_dir/ ;;
   20672   esac
   20673     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20674   done
   20675 IFS=$as_save_IFS
   20676 
   20677      ;;
   20678 esac
   20679 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20680 # in which case we are not to be found in the path.
   20681 if test "x$as_myself" = x; then
   20682   as_myself=$0
   20683 fi
   20684 if test ! -f "$as_myself"; then
   20685   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20686   exit 1
   20687 fi
   20688 
   20689 
   20690 
   20691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20692 # ----------------------------------------
   20693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20695 # script with STATUS, using 1 if that was 0.
   20696 as_fn_error ()
   20697 {
   20698   as_status=$1; test $as_status -eq 0 && as_status=1
   20699   if test "$4"; then
   20700     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20701     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20702   fi
   20703   printf "%s\n" "$as_me: error: $2" >&2
   20704   as_fn_exit $as_status
   20705 } # as_fn_error
   20706 
   20707 
   20708 
   20709 # as_fn_set_status STATUS
   20710 # -----------------------
   20711 # Set $? to STATUS, without forking.
   20712 as_fn_set_status ()
   20713 {
   20714   return $1
   20715 } # as_fn_set_status
   20716 
   20717 # as_fn_exit STATUS
   20718 # -----------------
   20719 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20720 as_fn_exit ()
   20721 {
   20722   set +e
   20723   as_fn_set_status $1
   20724   exit $1
   20725 } # as_fn_exit
   20726 
   20727 # as_fn_unset VAR
   20728 # ---------------
   20729 # Portably unset VAR.
   20730 as_fn_unset ()
   20731 {
   20732   { eval $1=; unset $1;}
   20733 }
   20734 as_unset=as_fn_unset
   20735 
   20736 # as_fn_append VAR VALUE
   20737 # ----------------------
   20738 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20739 # advantage of any shell optimizations that allow amortized linear growth over
   20740 # repeated appends, instead of the typical quadratic growth present in naive
   20741 # implementations.
   20742 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20743 then :
   20744   eval 'as_fn_append ()
   20745   {
   20746     eval $1+=\$2
   20747   }'
   20748 else $as_nop
   20749   as_fn_append ()
   20750   {
   20751     eval $1=\$$1\$2
   20752   }
   20753 fi # as_fn_append
   20754 
   20755 # as_fn_arith ARG...
   20756 # ------------------
   20757 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20759 # must be portable across $(()) and expr.
   20760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20761 then :
   20762   eval 'as_fn_arith ()
   20763   {
   20764     as_val=$(( $* ))
   20765   }'
   20766 else $as_nop
   20767   as_fn_arith ()
   20768   {
   20769     as_val=`expr "$@" || test $? -eq 1`
   20770   }
   20771 fi # as_fn_arith
   20772 
   20773 
   20774 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20775    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20776   as_expr=expr
   20777 else
   20778   as_expr=false
   20779 fi
   20780 
   20781 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20782   as_basename=basename
   20783 else
   20784   as_basename=false
   20785 fi
   20786 
   20787 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20788   as_dirname=dirname
   20789 else
   20790   as_dirname=false
   20791 fi
   20792 
   20793 as_me=`$as_basename -- "$0" ||
   20794 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20795 	 X"$0" : 'X\(//\)$' \| \
   20796 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20797 printf "%s\n" X/"$0" |
   20798     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20799 	    s//\1/
   20800 	    q
   20801 	  }
   20802 	  /^X\/\(\/\/\)$/{
   20803 	    s//\1/
   20804 	    q
   20805 	  }
   20806 	  /^X\/\(\/\).*/{
   20807 	    s//\1/
   20808 	    q
   20809 	  }
   20810 	  s/.*/./; q'`
   20811 
   20812 # Avoid depending upon Character Ranges.
   20813 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20814 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20815 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20816 as_cr_digits='0123456789'
   20817 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20818 
   20819 
   20820 # Determine whether it's possible to make 'echo' print without a newline.
   20821 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20822 # for compatibility with existing Makefiles.
   20823 ECHO_C= ECHO_N= ECHO_T=
   20824 case `echo -n x` in #(((((
   20825 -n*)
   20826   case `echo 'xy\c'` in
   20827   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20828   xy)  ECHO_C='\c';;
   20829   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20830        ECHO_T='	';;
   20831   esac;;
   20832 *)
   20833   ECHO_N='-n';;
   20834 esac
   20835 
   20836 # For backward compatibility with old third-party macros, we provide
   20837 # the shell variables $as_echo and $as_echo_n.  New code should use
   20838 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20839 as_echo='printf %s\n'
   20840 as_echo_n='printf %s'
   20841 
   20842 rm -f conf$$ conf$$.exe conf$$.file
   20843 if test -d conf$$.dir; then
   20844   rm -f conf$$.dir/conf$$.file
   20845 else
   20846   rm -f conf$$.dir
   20847   mkdir conf$$.dir 2>/dev/null
   20848 fi
   20849 if (echo >conf$$.file) 2>/dev/null; then
   20850   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20851     as_ln_s='ln -s'
   20852     # ... but there are two gotchas:
   20853     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20854     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20855     # In both cases, we have to default to `cp -pR'.
   20856     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20857       as_ln_s='cp -pR'
   20858   elif ln conf$$.file conf$$ 2>/dev/null; then
   20859     as_ln_s=ln
   20860   else
   20861     as_ln_s='cp -pR'
   20862   fi
   20863 else
   20864   as_ln_s='cp -pR'
   20865 fi
   20866 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20867 rmdir conf$$.dir 2>/dev/null
   20868 
   20869 
   20870 # as_fn_mkdir_p
   20871 # -------------
   20872 # Create "$as_dir" as a directory, including parents if necessary.
   20873 as_fn_mkdir_p ()
   20874 {
   20875 
   20876   case $as_dir in #(
   20877   -*) as_dir=./$as_dir;;
   20878   esac
   20879   test -d "$as_dir" || eval $as_mkdir_p || {
   20880     as_dirs=
   20881     while :; do
   20882       case $as_dir in #(
   20883       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20884       *) as_qdir=$as_dir;;
   20885       esac
   20886       as_dirs="'$as_qdir' $as_dirs"
   20887       as_dir=`$as_dirname -- "$as_dir" ||
   20888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20889 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20890 	 X"$as_dir" : 'X\(//\)$' \| \
   20891 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20892 printf "%s\n" X"$as_dir" |
   20893     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20894 	    s//\1/
   20895 	    q
   20896 	  }
   20897 	  /^X\(\/\/\)[^/].*/{
   20898 	    s//\1/
   20899 	    q
   20900 	  }
   20901 	  /^X\(\/\/\)$/{
   20902 	    s//\1/
   20903 	    q
   20904 	  }
   20905 	  /^X\(\/\).*/{
   20906 	    s//\1/
   20907 	    q
   20908 	  }
   20909 	  s/.*/./; q'`
   20910       test -d "$as_dir" && break
   20911     done
   20912     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20913   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20914 
   20915 
   20916 } # as_fn_mkdir_p
   20917 if mkdir -p . 2>/dev/null; then
   20918   as_mkdir_p='mkdir -p "$as_dir"'
   20919 else
   20920   test -d ./-p && rmdir ./-p
   20921   as_mkdir_p=false
   20922 fi
   20923 
   20924 
   20925 # as_fn_executable_p FILE
   20926 # -----------------------
   20927 # Test if FILE is an executable regular file.
   20928 as_fn_executable_p ()
   20929 {
   20930   test -f "$1" && test -x "$1"
   20931 } # as_fn_executable_p
   20932 as_test_x='test -x'
   20933 as_executable_p=as_fn_executable_p
   20934 
   20935 # Sed expression to map a string onto a valid CPP name.
   20936 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20937 
   20938 # Sed expression to map a string onto a valid variable name.
   20939 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20940 
   20941 
   20942 exec 6>&1
   20943 ## ----------------------------------- ##
   20944 ## Main body of $CONFIG_STATUS script. ##
   20945 ## ----------------------------------- ##
   20946 _ASEOF
   20947 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20948 
   20949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20950 # Save the log message, to keep $0 and so on meaningful, and to
   20951 # report actual input values of CONFIG_FILES etc. instead of their
   20952 # values after options handling.
   20953 ac_log="
   20954 This file was extended by libXi $as_me 1.8.1, which was
   20955 generated by GNU Autoconf 2.71.  Invocation command line was
   20956 
   20957   CONFIG_FILES    = $CONFIG_FILES
   20958   CONFIG_HEADERS  = $CONFIG_HEADERS
   20959   CONFIG_LINKS    = $CONFIG_LINKS
   20960   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20961   $ $0 $@
   20962 
   20963 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20964 "
   20965 
   20966 _ACEOF
   20967 
   20968 case $ac_config_files in *"
   20969 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20970 esac
   20971 
   20972 case $ac_config_headers in *"
   20973 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20974 esac
   20975 
   20976 
   20977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20978 # Files that config.status was made for.
   20979 config_files="$ac_config_files"
   20980 config_headers="$ac_config_headers"
   20981 config_commands="$ac_config_commands"
   20982 
   20983 _ACEOF
   20984 
   20985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20986 ac_cs_usage="\
   20987 \`$as_me' instantiates files and other configuration actions
   20988 from templates according to the current configuration.  Unless the files
   20989 and actions are specified as TAGs, all are instantiated by default.
   20990 
   20991 Usage: $0 [OPTION]... [TAG]...
   20992 
   20993   -h, --help       print this help, then exit
   20994   -V, --version    print version number and configuration settings, then exit
   20995       --config     print configuration, then exit
   20996   -q, --quiet, --silent
   20997                    do not print progress messages
   20998   -d, --debug      don't remove temporary files
   20999       --recheck    update $as_me by reconfiguring in the same conditions
   21000       --file=FILE[:TEMPLATE]
   21001                    instantiate the configuration file FILE
   21002       --header=FILE[:TEMPLATE]
   21003                    instantiate the configuration header FILE
   21004 
   21005 Configuration files:
   21006 $config_files
   21007 
   21008 Configuration headers:
   21009 $config_headers
   21010 
   21011 Configuration commands:
   21012 $config_commands
   21013 
   21014 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXi/issues>."
   21015 
   21016 _ACEOF
   21017 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21018 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21020 ac_cs_config='$ac_cs_config_escaped'
   21021 ac_cs_version="\\
   21022 libXi config.status 1.8.1
   21023 configured by $0, generated by GNU Autoconf 2.71,
   21024   with options \\"\$ac_cs_config\\"
   21025 
   21026 Copyright (C) 2021 Free Software Foundation, Inc.
   21027 This config.status script is free software; the Free Software Foundation
   21028 gives unlimited permission to copy, distribute and modify it."
   21029 
   21030 ac_pwd='$ac_pwd'
   21031 srcdir='$srcdir'
   21032 INSTALL='$INSTALL'
   21033 MKDIR_P='$MKDIR_P'
   21034 AWK='$AWK'
   21035 test -n "\$AWK" || AWK=awk
   21036 _ACEOF
   21037 
   21038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21039 # The default lists apply if the user does not specify any file.
   21040 ac_need_defaults=:
   21041 while test $# != 0
   21042 do
   21043   case $1 in
   21044   --*=?*)
   21045     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21046     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21047     ac_shift=:
   21048     ;;
   21049   --*=)
   21050     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21051     ac_optarg=
   21052     ac_shift=:
   21053     ;;
   21054   *)
   21055     ac_option=$1
   21056     ac_optarg=$2
   21057     ac_shift=shift
   21058     ;;
   21059   esac
   21060 
   21061   case $ac_option in
   21062   # Handling of the options.
   21063   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21064     ac_cs_recheck=: ;;
   21065   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21066     printf "%s\n" "$ac_cs_version"; exit ;;
   21067   --config | --confi | --conf | --con | --co | --c )
   21068     printf "%s\n" "$ac_cs_config"; exit ;;
   21069   --debug | --debu | --deb | --de | --d | -d )
   21070     debug=: ;;
   21071   --file | --fil | --fi | --f )
   21072     $ac_shift
   21073     case $ac_optarg in
   21074     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21075     '') as_fn_error $? "missing file argument" ;;
   21076     esac
   21077     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21078     ac_need_defaults=false;;
   21079   --header | --heade | --head | --hea )
   21080     $ac_shift
   21081     case $ac_optarg in
   21082     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21083     esac
   21084     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21085     ac_need_defaults=false;;
   21086   --he | --h)
   21087     # Conflict between --help and --header
   21088     as_fn_error $? "ambiguous option: \`$1'
   21089 Try \`$0 --help' for more information.";;
   21090   --help | --hel | -h )
   21091     printf "%s\n" "$ac_cs_usage"; exit ;;
   21092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21093   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21094     ac_cs_silent=: ;;
   21095 
   21096   # This is an error.
   21097   -*) as_fn_error $? "unrecognized option: \`$1'
   21098 Try \`$0 --help' for more information." ;;
   21099 
   21100   *) as_fn_append ac_config_targets " $1"
   21101      ac_need_defaults=false ;;
   21102 
   21103   esac
   21104   shift
   21105 done
   21106 
   21107 ac_configure_extra_args=
   21108 
   21109 if $ac_cs_silent; then
   21110   exec 6>/dev/null
   21111   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21112 fi
   21113 
   21114 _ACEOF
   21115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21116 if \$ac_cs_recheck; then
   21117   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21118   shift
   21119   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21120   CONFIG_SHELL='$SHELL'
   21121   export CONFIG_SHELL
   21122   exec "\$@"
   21123 fi
   21124 
   21125 _ACEOF
   21126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21127 exec 5>>config.log
   21128 {
   21129   echo
   21130   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21131 ## Running $as_me. ##
   21132 _ASBOX
   21133   printf "%s\n" "$ac_log"
   21134 } >&5
   21135 
   21136 _ACEOF
   21137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21138 #
   21139 # INIT-COMMANDS
   21140 #
   21141 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21142 
   21143 
   21144 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21145 # if CDPATH is set.
   21146 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21147 
   21148 sed_quote_subst='$sed_quote_subst'
   21149 double_quote_subst='$double_quote_subst'
   21150 delay_variable_subst='$delay_variable_subst'
   21151 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21152 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21153 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21154 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21155 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21156 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21157 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21158 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21159 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21160 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21161 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21162 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21163 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21164 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21165 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21166 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21167 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21168 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21169 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21170 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21171 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21172 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21173 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21174 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21175 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21176 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21177 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21178 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21179 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21180 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21181 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21182 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21183 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21184 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21185 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21186 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21187 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21188 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21189 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21190 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21191 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21192 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21193 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21194 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21195 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21196 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21197 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21198 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21199 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21200 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21201 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21202 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21203 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21204 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21205 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21206 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21207 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21208 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21209 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21210 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21211 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"`'
   21212 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21213 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21214 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21215 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21216 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21217 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21218 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21219 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21220 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21221 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21222 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21223 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21224 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21225 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21226 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21227 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21228 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21229 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21230 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21231 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21232 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21233 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21234 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21235 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21236 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21237 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21238 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21239 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21240 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21241 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21242 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21243 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21244 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21245 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21246 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21247 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21248 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21249 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21250 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21251 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21252 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21253 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21254 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21255 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21256 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21257 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21258 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21259 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21260 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21261 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21262 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21263 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21264 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21265 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21266 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21267 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21268 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21269 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21270 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21271 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21272 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21273 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21274 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21275 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21276 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21277 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21278 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21279 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21280 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21281 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21282 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21283 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21284 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21285 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21286 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21287 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21288 
   21289 LTCC='$LTCC'
   21290 LTCFLAGS='$LTCFLAGS'
   21291 compiler='$compiler_DEFAULT'
   21292 
   21293 # A function that is used when there is no print builtin or printf.
   21294 func_fallback_echo ()
   21295 {
   21296   eval 'cat <<_LTECHO_EOF
   21297 \$1
   21298 _LTECHO_EOF'
   21299 }
   21300 
   21301 # Quote evaled strings.
   21302 for var in SHELL \
   21303 ECHO \
   21304 PATH_SEPARATOR \
   21305 SED \
   21306 GREP \
   21307 EGREP \
   21308 FGREP \
   21309 LD \
   21310 NM \
   21311 LN_S \
   21312 lt_SP2NL \
   21313 lt_NL2SP \
   21314 reload_flag \
   21315 FILECMD \
   21316 OBJDUMP \
   21317 deplibs_check_method \
   21318 file_magic_cmd \
   21319 file_magic_glob \
   21320 want_nocaseglob \
   21321 DLLTOOL \
   21322 sharedlib_from_linklib_cmd \
   21323 AR \
   21324 archiver_list_spec \
   21325 STRIP \
   21326 RANLIB \
   21327 CC \
   21328 CFLAGS \
   21329 compiler \
   21330 lt_cv_sys_global_symbol_pipe \
   21331 lt_cv_sys_global_symbol_to_cdecl \
   21332 lt_cv_sys_global_symbol_to_import \
   21333 lt_cv_sys_global_symbol_to_c_name_address \
   21334 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21335 lt_cv_nm_interface \
   21336 nm_file_list_spec \
   21337 lt_cv_truncate_bin \
   21338 lt_prog_compiler_no_builtin_flag \
   21339 lt_prog_compiler_pic \
   21340 lt_prog_compiler_wl \
   21341 lt_prog_compiler_static \
   21342 lt_cv_prog_compiler_c_o \
   21343 need_locks \
   21344 MANIFEST_TOOL \
   21345 DSYMUTIL \
   21346 NMEDIT \
   21347 LIPO \
   21348 OTOOL \
   21349 OTOOL64 \
   21350 shrext_cmds \
   21351 export_dynamic_flag_spec \
   21352 whole_archive_flag_spec \
   21353 compiler_needs_object \
   21354 with_gnu_ld \
   21355 allow_undefined_flag \
   21356 no_undefined_flag \
   21357 hardcode_libdir_flag_spec \
   21358 hardcode_libdir_separator \
   21359 exclude_expsyms \
   21360 include_expsyms \
   21361 file_list_spec \
   21362 variables_saved_for_relink \
   21363 libname_spec \
   21364 library_names_spec \
   21365 soname_spec \
   21366 install_override_mode \
   21367 finish_eval \
   21368 old_striplib \
   21369 striplib; do
   21370     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21371     *[\\\\\\\`\\"\\\$]*)
   21372       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21373       ;;
   21374     *)
   21375       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21376       ;;
   21377     esac
   21378 done
   21379 
   21380 # Double-quote double-evaled strings.
   21381 for var in reload_cmds \
   21382 old_postinstall_cmds \
   21383 old_postuninstall_cmds \
   21384 old_archive_cmds \
   21385 extract_expsyms_cmds \
   21386 old_archive_from_new_cmds \
   21387 old_archive_from_expsyms_cmds \
   21388 archive_cmds \
   21389 archive_expsym_cmds \
   21390 module_cmds \
   21391 module_expsym_cmds \
   21392 export_symbols_cmds \
   21393 prelink_cmds \
   21394 postlink_cmds \
   21395 postinstall_cmds \
   21396 postuninstall_cmds \
   21397 finish_cmds \
   21398 sys_lib_search_path_spec \
   21399 configure_time_dlsearch_path \
   21400 configure_time_lt_sys_library_path; do
   21401     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21402     *[\\\\\\\`\\"\\\$]*)
   21403       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21404       ;;
   21405     *)
   21406       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21407       ;;
   21408     esac
   21409 done
   21410 
   21411 ac_aux_dir='$ac_aux_dir'
   21412 
   21413 # See if we are running on zsh, and set the options that allow our
   21414 # commands through without removal of \ escapes INIT.
   21415 if test -n "\${ZSH_VERSION+set}"; then
   21416    setopt NO_GLOB_SUBST
   21417 fi
   21418 
   21419 
   21420     PACKAGE='$PACKAGE'
   21421     VERSION='$VERSION'
   21422     RM='$RM'
   21423     ofile='$ofile'
   21424 
   21425 
   21426 
   21427 
   21428 _ACEOF
   21429 
   21430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21431 
   21432 # Handling of arguments.
   21433 for ac_config_target in $ac_config_targets
   21434 do
   21435   case $ac_config_target in
   21436     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   21437     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21438     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21439     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21440     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21441     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21442     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21443     "xi.pc") CONFIG_FILES="$CONFIG_FILES xi.pc" ;;
   21444 
   21445   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21446   esac
   21447 done
   21448 
   21449 
   21450 # If the user did not use the arguments to specify the items to instantiate,
   21451 # then the envvar interface is used.  Set only those that are not.
   21452 # We use the long form for the default assignment because of an extremely
   21453 # bizarre bug on SunOS 4.1.3.
   21454 if $ac_need_defaults; then
   21455   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21456   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21457   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21458 fi
   21459 
   21460 # Have a temporary directory for convenience.  Make it in the build tree
   21461 # simply because there is no reason against having it here, and in addition,
   21462 # creating and moving files from /tmp can sometimes cause problems.
   21463 # Hook for its removal unless debugging.
   21464 # Note that there is a small window in which the directory will not be cleaned:
   21465 # after its creation but before its name has been assigned to `$tmp'.
   21466 $debug ||
   21467 {
   21468   tmp= ac_tmp=
   21469   trap 'exit_status=$?
   21470   : "${ac_tmp:=$tmp}"
   21471   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21472 ' 0
   21473   trap 'as_fn_exit 1' 1 2 13 15
   21474 }
   21475 # Create a (secure) tmp directory for tmp files.
   21476 
   21477 {
   21478   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21479   test -d "$tmp"
   21480 }  ||
   21481 {
   21482   tmp=./conf$$-$RANDOM
   21483   (umask 077 && mkdir "$tmp")
   21484 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21485 ac_tmp=$tmp
   21486 
   21487 # Set up the scripts for CONFIG_FILES section.
   21488 # No need to generate them if there are no CONFIG_FILES.
   21489 # This happens for instance with `./config.status config.h'.
   21490 if test -n "$CONFIG_FILES"; then
   21491 
   21492 
   21493 ac_cr=`echo X | tr X '\015'`
   21494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21495 # But we know of no other shell where ac_cr would be empty at this
   21496 # point, so we can use a bashism as a fallback.
   21497 if test "x$ac_cr" = x; then
   21498   eval ac_cr=\$\'\\r\'
   21499 fi
   21500 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21502   ac_cs_awk_cr='\\r'
   21503 else
   21504   ac_cs_awk_cr=$ac_cr
   21505 fi
   21506 
   21507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21508 _ACEOF
   21509 
   21510 
   21511 {
   21512   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21513   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21514   echo "_ACEOF"
   21515 } >conf$$subs.sh ||
   21516   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21518 ac_delim='%!_!# '
   21519 for ac_last_try in false false false false false :; do
   21520   . ./conf$$subs.sh ||
   21521     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21522 
   21523   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21524   if test $ac_delim_n = $ac_delim_num; then
   21525     break
   21526   elif $ac_last_try; then
   21527     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21528   else
   21529     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21530   fi
   21531 done
   21532 rm -f conf$$subs.sh
   21533 
   21534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21535 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21536 _ACEOF
   21537 sed -n '
   21538 h
   21539 s/^/S["/; s/!.*/"]=/
   21540 p
   21541 g
   21542 s/^[^!]*!//
   21543 :repl
   21544 t repl
   21545 s/'"$ac_delim"'$//
   21546 t delim
   21547 :nl
   21548 h
   21549 s/\(.\{148\}\)..*/\1/
   21550 t more1
   21551 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21552 p
   21553 n
   21554 b repl
   21555 :more1
   21556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21557 p
   21558 g
   21559 s/.\{148\}//
   21560 t nl
   21561 :delim
   21562 h
   21563 s/\(.\{148\}\)..*/\1/
   21564 t more2
   21565 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21566 p
   21567 b
   21568 :more2
   21569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21570 p
   21571 g
   21572 s/.\{148\}//
   21573 t delim
   21574 ' <conf$$subs.awk | sed '
   21575 /^[^""]/{
   21576   N
   21577   s/\n//
   21578 }
   21579 ' >>$CONFIG_STATUS || ac_write_fail=1
   21580 rm -f conf$$subs.awk
   21581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21582 _ACAWK
   21583 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21584   for (key in S) S_is_set[key] = 1
   21585   FS = ""
   21586 
   21587 }
   21588 {
   21589   line = $ 0
   21590   nfields = split(line, field, "@")
   21591   substed = 0
   21592   len = length(field[1])
   21593   for (i = 2; i < nfields; i++) {
   21594     key = field[i]
   21595     keylen = length(key)
   21596     if (S_is_set[key]) {
   21597       value = S[key]
   21598       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21599       len += length(value) + length(field[++i])
   21600       substed = 1
   21601     } else
   21602       len += 1 + keylen
   21603   }
   21604 
   21605   print line
   21606 }
   21607 
   21608 _ACAWK
   21609 _ACEOF
   21610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21611 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21612   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21613 else
   21614   cat
   21615 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21616   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21617 _ACEOF
   21618 
   21619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21621 # trailing colons and then remove the whole line if VPATH becomes empty
   21622 # (actually we leave an empty line to preserve line numbers).
   21623 if test "x$srcdir" = x.; then
   21624   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21625 h
   21626 s///
   21627 s/^/:/
   21628 s/[	 ]*$/:/
   21629 s/:\$(srcdir):/:/g
   21630 s/:\${srcdir}:/:/g
   21631 s/:@srcdir@:/:/g
   21632 s/^:*//
   21633 s/:*$//
   21634 x
   21635 s/\(=[	 ]*\).*/\1/
   21636 G
   21637 s/\n//
   21638 s/^[^=]*=[	 ]*$//
   21639 }'
   21640 fi
   21641 
   21642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21643 fi # test -n "$CONFIG_FILES"
   21644 
   21645 # Set up the scripts for CONFIG_HEADERS section.
   21646 # No need to generate them if there are no CONFIG_HEADERS.
   21647 # This happens for instance with `./config.status Makefile'.
   21648 if test -n "$CONFIG_HEADERS"; then
   21649 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21650 BEGIN {
   21651 _ACEOF
   21652 
   21653 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21654 # here-document in config.status, that substitutes the proper values into
   21655 # config.h.in to produce config.h.
   21656 
   21657 # Create a delimiter string that does not exist in confdefs.h, to ease
   21658 # handling of long lines.
   21659 ac_delim='%!_!# '
   21660 for ac_last_try in false false :; do
   21661   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21662   if test -z "$ac_tt"; then
   21663     break
   21664   elif $ac_last_try; then
   21665     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21666   else
   21667     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21668   fi
   21669 done
   21670 
   21671 # For the awk script, D is an array of macro values keyed by name,
   21672 # likewise P contains macro parameters if any.  Preserve backslash
   21673 # newline sequences.
   21674 
   21675 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21676 sed -n '
   21677 s/.\{148\}/&'"$ac_delim"'/g
   21678 t rset
   21679 :rset
   21680 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21681 t def
   21682 d
   21683 :def
   21684 s/\\$//
   21685 t bsnl
   21686 s/["\\]/\\&/g
   21687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21688 D["\1"]=" \3"/p
   21689 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21690 d
   21691 :bsnl
   21692 s/["\\]/\\&/g
   21693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21694 D["\1"]=" \3\\\\\\n"\\/p
   21695 t cont
   21696 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21697 t cont
   21698 d
   21699 :cont
   21700 n
   21701 s/.\{148\}/&'"$ac_delim"'/g
   21702 t clear
   21703 :clear
   21704 s/\\$//
   21705 t bsnlc
   21706 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21707 d
   21708 :bsnlc
   21709 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21710 b cont
   21711 ' <confdefs.h | sed '
   21712 s/'"$ac_delim"'/"\\\
   21713 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21714 
   21715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21716   for (key in D) D_is_set[key] = 1
   21717   FS = ""
   21718 }
   21719 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21720   line = \$ 0
   21721   split(line, arg, " ")
   21722   if (arg[1] == "#") {
   21723     defundef = arg[2]
   21724     mac1 = arg[3]
   21725   } else {
   21726     defundef = substr(arg[1], 2)
   21727     mac1 = arg[2]
   21728   }
   21729   split(mac1, mac2, "(") #)
   21730   macro = mac2[1]
   21731   prefix = substr(line, 1, index(line, defundef) - 1)
   21732   if (D_is_set[macro]) {
   21733     # Preserve the white space surrounding the "#".
   21734     print prefix "define", macro P[macro] D[macro]
   21735     next
   21736   } else {
   21737     # Replace #undef with comments.  This is necessary, for example,
   21738     # in the case of _POSIX_SOURCE, which is predefined and required
   21739     # on some systems where configure will not decide to define it.
   21740     if (defundef == "undef") {
   21741       print "/*", prefix defundef, macro, "*/"
   21742       next
   21743     }
   21744   }
   21745 }
   21746 { print }
   21747 _ACAWK
   21748 _ACEOF
   21749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21750   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21751 fi # test -n "$CONFIG_HEADERS"
   21752 
   21753 
   21754 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21755 shift
   21756 for ac_tag
   21757 do
   21758   case $ac_tag in
   21759   :[FHLC]) ac_mode=$ac_tag; continue;;
   21760   esac
   21761   case $ac_mode$ac_tag in
   21762   :[FHL]*:*);;
   21763   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21764   :[FH]-) ac_tag=-:-;;
   21765   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21766   esac
   21767   ac_save_IFS=$IFS
   21768   IFS=:
   21769   set x $ac_tag
   21770   IFS=$ac_save_IFS
   21771   shift
   21772   ac_file=$1
   21773   shift
   21774 
   21775   case $ac_mode in
   21776   :L) ac_source=$1;;
   21777   :[FH])
   21778     ac_file_inputs=
   21779     for ac_f
   21780     do
   21781       case $ac_f in
   21782       -) ac_f="$ac_tmp/stdin";;
   21783       *) # Look for the file first in the build tree, then in the source tree
   21784 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21785 	 # because $ac_f cannot contain `:'.
   21786 	 test -f "$ac_f" ||
   21787 	   case $ac_f in
   21788 	   [\\/$]*) false;;
   21789 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21790 	   esac ||
   21791 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21792       esac
   21793       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21794       as_fn_append ac_file_inputs " '$ac_f'"
   21795     done
   21796 
   21797     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21798     # use $as_me), people would be surprised to read:
   21799     #    /* config.h.  Generated by config.status.  */
   21800     configure_input='Generated from '`
   21801 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21802 	`' by configure.'
   21803     if test x"$ac_file" != x-; then
   21804       configure_input="$ac_file.  $configure_input"
   21805       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21806 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21807     fi
   21808     # Neutralize special characters interpreted by sed in replacement strings.
   21809     case $configure_input in #(
   21810     *\&* | *\|* | *\\* )
   21811        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21812        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21813     *) ac_sed_conf_input=$configure_input;;
   21814     esac
   21815 
   21816     case $ac_tag in
   21817     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21818       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21819     esac
   21820     ;;
   21821   esac
   21822 
   21823   ac_dir=`$as_dirname -- "$ac_file" ||
   21824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21825 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21826 	 X"$ac_file" : 'X\(//\)$' \| \
   21827 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21828 printf "%s\n" X"$ac_file" |
   21829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21830 	    s//\1/
   21831 	    q
   21832 	  }
   21833 	  /^X\(\/\/\)[^/].*/{
   21834 	    s//\1/
   21835 	    q
   21836 	  }
   21837 	  /^X\(\/\/\)$/{
   21838 	    s//\1/
   21839 	    q
   21840 	  }
   21841 	  /^X\(\/\).*/{
   21842 	    s//\1/
   21843 	    q
   21844 	  }
   21845 	  s/.*/./; q'`
   21846   as_dir="$ac_dir"; as_fn_mkdir_p
   21847   ac_builddir=.
   21848 
   21849 case "$ac_dir" in
   21850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21851 *)
   21852   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21853   # A ".." for each directory in $ac_dir_suffix.
   21854   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21855   case $ac_top_builddir_sub in
   21856   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21857   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21858   esac ;;
   21859 esac
   21860 ac_abs_top_builddir=$ac_pwd
   21861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21862 # for backward compatibility:
   21863 ac_top_builddir=$ac_top_build_prefix
   21864 
   21865 case $srcdir in
   21866   .)  # We are building in place.
   21867     ac_srcdir=.
   21868     ac_top_srcdir=$ac_top_builddir_sub
   21869     ac_abs_top_srcdir=$ac_pwd ;;
   21870   [\\/]* | ?:[\\/]* )  # Absolute name.
   21871     ac_srcdir=$srcdir$ac_dir_suffix;
   21872     ac_top_srcdir=$srcdir
   21873     ac_abs_top_srcdir=$srcdir ;;
   21874   *) # Relative name.
   21875     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21876     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21877     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21878 esac
   21879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21880 
   21881 
   21882   case $ac_mode in
   21883   :F)
   21884   #
   21885   # CONFIG_FILE
   21886   #
   21887 
   21888   case $INSTALL in
   21889   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21890   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21891   esac
   21892   ac_MKDIR_P=$MKDIR_P
   21893   case $MKDIR_P in
   21894   [\\/$]* | ?:[\\/]* ) ;;
   21895   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21896   esac
   21897 _ACEOF
   21898 
   21899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21900 # If the template does not know about datarootdir, expand it.
   21901 # FIXME: This hack should be removed a few years after 2.60.
   21902 ac_datarootdir_hack=; ac_datarootdir_seen=
   21903 ac_sed_dataroot='
   21904 /datarootdir/ {
   21905   p
   21906   q
   21907 }
   21908 /@datadir@/p
   21909 /@docdir@/p
   21910 /@infodir@/p
   21911 /@localedir@/p
   21912 /@mandir@/p'
   21913 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21914 *datarootdir*) ac_datarootdir_seen=yes;;
   21915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21917 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21918 _ACEOF
   21919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21920   ac_datarootdir_hack='
   21921   s&@datadir@&$datadir&g
   21922   s&@docdir@&$docdir&g
   21923   s&@infodir@&$infodir&g
   21924   s&@localedir@&$localedir&g
   21925   s&@mandir@&$mandir&g
   21926   s&\\\${datarootdir}&$datarootdir&g' ;;
   21927 esac
   21928 _ACEOF
   21929 
   21930 # Neutralize VPATH when `$srcdir' = `.'.
   21931 # Shell code in configure.ac might set extrasub.
   21932 # FIXME: do we really want to maintain this feature?
   21933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21934 ac_sed_extra="$ac_vpsub
   21935 $extrasub
   21936 _ACEOF
   21937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21938 :t
   21939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21940 s|@configure_input@|$ac_sed_conf_input|;t t
   21941 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21942 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21943 s&@srcdir@&$ac_srcdir&;t t
   21944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21945 s&@top_srcdir@&$ac_top_srcdir&;t t
   21946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21947 s&@builddir@&$ac_builddir&;t t
   21948 s&@abs_builddir@&$ac_abs_builddir&;t t
   21949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21950 s&@INSTALL@&$ac_INSTALL&;t t
   21951 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21952 $ac_datarootdir_hack
   21953 "
   21954 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21955   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21956 
   21957 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21958   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21959   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21960       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21962 which seems to be undefined.  Please make sure it is defined" >&5
   21963 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21964 which seems to be undefined.  Please make sure it is defined" >&2;}
   21965 
   21966   rm -f "$ac_tmp/stdin"
   21967   case $ac_file in
   21968   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21969   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21970   esac \
   21971   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21972  ;;
   21973   :H)
   21974   #
   21975   # CONFIG_HEADER
   21976   #
   21977   if test x"$ac_file" != x-; then
   21978     {
   21979       printf "%s\n" "/* $configure_input  */" >&1 \
   21980       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21981     } >"$ac_tmp/config.h" \
   21982       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21983     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21984       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21985 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21986     else
   21987       rm -f "$ac_file"
   21988       mv "$ac_tmp/config.h" "$ac_file" \
   21989 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21990     fi
   21991   else
   21992     printf "%s\n" "/* $configure_input  */" >&1 \
   21993       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21994       || as_fn_error $? "could not create -" "$LINENO" 5
   21995   fi
   21996 # Compute "$ac_file"'s index in $config_headers.
   21997 _am_arg="$ac_file"
   21998 _am_stamp_count=1
   21999 for _am_header in $config_headers :; do
   22000   case $_am_header in
   22001     $_am_arg | $_am_arg:* )
   22002       break ;;
   22003     * )
   22004       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22005   esac
   22006 done
   22007 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22008 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22009 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22010 	 X"$_am_arg" : 'X\(//\)$' \| \
   22011 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22012 printf "%s\n" X"$_am_arg" |
   22013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22014 	    s//\1/
   22015 	    q
   22016 	  }
   22017 	  /^X\(\/\/\)[^/].*/{
   22018 	    s//\1/
   22019 	    q
   22020 	  }
   22021 	  /^X\(\/\/\)$/{
   22022 	    s//\1/
   22023 	    q
   22024 	  }
   22025 	  /^X\(\/\).*/{
   22026 	    s//\1/
   22027 	    q
   22028 	  }
   22029 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22030  ;;
   22031 
   22032   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22033 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22034  ;;
   22035   esac
   22036 
   22037 
   22038   case $ac_file$ac_mode in
   22039     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22040   # Older Autoconf quotes --file arguments for eval, but not when files
   22041   # are listed without --file.  Let's play safe and only enable the eval
   22042   # if we detect the quoting.
   22043   # TODO: see whether this extra hack can be removed once we start
   22044   # requiring Autoconf 2.70 or later.
   22045   case $CONFIG_FILES in #(
   22046   *\'*) :
   22047     eval set x "$CONFIG_FILES" ;; #(
   22048   *) :
   22049     set x $CONFIG_FILES ;; #(
   22050   *) :
   22051      ;;
   22052 esac
   22053   shift
   22054   # Used to flag and report bootstrapping failures.
   22055   am_rc=0
   22056   for am_mf
   22057   do
   22058     # Strip MF so we end up with the name of the file.
   22059     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22060     # Check whether this is an Automake generated Makefile which includes
   22061     # dependency-tracking related rules and includes.
   22062     # Grep'ing the whole file directly is not great: AIX grep has a line
   22063     # limit of 2048, but all sed's we know have understand at least 4000.
   22064     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22065       || continue
   22066     am_dirpart=`$as_dirname -- "$am_mf" ||
   22067 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22068 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22069 	 X"$am_mf" : 'X\(//\)$' \| \
   22070 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22071 printf "%s\n" X"$am_mf" |
   22072     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22073 	    s//\1/
   22074 	    q
   22075 	  }
   22076 	  /^X\(\/\/\)[^/].*/{
   22077 	    s//\1/
   22078 	    q
   22079 	  }
   22080 	  /^X\(\/\/\)$/{
   22081 	    s//\1/
   22082 	    q
   22083 	  }
   22084 	  /^X\(\/\).*/{
   22085 	    s//\1/
   22086 	    q
   22087 	  }
   22088 	  s/.*/./; q'`
   22089     am_filepart=`$as_basename -- "$am_mf" ||
   22090 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22091 	 X"$am_mf" : 'X\(//\)$' \| \
   22092 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22093 printf "%s\n" X/"$am_mf" |
   22094     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22095 	    s//\1/
   22096 	    q
   22097 	  }
   22098 	  /^X\/\(\/\/\)$/{
   22099 	    s//\1/
   22100 	    q
   22101 	  }
   22102 	  /^X\/\(\/\).*/{
   22103 	    s//\1/
   22104 	    q
   22105 	  }
   22106 	  s/.*/./; q'`
   22107     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22108       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22109         | $MAKE -f - am--depfiles" >&5
   22110    (cd "$am_dirpart" \
   22111       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22112         | $MAKE -f - am--depfiles) >&5 2>&5
   22113    ac_status=$?
   22114    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22115    (exit $ac_status); } || am_rc=$?
   22116   done
   22117   if test $am_rc -ne 0; then
   22118     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22119 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22120 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22121     for automatic dependency tracking.  If GNU make was not used, consider
   22122     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22123     necessary).  You can also try re-running configure with the
   22124     '--disable-dependency-tracking' option to at least be able to build
   22125     the package (albeit without support for automatic dependency tracking).
   22126 See \`config.log' for more details" "$LINENO" 5; }
   22127   fi
   22128   { am_dirpart=; unset am_dirpart;}
   22129   { am_filepart=; unset am_filepart;}
   22130   { am_mf=; unset am_mf;}
   22131   { am_rc=; unset am_rc;}
   22132   rm -f conftest-deps.mk
   22133 }
   22134  ;;
   22135     "libtool":C)
   22136 
   22137     # See if we are running on zsh, and set the options that allow our
   22138     # commands through without removal of \ escapes.
   22139     if test -n "${ZSH_VERSION+set}"; then
   22140       setopt NO_GLOB_SUBST
   22141     fi
   22142 
   22143     cfgfile=${ofile}T
   22144     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22145     $RM "$cfgfile"
   22146 
   22147     cat <<_LT_EOF >> "$cfgfile"
   22148 #! $SHELL
   22149 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22150 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22151 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22152 
   22153 # Provide generalized library-building support services.
   22154 # Written by Gordon Matzigkeit, 1996
   22155 
   22156 # Copyright (C) 2014 Free Software Foundation, Inc.
   22157 # This is free software; see the source for copying conditions.  There is NO
   22158 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22159 
   22160 # GNU Libtool is free software; you can redistribute it and/or modify
   22161 # it under the terms of the GNU General Public License as published by
   22162 # the Free Software Foundation; either version 2 of of the License, or
   22163 # (at your option) any later version.
   22164 #
   22165 # As a special exception to the GNU General Public License, if you
   22166 # distribute this file as part of a program or library that is built
   22167 # using GNU Libtool, you may include this file under the  same
   22168 # distribution terms that you use for the rest of that program.
   22169 #
   22170 # GNU Libtool is distributed in the hope that it will be useful, but
   22171 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22172 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22173 # GNU General Public License for more details.
   22174 #
   22175 # You should have received a copy of the GNU General Public License
   22176 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22177 
   22178 
   22179 # The names of the tagged configurations supported by this script.
   22180 available_tags=''
   22181 
   22182 # Configured defaults for sys_lib_dlsearch_path munging.
   22183 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22184 
   22185 # ### BEGIN LIBTOOL CONFIG
   22186 
   22187 # Which release of libtool.m4 was used?
   22188 macro_version=$macro_version
   22189 macro_revision=$macro_revision
   22190 
   22191 # Whether or not to build shared libraries.
   22192 build_libtool_libs=$enable_shared
   22193 
   22194 # Whether or not to build static libraries.
   22195 build_old_libs=$enable_static
   22196 
   22197 # What type of objects to build.
   22198 pic_mode=$pic_mode
   22199 
   22200 # Whether or not to optimize for fast installation.
   22201 fast_install=$enable_fast_install
   22202 
   22203 # Shared archive member basename,for filename based shared library versioning on AIX.
   22204 shared_archive_member_spec=$shared_archive_member_spec
   22205 
   22206 # Shell to use when invoking shell scripts.
   22207 SHELL=$lt_SHELL
   22208 
   22209 # An echo program that protects backslashes.
   22210 ECHO=$lt_ECHO
   22211 
   22212 # The PATH separator for the build system.
   22213 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22214 
   22215 # The host system.
   22216 host_alias=$host_alias
   22217 host=$host
   22218 host_os=$host_os
   22219 
   22220 # The build system.
   22221 build_alias=$build_alias
   22222 build=$build
   22223 build_os=$build_os
   22224 
   22225 # A sed program that does not truncate output.
   22226 SED=$lt_SED
   22227 
   22228 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22229 Xsed="\$SED -e 1s/^X//"
   22230 
   22231 # A grep program that handles long lines.
   22232 GREP=$lt_GREP
   22233 
   22234 # An ERE matcher.
   22235 EGREP=$lt_EGREP
   22236 
   22237 # A literal string matcher.
   22238 FGREP=$lt_FGREP
   22239 
   22240 # A BSD- or MS-compatible name lister.
   22241 NM=$lt_NM
   22242 
   22243 # Whether we need soft or hard links.
   22244 LN_S=$lt_LN_S
   22245 
   22246 # What is the maximum length of a command?
   22247 max_cmd_len=$max_cmd_len
   22248 
   22249 # Object file suffix (normally "o").
   22250 objext=$ac_objext
   22251 
   22252 # Executable file suffix (normally "").
   22253 exeext=$exeext
   22254 
   22255 # whether the shell understands "unset".
   22256 lt_unset=$lt_unset
   22257 
   22258 # turn spaces into newlines.
   22259 SP2NL=$lt_lt_SP2NL
   22260 
   22261 # turn newlines into spaces.
   22262 NL2SP=$lt_lt_NL2SP
   22263 
   22264 # convert \$build file names to \$host format.
   22265 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22266 
   22267 # convert \$build files to toolchain format.
   22268 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22269 
   22270 # A file(cmd) program that detects file types.
   22271 FILECMD=$lt_FILECMD
   22272 
   22273 # An object symbol dumper.
   22274 OBJDUMP=$lt_OBJDUMP
   22275 
   22276 # Method to check whether dependent libraries are shared objects.
   22277 deplibs_check_method=$lt_deplibs_check_method
   22278 
   22279 # Command to use when deplibs_check_method = "file_magic".
   22280 file_magic_cmd=$lt_file_magic_cmd
   22281 
   22282 # How to find potential files when deplibs_check_method = "file_magic".
   22283 file_magic_glob=$lt_file_magic_glob
   22284 
   22285 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22286 want_nocaseglob=$lt_want_nocaseglob
   22287 
   22288 # DLL creation program.
   22289 DLLTOOL=$lt_DLLTOOL
   22290 
   22291 # Command to associate shared and link libraries.
   22292 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22293 
   22294 # The archiver.
   22295 AR=$lt_AR
   22296 
   22297 # Flags to create an archive (by configure).
   22298 lt_ar_flags=$lt_ar_flags
   22299 
   22300 # Flags to create an archive.
   22301 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22302 
   22303 # How to feed a file listing to the archiver.
   22304 archiver_list_spec=$lt_archiver_list_spec
   22305 
   22306 # A symbol stripping program.
   22307 STRIP=$lt_STRIP
   22308 
   22309 # Commands used to install an old-style archive.
   22310 RANLIB=$lt_RANLIB
   22311 old_postinstall_cmds=$lt_old_postinstall_cmds
   22312 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22313 
   22314 # Whether to use a lock for old archive extraction.
   22315 lock_old_archive_extraction=$lock_old_archive_extraction
   22316 
   22317 # A C compiler.
   22318 LTCC=$lt_CC
   22319 
   22320 # LTCC compiler flags.
   22321 LTCFLAGS=$lt_CFLAGS
   22322 
   22323 # Take the output of nm and produce a listing of raw symbols and C names.
   22324 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22325 
   22326 # Transform the output of nm in a proper C declaration.
   22327 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22328 
   22329 # Transform the output of nm into a list of symbols to manually relocate.
   22330 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22331 
   22332 # Transform the output of nm in a C name address pair.
   22333 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22334 
   22335 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22336 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22337 
   22338 # The name lister interface.
   22339 nm_interface=$lt_lt_cv_nm_interface
   22340 
   22341 # Specify filename containing input files for \$NM.
   22342 nm_file_list_spec=$lt_nm_file_list_spec
   22343 
   22344 # The root where to search for dependent libraries,and where our libraries should be installed.
   22345 lt_sysroot=$lt_sysroot
   22346 
   22347 # Command to truncate a binary pipe.
   22348 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22349 
   22350 # The name of the directory that contains temporary libtool files.
   22351 objdir=$objdir
   22352 
   22353 # Used to examine libraries when file_magic_cmd begins with "file".
   22354 MAGIC_CMD=$MAGIC_CMD
   22355 
   22356 # Must we lock files when doing compilation?
   22357 need_locks=$lt_need_locks
   22358 
   22359 # Manifest tool.
   22360 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22361 
   22362 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22363 DSYMUTIL=$lt_DSYMUTIL
   22364 
   22365 # Tool to change global to local symbols on Mac OS X.
   22366 NMEDIT=$lt_NMEDIT
   22367 
   22368 # Tool to manipulate fat objects and archives on Mac OS X.
   22369 LIPO=$lt_LIPO
   22370 
   22371 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22372 OTOOL=$lt_OTOOL
   22373 
   22374 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22375 OTOOL64=$lt_OTOOL64
   22376 
   22377 # Old archive suffix (normally "a").
   22378 libext=$libext
   22379 
   22380 # Shared library suffix (normally ".so").
   22381 shrext_cmds=$lt_shrext_cmds
   22382 
   22383 # The commands to extract the exported symbol list from a shared archive.
   22384 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22385 
   22386 # Variables whose values should be saved in libtool wrapper scripts and
   22387 # restored at link time.
   22388 variables_saved_for_relink=$lt_variables_saved_for_relink
   22389 
   22390 # Do we need the "lib" prefix for modules?
   22391 need_lib_prefix=$need_lib_prefix
   22392 
   22393 # Do we need a version for libraries?
   22394 need_version=$need_version
   22395 
   22396 # Library versioning type.
   22397 version_type=$version_type
   22398 
   22399 # Shared library runtime path variable.
   22400 runpath_var=$runpath_var
   22401 
   22402 # Shared library path variable.
   22403 shlibpath_var=$shlibpath_var
   22404 
   22405 # Is shlibpath searched before the hard-coded library search path?
   22406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22407 
   22408 # Format of library name prefix.
   22409 libname_spec=$lt_libname_spec
   22410 
   22411 # List of archive names.  First name is the real one, the rest are links.
   22412 # The last name is the one that the linker finds with -lNAME
   22413 library_names_spec=$lt_library_names_spec
   22414 
   22415 # The coded name of the library, if different from the real name.
   22416 soname_spec=$lt_soname_spec
   22417 
   22418 # Permission mode override for installation of shared libraries.
   22419 install_override_mode=$lt_install_override_mode
   22420 
   22421 # Command to use after installation of a shared archive.
   22422 postinstall_cmds=$lt_postinstall_cmds
   22423 
   22424 # Command to use after uninstallation of a shared archive.
   22425 postuninstall_cmds=$lt_postuninstall_cmds
   22426 
   22427 # Commands used to finish a libtool library installation in a directory.
   22428 finish_cmds=$lt_finish_cmds
   22429 
   22430 # As "finish_cmds", except a single script fragment to be evaled but
   22431 # not shown.
   22432 finish_eval=$lt_finish_eval
   22433 
   22434 # Whether we should hardcode library paths into libraries.
   22435 hardcode_into_libs=$hardcode_into_libs
   22436 
   22437 # Compile-time system search path for libraries.
   22438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22439 
   22440 # Detected run-time system search path for libraries.
   22441 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22442 
   22443 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22444 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22445 
   22446 # Whether dlopen is supported.
   22447 dlopen_support=$enable_dlopen
   22448 
   22449 # Whether dlopen of programs is supported.
   22450 dlopen_self=$enable_dlopen_self
   22451 
   22452 # Whether dlopen of statically linked programs is supported.
   22453 dlopen_self_static=$enable_dlopen_self_static
   22454 
   22455 # Commands to strip libraries.
   22456 old_striplib=$lt_old_striplib
   22457 striplib=$lt_striplib
   22458 
   22459 
   22460 # The linker used to build libraries.
   22461 LD=$lt_LD
   22462 
   22463 # How to create reloadable object files.
   22464 reload_flag=$lt_reload_flag
   22465 reload_cmds=$lt_reload_cmds
   22466 
   22467 # Commands used to build an old-style archive.
   22468 old_archive_cmds=$lt_old_archive_cmds
   22469 
   22470 # A language specific compiler.
   22471 CC=$lt_compiler
   22472 
   22473 # Is the compiler the GNU compiler?
   22474 with_gcc=$GCC
   22475 
   22476 # Compiler flag to turn off builtin functions.
   22477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22478 
   22479 # Additional compiler flags for building library objects.
   22480 pic_flag=$lt_lt_prog_compiler_pic
   22481 
   22482 # How to pass a linker flag through the compiler.
   22483 wl=$lt_lt_prog_compiler_wl
   22484 
   22485 # Compiler flag to prevent dynamic linking.
   22486 link_static_flag=$lt_lt_prog_compiler_static
   22487 
   22488 # Does compiler simultaneously support -c and -o options?
   22489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22490 
   22491 # Whether or not to add -lc for building shared libraries.
   22492 build_libtool_need_lc=$archive_cmds_need_lc
   22493 
   22494 # Whether or not to disallow shared libs when runtime libs are static.
   22495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22496 
   22497 # Compiler flag to allow reflexive dlopens.
   22498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22499 
   22500 # Compiler flag to generate shared objects directly from archives.
   22501 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22502 
   22503 # Whether the compiler copes with passing no objects directly.
   22504 compiler_needs_object=$lt_compiler_needs_object
   22505 
   22506 # Create an old-style archive from a shared archive.
   22507 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22508 
   22509 # Create a temporary old-style archive to link instead of a shared archive.
   22510 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22511 
   22512 # Commands used to build a shared archive.
   22513 archive_cmds=$lt_archive_cmds
   22514 archive_expsym_cmds=$lt_archive_expsym_cmds
   22515 
   22516 # Commands used to build a loadable module if different from building
   22517 # a shared archive.
   22518 module_cmds=$lt_module_cmds
   22519 module_expsym_cmds=$lt_module_expsym_cmds
   22520 
   22521 # Whether we are building with GNU ld or not.
   22522 with_gnu_ld=$lt_with_gnu_ld
   22523 
   22524 # Flag that allows shared libraries with undefined symbols to be built.
   22525 allow_undefined_flag=$lt_allow_undefined_flag
   22526 
   22527 # Flag that enforces no undefined symbols.
   22528 no_undefined_flag=$lt_no_undefined_flag
   22529 
   22530 # Flag to hardcode \$libdir into a binary during linking.
   22531 # This must work even if \$libdir does not exist
   22532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22533 
   22534 # Whether we need a single "-rpath" flag with a separated argument.
   22535 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22536 
   22537 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22538 # DIR into the resulting binary.
   22539 hardcode_direct=$hardcode_direct
   22540 
   22541 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22542 # DIR into the resulting binary and the resulting library dependency is
   22543 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22544 # library is relocated.
   22545 hardcode_direct_absolute=$hardcode_direct_absolute
   22546 
   22547 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22548 # into the resulting binary.
   22549 hardcode_minus_L=$hardcode_minus_L
   22550 
   22551 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22552 # into the resulting binary.
   22553 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22554 
   22555 # Set to "yes" if building a shared library automatically hardcodes DIR
   22556 # into the library and all subsequent libraries and executables linked
   22557 # against it.
   22558 hardcode_automatic=$hardcode_automatic
   22559 
   22560 # Set to yes if linker adds runtime paths of dependent libraries
   22561 # to runtime path list.
   22562 inherit_rpath=$inherit_rpath
   22563 
   22564 # Whether libtool must link a program against all its dependency libraries.
   22565 link_all_deplibs=$link_all_deplibs
   22566 
   22567 # Set to "yes" if exported symbols are required.
   22568 always_export_symbols=$always_export_symbols
   22569 
   22570 # The commands to list exported symbols.
   22571 export_symbols_cmds=$lt_export_symbols_cmds
   22572 
   22573 # Symbols that should not be listed in the preloaded symbols.
   22574 exclude_expsyms=$lt_exclude_expsyms
   22575 
   22576 # Symbols that must always be exported.
   22577 include_expsyms=$lt_include_expsyms
   22578 
   22579 # Commands necessary for linking programs (against libraries) with templates.
   22580 prelink_cmds=$lt_prelink_cmds
   22581 
   22582 # Commands necessary for finishing linking programs.
   22583 postlink_cmds=$lt_postlink_cmds
   22584 
   22585 # Specify filename containing input files.
   22586 file_list_spec=$lt_file_list_spec
   22587 
   22588 # How to hardcode a shared library path into an executable.
   22589 hardcode_action=$hardcode_action
   22590 
   22591 # ### END LIBTOOL CONFIG
   22592 
   22593 _LT_EOF
   22594 
   22595     cat <<'_LT_EOF' >> "$cfgfile"
   22596 
   22597 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22598 
   22599 # func_munge_path_list VARIABLE PATH
   22600 # -----------------------------------
   22601 # VARIABLE is name of variable containing _space_ separated list of
   22602 # directories to be munged by the contents of PATH, which is string
   22603 # having a format:
   22604 # "DIR[:DIR]:"
   22605 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22606 # ":DIR[:DIR]"
   22607 #       string "DIR[ DIR]" will be appended to VARIABLE
   22608 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22609 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22610 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22611 # "DIR[:DIR]"
   22612 #       VARIABLE will be replaced by "DIR[ DIR]"
   22613 func_munge_path_list ()
   22614 {
   22615     case x$2 in
   22616     x)
   22617         ;;
   22618     *:)
   22619         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22620         ;;
   22621     x:*)
   22622         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22623         ;;
   22624     *::*)
   22625         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22626         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22627         ;;
   22628     *)
   22629         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22630         ;;
   22631     esac
   22632 }
   22633 
   22634 
   22635 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22636 func_cc_basename ()
   22637 {
   22638     for cc_temp in $*""; do
   22639       case $cc_temp in
   22640         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22641         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22642         \-*) ;;
   22643         *) break;;
   22644       esac
   22645     done
   22646     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22647 }
   22648 
   22649 
   22650 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22651 
   22652 _LT_EOF
   22653 
   22654   case $host_os in
   22655   aix3*)
   22656     cat <<\_LT_EOF >> "$cfgfile"
   22657 # AIX sometimes has problems with the GCC collect2 program.  For some
   22658 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22659 # vanish in a puff of smoke.
   22660 if test set != "${COLLECT_NAMES+set}"; then
   22661   COLLECT_NAMES=
   22662   export COLLECT_NAMES
   22663 fi
   22664 _LT_EOF
   22665     ;;
   22666   esac
   22667 
   22668 
   22669 
   22670 ltmain=$ac_aux_dir/ltmain.sh
   22671 
   22672 
   22673   # We use sed instead of cat because bash on DJGPP gets confused if
   22674   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22675   # text mode, it properly converts lines to CR/LF.  This bash problem
   22676   # is reportedly fixed, but why not run on old versions too?
   22677   $SED '$q' "$ltmain" >> "$cfgfile" \
   22678      || (rm -f "$cfgfile"; exit 1)
   22679 
   22680    mv -f "$cfgfile" "$ofile" ||
   22681     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22682   chmod +x "$ofile"
   22683 
   22684  ;;
   22685 
   22686   esac
   22687 done # for ac_tag
   22688 
   22689 
   22690 as_fn_exit 0
   22691 _ACEOF
   22692 ac_clean_files=$ac_clean_files_save
   22693 
   22694 test $ac_write_fail = 0 ||
   22695   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22696 
   22697 
   22698 # configure is writing to config.log, and then calls config.status.
   22699 # config.status does its own redirection, appending to config.log.
   22700 # Unfortunately, on DOS this fails, as config.log is still kept open
   22701 # by configure, so config.status won't be able to write to it; its
   22702 # output is simply discarded.  So we exec the FD to /dev/null,
   22703 # effectively closing config.log, so it can be properly (re)opened and
   22704 # appended to by config.status.  When coming back to configure, we
   22705 # need to make the FD available again.
   22706 if test "$no_create" != yes; then
   22707   ac_cs_success=:
   22708   ac_config_status_args=
   22709   test "$silent" = yes &&
   22710     ac_config_status_args="$ac_config_status_args --quiet"
   22711   exec 5>/dev/null
   22712   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22713   exec 5>>config.log
   22714   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22715   # would make configure fail if this is the last instruction.
   22716   $ac_cs_success || as_fn_exit 1
   22717 fi
   22718 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22720 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22721 fi
   22722 
   22723 
   22724