Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXtst 1.2.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtst/-/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/libxtst/-/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='libXtst'
    684 PACKAGE_TARNAME='libXtst'
    685 PACKAGE_VERSION='1.2.4'
    686 PACKAGE_STRING='libXtst 1.2.4'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxtst/-/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 MAKE_LINT_LIB_FALSE
    728 MAKE_LINT_LIB_TRUE
    729 LINTLIB
    730 LINT_FALSE
    731 LINT_TRUE
    732 LINT_FLAGS
    733 LINT
    734 INSTALL_MANPAGES_FALSE
    735 INSTALL_MANPAGES_TRUE
    736 XTST_LIBS
    737 XTST_CFLAGS
    738 HAVE_STYLESHEETS_FALSE
    739 HAVE_STYLESHEETS_TRUE
    740 XSL_STYLESHEET
    741 STYLESHEET_SRCDIR
    742 XORG_SGML_PATH
    743 HAVE_XSLTPROC_FALSE
    744 HAVE_XSLTPROC_TRUE
    745 XSLTPROC
    746 HAVE_FOP_FALSE
    747 HAVE_FOP_TRUE
    748 FOP
    749 HAVE_XMLTO_FALSE
    750 HAVE_XMLTO_TRUE
    751 HAVE_XMLTO_TEXT_FALSE
    752 HAVE_XMLTO_TEXT_TRUE
    753 XMLTO
    754 ENABLE_SPECS_FALSE
    755 ENABLE_SPECS_TRUE
    756 MAN_SUBSTS
    757 XORG_MAN_PAGE
    758 ADMIN_MAN_DIR
    759 DRIVER_MAN_DIR
    760 MISC_MAN_DIR
    761 FILE_MAN_DIR
    762 LIB_MAN_DIR
    763 APP_MAN_DIR
    764 ADMIN_MAN_SUFFIX
    765 DRIVER_MAN_SUFFIX
    766 MISC_MAN_SUFFIX
    767 FILE_MAN_SUFFIX
    768 LIB_MAN_SUFFIX
    769 APP_MAN_SUFFIX
    770 INSTALL_CMD
    771 PKG_CONFIG_LIBDIR
    772 PKG_CONFIG_PATH
    773 PKG_CONFIG
    774 CHANGELOG_CMD
    775 STRICT_CFLAGS
    776 CWARNFLAGS
    777 BASE_CFLAGS
    778 LT_SYS_LIBRARY_PATH
    779 OTOOL64
    780 OTOOL
    781 LIPO
    782 NMEDIT
    783 DSYMUTIL
    784 MANIFEST_TOOL
    785 RANLIB
    786 ac_ct_AR
    787 AR
    788 DLLTOOL
    789 OBJDUMP
    790 FILECMD
    791 LN_S
    792 NM
    793 ac_ct_DUMPBIN
    794 DUMPBIN
    795 LD
    796 FGREP
    797 EGREP
    798 GREP
    799 SED
    800 am__fastdepCC_FALSE
    801 am__fastdepCC_TRUE
    802 CCDEPMODE
    803 am__nodep
    804 AMDEPBACKSLASH
    805 AMDEP_FALSE
    806 AMDEP_TRUE
    807 am__include
    808 DEPDIR
    809 OBJEXT
    810 EXEEXT
    811 ac_ct_CC
    812 CPPFLAGS
    813 LDFLAGS
    814 CFLAGS
    815 CC
    816 host_os
    817 host_vendor
    818 host_cpu
    819 host
    820 build_os
    821 build_vendor
    822 build_cpu
    823 build
    824 LIBTOOL
    825 AM_BACKSLASH
    826 AM_DEFAULT_VERBOSITY
    827 AM_DEFAULT_V
    828 AM_V
    829 CSCOPE
    830 ETAGS
    831 CTAGS
    832 am__untar
    833 am__tar
    834 AMTAR
    835 am__leading_dot
    836 SET_MAKE
    837 AWK
    838 mkdir_p
    839 MKDIR_P
    840 INSTALL_STRIP_PROGRAM
    841 STRIP
    842 install_sh
    843 MAKEINFO
    844 AUTOHEADER
    845 AUTOMAKE
    846 AUTOCONF
    847 ACLOCAL
    848 VERSION
    849 PACKAGE
    850 CYGPATH_W
    851 am__isrc
    852 INSTALL_DATA
    853 INSTALL_SCRIPT
    854 INSTALL_PROGRAM
    855 target_alias
    856 host_alias
    857 build_alias
    858 LIBS
    859 ECHO_T
    860 ECHO_N
    861 ECHO_C
    862 DEFS
    863 mandir
    864 localedir
    865 libdir
    866 psdir
    867 pdfdir
    868 dvidir
    869 htmldir
    870 infodir
    871 docdir
    872 oldincludedir
    873 includedir
    874 runstatedir
    875 localstatedir
    876 sharedstatedir
    877 sysconfdir
    878 datadir
    879 datarootdir
    880 libexecdir
    881 sbindir
    882 bindir
    883 program_transform_name
    884 prefix
    885 exec_prefix
    886 PACKAGE_URL
    887 PACKAGE_BUGREPORT
    888 PACKAGE_STRING
    889 PACKAGE_VERSION
    890 PACKAGE_TARNAME
    891 PACKAGE_NAME
    892 PATH_SEPARATOR
    893 SHELL
    894 am__quote'
    895 ac_subst_files=''
    896 ac_user_opts='
    897 enable_option_checking
    898 enable_silent_rules
    899 enable_shared
    900 enable_static
    901 with_pic
    902 enable_fast_install
    903 with_aix_soname
    904 enable_dependency_tracking
    905 with_gnu_ld
    906 with_sysroot
    907 enable_libtool_lock
    908 enable_selective_werror
    909 enable_strict_compilation
    910 enable_specs
    911 with_xmlto
    912 with_fop
    913 with_xsltproc
    914 with_lint
    915 enable_lint_library
    916 '
    917       ac_precious_vars='build_alias
    918 host_alias
    919 target_alias
    920 CC
    921 CFLAGS
    922 LDFLAGS
    923 LIBS
    924 CPPFLAGS
    925 LT_SYS_LIBRARY_PATH
    926 PKG_CONFIG
    927 PKG_CONFIG_PATH
    928 PKG_CONFIG_LIBDIR
    929 XMLTO
    930 FOP
    931 XSLTPROC
    932 XTST_CFLAGS
    933 XTST_LIBS
    934 LINT
    935 LINT_FLAGS'
    936 
    937 
    938 # Initialize some variables set by options.
    939 ac_init_help=
    940 ac_init_version=false
    941 ac_unrecognized_opts=
    942 ac_unrecognized_sep=
    943 # The variables have the same names as the options, with
    944 # dashes changed to underlines.
    945 cache_file=/dev/null
    946 exec_prefix=NONE
    947 no_create=
    948 no_recursion=
    949 prefix=NONE
    950 program_prefix=NONE
    951 program_suffix=NONE
    952 program_transform_name=s,x,x,
    953 silent=
    954 site=
    955 srcdir=
    956 verbose=
    957 x_includes=NONE
    958 x_libraries=NONE
    959 
    960 # Installation directory options.
    961 # These are left unexpanded so users can "make install exec_prefix=/foo"
    962 # and all the variables that are supposed to be based on exec_prefix
    963 # by default will actually change.
    964 # Use braces instead of parens because sh, perl, etc. also accept them.
    965 # (The list follows the same order as the GNU Coding Standards.)
    966 bindir='${exec_prefix}/bin'
    967 sbindir='${exec_prefix}/sbin'
    968 libexecdir='${exec_prefix}/libexec'
    969 datarootdir='${prefix}/share'
    970 datadir='${datarootdir}'
    971 sysconfdir='${prefix}/etc'
    972 sharedstatedir='${prefix}/com'
    973 localstatedir='${prefix}/var'
    974 runstatedir='${localstatedir}/run'
    975 includedir='${prefix}/include'
    976 oldincludedir='/usr/include'
    977 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    978 infodir='${datarootdir}/info'
    979 htmldir='${docdir}'
    980 dvidir='${docdir}'
    981 pdfdir='${docdir}'
    982 psdir='${docdir}'
    983 libdir='${exec_prefix}/lib'
    984 localedir='${datarootdir}/locale'
    985 mandir='${datarootdir}/man'
    986 
    987 ac_prev=
    988 ac_dashdash=
    989 for ac_option
    990 do
    991   # If the previous option needs an argument, assign it.
    992   if test -n "$ac_prev"; then
    993     eval $ac_prev=\$ac_option
    994     ac_prev=
    995     continue
    996   fi
    997 
    998   case $ac_option in
    999   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1000   *=)   ac_optarg= ;;
   1001   *)    ac_optarg=yes ;;
   1002   esac
   1003 
   1004   case $ac_dashdash$ac_option in
   1005   --)
   1006     ac_dashdash=yes ;;
   1007 
   1008   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1009     ac_prev=bindir ;;
   1010   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1011     bindir=$ac_optarg ;;
   1012 
   1013   -build | --build | --buil | --bui | --bu)
   1014     ac_prev=build_alias ;;
   1015   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1016     build_alias=$ac_optarg ;;
   1017 
   1018   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1019   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1020     ac_prev=cache_file ;;
   1021   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1022   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1023     cache_file=$ac_optarg ;;
   1024 
   1025   --config-cache | -C)
   1026     cache_file=config.cache ;;
   1027 
   1028   -datadir | --datadir | --datadi | --datad)
   1029     ac_prev=datadir ;;
   1030   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1031     datadir=$ac_optarg ;;
   1032 
   1033   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1034   | --dataroo | --dataro | --datar)
   1035     ac_prev=datarootdir ;;
   1036   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1037   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1038     datarootdir=$ac_optarg ;;
   1039 
   1040   -disable-* | --disable-*)
   1041     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1044       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1045     ac_useropt_orig=$ac_useropt
   1046     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1047     case $ac_user_opts in
   1048       *"
   1049 "enable_$ac_useropt"
   1050 "*) ;;
   1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1052 	 ac_unrecognized_sep=', ';;
   1053     esac
   1054     eval enable_$ac_useropt=no ;;
   1055 
   1056   -docdir | --docdir | --docdi | --doc | --do)
   1057     ac_prev=docdir ;;
   1058   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1059     docdir=$ac_optarg ;;
   1060 
   1061   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1062     ac_prev=dvidir ;;
   1063   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1064     dvidir=$ac_optarg ;;
   1065 
   1066   -enable-* | --enable-*)
   1067     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1068     # Reject names that are not valid shell variable names.
   1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1070       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1071     ac_useropt_orig=$ac_useropt
   1072     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1073     case $ac_user_opts in
   1074       *"
   1075 "enable_$ac_useropt"
   1076 "*) ;;
   1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1078 	 ac_unrecognized_sep=', ';;
   1079     esac
   1080     eval enable_$ac_useropt=\$ac_optarg ;;
   1081 
   1082   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1083   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1084   | --exec | --exe | --ex)
   1085     ac_prev=exec_prefix ;;
   1086   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1087   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1088   | --exec=* | --exe=* | --ex=*)
   1089     exec_prefix=$ac_optarg ;;
   1090 
   1091   -gas | --gas | --ga | --g)
   1092     # Obsolete; use --with-gas.
   1093     with_gas=yes ;;
   1094 
   1095   -help | --help | --hel | --he | -h)
   1096     ac_init_help=long ;;
   1097   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1098     ac_init_help=recursive ;;
   1099   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1100     ac_init_help=short ;;
   1101 
   1102   -host | --host | --hos | --ho)
   1103     ac_prev=host_alias ;;
   1104   -host=* | --host=* | --hos=* | --ho=*)
   1105     host_alias=$ac_optarg ;;
   1106 
   1107   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1108     ac_prev=htmldir ;;
   1109   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1110   | --ht=*)
   1111     htmldir=$ac_optarg ;;
   1112 
   1113   -includedir | --includedir | --includedi | --included | --include \
   1114   | --includ | --inclu | --incl | --inc)
   1115     ac_prev=includedir ;;
   1116   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1117   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1118     includedir=$ac_optarg ;;
   1119 
   1120   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1121     ac_prev=infodir ;;
   1122   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1123     infodir=$ac_optarg ;;
   1124 
   1125   -libdir | --libdir | --libdi | --libd)
   1126     ac_prev=libdir ;;
   1127   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1128     libdir=$ac_optarg ;;
   1129 
   1130   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1131   | --libexe | --libex | --libe)
   1132     ac_prev=libexecdir ;;
   1133   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1134   | --libexe=* | --libex=* | --libe=*)
   1135     libexecdir=$ac_optarg ;;
   1136 
   1137   -localedir | --localedir | --localedi | --localed | --locale)
   1138     ac_prev=localedir ;;
   1139   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1140     localedir=$ac_optarg ;;
   1141 
   1142   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1143   | --localstate | --localstat | --localsta | --localst | --locals)
   1144     ac_prev=localstatedir ;;
   1145   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1146   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1147     localstatedir=$ac_optarg ;;
   1148 
   1149   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1150     ac_prev=mandir ;;
   1151   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1152     mandir=$ac_optarg ;;
   1153 
   1154   -nfp | --nfp | --nf)
   1155     # Obsolete; use --without-fp.
   1156     with_fp=no ;;
   1157 
   1158   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1159   | --no-cr | --no-c | -n)
   1160     no_create=yes ;;
   1161 
   1162   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1163   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1164     no_recursion=yes ;;
   1165 
   1166   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1167   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1168   | --oldin | --oldi | --old | --ol | --o)
   1169     ac_prev=oldincludedir ;;
   1170   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1171   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1172   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1173     oldincludedir=$ac_optarg ;;
   1174 
   1175   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1176     ac_prev=prefix ;;
   1177   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1178     prefix=$ac_optarg ;;
   1179 
   1180   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1181   | --program-pre | --program-pr | --program-p)
   1182     ac_prev=program_prefix ;;
   1183   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1184   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1185     program_prefix=$ac_optarg ;;
   1186 
   1187   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1188   | --program-suf | --program-su | --program-s)
   1189     ac_prev=program_suffix ;;
   1190   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1191   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1192     program_suffix=$ac_optarg ;;
   1193 
   1194   -program-transform-name | --program-transform-name \
   1195   | --program-transform-nam | --program-transform-na \
   1196   | --program-transform-n | --program-transform- \
   1197   | --program-transform | --program-transfor \
   1198   | --program-transfo | --program-transf \
   1199   | --program-trans | --program-tran \
   1200   | --progr-tra | --program-tr | --program-t)
   1201     ac_prev=program_transform_name ;;
   1202   -program-transform-name=* | --program-transform-name=* \
   1203   | --program-transform-nam=* | --program-transform-na=* \
   1204   | --program-transform-n=* | --program-transform-=* \
   1205   | --program-transform=* | --program-transfor=* \
   1206   | --program-transfo=* | --program-transf=* \
   1207   | --program-trans=* | --program-tran=* \
   1208   | --progr-tra=* | --program-tr=* | --program-t=*)
   1209     program_transform_name=$ac_optarg ;;
   1210 
   1211   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1212     ac_prev=pdfdir ;;
   1213   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1214     pdfdir=$ac_optarg ;;
   1215 
   1216   -psdir | --psdir | --psdi | --psd | --ps)
   1217     ac_prev=psdir ;;
   1218   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1219     psdir=$ac_optarg ;;
   1220 
   1221   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1222   | -silent | --silent | --silen | --sile | --sil)
   1223     silent=yes ;;
   1224 
   1225   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1226   | --runstate | --runstat | --runsta | --runst | --runs \
   1227   | --run | --ru | --r)
   1228     ac_prev=runstatedir ;;
   1229   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1230   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1231   | --run=* | --ru=* | --r=*)
   1232     runstatedir=$ac_optarg ;;
   1233 
   1234   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1235     ac_prev=sbindir ;;
   1236   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1237   | --sbi=* | --sb=*)
   1238     sbindir=$ac_optarg ;;
   1239 
   1240   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1241   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1242   | --sharedst | --shareds | --shared | --share | --shar \
   1243   | --sha | --sh)
   1244     ac_prev=sharedstatedir ;;
   1245   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1246   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1247   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1248   | --sha=* | --sh=*)
   1249     sharedstatedir=$ac_optarg ;;
   1250 
   1251   -site | --site | --sit)
   1252     ac_prev=site ;;
   1253   -site=* | --site=* | --sit=*)
   1254     site=$ac_optarg ;;
   1255 
   1256   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1257     ac_prev=srcdir ;;
   1258   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1259     srcdir=$ac_optarg ;;
   1260 
   1261   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1262   | --syscon | --sysco | --sysc | --sys | --sy)
   1263     ac_prev=sysconfdir ;;
   1264   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1265   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1266     sysconfdir=$ac_optarg ;;
   1267 
   1268   -target | --target | --targe | --targ | --tar | --ta | --t)
   1269     ac_prev=target_alias ;;
   1270   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1271     target_alias=$ac_optarg ;;
   1272 
   1273   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1274     verbose=yes ;;
   1275 
   1276   -version | --version | --versio | --versi | --vers | -V)
   1277     ac_init_version=: ;;
   1278 
   1279   -with-* | --with-*)
   1280     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1281     # Reject names that are not valid shell variable names.
   1282     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1283       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1284     ac_useropt_orig=$ac_useropt
   1285     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1286     case $ac_user_opts in
   1287       *"
   1288 "with_$ac_useropt"
   1289 "*) ;;
   1290       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1291 	 ac_unrecognized_sep=', ';;
   1292     esac
   1293     eval with_$ac_useropt=\$ac_optarg ;;
   1294 
   1295   -without-* | --without-*)
   1296     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1297     # Reject names that are not valid shell variable names.
   1298     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1299       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1300     ac_useropt_orig=$ac_useropt
   1301     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1302     case $ac_user_opts in
   1303       *"
   1304 "with_$ac_useropt"
   1305 "*) ;;
   1306       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1307 	 ac_unrecognized_sep=', ';;
   1308     esac
   1309     eval with_$ac_useropt=no ;;
   1310 
   1311   --x)
   1312     # Obsolete; use --with-x.
   1313     with_x=yes ;;
   1314 
   1315   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1316   | --x-incl | --x-inc | --x-in | --x-i)
   1317     ac_prev=x_includes ;;
   1318   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1319   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1320     x_includes=$ac_optarg ;;
   1321 
   1322   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1323   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1324     ac_prev=x_libraries ;;
   1325   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1326   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1327     x_libraries=$ac_optarg ;;
   1328 
   1329   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1330 Try \`$0 --help' for more information"
   1331     ;;
   1332 
   1333   *=*)
   1334     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1335     # Reject names that are not valid shell variable names.
   1336     case $ac_envvar in #(
   1337       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1338       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1339     esac
   1340     eval $ac_envvar=\$ac_optarg
   1341     export $ac_envvar ;;
   1342 
   1343   *)
   1344     # FIXME: should be removed in autoconf 3.0.
   1345     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1346     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1347       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1348     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1349     ;;
   1350 
   1351   esac
   1352 done
   1353 
   1354 if test -n "$ac_prev"; then
   1355   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1356   as_fn_error $? "missing argument to $ac_option"
   1357 fi
   1358 
   1359 if test -n "$ac_unrecognized_opts"; then
   1360   case $enable_option_checking in
   1361     no) ;;
   1362     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1363     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1364   esac
   1365 fi
   1366 
   1367 # Check all directory arguments for consistency.
   1368 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1369 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1370 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1371 		libdir localedir mandir runstatedir
   1372 do
   1373   eval ac_val=\$$ac_var
   1374   # Remove trailing slashes.
   1375   case $ac_val in
   1376     */ )
   1377       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1378       eval $ac_var=\$ac_val;;
   1379   esac
   1380   # Be sure to have absolute directory names.
   1381   case $ac_val in
   1382     [\\/$]* | ?:[\\/]* )  continue;;
   1383     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1384   esac
   1385   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1386 done
   1387 
   1388 # There might be people who depend on the old broken behavior: `$host'
   1389 # used to hold the argument of --host etc.
   1390 # FIXME: To remove some day.
   1391 build=$build_alias
   1392 host=$host_alias
   1393 target=$target_alias
   1394 
   1395 # FIXME: To remove some day.
   1396 if test "x$host_alias" != x; then
   1397   if test "x$build_alias" = x; then
   1398     cross_compiling=maybe
   1399   elif test "x$build_alias" != "x$host_alias"; then
   1400     cross_compiling=yes
   1401   fi
   1402 fi
   1403 
   1404 ac_tool_prefix=
   1405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1406 
   1407 test "$silent" = yes && exec 6>/dev/null
   1408 
   1409 
   1410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1411 ac_ls_di=`ls -di .` &&
   1412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1413   as_fn_error $? "working directory cannot be determined"
   1414 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1415   as_fn_error $? "pwd does not report name of working directory"
   1416 
   1417 
   1418 # Find the source files, if location was not specified.
   1419 if test -z "$srcdir"; then
   1420   ac_srcdir_defaulted=yes
   1421   # Try the directory containing this script, then the parent directory.
   1422   ac_confdir=`$as_dirname -- "$as_myself" ||
   1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1424 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1425 	 X"$as_myself" : 'X\(//\)$' \| \
   1426 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1427 printf "%s\n" X"$as_myself" |
   1428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1429 	    s//\1/
   1430 	    q
   1431 	  }
   1432 	  /^X\(\/\/\)[^/].*/{
   1433 	    s//\1/
   1434 	    q
   1435 	  }
   1436 	  /^X\(\/\/\)$/{
   1437 	    s//\1/
   1438 	    q
   1439 	  }
   1440 	  /^X\(\/\).*/{
   1441 	    s//\1/
   1442 	    q
   1443 	  }
   1444 	  s/.*/./; q'`
   1445   srcdir=$ac_confdir
   1446   if test ! -r "$srcdir/$ac_unique_file"; then
   1447     srcdir=..
   1448   fi
   1449 else
   1450   ac_srcdir_defaulted=no
   1451 fi
   1452 if test ! -r "$srcdir/$ac_unique_file"; then
   1453   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1454   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1455 fi
   1456 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1457 ac_abs_confdir=`(
   1458 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1459 	pwd)`
   1460 # When building in place, set srcdir=.
   1461 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1462   srcdir=.
   1463 fi
   1464 # Remove unnecessary trailing slashes from srcdir.
   1465 # Double slashes in file names in object file debugging info
   1466 # mess up M-x gdb in Emacs.
   1467 case $srcdir in
   1468 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1469 esac
   1470 for ac_var in $ac_precious_vars; do
   1471   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1472   eval ac_env_${ac_var}_value=\$${ac_var}
   1473   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1474   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1475 done
   1476 
   1477 #
   1478 # Report the --help message.
   1479 #
   1480 if test "$ac_init_help" = "long"; then
   1481   # Omit some internal or obsolete options to make the list less imposing.
   1482   # This message is too long to be a string in the A/UX 3.1 sh.
   1483   cat <<_ACEOF
   1484 \`configure' configures libXtst 1.2.4 to adapt to many kinds of systems.
   1485 
   1486 Usage: $0 [OPTION]... [VAR=VALUE]...
   1487 
   1488 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1489 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1490 
   1491 Defaults for the options are specified in brackets.
   1492 
   1493 Configuration:
   1494   -h, --help              display this help and exit
   1495       --help=short        display options specific to this package
   1496       --help=recursive    display the short help of all the included packages
   1497   -V, --version           display version information and exit
   1498   -q, --quiet, --silent   do not print \`checking ...' messages
   1499       --cache-file=FILE   cache test results in FILE [disabled]
   1500   -C, --config-cache      alias for \`--cache-file=config.cache'
   1501   -n, --no-create         do not create output files
   1502       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1503 
   1504 Installation directories:
   1505   --prefix=PREFIX         install architecture-independent files in PREFIX
   1506                           [$ac_default_prefix]
   1507   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1508                           [PREFIX]
   1509 
   1510 By default, \`make install' will install all the files in
   1511 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1512 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1513 for instance \`--prefix=\$HOME'.
   1514 
   1515 For better control, use the options below.
   1516 
   1517 Fine tuning of the installation directories:
   1518   --bindir=DIR            user executables [EPREFIX/bin]
   1519   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1520   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1521   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1522   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1523   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1524   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1525   --libdir=DIR            object code libraries [EPREFIX/lib]
   1526   --includedir=DIR        C header files [PREFIX/include]
   1527   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1528   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1529   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1530   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1531   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1532   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1533   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXtst]
   1534   --htmldir=DIR           html documentation [DOCDIR]
   1535   --dvidir=DIR            dvi documentation [DOCDIR]
   1536   --pdfdir=DIR            pdf documentation [DOCDIR]
   1537   --psdir=DIR             ps documentation [DOCDIR]
   1538 _ACEOF
   1539 
   1540   cat <<\_ACEOF
   1541 
   1542 Program names:
   1543   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1544   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1545   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1546 
   1547 System types:
   1548   --build=BUILD     configure for building on BUILD [guessed]
   1549   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1550 _ACEOF
   1551 fi
   1552 
   1553 if test -n "$ac_init_help"; then
   1554   case $ac_init_help in
   1555      short | recursive ) echo "Configuration of libXtst 1.2.4:";;
   1556    esac
   1557   cat <<\_ACEOF
   1558 
   1559 Optional Features:
   1560   --disable-option-checking  ignore unrecognized --enable/--with options
   1561   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1562   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1563   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1564   --disable-silent-rules  verbose build output (undo: "make V=0")
   1565   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1566   --enable-static[=PKGS]  build static libraries [default=yes]
   1567   --enable-fast-install[=PKGS]
   1568                           optimize for fast installation [default=yes]
   1569   --enable-dependency-tracking
   1570                           do not reject slow dependency extractors
   1571   --disable-dependency-tracking
   1572                           speeds up one-time build
   1573   --disable-libtool-lock  avoid locking (might break parallel builds)
   1574   --disable-selective-werror
   1575                           Turn off selective compiler errors. (default:
   1576                           enabled)
   1577   --enable-strict-compilation
   1578                           Enable all warnings from compiler and make them
   1579                           errors (default: disabled)
   1580   --enable-specs          Enable building the specs (default: yes)
   1581   --enable-lint-library   Create lint library (default: disabled)
   1582 
   1583 Optional Packages:
   1584   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1585   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1586   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1587                           both]
   1588   --with-aix-soname=aix|svr4|both
   1589                           shared library versioning (aka "SONAME") variant to
   1590                           provide on AIX, [default=aix].
   1591   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1592   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1593                           compiler's sysroot if not specified).
   1594   --with-xmlto            Use xmlto to regenerate documentation (default:
   1595                           auto)
   1596   --with-fop              Use fop to regenerate documentation (default: auto)
   1597   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1598                           (default: auto)
   1599   --with-lint             Use a lint-style source code checker (default:
   1600                           disabled)
   1601 
   1602 Some influential environment variables:
   1603   CC          C compiler command
   1604   CFLAGS      C compiler flags
   1605   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1606               nonstandard directory <lib dir>
   1607   LIBS        libraries to pass to the linker, e.g. -l<library>
   1608   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1609               you have headers in a nonstandard directory <include dir>
   1610   LT_SYS_LIBRARY_PATH
   1611               User-defined run-time library search path.
   1612   PKG_CONFIG  path to pkg-config utility
   1613   PKG_CONFIG_PATH
   1614               directories to add to pkg-config's search path
   1615   PKG_CONFIG_LIBDIR
   1616               path overriding pkg-config's built-in search path
   1617   XMLTO       Path to xmlto command
   1618   FOP         Path to fop command
   1619   XSLTPROC    Path to xsltproc command
   1620   XTST_CFLAGS C compiler flags for XTST, overriding pkg-config
   1621   XTST_LIBS   linker flags for XTST, overriding pkg-config
   1622   LINT        Path to a lint-style command
   1623   LINT_FLAGS  Flags for the lint-style command
   1624 
   1625 Use these variables to override the choices made by `configure' or to help
   1626 it to find libraries and programs with nonstandard names/locations.
   1627 
   1628 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtst/-/issues>.
   1629 _ACEOF
   1630 ac_status=$?
   1631 fi
   1632 
   1633 if test "$ac_init_help" = "recursive"; then
   1634   # If there are subdirs, report their specific --help.
   1635   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1636     test -d "$ac_dir" ||
   1637       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1638       continue
   1639     ac_builddir=.
   1640 
   1641 case "$ac_dir" in
   1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1643 *)
   1644   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1645   # A ".." for each directory in $ac_dir_suffix.
   1646   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1647   case $ac_top_builddir_sub in
   1648   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1649   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1650   esac ;;
   1651 esac
   1652 ac_abs_top_builddir=$ac_pwd
   1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1654 # for backward compatibility:
   1655 ac_top_builddir=$ac_top_build_prefix
   1656 
   1657 case $srcdir in
   1658   .)  # We are building in place.
   1659     ac_srcdir=.
   1660     ac_top_srcdir=$ac_top_builddir_sub
   1661     ac_abs_top_srcdir=$ac_pwd ;;
   1662   [\\/]* | ?:[\\/]* )  # Absolute name.
   1663     ac_srcdir=$srcdir$ac_dir_suffix;
   1664     ac_top_srcdir=$srcdir
   1665     ac_abs_top_srcdir=$srcdir ;;
   1666   *) # Relative name.
   1667     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1668     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1669     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1670 esac
   1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1672 
   1673     cd "$ac_dir" || { ac_status=$?; continue; }
   1674     # Check for configure.gnu first; this name is used for a wrapper for
   1675     # Metaconfig's "Configure" on case-insensitive file systems.
   1676     if test -f "$ac_srcdir/configure.gnu"; then
   1677       echo &&
   1678       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1679     elif test -f "$ac_srcdir/configure"; then
   1680       echo &&
   1681       $SHELL "$ac_srcdir/configure" --help=recursive
   1682     else
   1683       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1684     fi || ac_status=$?
   1685     cd "$ac_pwd" || { ac_status=$?; break; }
   1686   done
   1687 fi
   1688 
   1689 test -n "$ac_init_help" && exit $ac_status
   1690 if $ac_init_version; then
   1691   cat <<\_ACEOF
   1692 libXtst configure 1.2.4
   1693 generated by GNU Autoconf 2.71
   1694 
   1695 Copyright (C) 2021 Free Software Foundation, Inc.
   1696 This configure script is free software; the Free Software Foundation
   1697 gives unlimited permission to copy, distribute and modify it.
   1698 _ACEOF
   1699   exit
   1700 fi
   1701 
   1702 ## ------------------------ ##
   1703 ## Autoconf initialization. ##
   1704 ## ------------------------ ##
   1705 
   1706 # ac_fn_c_try_compile LINENO
   1707 # --------------------------
   1708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1709 ac_fn_c_try_compile ()
   1710 {
   1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1712   rm -f conftest.$ac_objext conftest.beam
   1713   if { { ac_try="$ac_compile"
   1714 case "(($ac_try" in
   1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1716   *) ac_try_echo=$ac_try;;
   1717 esac
   1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1719 printf "%s\n" "$ac_try_echo"; } >&5
   1720   (eval "$ac_compile") 2>conftest.err
   1721   ac_status=$?
   1722   if test -s conftest.err; then
   1723     grep -v '^ *+' conftest.err >conftest.er1
   1724     cat conftest.er1 >&5
   1725     mv -f conftest.er1 conftest.err
   1726   fi
   1727   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1728   test $ac_status = 0; } && {
   1729 	 test -z "$ac_c_werror_flag" ||
   1730 	 test ! -s conftest.err
   1731        } && test -s conftest.$ac_objext
   1732 then :
   1733   ac_retval=0
   1734 else $as_nop
   1735   printf "%s\n" "$as_me: failed program was:" >&5
   1736 sed 's/^/| /' conftest.$ac_ext >&5
   1737 
   1738 	ac_retval=1
   1739 fi
   1740   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1741   as_fn_set_status $ac_retval
   1742 
   1743 } # ac_fn_c_try_compile
   1744 
   1745 # ac_fn_c_try_link LINENO
   1746 # -----------------------
   1747 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1748 ac_fn_c_try_link ()
   1749 {
   1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1751   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1752   if { { ac_try="$ac_link"
   1753 case "(($ac_try" in
   1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1755   *) ac_try_echo=$ac_try;;
   1756 esac
   1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1758 printf "%s\n" "$ac_try_echo"; } >&5
   1759   (eval "$ac_link") 2>conftest.err
   1760   ac_status=$?
   1761   if test -s conftest.err; then
   1762     grep -v '^ *+' conftest.err >conftest.er1
   1763     cat conftest.er1 >&5
   1764     mv -f conftest.er1 conftest.err
   1765   fi
   1766   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1767   test $ac_status = 0; } && {
   1768 	 test -z "$ac_c_werror_flag" ||
   1769 	 test ! -s conftest.err
   1770        } && test -s conftest$ac_exeext && {
   1771 	 test "$cross_compiling" = yes ||
   1772 	 test -x conftest$ac_exeext
   1773        }
   1774 then :
   1775   ac_retval=0
   1776 else $as_nop
   1777   printf "%s\n" "$as_me: failed program was:" >&5
   1778 sed 's/^/| /' conftest.$ac_ext >&5
   1779 
   1780 	ac_retval=1
   1781 fi
   1782   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1783   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1784   # interfere with the next link command; also delete a directory that is
   1785   # left behind by Apple's compiler.  We do this before executing the actions.
   1786   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788   as_fn_set_status $ac_retval
   1789 
   1790 } # ac_fn_c_try_link
   1791 
   1792 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1793 # -------------------------------------------------------
   1794 # Tests whether HEADER exists and can be compiled using the include files in
   1795 # INCLUDES, setting the cache variable VAR accordingly.
   1796 ac_fn_c_check_header_compile ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1800 printf %s "checking for $2... " >&6; }
   1801 if eval test \${$3+y}
   1802 then :
   1803   printf %s "(cached) " >&6
   1804 else $as_nop
   1805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1806 /* end confdefs.h.  */
   1807 $4
   1808 #include <$2>
   1809 _ACEOF
   1810 if ac_fn_c_try_compile "$LINENO"
   1811 then :
   1812   eval "$3=yes"
   1813 else $as_nop
   1814   eval "$3=no"
   1815 fi
   1816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1817 fi
   1818 eval ac_res=\$$3
   1819 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1820 printf "%s\n" "$ac_res" >&6; }
   1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1822 
   1823 } # ac_fn_c_check_header_compile
   1824 
   1825 # ac_fn_c_check_func LINENO FUNC VAR
   1826 # ----------------------------------
   1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1828 ac_fn_c_check_func ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1832 printf %s "checking for $2... " >&6; }
   1833 if eval test \${$3+y}
   1834 then :
   1835   printf %s "(cached) " >&6
   1836 else $as_nop
   1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1838 /* end confdefs.h.  */
   1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1841 #define $2 innocuous_$2
   1842 
   1843 /* System header to define __stub macros and hopefully few prototypes,
   1844    which can conflict with char $2 (); below.  */
   1845 
   1846 #include <limits.h>
   1847 #undef $2
   1848 
   1849 /* Override any GCC internal prototype to avoid an error.
   1850    Use char because int might match the return type of a GCC
   1851    builtin and then its argument prototype would still apply.  */
   1852 #ifdef __cplusplus
   1853 extern "C"
   1854 #endif
   1855 char $2 ();
   1856 /* The GNU C library defines this for functions which it implements
   1857     to always fail with ENOSYS.  Some functions are actually named
   1858     something starting with __ and the normal name is an alias.  */
   1859 #if defined __stub_$2 || defined __stub___$2
   1860 choke me
   1861 #endif
   1862 
   1863 int
   1864 main (void)
   1865 {
   1866 return $2 ();
   1867   ;
   1868   return 0;
   1869 }
   1870 _ACEOF
   1871 if ac_fn_c_try_link "$LINENO"
   1872 then :
   1873   eval "$3=yes"
   1874 else $as_nop
   1875   eval "$3=no"
   1876 fi
   1877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1878     conftest$ac_exeext conftest.$ac_ext
   1879 fi
   1880 eval ac_res=\$$3
   1881 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1882 printf "%s\n" "$ac_res" >&6; }
   1883   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1884 
   1885 } # ac_fn_c_check_func
   1886 
   1887 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1888 # ------------------------------------------------------------------
   1889 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1890 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1891 ac_fn_check_decl ()
   1892 {
   1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1894   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1896 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1897 if eval test \${$3+y}
   1898 then :
   1899   printf %s "(cached) " >&6
   1900 else $as_nop
   1901   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1902   eval ac_save_FLAGS=\$$6
   1903   as_fn_append $6 " $5"
   1904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1905 /* end confdefs.h.  */
   1906 $4
   1907 int
   1908 main (void)
   1909 {
   1910 #ifndef $as_decl_name
   1911 #ifdef __cplusplus
   1912   (void) $as_decl_use;
   1913 #else
   1914   (void) $as_decl_name;
   1915 #endif
   1916 #endif
   1917 
   1918   ;
   1919   return 0;
   1920 }
   1921 _ACEOF
   1922 if ac_fn_c_try_compile "$LINENO"
   1923 then :
   1924   eval "$3=yes"
   1925 else $as_nop
   1926   eval "$3=no"
   1927 fi
   1928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1929   eval $6=\$ac_save_FLAGS
   1930 
   1931 fi
   1932 eval ac_res=\$$3
   1933 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1934 printf "%s\n" "$ac_res" >&6; }
   1935   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1936 
   1937 } # ac_fn_check_decl
   1938 ac_configure_args_raw=
   1939 for ac_arg
   1940 do
   1941   case $ac_arg in
   1942   *\'*)
   1943     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1944   esac
   1945   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1946 done
   1947 
   1948 case $ac_configure_args_raw in
   1949   *$as_nl*)
   1950     ac_safe_unquote= ;;
   1951   *)
   1952     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1953     ac_unsafe_a="$ac_unsafe_z#~"
   1954     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1955     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1956 esac
   1957 
   1958 cat >config.log <<_ACEOF
   1959 This file contains any messages produced by compilers while
   1960 running configure, to aid debugging if configure makes a mistake.
   1961 
   1962 It was created by libXtst $as_me 1.2.4, which was
   1963 generated by GNU Autoconf 2.71.  Invocation command line was
   1964 
   1965   $ $0$ac_configure_args_raw
   1966 
   1967 _ACEOF
   1968 exec 5>>config.log
   1969 {
   1970 cat <<_ASUNAME
   1971 ## --------- ##
   1972 ## Platform. ##
   1973 ## --------- ##
   1974 
   1975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1976 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1977 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1978 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1979 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1980 
   1981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1982 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1983 
   1984 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1985 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1987 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1988 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1989 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1990 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1991 
   1992 _ASUNAME
   1993 
   1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1995 for as_dir in $PATH
   1996 do
   1997   IFS=$as_save_IFS
   1998   case $as_dir in #(((
   1999     '') as_dir=./ ;;
   2000     */) ;;
   2001     *) as_dir=$as_dir/ ;;
   2002   esac
   2003     printf "%s\n" "PATH: $as_dir"
   2004   done
   2005 IFS=$as_save_IFS
   2006 
   2007 } >&5
   2008 
   2009 cat >&5 <<_ACEOF
   2010 
   2011 
   2012 ## ----------- ##
   2013 ## Core tests. ##
   2014 ## ----------- ##
   2015 
   2016 _ACEOF
   2017 
   2018 
   2019 # Keep a trace of the command line.
   2020 # Strip out --no-create and --no-recursion so they do not pile up.
   2021 # Strip out --silent because we don't want to record it for future runs.
   2022 # Also quote any args containing shell meta-characters.
   2023 # Make two passes to allow for proper duplicate-argument suppression.
   2024 ac_configure_args=
   2025 ac_configure_args0=
   2026 ac_configure_args1=
   2027 ac_must_keep_next=false
   2028 for ac_pass in 1 2
   2029 do
   2030   for ac_arg
   2031   do
   2032     case $ac_arg in
   2033     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2034     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2035     | -silent | --silent | --silen | --sile | --sil)
   2036       continue ;;
   2037     *\'*)
   2038       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2039     esac
   2040     case $ac_pass in
   2041     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2042     2)
   2043       as_fn_append ac_configure_args1 " '$ac_arg'"
   2044       if test $ac_must_keep_next = true; then
   2045 	ac_must_keep_next=false # Got value, back to normal.
   2046       else
   2047 	case $ac_arg in
   2048 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2049 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2050 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2051 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2052 	    case "$ac_configure_args0 " in
   2053 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2054 	    esac
   2055 	    ;;
   2056 	  -* ) ac_must_keep_next=true ;;
   2057 	esac
   2058       fi
   2059       as_fn_append ac_configure_args " '$ac_arg'"
   2060       ;;
   2061     esac
   2062   done
   2063 done
   2064 { ac_configure_args0=; unset ac_configure_args0;}
   2065 { ac_configure_args1=; unset ac_configure_args1;}
   2066 
   2067 # When interrupted or exit'd, cleanup temporary files, and complete
   2068 # config.log.  We remove comments because anyway the quotes in there
   2069 # would cause problems or look ugly.
   2070 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2071 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2072 trap 'exit_status=$?
   2073   # Sanitize IFS.
   2074   IFS=" ""	$as_nl"
   2075   # Save into config.log some information that might help in debugging.
   2076   {
   2077     echo
   2078 
   2079     printf "%s\n" "## ---------------- ##
   2080 ## Cache variables. ##
   2081 ## ---------------- ##"
   2082     echo
   2083     # The following way of writing the cache mishandles newlines in values,
   2084 (
   2085   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2086     eval ac_val=\$$ac_var
   2087     case $ac_val in #(
   2088     *${as_nl}*)
   2089       case $ac_var in #(
   2090       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2091 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2092       esac
   2093       case $ac_var in #(
   2094       _ | IFS | as_nl) ;; #(
   2095       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2096       *) { eval $ac_var=; unset $ac_var;} ;;
   2097       esac ;;
   2098     esac
   2099   done
   2100   (set) 2>&1 |
   2101     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2102     *${as_nl}ac_space=\ *)
   2103       sed -n \
   2104 	"s/'\''/'\''\\\\'\'''\''/g;
   2105 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2106       ;; #(
   2107     *)
   2108       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2109       ;;
   2110     esac |
   2111     sort
   2112 )
   2113     echo
   2114 
   2115     printf "%s\n" "## ----------------- ##
   2116 ## Output variables. ##
   2117 ## ----------------- ##"
   2118     echo
   2119     for ac_var in $ac_subst_vars
   2120     do
   2121       eval ac_val=\$$ac_var
   2122       case $ac_val in
   2123       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2124       esac
   2125       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2126     done | sort
   2127     echo
   2128 
   2129     if test -n "$ac_subst_files"; then
   2130       printf "%s\n" "## ------------------- ##
   2131 ## File substitutions. ##
   2132 ## ------------------- ##"
   2133       echo
   2134       for ac_var in $ac_subst_files
   2135       do
   2136 	eval ac_val=\$$ac_var
   2137 	case $ac_val in
   2138 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2139 	esac
   2140 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2141       done | sort
   2142       echo
   2143     fi
   2144 
   2145     if test -s confdefs.h; then
   2146       printf "%s\n" "## ----------- ##
   2147 ## confdefs.h. ##
   2148 ## ----------- ##"
   2149       echo
   2150       cat confdefs.h
   2151       echo
   2152     fi
   2153     test "$ac_signal" != 0 &&
   2154       printf "%s\n" "$as_me: caught signal $ac_signal"
   2155     printf "%s\n" "$as_me: exit $exit_status"
   2156   } >&5
   2157   rm -f core *.core core.conftest.* &&
   2158     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2159     exit $exit_status
   2160 ' 0
   2161 for ac_signal in 1 2 13 15; do
   2162   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2163 done
   2164 ac_signal=0
   2165 
   2166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2167 rm -f -r conftest* confdefs.h
   2168 
   2169 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2170 
   2171 # Predefined preprocessor variables.
   2172 
   2173 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2174 
   2175 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2176 
   2177 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2178 
   2179 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2180 
   2181 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2182 
   2183 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2184 
   2185 
   2186 # Let the site file select an alternate cache file if it wants to.
   2187 # Prefer an explicitly selected file to automatically selected ones.
   2188 if test -n "$CONFIG_SITE"; then
   2189   ac_site_files="$CONFIG_SITE"
   2190 elif test "x$prefix" != xNONE; then
   2191   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2192 else
   2193   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2194 fi
   2195 
   2196 for ac_site_file in $ac_site_files
   2197 do
   2198   case $ac_site_file in #(
   2199   */*) :
   2200      ;; #(
   2201   *) :
   2202     ac_site_file=./$ac_site_file ;;
   2203 esac
   2204   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2205     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2206 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2207     sed 's/^/| /' "$ac_site_file" >&5
   2208     . "$ac_site_file" \
   2209       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2210 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2211 as_fn_error $? "failed to load site script $ac_site_file
   2212 See \`config.log' for more details" "$LINENO" 5; }
   2213   fi
   2214 done
   2215 
   2216 if test -r "$cache_file"; then
   2217   # Some versions of bash will fail to source /dev/null (special files
   2218   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2219   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2220     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2221 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2222     case $cache_file in
   2223       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2224       *)                      . "./$cache_file";;
   2225     esac
   2226   fi
   2227 else
   2228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2229 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2230   >$cache_file
   2231 fi
   2232 
   2233 # Test code for whether the C compiler supports C89 (global declarations)
   2234 ac_c_conftest_c89_globals='
   2235 /* Does the compiler advertise C89 conformance?
   2236    Do not test the value of __STDC__, because some compilers set it to 0
   2237    while being otherwise adequately conformant. */
   2238 #if !defined __STDC__
   2239 # error "Compiler does not advertise C89 conformance"
   2240 #endif
   2241 
   2242 #include <stddef.h>
   2243 #include <stdarg.h>
   2244 struct stat;
   2245 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2246 struct buf { int x; };
   2247 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2248 static char *e (p, i)
   2249      char **p;
   2250      int i;
   2251 {
   2252   return p[i];
   2253 }
   2254 static char *f (char * (*g) (char **, int), char **p, ...)
   2255 {
   2256   char *s;
   2257   va_list v;
   2258   va_start (v,p);
   2259   s = g (p, va_arg (v,int));
   2260   va_end (v);
   2261   return s;
   2262 }
   2263 
   2264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2265    function prototypes and stuff, but not \xHH hex character constants.
   2266    These do not provoke an error unfortunately, instead are silently treated
   2267    as an "x".  The following induces an error, until -std is added to get
   2268    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2269    array size at least.  It is necessary to write \x00 == 0 to get something
   2270    that is true only with -std.  */
   2271 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2272 
   2273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2274    inside strings and character constants.  */
   2275 #define FOO(x) '\''x'\''
   2276 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2277 
   2278 int test (int i, double x);
   2279 struct s1 {int (*f) (int a);};
   2280 struct s2 {int (*f) (double a);};
   2281 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2282                int, int);'
   2283 
   2284 # Test code for whether the C compiler supports C89 (body of main).
   2285 ac_c_conftest_c89_main='
   2286 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2287 '
   2288 
   2289 # Test code for whether the C compiler supports C99 (global declarations)
   2290 ac_c_conftest_c99_globals='
   2291 // Does the compiler advertise C99 conformance?
   2292 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2293 # error "Compiler does not advertise C99 conformance"
   2294 #endif
   2295 
   2296 #include <stdbool.h>
   2297 extern int puts (const char *);
   2298 extern int printf (const char *, ...);
   2299 extern int dprintf (int, const char *, ...);
   2300 extern void *malloc (size_t);
   2301 
   2302 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2303 // dprintf is used instead of fprintf to avoid needing to declare
   2304 // FILE and stderr.
   2305 #define debug(...) dprintf (2, __VA_ARGS__)
   2306 #define showlist(...) puts (#__VA_ARGS__)
   2307 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2308 static void
   2309 test_varargs_macros (void)
   2310 {
   2311   int x = 1234;
   2312   int y = 5678;
   2313   debug ("Flag");
   2314   debug ("X = %d\n", x);
   2315   showlist (The first, second, and third items.);
   2316   report (x>y, "x is %d but y is %d", x, y);
   2317 }
   2318 
   2319 // Check long long types.
   2320 #define BIG64 18446744073709551615ull
   2321 #define BIG32 4294967295ul
   2322 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2323 #if !BIG_OK
   2324   #error "your preprocessor is broken"
   2325 #endif
   2326 #if BIG_OK
   2327 #else
   2328   #error "your preprocessor is broken"
   2329 #endif
   2330 static long long int bignum = -9223372036854775807LL;
   2331 static unsigned long long int ubignum = BIG64;
   2332 
   2333 struct incomplete_array
   2334 {
   2335   int datasize;
   2336   double data[];
   2337 };
   2338 
   2339 struct named_init {
   2340   int number;
   2341   const wchar_t *name;
   2342   double average;
   2343 };
   2344 
   2345 typedef const char *ccp;
   2346 
   2347 static inline int
   2348 test_restrict (ccp restrict text)
   2349 {
   2350   // See if C++-style comments work.
   2351   // Iterate through items via the restricted pointer.
   2352   // Also check for declarations in for loops.
   2353   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2354     continue;
   2355   return 0;
   2356 }
   2357 
   2358 // Check varargs and va_copy.
   2359 static bool
   2360 test_varargs (const char *format, ...)
   2361 {
   2362   va_list args;
   2363   va_start (args, format);
   2364   va_list args_copy;
   2365   va_copy (args_copy, args);
   2366 
   2367   const char *str = "";
   2368   int number = 0;
   2369   float fnumber = 0;
   2370 
   2371   while (*format)
   2372     {
   2373       switch (*format++)
   2374 	{
   2375 	case '\''s'\'': // string
   2376 	  str = va_arg (args_copy, const char *);
   2377 	  break;
   2378 	case '\''d'\'': // int
   2379 	  number = va_arg (args_copy, int);
   2380 	  break;
   2381 	case '\''f'\'': // float
   2382 	  fnumber = va_arg (args_copy, double);
   2383 	  break;
   2384 	default:
   2385 	  break;
   2386 	}
   2387     }
   2388   va_end (args_copy);
   2389   va_end (args);
   2390 
   2391   return *str && number && fnumber;
   2392 }
   2393 '
   2394 
   2395 # Test code for whether the C compiler supports C99 (body of main).
   2396 ac_c_conftest_c99_main='
   2397   // Check bool.
   2398   _Bool success = false;
   2399   success |= (argc != 0);
   2400 
   2401   // Check restrict.
   2402   if (test_restrict ("String literal") == 0)
   2403     success = true;
   2404   char *restrict newvar = "Another string";
   2405 
   2406   // Check varargs.
   2407   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2408   test_varargs_macros ();
   2409 
   2410   // Check flexible array members.
   2411   struct incomplete_array *ia =
   2412     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2413   ia->datasize = 10;
   2414   for (int i = 0; i < ia->datasize; ++i)
   2415     ia->data[i] = i * 1.234;
   2416 
   2417   // Check named initializers.
   2418   struct named_init ni = {
   2419     .number = 34,
   2420     .name = L"Test wide string",
   2421     .average = 543.34343,
   2422   };
   2423 
   2424   ni.number = 58;
   2425 
   2426   int dynamic_array[ni.number];
   2427   dynamic_array[0] = argv[0][0];
   2428   dynamic_array[ni.number - 1] = 543;
   2429 
   2430   // work around unused variable warnings
   2431   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2432 	 || dynamic_array[ni.number - 1] != 543);
   2433 '
   2434 
   2435 # Test code for whether the C compiler supports C11 (global declarations)
   2436 ac_c_conftest_c11_globals='
   2437 // Does the compiler advertise C11 conformance?
   2438 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2439 # error "Compiler does not advertise C11 conformance"
   2440 #endif
   2441 
   2442 // Check _Alignas.
   2443 char _Alignas (double) aligned_as_double;
   2444 char _Alignas (0) no_special_alignment;
   2445 extern char aligned_as_int;
   2446 char _Alignas (0) _Alignas (int) aligned_as_int;
   2447 
   2448 // Check _Alignof.
   2449 enum
   2450 {
   2451   int_alignment = _Alignof (int),
   2452   int_array_alignment = _Alignof (int[100]),
   2453   char_alignment = _Alignof (char)
   2454 };
   2455 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2456 
   2457 // Check _Noreturn.
   2458 int _Noreturn does_not_return (void) { for (;;) continue; }
   2459 
   2460 // Check _Static_assert.
   2461 struct test_static_assert
   2462 {
   2463   int x;
   2464   _Static_assert (sizeof (int) <= sizeof (long int),
   2465                   "_Static_assert does not work in struct");
   2466   long int y;
   2467 };
   2468 
   2469 // Check UTF-8 literals.
   2470 #define u8 syntax error!
   2471 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2472 
   2473 // Check duplicate typedefs.
   2474 typedef long *long_ptr;
   2475 typedef long int *long_ptr;
   2476 typedef long_ptr long_ptr;
   2477 
   2478 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2479 struct anonymous
   2480 {
   2481   union {
   2482     struct { int i; int j; };
   2483     struct { int k; long int l; } w;
   2484   };
   2485   int m;
   2486 } v1;
   2487 '
   2488 
   2489 # Test code for whether the C compiler supports C11 (body of main).
   2490 ac_c_conftest_c11_main='
   2491   _Static_assert ((offsetof (struct anonymous, i)
   2492 		   == offsetof (struct anonymous, w.k)),
   2493 		  "Anonymous union alignment botch");
   2494   v1.i = 2;
   2495   v1.w.k = 5;
   2496   ok |= v1.i != 5;
   2497 '
   2498 
   2499 # Test code for whether the C compiler supports C11 (complete).
   2500 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2501 ${ac_c_conftest_c99_globals}
   2502 ${ac_c_conftest_c11_globals}
   2503 
   2504 int
   2505 main (int argc, char **argv)
   2506 {
   2507   int ok = 0;
   2508   ${ac_c_conftest_c89_main}
   2509   ${ac_c_conftest_c99_main}
   2510   ${ac_c_conftest_c11_main}
   2511   return ok;
   2512 }
   2513 "
   2514 
   2515 # Test code for whether the C compiler supports C99 (complete).
   2516 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2517 ${ac_c_conftest_c99_globals}
   2518 
   2519 int
   2520 main (int argc, char **argv)
   2521 {
   2522   int ok = 0;
   2523   ${ac_c_conftest_c89_main}
   2524   ${ac_c_conftest_c99_main}
   2525   return ok;
   2526 }
   2527 "
   2528 
   2529 # Test code for whether the C compiler supports C89 (complete).
   2530 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2531 
   2532 int
   2533 main (int argc, char **argv)
   2534 {
   2535   int ok = 0;
   2536   ${ac_c_conftest_c89_main}
   2537   return ok;
   2538 }
   2539 "
   2540 
   2541 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2542 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2543 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2544 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2545 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2546 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2547 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2548 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2549 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2550 
   2551 # Auxiliary files required by this configure script.
   2552 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2553 
   2554 # Locations in which to look for auxiliary files.
   2555 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2556 
   2557 # Search for a directory containing all of the required auxiliary files,
   2558 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2559 # If we don't find one directory that contains all the files we need,
   2560 # we report the set of missing files from the *first* directory in
   2561 # $ac_aux_dir_candidates and give up.
   2562 ac_missing_aux_files=""
   2563 ac_first_candidate=:
   2564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2566 as_found=false
   2567 for as_dir in $ac_aux_dir_candidates
   2568 do
   2569   IFS=$as_save_IFS
   2570   case $as_dir in #(((
   2571     '') as_dir=./ ;;
   2572     */) ;;
   2573     *) as_dir=$as_dir/ ;;
   2574   esac
   2575   as_found=:
   2576 
   2577   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2578   ac_aux_dir_found=yes
   2579   ac_install_sh=
   2580   for ac_aux in $ac_aux_files
   2581   do
   2582     # As a special case, if "install-sh" is required, that requirement
   2583     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2584     # and $ac_install_sh is set appropriately for whichever one is found.
   2585     if test x"$ac_aux" = x"install-sh"
   2586     then
   2587       if test -f "${as_dir}install-sh"; then
   2588         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2589         ac_install_sh="${as_dir}install-sh -c"
   2590       elif test -f "${as_dir}install.sh"; then
   2591         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2592         ac_install_sh="${as_dir}install.sh -c"
   2593       elif test -f "${as_dir}shtool"; then
   2594         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2595         ac_install_sh="${as_dir}shtool install -c"
   2596       else
   2597         ac_aux_dir_found=no
   2598         if $ac_first_candidate; then
   2599           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2600         else
   2601           break
   2602         fi
   2603       fi
   2604     else
   2605       if test -f "${as_dir}${ac_aux}"; then
   2606         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2607       else
   2608         ac_aux_dir_found=no
   2609         if $ac_first_candidate; then
   2610           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2611         else
   2612           break
   2613         fi
   2614       fi
   2615     fi
   2616   done
   2617   if test "$ac_aux_dir_found" = yes; then
   2618     ac_aux_dir="$as_dir"
   2619     break
   2620   fi
   2621   ac_first_candidate=false
   2622 
   2623   as_found=false
   2624 done
   2625 IFS=$as_save_IFS
   2626 if $as_found
   2627 then :
   2628 
   2629 else $as_nop
   2630   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2631 fi
   2632 
   2633 
   2634 # These three variables are undocumented and unsupported,
   2635 # and are intended to be withdrawn in a future Autoconf release.
   2636 # They can cause serious problems if a builder's source tree is in a directory
   2637 # whose full name contains unusual characters.
   2638 if test -f "${ac_aux_dir}config.guess"; then
   2639   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2640 fi
   2641 if test -f "${ac_aux_dir}config.sub"; then
   2642   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2643 fi
   2644 if test -f "$ac_aux_dir/configure"; then
   2645   ac_configure="$SHELL ${ac_aux_dir}configure"
   2646 fi
   2647 
   2648 # Check that the precious variables saved in the cache have kept the same
   2649 # value.
   2650 ac_cache_corrupted=false
   2651 for ac_var in $ac_precious_vars; do
   2652   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2653   eval ac_new_set=\$ac_env_${ac_var}_set
   2654   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2655   eval ac_new_val=\$ac_env_${ac_var}_value
   2656   case $ac_old_set,$ac_new_set in
   2657     set,)
   2658       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2659 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2660       ac_cache_corrupted=: ;;
   2661     ,set)
   2662       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2663 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2664       ac_cache_corrupted=: ;;
   2665     ,);;
   2666     *)
   2667       if test "x$ac_old_val" != "x$ac_new_val"; then
   2668 	# differences in whitespace do not lead to failure.
   2669 	ac_old_val_w=`echo x $ac_old_val`
   2670 	ac_new_val_w=`echo x $ac_new_val`
   2671 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2672 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2673 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2674 	  ac_cache_corrupted=:
   2675 	else
   2676 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2677 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2678 	  eval $ac_var=\$ac_old_val
   2679 	fi
   2680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2681 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2683 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2684       fi;;
   2685   esac
   2686   # Pass precious variables to config.status.
   2687   if test "$ac_new_set" = set; then
   2688     case $ac_new_val in
   2689     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2690     *) ac_arg=$ac_var=$ac_new_val ;;
   2691     esac
   2692     case " $ac_configure_args " in
   2693       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2694       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2695     esac
   2696   fi
   2697 done
   2698 if $ac_cache_corrupted; then
   2699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2700 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2702 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2703   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2704 	    and start over" "$LINENO" 5
   2705 fi
   2706 ## -------------------- ##
   2707 ## Main body of script. ##
   2708 ## -------------------- ##
   2709 
   2710 ac_ext=c
   2711 ac_cpp='$CPP $CPPFLAGS'
   2712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2715 
   2716 
   2717 
   2718 ac_config_headers="$ac_config_headers config.h"
   2719 
   2720 
   2721 # Initialize Automake
   2722 am__api_version='1.16'
   2723 
   2724 
   2725 
   2726   # Find a good install program.  We prefer a C program (faster),
   2727 # so one script is as good as another.  But avoid the broken or
   2728 # incompatible versions:
   2729 # SysV /etc/install, /usr/sbin/install
   2730 # SunOS /usr/etc/install
   2731 # IRIX /sbin/install
   2732 # AIX /bin/install
   2733 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2737 # OS/2's system install, which has a completely different semantic
   2738 # ./install, which can be erroneously created by make from ./install.sh.
   2739 # Reject install programs that cannot install multiple files.
   2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2741 printf %s "checking for a BSD-compatible install... " >&6; }
   2742 if test -z "$INSTALL"; then
   2743 if test ${ac_cv_path_install+y}
   2744 then :
   2745   printf %s "(cached) " >&6
   2746 else $as_nop
   2747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2748 for as_dir in $PATH
   2749 do
   2750   IFS=$as_save_IFS
   2751   case $as_dir in #(((
   2752     '') as_dir=./ ;;
   2753     */) ;;
   2754     *) as_dir=$as_dir/ ;;
   2755   esac
   2756     # Account for fact that we put trailing slashes in our PATH walk.
   2757 case $as_dir in #((
   2758   ./ | /[cC]/* | \
   2759   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2760   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2761   /usr/ucb/* ) ;;
   2762   *)
   2763     # OSF1 and SCO ODT 3.0 have their own names for install.
   2764     # Don't use installbsd from OSF since it installs stuff as root
   2765     # by default.
   2766     for ac_prog in ginstall scoinst install; do
   2767       for ac_exec_ext in '' $ac_executable_extensions; do
   2768 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2769 	  if test $ac_prog = install &&
   2770 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2771 	    # AIX install.  It has an incompatible calling convention.
   2772 	    :
   2773 	  elif test $ac_prog = install &&
   2774 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2775 	    # program-specific install script used by HP pwplus--don't use.
   2776 	    :
   2777 	  else
   2778 	    rm -rf conftest.one conftest.two conftest.dir
   2779 	    echo one > conftest.one
   2780 	    echo two > conftest.two
   2781 	    mkdir conftest.dir
   2782 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2783 	      test -s conftest.one && test -s conftest.two &&
   2784 	      test -s conftest.dir/conftest.one &&
   2785 	      test -s conftest.dir/conftest.two
   2786 	    then
   2787 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2788 	      break 3
   2789 	    fi
   2790 	  fi
   2791 	fi
   2792       done
   2793     done
   2794     ;;
   2795 esac
   2796 
   2797   done
   2798 IFS=$as_save_IFS
   2799 
   2800 rm -rf conftest.one conftest.two conftest.dir
   2801 
   2802 fi
   2803   if test ${ac_cv_path_install+y}; then
   2804     INSTALL=$ac_cv_path_install
   2805   else
   2806     # As a last resort, use the slow shell script.  Don't cache a
   2807     # value for INSTALL within a source directory, because that will
   2808     # break other packages using the cache if that directory is
   2809     # removed, or if the value is a relative name.
   2810     INSTALL=$ac_install_sh
   2811   fi
   2812 fi
   2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2814 printf "%s\n" "$INSTALL" >&6; }
   2815 
   2816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2817 # It thinks the first close brace ends the variable substitution.
   2818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2819 
   2820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2821 
   2822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2823 
   2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2825 printf %s "checking whether build environment is sane... " >&6; }
   2826 # Reject unsafe characters in $srcdir or the absolute working directory
   2827 # name.  Accept space and tab only in the latter.
   2828 am_lf='
   2829 '
   2830 case `pwd` in
   2831   *[\\\"\#\$\&\'\`$am_lf]*)
   2832     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2833 esac
   2834 case $srcdir in
   2835   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2836     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2837 esac
   2838 
   2839 # Do 'set' in a subshell so we don't clobber the current shell's
   2840 # arguments.  Must try -L first in case configure is actually a
   2841 # symlink; some systems play weird games with the mod time of symlinks
   2842 # (eg FreeBSD returns the mod time of the symlink's containing
   2843 # directory).
   2844 if (
   2845    am_has_slept=no
   2846    for am_try in 1 2; do
   2847      echo "timestamp, slept: $am_has_slept" > conftest.file
   2848      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2849      if test "$*" = "X"; then
   2850 	# -L didn't work.
   2851 	set X `ls -t "$srcdir/configure" conftest.file`
   2852      fi
   2853      if test "$*" != "X $srcdir/configure conftest.file" \
   2854 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2855 
   2856 	# If neither matched, then we have a broken ls.  This can happen
   2857 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2858 	# broken ls alias from the environment.  This has actually
   2859 	# happened.  Such a system could not be considered "sane".
   2860 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2861   alias in your environment" "$LINENO" 5
   2862      fi
   2863      if test "$2" = conftest.file || test $am_try -eq 2; then
   2864        break
   2865      fi
   2866      # Just in case.
   2867      sleep 1
   2868      am_has_slept=yes
   2869    done
   2870    test "$2" = conftest.file
   2871    )
   2872 then
   2873    # Ok.
   2874    :
   2875 else
   2876    as_fn_error $? "newly created file is older than distributed files!
   2877 Check your system clock" "$LINENO" 5
   2878 fi
   2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2880 printf "%s\n" "yes" >&6; }
   2881 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2882 # generated files are strictly newer.
   2883 am_sleep_pid=
   2884 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2885   ( sleep 1 ) &
   2886   am_sleep_pid=$!
   2887 fi
   2888 
   2889 rm -f conftest.file
   2890 
   2891 test "$program_prefix" != NONE &&
   2892   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2893 # Use a double $ so make ignores it.
   2894 test "$program_suffix" != NONE &&
   2895   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2896 # Double any \ or $.
   2897 # By default was `s,x,x', remove it if useless.
   2898 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2899 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2900 
   2901 
   2902 # Expand $ac_aux_dir to an absolute path.
   2903 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2904 
   2905 
   2906   if test x"${MISSING+set}" != xset; then
   2907   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2908 fi
   2909 # Use eval to expand $SHELL
   2910 if eval "$MISSING --is-lightweight"; then
   2911   am_missing_run="$MISSING "
   2912 else
   2913   am_missing_run=
   2914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2915 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2916 fi
   2917 
   2918 if test x"${install_sh+set}" != xset; then
   2919   case $am_aux_dir in
   2920   *\ * | *\	*)
   2921     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2922   *)
   2923     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2924   esac
   2925 fi
   2926 
   2927 # Installed binaries are usually stripped using 'strip' when the user
   2928 # run "make install-strip".  However 'strip' might not be the right
   2929 # tool to use in cross-compilation environments, therefore Automake
   2930 # will honor the 'STRIP' environment variable to overrule this program.
   2931 if test "$cross_compiling" != no; then
   2932   if test -n "$ac_tool_prefix"; then
   2933   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2934 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2936 printf %s "checking for $ac_word... " >&6; }
   2937 if test ${ac_cv_prog_STRIP+y}
   2938 then :
   2939   printf %s "(cached) " >&6
   2940 else $as_nop
   2941   if test -n "$STRIP"; then
   2942   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2943 else
   2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2945 for as_dir in $PATH
   2946 do
   2947   IFS=$as_save_IFS
   2948   case $as_dir in #(((
   2949     '') as_dir=./ ;;
   2950     */) ;;
   2951     *) as_dir=$as_dir/ ;;
   2952   esac
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2955     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2956     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960   done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 STRIP=$ac_cv_prog_STRIP
   2966 if test -n "$STRIP"; then
   2967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2968 printf "%s\n" "$STRIP" >&6; }
   2969 else
   2970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 printf "%s\n" "no" >&6; }
   2972 fi
   2973 
   2974 
   2975 fi
   2976 if test -z "$ac_cv_prog_STRIP"; then
   2977   ac_ct_STRIP=$STRIP
   2978   # Extract the first word of "strip", so it can be a program name with args.
   2979 set dummy strip; ac_word=$2
   2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2981 printf %s "checking for $ac_word... " >&6; }
   2982 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2983 then :
   2984   printf %s "(cached) " >&6
   2985 else $as_nop
   2986   if test -n "$ac_ct_STRIP"; then
   2987   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2988 else
   2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2990 for as_dir in $PATH
   2991 do
   2992   IFS=$as_save_IFS
   2993   case $as_dir in #(((
   2994     '') as_dir=./ ;;
   2995     */) ;;
   2996     *) as_dir=$as_dir/ ;;
   2997   esac
   2998     for ac_exec_ext in '' $ac_executable_extensions; do
   2999   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3000     ac_cv_prog_ac_ct_STRIP="strip"
   3001     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3002     break 2
   3003   fi
   3004 done
   3005   done
   3006 IFS=$as_save_IFS
   3007 
   3008 fi
   3009 fi
   3010 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3011 if test -n "$ac_ct_STRIP"; then
   3012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3013 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3014 else
   3015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3016 printf "%s\n" "no" >&6; }
   3017 fi
   3018 
   3019   if test "x$ac_ct_STRIP" = x; then
   3020     STRIP=":"
   3021   else
   3022     case $cross_compiling:$ac_tool_warned in
   3023 yes:)
   3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3025 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3026 ac_tool_warned=yes ;;
   3027 esac
   3028     STRIP=$ac_ct_STRIP
   3029   fi
   3030 else
   3031   STRIP="$ac_cv_prog_STRIP"
   3032 fi
   3033 
   3034 fi
   3035 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3036 
   3037 
   3038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3039 printf %s "checking for a race-free mkdir -p... " >&6; }
   3040 if test -z "$MKDIR_P"; then
   3041   if test ${ac_cv_path_mkdir+y}
   3042 then :
   3043   printf %s "(cached) " >&6
   3044 else $as_nop
   3045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3047 do
   3048   IFS=$as_save_IFS
   3049   case $as_dir in #(((
   3050     '') as_dir=./ ;;
   3051     */) ;;
   3052     *) as_dir=$as_dir/ ;;
   3053   esac
   3054     for ac_prog in mkdir gmkdir; do
   3055 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3056 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3057 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3058 	     'mkdir ('*'coreutils) '* | \
   3059 	     'BusyBox '* | \
   3060 	     'mkdir (fileutils) '4.1*)
   3061 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3062 	       break 3;;
   3063 	   esac
   3064 	 done
   3065        done
   3066   done
   3067 IFS=$as_save_IFS
   3068 
   3069 fi
   3070 
   3071   test -d ./--version && rmdir ./--version
   3072   if test ${ac_cv_path_mkdir+y}; then
   3073     MKDIR_P="$ac_cv_path_mkdir -p"
   3074   else
   3075     # As a last resort, use the slow shell script.  Don't cache a
   3076     # value for MKDIR_P within a source directory, because that will
   3077     # break other packages using the cache if that directory is
   3078     # removed, or if the value is a relative name.
   3079     MKDIR_P="$ac_install_sh -d"
   3080   fi
   3081 fi
   3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3083 printf "%s\n" "$MKDIR_P" >&6; }
   3084 
   3085 for ac_prog in gawk mawk nawk awk
   3086 do
   3087   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3088 set dummy $ac_prog; ac_word=$2
   3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3090 printf %s "checking for $ac_word... " >&6; }
   3091 if test ${ac_cv_prog_AWK+y}
   3092 then :
   3093   printf %s "(cached) " >&6
   3094 else $as_nop
   3095   if test -n "$AWK"; then
   3096   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3097 else
   3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3099 for as_dir in $PATH
   3100 do
   3101   IFS=$as_save_IFS
   3102   case $as_dir in #(((
   3103     '') as_dir=./ ;;
   3104     */) ;;
   3105     *) as_dir=$as_dir/ ;;
   3106   esac
   3107     for ac_exec_ext in '' $ac_executable_extensions; do
   3108   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3109     ac_cv_prog_AWK="$ac_prog"
   3110     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3111     break 2
   3112   fi
   3113 done
   3114   done
   3115 IFS=$as_save_IFS
   3116 
   3117 fi
   3118 fi
   3119 AWK=$ac_cv_prog_AWK
   3120 if test -n "$AWK"; then
   3121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3122 printf "%s\n" "$AWK" >&6; }
   3123 else
   3124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3125 printf "%s\n" "no" >&6; }
   3126 fi
   3127 
   3128 
   3129   test -n "$AWK" && break
   3130 done
   3131 
   3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3133 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3134 set x ${MAKE-make}
   3135 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3136 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3137 then :
   3138   printf %s "(cached) " >&6
   3139 else $as_nop
   3140   cat >conftest.make <<\_ACEOF
   3141 SHELL = /bin/sh
   3142 all:
   3143 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3144 _ACEOF
   3145 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3146 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3147   *@@@%%%=?*=@@@%%%*)
   3148     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3149   *)
   3150     eval ac_cv_prog_make_${ac_make}_set=no;;
   3151 esac
   3152 rm -f conftest.make
   3153 fi
   3154 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3156 printf "%s\n" "yes" >&6; }
   3157   SET_MAKE=
   3158 else
   3159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 printf "%s\n" "no" >&6; }
   3161   SET_MAKE="MAKE=${MAKE-make}"
   3162 fi
   3163 
   3164 rm -rf .tst 2>/dev/null
   3165 mkdir .tst 2>/dev/null
   3166 if test -d .tst; then
   3167   am__leading_dot=.
   3168 else
   3169   am__leading_dot=_
   3170 fi
   3171 rmdir .tst 2>/dev/null
   3172 
   3173 # Check whether --enable-silent-rules was given.
   3174 if test ${enable_silent_rules+y}
   3175 then :
   3176   enableval=$enable_silent_rules;
   3177 fi
   3178 
   3179 case $enable_silent_rules in # (((
   3180   yes) AM_DEFAULT_VERBOSITY=0;;
   3181    no) AM_DEFAULT_VERBOSITY=1;;
   3182     *) AM_DEFAULT_VERBOSITY=1;;
   3183 esac
   3184 am_make=${MAKE-make}
   3185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3186 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3187 if test ${am_cv_make_support_nested_variables+y}
   3188 then :
   3189   printf %s "(cached) " >&6
   3190 else $as_nop
   3191   if printf "%s\n" 'TRUE=$(BAR$(V))
   3192 BAR0=false
   3193 BAR1=true
   3194 V=1
   3195 am__doit:
   3196 	@$(TRUE)
   3197 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3198   am_cv_make_support_nested_variables=yes
   3199 else
   3200   am_cv_make_support_nested_variables=no
   3201 fi
   3202 fi
   3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3204 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3205 if test $am_cv_make_support_nested_variables = yes; then
   3206     AM_V='$(V)'
   3207   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3208 else
   3209   AM_V=$AM_DEFAULT_VERBOSITY
   3210   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3211 fi
   3212 AM_BACKSLASH='\'
   3213 
   3214 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3215   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3216   # is not polluted with repeated "-I."
   3217   am__isrc=' -I$(srcdir)'
   3218   # test to see if srcdir already configured
   3219   if test -f $srcdir/config.status; then
   3220     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3221   fi
   3222 fi
   3223 
   3224 # test whether we have cygpath
   3225 if test -z "$CYGPATH_W"; then
   3226   if (cygpath --version) >/dev/null 2>/dev/null; then
   3227     CYGPATH_W='cygpath -w'
   3228   else
   3229     CYGPATH_W=echo
   3230   fi
   3231 fi
   3232 
   3233 
   3234 # Define the identity of the package.
   3235  PACKAGE='libXtst'
   3236  VERSION='1.2.4'
   3237 
   3238 
   3239 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3240 
   3241 
   3242 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3243 
   3244 # Some tools Automake needs.
   3245 
   3246 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3247 
   3248 
   3249 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3250 
   3251 
   3252 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3253 
   3254 
   3255 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3256 
   3257 
   3258 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3259 
   3260 # For better backward compatibility.  To be removed once Automake 1.9.x
   3261 # dies out for good.  For more background, see:
   3262 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3263 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3264 mkdir_p='$(MKDIR_P)'
   3265 
   3266 # We need awk for the "check" target (and possibly the TAP driver).  The
   3267 # system "awk" is bad on some platforms.
   3268 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3269 # in the wild :-(  We should find a proper way to deprecate it ...
   3270 AMTAR='$${TAR-tar}'
   3271 
   3272 
   3273 # We'll loop over all known methods to create a tar archive until one works.
   3274 _am_tools='gnutar  pax cpio none'
   3275 
   3276 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3277 
   3278 
   3279 
   3280 
   3281 
   3282 # Variables for tags utilities; see am/tags.am
   3283 if test -z "$CTAGS"; then
   3284   CTAGS=ctags
   3285 fi
   3286 
   3287 if test -z "$ETAGS"; then
   3288   ETAGS=etags
   3289 fi
   3290 
   3291 if test -z "$CSCOPE"; then
   3292   CSCOPE=cscope
   3293 fi
   3294 
   3295 
   3296 
   3297 # POSIX will say in a future version that running "rm -f" with no argument
   3298 # is OK; and we want to be able to make that assumption in our Makefile
   3299 # recipes.  So use an aggressive probe to check that the usage we want is
   3300 # actually supported "in the wild" to an acceptable degree.
   3301 # See automake bug#10828.
   3302 # To make any issue more visible, cause the running configure to be aborted
   3303 # by default if the 'rm' program in use doesn't match our expectations; the
   3304 # user can still override this though.
   3305 if rm -f && rm -fr && rm -rf; then : OK; else
   3306   cat >&2 <<'END'
   3307 Oops!
   3308 
   3309 Your 'rm' program seems unable to run without file operands specified
   3310 on the command line, even when the '-f' option is present.  This is contrary
   3311 to the behaviour of most rm programs out there, and not conforming with
   3312 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3313 
   3314 Please tell bug-automake@gnu.org about your system, including the value
   3315 of your $PATH and any error possibly output before this message.  This
   3316 can help us improve future automake versions.
   3317 
   3318 END
   3319   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3320     echo 'Configuration will proceed anyway, since you have set the' >&2
   3321     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3322     echo >&2
   3323   else
   3324     cat >&2 <<'END'
   3325 Aborting the configuration process, to ensure you take notice of the issue.
   3326 
   3327 You can download and install GNU coreutils to get an 'rm' implementation
   3328 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3329 
   3330 If you want to complete the configuration process using your problematic
   3331 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3332 to "yes", and re-run configure.
   3333 
   3334 END
   3335     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3336   fi
   3337 fi
   3338 
   3339 
   3340 # Initialize libtool
   3341 case `pwd` in
   3342   *\ * | *\	*)
   3343     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3344 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3345 esac
   3346 
   3347 
   3348 
   3349 macro_version='2.4.7'
   3350 macro_revision='2.4.7'
   3351 
   3352 
   3353 
   3354 
   3355 
   3356 
   3357 
   3358 
   3359 
   3360 
   3361 
   3362 
   3363 
   3364 
   3365 ltmain=$ac_aux_dir/ltmain.sh
   3366 
   3367 
   3368 
   3369   # Make sure we can run config.sub.
   3370 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3371   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3372 
   3373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3374 printf %s "checking build system type... " >&6; }
   3375 if test ${ac_cv_build+y}
   3376 then :
   3377   printf %s "(cached) " >&6
   3378 else $as_nop
   3379   ac_build_alias=$build_alias
   3380 test "x$ac_build_alias" = x &&
   3381   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3382 test "x$ac_build_alias" = x &&
   3383   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3384 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3385   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3386 
   3387 fi
   3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3389 printf "%s\n" "$ac_cv_build" >&6; }
   3390 case $ac_cv_build in
   3391 *-*-*) ;;
   3392 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3393 esac
   3394 build=$ac_cv_build
   3395 ac_save_IFS=$IFS; IFS='-'
   3396 set x $ac_cv_build
   3397 shift
   3398 build_cpu=$1
   3399 build_vendor=$2
   3400 shift; shift
   3401 # Remember, the first character of IFS is used to create $*,
   3402 # except with old shells:
   3403 build_os=$*
   3404 IFS=$ac_save_IFS
   3405 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3406 
   3407 
   3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3409 printf %s "checking host system type... " >&6; }
   3410 if test ${ac_cv_host+y}
   3411 then :
   3412   printf %s "(cached) " >&6
   3413 else $as_nop
   3414   if test "x$host_alias" = x; then
   3415   ac_cv_host=$ac_cv_build
   3416 else
   3417   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3418     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3419 fi
   3420 
   3421 fi
   3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3423 printf "%s\n" "$ac_cv_host" >&6; }
   3424 case $ac_cv_host in
   3425 *-*-*) ;;
   3426 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3427 esac
   3428 host=$ac_cv_host
   3429 ac_save_IFS=$IFS; IFS='-'
   3430 set x $ac_cv_host
   3431 shift
   3432 host_cpu=$1
   3433 host_vendor=$2
   3434 shift; shift
   3435 # Remember, the first character of IFS is used to create $*,
   3436 # except with old shells:
   3437 host_os=$*
   3438 IFS=$ac_save_IFS
   3439 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3440 
   3441 
   3442 # Backslashify metacharacters that are still active within
   3443 # double-quoted strings.
   3444 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3445 
   3446 # Same as above, but do not quote variable references.
   3447 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3448 
   3449 # Sed substitution to delay expansion of an escaped shell variable in a
   3450 # double_quote_subst'ed string.
   3451 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3452 
   3453 # Sed substitution to delay expansion of an escaped single quote.
   3454 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3455 
   3456 # Sed substitution to avoid accidental globbing in evaled expressions
   3457 no_glob_subst='s/\*/\\\*/g'
   3458 
   3459 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3460 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3461 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3462 
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3464 printf %s "checking how to print strings... " >&6; }
   3465 # Test print first, because it will be a builtin if present.
   3466 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3467    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3468   ECHO='print -r --'
   3469 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3470   ECHO='printf %s\n'
   3471 else
   3472   # Use this function as a fallback that always works.
   3473   func_fallback_echo ()
   3474   {
   3475     eval 'cat <<_LTECHO_EOF
   3476 $1
   3477 _LTECHO_EOF'
   3478   }
   3479   ECHO='func_fallback_echo'
   3480 fi
   3481 
   3482 # func_echo_all arg...
   3483 # Invoke $ECHO with all args, space-separated.
   3484 func_echo_all ()
   3485 {
   3486     $ECHO ""
   3487 }
   3488 
   3489 case $ECHO in
   3490   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3491 printf "%s\n" "printf" >&6; } ;;
   3492   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3493 printf "%s\n" "print -r" >&6; } ;;
   3494   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3495 printf "%s\n" "cat" >&6; } ;;
   3496 esac
   3497 
   3498 
   3499 
   3500 
   3501 
   3502 
   3503 
   3504 
   3505 
   3506 
   3507 
   3508 
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 DEPDIR="${am__leading_dot}deps"
   3521 
   3522 ac_config_commands="$ac_config_commands depfiles"
   3523 
   3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3525 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3526 cat > confinc.mk << 'END'
   3527 am__doit:
   3528 	@echo this is the am__doit target >confinc.out
   3529 .PHONY: am__doit
   3530 END
   3531 am__include="#"
   3532 am__quote=
   3533 # BSD make does it like this.
   3534 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3535 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3536 echo 'include confinc.mk # ignored' > confmf.GNU
   3537 _am_result=no
   3538 for s in GNU BSD; do
   3539   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3540    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3541    ac_status=$?
   3542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3543    (exit $ac_status); }
   3544   case $?:`cat confinc.out 2>/dev/null` in #(
   3545   '0:this is the am__doit target') :
   3546     case $s in #(
   3547   BSD) :
   3548     am__include='.include' am__quote='"' ;; #(
   3549   *) :
   3550     am__include='include' am__quote='' ;;
   3551 esac ;; #(
   3552   *) :
   3553      ;;
   3554 esac
   3555   if test "$am__include" != "#"; then
   3556     _am_result="yes ($s style)"
   3557     break
   3558   fi
   3559 done
   3560 rm -f confinc.* confmf.*
   3561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3562 printf "%s\n" "${_am_result}" >&6; }
   3563 
   3564 # Check whether --enable-dependency-tracking was given.
   3565 if test ${enable_dependency_tracking+y}
   3566 then :
   3567   enableval=$enable_dependency_tracking;
   3568 fi
   3569 
   3570 if test "x$enable_dependency_tracking" != xno; then
   3571   am_depcomp="$ac_aux_dir/depcomp"
   3572   AMDEPBACKSLASH='\'
   3573   am__nodep='_no'
   3574 fi
   3575  if test "x$enable_dependency_tracking" != xno; then
   3576   AMDEP_TRUE=
   3577   AMDEP_FALSE='#'
   3578 else
   3579   AMDEP_TRUE='#'
   3580   AMDEP_FALSE=
   3581 fi
   3582 
   3583 
   3584 ac_ext=c
   3585 ac_cpp='$CPP $CPPFLAGS'
   3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3589 if test -n "$ac_tool_prefix"; then
   3590   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3593 printf %s "checking for $ac_word... " >&6; }
   3594 if test ${ac_cv_prog_CC+y}
   3595 then :
   3596   printf %s "(cached) " >&6
   3597 else $as_nop
   3598   if test -n "$CC"; then
   3599   ac_cv_prog_CC="$CC" # Let the user override the test.
   3600 else
   3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3602 for as_dir in $PATH
   3603 do
   3604   IFS=$as_save_IFS
   3605   case $as_dir in #(((
   3606     '') as_dir=./ ;;
   3607     */) ;;
   3608     *) as_dir=$as_dir/ ;;
   3609   esac
   3610     for ac_exec_ext in '' $ac_executable_extensions; do
   3611   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3612     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3613     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3614     break 2
   3615   fi
   3616 done
   3617   done
   3618 IFS=$as_save_IFS
   3619 
   3620 fi
   3621 fi
   3622 CC=$ac_cv_prog_CC
   3623 if test -n "$CC"; then
   3624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3625 printf "%s\n" "$CC" >&6; }
   3626 else
   3627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3628 printf "%s\n" "no" >&6; }
   3629 fi
   3630 
   3631 
   3632 fi
   3633 if test -z "$ac_cv_prog_CC"; then
   3634   ac_ct_CC=$CC
   3635   # Extract the first word of "gcc", so it can be a program name with args.
   3636 set dummy gcc; ac_word=$2
   3637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3638 printf %s "checking for $ac_word... " >&6; }
   3639 if test ${ac_cv_prog_ac_ct_CC+y}
   3640 then :
   3641   printf %s "(cached) " >&6
   3642 else $as_nop
   3643   if test -n "$ac_ct_CC"; then
   3644   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3645 else
   3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3647 for as_dir in $PATH
   3648 do
   3649   IFS=$as_save_IFS
   3650   case $as_dir in #(((
   3651     '') as_dir=./ ;;
   3652     */) ;;
   3653     *) as_dir=$as_dir/ ;;
   3654   esac
   3655     for ac_exec_ext in '' $ac_executable_extensions; do
   3656   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3657     ac_cv_prog_ac_ct_CC="gcc"
   3658     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3659     break 2
   3660   fi
   3661 done
   3662   done
   3663 IFS=$as_save_IFS
   3664 
   3665 fi
   3666 fi
   3667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3668 if test -n "$ac_ct_CC"; then
   3669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3670 printf "%s\n" "$ac_ct_CC" >&6; }
   3671 else
   3672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3673 printf "%s\n" "no" >&6; }
   3674 fi
   3675 
   3676   if test "x$ac_ct_CC" = x; then
   3677     CC=""
   3678   else
   3679     case $cross_compiling:$ac_tool_warned in
   3680 yes:)
   3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3682 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3683 ac_tool_warned=yes ;;
   3684 esac
   3685     CC=$ac_ct_CC
   3686   fi
   3687 else
   3688   CC="$ac_cv_prog_CC"
   3689 fi
   3690 
   3691 if test -z "$CC"; then
   3692           if test -n "$ac_tool_prefix"; then
   3693     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3694 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3696 printf %s "checking for $ac_word... " >&6; }
   3697 if test ${ac_cv_prog_CC+y}
   3698 then :
   3699   printf %s "(cached) " >&6
   3700 else $as_nop
   3701   if test -n "$CC"; then
   3702   ac_cv_prog_CC="$CC" # Let the user override the test.
   3703 else
   3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3705 for as_dir in $PATH
   3706 do
   3707   IFS=$as_save_IFS
   3708   case $as_dir in #(((
   3709     '') as_dir=./ ;;
   3710     */) ;;
   3711     *) as_dir=$as_dir/ ;;
   3712   esac
   3713     for ac_exec_ext in '' $ac_executable_extensions; do
   3714   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3715     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3716     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3717     break 2
   3718   fi
   3719 done
   3720   done
   3721 IFS=$as_save_IFS
   3722 
   3723 fi
   3724 fi
   3725 CC=$ac_cv_prog_CC
   3726 if test -n "$CC"; then
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3728 printf "%s\n" "$CC" >&6; }
   3729 else
   3730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3731 printf "%s\n" "no" >&6; }
   3732 fi
   3733 
   3734 
   3735   fi
   3736 fi
   3737 if test -z "$CC"; then
   3738   # Extract the first word of "cc", so it can be a program name with args.
   3739 set dummy cc; ac_word=$2
   3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3741 printf %s "checking for $ac_word... " >&6; }
   3742 if test ${ac_cv_prog_CC+y}
   3743 then :
   3744   printf %s "(cached) " >&6
   3745 else $as_nop
   3746   if test -n "$CC"; then
   3747   ac_cv_prog_CC="$CC" # Let the user override the test.
   3748 else
   3749   ac_prog_rejected=no
   3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH
   3752 do
   3753   IFS=$as_save_IFS
   3754   case $as_dir in #(((
   3755     '') as_dir=./ ;;
   3756     */) ;;
   3757     *) as_dir=$as_dir/ ;;
   3758   esac
   3759     for ac_exec_ext in '' $ac_executable_extensions; do
   3760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3761     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3762        ac_prog_rejected=yes
   3763        continue
   3764      fi
   3765     ac_cv_prog_CC="cc"
   3766     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3767     break 2
   3768   fi
   3769 done
   3770   done
   3771 IFS=$as_save_IFS
   3772 
   3773 if test $ac_prog_rejected = yes; then
   3774   # We found a bogon in the path, so make sure we never use it.
   3775   set dummy $ac_cv_prog_CC
   3776   shift
   3777   if test $# != 0; then
   3778     # We chose a different compiler from the bogus one.
   3779     # However, it has the same basename, so the bogon will be chosen
   3780     # first if we set CC to just the basename; use the full file name.
   3781     shift
   3782     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3783   fi
   3784 fi
   3785 fi
   3786 fi
   3787 CC=$ac_cv_prog_CC
   3788 if test -n "$CC"; then
   3789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3790 printf "%s\n" "$CC" >&6; }
   3791 else
   3792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 printf "%s\n" "no" >&6; }
   3794 fi
   3795 
   3796 
   3797 fi
   3798 if test -z "$CC"; then
   3799   if test -n "$ac_tool_prefix"; then
   3800   for ac_prog in cl.exe
   3801   do
   3802     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3805 printf %s "checking for $ac_word... " >&6; }
   3806 if test ${ac_cv_prog_CC+y}
   3807 then :
   3808   printf %s "(cached) " >&6
   3809 else $as_nop
   3810   if test -n "$CC"; then
   3811   ac_cv_prog_CC="$CC" # Let the user override the test.
   3812 else
   3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3814 for as_dir in $PATH
   3815 do
   3816   IFS=$as_save_IFS
   3817   case $as_dir in #(((
   3818     '') as_dir=./ ;;
   3819     */) ;;
   3820     *) as_dir=$as_dir/ ;;
   3821   esac
   3822     for ac_exec_ext in '' $ac_executable_extensions; do
   3823   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3824     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3825     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3826     break 2
   3827   fi
   3828 done
   3829   done
   3830 IFS=$as_save_IFS
   3831 
   3832 fi
   3833 fi
   3834 CC=$ac_cv_prog_CC
   3835 if test -n "$CC"; then
   3836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3837 printf "%s\n" "$CC" >&6; }
   3838 else
   3839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3840 printf "%s\n" "no" >&6; }
   3841 fi
   3842 
   3843 
   3844     test -n "$CC" && break
   3845   done
   3846 fi
   3847 if test -z "$CC"; then
   3848   ac_ct_CC=$CC
   3849   for ac_prog in cl.exe
   3850 do
   3851   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3852 set dummy $ac_prog; ac_word=$2
   3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3854 printf %s "checking for $ac_word... " >&6; }
   3855 if test ${ac_cv_prog_ac_ct_CC+y}
   3856 then :
   3857   printf %s "(cached) " >&6
   3858 else $as_nop
   3859   if test -n "$ac_ct_CC"; then
   3860   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3861 else
   3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3863 for as_dir in $PATH
   3864 do
   3865   IFS=$as_save_IFS
   3866   case $as_dir in #(((
   3867     '') as_dir=./ ;;
   3868     */) ;;
   3869     *) as_dir=$as_dir/ ;;
   3870   esac
   3871     for ac_exec_ext in '' $ac_executable_extensions; do
   3872   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3873     ac_cv_prog_ac_ct_CC="$ac_prog"
   3874     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3875     break 2
   3876   fi
   3877 done
   3878   done
   3879 IFS=$as_save_IFS
   3880 
   3881 fi
   3882 fi
   3883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3884 if test -n "$ac_ct_CC"; then
   3885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3886 printf "%s\n" "$ac_ct_CC" >&6; }
   3887 else
   3888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3889 printf "%s\n" "no" >&6; }
   3890 fi
   3891 
   3892 
   3893   test -n "$ac_ct_CC" && break
   3894 done
   3895 
   3896   if test "x$ac_ct_CC" = x; then
   3897     CC=""
   3898   else
   3899     case $cross_compiling:$ac_tool_warned in
   3900 yes:)
   3901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3902 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3903 ac_tool_warned=yes ;;
   3904 esac
   3905     CC=$ac_ct_CC
   3906   fi
   3907 fi
   3908 
   3909 fi
   3910 if test -z "$CC"; then
   3911   if test -n "$ac_tool_prefix"; then
   3912   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3913 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3915 printf %s "checking for $ac_word... " >&6; }
   3916 if test ${ac_cv_prog_CC+y}
   3917 then :
   3918   printf %s "(cached) " >&6
   3919 else $as_nop
   3920   if test -n "$CC"; then
   3921   ac_cv_prog_CC="$CC" # Let the user override the test.
   3922 else
   3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3924 for as_dir in $PATH
   3925 do
   3926   IFS=$as_save_IFS
   3927   case $as_dir in #(((
   3928     '') as_dir=./ ;;
   3929     */) ;;
   3930     *) as_dir=$as_dir/ ;;
   3931   esac
   3932     for ac_exec_ext in '' $ac_executable_extensions; do
   3933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3934     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3936     break 2
   3937   fi
   3938 done
   3939   done
   3940 IFS=$as_save_IFS
   3941 
   3942 fi
   3943 fi
   3944 CC=$ac_cv_prog_CC
   3945 if test -n "$CC"; then
   3946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3947 printf "%s\n" "$CC" >&6; }
   3948 else
   3949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3950 printf "%s\n" "no" >&6; }
   3951 fi
   3952 
   3953 
   3954 fi
   3955 if test -z "$ac_cv_prog_CC"; then
   3956   ac_ct_CC=$CC
   3957   # Extract the first word of "clang", so it can be a program name with args.
   3958 set dummy clang; ac_word=$2
   3959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3960 printf %s "checking for $ac_word... " >&6; }
   3961 if test ${ac_cv_prog_ac_ct_CC+y}
   3962 then :
   3963   printf %s "(cached) " >&6
   3964 else $as_nop
   3965   if test -n "$ac_ct_CC"; then
   3966   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3967 else
   3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3969 for as_dir in $PATH
   3970 do
   3971   IFS=$as_save_IFS
   3972   case $as_dir in #(((
   3973     '') as_dir=./ ;;
   3974     */) ;;
   3975     *) as_dir=$as_dir/ ;;
   3976   esac
   3977     for ac_exec_ext in '' $ac_executable_extensions; do
   3978   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3979     ac_cv_prog_ac_ct_CC="clang"
   3980     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3981     break 2
   3982   fi
   3983 done
   3984   done
   3985 IFS=$as_save_IFS
   3986 
   3987 fi
   3988 fi
   3989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3990 if test -n "$ac_ct_CC"; then
   3991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3992 printf "%s\n" "$ac_ct_CC" >&6; }
   3993 else
   3994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3995 printf "%s\n" "no" >&6; }
   3996 fi
   3997 
   3998   if test "x$ac_ct_CC" = x; then
   3999     CC=""
   4000   else
   4001     case $cross_compiling:$ac_tool_warned in
   4002 yes:)
   4003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4004 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4005 ac_tool_warned=yes ;;
   4006 esac
   4007     CC=$ac_ct_CC
   4008   fi
   4009 else
   4010   CC="$ac_cv_prog_CC"
   4011 fi
   4012 
   4013 fi
   4014 
   4015 
   4016 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4017 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4018 as_fn_error $? "no acceptable C compiler found in \$PATH
   4019 See \`config.log' for more details" "$LINENO" 5; }
   4020 
   4021 # Provide some information about the compiler.
   4022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4023 set X $ac_compile
   4024 ac_compiler=$2
   4025 for ac_option in --version -v -V -qversion -version; do
   4026   { { ac_try="$ac_compiler $ac_option >&5"
   4027 case "(($ac_try" in
   4028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4029   *) ac_try_echo=$ac_try;;
   4030 esac
   4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4032 printf "%s\n" "$ac_try_echo"; } >&5
   4033   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4034   ac_status=$?
   4035   if test -s conftest.err; then
   4036     sed '10a\
   4037 ... rest of stderr output deleted ...
   4038          10q' conftest.err >conftest.er1
   4039     cat conftest.er1 >&5
   4040   fi
   4041   rm -f conftest.er1 conftest.err
   4042   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4043   test $ac_status = 0; }
   4044 done
   4045 
   4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 
   4049 int
   4050 main (void)
   4051 {
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057 ac_clean_files_save=$ac_clean_files
   4058 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4059 # Try to create an executable without -o first, disregard a.out.
   4060 # It will help us diagnose broken compilers, and finding out an intuition
   4061 # of exeext.
   4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4063 printf %s "checking whether the C compiler works... " >&6; }
   4064 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4065 
   4066 # The possible output files:
   4067 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4068 
   4069 ac_rmfiles=
   4070 for ac_file in $ac_files
   4071 do
   4072   case $ac_file in
   4073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4074     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4075   esac
   4076 done
   4077 rm -f $ac_rmfiles
   4078 
   4079 if { { ac_try="$ac_link_default"
   4080 case "(($ac_try" in
   4081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4082   *) ac_try_echo=$ac_try;;
   4083 esac
   4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4085 printf "%s\n" "$ac_try_echo"; } >&5
   4086   (eval "$ac_link_default") 2>&5
   4087   ac_status=$?
   4088   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4089   test $ac_status = 0; }
   4090 then :
   4091   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4092 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4093 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4094 # so that the user can short-circuit this test for compilers unknown to
   4095 # Autoconf.
   4096 for ac_file in $ac_files ''
   4097 do
   4098   test -f "$ac_file" || continue
   4099   case $ac_file in
   4100     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4101 	;;
   4102     [ab].out )
   4103 	# We found the default executable, but exeext='' is most
   4104 	# certainly right.
   4105 	break;;
   4106     *.* )
   4107 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4108 	then :; else
   4109 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4110 	fi
   4111 	# We set ac_cv_exeext here because the later test for it is not
   4112 	# safe: cross compilers may not add the suffix if given an `-o'
   4113 	# argument, so we may need to know it at that point already.
   4114 	# Even if this section looks crufty: it has the advantage of
   4115 	# actually working.
   4116 	break;;
   4117     * )
   4118 	break;;
   4119   esac
   4120 done
   4121 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4122 
   4123 else $as_nop
   4124   ac_file=''
   4125 fi
   4126 if test -z "$ac_file"
   4127 then :
   4128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4129 printf "%s\n" "no" >&6; }
   4130 printf "%s\n" "$as_me: failed program was:" >&5
   4131 sed 's/^/| /' conftest.$ac_ext >&5
   4132 
   4133 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4134 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4135 as_fn_error 77 "C compiler cannot create executables
   4136 See \`config.log' for more details" "$LINENO" 5; }
   4137 else $as_nop
   4138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4139 printf "%s\n" "yes" >&6; }
   4140 fi
   4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4142 printf %s "checking for C compiler default output file name... " >&6; }
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4144 printf "%s\n" "$ac_file" >&6; }
   4145 ac_exeext=$ac_cv_exeext
   4146 
   4147 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4148 ac_clean_files=$ac_clean_files_save
   4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4150 printf %s "checking for suffix of executables... " >&6; }
   4151 if { { ac_try="$ac_link"
   4152 case "(($ac_try" in
   4153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4154   *) ac_try_echo=$ac_try;;
   4155 esac
   4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4157 printf "%s\n" "$ac_try_echo"; } >&5
   4158   (eval "$ac_link") 2>&5
   4159   ac_status=$?
   4160   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4161   test $ac_status = 0; }
   4162 then :
   4163   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4164 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4165 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4166 # `rm'.
   4167 for ac_file in conftest.exe conftest conftest.*; do
   4168   test -f "$ac_file" || continue
   4169   case $ac_file in
   4170     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4171     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4172 	  break;;
   4173     * ) break;;
   4174   esac
   4175 done
   4176 else $as_nop
   4177   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4178 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4179 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4180 See \`config.log' for more details" "$LINENO" 5; }
   4181 fi
   4182 rm -f conftest conftest$ac_cv_exeext
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4184 printf "%s\n" "$ac_cv_exeext" >&6; }
   4185 
   4186 rm -f conftest.$ac_ext
   4187 EXEEXT=$ac_cv_exeext
   4188 ac_exeext=$EXEEXT
   4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 #include <stdio.h>
   4192 int
   4193 main (void)
   4194 {
   4195 FILE *f = fopen ("conftest.out", "w");
   4196  return ferror (f) || fclose (f) != 0;
   4197 
   4198   ;
   4199   return 0;
   4200 }
   4201 _ACEOF
   4202 ac_clean_files="$ac_clean_files conftest.out"
   4203 # Check that the compiler produces executables we can run.  If not, either
   4204 # the compiler is broken, or we cross compile.
   4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4206 printf %s "checking whether we are cross compiling... " >&6; }
   4207 if test "$cross_compiling" != yes; then
   4208   { { ac_try="$ac_link"
   4209 case "(($ac_try" in
   4210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4211   *) ac_try_echo=$ac_try;;
   4212 esac
   4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4214 printf "%s\n" "$ac_try_echo"; } >&5
   4215   (eval "$ac_link") 2>&5
   4216   ac_status=$?
   4217   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4218   test $ac_status = 0; }
   4219   if { ac_try='./conftest$ac_cv_exeext'
   4220   { { case "(($ac_try" in
   4221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4222   *) ac_try_echo=$ac_try;;
   4223 esac
   4224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4225 printf "%s\n" "$ac_try_echo"; } >&5
   4226   (eval "$ac_try") 2>&5
   4227   ac_status=$?
   4228   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4229   test $ac_status = 0; }; }; then
   4230     cross_compiling=no
   4231   else
   4232     if test "$cross_compiling" = maybe; then
   4233 	cross_compiling=yes
   4234     else
   4235 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4236 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4237 as_fn_error 77 "cannot run C compiled programs.
   4238 If you meant to cross compile, use \`--host'.
   4239 See \`config.log' for more details" "$LINENO" 5; }
   4240     fi
   4241   fi
   4242 fi
   4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4244 printf "%s\n" "$cross_compiling" >&6; }
   4245 
   4246 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4247 ac_clean_files=$ac_clean_files_save
   4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4249 printf %s "checking for suffix of object files... " >&6; }
   4250 if test ${ac_cv_objext+y}
   4251 then :
   4252   printf %s "(cached) " >&6
   4253 else $as_nop
   4254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4255 /* end confdefs.h.  */
   4256 
   4257 int
   4258 main (void)
   4259 {
   4260 
   4261   ;
   4262   return 0;
   4263 }
   4264 _ACEOF
   4265 rm -f conftest.o conftest.obj
   4266 if { { ac_try="$ac_compile"
   4267 case "(($ac_try" in
   4268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4269   *) ac_try_echo=$ac_try;;
   4270 esac
   4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4272 printf "%s\n" "$ac_try_echo"; } >&5
   4273   (eval "$ac_compile") 2>&5
   4274   ac_status=$?
   4275   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4276   test $ac_status = 0; }
   4277 then :
   4278   for ac_file in conftest.o conftest.obj conftest.*; do
   4279   test -f "$ac_file" || continue;
   4280   case $ac_file in
   4281     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4282     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4283        break;;
   4284   esac
   4285 done
   4286 else $as_nop
   4287   printf "%s\n" "$as_me: failed program was:" >&5
   4288 sed 's/^/| /' conftest.$ac_ext >&5
   4289 
   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 $? "cannot compute suffix of object files: cannot compile
   4293 See \`config.log' for more details" "$LINENO" 5; }
   4294 fi
   4295 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4296 fi
   4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4298 printf "%s\n" "$ac_cv_objext" >&6; }
   4299 OBJEXT=$ac_cv_objext
   4300 ac_objext=$OBJEXT
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4302 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4303 if test ${ac_cv_c_compiler_gnu+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else $as_nop
   4307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 
   4310 int
   4311 main (void)
   4312 {
   4313 #ifndef __GNUC__
   4314        choke me
   4315 #endif
   4316 
   4317   ;
   4318   return 0;
   4319 }
   4320 _ACEOF
   4321 if ac_fn_c_try_compile "$LINENO"
   4322 then :
   4323   ac_compiler_gnu=yes
   4324 else $as_nop
   4325   ac_compiler_gnu=no
   4326 fi
   4327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4328 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4329 
   4330 fi
   4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4332 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4334 
   4335 if test $ac_compiler_gnu = yes; then
   4336   GCC=yes
   4337 else
   4338   GCC=
   4339 fi
   4340 ac_test_CFLAGS=${CFLAGS+y}
   4341 ac_save_CFLAGS=$CFLAGS
   4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4343 printf %s "checking whether $CC accepts -g... " >&6; }
   4344 if test ${ac_cv_prog_cc_g+y}
   4345 then :
   4346   printf %s "(cached) " >&6
   4347 else $as_nop
   4348   ac_save_c_werror_flag=$ac_c_werror_flag
   4349    ac_c_werror_flag=yes
   4350    ac_cv_prog_cc_g=no
   4351    CFLAGS="-g"
   4352    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4353 /* end confdefs.h.  */
   4354 
   4355 int
   4356 main (void)
   4357 {
   4358 
   4359   ;
   4360   return 0;
   4361 }
   4362 _ACEOF
   4363 if ac_fn_c_try_compile "$LINENO"
   4364 then :
   4365   ac_cv_prog_cc_g=yes
   4366 else $as_nop
   4367   CFLAGS=""
   4368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4369 /* end confdefs.h.  */
   4370 
   4371 int
   4372 main (void)
   4373 {
   4374 
   4375   ;
   4376   return 0;
   4377 }
   4378 _ACEOF
   4379 if ac_fn_c_try_compile "$LINENO"
   4380 then :
   4381 
   4382 else $as_nop
   4383   ac_c_werror_flag=$ac_save_c_werror_flag
   4384 	 CFLAGS="-g"
   4385 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4386 /* end confdefs.h.  */
   4387 
   4388 int
   4389 main (void)
   4390 {
   4391 
   4392   ;
   4393   return 0;
   4394 }
   4395 _ACEOF
   4396 if ac_fn_c_try_compile "$LINENO"
   4397 then :
   4398   ac_cv_prog_cc_g=yes
   4399 fi
   4400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4401 fi
   4402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4403 fi
   4404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4405    ac_c_werror_flag=$ac_save_c_werror_flag
   4406 fi
   4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4408 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4409 if test $ac_test_CFLAGS; then
   4410   CFLAGS=$ac_save_CFLAGS
   4411 elif test $ac_cv_prog_cc_g = yes; then
   4412   if test "$GCC" = yes; then
   4413     CFLAGS="-g -O2"
   4414   else
   4415     CFLAGS="-g"
   4416   fi
   4417 else
   4418   if test "$GCC" = yes; then
   4419     CFLAGS="-O2"
   4420   else
   4421     CFLAGS=
   4422   fi
   4423 fi
   4424 ac_prog_cc_stdc=no
   4425 if test x$ac_prog_cc_stdc = xno
   4426 then :
   4427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4428 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4429 if test ${ac_cv_prog_cc_c11+y}
   4430 then :
   4431   printf %s "(cached) " >&6
   4432 else $as_nop
   4433   ac_cv_prog_cc_c11=no
   4434 ac_save_CC=$CC
   4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4436 /* end confdefs.h.  */
   4437 $ac_c_conftest_c11_program
   4438 _ACEOF
   4439 for ac_arg in '' -std=gnu11
   4440 do
   4441   CC="$ac_save_CC $ac_arg"
   4442   if ac_fn_c_try_compile "$LINENO"
   4443 then :
   4444   ac_cv_prog_cc_c11=$ac_arg
   4445 fi
   4446 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4447   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4448 done
   4449 rm -f conftest.$ac_ext
   4450 CC=$ac_save_CC
   4451 fi
   4452 
   4453 if test "x$ac_cv_prog_cc_c11" = xno
   4454 then :
   4455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4456 printf "%s\n" "unsupported" >&6; }
   4457 else $as_nop
   4458   if test "x$ac_cv_prog_cc_c11" = x
   4459 then :
   4460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4461 printf "%s\n" "none needed" >&6; }
   4462 else $as_nop
   4463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4464 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4465      CC="$CC $ac_cv_prog_cc_c11"
   4466 fi
   4467   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4468   ac_prog_cc_stdc=c11
   4469 fi
   4470 fi
   4471 if test x$ac_prog_cc_stdc = xno
   4472 then :
   4473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4474 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4475 if test ${ac_cv_prog_cc_c99+y}
   4476 then :
   4477   printf %s "(cached) " >&6
   4478 else $as_nop
   4479   ac_cv_prog_cc_c99=no
   4480 ac_save_CC=$CC
   4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4482 /* end confdefs.h.  */
   4483 $ac_c_conftest_c99_program
   4484 _ACEOF
   4485 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4486 do
   4487   CC="$ac_save_CC $ac_arg"
   4488   if ac_fn_c_try_compile "$LINENO"
   4489 then :
   4490   ac_cv_prog_cc_c99=$ac_arg
   4491 fi
   4492 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4493   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4494 done
   4495 rm -f conftest.$ac_ext
   4496 CC=$ac_save_CC
   4497 fi
   4498 
   4499 if test "x$ac_cv_prog_cc_c99" = xno
   4500 then :
   4501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4502 printf "%s\n" "unsupported" >&6; }
   4503 else $as_nop
   4504   if test "x$ac_cv_prog_cc_c99" = x
   4505 then :
   4506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4507 printf "%s\n" "none needed" >&6; }
   4508 else $as_nop
   4509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4510 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4511      CC="$CC $ac_cv_prog_cc_c99"
   4512 fi
   4513   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4514   ac_prog_cc_stdc=c99
   4515 fi
   4516 fi
   4517 if test x$ac_prog_cc_stdc = xno
   4518 then :
   4519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4520 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4521 if test ${ac_cv_prog_cc_c89+y}
   4522 then :
   4523   printf %s "(cached) " >&6
   4524 else $as_nop
   4525   ac_cv_prog_cc_c89=no
   4526 ac_save_CC=$CC
   4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4528 /* end confdefs.h.  */
   4529 $ac_c_conftest_c89_program
   4530 _ACEOF
   4531 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4532 do
   4533   CC="$ac_save_CC $ac_arg"
   4534   if ac_fn_c_try_compile "$LINENO"
   4535 then :
   4536   ac_cv_prog_cc_c89=$ac_arg
   4537 fi
   4538 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4539   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4540 done
   4541 rm -f conftest.$ac_ext
   4542 CC=$ac_save_CC
   4543 fi
   4544 
   4545 if test "x$ac_cv_prog_cc_c89" = xno
   4546 then :
   4547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4548 printf "%s\n" "unsupported" >&6; }
   4549 else $as_nop
   4550   if test "x$ac_cv_prog_cc_c89" = x
   4551 then :
   4552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4553 printf "%s\n" "none needed" >&6; }
   4554 else $as_nop
   4555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4556 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4557      CC="$CC $ac_cv_prog_cc_c89"
   4558 fi
   4559   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4560   ac_prog_cc_stdc=c89
   4561 fi
   4562 fi
   4563 
   4564 ac_ext=c
   4565 ac_cpp='$CPP $CPPFLAGS'
   4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569 
   4570 
   4571   ac_ext=c
   4572 ac_cpp='$CPP $CPPFLAGS'
   4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4577 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4578 if test ${am_cv_prog_cc_c_o+y}
   4579 then :
   4580   printf %s "(cached) " >&6
   4581 else $as_nop
   4582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4583 /* end confdefs.h.  */
   4584 
   4585 int
   4586 main (void)
   4587 {
   4588 
   4589   ;
   4590   return 0;
   4591 }
   4592 _ACEOF
   4593   # Make sure it works both with $CC and with simple cc.
   4594   # Following AC_PROG_CC_C_O, we do the test twice because some
   4595   # compilers refuse to overwrite an existing .o file with -o,
   4596   # though they will create one.
   4597   am_cv_prog_cc_c_o=yes
   4598   for am_i in 1 2; do
   4599     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4600    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4601    ac_status=$?
   4602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4603    (exit $ac_status); } \
   4604          && test -f conftest2.$ac_objext; then
   4605       : OK
   4606     else
   4607       am_cv_prog_cc_c_o=no
   4608       break
   4609     fi
   4610   done
   4611   rm -f core conftest*
   4612   unset am_i
   4613 fi
   4614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4615 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4616 if test "$am_cv_prog_cc_c_o" != yes; then
   4617    # Losing compiler, so override with the script.
   4618    # FIXME: It is wrong to rewrite CC.
   4619    # But if we don't then we get into trouble of one sort or another.
   4620    # A longer-term fix would be to have automake use am__CC in this case,
   4621    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4622    CC="$am_aux_dir/compile $CC"
   4623 fi
   4624 ac_ext=c
   4625 ac_cpp='$CPP $CPPFLAGS'
   4626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4629 
   4630 
   4631 depcc="$CC"   am_compiler_list=
   4632 
   4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4634 printf %s "checking dependency style of $depcc... " >&6; }
   4635 if test ${am_cv_CC_dependencies_compiler_type+y}
   4636 then :
   4637   printf %s "(cached) " >&6
   4638 else $as_nop
   4639   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4640   # We make a subdir and do the tests there.  Otherwise we can end up
   4641   # making bogus files that we don't know about and never remove.  For
   4642   # instance it was reported that on HP-UX the gcc test will end up
   4643   # making a dummy file named 'D' -- because '-MD' means "put the output
   4644   # in D".
   4645   rm -rf conftest.dir
   4646   mkdir conftest.dir
   4647   # Copy depcomp to subdir because otherwise we won't find it if we're
   4648   # using a relative directory.
   4649   cp "$am_depcomp" conftest.dir
   4650   cd conftest.dir
   4651   # We will build objects and dependencies in a subdirectory because
   4652   # it helps to detect inapplicable dependency modes.  For instance
   4653   # both Tru64's cc and ICC support -MD to output dependencies as a
   4654   # side effect of compilation, but ICC will put the dependencies in
   4655   # the current directory while Tru64 will put them in the object
   4656   # directory.
   4657   mkdir sub
   4658 
   4659   am_cv_CC_dependencies_compiler_type=none
   4660   if test "$am_compiler_list" = ""; then
   4661      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4662   fi
   4663   am__universal=false
   4664   case " $depcc " in #(
   4665      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4666      esac
   4667 
   4668   for depmode in $am_compiler_list; do
   4669     # Setup a source with many dependencies, because some compilers
   4670     # like to wrap large dependency lists on column 80 (with \), and
   4671     # we should not choose a depcomp mode which is confused by this.
   4672     #
   4673     # We need to recreate these files for each test, as the compiler may
   4674     # overwrite some of them when testing with obscure command lines.
   4675     # This happens at least with the AIX C compiler.
   4676     : > sub/conftest.c
   4677     for i in 1 2 3 4 5 6; do
   4678       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4679       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4680       # Solaris 10 /bin/sh.
   4681       echo '/* dummy */' > sub/conftst$i.h
   4682     done
   4683     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4684 
   4685     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4686     # mode.  It turns out that the SunPro C++ compiler does not properly
   4687     # handle '-M -o', and we need to detect this.  Also, some Intel
   4688     # versions had trouble with output in subdirs.
   4689     am__obj=sub/conftest.${OBJEXT-o}
   4690     am__minus_obj="-o $am__obj"
   4691     case $depmode in
   4692     gcc)
   4693       # This depmode causes a compiler race in universal mode.
   4694       test "$am__universal" = false || continue
   4695       ;;
   4696     nosideeffect)
   4697       # After this tag, mechanisms are not by side-effect, so they'll
   4698       # only be used when explicitly requested.
   4699       if test "x$enable_dependency_tracking" = xyes; then
   4700 	continue
   4701       else
   4702 	break
   4703       fi
   4704       ;;
   4705     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4706       # This compiler won't grok '-c -o', but also, the minuso test has
   4707       # not run yet.  These depmodes are late enough in the game, and
   4708       # so weak that their functioning should not be impacted.
   4709       am__obj=conftest.${OBJEXT-o}
   4710       am__minus_obj=
   4711       ;;
   4712     none) break ;;
   4713     esac
   4714     if depmode=$depmode \
   4715        source=sub/conftest.c object=$am__obj \
   4716        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4717        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4718          >/dev/null 2>conftest.err &&
   4719        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4720        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4721        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4722        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4723       # icc doesn't choke on unknown options, it will just issue warnings
   4724       # or remarks (even with -Werror).  So we grep stderr for any message
   4725       # that says an option was ignored or not supported.
   4726       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4727       #   icc: Command line warning: ignoring option '-M'; no argument required
   4728       # The diagnosis changed in icc 8.0:
   4729       #   icc: Command line remark: option '-MP' not supported
   4730       if (grep 'ignoring option' conftest.err ||
   4731           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4732         am_cv_CC_dependencies_compiler_type=$depmode
   4733         break
   4734       fi
   4735     fi
   4736   done
   4737 
   4738   cd ..
   4739   rm -rf conftest.dir
   4740 else
   4741   am_cv_CC_dependencies_compiler_type=none
   4742 fi
   4743 
   4744 fi
   4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4746 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4747 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4748 
   4749  if
   4750   test "x$enable_dependency_tracking" != xno \
   4751   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4752   am__fastdepCC_TRUE=
   4753   am__fastdepCC_FALSE='#'
   4754 else
   4755   am__fastdepCC_TRUE='#'
   4756   am__fastdepCC_FALSE=
   4757 fi
   4758 
   4759 
   4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4761 printf %s "checking for a sed that does not truncate output... " >&6; }
   4762 if test ${ac_cv_path_SED+y}
   4763 then :
   4764   printf %s "(cached) " >&6
   4765 else $as_nop
   4766             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4767      for ac_i in 1 2 3 4 5 6 7; do
   4768        ac_script="$ac_script$as_nl$ac_script"
   4769      done
   4770      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4771      { ac_script=; unset ac_script;}
   4772      if test -z "$SED"; then
   4773   ac_path_SED_found=false
   4774   # Loop through the user's path and test for each of PROGNAME-LIST
   4775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4776 for as_dir in $PATH
   4777 do
   4778   IFS=$as_save_IFS
   4779   case $as_dir in #(((
   4780     '') as_dir=./ ;;
   4781     */) ;;
   4782     *) as_dir=$as_dir/ ;;
   4783   esac
   4784     for ac_prog in sed gsed
   4785    do
   4786     for ac_exec_ext in '' $ac_executable_extensions; do
   4787       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4788       as_fn_executable_p "$ac_path_SED" || continue
   4789 # Check for GNU ac_path_SED and select it if it is found.
   4790   # Check for GNU $ac_path_SED
   4791 case `"$ac_path_SED" --version 2>&1` in
   4792 *GNU*)
   4793   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4794 *)
   4795   ac_count=0
   4796   printf %s 0123456789 >"conftest.in"
   4797   while :
   4798   do
   4799     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4800     mv "conftest.tmp" "conftest.in"
   4801     cp "conftest.in" "conftest.nl"
   4802     printf "%s\n" '' >> "conftest.nl"
   4803     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4804     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4805     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4806     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4807       # Best one so far, save it but keep looking for a better one
   4808       ac_cv_path_SED="$ac_path_SED"
   4809       ac_path_SED_max=$ac_count
   4810     fi
   4811     # 10*(2^10) chars as input seems more than enough
   4812     test $ac_count -gt 10 && break
   4813   done
   4814   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4815 esac
   4816 
   4817       $ac_path_SED_found && break 3
   4818     done
   4819   done
   4820   done
   4821 IFS=$as_save_IFS
   4822   if test -z "$ac_cv_path_SED"; then
   4823     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4824   fi
   4825 else
   4826   ac_cv_path_SED=$SED
   4827 fi
   4828 
   4829 fi
   4830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4831 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4832  SED="$ac_cv_path_SED"
   4833   rm -f conftest.sed
   4834 
   4835 test -z "$SED" && SED=sed
   4836 Xsed="$SED -e 1s/^X//"
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4849 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4850 if test ${ac_cv_path_GREP+y}
   4851 then :
   4852   printf %s "(cached) " >&6
   4853 else $as_nop
   4854   if test -z "$GREP"; then
   4855   ac_path_GREP_found=false
   4856   # Loop through the user's path and test for each of PROGNAME-LIST
   4857   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4858 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4859 do
   4860   IFS=$as_save_IFS
   4861   case $as_dir in #(((
   4862     '') as_dir=./ ;;
   4863     */) ;;
   4864     *) as_dir=$as_dir/ ;;
   4865   esac
   4866     for ac_prog in grep ggrep
   4867    do
   4868     for ac_exec_ext in '' $ac_executable_extensions; do
   4869       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4870       as_fn_executable_p "$ac_path_GREP" || continue
   4871 # Check for GNU ac_path_GREP and select it if it is found.
   4872   # Check for GNU $ac_path_GREP
   4873 case `"$ac_path_GREP" --version 2>&1` in
   4874 *GNU*)
   4875   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4876 *)
   4877   ac_count=0
   4878   printf %s 0123456789 >"conftest.in"
   4879   while :
   4880   do
   4881     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4882     mv "conftest.tmp" "conftest.in"
   4883     cp "conftest.in" "conftest.nl"
   4884     printf "%s\n" 'GREP' >> "conftest.nl"
   4885     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4886     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4887     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4888     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4889       # Best one so far, save it but keep looking for a better one
   4890       ac_cv_path_GREP="$ac_path_GREP"
   4891       ac_path_GREP_max=$ac_count
   4892     fi
   4893     # 10*(2^10) chars as input seems more than enough
   4894     test $ac_count -gt 10 && break
   4895   done
   4896   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4897 esac
   4898 
   4899       $ac_path_GREP_found && break 3
   4900     done
   4901   done
   4902   done
   4903 IFS=$as_save_IFS
   4904   if test -z "$ac_cv_path_GREP"; then
   4905     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4906   fi
   4907 else
   4908   ac_cv_path_GREP=$GREP
   4909 fi
   4910 
   4911 fi
   4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4913 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4914  GREP="$ac_cv_path_GREP"
   4915 
   4916 
   4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4918 printf %s "checking for egrep... " >&6; }
   4919 if test ${ac_cv_path_EGREP+y}
   4920 then :
   4921   printf %s "(cached) " >&6
   4922 else $as_nop
   4923   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4924    then ac_cv_path_EGREP="$GREP -E"
   4925    else
   4926      if test -z "$EGREP"; then
   4927   ac_path_EGREP_found=false
   4928   # Loop through the user's path and test for each of PROGNAME-LIST
   4929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4931 do
   4932   IFS=$as_save_IFS
   4933   case $as_dir in #(((
   4934     '') as_dir=./ ;;
   4935     */) ;;
   4936     *) as_dir=$as_dir/ ;;
   4937   esac
   4938     for ac_prog in egrep
   4939    do
   4940     for ac_exec_ext in '' $ac_executable_extensions; do
   4941       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4942       as_fn_executable_p "$ac_path_EGREP" || continue
   4943 # Check for GNU ac_path_EGREP and select it if it is found.
   4944   # Check for GNU $ac_path_EGREP
   4945 case `"$ac_path_EGREP" --version 2>&1` in
   4946 *GNU*)
   4947   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4948 *)
   4949   ac_count=0
   4950   printf %s 0123456789 >"conftest.in"
   4951   while :
   4952   do
   4953     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4954     mv "conftest.tmp" "conftest.in"
   4955     cp "conftest.in" "conftest.nl"
   4956     printf "%s\n" 'EGREP' >> "conftest.nl"
   4957     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4958     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4959     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4960     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4961       # Best one so far, save it but keep looking for a better one
   4962       ac_cv_path_EGREP="$ac_path_EGREP"
   4963       ac_path_EGREP_max=$ac_count
   4964     fi
   4965     # 10*(2^10) chars as input seems more than enough
   4966     test $ac_count -gt 10 && break
   4967   done
   4968   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4969 esac
   4970 
   4971       $ac_path_EGREP_found && break 3
   4972     done
   4973   done
   4974   done
   4975 IFS=$as_save_IFS
   4976   if test -z "$ac_cv_path_EGREP"; then
   4977     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4978   fi
   4979 else
   4980   ac_cv_path_EGREP=$EGREP
   4981 fi
   4982 
   4983    fi
   4984 fi
   4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4986 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4987  EGREP="$ac_cv_path_EGREP"
   4988 
   4989 
   4990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4991 printf %s "checking for fgrep... " >&6; }
   4992 if test ${ac_cv_path_FGREP+y}
   4993 then :
   4994   printf %s "(cached) " >&6
   4995 else $as_nop
   4996   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4997    then ac_cv_path_FGREP="$GREP -F"
   4998    else
   4999      if test -z "$FGREP"; then
   5000   ac_path_FGREP_found=false
   5001   # Loop through the user's path and test for each of PROGNAME-LIST
   5002   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5004 do
   5005   IFS=$as_save_IFS
   5006   case $as_dir in #(((
   5007     '') as_dir=./ ;;
   5008     */) ;;
   5009     *) as_dir=$as_dir/ ;;
   5010   esac
   5011     for ac_prog in fgrep
   5012    do
   5013     for ac_exec_ext in '' $ac_executable_extensions; do
   5014       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5015       as_fn_executable_p "$ac_path_FGREP" || continue
   5016 # Check for GNU ac_path_FGREP and select it if it is found.
   5017   # Check for GNU $ac_path_FGREP
   5018 case `"$ac_path_FGREP" --version 2>&1` in
   5019 *GNU*)
   5020   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5021 *)
   5022   ac_count=0
   5023   printf %s 0123456789 >"conftest.in"
   5024   while :
   5025   do
   5026     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5027     mv "conftest.tmp" "conftest.in"
   5028     cp "conftest.in" "conftest.nl"
   5029     printf "%s\n" 'FGREP' >> "conftest.nl"
   5030     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5031     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5032     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5033     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5034       # Best one so far, save it but keep looking for a better one
   5035       ac_cv_path_FGREP="$ac_path_FGREP"
   5036       ac_path_FGREP_max=$ac_count
   5037     fi
   5038     # 10*(2^10) chars as input seems more than enough
   5039     test $ac_count -gt 10 && break
   5040   done
   5041   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5042 esac
   5043 
   5044       $ac_path_FGREP_found && break 3
   5045     done
   5046   done
   5047   done
   5048 IFS=$as_save_IFS
   5049   if test -z "$ac_cv_path_FGREP"; then
   5050     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5051   fi
   5052 else
   5053   ac_cv_path_FGREP=$FGREP
   5054 fi
   5055 
   5056    fi
   5057 fi
   5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5059 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5060  FGREP="$ac_cv_path_FGREP"
   5061 
   5062 
   5063 test -z "$GREP" && GREP=grep
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 # Check whether --with-gnu-ld was given.
   5084 if test ${with_gnu_ld+y}
   5085 then :
   5086   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5087 else $as_nop
   5088   with_gnu_ld=no
   5089 fi
   5090 
   5091 ac_prog=ld
   5092 if test yes = "$GCC"; then
   5093   # Check if gcc -print-prog-name=ld gives a path.
   5094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5095 printf %s "checking for ld used by $CC... " >&6; }
   5096   case $host in
   5097   *-*-mingw*)
   5098     # gcc leaves a trailing carriage return, which upsets mingw
   5099     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5100   *)
   5101     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5102   esac
   5103   case $ac_prog in
   5104     # Accept absolute paths.
   5105     [\\/]* | ?:[\\/]*)
   5106       re_direlt='/[^/][^/]*/\.\./'
   5107       # Canonicalize the pathname of ld
   5108       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5109       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5110 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5111       done
   5112       test -z "$LD" && LD=$ac_prog
   5113       ;;
   5114   "")
   5115     # If it fails, then pretend we aren't using GCC.
   5116     ac_prog=ld
   5117     ;;
   5118   *)
   5119     # If it is relative, then search for the first ld in PATH.
   5120     with_gnu_ld=unknown
   5121     ;;
   5122   esac
   5123 elif test yes = "$with_gnu_ld"; then
   5124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5125 printf %s "checking for GNU ld... " >&6; }
   5126 else
   5127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5128 printf %s "checking for non-GNU ld... " >&6; }
   5129 fi
   5130 if test ${lt_cv_path_LD+y}
   5131 then :
   5132   printf %s "(cached) " >&6
   5133 else $as_nop
   5134   if test -z "$LD"; then
   5135   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5136   for ac_dir in $PATH; do
   5137     IFS=$lt_save_ifs
   5138     test -z "$ac_dir" && ac_dir=.
   5139     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5140       lt_cv_path_LD=$ac_dir/$ac_prog
   5141       # Check to see if the program is GNU ld.  I'd rather use --version,
   5142       # but apparently some variants of GNU ld only accept -v.
   5143       # Break only if it was the GNU/non-GNU ld that we prefer.
   5144       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5145       *GNU* | *'with BFD'*)
   5146 	test no != "$with_gnu_ld" && break
   5147 	;;
   5148       *)
   5149 	test yes != "$with_gnu_ld" && break
   5150 	;;
   5151       esac
   5152     fi
   5153   done
   5154   IFS=$lt_save_ifs
   5155 else
   5156   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5157 fi
   5158 fi
   5159 
   5160 LD=$lt_cv_path_LD
   5161 if test -n "$LD"; then
   5162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5163 printf "%s\n" "$LD" >&6; }
   5164 else
   5165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5166 printf "%s\n" "no" >&6; }
   5167 fi
   5168 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5170 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5171 if test ${lt_cv_prog_gnu_ld+y}
   5172 then :
   5173   printf %s "(cached) " >&6
   5174 else $as_nop
   5175   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5176 case `$LD -v 2>&1 </dev/null` in
   5177 *GNU* | *'with BFD'*)
   5178   lt_cv_prog_gnu_ld=yes
   5179   ;;
   5180 *)
   5181   lt_cv_prog_gnu_ld=no
   5182   ;;
   5183 esac
   5184 fi
   5185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5186 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5187 with_gnu_ld=$lt_cv_prog_gnu_ld
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5198 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5199 if test ${lt_cv_path_NM+y}
   5200 then :
   5201   printf %s "(cached) " >&6
   5202 else $as_nop
   5203   if test -n "$NM"; then
   5204   # Let the user override the test.
   5205   lt_cv_path_NM=$NM
   5206 else
   5207   lt_nm_to_check=${ac_tool_prefix}nm
   5208   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5209     lt_nm_to_check="$lt_nm_to_check nm"
   5210   fi
   5211   for lt_tmp_nm in $lt_nm_to_check; do
   5212     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5213     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5214       IFS=$lt_save_ifs
   5215       test -z "$ac_dir" && ac_dir=.
   5216       tmp_nm=$ac_dir/$lt_tmp_nm
   5217       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5218 	# Check to see if the nm accepts a BSD-compat flag.
   5219 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5220 	#   nm: unknown option "B" ignored
   5221 	# Tru64's nm complains that /dev/null is an invalid object file
   5222 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5223 	case $build_os in
   5224 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5225 	*) lt_bad_file=/dev/null ;;
   5226 	esac
   5227 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5228 	*$lt_bad_file* | *'Invalid file or object type'*)
   5229 	  lt_cv_path_NM="$tmp_nm -B"
   5230 	  break 2
   5231 	  ;;
   5232 	*)
   5233 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5234 	  */dev/null*)
   5235 	    lt_cv_path_NM="$tmp_nm -p"
   5236 	    break 2
   5237 	    ;;
   5238 	  *)
   5239 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5240 	    continue # so that we can try to find one that supports BSD flags
   5241 	    ;;
   5242 	  esac
   5243 	  ;;
   5244 	esac
   5245       fi
   5246     done
   5247     IFS=$lt_save_ifs
   5248   done
   5249   : ${lt_cv_path_NM=no}
   5250 fi
   5251 fi
   5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5253 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5254 if test no != "$lt_cv_path_NM"; then
   5255   NM=$lt_cv_path_NM
   5256 else
   5257   # Didn't find any BSD compatible name lister, look for dumpbin.
   5258   if test -n "$DUMPBIN"; then :
   5259     # Let the user override the test.
   5260   else
   5261     if test -n "$ac_tool_prefix"; then
   5262   for ac_prog in dumpbin "link -dump"
   5263   do
   5264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5267 printf %s "checking for $ac_word... " >&6; }
   5268 if test ${ac_cv_prog_DUMPBIN+y}
   5269 then :
   5270   printf %s "(cached) " >&6
   5271 else $as_nop
   5272   if test -n "$DUMPBIN"; then
   5273   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5274 else
   5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5276 for as_dir in $PATH
   5277 do
   5278   IFS=$as_save_IFS
   5279   case $as_dir in #(((
   5280     '') as_dir=./ ;;
   5281     */) ;;
   5282     *) as_dir=$as_dir/ ;;
   5283   esac
   5284     for ac_exec_ext in '' $ac_executable_extensions; do
   5285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5286     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5287     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5288     break 2
   5289   fi
   5290 done
   5291   done
   5292 IFS=$as_save_IFS
   5293 
   5294 fi
   5295 fi
   5296 DUMPBIN=$ac_cv_prog_DUMPBIN
   5297 if test -n "$DUMPBIN"; then
   5298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5299 printf "%s\n" "$DUMPBIN" >&6; }
   5300 else
   5301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5302 printf "%s\n" "no" >&6; }
   5303 fi
   5304 
   5305 
   5306     test -n "$DUMPBIN" && break
   5307   done
   5308 fi
   5309 if test -z "$DUMPBIN"; then
   5310   ac_ct_DUMPBIN=$DUMPBIN
   5311   for ac_prog in dumpbin "link -dump"
   5312 do
   5313   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5314 set dummy $ac_prog; ac_word=$2
   5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5316 printf %s "checking for $ac_word... " >&6; }
   5317 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5318 then :
   5319   printf %s "(cached) " >&6
   5320 else $as_nop
   5321   if test -n "$ac_ct_DUMPBIN"; then
   5322   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5323 else
   5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5325 for as_dir in $PATH
   5326 do
   5327   IFS=$as_save_IFS
   5328   case $as_dir in #(((
   5329     '') as_dir=./ ;;
   5330     */) ;;
   5331     *) as_dir=$as_dir/ ;;
   5332   esac
   5333     for ac_exec_ext in '' $ac_executable_extensions; do
   5334   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5335     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5336     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5337     break 2
   5338   fi
   5339 done
   5340   done
   5341 IFS=$as_save_IFS
   5342 
   5343 fi
   5344 fi
   5345 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5346 if test -n "$ac_ct_DUMPBIN"; then
   5347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5348 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5349 else
   5350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5351 printf "%s\n" "no" >&6; }
   5352 fi
   5353 
   5354 
   5355   test -n "$ac_ct_DUMPBIN" && break
   5356 done
   5357 
   5358   if test "x$ac_ct_DUMPBIN" = x; then
   5359     DUMPBIN=":"
   5360   else
   5361     case $cross_compiling:$ac_tool_warned in
   5362 yes:)
   5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5364 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5365 ac_tool_warned=yes ;;
   5366 esac
   5367     DUMPBIN=$ac_ct_DUMPBIN
   5368   fi
   5369 fi
   5370 
   5371     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5372     *COFF*)
   5373       DUMPBIN="$DUMPBIN -symbols -headers"
   5374       ;;
   5375     *)
   5376       DUMPBIN=:
   5377       ;;
   5378     esac
   5379   fi
   5380 
   5381   if test : != "$DUMPBIN"; then
   5382     NM=$DUMPBIN
   5383   fi
   5384 fi
   5385 test -z "$NM" && NM=nm
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5393 printf %s "checking the name lister ($NM) interface... " >&6; }
   5394 if test ${lt_cv_nm_interface+y}
   5395 then :
   5396   printf %s "(cached) " >&6
   5397 else $as_nop
   5398   lt_cv_nm_interface="BSD nm"
   5399   echo "int some_variable = 0;" > conftest.$ac_ext
   5400   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5401   (eval "$ac_compile" 2>conftest.err)
   5402   cat conftest.err >&5
   5403   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5404   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5405   cat conftest.err >&5
   5406   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5407   cat conftest.out >&5
   5408   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5409     lt_cv_nm_interface="MS dumpbin"
   5410   fi
   5411   rm -f conftest*
   5412 fi
   5413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5414 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5415 
   5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5417 printf %s "checking whether ln -s works... " >&6; }
   5418 LN_S=$as_ln_s
   5419 if test "$LN_S" = "ln -s"; then
   5420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5421 printf "%s\n" "yes" >&6; }
   5422 else
   5423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5424 printf "%s\n" "no, using $LN_S" >&6; }
   5425 fi
   5426 
   5427 # find the maximum length of command line arguments
   5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5429 printf %s "checking the maximum length of command line arguments... " >&6; }
   5430 if test ${lt_cv_sys_max_cmd_len+y}
   5431 then :
   5432   printf %s "(cached) " >&6
   5433 else $as_nop
   5434     i=0
   5435   teststring=ABCD
   5436 
   5437   case $build_os in
   5438   msdosdjgpp*)
   5439     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5440     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5441     # during glob expansion).  Even if it were fixed, the result of this
   5442     # check would be larger than it should be.
   5443     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5444     ;;
   5445 
   5446   gnu*)
   5447     # Under GNU Hurd, this test is not required because there is
   5448     # no limit to the length of command line arguments.
   5449     # Libtool will interpret -1 as no limit whatsoever
   5450     lt_cv_sys_max_cmd_len=-1;
   5451     ;;
   5452 
   5453   cygwin* | mingw* | cegcc*)
   5454     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5455     # about 5 minutes as the teststring grows exponentially.
   5456     # Worse, since 9x/ME are not pre-emptively multitasking,
   5457     # you end up with a "frozen" computer, even though with patience
   5458     # the test eventually succeeds (with a max line length of 256k).
   5459     # Instead, let's just punt: use the minimum linelength reported by
   5460     # all of the supported platforms: 8192 (on NT/2K/XP).
   5461     lt_cv_sys_max_cmd_len=8192;
   5462     ;;
   5463 
   5464   mint*)
   5465     # On MiNT this can take a long time and run out of memory.
   5466     lt_cv_sys_max_cmd_len=8192;
   5467     ;;
   5468 
   5469   amigaos*)
   5470     # On AmigaOS with pdksh, this test takes hours, literally.
   5471     # So we just punt and use a minimum line length of 8192.
   5472     lt_cv_sys_max_cmd_len=8192;
   5473     ;;
   5474 
   5475   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5476     # This has been around since 386BSD, at least.  Likely further.
   5477     if test -x /sbin/sysctl; then
   5478       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5479     elif test -x /usr/sbin/sysctl; then
   5480       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5481     else
   5482       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5483     fi
   5484     # And add a safety zone
   5485     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5486     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5487     ;;
   5488 
   5489   interix*)
   5490     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5491     lt_cv_sys_max_cmd_len=196608
   5492     ;;
   5493 
   5494   os2*)
   5495     # The test takes a long time on OS/2.
   5496     lt_cv_sys_max_cmd_len=8192
   5497     ;;
   5498 
   5499   osf*)
   5500     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5501     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5502     # nice to cause kernel panics so lets avoid the loop below.
   5503     # First set a reasonable default.
   5504     lt_cv_sys_max_cmd_len=16384
   5505     #
   5506     if test -x /sbin/sysconfig; then
   5507       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5508         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5509       esac
   5510     fi
   5511     ;;
   5512   sco3.2v5*)
   5513     lt_cv_sys_max_cmd_len=102400
   5514     ;;
   5515   sysv5* | sco5v6* | sysv4.2uw2*)
   5516     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5517     if test -n "$kargmax"; then
   5518       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5519     else
   5520       lt_cv_sys_max_cmd_len=32768
   5521     fi
   5522     ;;
   5523   *)
   5524     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5525     if test -n "$lt_cv_sys_max_cmd_len" && \
   5526        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5527       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5528       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5529     else
   5530       # Make teststring a little bigger before we do anything with it.
   5531       # a 1K string should be a reasonable start.
   5532       for i in 1 2 3 4 5 6 7 8; do
   5533         teststring=$teststring$teststring
   5534       done
   5535       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5536       # If test is not a shell built-in, we'll probably end up computing a
   5537       # maximum length that is only half of the actual maximum length, but
   5538       # we can't tell.
   5539       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5540 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5541 	      test 17 != "$i" # 1/2 MB should be enough
   5542       do
   5543         i=`expr $i + 1`
   5544         teststring=$teststring$teststring
   5545       done
   5546       # Only check the string length outside the loop.
   5547       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5548       teststring=
   5549       # Add a significant safety factor because C++ compilers can tack on
   5550       # massive amounts of additional arguments before passing them to the
   5551       # linker.  It appears as though 1/2 is a usable value.
   5552       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5553     fi
   5554     ;;
   5555   esac
   5556 
   5557 fi
   5558 
   5559 if test -n "$lt_cv_sys_max_cmd_len"; then
   5560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5561 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5562 else
   5563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5564 printf "%s\n" "none" >&6; }
   5565 fi
   5566 max_cmd_len=$lt_cv_sys_max_cmd_len
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 : ${CP="cp -f"}
   5574 : ${MV="mv -f"}
   5575 : ${RM="rm -f"}
   5576 
   5577 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5578   lt_unset=unset
   5579 else
   5580   lt_unset=false
   5581 fi
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 # test EBCDIC or ASCII
   5588 case `echo X|tr X '\101'` in
   5589  A) # ASCII based system
   5590     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5591   lt_SP2NL='tr \040 \012'
   5592   lt_NL2SP='tr \015\012 \040\040'
   5593   ;;
   5594  *) # EBCDIC based system
   5595   lt_SP2NL='tr \100 \n'
   5596   lt_NL2SP='tr \r\n \100\100'
   5597   ;;
   5598 esac
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5609 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5610 if test ${lt_cv_to_host_file_cmd+y}
   5611 then :
   5612   printf %s "(cached) " >&6
   5613 else $as_nop
   5614   case $host in
   5615   *-*-mingw* )
   5616     case $build in
   5617       *-*-mingw* ) # actually msys
   5618         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5619         ;;
   5620       *-*-cygwin* )
   5621         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5622         ;;
   5623       * ) # otherwise, assume *nix
   5624         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5625         ;;
   5626     esac
   5627     ;;
   5628   *-*-cygwin* )
   5629     case $build in
   5630       *-*-mingw* ) # actually msys
   5631         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5632         ;;
   5633       *-*-cygwin* )
   5634         lt_cv_to_host_file_cmd=func_convert_file_noop
   5635         ;;
   5636       * ) # otherwise, assume *nix
   5637         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5638         ;;
   5639     esac
   5640     ;;
   5641   * ) # unhandled hosts (and "normal" native builds)
   5642     lt_cv_to_host_file_cmd=func_convert_file_noop
   5643     ;;
   5644 esac
   5645 
   5646 fi
   5647 
   5648 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5650 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5657 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5658 if test ${lt_cv_to_tool_file_cmd+y}
   5659 then :
   5660   printf %s "(cached) " >&6
   5661 else $as_nop
   5662   #assume ordinary cross tools, or native build.
   5663 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5664 case $host in
   5665   *-*-mingw* )
   5666     case $build in
   5667       *-*-mingw* ) # actually msys
   5668         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5669         ;;
   5670     esac
   5671     ;;
   5672 esac
   5673 
   5674 fi
   5675 
   5676 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5678 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5685 printf %s "checking for $LD option to reload object files... " >&6; }
   5686 if test ${lt_cv_ld_reload_flag+y}
   5687 then :
   5688   printf %s "(cached) " >&6
   5689 else $as_nop
   5690   lt_cv_ld_reload_flag='-r'
   5691 fi
   5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5693 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5694 reload_flag=$lt_cv_ld_reload_flag
   5695 case $reload_flag in
   5696 "" | " "*) ;;
   5697 *) reload_flag=" $reload_flag" ;;
   5698 esac
   5699 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5700 case $host_os in
   5701   cygwin* | mingw* | pw32* | cegcc*)
   5702     if test yes != "$GCC"; then
   5703       reload_cmds=false
   5704     fi
   5705     ;;
   5706   darwin*)
   5707     if test yes = "$GCC"; then
   5708       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5709     else
   5710       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5711     fi
   5712     ;;
   5713 esac
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 if test -n "$ac_tool_prefix"; then
   5724   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5725 set dummy ${ac_tool_prefix}file; ac_word=$2
   5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5727 printf %s "checking for $ac_word... " >&6; }
   5728 if test ${ac_cv_prog_FILECMD+y}
   5729 then :
   5730   printf %s "(cached) " >&6
   5731 else $as_nop
   5732   if test -n "$FILECMD"; then
   5733   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5734 else
   5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5736 for as_dir in $PATH
   5737 do
   5738   IFS=$as_save_IFS
   5739   case $as_dir in #(((
   5740     '') as_dir=./ ;;
   5741     */) ;;
   5742     *) as_dir=$as_dir/ ;;
   5743   esac
   5744     for ac_exec_ext in '' $ac_executable_extensions; do
   5745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5746     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5748     break 2
   5749   fi
   5750 done
   5751   done
   5752 IFS=$as_save_IFS
   5753 
   5754 fi
   5755 fi
   5756 FILECMD=$ac_cv_prog_FILECMD
   5757 if test -n "$FILECMD"; then
   5758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5759 printf "%s\n" "$FILECMD" >&6; }
   5760 else
   5761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5762 printf "%s\n" "no" >&6; }
   5763 fi
   5764 
   5765 
   5766 fi
   5767 if test -z "$ac_cv_prog_FILECMD"; then
   5768   ac_ct_FILECMD=$FILECMD
   5769   # Extract the first word of "file", so it can be a program name with args.
   5770 set dummy file; ac_word=$2
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5772 printf %s "checking for $ac_word... " >&6; }
   5773 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else $as_nop
   5777   if test -n "$ac_ct_FILECMD"; then
   5778   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5779 else
   5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5781 for as_dir in $PATH
   5782 do
   5783   IFS=$as_save_IFS
   5784   case $as_dir in #(((
   5785     '') as_dir=./ ;;
   5786     */) ;;
   5787     *) as_dir=$as_dir/ ;;
   5788   esac
   5789     for ac_exec_ext in '' $ac_executable_extensions; do
   5790   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5791     ac_cv_prog_ac_ct_FILECMD="file"
   5792     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5793     break 2
   5794   fi
   5795 done
   5796   done
   5797 IFS=$as_save_IFS
   5798 
   5799 fi
   5800 fi
   5801 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5802 if test -n "$ac_ct_FILECMD"; then
   5803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5804 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5805 else
   5806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5807 printf "%s\n" "no" >&6; }
   5808 fi
   5809 
   5810   if test "x$ac_ct_FILECMD" = x; then
   5811     FILECMD=":"
   5812   else
   5813     case $cross_compiling:$ac_tool_warned in
   5814 yes:)
   5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5817 ac_tool_warned=yes ;;
   5818 esac
   5819     FILECMD=$ac_ct_FILECMD
   5820   fi
   5821 else
   5822   FILECMD="$ac_cv_prog_FILECMD"
   5823 fi
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 if test -n "$ac_tool_prefix"; then
   5832   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5833 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5835 printf %s "checking for $ac_word... " >&6; }
   5836 if test ${ac_cv_prog_OBJDUMP+y}
   5837 then :
   5838   printf %s "(cached) " >&6
   5839 else $as_nop
   5840   if test -n "$OBJDUMP"; then
   5841   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5842 else
   5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5844 for as_dir in $PATH
   5845 do
   5846   IFS=$as_save_IFS
   5847   case $as_dir in #(((
   5848     '') as_dir=./ ;;
   5849     */) ;;
   5850     *) as_dir=$as_dir/ ;;
   5851   esac
   5852     for ac_exec_ext in '' $ac_executable_extensions; do
   5853   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5854     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5855     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5856     break 2
   5857   fi
   5858 done
   5859   done
   5860 IFS=$as_save_IFS
   5861 
   5862 fi
   5863 fi
   5864 OBJDUMP=$ac_cv_prog_OBJDUMP
   5865 if test -n "$OBJDUMP"; then
   5866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5867 printf "%s\n" "$OBJDUMP" >&6; }
   5868 else
   5869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5870 printf "%s\n" "no" >&6; }
   5871 fi
   5872 
   5873 
   5874 fi
   5875 if test -z "$ac_cv_prog_OBJDUMP"; then
   5876   ac_ct_OBJDUMP=$OBJDUMP
   5877   # Extract the first word of "objdump", so it can be a program name with args.
   5878 set dummy objdump; ac_word=$2
   5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5880 printf %s "checking for $ac_word... " >&6; }
   5881 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5882 then :
   5883   printf %s "(cached) " >&6
   5884 else $as_nop
   5885   if test -n "$ac_ct_OBJDUMP"; then
   5886   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5887 else
   5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5889 for as_dir in $PATH
   5890 do
   5891   IFS=$as_save_IFS
   5892   case $as_dir in #(((
   5893     '') as_dir=./ ;;
   5894     */) ;;
   5895     *) as_dir=$as_dir/ ;;
   5896   esac
   5897     for ac_exec_ext in '' $ac_executable_extensions; do
   5898   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5899     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5900     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5901     break 2
   5902   fi
   5903 done
   5904   done
   5905 IFS=$as_save_IFS
   5906 
   5907 fi
   5908 fi
   5909 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5910 if test -n "$ac_ct_OBJDUMP"; then
   5911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5912 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5913 else
   5914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5915 printf "%s\n" "no" >&6; }
   5916 fi
   5917 
   5918   if test "x$ac_ct_OBJDUMP" = x; then
   5919     OBJDUMP="false"
   5920   else
   5921     case $cross_compiling:$ac_tool_warned in
   5922 yes:)
   5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5924 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5925 ac_tool_warned=yes ;;
   5926 esac
   5927     OBJDUMP=$ac_ct_OBJDUMP
   5928   fi
   5929 else
   5930   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5931 fi
   5932 
   5933 test -z "$OBJDUMP" && OBJDUMP=objdump
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5944 printf %s "checking how to recognize dependent libraries... " >&6; }
   5945 if test ${lt_cv_deplibs_check_method+y}
   5946 then :
   5947   printf %s "(cached) " >&6
   5948 else $as_nop
   5949   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5950 lt_cv_file_magic_test_file=
   5951 lt_cv_deplibs_check_method='unknown'
   5952 # Need to set the preceding variable on all platforms that support
   5953 # interlibrary dependencies.
   5954 # 'none' -- dependencies not supported.
   5955 # 'unknown' -- same as none, but documents that we really don't know.
   5956 # 'pass_all' -- all dependencies passed with no checks.
   5957 # 'test_compile' -- check by making test program.
   5958 # 'file_magic [[regex]]' -- check by looking for files in library path
   5959 # that responds to the $file_magic_cmd with a given extended regex.
   5960 # If you have 'file' or equivalent on your system and you're not sure
   5961 # whether 'pass_all' will *always* work, you probably want this one.
   5962 
   5963 case $host_os in
   5964 aix[4-9]*)
   5965   lt_cv_deplibs_check_method=pass_all
   5966   ;;
   5967 
   5968 beos*)
   5969   lt_cv_deplibs_check_method=pass_all
   5970   ;;
   5971 
   5972 bsdi[45]*)
   5973   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5974   lt_cv_file_magic_cmd='$FILECMD -L'
   5975   lt_cv_file_magic_test_file=/shlib/libc.so
   5976   ;;
   5977 
   5978 cygwin*)
   5979   # func_win32_libid is a shell function defined in ltmain.sh
   5980   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5981   lt_cv_file_magic_cmd='func_win32_libid'
   5982   ;;
   5983 
   5984 mingw* | pw32*)
   5985   # Base MSYS/MinGW do not provide the 'file' command needed by
   5986   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5987   # unless we find 'file', for example because we are cross-compiling.
   5988   if ( file / ) >/dev/null 2>&1; then
   5989     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5990     lt_cv_file_magic_cmd='func_win32_libid'
   5991   else
   5992     # Keep this pattern in sync with the one in func_win32_libid.
   5993     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5994     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5995   fi
   5996   ;;
   5997 
   5998 cegcc*)
   5999   # use the weaker test based on 'objdump'. See mingw*.
   6000   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6001   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6002   ;;
   6003 
   6004 darwin* | rhapsody*)
   6005   lt_cv_deplibs_check_method=pass_all
   6006   ;;
   6007 
   6008 freebsd* | dragonfly* | midnightbsd*)
   6009   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6010     case $host_cpu in
   6011     i*86 )
   6012       # Not sure whether the presence of OpenBSD here was a mistake.
   6013       # Let's accept both of them until this is cleared up.
   6014       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6015       lt_cv_file_magic_cmd=$FILECMD
   6016       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6017       ;;
   6018     esac
   6019   else
   6020     lt_cv_deplibs_check_method=pass_all
   6021   fi
   6022   ;;
   6023 
   6024 haiku*)
   6025   lt_cv_deplibs_check_method=pass_all
   6026   ;;
   6027 
   6028 hpux10.20* | hpux11*)
   6029   lt_cv_file_magic_cmd=$FILECMD
   6030   case $host_cpu in
   6031   ia64*)
   6032     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6033     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6034     ;;
   6035   hppa*64*)
   6036     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]'
   6037     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6038     ;;
   6039   *)
   6040     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6041     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6042     ;;
   6043   esac
   6044   ;;
   6045 
   6046 interix[3-9]*)
   6047   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6048   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6049   ;;
   6050 
   6051 irix5* | irix6* | nonstopux*)
   6052   case $LD in
   6053   *-32|*"-32 ") libmagic=32-bit;;
   6054   *-n32|*"-n32 ") libmagic=N32;;
   6055   *-64|*"-64 ") libmagic=64-bit;;
   6056   *) libmagic=never-match;;
   6057   esac
   6058   lt_cv_deplibs_check_method=pass_all
   6059   ;;
   6060 
   6061 # This must be glibc/ELF.
   6062 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 netbsd*)
   6067   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6068     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6069   else
   6070     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6071   fi
   6072   ;;
   6073 
   6074 newos6*)
   6075   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6076   lt_cv_file_magic_cmd=$FILECMD
   6077   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6078   ;;
   6079 
   6080 *nto* | *qnx*)
   6081   lt_cv_deplibs_check_method=pass_all
   6082   ;;
   6083 
   6084 openbsd* | bitrig*)
   6085   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6086     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6087   else
   6088     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6089   fi
   6090   ;;
   6091 
   6092 osf3* | osf4* | osf5*)
   6093   lt_cv_deplibs_check_method=pass_all
   6094   ;;
   6095 
   6096 rdos*)
   6097   lt_cv_deplibs_check_method=pass_all
   6098   ;;
   6099 
   6100 solaris*)
   6101   lt_cv_deplibs_check_method=pass_all
   6102   ;;
   6103 
   6104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6105   lt_cv_deplibs_check_method=pass_all
   6106   ;;
   6107 
   6108 sysv4 | sysv4.3*)
   6109   case $host_vendor in
   6110   motorola)
   6111     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]'
   6112     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6113     ;;
   6114   ncr)
   6115     lt_cv_deplibs_check_method=pass_all
   6116     ;;
   6117   sequent)
   6118     lt_cv_file_magic_cmd='/bin/file'
   6119     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6120     ;;
   6121   sni)
   6122     lt_cv_file_magic_cmd='/bin/file'
   6123     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6124     lt_cv_file_magic_test_file=/lib/libc.so
   6125     ;;
   6126   siemens)
   6127     lt_cv_deplibs_check_method=pass_all
   6128     ;;
   6129   pc)
   6130     lt_cv_deplibs_check_method=pass_all
   6131     ;;
   6132   esac
   6133   ;;
   6134 
   6135 tpf*)
   6136   lt_cv_deplibs_check_method=pass_all
   6137   ;;
   6138 os2*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 esac
   6142 
   6143 fi
   6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6145 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6146 
   6147 file_magic_glob=
   6148 want_nocaseglob=no
   6149 if test "$build" = "$host"; then
   6150   case $host_os in
   6151   mingw* | pw32*)
   6152     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6153       want_nocaseglob=yes
   6154     else
   6155       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6156     fi
   6157     ;;
   6158   esac
   6159 fi
   6160 
   6161 file_magic_cmd=$lt_cv_file_magic_cmd
   6162 deplibs_check_method=$lt_cv_deplibs_check_method
   6163 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 if test -n "$ac_tool_prefix"; then
   6187   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6188 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6190 printf %s "checking for $ac_word... " >&6; }
   6191 if test ${ac_cv_prog_DLLTOOL+y}
   6192 then :
   6193   printf %s "(cached) " >&6
   6194 else $as_nop
   6195   if test -n "$DLLTOOL"; then
   6196   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6197 else
   6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6199 for as_dir in $PATH
   6200 do
   6201   IFS=$as_save_IFS
   6202   case $as_dir in #(((
   6203     '') as_dir=./ ;;
   6204     */) ;;
   6205     *) as_dir=$as_dir/ ;;
   6206   esac
   6207     for ac_exec_ext in '' $ac_executable_extensions; do
   6208   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6209     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6210     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6211     break 2
   6212   fi
   6213 done
   6214   done
   6215 IFS=$as_save_IFS
   6216 
   6217 fi
   6218 fi
   6219 DLLTOOL=$ac_cv_prog_DLLTOOL
   6220 if test -n "$DLLTOOL"; then
   6221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6222 printf "%s\n" "$DLLTOOL" >&6; }
   6223 else
   6224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6225 printf "%s\n" "no" >&6; }
   6226 fi
   6227 
   6228 
   6229 fi
   6230 if test -z "$ac_cv_prog_DLLTOOL"; then
   6231   ac_ct_DLLTOOL=$DLLTOOL
   6232   # Extract the first word of "dlltool", so it can be a program name with args.
   6233 set dummy dlltool; ac_word=$2
   6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6235 printf %s "checking for $ac_word... " >&6; }
   6236 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6237 then :
   6238   printf %s "(cached) " >&6
   6239 else $as_nop
   6240   if test -n "$ac_ct_DLLTOOL"; then
   6241   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6242 else
   6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6244 for as_dir in $PATH
   6245 do
   6246   IFS=$as_save_IFS
   6247   case $as_dir in #(((
   6248     '') as_dir=./ ;;
   6249     */) ;;
   6250     *) as_dir=$as_dir/ ;;
   6251   esac
   6252     for ac_exec_ext in '' $ac_executable_extensions; do
   6253   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6254     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6255     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6256     break 2
   6257   fi
   6258 done
   6259   done
   6260 IFS=$as_save_IFS
   6261 
   6262 fi
   6263 fi
   6264 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6265 if test -n "$ac_ct_DLLTOOL"; then
   6266   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6267 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6268 else
   6269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6270 printf "%s\n" "no" >&6; }
   6271 fi
   6272 
   6273   if test "x$ac_ct_DLLTOOL" = x; then
   6274     DLLTOOL="false"
   6275   else
   6276     case $cross_compiling:$ac_tool_warned in
   6277 yes:)
   6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6279 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6280 ac_tool_warned=yes ;;
   6281 esac
   6282     DLLTOOL=$ac_ct_DLLTOOL
   6283   fi
   6284 else
   6285   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6286 fi
   6287 
   6288 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6300 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6301 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6302 then :
   6303   printf %s "(cached) " >&6
   6304 else $as_nop
   6305   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6306 
   6307 case $host_os in
   6308 cygwin* | mingw* | pw32* | cegcc*)
   6309   # two different shell functions defined in ltmain.sh;
   6310   # decide which one to use based on capabilities of $DLLTOOL
   6311   case `$DLLTOOL --help 2>&1` in
   6312   *--identify-strict*)
   6313     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6314     ;;
   6315   *)
   6316     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6317     ;;
   6318   esac
   6319   ;;
   6320 *)
   6321   # fallback: assume linklib IS sharedlib
   6322   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6323   ;;
   6324 esac
   6325 
   6326 fi
   6327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6328 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6329 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6330 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 if test -n "$ac_tool_prefix"; then
   6340   for ac_prog in ar
   6341   do
   6342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6345 printf %s "checking for $ac_word... " >&6; }
   6346 if test ${ac_cv_prog_AR+y}
   6347 then :
   6348   printf %s "(cached) " >&6
   6349 else $as_nop
   6350   if test -n "$AR"; then
   6351   ac_cv_prog_AR="$AR" # Let the user override the test.
   6352 else
   6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6354 for as_dir in $PATH
   6355 do
   6356   IFS=$as_save_IFS
   6357   case $as_dir in #(((
   6358     '') as_dir=./ ;;
   6359     */) ;;
   6360     *) as_dir=$as_dir/ ;;
   6361   esac
   6362     for ac_exec_ext in '' $ac_executable_extensions; do
   6363   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6364     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6365     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6366     break 2
   6367   fi
   6368 done
   6369   done
   6370 IFS=$as_save_IFS
   6371 
   6372 fi
   6373 fi
   6374 AR=$ac_cv_prog_AR
   6375 if test -n "$AR"; then
   6376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6377 printf "%s\n" "$AR" >&6; }
   6378 else
   6379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6380 printf "%s\n" "no" >&6; }
   6381 fi
   6382 
   6383 
   6384     test -n "$AR" && break
   6385   done
   6386 fi
   6387 if test -z "$AR"; then
   6388   ac_ct_AR=$AR
   6389   for ac_prog in ar
   6390 do
   6391   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6392 set dummy $ac_prog; ac_word=$2
   6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6394 printf %s "checking for $ac_word... " >&6; }
   6395 if test ${ac_cv_prog_ac_ct_AR+y}
   6396 then :
   6397   printf %s "(cached) " >&6
   6398 else $as_nop
   6399   if test -n "$ac_ct_AR"; then
   6400   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6401 else
   6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6403 for as_dir in $PATH
   6404 do
   6405   IFS=$as_save_IFS
   6406   case $as_dir in #(((
   6407     '') as_dir=./ ;;
   6408     */) ;;
   6409     *) as_dir=$as_dir/ ;;
   6410   esac
   6411     for ac_exec_ext in '' $ac_executable_extensions; do
   6412   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6413     ac_cv_prog_ac_ct_AR="$ac_prog"
   6414     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6415     break 2
   6416   fi
   6417 done
   6418   done
   6419 IFS=$as_save_IFS
   6420 
   6421 fi
   6422 fi
   6423 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6424 if test -n "$ac_ct_AR"; then
   6425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6426 printf "%s\n" "$ac_ct_AR" >&6; }
   6427 else
   6428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6429 printf "%s\n" "no" >&6; }
   6430 fi
   6431 
   6432 
   6433   test -n "$ac_ct_AR" && break
   6434 done
   6435 
   6436   if test "x$ac_ct_AR" = x; then
   6437     AR="false"
   6438   else
   6439     case $cross_compiling:$ac_tool_warned in
   6440 yes:)
   6441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6442 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6443 ac_tool_warned=yes ;;
   6444 esac
   6445     AR=$ac_ct_AR
   6446   fi
   6447 fi
   6448 
   6449 : ${AR=ar}
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6457 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6458 # higher priority because thats what people were doing historically (setting
   6459 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6460 # variable obsoleted/removed.
   6461 
   6462 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6463 lt_ar_flags=$AR_FLAGS
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6471 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6479 printf %s "checking for archiver @FILE support... " >&6; }
   6480 if test ${lt_cv_ar_at_file+y}
   6481 then :
   6482   printf %s "(cached) " >&6
   6483 else $as_nop
   6484   lt_cv_ar_at_file=no
   6485    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6486 /* end confdefs.h.  */
   6487 
   6488 int
   6489 main (void)
   6490 {
   6491 
   6492   ;
   6493   return 0;
   6494 }
   6495 _ACEOF
   6496 if ac_fn_c_try_compile "$LINENO"
   6497 then :
   6498   echo conftest.$ac_objext > conftest.lst
   6499       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6500       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6501   (eval $lt_ar_try) 2>&5
   6502   ac_status=$?
   6503   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6504   test $ac_status = 0; }
   6505       if test 0 -eq "$ac_status"; then
   6506 	# Ensure the archiver fails upon bogus file names.
   6507 	rm -f conftest.$ac_objext libconftest.a
   6508 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6509   (eval $lt_ar_try) 2>&5
   6510   ac_status=$?
   6511   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6512   test $ac_status = 0; }
   6513 	if test 0 -ne "$ac_status"; then
   6514           lt_cv_ar_at_file=@
   6515         fi
   6516       fi
   6517       rm -f conftest.* libconftest.a
   6518 
   6519 fi
   6520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6521 
   6522 fi
   6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6524 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6525 
   6526 if test no = "$lt_cv_ar_at_file"; then
   6527   archiver_list_spec=
   6528 else
   6529   archiver_list_spec=$lt_cv_ar_at_file
   6530 fi
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 if test -n "$ac_tool_prefix"; then
   6539   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6540 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 printf %s "checking for $ac_word... " >&6; }
   6543 if test ${ac_cv_prog_STRIP+y}
   6544 then :
   6545   printf %s "(cached) " >&6
   6546 else $as_nop
   6547   if test -n "$STRIP"; then
   6548   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6549 else
   6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6551 for as_dir in $PATH
   6552 do
   6553   IFS=$as_save_IFS
   6554   case $as_dir in #(((
   6555     '') as_dir=./ ;;
   6556     */) ;;
   6557     *) as_dir=$as_dir/ ;;
   6558   esac
   6559     for ac_exec_ext in '' $ac_executable_extensions; do
   6560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6561     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6563     break 2
   6564   fi
   6565 done
   6566   done
   6567 IFS=$as_save_IFS
   6568 
   6569 fi
   6570 fi
   6571 STRIP=$ac_cv_prog_STRIP
   6572 if test -n "$STRIP"; then
   6573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6574 printf "%s\n" "$STRIP" >&6; }
   6575 else
   6576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6577 printf "%s\n" "no" >&6; }
   6578 fi
   6579 
   6580 
   6581 fi
   6582 if test -z "$ac_cv_prog_STRIP"; then
   6583   ac_ct_STRIP=$STRIP
   6584   # Extract the first word of "strip", so it can be a program name with args.
   6585 set dummy strip; ac_word=$2
   6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6587 printf %s "checking for $ac_word... " >&6; }
   6588 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6589 then :
   6590   printf %s "(cached) " >&6
   6591 else $as_nop
   6592   if test -n "$ac_ct_STRIP"; then
   6593   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6594 else
   6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6596 for as_dir in $PATH
   6597 do
   6598   IFS=$as_save_IFS
   6599   case $as_dir in #(((
   6600     '') as_dir=./ ;;
   6601     */) ;;
   6602     *) as_dir=$as_dir/ ;;
   6603   esac
   6604     for ac_exec_ext in '' $ac_executable_extensions; do
   6605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6606     ac_cv_prog_ac_ct_STRIP="strip"
   6607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6608     break 2
   6609   fi
   6610 done
   6611   done
   6612 IFS=$as_save_IFS
   6613 
   6614 fi
   6615 fi
   6616 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6617 if test -n "$ac_ct_STRIP"; then
   6618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6619 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6620 else
   6621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6622 printf "%s\n" "no" >&6; }
   6623 fi
   6624 
   6625   if test "x$ac_ct_STRIP" = x; then
   6626     STRIP=":"
   6627   else
   6628     case $cross_compiling:$ac_tool_warned in
   6629 yes:)
   6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6631 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6632 ac_tool_warned=yes ;;
   6633 esac
   6634     STRIP=$ac_ct_STRIP
   6635   fi
   6636 else
   6637   STRIP="$ac_cv_prog_STRIP"
   6638 fi
   6639 
   6640 test -z "$STRIP" && STRIP=:
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 if test -n "$ac_tool_prefix"; then
   6648   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6649 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6651 printf %s "checking for $ac_word... " >&6; }
   6652 if test ${ac_cv_prog_RANLIB+y}
   6653 then :
   6654   printf %s "(cached) " >&6
   6655 else $as_nop
   6656   if test -n "$RANLIB"; then
   6657   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6658 else
   6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6660 for as_dir in $PATH
   6661 do
   6662   IFS=$as_save_IFS
   6663   case $as_dir in #(((
   6664     '') as_dir=./ ;;
   6665     */) ;;
   6666     *) as_dir=$as_dir/ ;;
   6667   esac
   6668     for ac_exec_ext in '' $ac_executable_extensions; do
   6669   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6670     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6671     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6672     break 2
   6673   fi
   6674 done
   6675   done
   6676 IFS=$as_save_IFS
   6677 
   6678 fi
   6679 fi
   6680 RANLIB=$ac_cv_prog_RANLIB
   6681 if test -n "$RANLIB"; then
   6682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6683 printf "%s\n" "$RANLIB" >&6; }
   6684 else
   6685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6686 printf "%s\n" "no" >&6; }
   6687 fi
   6688 
   6689 
   6690 fi
   6691 if test -z "$ac_cv_prog_RANLIB"; then
   6692   ac_ct_RANLIB=$RANLIB
   6693   # Extract the first word of "ranlib", so it can be a program name with args.
   6694 set dummy ranlib; ac_word=$2
   6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6696 printf %s "checking for $ac_word... " >&6; }
   6697 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6698 then :
   6699   printf %s "(cached) " >&6
   6700 else $as_nop
   6701   if test -n "$ac_ct_RANLIB"; then
   6702   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6703 else
   6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6705 for as_dir in $PATH
   6706 do
   6707   IFS=$as_save_IFS
   6708   case $as_dir in #(((
   6709     '') as_dir=./ ;;
   6710     */) ;;
   6711     *) as_dir=$as_dir/ ;;
   6712   esac
   6713     for ac_exec_ext in '' $ac_executable_extensions; do
   6714   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6715     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6716     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6717     break 2
   6718   fi
   6719 done
   6720   done
   6721 IFS=$as_save_IFS
   6722 
   6723 fi
   6724 fi
   6725 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6726 if test -n "$ac_ct_RANLIB"; then
   6727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6728 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6729 else
   6730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6731 printf "%s\n" "no" >&6; }
   6732 fi
   6733 
   6734   if test "x$ac_ct_RANLIB" = x; then
   6735     RANLIB=":"
   6736   else
   6737     case $cross_compiling:$ac_tool_warned in
   6738 yes:)
   6739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6740 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6741 ac_tool_warned=yes ;;
   6742 esac
   6743     RANLIB=$ac_ct_RANLIB
   6744   fi
   6745 else
   6746   RANLIB="$ac_cv_prog_RANLIB"
   6747 fi
   6748 
   6749 test -z "$RANLIB" && RANLIB=:
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 # Determine commands to create old-style static archives.
   6757 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6758 old_postinstall_cmds='chmod 644 $oldlib'
   6759 old_postuninstall_cmds=
   6760 
   6761 if test -n "$RANLIB"; then
   6762   case $host_os in
   6763   bitrig* | openbsd*)
   6764     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6765     ;;
   6766   *)
   6767     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6768     ;;
   6769   esac
   6770   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6771 fi
   6772 
   6773 case $host_os in
   6774   darwin*)
   6775     lock_old_archive_extraction=yes ;;
   6776   *)
   6777     lock_old_archive_extraction=no ;;
   6778 esac
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 # If no C compiler was specified, use CC.
   6819 LTCC=${LTCC-"$CC"}
   6820 
   6821 # If no C compiler flags were specified, use CFLAGS.
   6822 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6823 
   6824 # Allow CC to be a program name with arguments.
   6825 compiler=$CC
   6826 
   6827 
   6828 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6830 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6831 if test ${lt_cv_sys_global_symbol_pipe+y}
   6832 then :
   6833   printf %s "(cached) " >&6
   6834 else $as_nop
   6835 
   6836 # These are sane defaults that work on at least a few old systems.
   6837 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6838 
   6839 # Character class describing NM global symbol codes.
   6840 symcode='[BCDEGRST]'
   6841 
   6842 # Regexp to match symbols that can be accessed directly from C.
   6843 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6844 
   6845 # Define system-specific variables.
   6846 case $host_os in
   6847 aix*)
   6848   symcode='[BCDT]'
   6849   ;;
   6850 cygwin* | mingw* | pw32* | cegcc*)
   6851   symcode='[ABCDGISTW]'
   6852   ;;
   6853 hpux*)
   6854   if test ia64 = "$host_cpu"; then
   6855     symcode='[ABCDEGRST]'
   6856   fi
   6857   ;;
   6858 irix* | nonstopux*)
   6859   symcode='[BCDEGRST]'
   6860   ;;
   6861 osf*)
   6862   symcode='[BCDEGQRST]'
   6863   ;;
   6864 solaris*)
   6865   symcode='[BDRT]'
   6866   ;;
   6867 sco3.2v5*)
   6868   symcode='[DT]'
   6869   ;;
   6870 sysv4.2uw2*)
   6871   symcode='[DT]'
   6872   ;;
   6873 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6874   symcode='[ABDT]'
   6875   ;;
   6876 sysv4)
   6877   symcode='[DFNSTU]'
   6878   ;;
   6879 esac
   6880 
   6881 # If we're using GNU nm, then use its standard symbol codes.
   6882 case `$NM -V 2>&1` in
   6883 *GNU* | *'with BFD'*)
   6884   symcode='[ABCDGIRSTW]' ;;
   6885 esac
   6886 
   6887 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6888   # Gets list of data symbols to import.
   6889   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6890   # Adjust the below global symbol transforms to fixup imported variables.
   6891   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6892   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6893   lt_c_name_lib_hook="\
   6894   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6895   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6896 else
   6897   # Disable hooks by default.
   6898   lt_cv_sys_global_symbol_to_import=
   6899   lt_cdecl_hook=
   6900   lt_c_name_hook=
   6901   lt_c_name_lib_hook=
   6902 fi
   6903 
   6904 # Transform an extracted symbol line into a proper C declaration.
   6905 # Some systems (esp. on ia64) link data and code symbols differently,
   6906 # so use this general approach.
   6907 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6908 $lt_cdecl_hook\
   6909 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6910 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6911 
   6912 # Transform an extracted symbol line into symbol name and symbol address
   6913 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6914 $lt_c_name_hook\
   6915 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6916 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6917 
   6918 # Transform an extracted symbol line into symbol name with lib prefix and
   6919 # symbol address.
   6920 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6921 $lt_c_name_lib_hook\
   6922 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6923 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6924 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6925 
   6926 # Handle CRLF in mingw tool chain
   6927 opt_cr=
   6928 case $build_os in
   6929 mingw*)
   6930   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6931   ;;
   6932 esac
   6933 
   6934 # Try without a prefix underscore, then with it.
   6935 for ac_symprfx in "" "_"; do
   6936 
   6937   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6938   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6939 
   6940   # Write the raw and C identifiers.
   6941   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6942     # Fake it for dumpbin and say T for any non-static function,
   6943     # D for any global variable and I for any imported variable.
   6944     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6945     # which start with @ or ?.
   6946     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6947 "     {last_section=section; section=\$ 3};"\
   6948 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6949 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6950 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6951 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6952 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6953 "     \$ 0!~/External *\|/{next};"\
   6954 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6955 "     {if(hide[section]) next};"\
   6956 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6957 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6958 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6959 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6960 "     ' prfx=^$ac_symprfx"
   6961   else
   6962     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6963   fi
   6964   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6965 
   6966   # Check to see that the pipe works correctly.
   6967   pipe_works=no
   6968 
   6969   rm -f conftest*
   6970   cat > conftest.$ac_ext <<_LT_EOF
   6971 #ifdef __cplusplus
   6972 extern "C" {
   6973 #endif
   6974 char nm_test_var;
   6975 void nm_test_func(void);
   6976 void nm_test_func(void){}
   6977 #ifdef __cplusplus
   6978 }
   6979 #endif
   6980 int main(){nm_test_var='a';nm_test_func();return(0);}
   6981 _LT_EOF
   6982 
   6983   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6984   (eval $ac_compile) 2>&5
   6985   ac_status=$?
   6986   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6987   test $ac_status = 0; }; then
   6988     # Now try to grab the symbols.
   6989     nlist=conftest.nm
   6990     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6991   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6992   ac_status=$?
   6993   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6994   test $ac_status = 0; } && test -s "$nlist"; then
   6995       # Try sorting and uniquifying the output.
   6996       if sort "$nlist" | uniq > "$nlist"T; then
   6997 	mv -f "$nlist"T "$nlist"
   6998       else
   6999 	rm -f "$nlist"T
   7000       fi
   7001 
   7002       # Make sure that we snagged all the symbols we need.
   7003       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7004 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7005 	  cat <<_LT_EOF > conftest.$ac_ext
   7006 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7007 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7008 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7009    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7010 # define LT_DLSYM_CONST
   7011 #elif defined __osf__
   7012 /* This system does not cope well with relocations in const data.  */
   7013 # define LT_DLSYM_CONST
   7014 #else
   7015 # define LT_DLSYM_CONST const
   7016 #endif
   7017 
   7018 #ifdef __cplusplus
   7019 extern "C" {
   7020 #endif
   7021 
   7022 _LT_EOF
   7023 	  # Now generate the symbol file.
   7024 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7025 
   7026 	  cat <<_LT_EOF >> conftest.$ac_ext
   7027 
   7028 /* The mapping between symbol names and symbols.  */
   7029 LT_DLSYM_CONST struct {
   7030   const char *name;
   7031   void       *address;
   7032 }
   7033 lt__PROGRAM__LTX_preloaded_symbols[] =
   7034 {
   7035   { "@PROGRAM@", (void *) 0 },
   7036 _LT_EOF
   7037 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7038 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7039   {0, (void *) 0}
   7040 };
   7041 
   7042 /* This works around a problem in FreeBSD linker */
   7043 #ifdef FREEBSD_WORKAROUND
   7044 static const void *lt_preloaded_setup() {
   7045   return lt__PROGRAM__LTX_preloaded_symbols;
   7046 }
   7047 #endif
   7048 
   7049 #ifdef __cplusplus
   7050 }
   7051 #endif
   7052 _LT_EOF
   7053 	  # Now try linking the two files.
   7054 	  mv conftest.$ac_objext conftstm.$ac_objext
   7055 	  lt_globsym_save_LIBS=$LIBS
   7056 	  lt_globsym_save_CFLAGS=$CFLAGS
   7057 	  LIBS=conftstm.$ac_objext
   7058 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7059 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7060   (eval $ac_link) 2>&5
   7061   ac_status=$?
   7062   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7063   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7064 	    pipe_works=yes
   7065 	  fi
   7066 	  LIBS=$lt_globsym_save_LIBS
   7067 	  CFLAGS=$lt_globsym_save_CFLAGS
   7068 	else
   7069 	  echo "cannot find nm_test_func in $nlist" >&5
   7070 	fi
   7071       else
   7072 	echo "cannot find nm_test_var in $nlist" >&5
   7073       fi
   7074     else
   7075       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7076     fi
   7077   else
   7078     echo "$progname: failed program was:" >&5
   7079     cat conftest.$ac_ext >&5
   7080   fi
   7081   rm -rf conftest* conftst*
   7082 
   7083   # Do not use the global_symbol_pipe unless it works.
   7084   if test yes = "$pipe_works"; then
   7085     break
   7086   else
   7087     lt_cv_sys_global_symbol_pipe=
   7088   fi
   7089 done
   7090 
   7091 fi
   7092 
   7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7094   lt_cv_sys_global_symbol_to_cdecl=
   7095 fi
   7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7098 printf "%s\n" "failed" >&6; }
   7099 else
   7100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7101 printf "%s\n" "ok" >&6; }
   7102 fi
   7103 
   7104 # Response file support.
   7105 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7106   nm_file_list_spec='@'
   7107 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7108   nm_file_list_spec='@'
   7109 fi
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7148 printf %s "checking for sysroot... " >&6; }
   7149 
   7150 # Check whether --with-sysroot was given.
   7151 if test ${with_sysroot+y}
   7152 then :
   7153   withval=$with_sysroot;
   7154 else $as_nop
   7155   with_sysroot=no
   7156 fi
   7157 
   7158 
   7159 lt_sysroot=
   7160 case $with_sysroot in #(
   7161  yes)
   7162    if test yes = "$GCC"; then
   7163      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7164    fi
   7165    ;; #(
   7166  /*)
   7167    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7168    ;; #(
   7169  no|'')
   7170    ;; #(
   7171  *)
   7172    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7173 printf "%s\n" "$with_sysroot" >&6; }
   7174    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7175    ;;
   7176 esac
   7177 
   7178  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7179 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7186 printf %s "checking for a working dd... " >&6; }
   7187 if test ${ac_cv_path_lt_DD+y}
   7188 then :
   7189   printf %s "(cached) " >&6
   7190 else $as_nop
   7191   printf 0123456789abcdef0123456789abcdef >conftest.i
   7192 cat conftest.i conftest.i >conftest2.i
   7193 : ${lt_DD:=$DD}
   7194 if test -z "$lt_DD"; then
   7195   ac_path_lt_DD_found=false
   7196   # Loop through the user's path and test for each of PROGNAME-LIST
   7197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7198 for as_dir in $PATH
   7199 do
   7200   IFS=$as_save_IFS
   7201   case $as_dir in #(((
   7202     '') as_dir=./ ;;
   7203     */) ;;
   7204     *) as_dir=$as_dir/ ;;
   7205   esac
   7206     for ac_prog in dd
   7207    do
   7208     for ac_exec_ext in '' $ac_executable_extensions; do
   7209       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7210       as_fn_executable_p "$ac_path_lt_DD" || continue
   7211 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7212   cmp -s conftest.i conftest.out \
   7213   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7214 fi
   7215       $ac_path_lt_DD_found && break 3
   7216     done
   7217   done
   7218   done
   7219 IFS=$as_save_IFS
   7220   if test -z "$ac_cv_path_lt_DD"; then
   7221     :
   7222   fi
   7223 else
   7224   ac_cv_path_lt_DD=$lt_DD
   7225 fi
   7226 
   7227 rm -f conftest.i conftest2.i conftest.out
   7228 fi
   7229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7230 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7231 
   7232 
   7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7234 printf %s "checking how to truncate binary pipes... " >&6; }
   7235 if test ${lt_cv_truncate_bin+y}
   7236 then :
   7237   printf %s "(cached) " >&6
   7238 else $as_nop
   7239   printf 0123456789abcdef0123456789abcdef >conftest.i
   7240 cat conftest.i conftest.i >conftest2.i
   7241 lt_cv_truncate_bin=
   7242 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7243   cmp -s conftest.i conftest.out \
   7244   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7245 fi
   7246 rm -f conftest.i conftest2.i conftest.out
   7247 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7248 fi
   7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7250 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7259 func_cc_basename ()
   7260 {
   7261     for cc_temp in $*""; do
   7262       case $cc_temp in
   7263         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7264         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7265         \-*) ;;
   7266         *) break;;
   7267       esac
   7268     done
   7269     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7270 }
   7271 
   7272 # Check whether --enable-libtool-lock was given.
   7273 if test ${enable_libtool_lock+y}
   7274 then :
   7275   enableval=$enable_libtool_lock;
   7276 fi
   7277 
   7278 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7279 
   7280 # Some flags need to be propagated to the compiler or linker for good
   7281 # libtool support.
   7282 case $host in
   7283 ia64-*-hpux*)
   7284   # Find out what ABI is being produced by ac_compile, and set mode
   7285   # options accordingly.
   7286   echo 'int i;' > conftest.$ac_ext
   7287   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7288   (eval $ac_compile) 2>&5
   7289   ac_status=$?
   7290   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7291   test $ac_status = 0; }; then
   7292     case `$FILECMD conftest.$ac_objext` in
   7293       *ELF-32*)
   7294 	HPUX_IA64_MODE=32
   7295 	;;
   7296       *ELF-64*)
   7297 	HPUX_IA64_MODE=64
   7298 	;;
   7299     esac
   7300   fi
   7301   rm -rf conftest*
   7302   ;;
   7303 *-*-irix6*)
   7304   # Find out what ABI is being produced by ac_compile, and set linker
   7305   # options accordingly.
   7306   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7307   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7308   (eval $ac_compile) 2>&5
   7309   ac_status=$?
   7310   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7311   test $ac_status = 0; }; then
   7312     if test yes = "$lt_cv_prog_gnu_ld"; then
   7313       case `$FILECMD conftest.$ac_objext` in
   7314 	*32-bit*)
   7315 	  LD="${LD-ld} -melf32bsmip"
   7316 	  ;;
   7317 	*N32*)
   7318 	  LD="${LD-ld} -melf32bmipn32"
   7319 	  ;;
   7320 	*64-bit*)
   7321 	  LD="${LD-ld} -melf64bmip"
   7322 	;;
   7323       esac
   7324     else
   7325       case `$FILECMD conftest.$ac_objext` in
   7326 	*32-bit*)
   7327 	  LD="${LD-ld} -32"
   7328 	  ;;
   7329 	*N32*)
   7330 	  LD="${LD-ld} -n32"
   7331 	  ;;
   7332 	*64-bit*)
   7333 	  LD="${LD-ld} -64"
   7334 	  ;;
   7335       esac
   7336     fi
   7337   fi
   7338   rm -rf conftest*
   7339   ;;
   7340 
   7341 mips64*-*linux*)
   7342   # Find out what ABI is being produced by ac_compile, and set linker
   7343   # options accordingly.
   7344   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7345   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7346   (eval $ac_compile) 2>&5
   7347   ac_status=$?
   7348   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7349   test $ac_status = 0; }; then
   7350     emul=elf
   7351     case `$FILECMD conftest.$ac_objext` in
   7352       *32-bit*)
   7353 	emul="${emul}32"
   7354 	;;
   7355       *64-bit*)
   7356 	emul="${emul}64"
   7357 	;;
   7358     esac
   7359     case `$FILECMD conftest.$ac_objext` in
   7360       *MSB*)
   7361 	emul="${emul}btsmip"
   7362 	;;
   7363       *LSB*)
   7364 	emul="${emul}ltsmip"
   7365 	;;
   7366     esac
   7367     case `$FILECMD conftest.$ac_objext` in
   7368       *N32*)
   7369 	emul="${emul}n32"
   7370 	;;
   7371     esac
   7372     LD="${LD-ld} -m $emul"
   7373   fi
   7374   rm -rf conftest*
   7375   ;;
   7376 
   7377 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7378 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7379   # Find out what ABI is being produced by ac_compile, and set linker
   7380   # options accordingly.  Note that the listed cases only cover the
   7381   # situations where additional linker options are needed (such as when
   7382   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7383   # vice versa); the common cases where no linker options are needed do
   7384   # not appear in the list.
   7385   echo 'int i;' > conftest.$ac_ext
   7386   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7387   (eval $ac_compile) 2>&5
   7388   ac_status=$?
   7389   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7390   test $ac_status = 0; }; then
   7391     case `$FILECMD conftest.o` in
   7392       *32-bit*)
   7393 	case $host in
   7394 	  x86_64-*kfreebsd*-gnu)
   7395 	    LD="${LD-ld} -m elf_i386_fbsd"
   7396 	    ;;
   7397 	  x86_64-*linux*)
   7398 	    case `$FILECMD conftest.o` in
   7399 	      *x86-64*)
   7400 		LD="${LD-ld} -m elf32_x86_64"
   7401 		;;
   7402 	      *)
   7403 		LD="${LD-ld} -m elf_i386"
   7404 		;;
   7405 	    esac
   7406 	    ;;
   7407 	  powerpc64le-*linux*)
   7408 	    LD="${LD-ld} -m elf32lppclinux"
   7409 	    ;;
   7410 	  powerpc64-*linux*)
   7411 	    LD="${LD-ld} -m elf32ppclinux"
   7412 	    ;;
   7413 	  s390x-*linux*)
   7414 	    LD="${LD-ld} -m elf_s390"
   7415 	    ;;
   7416 	  sparc64-*linux*)
   7417 	    LD="${LD-ld} -m elf32_sparc"
   7418 	    ;;
   7419 	esac
   7420 	;;
   7421       *64-bit*)
   7422 	case $host in
   7423 	  x86_64-*kfreebsd*-gnu)
   7424 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7425 	    ;;
   7426 	  x86_64-*linux*)
   7427 	    LD="${LD-ld} -m elf_x86_64"
   7428 	    ;;
   7429 	  powerpcle-*linux*)
   7430 	    LD="${LD-ld} -m elf64lppc"
   7431 	    ;;
   7432 	  powerpc-*linux*)
   7433 	    LD="${LD-ld} -m elf64ppc"
   7434 	    ;;
   7435 	  s390*-*linux*|s390*-*tpf*)
   7436 	    LD="${LD-ld} -m elf64_s390"
   7437 	    ;;
   7438 	  sparc*-*linux*)
   7439 	    LD="${LD-ld} -m elf64_sparc"
   7440 	    ;;
   7441 	esac
   7442 	;;
   7443     esac
   7444   fi
   7445   rm -rf conftest*
   7446   ;;
   7447 
   7448 *-*-sco3.2v5*)
   7449   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7450   SAVE_CFLAGS=$CFLAGS
   7451   CFLAGS="$CFLAGS -belf"
   7452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7453 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7454 if test ${lt_cv_cc_needs_belf+y}
   7455 then :
   7456   printf %s "(cached) " >&6
   7457 else $as_nop
   7458   ac_ext=c
   7459 ac_cpp='$CPP $CPPFLAGS'
   7460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7463 
   7464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7465 /* end confdefs.h.  */
   7466 
   7467 int
   7468 main (void)
   7469 {
   7470 
   7471   ;
   7472   return 0;
   7473 }
   7474 _ACEOF
   7475 if ac_fn_c_try_link "$LINENO"
   7476 then :
   7477   lt_cv_cc_needs_belf=yes
   7478 else $as_nop
   7479   lt_cv_cc_needs_belf=no
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7482     conftest$ac_exeext conftest.$ac_ext
   7483      ac_ext=c
   7484 ac_cpp='$CPP $CPPFLAGS'
   7485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7488 
   7489 fi
   7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7491 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7492   if test yes != "$lt_cv_cc_needs_belf"; then
   7493     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7494     CFLAGS=$SAVE_CFLAGS
   7495   fi
   7496   ;;
   7497 *-*solaris*)
   7498   # Find out what ABI is being produced by ac_compile, and set linker
   7499   # options accordingly.
   7500   echo 'int i;' > conftest.$ac_ext
   7501   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7502   (eval $ac_compile) 2>&5
   7503   ac_status=$?
   7504   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7505   test $ac_status = 0; }; then
   7506     case `$FILECMD conftest.o` in
   7507     *64-bit*)
   7508       case $lt_cv_prog_gnu_ld in
   7509       yes*)
   7510         case $host in
   7511         i?86-*-solaris*|x86_64-*-solaris*)
   7512           LD="${LD-ld} -m elf_x86_64"
   7513           ;;
   7514         sparc*-*-solaris*)
   7515           LD="${LD-ld} -m elf64_sparc"
   7516           ;;
   7517         esac
   7518         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7519         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7520           LD=${LD-ld}_sol2
   7521         fi
   7522         ;;
   7523       *)
   7524 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7525 	  LD="${LD-ld} -64"
   7526 	fi
   7527 	;;
   7528       esac
   7529       ;;
   7530     esac
   7531   fi
   7532   rm -rf conftest*
   7533   ;;
   7534 esac
   7535 
   7536 need_locks=$enable_libtool_lock
   7537 
   7538 if test -n "$ac_tool_prefix"; then
   7539   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7540 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7542 printf %s "checking for $ac_word... " >&6; }
   7543 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7544 then :
   7545   printf %s "(cached) " >&6
   7546 else $as_nop
   7547   if test -n "$MANIFEST_TOOL"; then
   7548   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7549 else
   7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7551 for as_dir in $PATH
   7552 do
   7553   IFS=$as_save_IFS
   7554   case $as_dir in #(((
   7555     '') as_dir=./ ;;
   7556     */) ;;
   7557     *) as_dir=$as_dir/ ;;
   7558   esac
   7559     for ac_exec_ext in '' $ac_executable_extensions; do
   7560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7561     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7563     break 2
   7564   fi
   7565 done
   7566   done
   7567 IFS=$as_save_IFS
   7568 
   7569 fi
   7570 fi
   7571 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7572 if test -n "$MANIFEST_TOOL"; then
   7573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7574 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7575 else
   7576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7577 printf "%s\n" "no" >&6; }
   7578 fi
   7579 
   7580 
   7581 fi
   7582 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7583   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7584   # Extract the first word of "mt", so it can be a program name with args.
   7585 set dummy mt; ac_word=$2
   7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7587 printf %s "checking for $ac_word... " >&6; }
   7588 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7589 then :
   7590   printf %s "(cached) " >&6
   7591 else $as_nop
   7592   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7593   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7594 else
   7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7596 for as_dir in $PATH
   7597 do
   7598   IFS=$as_save_IFS
   7599   case $as_dir in #(((
   7600     '') as_dir=./ ;;
   7601     */) ;;
   7602     *) as_dir=$as_dir/ ;;
   7603   esac
   7604     for ac_exec_ext in '' $ac_executable_extensions; do
   7605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7606     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7608     break 2
   7609   fi
   7610 done
   7611   done
   7612 IFS=$as_save_IFS
   7613 
   7614 fi
   7615 fi
   7616 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7617 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7619 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7620 else
   7621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7622 printf "%s\n" "no" >&6; }
   7623 fi
   7624 
   7625   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7626     MANIFEST_TOOL=":"
   7627   else
   7628     case $cross_compiling:$ac_tool_warned in
   7629 yes:)
   7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7631 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7632 ac_tool_warned=yes ;;
   7633 esac
   7634     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7635   fi
   7636 else
   7637   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7638 fi
   7639 
   7640 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7642 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7643 if test ${lt_cv_path_mainfest_tool+y}
   7644 then :
   7645   printf %s "(cached) " >&6
   7646 else $as_nop
   7647   lt_cv_path_mainfest_tool=no
   7648   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7649   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7650   cat conftest.err >&5
   7651   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7652     lt_cv_path_mainfest_tool=yes
   7653   fi
   7654   rm -f conftest*
   7655 fi
   7656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7657 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7658 if test yes != "$lt_cv_path_mainfest_tool"; then
   7659   MANIFEST_TOOL=:
   7660 fi
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667   case $host_os in
   7668     rhapsody* | darwin*)
   7669     if test -n "$ac_tool_prefix"; then
   7670   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7671 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7673 printf %s "checking for $ac_word... " >&6; }
   7674 if test ${ac_cv_prog_DSYMUTIL+y}
   7675 then :
   7676   printf %s "(cached) " >&6
   7677 else $as_nop
   7678   if test -n "$DSYMUTIL"; then
   7679   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7680 else
   7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7682 for as_dir in $PATH
   7683 do
   7684   IFS=$as_save_IFS
   7685   case $as_dir in #(((
   7686     '') as_dir=./ ;;
   7687     */) ;;
   7688     *) as_dir=$as_dir/ ;;
   7689   esac
   7690     for ac_exec_ext in '' $ac_executable_extensions; do
   7691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7692     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7694     break 2
   7695   fi
   7696 done
   7697   done
   7698 IFS=$as_save_IFS
   7699 
   7700 fi
   7701 fi
   7702 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7703 if test -n "$DSYMUTIL"; then
   7704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7705 printf "%s\n" "$DSYMUTIL" >&6; }
   7706 else
   7707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7708 printf "%s\n" "no" >&6; }
   7709 fi
   7710 
   7711 
   7712 fi
   7713 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7714   ac_ct_DSYMUTIL=$DSYMUTIL
   7715   # Extract the first word of "dsymutil", so it can be a program name with args.
   7716 set dummy dsymutil; ac_word=$2
   7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7718 printf %s "checking for $ac_word... " >&6; }
   7719 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7720 then :
   7721   printf %s "(cached) " >&6
   7722 else $as_nop
   7723   if test -n "$ac_ct_DSYMUTIL"; then
   7724   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7725 else
   7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7727 for as_dir in $PATH
   7728 do
   7729   IFS=$as_save_IFS
   7730   case $as_dir in #(((
   7731     '') as_dir=./ ;;
   7732     */) ;;
   7733     *) as_dir=$as_dir/ ;;
   7734   esac
   7735     for ac_exec_ext in '' $ac_executable_extensions; do
   7736   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7737     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7738     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7739     break 2
   7740   fi
   7741 done
   7742   done
   7743 IFS=$as_save_IFS
   7744 
   7745 fi
   7746 fi
   7747 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7748 if test -n "$ac_ct_DSYMUTIL"; then
   7749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7750 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7751 else
   7752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7753 printf "%s\n" "no" >&6; }
   7754 fi
   7755 
   7756   if test "x$ac_ct_DSYMUTIL" = x; then
   7757     DSYMUTIL=":"
   7758   else
   7759     case $cross_compiling:$ac_tool_warned in
   7760 yes:)
   7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7763 ac_tool_warned=yes ;;
   7764 esac
   7765     DSYMUTIL=$ac_ct_DSYMUTIL
   7766   fi
   7767 else
   7768   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7769 fi
   7770 
   7771     if test -n "$ac_tool_prefix"; then
   7772   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7773 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7775 printf %s "checking for $ac_word... " >&6; }
   7776 if test ${ac_cv_prog_NMEDIT+y}
   7777 then :
   7778   printf %s "(cached) " >&6
   7779 else $as_nop
   7780   if test -n "$NMEDIT"; then
   7781   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7782 else
   7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7784 for as_dir in $PATH
   7785 do
   7786   IFS=$as_save_IFS
   7787   case $as_dir in #(((
   7788     '') as_dir=./ ;;
   7789     */) ;;
   7790     *) as_dir=$as_dir/ ;;
   7791   esac
   7792     for ac_exec_ext in '' $ac_executable_extensions; do
   7793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7794     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7796     break 2
   7797   fi
   7798 done
   7799   done
   7800 IFS=$as_save_IFS
   7801 
   7802 fi
   7803 fi
   7804 NMEDIT=$ac_cv_prog_NMEDIT
   7805 if test -n "$NMEDIT"; then
   7806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7807 printf "%s\n" "$NMEDIT" >&6; }
   7808 else
   7809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7810 printf "%s\n" "no" >&6; }
   7811 fi
   7812 
   7813 
   7814 fi
   7815 if test -z "$ac_cv_prog_NMEDIT"; then
   7816   ac_ct_NMEDIT=$NMEDIT
   7817   # Extract the first word of "nmedit", so it can be a program name with args.
   7818 set dummy nmedit; ac_word=$2
   7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7820 printf %s "checking for $ac_word... " >&6; }
   7821 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7822 then :
   7823   printf %s "(cached) " >&6
   7824 else $as_nop
   7825   if test -n "$ac_ct_NMEDIT"; then
   7826   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7827 else
   7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7829 for as_dir in $PATH
   7830 do
   7831   IFS=$as_save_IFS
   7832   case $as_dir in #(((
   7833     '') as_dir=./ ;;
   7834     */) ;;
   7835     *) as_dir=$as_dir/ ;;
   7836   esac
   7837     for ac_exec_ext in '' $ac_executable_extensions; do
   7838   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7839     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7840     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7841     break 2
   7842   fi
   7843 done
   7844   done
   7845 IFS=$as_save_IFS
   7846 
   7847 fi
   7848 fi
   7849 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7850 if test -n "$ac_ct_NMEDIT"; then
   7851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7852 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7853 else
   7854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7855 printf "%s\n" "no" >&6; }
   7856 fi
   7857 
   7858   if test "x$ac_ct_NMEDIT" = x; then
   7859     NMEDIT=":"
   7860   else
   7861     case $cross_compiling:$ac_tool_warned in
   7862 yes:)
   7863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7864 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7865 ac_tool_warned=yes ;;
   7866 esac
   7867     NMEDIT=$ac_ct_NMEDIT
   7868   fi
   7869 else
   7870   NMEDIT="$ac_cv_prog_NMEDIT"
   7871 fi
   7872 
   7873     if test -n "$ac_tool_prefix"; then
   7874   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7875 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7877 printf %s "checking for $ac_word... " >&6; }
   7878 if test ${ac_cv_prog_LIPO+y}
   7879 then :
   7880   printf %s "(cached) " >&6
   7881 else $as_nop
   7882   if test -n "$LIPO"; then
   7883   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7884 else
   7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7886 for as_dir in $PATH
   7887 do
   7888   IFS=$as_save_IFS
   7889   case $as_dir in #(((
   7890     '') as_dir=./ ;;
   7891     */) ;;
   7892     *) as_dir=$as_dir/ ;;
   7893   esac
   7894     for ac_exec_ext in '' $ac_executable_extensions; do
   7895   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7896     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7897     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7898     break 2
   7899   fi
   7900 done
   7901   done
   7902 IFS=$as_save_IFS
   7903 
   7904 fi
   7905 fi
   7906 LIPO=$ac_cv_prog_LIPO
   7907 if test -n "$LIPO"; then
   7908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7909 printf "%s\n" "$LIPO" >&6; }
   7910 else
   7911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7912 printf "%s\n" "no" >&6; }
   7913 fi
   7914 
   7915 
   7916 fi
   7917 if test -z "$ac_cv_prog_LIPO"; then
   7918   ac_ct_LIPO=$LIPO
   7919   # Extract the first word of "lipo", so it can be a program name with args.
   7920 set dummy lipo; ac_word=$2
   7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7922 printf %s "checking for $ac_word... " >&6; }
   7923 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7924 then :
   7925   printf %s "(cached) " >&6
   7926 else $as_nop
   7927   if test -n "$ac_ct_LIPO"; then
   7928   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7929 else
   7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7931 for as_dir in $PATH
   7932 do
   7933   IFS=$as_save_IFS
   7934   case $as_dir in #(((
   7935     '') as_dir=./ ;;
   7936     */) ;;
   7937     *) as_dir=$as_dir/ ;;
   7938   esac
   7939     for ac_exec_ext in '' $ac_executable_extensions; do
   7940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7941     ac_cv_prog_ac_ct_LIPO="lipo"
   7942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7943     break 2
   7944   fi
   7945 done
   7946   done
   7947 IFS=$as_save_IFS
   7948 
   7949 fi
   7950 fi
   7951 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7952 if test -n "$ac_ct_LIPO"; then
   7953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7954 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7955 else
   7956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7957 printf "%s\n" "no" >&6; }
   7958 fi
   7959 
   7960   if test "x$ac_ct_LIPO" = x; then
   7961     LIPO=":"
   7962   else
   7963     case $cross_compiling:$ac_tool_warned in
   7964 yes:)
   7965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7967 ac_tool_warned=yes ;;
   7968 esac
   7969     LIPO=$ac_ct_LIPO
   7970   fi
   7971 else
   7972   LIPO="$ac_cv_prog_LIPO"
   7973 fi
   7974 
   7975     if test -n "$ac_tool_prefix"; then
   7976   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7977 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7979 printf %s "checking for $ac_word... " >&6; }
   7980 if test ${ac_cv_prog_OTOOL+y}
   7981 then :
   7982   printf %s "(cached) " >&6
   7983 else $as_nop
   7984   if test -n "$OTOOL"; then
   7985   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7986 else
   7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7988 for as_dir in $PATH
   7989 do
   7990   IFS=$as_save_IFS
   7991   case $as_dir in #(((
   7992     '') as_dir=./ ;;
   7993     */) ;;
   7994     *) as_dir=$as_dir/ ;;
   7995   esac
   7996     for ac_exec_ext in '' $ac_executable_extensions; do
   7997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7998     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7999     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8000     break 2
   8001   fi
   8002 done
   8003   done
   8004 IFS=$as_save_IFS
   8005 
   8006 fi
   8007 fi
   8008 OTOOL=$ac_cv_prog_OTOOL
   8009 if test -n "$OTOOL"; then
   8010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8011 printf "%s\n" "$OTOOL" >&6; }
   8012 else
   8013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8014 printf "%s\n" "no" >&6; }
   8015 fi
   8016 
   8017 
   8018 fi
   8019 if test -z "$ac_cv_prog_OTOOL"; then
   8020   ac_ct_OTOOL=$OTOOL
   8021   # Extract the first word of "otool", so it can be a program name with args.
   8022 set dummy otool; ac_word=$2
   8023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8024 printf %s "checking for $ac_word... " >&6; }
   8025 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8026 then :
   8027   printf %s "(cached) " >&6
   8028 else $as_nop
   8029   if test -n "$ac_ct_OTOOL"; then
   8030   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8031 else
   8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8033 for as_dir in $PATH
   8034 do
   8035   IFS=$as_save_IFS
   8036   case $as_dir in #(((
   8037     '') as_dir=./ ;;
   8038     */) ;;
   8039     *) as_dir=$as_dir/ ;;
   8040   esac
   8041     for ac_exec_ext in '' $ac_executable_extensions; do
   8042   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8043     ac_cv_prog_ac_ct_OTOOL="otool"
   8044     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8045     break 2
   8046   fi
   8047 done
   8048   done
   8049 IFS=$as_save_IFS
   8050 
   8051 fi
   8052 fi
   8053 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8054 if test -n "$ac_ct_OTOOL"; then
   8055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8056 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8057 else
   8058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8059 printf "%s\n" "no" >&6; }
   8060 fi
   8061 
   8062   if test "x$ac_ct_OTOOL" = x; then
   8063     OTOOL=":"
   8064   else
   8065     case $cross_compiling:$ac_tool_warned in
   8066 yes:)
   8067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8068 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8069 ac_tool_warned=yes ;;
   8070 esac
   8071     OTOOL=$ac_ct_OTOOL
   8072   fi
   8073 else
   8074   OTOOL="$ac_cv_prog_OTOOL"
   8075 fi
   8076 
   8077     if test -n "$ac_tool_prefix"; then
   8078   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8079 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8081 printf %s "checking for $ac_word... " >&6; }
   8082 if test ${ac_cv_prog_OTOOL64+y}
   8083 then :
   8084   printf %s "(cached) " >&6
   8085 else $as_nop
   8086   if test -n "$OTOOL64"; then
   8087   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8088 else
   8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8090 for as_dir in $PATH
   8091 do
   8092   IFS=$as_save_IFS
   8093   case $as_dir in #(((
   8094     '') as_dir=./ ;;
   8095     */) ;;
   8096     *) as_dir=$as_dir/ ;;
   8097   esac
   8098     for ac_exec_ext in '' $ac_executable_extensions; do
   8099   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8100     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8101     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8102     break 2
   8103   fi
   8104 done
   8105   done
   8106 IFS=$as_save_IFS
   8107 
   8108 fi
   8109 fi
   8110 OTOOL64=$ac_cv_prog_OTOOL64
   8111 if test -n "$OTOOL64"; then
   8112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8113 printf "%s\n" "$OTOOL64" >&6; }
   8114 else
   8115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8116 printf "%s\n" "no" >&6; }
   8117 fi
   8118 
   8119 
   8120 fi
   8121 if test -z "$ac_cv_prog_OTOOL64"; then
   8122   ac_ct_OTOOL64=$OTOOL64
   8123   # Extract the first word of "otool64", so it can be a program name with args.
   8124 set dummy otool64; ac_word=$2
   8125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8126 printf %s "checking for $ac_word... " >&6; }
   8127 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8128 then :
   8129   printf %s "(cached) " >&6
   8130 else $as_nop
   8131   if test -n "$ac_ct_OTOOL64"; then
   8132   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8133 else
   8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8135 for as_dir in $PATH
   8136 do
   8137   IFS=$as_save_IFS
   8138   case $as_dir in #(((
   8139     '') as_dir=./ ;;
   8140     */) ;;
   8141     *) as_dir=$as_dir/ ;;
   8142   esac
   8143     for ac_exec_ext in '' $ac_executable_extensions; do
   8144   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8145     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8146     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8147     break 2
   8148   fi
   8149 done
   8150   done
   8151 IFS=$as_save_IFS
   8152 
   8153 fi
   8154 fi
   8155 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8156 if test -n "$ac_ct_OTOOL64"; then
   8157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8158 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8159 else
   8160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8161 printf "%s\n" "no" >&6; }
   8162 fi
   8163 
   8164   if test "x$ac_ct_OTOOL64" = x; then
   8165     OTOOL64=":"
   8166   else
   8167     case $cross_compiling:$ac_tool_warned in
   8168 yes:)
   8169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8170 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8171 ac_tool_warned=yes ;;
   8172 esac
   8173     OTOOL64=$ac_ct_OTOOL64
   8174   fi
   8175 else
   8176   OTOOL64="$ac_cv_prog_OTOOL64"
   8177 fi
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8206 printf %s "checking for -single_module linker flag... " >&6; }
   8207 if test ${lt_cv_apple_cc_single_mod+y}
   8208 then :
   8209   printf %s "(cached) " >&6
   8210 else $as_nop
   8211   lt_cv_apple_cc_single_mod=no
   8212       if test -z "$LT_MULTI_MODULE"; then
   8213 	# By default we will add the -single_module flag. You can override
   8214 	# by either setting the environment variable LT_MULTI_MODULE
   8215 	# non-empty at configure time, or by adding -multi_module to the
   8216 	# link flags.
   8217 	rm -rf libconftest.dylib*
   8218 	echo "int foo(void){return 1;}" > conftest.c
   8219 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8220 -dynamiclib -Wl,-single_module conftest.c" >&5
   8221 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8222 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8223         _lt_result=$?
   8224 	# If there is a non-empty error log, and "single_module"
   8225 	# appears in it, assume the flag caused a linker warning
   8226         if test -s conftest.err && $GREP single_module conftest.err; then
   8227 	  cat conftest.err >&5
   8228 	# Otherwise, if the output was created with a 0 exit code from
   8229 	# the compiler, it worked.
   8230 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8231 	  lt_cv_apple_cc_single_mod=yes
   8232 	else
   8233 	  cat conftest.err >&5
   8234 	fi
   8235 	rm -rf libconftest.dylib*
   8236 	rm -f conftest.*
   8237       fi
   8238 fi
   8239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8240 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8241 
   8242     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8243 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8244 if test ${lt_cv_ld_exported_symbols_list+y}
   8245 then :
   8246   printf %s "(cached) " >&6
   8247 else $as_nop
   8248   lt_cv_ld_exported_symbols_list=no
   8249       save_LDFLAGS=$LDFLAGS
   8250       echo "_main" > conftest.sym
   8251       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 
   8255 int
   8256 main (void)
   8257 {
   8258 
   8259   ;
   8260   return 0;
   8261 }
   8262 _ACEOF
   8263 if ac_fn_c_try_link "$LINENO"
   8264 then :
   8265   lt_cv_ld_exported_symbols_list=yes
   8266 else $as_nop
   8267   lt_cv_ld_exported_symbols_list=no
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8270     conftest$ac_exeext conftest.$ac_ext
   8271 	LDFLAGS=$save_LDFLAGS
   8272 
   8273 fi
   8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8275 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8276 
   8277     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8278 printf %s "checking for -force_load linker flag... " >&6; }
   8279 if test ${lt_cv_ld_force_load+y}
   8280 then :
   8281   printf %s "(cached) " >&6
   8282 else $as_nop
   8283   lt_cv_ld_force_load=no
   8284       cat > conftest.c << _LT_EOF
   8285 int forced_loaded() { return 2;}
   8286 _LT_EOF
   8287       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8288       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8289       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8290       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8291       echo "$RANLIB libconftest.a" >&5
   8292       $RANLIB libconftest.a 2>&5
   8293       cat > conftest.c << _LT_EOF
   8294 int main() { return 0;}
   8295 _LT_EOF
   8296       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8297       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8298       _lt_result=$?
   8299       if test -s conftest.err && $GREP force_load conftest.err; then
   8300 	cat conftest.err >&5
   8301       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8302 	lt_cv_ld_force_load=yes
   8303       else
   8304 	cat conftest.err >&5
   8305       fi
   8306         rm -f conftest.err libconftest.a conftest conftest.c
   8307         rm -rf conftest.dSYM
   8308 
   8309 fi
   8310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8311 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8312     case $host_os in
   8313     rhapsody* | darwin1.[012])
   8314       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8315     darwin1.*)
   8316       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8317     darwin*)
   8318       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8319         10.[012],*|,*powerpc*-darwin[5-8]*)
   8320           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8321         *)
   8322           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8323       esac
   8324     ;;
   8325   esac
   8326     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8327       _lt_dar_single_mod='$single_module'
   8328     fi
   8329     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8330       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8331     else
   8332       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8333     fi
   8334     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8335       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8336     else
   8337       _lt_dsymutil=
   8338     fi
   8339     ;;
   8340   esac
   8341 
   8342 # func_munge_path_list VARIABLE PATH
   8343 # -----------------------------------
   8344 # VARIABLE is name of variable containing _space_ separated list of
   8345 # directories to be munged by the contents of PATH, which is string
   8346 # having a format:
   8347 # "DIR[:DIR]:"
   8348 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8349 # ":DIR[:DIR]"
   8350 #       string "DIR[ DIR]" will be appended to VARIABLE
   8351 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8352 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8353 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8354 # "DIR[:DIR]"
   8355 #       VARIABLE will be replaced by "DIR[ DIR]"
   8356 func_munge_path_list ()
   8357 {
   8358     case x$2 in
   8359     x)
   8360         ;;
   8361     *:)
   8362         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8363         ;;
   8364     x:*)
   8365         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8366         ;;
   8367     *::*)
   8368         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8369         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8370         ;;
   8371     *)
   8372         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8373         ;;
   8374     esac
   8375 }
   8376 
   8377 ac_header= ac_cache=
   8378 for ac_item in $ac_header_c_list
   8379 do
   8380   if test $ac_cache; then
   8381     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8382     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8383       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8384     fi
   8385     ac_header= ac_cache=
   8386   elif test $ac_header; then
   8387     ac_cache=$ac_item
   8388   else
   8389     ac_header=$ac_item
   8390   fi
   8391 done
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8401 then :
   8402 
   8403 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8404 
   8405 fi
   8406 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8407 "
   8408 if test "x$ac_cv_header_dlfcn_h" = xyes
   8409 then :
   8410   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8411 
   8412 fi
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 # Set options
   8419 
   8420 
   8421 
   8422         enable_dlopen=no
   8423 
   8424 
   8425   enable_win32_dll=no
   8426 
   8427 
   8428             # Check whether --enable-shared was given.
   8429 if test ${enable_shared+y}
   8430 then :
   8431   enableval=$enable_shared; p=${PACKAGE-default}
   8432     case $enableval in
   8433     yes) enable_shared=yes ;;
   8434     no) enable_shared=no ;;
   8435     *)
   8436       enable_shared=no
   8437       # Look at the argument we got.  We use all the common list separators.
   8438       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8439       for pkg in $enableval; do
   8440 	IFS=$lt_save_ifs
   8441 	if test "X$pkg" = "X$p"; then
   8442 	  enable_shared=yes
   8443 	fi
   8444       done
   8445       IFS=$lt_save_ifs
   8446       ;;
   8447     esac
   8448 else $as_nop
   8449   enable_shared=yes
   8450 fi
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460   # Check whether --enable-static was given.
   8461 if test ${enable_static+y}
   8462 then :
   8463   enableval=$enable_static; p=${PACKAGE-default}
   8464     case $enableval in
   8465     yes) enable_static=yes ;;
   8466     no) enable_static=no ;;
   8467     *)
   8468      enable_static=no
   8469       # Look at the argument we got.  We use all the common list separators.
   8470       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8471       for pkg in $enableval; do
   8472 	IFS=$lt_save_ifs
   8473 	if test "X$pkg" = "X$p"; then
   8474 	  enable_static=yes
   8475 	fi
   8476       done
   8477       IFS=$lt_save_ifs
   8478       ;;
   8479     esac
   8480 else $as_nop
   8481   enable_static=yes
   8482 fi
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 # Check whether --with-pic was given.
   8494 if test ${with_pic+y}
   8495 then :
   8496   withval=$with_pic; lt_p=${PACKAGE-default}
   8497     case $withval in
   8498     yes|no) pic_mode=$withval ;;
   8499     *)
   8500       pic_mode=default
   8501       # Look at the argument we got.  We use all the common list separators.
   8502       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8503       for lt_pkg in $withval; do
   8504 	IFS=$lt_save_ifs
   8505 	if test "X$lt_pkg" = "X$lt_p"; then
   8506 	  pic_mode=yes
   8507 	fi
   8508       done
   8509       IFS=$lt_save_ifs
   8510       ;;
   8511     esac
   8512 else $as_nop
   8513   pic_mode=default
   8514 fi
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523   # Check whether --enable-fast-install was given.
   8524 if test ${enable_fast_install+y}
   8525 then :
   8526   enableval=$enable_fast_install; p=${PACKAGE-default}
   8527     case $enableval in
   8528     yes) enable_fast_install=yes ;;
   8529     no) enable_fast_install=no ;;
   8530     *)
   8531       enable_fast_install=no
   8532       # Look at the argument we got.  We use all the common list separators.
   8533       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8534       for pkg in $enableval; do
   8535 	IFS=$lt_save_ifs
   8536 	if test "X$pkg" = "X$p"; then
   8537 	  enable_fast_install=yes
   8538 	fi
   8539       done
   8540       IFS=$lt_save_ifs
   8541       ;;
   8542     esac
   8543 else $as_nop
   8544   enable_fast_install=yes
   8545 fi
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554   shared_archive_member_spec=
   8555 case $host,$enable_shared in
   8556 power*-*-aix[5-9]*,yes)
   8557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8558 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8559 
   8560 # Check whether --with-aix-soname was given.
   8561 if test ${with_aix_soname+y}
   8562 then :
   8563   withval=$with_aix_soname; case $withval in
   8564     aix|svr4|both)
   8565       ;;
   8566     *)
   8567       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8568       ;;
   8569     esac
   8570     lt_cv_with_aix_soname=$with_aix_soname
   8571 else $as_nop
   8572   if test ${lt_cv_with_aix_soname+y}
   8573 then :
   8574   printf %s "(cached) " >&6
   8575 else $as_nop
   8576   lt_cv_with_aix_soname=aix
   8577 fi
   8578 
   8579     with_aix_soname=$lt_cv_with_aix_soname
   8580 fi
   8581 
   8582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8583 printf "%s\n" "$with_aix_soname" >&6; }
   8584   if test aix != "$with_aix_soname"; then
   8585     # For the AIX way of multilib, we name the shared archive member
   8586     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8587     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8588     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8589     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8590     if test 64 = "${OBJECT_MODE-32}"; then
   8591       shared_archive_member_spec=shr_64
   8592     else
   8593       shared_archive_member_spec=shr
   8594     fi
   8595   fi
   8596   ;;
   8597 *)
   8598   with_aix_soname=aix
   8599   ;;
   8600 esac
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 # This can be used to rebuild libtool when needed
   8612 LIBTOOL_DEPS=$ltmain
   8613 
   8614 # Always use our own libtool.
   8615 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 test -z "$LN_S" && LN_S="ln -s"
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 if test -n "${ZSH_VERSION+set}"; then
   8662    setopt NO_GLOB_SUBST
   8663 fi
   8664 
   8665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8666 printf %s "checking for objdir... " >&6; }
   8667 if test ${lt_cv_objdir+y}
   8668 then :
   8669   printf %s "(cached) " >&6
   8670 else $as_nop
   8671   rm -f .libs 2>/dev/null
   8672 mkdir .libs 2>/dev/null
   8673 if test -d .libs; then
   8674   lt_cv_objdir=.libs
   8675 else
   8676   # MS-DOS does not allow filenames that begin with a dot.
   8677   lt_cv_objdir=_libs
   8678 fi
   8679 rmdir .libs 2>/dev/null
   8680 fi
   8681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8682 printf "%s\n" "$lt_cv_objdir" >&6; }
   8683 objdir=$lt_cv_objdir
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8690 
   8691 
   8692 
   8693 
   8694 case $host_os in
   8695 aix3*)
   8696   # AIX sometimes has problems with the GCC collect2 program.  For some
   8697   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8698   # vanish in a puff of smoke.
   8699   if test set != "${COLLECT_NAMES+set}"; then
   8700     COLLECT_NAMES=
   8701     export COLLECT_NAMES
   8702   fi
   8703   ;;
   8704 esac
   8705 
   8706 # Global variables:
   8707 ofile=libtool
   8708 can_build_shared=yes
   8709 
   8710 # All known linkers require a '.a' archive for static linking (except MSVC and
   8711 # ICC, which need '.lib').
   8712 libext=a
   8713 
   8714 with_gnu_ld=$lt_cv_prog_gnu_ld
   8715 
   8716 old_CC=$CC
   8717 old_CFLAGS=$CFLAGS
   8718 
   8719 # Set sane defaults for various variables
   8720 test -z "$CC" && CC=cc
   8721 test -z "$LTCC" && LTCC=$CC
   8722 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8723 test -z "$LD" && LD=ld
   8724 test -z "$ac_objext" && ac_objext=o
   8725 
   8726 func_cc_basename $compiler
   8727 cc_basename=$func_cc_basename_result
   8728 
   8729 
   8730 # Only perform the check for file, if the check method requires it
   8731 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8732 case $deplibs_check_method in
   8733 file_magic*)
   8734   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8735     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8736 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8737 if test ${lt_cv_path_MAGIC_CMD+y}
   8738 then :
   8739   printf %s "(cached) " >&6
   8740 else $as_nop
   8741   case $MAGIC_CMD in
   8742 [\\/*] |  ?:[\\/]*)
   8743   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8744   ;;
   8745 *)
   8746   lt_save_MAGIC_CMD=$MAGIC_CMD
   8747   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8748   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8749   for ac_dir in $ac_dummy; do
   8750     IFS=$lt_save_ifs
   8751     test -z "$ac_dir" && ac_dir=.
   8752     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8753       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8754       if test -n "$file_magic_test_file"; then
   8755 	case $deplibs_check_method in
   8756 	"file_magic "*)
   8757 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8758 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8759 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8760 	    $EGREP "$file_magic_regex" > /dev/null; then
   8761 	    :
   8762 	  else
   8763 	    cat <<_LT_EOF 1>&2
   8764 
   8765 *** Warning: the command libtool uses to detect shared libraries,
   8766 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8767 *** The result is that libtool may fail to recognize shared libraries
   8768 *** as such.  This will affect the creation of libtool libraries that
   8769 *** depend on shared libraries, but programs linked with such libtool
   8770 *** libraries will work regardless of this problem.  Nevertheless, you
   8771 *** may want to report the problem to your system manager and/or to
   8772 *** bug-libtool@gnu.org
   8773 
   8774 _LT_EOF
   8775 	  fi ;;
   8776 	esac
   8777       fi
   8778       break
   8779     fi
   8780   done
   8781   IFS=$lt_save_ifs
   8782   MAGIC_CMD=$lt_save_MAGIC_CMD
   8783   ;;
   8784 esac
   8785 fi
   8786 
   8787 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8788 if test -n "$MAGIC_CMD"; then
   8789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8790 printf "%s\n" "$MAGIC_CMD" >&6; }
   8791 else
   8792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8793 printf "%s\n" "no" >&6; }
   8794 fi
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8801   if test -n "$ac_tool_prefix"; then
   8802     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8803 printf %s "checking for file... " >&6; }
   8804 if test ${lt_cv_path_MAGIC_CMD+y}
   8805 then :
   8806   printf %s "(cached) " >&6
   8807 else $as_nop
   8808   case $MAGIC_CMD in
   8809 [\\/*] |  ?:[\\/]*)
   8810   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8811   ;;
   8812 *)
   8813   lt_save_MAGIC_CMD=$MAGIC_CMD
   8814   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8815   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8816   for ac_dir in $ac_dummy; do
   8817     IFS=$lt_save_ifs
   8818     test -z "$ac_dir" && ac_dir=.
   8819     if test -f "$ac_dir/file"; then
   8820       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8821       if test -n "$file_magic_test_file"; then
   8822 	case $deplibs_check_method in
   8823 	"file_magic "*)
   8824 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8825 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8826 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8827 	    $EGREP "$file_magic_regex" > /dev/null; then
   8828 	    :
   8829 	  else
   8830 	    cat <<_LT_EOF 1>&2
   8831 
   8832 *** Warning: the command libtool uses to detect shared libraries,
   8833 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8834 *** The result is that libtool may fail to recognize shared libraries
   8835 *** as such.  This will affect the creation of libtool libraries that
   8836 *** depend on shared libraries, but programs linked with such libtool
   8837 *** libraries will work regardless of this problem.  Nevertheless, you
   8838 *** may want to report the problem to your system manager and/or to
   8839 *** bug-libtool@gnu.org
   8840 
   8841 _LT_EOF
   8842 	  fi ;;
   8843 	esac
   8844       fi
   8845       break
   8846     fi
   8847   done
   8848   IFS=$lt_save_ifs
   8849   MAGIC_CMD=$lt_save_MAGIC_CMD
   8850   ;;
   8851 esac
   8852 fi
   8853 
   8854 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8855 if test -n "$MAGIC_CMD"; then
   8856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8857 printf "%s\n" "$MAGIC_CMD" >&6; }
   8858 else
   8859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8860 printf "%s\n" "no" >&6; }
   8861 fi
   8862 
   8863 
   8864   else
   8865     MAGIC_CMD=:
   8866   fi
   8867 fi
   8868 
   8869   fi
   8870   ;;
   8871 esac
   8872 
   8873 # Use C for the default configuration in the libtool script
   8874 
   8875 lt_save_CC=$CC
   8876 ac_ext=c
   8877 ac_cpp='$CPP $CPPFLAGS'
   8878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8881 
   8882 
   8883 # Source file extension for C test sources.
   8884 ac_ext=c
   8885 
   8886 # Object file extension for compiled C test sources.
   8887 objext=o
   8888 objext=$objext
   8889 
   8890 # Code to be used in simple compile tests
   8891 lt_simple_compile_test_code="int some_variable = 0;"
   8892 
   8893 # Code to be used in simple link tests
   8894 lt_simple_link_test_code='int main(){return(0);}'
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 # If no C compiler was specified, use CC.
   8903 LTCC=${LTCC-"$CC"}
   8904 
   8905 # If no C compiler flags were specified, use CFLAGS.
   8906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8907 
   8908 # Allow CC to be a program name with arguments.
   8909 compiler=$CC
   8910 
   8911 # Save the default compiler, since it gets overwritten when the other
   8912 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8913 compiler_DEFAULT=$CC
   8914 
   8915 # save warnings/boilerplate of simple test code
   8916 ac_outfile=conftest.$ac_objext
   8917 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8919 _lt_compiler_boilerplate=`cat conftest.err`
   8920 $RM conftest*
   8921 
   8922 ac_outfile=conftest.$ac_objext
   8923 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8925 _lt_linker_boilerplate=`cat conftest.err`
   8926 $RM -r conftest*
   8927 
   8928 
   8929 if test -n "$compiler"; then
   8930 
   8931 lt_prog_compiler_no_builtin_flag=
   8932 
   8933 if test yes = "$GCC"; then
   8934   case $cc_basename in
   8935   nvcc*)
   8936     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8937   *)
   8938     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8939   esac
   8940 
   8941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8942 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8943 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8944 then :
   8945   printf %s "(cached) " >&6
   8946 else $as_nop
   8947   lt_cv_prog_compiler_rtti_exceptions=no
   8948    ac_outfile=conftest.$ac_objext
   8949    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8950    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8951    # Insert the option either (1) after the last *FLAGS variable, or
   8952    # (2) before a word containing "conftest.", or (3) at the end.
   8953    # Note that $ac_compile itself does not contain backslashes and begins
   8954    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8955    # The option is referenced via a variable to avoid confusing sed.
   8956    lt_compile=`echo "$ac_compile" | $SED \
   8957    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8958    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8959    -e 's:$: $lt_compiler_flag:'`
   8960    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8961    (eval "$lt_compile" 2>conftest.err)
   8962    ac_status=$?
   8963    cat conftest.err >&5
   8964    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8965    if (exit $ac_status) && test -s "$ac_outfile"; then
   8966      # The compiler can only warn and ignore the option if not recognized
   8967      # So say no if there are warnings other than the usual output.
   8968      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8969      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8970      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8971        lt_cv_prog_compiler_rtti_exceptions=yes
   8972      fi
   8973    fi
   8974    $RM conftest*
   8975 
   8976 fi
   8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8978 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8979 
   8980 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8981     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8982 else
   8983     :
   8984 fi
   8985 
   8986 fi
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993   lt_prog_compiler_wl=
   8994 lt_prog_compiler_pic=
   8995 lt_prog_compiler_static=
   8996 
   8997 
   8998   if test yes = "$GCC"; then
   8999     lt_prog_compiler_wl='-Wl,'
   9000     lt_prog_compiler_static='-static'
   9001 
   9002     case $host_os in
   9003       aix*)
   9004       # All AIX code is PIC.
   9005       if test ia64 = "$host_cpu"; then
   9006 	# AIX 5 now supports IA64 processor
   9007 	lt_prog_compiler_static='-Bstatic'
   9008       fi
   9009       lt_prog_compiler_pic='-fPIC'
   9010       ;;
   9011 
   9012     amigaos*)
   9013       case $host_cpu in
   9014       powerpc)
   9015             # see comment about AmigaOS4 .so support
   9016             lt_prog_compiler_pic='-fPIC'
   9017         ;;
   9018       m68k)
   9019             # FIXME: we need at least 68020 code to build shared libraries, but
   9020             # adding the '-m68020' flag to GCC prevents building anything better,
   9021             # like '-m68040'.
   9022             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9023         ;;
   9024       esac
   9025       ;;
   9026 
   9027     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9028       # PIC is the default for these OSes.
   9029       ;;
   9030 
   9031     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9032       # This hack is so that the source file can tell whether it is being
   9033       # built for inclusion in a dll (and should export symbols for example).
   9034       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9035       # (--disable-auto-import) libraries
   9036       lt_prog_compiler_pic='-DDLL_EXPORT'
   9037       case $host_os in
   9038       os2*)
   9039 	lt_prog_compiler_static='$wl-static'
   9040 	;;
   9041       esac
   9042       ;;
   9043 
   9044     darwin* | rhapsody*)
   9045       # PIC is the default on this platform
   9046       # Common symbols not allowed in MH_DYLIB files
   9047       lt_prog_compiler_pic='-fno-common'
   9048       ;;
   9049 
   9050     haiku*)
   9051       # PIC is the default for Haiku.
   9052       # The "-static" flag exists, but is broken.
   9053       lt_prog_compiler_static=
   9054       ;;
   9055 
   9056     hpux*)
   9057       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9058       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9059       # sets the default TLS model and affects inlining.
   9060       case $host_cpu in
   9061       hppa*64*)
   9062 	# +Z the default
   9063 	;;
   9064       *)
   9065 	lt_prog_compiler_pic='-fPIC'
   9066 	;;
   9067       esac
   9068       ;;
   9069 
   9070     interix[3-9]*)
   9071       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9072       # Instead, we relocate shared libraries at runtime.
   9073       ;;
   9074 
   9075     msdosdjgpp*)
   9076       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9077       # on systems that don't support them.
   9078       lt_prog_compiler_can_build_shared=no
   9079       enable_shared=no
   9080       ;;
   9081 
   9082     *nto* | *qnx*)
   9083       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9084       # it will coredump.
   9085       lt_prog_compiler_pic='-fPIC -shared'
   9086       ;;
   9087 
   9088     sysv4*MP*)
   9089       if test -d /usr/nec; then
   9090 	lt_prog_compiler_pic=-Kconform_pic
   9091       fi
   9092       ;;
   9093 
   9094     *)
   9095       lt_prog_compiler_pic='-fPIC'
   9096       ;;
   9097     esac
   9098 
   9099     case $cc_basename in
   9100     nvcc*) # Cuda Compiler Driver 2.2
   9101       lt_prog_compiler_wl='-Xlinker '
   9102       if test -n "$lt_prog_compiler_pic"; then
   9103         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9104       fi
   9105       ;;
   9106     esac
   9107   else
   9108     # PORTME Check for flag to pass linker flags through the system compiler.
   9109     case $host_os in
   9110     aix*)
   9111       lt_prog_compiler_wl='-Wl,'
   9112       if test ia64 = "$host_cpu"; then
   9113 	# AIX 5 now supports IA64 processor
   9114 	lt_prog_compiler_static='-Bstatic'
   9115       else
   9116 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9117       fi
   9118       ;;
   9119 
   9120     darwin* | rhapsody*)
   9121       # PIC is the default on this platform
   9122       # Common symbols not allowed in MH_DYLIB files
   9123       lt_prog_compiler_pic='-fno-common'
   9124       case $cc_basename in
   9125       nagfor*)
   9126         # NAG Fortran compiler
   9127         lt_prog_compiler_wl='-Wl,-Wl,,'
   9128         lt_prog_compiler_pic='-PIC'
   9129         lt_prog_compiler_static='-Bstatic'
   9130         ;;
   9131       esac
   9132       ;;
   9133 
   9134     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9135       # This hack is so that the source file can tell whether it is being
   9136       # built for inclusion in a dll (and should export symbols for example).
   9137       lt_prog_compiler_pic='-DDLL_EXPORT'
   9138       case $host_os in
   9139       os2*)
   9140 	lt_prog_compiler_static='$wl-static'
   9141 	;;
   9142       esac
   9143       ;;
   9144 
   9145     hpux9* | hpux10* | hpux11*)
   9146       lt_prog_compiler_wl='-Wl,'
   9147       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9148       # not for PA HP-UX.
   9149       case $host_cpu in
   9150       hppa*64*|ia64*)
   9151 	# +Z the default
   9152 	;;
   9153       *)
   9154 	lt_prog_compiler_pic='+Z'
   9155 	;;
   9156       esac
   9157       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9158       lt_prog_compiler_static='$wl-a ${wl}archive'
   9159       ;;
   9160 
   9161     irix5* | irix6* | nonstopux*)
   9162       lt_prog_compiler_wl='-Wl,'
   9163       # PIC (with -KPIC) is the default.
   9164       lt_prog_compiler_static='-non_shared'
   9165       ;;
   9166 
   9167     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9168       case $cc_basename in
   9169       # old Intel for x86_64, which still supported -KPIC.
   9170       ecc*)
   9171 	lt_prog_compiler_wl='-Wl,'
   9172 	lt_prog_compiler_pic='-KPIC'
   9173 	lt_prog_compiler_static='-static'
   9174         ;;
   9175       # icc used to be incompatible with GCC.
   9176       # ICC 10 doesn't accept -KPIC any more.
   9177       icc* | ifort*)
   9178 	lt_prog_compiler_wl='-Wl,'
   9179 	lt_prog_compiler_pic='-fPIC'
   9180 	lt_prog_compiler_static='-static'
   9181         ;;
   9182       # Lahey Fortran 8.1.
   9183       lf95*)
   9184 	lt_prog_compiler_wl='-Wl,'
   9185 	lt_prog_compiler_pic='--shared'
   9186 	lt_prog_compiler_static='--static'
   9187 	;;
   9188       nagfor*)
   9189 	# NAG Fortran compiler
   9190 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9191 	lt_prog_compiler_pic='-PIC'
   9192 	lt_prog_compiler_static='-Bstatic'
   9193 	;;
   9194       tcc*)
   9195 	# Fabrice Bellard et al's Tiny C Compiler
   9196 	lt_prog_compiler_wl='-Wl,'
   9197 	lt_prog_compiler_pic='-fPIC'
   9198 	lt_prog_compiler_static='-static'
   9199 	;;
   9200       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9201         # Portland Group compilers (*not* the Pentium gcc compiler,
   9202 	# which looks to be a dead project)
   9203 	lt_prog_compiler_wl='-Wl,'
   9204 	lt_prog_compiler_pic='-fpic'
   9205 	lt_prog_compiler_static='-Bstatic'
   9206         ;;
   9207       ccc*)
   9208         lt_prog_compiler_wl='-Wl,'
   9209         # All Alpha code is PIC.
   9210         lt_prog_compiler_static='-non_shared'
   9211         ;;
   9212       xl* | bgxl* | bgf* | mpixl*)
   9213 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9214 	lt_prog_compiler_wl='-Wl,'
   9215 	lt_prog_compiler_pic='-qpic'
   9216 	lt_prog_compiler_static='-qstaticlink'
   9217 	;;
   9218       *)
   9219 	case `$CC -V 2>&1 | $SED 5q` in
   9220 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9221 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9222 	  lt_prog_compiler_pic='-KPIC'
   9223 	  lt_prog_compiler_static='-Bstatic'
   9224 	  lt_prog_compiler_wl=''
   9225 	  ;;
   9226 	*Sun\ F* | *Sun*Fortran*)
   9227 	  lt_prog_compiler_pic='-KPIC'
   9228 	  lt_prog_compiler_static='-Bstatic'
   9229 	  lt_prog_compiler_wl='-Qoption ld '
   9230 	  ;;
   9231 	*Sun\ C*)
   9232 	  # Sun C 5.9
   9233 	  lt_prog_compiler_pic='-KPIC'
   9234 	  lt_prog_compiler_static='-Bstatic'
   9235 	  lt_prog_compiler_wl='-Wl,'
   9236 	  ;;
   9237         *Intel*\ [CF]*Compiler*)
   9238 	  lt_prog_compiler_wl='-Wl,'
   9239 	  lt_prog_compiler_pic='-fPIC'
   9240 	  lt_prog_compiler_static='-static'
   9241 	  ;;
   9242 	*Portland\ Group*)
   9243 	  lt_prog_compiler_wl='-Wl,'
   9244 	  lt_prog_compiler_pic='-fpic'
   9245 	  lt_prog_compiler_static='-Bstatic'
   9246 	  ;;
   9247 	esac
   9248 	;;
   9249       esac
   9250       ;;
   9251 
   9252     newsos6)
   9253       lt_prog_compiler_pic='-KPIC'
   9254       lt_prog_compiler_static='-Bstatic'
   9255       ;;
   9256 
   9257     *nto* | *qnx*)
   9258       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9259       # it will coredump.
   9260       lt_prog_compiler_pic='-fPIC -shared'
   9261       ;;
   9262 
   9263     osf3* | osf4* | osf5*)
   9264       lt_prog_compiler_wl='-Wl,'
   9265       # All OSF/1 code is PIC.
   9266       lt_prog_compiler_static='-non_shared'
   9267       ;;
   9268 
   9269     rdos*)
   9270       lt_prog_compiler_static='-non_shared'
   9271       ;;
   9272 
   9273     solaris*)
   9274       lt_prog_compiler_pic='-KPIC'
   9275       lt_prog_compiler_static='-Bstatic'
   9276       case $cc_basename in
   9277       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9278 	lt_prog_compiler_wl='-Qoption ld ';;
   9279       *)
   9280 	lt_prog_compiler_wl='-Wl,';;
   9281       esac
   9282       ;;
   9283 
   9284     sunos4*)
   9285       lt_prog_compiler_wl='-Qoption ld '
   9286       lt_prog_compiler_pic='-PIC'
   9287       lt_prog_compiler_static='-Bstatic'
   9288       ;;
   9289 
   9290     sysv4 | sysv4.2uw2* | sysv4.3*)
   9291       lt_prog_compiler_wl='-Wl,'
   9292       lt_prog_compiler_pic='-KPIC'
   9293       lt_prog_compiler_static='-Bstatic'
   9294       ;;
   9295 
   9296     sysv4*MP*)
   9297       if test -d /usr/nec; then
   9298 	lt_prog_compiler_pic='-Kconform_pic'
   9299 	lt_prog_compiler_static='-Bstatic'
   9300       fi
   9301       ;;
   9302 
   9303     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9304       lt_prog_compiler_wl='-Wl,'
   9305       lt_prog_compiler_pic='-KPIC'
   9306       lt_prog_compiler_static='-Bstatic'
   9307       ;;
   9308 
   9309     unicos*)
   9310       lt_prog_compiler_wl='-Wl,'
   9311       lt_prog_compiler_can_build_shared=no
   9312       ;;
   9313 
   9314     uts4*)
   9315       lt_prog_compiler_pic='-pic'
   9316       lt_prog_compiler_static='-Bstatic'
   9317       ;;
   9318 
   9319     *)
   9320       lt_prog_compiler_can_build_shared=no
   9321       ;;
   9322     esac
   9323   fi
   9324 
   9325 case $host_os in
   9326   # For platforms that do not support PIC, -DPIC is meaningless:
   9327   *djgpp*)
   9328     lt_prog_compiler_pic=
   9329     ;;
   9330   *)
   9331     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9332     ;;
   9333 esac
   9334 
   9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9336 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9337 if test ${lt_cv_prog_compiler_pic+y}
   9338 then :
   9339   printf %s "(cached) " >&6
   9340 else $as_nop
   9341   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9342 fi
   9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9344 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9345 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9346 
   9347 #
   9348 # Check to make sure the PIC flag actually works.
   9349 #
   9350 if test -n "$lt_prog_compiler_pic"; then
   9351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9352 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9353 if test ${lt_cv_prog_compiler_pic_works+y}
   9354 then :
   9355   printf %s "(cached) " >&6
   9356 else $as_nop
   9357   lt_cv_prog_compiler_pic_works=no
   9358    ac_outfile=conftest.$ac_objext
   9359    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9360    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9361    # Insert the option either (1) after the last *FLAGS variable, or
   9362    # (2) before a word containing "conftest.", or (3) at the end.
   9363    # Note that $ac_compile itself does not contain backslashes and begins
   9364    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9365    # The option is referenced via a variable to avoid confusing sed.
   9366    lt_compile=`echo "$ac_compile" | $SED \
   9367    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9368    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9369    -e 's:$: $lt_compiler_flag:'`
   9370    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9371    (eval "$lt_compile" 2>conftest.err)
   9372    ac_status=$?
   9373    cat conftest.err >&5
   9374    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9375    if (exit $ac_status) && test -s "$ac_outfile"; then
   9376      # The compiler can only warn and ignore the option if not recognized
   9377      # So say no if there are warnings other than the usual output.
   9378      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9379      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9380      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9381        lt_cv_prog_compiler_pic_works=yes
   9382      fi
   9383    fi
   9384    $RM conftest*
   9385 
   9386 fi
   9387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9388 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9389 
   9390 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9391     case $lt_prog_compiler_pic in
   9392      "" | " "*) ;;
   9393      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9394      esac
   9395 else
   9396     lt_prog_compiler_pic=
   9397      lt_prog_compiler_can_build_shared=no
   9398 fi
   9399 
   9400 fi
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 #
   9413 # Check to make sure the static flag actually works.
   9414 #
   9415 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9417 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9418 if test ${lt_cv_prog_compiler_static_works+y}
   9419 then :
   9420   printf %s "(cached) " >&6
   9421 else $as_nop
   9422   lt_cv_prog_compiler_static_works=no
   9423    save_LDFLAGS=$LDFLAGS
   9424    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9425    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9426    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9427      # The linker can only warn and ignore the option if not recognized
   9428      # So say no if there are warnings
   9429      if test -s conftest.err; then
   9430        # Append any errors to the config.log.
   9431        cat conftest.err 1>&5
   9432        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9433        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9434        if diff conftest.exp conftest.er2 >/dev/null; then
   9435          lt_cv_prog_compiler_static_works=yes
   9436        fi
   9437      else
   9438        lt_cv_prog_compiler_static_works=yes
   9439      fi
   9440    fi
   9441    $RM -r conftest*
   9442    LDFLAGS=$save_LDFLAGS
   9443 
   9444 fi
   9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9446 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9447 
   9448 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9449     :
   9450 else
   9451     lt_prog_compiler_static=
   9452 fi
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9461 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9462 if test ${lt_cv_prog_compiler_c_o+y}
   9463 then :
   9464   printf %s "(cached) " >&6
   9465 else $as_nop
   9466   lt_cv_prog_compiler_c_o=no
   9467    $RM -r conftest 2>/dev/null
   9468    mkdir conftest
   9469    cd conftest
   9470    mkdir out
   9471    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9472 
   9473    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9474    # Insert the option either (1) after the last *FLAGS variable, or
   9475    # (2) before a word containing "conftest.", or (3) at the end.
   9476    # Note that $ac_compile itself does not contain backslashes and begins
   9477    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9478    lt_compile=`echo "$ac_compile" | $SED \
   9479    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9480    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9481    -e 's:$: $lt_compiler_flag:'`
   9482    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9483    (eval "$lt_compile" 2>out/conftest.err)
   9484    ac_status=$?
   9485    cat out/conftest.err >&5
   9486    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9487    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9488    then
   9489      # The compiler can only warn and ignore the option if not recognized
   9490      # So say no if there are warnings
   9491      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9492      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9493      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9494        lt_cv_prog_compiler_c_o=yes
   9495      fi
   9496    fi
   9497    chmod u+w . 2>&5
   9498    $RM conftest*
   9499    # SGI C++ compiler will create directory out/ii_files/ for
   9500    # template instantiation
   9501    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9502    $RM out/* && rmdir out
   9503    cd ..
   9504    $RM -r conftest
   9505    $RM conftest*
   9506 
   9507 fi
   9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9509 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9517 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9518 if test ${lt_cv_prog_compiler_c_o+y}
   9519 then :
   9520   printf %s "(cached) " >&6
   9521 else $as_nop
   9522   lt_cv_prog_compiler_c_o=no
   9523    $RM -r conftest 2>/dev/null
   9524    mkdir conftest
   9525    cd conftest
   9526    mkdir out
   9527    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9528 
   9529    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9530    # Insert the option either (1) after the last *FLAGS variable, or
   9531    # (2) before a word containing "conftest.", or (3) at the end.
   9532    # Note that $ac_compile itself does not contain backslashes and begins
   9533    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9534    lt_compile=`echo "$ac_compile" | $SED \
   9535    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9536    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9537    -e 's:$: $lt_compiler_flag:'`
   9538    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9539    (eval "$lt_compile" 2>out/conftest.err)
   9540    ac_status=$?
   9541    cat out/conftest.err >&5
   9542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9543    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9544    then
   9545      # The compiler can only warn and ignore the option if not recognized
   9546      # So say no if there are warnings
   9547      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9548      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9549      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9550        lt_cv_prog_compiler_c_o=yes
   9551      fi
   9552    fi
   9553    chmod u+w . 2>&5
   9554    $RM conftest*
   9555    # SGI C++ compiler will create directory out/ii_files/ for
   9556    # template instantiation
   9557    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9558    $RM out/* && rmdir out
   9559    cd ..
   9560    $RM -r conftest
   9561    $RM conftest*
   9562 
   9563 fi
   9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9565 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9566 
   9567 
   9568 
   9569 
   9570 hard_links=nottested
   9571 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9572   # do not overwrite the value of need_locks provided by the user
   9573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9574 printf %s "checking if we can lock with hard links... " >&6; }
   9575   hard_links=yes
   9576   $RM conftest*
   9577   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9578   touch conftest.a
   9579   ln conftest.a conftest.b 2>&5 || hard_links=no
   9580   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9582 printf "%s\n" "$hard_links" >&6; }
   9583   if test no = "$hard_links"; then
   9584     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9585 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9586     need_locks=warn
   9587   fi
   9588 else
   9589   need_locks=no
   9590 fi
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9598 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9599 
   9600   runpath_var=
   9601   allow_undefined_flag=
   9602   always_export_symbols=no
   9603   archive_cmds=
   9604   archive_expsym_cmds=
   9605   compiler_needs_object=no
   9606   enable_shared_with_static_runtimes=no
   9607   export_dynamic_flag_spec=
   9608   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9609   hardcode_automatic=no
   9610   hardcode_direct=no
   9611   hardcode_direct_absolute=no
   9612   hardcode_libdir_flag_spec=
   9613   hardcode_libdir_separator=
   9614   hardcode_minus_L=no
   9615   hardcode_shlibpath_var=unsupported
   9616   inherit_rpath=no
   9617   link_all_deplibs=unknown
   9618   module_cmds=
   9619   module_expsym_cmds=
   9620   old_archive_from_new_cmds=
   9621   old_archive_from_expsyms_cmds=
   9622   thread_safe_flag_spec=
   9623   whole_archive_flag_spec=
   9624   # include_expsyms should be a list of space-separated symbols to be *always*
   9625   # included in the symbol list
   9626   include_expsyms=
   9627   # exclude_expsyms can be an extended regexp of symbols to exclude
   9628   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9629   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9630   # as well as any symbol that contains 'd'.
   9631   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9632   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9633   # platforms (ab)use it in PIC code, but their linkers get confused if
   9634   # the symbol is explicitly referenced.  Since portable code cannot
   9635   # rely on this symbol name, it's probably fine to never include it in
   9636   # preloaded symbol tables.
   9637   # Exclude shared library initialization/finalization symbols.
   9638   extract_expsyms_cmds=
   9639 
   9640   case $host_os in
   9641   cygwin* | mingw* | pw32* | cegcc*)
   9642     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9643     # When not using gcc, we currently assume that we are using
   9644     # Microsoft Visual C++ or Intel C++ Compiler.
   9645     if test yes != "$GCC"; then
   9646       with_gnu_ld=no
   9647     fi
   9648     ;;
   9649   interix*)
   9650     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9651     with_gnu_ld=yes
   9652     ;;
   9653   openbsd* | bitrig*)
   9654     with_gnu_ld=no
   9655     ;;
   9656   esac
   9657 
   9658   ld_shlibs=yes
   9659 
   9660   # On some targets, GNU ld is compatible enough with the native linker
   9661   # that we're better off using the native interface for both.
   9662   lt_use_gnu_ld_interface=no
   9663   if test yes = "$with_gnu_ld"; then
   9664     case $host_os in
   9665       aix*)
   9666 	# The AIX port of GNU ld has always aspired to compatibility
   9667 	# with the native linker.  However, as the warning in the GNU ld
   9668 	# block says, versions before 2.19.5* couldn't really create working
   9669 	# shared libraries, regardless of the interface used.
   9670 	case `$LD -v 2>&1` in
   9671 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9672 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9673 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9674 	  *)
   9675 	    lt_use_gnu_ld_interface=yes
   9676 	    ;;
   9677 	esac
   9678 	;;
   9679       *)
   9680 	lt_use_gnu_ld_interface=yes
   9681 	;;
   9682     esac
   9683   fi
   9684 
   9685   if test yes = "$lt_use_gnu_ld_interface"; then
   9686     # If archive_cmds runs LD, not CC, wlarc should be empty
   9687     wlarc='$wl'
   9688 
   9689     # Set some defaults for GNU ld with shared library support. These
   9690     # are reset later if shared libraries are not supported. Putting them
   9691     # here allows them to be overridden if necessary.
   9692     runpath_var=LD_RUN_PATH
   9693     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9694     export_dynamic_flag_spec='$wl--export-dynamic'
   9695     # ancient GNU ld didn't support --whole-archive et. al.
   9696     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9697       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9698     else
   9699       whole_archive_flag_spec=
   9700     fi
   9701     supports_anon_versioning=no
   9702     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9703       *GNU\ gold*) supports_anon_versioning=yes ;;
   9704       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9705       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9706       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9707       *\ 2.11.*) ;; # other 2.11 versions
   9708       *) supports_anon_versioning=yes ;;
   9709     esac
   9710 
   9711     # See if GNU ld supports shared libraries.
   9712     case $host_os in
   9713     aix[3-9]*)
   9714       # On AIX/PPC, the GNU linker is very broken
   9715       if test ia64 != "$host_cpu"; then
   9716 	ld_shlibs=no
   9717 	cat <<_LT_EOF 1>&2
   9718 
   9719 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9720 *** to be unable to reliably create shared libraries on AIX.
   9721 *** Therefore, libtool is disabling shared libraries support.  If you
   9722 *** really care for shared libraries, you may want to install binutils
   9723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9724 *** You will then need to restart the configuration process.
   9725 
   9726 _LT_EOF
   9727       fi
   9728       ;;
   9729 
   9730     amigaos*)
   9731       case $host_cpu in
   9732       powerpc)
   9733             # see comment about AmigaOS4 .so support
   9734             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9735             archive_expsym_cmds=''
   9736         ;;
   9737       m68k)
   9738             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)'
   9739             hardcode_libdir_flag_spec='-L$libdir'
   9740             hardcode_minus_L=yes
   9741         ;;
   9742       esac
   9743       ;;
   9744 
   9745     beos*)
   9746       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9747 	allow_undefined_flag=unsupported
   9748 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9749 	# support --undefined.  This deserves some investigation.  FIXME
   9750 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9751       else
   9752 	ld_shlibs=no
   9753       fi
   9754       ;;
   9755 
   9756     cygwin* | mingw* | pw32* | cegcc*)
   9757       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9758       # as there is no search path for DLLs.
   9759       hardcode_libdir_flag_spec='-L$libdir'
   9760       export_dynamic_flag_spec='$wl--export-all-symbols'
   9761       allow_undefined_flag=unsupported
   9762       always_export_symbols=no
   9763       enable_shared_with_static_runtimes=yes
   9764       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'
   9765       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9766 
   9767       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9768         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9769 	# If the export-symbols file already is a .def file, use it as
   9770 	# is; otherwise, prepend EXPORTS...
   9771 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9772           cp $export_symbols $output_objdir/$soname.def;
   9773         else
   9774           echo EXPORTS > $output_objdir/$soname.def;
   9775           cat $export_symbols >> $output_objdir/$soname.def;
   9776         fi~
   9777         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9778       else
   9779 	ld_shlibs=no
   9780       fi
   9781       ;;
   9782 
   9783     haiku*)
   9784       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9785       link_all_deplibs=yes
   9786       ;;
   9787 
   9788     os2*)
   9789       hardcode_libdir_flag_spec='-L$libdir'
   9790       hardcode_minus_L=yes
   9791       allow_undefined_flag=unsupported
   9792       shrext_cmds=.dll
   9793       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9794 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9795 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9796 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9797 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9798 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9799 	emximp -o $lib $output_objdir/$libname.def'
   9800       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9801 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9802 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9803 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9804 	prefix_cmds="$SED"~
   9805 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9806 	  prefix_cmds="$prefix_cmds -e 1d";
   9807 	fi~
   9808 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9809 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9810 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9811 	emximp -o $lib $output_objdir/$libname.def'
   9812       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9813       enable_shared_with_static_runtimes=yes
   9814       file_list_spec='@'
   9815       ;;
   9816 
   9817     interix[3-9]*)
   9818       hardcode_direct=no
   9819       hardcode_shlibpath_var=no
   9820       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9821       export_dynamic_flag_spec='$wl-E'
   9822       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9823       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9824       # default) and relocated if they conflict, which is a slow very memory
   9825       # consuming and fragmenting process.  To avoid this, we pick a random,
   9826       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9827       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9828       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9829       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'
   9830       ;;
   9831 
   9832     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9833       tmp_diet=no
   9834       if test linux-dietlibc = "$host_os"; then
   9835 	case $cc_basename in
   9836 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9837 	esac
   9838       fi
   9839       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9840 	 && test no = "$tmp_diet"
   9841       then
   9842 	tmp_addflag=' $pic_flag'
   9843 	tmp_sharedflag='-shared'
   9844 	case $cc_basename,$host_cpu in
   9845         pgcc*)				# Portland Group C compiler
   9846 	  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'
   9847 	  tmp_addflag=' $pic_flag'
   9848 	  ;;
   9849 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9850 					# Portland Group f77 and f90 compilers
   9851 	  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'
   9852 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9853 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9854 	  tmp_addflag=' -i_dynamic' ;;
   9855 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9856 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9857 	ifc* | ifort*)			# Intel Fortran compiler
   9858 	  tmp_addflag=' -nofor_main' ;;
   9859 	lf95*)				# Lahey Fortran 8.1
   9860 	  whole_archive_flag_spec=
   9861 	  tmp_sharedflag='--shared' ;;
   9862         nagfor*)                        # NAGFOR 5.3
   9863           tmp_sharedflag='-Wl,-shared' ;;
   9864 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9865 	  tmp_sharedflag='-qmkshrobj'
   9866 	  tmp_addflag= ;;
   9867 	nvcc*)	# Cuda Compiler Driver 2.2
   9868 	  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'
   9869 	  compiler_needs_object=yes
   9870 	  ;;
   9871 	esac
   9872 	case `$CC -V 2>&1 | $SED 5q` in
   9873 	*Sun\ C*)			# Sun C 5.9
   9874 	  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'
   9875 	  compiler_needs_object=yes
   9876 	  tmp_sharedflag='-G' ;;
   9877 	*Sun\ F*)			# Sun Fortran 8.3
   9878 	  tmp_sharedflag='-G' ;;
   9879 	esac
   9880 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9881 
   9882         if test yes = "$supports_anon_versioning"; then
   9883           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9884             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9885             echo "local: *; };" >> $output_objdir/$libname.ver~
   9886             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9887         fi
   9888 
   9889 	case $cc_basename in
   9890 	tcc*)
   9891 	  export_dynamic_flag_spec='-rdynamic'
   9892 	  ;;
   9893 	xlf* | bgf* | bgxlf* | mpixlf*)
   9894 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9895 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9896 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9897 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9898 	  if test yes = "$supports_anon_versioning"; then
   9899 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9900               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9901               echo "local: *; };" >> $output_objdir/$libname.ver~
   9902               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9903 	  fi
   9904 	  ;;
   9905 	esac
   9906       else
   9907         ld_shlibs=no
   9908       fi
   9909       ;;
   9910 
   9911     netbsd*)
   9912       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9913 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9914 	wlarc=
   9915       else
   9916 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9917 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9918       fi
   9919       ;;
   9920 
   9921     solaris*)
   9922       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9923 	ld_shlibs=no
   9924 	cat <<_LT_EOF 1>&2
   9925 
   9926 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9927 *** create shared libraries on Solaris systems.  Therefore, libtool
   9928 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9929 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9930 *** your PATH or compiler configuration so that the native linker is
   9931 *** used, and then restart.
   9932 
   9933 _LT_EOF
   9934       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9935 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9936 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9937       else
   9938 	ld_shlibs=no
   9939       fi
   9940       ;;
   9941 
   9942     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9943       case `$LD -v 2>&1` in
   9944         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9945 	ld_shlibs=no
   9946 	cat <<_LT_EOF 1>&2
   9947 
   9948 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9949 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9950 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9951 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9952 *** your PATH or compiler configuration so that the native linker is
   9953 *** used, and then restart.
   9954 
   9955 _LT_EOF
   9956 	;;
   9957 	*)
   9958 	  # For security reasons, it is highly recommended that you always
   9959 	  # use absolute paths for naming shared libraries, and exclude the
   9960 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9961 	  # requires that you compile everything twice, which is a pain.
   9962 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9963 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9964 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9965 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9966 	  else
   9967 	    ld_shlibs=no
   9968 	  fi
   9969 	;;
   9970       esac
   9971       ;;
   9972 
   9973     sunos4*)
   9974       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9975       wlarc=
   9976       hardcode_direct=yes
   9977       hardcode_shlibpath_var=no
   9978       ;;
   9979 
   9980     *)
   9981       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9982 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9983 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9984       else
   9985 	ld_shlibs=no
   9986       fi
   9987       ;;
   9988     esac
   9989 
   9990     if test no = "$ld_shlibs"; then
   9991       runpath_var=
   9992       hardcode_libdir_flag_spec=
   9993       export_dynamic_flag_spec=
   9994       whole_archive_flag_spec=
   9995     fi
   9996   else
   9997     # PORTME fill in a description of your system's linker (not GNU ld)
   9998     case $host_os in
   9999     aix3*)
   10000       allow_undefined_flag=unsupported
   10001       always_export_symbols=yes
   10002       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'
   10003       # Note: this linker hardcodes the directories in LIBPATH if there
   10004       # are no directories specified by -L.
   10005       hardcode_minus_L=yes
   10006       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10007 	# Neither direct hardcoding nor static linking is supported with a
   10008 	# broken collect2.
   10009 	hardcode_direct=unsupported
   10010       fi
   10011       ;;
   10012 
   10013     aix[4-9]*)
   10014       if test ia64 = "$host_cpu"; then
   10015 	# On IA64, the linker does run time linking by default, so we don't
   10016 	# have to do anything special.
   10017 	aix_use_runtimelinking=no
   10018 	exp_sym_flag='-Bexport'
   10019 	no_entry_flag=
   10020       else
   10021 	# If we're using GNU nm, then we don't want the "-C" option.
   10022 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10023 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10024 	# weak defined symbols like other global defined symbols, whereas
   10025 	# GNU nm marks them as "W".
   10026 	# While the 'weak' keyword is ignored in the Export File, we need
   10027 	# it in the Import File for the 'aix-soname' feature, so we have
   10028 	# to replace the "-B" option with "-P" for AIX nm.
   10029 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10030 	  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'
   10031 	else
   10032 	  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'
   10033 	fi
   10034 	aix_use_runtimelinking=no
   10035 
   10036 	# Test if we are trying to use run time linking or normal
   10037 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10038 	# have runtime linking enabled, and use it for executables.
   10039 	# For shared libraries, we enable/disable runtime linking
   10040 	# depending on the kind of the shared library created -
   10041 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10042 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10043 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10044 	#            lib.a           static archive
   10045 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10046 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10047 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10048 	#            lib.a(lib.so.V) shared, rtl:no
   10049 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10050 	#            lib.a           static archive
   10051 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10052 	  for ld_flag in $LDFLAGS; do
   10053 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10054 	    aix_use_runtimelinking=yes
   10055 	    break
   10056 	  fi
   10057 	  done
   10058 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10059 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10060 	    # so we don't have lib.a shared libs to link our executables.
   10061 	    # We have to force runtime linking in this case.
   10062 	    aix_use_runtimelinking=yes
   10063 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10064 	  fi
   10065 	  ;;
   10066 	esac
   10067 
   10068 	exp_sym_flag='-bexport'
   10069 	no_entry_flag='-bnoentry'
   10070       fi
   10071 
   10072       # When large executables or shared objects are built, AIX ld can
   10073       # have problems creating the table of contents.  If linking a library
   10074       # or program results in "error TOC overflow" add -mminimal-toc to
   10075       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10076       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10077 
   10078       archive_cmds=''
   10079       hardcode_direct=yes
   10080       hardcode_direct_absolute=yes
   10081       hardcode_libdir_separator=':'
   10082       link_all_deplibs=yes
   10083       file_list_spec='$wl-f,'
   10084       case $with_aix_soname,$aix_use_runtimelinking in
   10085       aix,*) ;; # traditional, no import file
   10086       svr4,* | *,yes) # use import file
   10087 	# The Import File defines what to hardcode.
   10088 	hardcode_direct=no
   10089 	hardcode_direct_absolute=no
   10090 	;;
   10091       esac
   10092 
   10093       if test yes = "$GCC"; then
   10094 	case $host_os in aix4.[012]|aix4.[012].*)
   10095 	# We only want to do this on AIX 4.2 and lower, the check
   10096 	# below for broken collect2 doesn't work under 4.3+
   10097 	  collect2name=`$CC -print-prog-name=collect2`
   10098 	  if test -f "$collect2name" &&
   10099 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10100 	  then
   10101 	  # We have reworked collect2
   10102 	  :
   10103 	  else
   10104 	  # We have old collect2
   10105 	  hardcode_direct=unsupported
   10106 	  # It fails to find uninstalled libraries when the uninstalled
   10107 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10108 	  # to unsupported forces relinking
   10109 	  hardcode_minus_L=yes
   10110 	  hardcode_libdir_flag_spec='-L$libdir'
   10111 	  hardcode_libdir_separator=
   10112 	  fi
   10113 	  ;;
   10114 	esac
   10115 	shared_flag='-shared'
   10116 	if test yes = "$aix_use_runtimelinking"; then
   10117 	  shared_flag="$shared_flag "'$wl-G'
   10118 	fi
   10119 	# Need to ensure runtime linking is disabled for the traditional
   10120 	# shared library, or the linker may eventually find shared libraries
   10121 	# /with/ Import File - we do not want to mix them.
   10122 	shared_flag_aix='-shared'
   10123 	shared_flag_svr4='-shared $wl-G'
   10124       else
   10125 	# not using gcc
   10126 	if test ia64 = "$host_cpu"; then
   10127 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10128 	# chokes on -Wl,-G. The following line is correct:
   10129 	  shared_flag='-G'
   10130 	else
   10131 	  if test yes = "$aix_use_runtimelinking"; then
   10132 	    shared_flag='$wl-G'
   10133 	  else
   10134 	    shared_flag='$wl-bM:SRE'
   10135 	  fi
   10136 	  shared_flag_aix='$wl-bM:SRE'
   10137 	  shared_flag_svr4='$wl-G'
   10138 	fi
   10139       fi
   10140 
   10141       export_dynamic_flag_spec='$wl-bexpall'
   10142       # It seems that -bexpall does not export symbols beginning with
   10143       # underscore (_), so it is better to generate a list of symbols to export.
   10144       always_export_symbols=yes
   10145       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10146 	# Warning - without using the other runtime loading flags (-brtl),
   10147 	# -berok will link without error, but may produce a broken library.
   10148 	allow_undefined_flag='-berok'
   10149         # Determine the default libpath from the value encoded in an
   10150         # empty executable.
   10151         if test set = "${lt_cv_aix_libpath+set}"; then
   10152   aix_libpath=$lt_cv_aix_libpath
   10153 else
   10154   if test ${lt_cv_aix_libpath_+y}
   10155 then :
   10156   printf %s "(cached) " >&6
   10157 else $as_nop
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 
   10161 int
   10162 main (void)
   10163 {
   10164 
   10165   ;
   10166   return 0;
   10167 }
   10168 _ACEOF
   10169 if ac_fn_c_try_link "$LINENO"
   10170 then :
   10171 
   10172   lt_aix_libpath_sed='
   10173       /Import File Strings/,/^$/ {
   10174 	  /^0/ {
   10175 	      s/^0  *\([^ ]*\) *$/\1/
   10176 	      p
   10177 	  }
   10178       }'
   10179   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10180   # Check for a 64-bit object if we didn't find anything.
   10181   if test -z "$lt_cv_aix_libpath_"; then
   10182     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10183   fi
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10186     conftest$ac_exeext conftest.$ac_ext
   10187   if test -z "$lt_cv_aix_libpath_"; then
   10188     lt_cv_aix_libpath_=/usr/lib:/lib
   10189   fi
   10190 
   10191 fi
   10192 
   10193   aix_libpath=$lt_cv_aix_libpath_
   10194 fi
   10195 
   10196         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10197         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
   10198       else
   10199 	if test ia64 = "$host_cpu"; then
   10200 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10201 	  allow_undefined_flag="-z nodefs"
   10202 	  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"
   10203 	else
   10204 	 # Determine the default libpath from the value encoded in an
   10205 	 # empty executable.
   10206 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10207   aix_libpath=$lt_cv_aix_libpath
   10208 else
   10209   if test ${lt_cv_aix_libpath_+y}
   10210 then :
   10211   printf %s "(cached) " >&6
   10212 else $as_nop
   10213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10214 /* end confdefs.h.  */
   10215 
   10216 int
   10217 main (void)
   10218 {
   10219 
   10220   ;
   10221   return 0;
   10222 }
   10223 _ACEOF
   10224 if ac_fn_c_try_link "$LINENO"
   10225 then :
   10226 
   10227   lt_aix_libpath_sed='
   10228       /Import File Strings/,/^$/ {
   10229 	  /^0/ {
   10230 	      s/^0  *\([^ ]*\) *$/\1/
   10231 	      p
   10232 	  }
   10233       }'
   10234   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10235   # Check for a 64-bit object if we didn't find anything.
   10236   if test -z "$lt_cv_aix_libpath_"; then
   10237     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10238   fi
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10241     conftest$ac_exeext conftest.$ac_ext
   10242   if test -z "$lt_cv_aix_libpath_"; then
   10243     lt_cv_aix_libpath_=/usr/lib:/lib
   10244   fi
   10245 
   10246 fi
   10247 
   10248   aix_libpath=$lt_cv_aix_libpath_
   10249 fi
   10250 
   10251 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10252 	  # Warning - without using the other run time loading flags,
   10253 	  # -berok will link without error, but may produce a broken library.
   10254 	  no_undefined_flag=' $wl-bernotok'
   10255 	  allow_undefined_flag=' $wl-berok'
   10256 	  if test yes = "$with_gnu_ld"; then
   10257 	    # We only use this code for GNU lds that support --whole-archive.
   10258 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10259 	  else
   10260 	    # Exported symbols can be pulled into shared objects from archives
   10261 	    whole_archive_flag_spec='$convenience'
   10262 	  fi
   10263 	  archive_cmds_need_lc=yes
   10264 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10265 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10266 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10267 	  if test svr4 != "$with_aix_soname"; then
   10268 	    # This is similar to how AIX traditionally builds its shared libraries.
   10269 	    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'
   10270 	  fi
   10271 	  if test aix != "$with_aix_soname"; then
   10272 	    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'
   10273 	  else
   10274 	    # used by -dlpreopen to get the symbols
   10275 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10276 	  fi
   10277 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10278 	fi
   10279       fi
   10280       ;;
   10281 
   10282     amigaos*)
   10283       case $host_cpu in
   10284       powerpc)
   10285             # see comment about AmigaOS4 .so support
   10286             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10287             archive_expsym_cmds=''
   10288         ;;
   10289       m68k)
   10290             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)'
   10291             hardcode_libdir_flag_spec='-L$libdir'
   10292             hardcode_minus_L=yes
   10293         ;;
   10294       esac
   10295       ;;
   10296 
   10297     bsdi[45]*)
   10298       export_dynamic_flag_spec=-rdynamic
   10299       ;;
   10300 
   10301     cygwin* | mingw* | pw32* | cegcc*)
   10302       # When not using gcc, we currently assume that we are using
   10303       # Microsoft Visual C++ or Intel C++ Compiler.
   10304       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10305       # no search path for DLLs.
   10306       case $cc_basename in
   10307       cl* | icl*)
   10308 	# Native MSVC or ICC
   10309 	hardcode_libdir_flag_spec=' '
   10310 	allow_undefined_flag=unsupported
   10311 	always_export_symbols=yes
   10312 	file_list_spec='@'
   10313 	# Tell ltmain to make .lib files, not .a files.
   10314 	libext=lib
   10315 	# Tell ltmain to make .dll files, not .so files.
   10316 	shrext_cmds=.dll
   10317 	# FIXME: Setting linknames here is a bad hack.
   10318 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10319 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10320             cp "$export_symbols" "$output_objdir/$soname.def";
   10321             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10322           else
   10323             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10324           fi~
   10325           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10326           linknames='
   10327 	# The linker will not automatically build a static lib if we build a DLL.
   10328 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10329 	enable_shared_with_static_runtimes=yes
   10330 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10331 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10332 	# Don't use ranlib
   10333 	old_postinstall_cmds='chmod 644 $oldlib'
   10334 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10335           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10336           case $lt_outputfile in
   10337             *.exe|*.EXE) ;;
   10338             *)
   10339               lt_outputfile=$lt_outputfile.exe
   10340               lt_tool_outputfile=$lt_tool_outputfile.exe
   10341               ;;
   10342           esac~
   10343           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10344             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10345             $RM "$lt_outputfile.manifest";
   10346           fi'
   10347 	;;
   10348       *)
   10349 	# Assume MSVC and ICC wrapper
   10350 	hardcode_libdir_flag_spec=' '
   10351 	allow_undefined_flag=unsupported
   10352 	# Tell ltmain to make .lib files, not .a files.
   10353 	libext=lib
   10354 	# Tell ltmain to make .dll files, not .so files.
   10355 	shrext_cmds=.dll
   10356 	# FIXME: Setting linknames here is a bad hack.
   10357 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10358 	# The linker will automatically build a .lib file if we build a DLL.
   10359 	old_archive_from_new_cmds='true'
   10360 	# FIXME: Should let the user specify the lib program.
   10361 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10362 	enable_shared_with_static_runtimes=yes
   10363 	;;
   10364       esac
   10365       ;;
   10366 
   10367     darwin* | rhapsody*)
   10368 
   10369 
   10370   archive_cmds_need_lc=no
   10371   hardcode_direct=no
   10372   hardcode_automatic=yes
   10373   hardcode_shlibpath_var=unsupported
   10374   if test yes = "$lt_cv_ld_force_load"; then
   10375     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\"`'
   10376 
   10377   else
   10378     whole_archive_flag_spec=''
   10379   fi
   10380   link_all_deplibs=yes
   10381   allow_undefined_flag=$_lt_dar_allow_undefined
   10382   case $cc_basename in
   10383      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10384      *) _lt_dar_can_shared=$GCC ;;
   10385   esac
   10386   if test yes = "$_lt_dar_can_shared"; then
   10387     output_verbose_link_cmd=func_echo_all
   10388     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10389     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10390     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"
   10391     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"
   10392 
   10393   else
   10394   ld_shlibs=no
   10395   fi
   10396 
   10397       ;;
   10398 
   10399     dgux*)
   10400       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10401       hardcode_libdir_flag_spec='-L$libdir'
   10402       hardcode_shlibpath_var=no
   10403       ;;
   10404 
   10405     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10406     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10407     # does not break anything, and helps significantly (at the cost of a little
   10408     # extra space).
   10409     freebsd2.2*)
   10410       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10411       hardcode_libdir_flag_spec='-R$libdir'
   10412       hardcode_direct=yes
   10413       hardcode_shlibpath_var=no
   10414       ;;
   10415 
   10416     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10417     freebsd2.*)
   10418       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10419       hardcode_direct=yes
   10420       hardcode_minus_L=yes
   10421       hardcode_shlibpath_var=no
   10422       ;;
   10423 
   10424     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10425     freebsd* | dragonfly* | midnightbsd*)
   10426       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10427       hardcode_libdir_flag_spec='-R$libdir'
   10428       hardcode_direct=yes
   10429       hardcode_shlibpath_var=no
   10430       ;;
   10431 
   10432     hpux9*)
   10433       if test yes = "$GCC"; then
   10434 	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'
   10435       else
   10436 	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'
   10437       fi
   10438       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10439       hardcode_libdir_separator=:
   10440       hardcode_direct=yes
   10441 
   10442       # hardcode_minus_L: Not really in the search PATH,
   10443       # but as the default location of the library.
   10444       hardcode_minus_L=yes
   10445       export_dynamic_flag_spec='$wl-E'
   10446       ;;
   10447 
   10448     hpux10*)
   10449       if test yes,no = "$GCC,$with_gnu_ld"; then
   10450 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10451       else
   10452 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10453       fi
   10454       if test no = "$with_gnu_ld"; then
   10455 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10456 	hardcode_libdir_separator=:
   10457 	hardcode_direct=yes
   10458 	hardcode_direct_absolute=yes
   10459 	export_dynamic_flag_spec='$wl-E'
   10460 	# hardcode_minus_L: Not really in the search PATH,
   10461 	# but as the default location of the library.
   10462 	hardcode_minus_L=yes
   10463       fi
   10464       ;;
   10465 
   10466     hpux11*)
   10467       if test yes,no = "$GCC,$with_gnu_ld"; then
   10468 	case $host_cpu in
   10469 	hppa*64*)
   10470 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10471 	  ;;
   10472 	ia64*)
   10473 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10474 	  ;;
   10475 	*)
   10476 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10477 	  ;;
   10478 	esac
   10479       else
   10480 	case $host_cpu in
   10481 	hppa*64*)
   10482 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10483 	  ;;
   10484 	ia64*)
   10485 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10486 	  ;;
   10487 	*)
   10488 
   10489 	  # Older versions of the 11.00 compiler do not understand -b yet
   10490 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10491 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10492 printf %s "checking if $CC understands -b... " >&6; }
   10493 if test ${lt_cv_prog_compiler__b+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else $as_nop
   10497   lt_cv_prog_compiler__b=no
   10498    save_LDFLAGS=$LDFLAGS
   10499    LDFLAGS="$LDFLAGS -b"
   10500    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10501    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10502      # The linker can only warn and ignore the option if not recognized
   10503      # So say no if there are warnings
   10504      if test -s conftest.err; then
   10505        # Append any errors to the config.log.
   10506        cat conftest.err 1>&5
   10507        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10508        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10509        if diff conftest.exp conftest.er2 >/dev/null; then
   10510          lt_cv_prog_compiler__b=yes
   10511        fi
   10512      else
   10513        lt_cv_prog_compiler__b=yes
   10514      fi
   10515    fi
   10516    $RM -r conftest*
   10517    LDFLAGS=$save_LDFLAGS
   10518 
   10519 fi
   10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10521 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10522 
   10523 if test yes = "$lt_cv_prog_compiler__b"; then
   10524     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10525 else
   10526     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10527 fi
   10528 
   10529 	  ;;
   10530 	esac
   10531       fi
   10532       if test no = "$with_gnu_ld"; then
   10533 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10534 	hardcode_libdir_separator=:
   10535 
   10536 	case $host_cpu in
   10537 	hppa*64*|ia64*)
   10538 	  hardcode_direct=no
   10539 	  hardcode_shlibpath_var=no
   10540 	  ;;
   10541 	*)
   10542 	  hardcode_direct=yes
   10543 	  hardcode_direct_absolute=yes
   10544 	  export_dynamic_flag_spec='$wl-E'
   10545 
   10546 	  # hardcode_minus_L: Not really in the search PATH,
   10547 	  # but as the default location of the library.
   10548 	  hardcode_minus_L=yes
   10549 	  ;;
   10550 	esac
   10551       fi
   10552       ;;
   10553 
   10554     irix5* | irix6* | nonstopux*)
   10555       if test yes = "$GCC"; then
   10556 	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'
   10557 	# Try to use the -exported_symbol ld option, if it does not
   10558 	# work, assume that -exports_file does not work either and
   10559 	# implicitly export all symbols.
   10560 	# This should be the same for all languages, so no per-tag cache variable.
   10561 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10562 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10563 if test ${lt_cv_irix_exported_symbol+y}
   10564 then :
   10565   printf %s "(cached) " >&6
   10566 else $as_nop
   10567   save_LDFLAGS=$LDFLAGS
   10568 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10569 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10570 /* end confdefs.h.  */
   10571 int foo (void) { return 0; }
   10572 _ACEOF
   10573 if ac_fn_c_try_link "$LINENO"
   10574 then :
   10575   lt_cv_irix_exported_symbol=yes
   10576 else $as_nop
   10577   lt_cv_irix_exported_symbol=no
   10578 fi
   10579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10580     conftest$ac_exeext conftest.$ac_ext
   10581            LDFLAGS=$save_LDFLAGS
   10582 fi
   10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10584 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10585 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10586           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'
   10587 	fi
   10588       else
   10589 	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'
   10590 	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'
   10591       fi
   10592       archive_cmds_need_lc='no'
   10593       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10594       hardcode_libdir_separator=:
   10595       inherit_rpath=yes
   10596       link_all_deplibs=yes
   10597       ;;
   10598 
   10599     linux*)
   10600       case $cc_basename in
   10601       tcc*)
   10602 	# Fabrice Bellard et al's Tiny C Compiler
   10603 	ld_shlibs=yes
   10604 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10605 	;;
   10606       esac
   10607       ;;
   10608 
   10609     netbsd*)
   10610       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10611 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10612       else
   10613 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10614       fi
   10615       hardcode_libdir_flag_spec='-R$libdir'
   10616       hardcode_direct=yes
   10617       hardcode_shlibpath_var=no
   10618       ;;
   10619 
   10620     newsos6)
   10621       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10622       hardcode_direct=yes
   10623       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10624       hardcode_libdir_separator=:
   10625       hardcode_shlibpath_var=no
   10626       ;;
   10627 
   10628     *nto* | *qnx*)
   10629       ;;
   10630 
   10631     openbsd* | bitrig*)
   10632       if test -f /usr/libexec/ld.so; then
   10633 	hardcode_direct=yes
   10634 	hardcode_shlibpath_var=no
   10635 	hardcode_direct_absolute=yes
   10636 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10637 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10638 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10639 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10640 	  export_dynamic_flag_spec='$wl-E'
   10641 	else
   10642 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10643 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10644 	fi
   10645       else
   10646 	ld_shlibs=no
   10647       fi
   10648       ;;
   10649 
   10650     os2*)
   10651       hardcode_libdir_flag_spec='-L$libdir'
   10652       hardcode_minus_L=yes
   10653       allow_undefined_flag=unsupported
   10654       shrext_cmds=.dll
   10655       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10656 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10657 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10658 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10659 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10660 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10661 	emximp -o $lib $output_objdir/$libname.def'
   10662       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10663 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10664 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10665 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10666 	prefix_cmds="$SED"~
   10667 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10668 	  prefix_cmds="$prefix_cmds -e 1d";
   10669 	fi~
   10670 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10671 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10672 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10673 	emximp -o $lib $output_objdir/$libname.def'
   10674       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10675       enable_shared_with_static_runtimes=yes
   10676       file_list_spec='@'
   10677       ;;
   10678 
   10679     osf3*)
   10680       if test yes = "$GCC"; then
   10681 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10682 	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'
   10683       else
   10684 	allow_undefined_flag=' -expect_unresolved \*'
   10685 	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'
   10686       fi
   10687       archive_cmds_need_lc='no'
   10688       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10689       hardcode_libdir_separator=:
   10690       ;;
   10691 
   10692     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10693       if test yes = "$GCC"; then
   10694 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10695 	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'
   10696 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10697       else
   10698 	allow_undefined_flag=' -expect_unresolved \*'
   10699 	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'
   10700 	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~
   10701           $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'
   10702 
   10703 	# Both c and cxx compiler support -rpath directly
   10704 	hardcode_libdir_flag_spec='-rpath $libdir'
   10705       fi
   10706       archive_cmds_need_lc='no'
   10707       hardcode_libdir_separator=:
   10708       ;;
   10709 
   10710     solaris*)
   10711       no_undefined_flag=' -z defs'
   10712       if test yes = "$GCC"; then
   10713 	wlarc='$wl'
   10714 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10715 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10716           $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'
   10717       else
   10718 	case `$CC -V 2>&1` in
   10719 	*"Compilers 5.0"*)
   10720 	  wlarc=''
   10721 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10722 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10723             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10724 	  ;;
   10725 	*)
   10726 	  wlarc='$wl'
   10727 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10728 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10729             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10730 	  ;;
   10731 	esac
   10732       fi
   10733       hardcode_libdir_flag_spec='-R$libdir'
   10734       hardcode_shlibpath_var=no
   10735       case $host_os in
   10736       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10737       *)
   10738 	# The compiler driver will combine and reorder linker options,
   10739 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10740 	# but is careful enough not to reorder.
   10741 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10742 	if test yes = "$GCC"; then
   10743 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10744 	else
   10745 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10746 	fi
   10747 	;;
   10748       esac
   10749       link_all_deplibs=yes
   10750       ;;
   10751 
   10752     sunos4*)
   10753       if test sequent = "$host_vendor"; then
   10754 	# Use $CC to link under sequent, because it throws in some extra .o
   10755 	# files that make .init and .fini sections work.
   10756 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10757       else
   10758 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10759       fi
   10760       hardcode_libdir_flag_spec='-L$libdir'
   10761       hardcode_direct=yes
   10762       hardcode_minus_L=yes
   10763       hardcode_shlibpath_var=no
   10764       ;;
   10765 
   10766     sysv4)
   10767       case $host_vendor in
   10768 	sni)
   10769 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10770 	  hardcode_direct=yes # is this really true???
   10771 	;;
   10772 	siemens)
   10773 	  ## LD is ld it makes a PLAMLIB
   10774 	  ## CC just makes a GrossModule.
   10775 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10776 	  reload_cmds='$CC -r -o $output$reload_objs'
   10777 	  hardcode_direct=no
   10778         ;;
   10779 	motorola)
   10780 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10781 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10782 	;;
   10783       esac
   10784       runpath_var='LD_RUN_PATH'
   10785       hardcode_shlibpath_var=no
   10786       ;;
   10787 
   10788     sysv4.3*)
   10789       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10790       hardcode_shlibpath_var=no
   10791       export_dynamic_flag_spec='-Bexport'
   10792       ;;
   10793 
   10794     sysv4*MP*)
   10795       if test -d /usr/nec; then
   10796 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10797 	hardcode_shlibpath_var=no
   10798 	runpath_var=LD_RUN_PATH
   10799 	hardcode_runpath_var=yes
   10800 	ld_shlibs=yes
   10801       fi
   10802       ;;
   10803 
   10804     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10805       no_undefined_flag='$wl-z,text'
   10806       archive_cmds_need_lc=no
   10807       hardcode_shlibpath_var=no
   10808       runpath_var='LD_RUN_PATH'
   10809 
   10810       if test yes = "$GCC"; then
   10811 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10812 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10813       else
   10814 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10815 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10816       fi
   10817       ;;
   10818 
   10819     sysv5* | sco3.2v5* | sco5v6*)
   10820       # Note: We CANNOT use -z defs as we might desire, because we do not
   10821       # link with -lc, and that would cause any symbols used from libc to
   10822       # always be unresolved, which means just about no library would
   10823       # ever link correctly.  If we're not using GNU ld we use -z text
   10824       # though, which does catch some bad symbols but isn't as heavy-handed
   10825       # as -z defs.
   10826       no_undefined_flag='$wl-z,text'
   10827       allow_undefined_flag='$wl-z,nodefs'
   10828       archive_cmds_need_lc=no
   10829       hardcode_shlibpath_var=no
   10830       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10831       hardcode_libdir_separator=':'
   10832       link_all_deplibs=yes
   10833       export_dynamic_flag_spec='$wl-Bexport'
   10834       runpath_var='LD_RUN_PATH'
   10835 
   10836       if test yes = "$GCC"; then
   10837 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10838 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10839       else
   10840 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10841 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10842       fi
   10843       ;;
   10844 
   10845     uts4*)
   10846       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10847       hardcode_libdir_flag_spec='-L$libdir'
   10848       hardcode_shlibpath_var=no
   10849       ;;
   10850 
   10851     *)
   10852       ld_shlibs=no
   10853       ;;
   10854     esac
   10855 
   10856     if test sni = "$host_vendor"; then
   10857       case $host in
   10858       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10859 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10860 	;;
   10861       esac
   10862     fi
   10863   fi
   10864 
   10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10866 printf "%s\n" "$ld_shlibs" >&6; }
   10867 test no = "$ld_shlibs" && can_build_shared=no
   10868 
   10869 with_gnu_ld=$with_gnu_ld
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 #
   10886 # Do we need to explicitly link libc?
   10887 #
   10888 case "x$archive_cmds_need_lc" in
   10889 x|xyes)
   10890   # Assume -lc should be added
   10891   archive_cmds_need_lc=yes
   10892 
   10893   if test yes,yes = "$GCC,$enable_shared"; then
   10894     case $archive_cmds in
   10895     *'~'*)
   10896       # FIXME: we may have to deal with multi-command sequences.
   10897       ;;
   10898     '$CC '*)
   10899       # Test whether the compiler implicitly links with -lc since on some
   10900       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10901       # to ld, don't add -lc before -lgcc.
   10902       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10903 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10904 if test ${lt_cv_archive_cmds_need_lc+y}
   10905 then :
   10906   printf %s "(cached) " >&6
   10907 else $as_nop
   10908   $RM conftest*
   10909 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10910 
   10911 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10912   (eval $ac_compile) 2>&5
   10913   ac_status=$?
   10914   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10915   test $ac_status = 0; } 2>conftest.err; then
   10916 	  soname=conftest
   10917 	  lib=conftest
   10918 	  libobjs=conftest.$ac_objext
   10919 	  deplibs=
   10920 	  wl=$lt_prog_compiler_wl
   10921 	  pic_flag=$lt_prog_compiler_pic
   10922 	  compiler_flags=-v
   10923 	  linker_flags=-v
   10924 	  verstring=
   10925 	  output_objdir=.
   10926 	  libname=conftest
   10927 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10928 	  allow_undefined_flag=
   10929 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10930   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10931   ac_status=$?
   10932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10933   test $ac_status = 0; }
   10934 	  then
   10935 	    lt_cv_archive_cmds_need_lc=no
   10936 	  else
   10937 	    lt_cv_archive_cmds_need_lc=yes
   10938 	  fi
   10939 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10940 	else
   10941 	  cat conftest.err 1>&5
   10942 	fi
   10943 	$RM conftest*
   10944 
   10945 fi
   10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10947 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10948       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10949       ;;
   10950     esac
   10951   fi
   10952   ;;
   10953 esac
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11107 printf %s "checking dynamic linker characteristics... " >&6; }
   11108 
   11109 if test yes = "$GCC"; then
   11110   case $host_os in
   11111     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11112     *) lt_awk_arg='/^libraries:/' ;;
   11113   esac
   11114   case $host_os in
   11115     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11116     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11117   esac
   11118   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11119   case $lt_search_path_spec in
   11120   *\;*)
   11121     # if the path contains ";" then we assume it to be the separator
   11122     # otherwise default to the standard path separator (i.e. ":") - it is
   11123     # assumed that no part of a normal pathname contains ";" but that should
   11124     # okay in the real world where ";" in dirpaths is itself problematic.
   11125     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11126     ;;
   11127   *)
   11128     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11129     ;;
   11130   esac
   11131   # Ok, now we have the path, separated by spaces, we can step through it
   11132   # and add multilib dir if necessary...
   11133   lt_tmp_lt_search_path_spec=
   11134   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11135   # ...but if some path component already ends with the multilib dir we assume
   11136   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11137   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11138   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11139     lt_multi_os_dir=
   11140     ;;
   11141   esac
   11142   for lt_sys_path in $lt_search_path_spec; do
   11143     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11144       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11145     elif test -n "$lt_multi_os_dir"; then
   11146       test -d "$lt_sys_path" && \
   11147 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11148     fi
   11149   done
   11150   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11151 BEGIN {RS = " "; FS = "/|\n";} {
   11152   lt_foo = "";
   11153   lt_count = 0;
   11154   for (lt_i = NF; lt_i > 0; lt_i--) {
   11155     if ($lt_i != "" && $lt_i != ".") {
   11156       if ($lt_i == "..") {
   11157         lt_count++;
   11158       } else {
   11159         if (lt_count == 0) {
   11160           lt_foo = "/" $lt_i lt_foo;
   11161         } else {
   11162           lt_count--;
   11163         }
   11164       }
   11165     }
   11166   }
   11167   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11168   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11169 }'`
   11170   # AWK program above erroneously prepends '/' to C:/dos/paths
   11171   # for these hosts.
   11172   case $host_os in
   11173     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11174       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11175   esac
   11176   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11177 else
   11178   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11179 fi
   11180 library_names_spec=
   11181 libname_spec='lib$name'
   11182 soname_spec=
   11183 shrext_cmds=.so
   11184 postinstall_cmds=
   11185 postuninstall_cmds=
   11186 finish_cmds=
   11187 finish_eval=
   11188 shlibpath_var=
   11189 shlibpath_overrides_runpath=unknown
   11190 version_type=none
   11191 dynamic_linker="$host_os ld.so"
   11192 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11193 need_lib_prefix=unknown
   11194 hardcode_into_libs=no
   11195 
   11196 # when you set need_version to no, make sure it does not cause -set_version
   11197 # flags to be left without arguments
   11198 need_version=unknown
   11199 
   11200 
   11201 
   11202 case $host_os in
   11203 aix3*)
   11204   version_type=linux # correct to gnu/linux during the next big refactor
   11205   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11206   shlibpath_var=LIBPATH
   11207 
   11208   # AIX 3 has no versioning support, so we append a major version to the name.
   11209   soname_spec='$libname$release$shared_ext$major'
   11210   ;;
   11211 
   11212 aix[4-9]*)
   11213   version_type=linux # correct to gnu/linux during the next big refactor
   11214   need_lib_prefix=no
   11215   need_version=no
   11216   hardcode_into_libs=yes
   11217   if test ia64 = "$host_cpu"; then
   11218     # AIX 5 supports IA64
   11219     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11220     shlibpath_var=LD_LIBRARY_PATH
   11221   else
   11222     # With GCC up to 2.95.x, collect2 would create an import file
   11223     # for dependence libraries.  The import file would start with
   11224     # the line '#! .'.  This would cause the generated library to
   11225     # depend on '.', always an invalid library.  This was fixed in
   11226     # development snapshots of GCC prior to 3.0.
   11227     case $host_os in
   11228       aix4 | aix4.[01] | aix4.[01].*)
   11229       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11230 	   echo ' yes '
   11231 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11232 	:
   11233       else
   11234 	can_build_shared=no
   11235       fi
   11236       ;;
   11237     esac
   11238     # Using Import Files as archive members, it is possible to support
   11239     # filename-based versioning of shared library archives on AIX. While
   11240     # this would work for both with and without runtime linking, it will
   11241     # prevent static linking of such archives. So we do filename-based
   11242     # shared library versioning with .so extension only, which is used
   11243     # when both runtime linking and shared linking is enabled.
   11244     # Unfortunately, runtime linking may impact performance, so we do
   11245     # not want this to be the default eventually. Also, we use the
   11246     # versioned .so libs for executables only if there is the -brtl
   11247     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11248     # To allow for filename-based versioning support, we need to create
   11249     # libNAME.so.V as an archive file, containing:
   11250     # *) an Import File, referring to the versioned filename of the
   11251     #    archive as well as the shared archive member, telling the
   11252     #    bitwidth (32 or 64) of that shared object, and providing the
   11253     #    list of exported symbols of that shared object, eventually
   11254     #    decorated with the 'weak' keyword
   11255     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11256     #    it being seen by the linker.
   11257     # At run time we better use the real file rather than another symlink,
   11258     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11259 
   11260     case $with_aix_soname,$aix_use_runtimelinking in
   11261     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11262     # soname into executable. Probably we can add versioning support to
   11263     # collect2, so additional links can be useful in future.
   11264     aix,yes) # traditional libtool
   11265       dynamic_linker='AIX unversionable lib.so'
   11266       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11267       # instead of lib<name>.a to let people know that these are not
   11268       # typical AIX shared libraries.
   11269       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11270       ;;
   11271     aix,no) # traditional AIX only
   11272       dynamic_linker='AIX lib.a(lib.so.V)'
   11273       # We preserve .a as extension for shared libraries through AIX4.2
   11274       # and later when we are not doing run time linking.
   11275       library_names_spec='$libname$release.a $libname.a'
   11276       soname_spec='$libname$release$shared_ext$major'
   11277       ;;
   11278     svr4,*) # full svr4 only
   11279       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11280       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11281       # We do not specify a path in Import Files, so LIBPATH fires.
   11282       shlibpath_overrides_runpath=yes
   11283       ;;
   11284     *,yes) # both, prefer svr4
   11285       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11286       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11287       # unpreferred sharedlib libNAME.a needs extra handling
   11288       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"'
   11289       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"'
   11290       # We do not specify a path in Import Files, so LIBPATH fires.
   11291       shlibpath_overrides_runpath=yes
   11292       ;;
   11293     *,no) # both, prefer aix
   11294       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11295       library_names_spec='$libname$release.a $libname.a'
   11296       soname_spec='$libname$release$shared_ext$major'
   11297       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11298       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)'
   11299       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"'
   11300       ;;
   11301     esac
   11302     shlibpath_var=LIBPATH
   11303   fi
   11304   ;;
   11305 
   11306 amigaos*)
   11307   case $host_cpu in
   11308   powerpc)
   11309     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11310     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11311     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11312     ;;
   11313   m68k)
   11314     library_names_spec='$libname.ixlibrary $libname.a'
   11315     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11316     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'
   11317     ;;
   11318   esac
   11319   ;;
   11320 
   11321 beos*)
   11322   library_names_spec='$libname$shared_ext'
   11323   dynamic_linker="$host_os ld.so"
   11324   shlibpath_var=LIBRARY_PATH
   11325   ;;
   11326 
   11327 bsdi[45]*)
   11328   version_type=linux # correct to gnu/linux during the next big refactor
   11329   need_version=no
   11330   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11331   soname_spec='$libname$release$shared_ext$major'
   11332   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11333   shlibpath_var=LD_LIBRARY_PATH
   11334   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11335   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11336   # the default ld.so.conf also contains /usr/contrib/lib and
   11337   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11338   # libtool to hard-code these into programs
   11339   ;;
   11340 
   11341 cygwin* | mingw* | pw32* | cegcc*)
   11342   version_type=windows
   11343   shrext_cmds=.dll
   11344   need_version=no
   11345   need_lib_prefix=no
   11346 
   11347   case $GCC,$cc_basename in
   11348   yes,*)
   11349     # gcc
   11350     library_names_spec='$libname.dll.a'
   11351     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11352     postinstall_cmds='base_file=`basename \$file`~
   11353       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11354       dldir=$destdir/`dirname \$dlpath`~
   11355       test -d \$dldir || mkdir -p \$dldir~
   11356       $install_prog $dir/$dlname \$dldir/$dlname~
   11357       chmod a+x \$dldir/$dlname~
   11358       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11359         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11360       fi'
   11361     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11362       dlpath=$dir/\$dldll~
   11363        $RM \$dlpath'
   11364     shlibpath_overrides_runpath=yes
   11365 
   11366     case $host_os in
   11367     cygwin*)
   11368       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11369       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11370 
   11371       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11372       ;;
   11373     mingw* | cegcc*)
   11374       # MinGW DLLs use traditional 'lib' prefix
   11375       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11376       ;;
   11377     pw32*)
   11378       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11379       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11380       ;;
   11381     esac
   11382     dynamic_linker='Win32 ld.exe'
   11383     ;;
   11384 
   11385   *,cl* | *,icl*)
   11386     # Native MSVC or ICC
   11387     libname_spec='$name'
   11388     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11389     library_names_spec='$libname.dll.lib'
   11390 
   11391     case $build_os in
   11392     mingw*)
   11393       sys_lib_search_path_spec=
   11394       lt_save_ifs=$IFS
   11395       IFS=';'
   11396       for lt_path in $LIB
   11397       do
   11398         IFS=$lt_save_ifs
   11399         # Let DOS variable expansion print the short 8.3 style file name.
   11400         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11401         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11402       done
   11403       IFS=$lt_save_ifs
   11404       # Convert to MSYS style.
   11405       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11406       ;;
   11407     cygwin*)
   11408       # Convert to unix form, then to dos form, then back to unix form
   11409       # but this time dos style (no spaces!) so that the unix form looks
   11410       # like /cygdrive/c/PROGRA~1:/cygdr...
   11411       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11412       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11413       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11414       ;;
   11415     *)
   11416       sys_lib_search_path_spec=$LIB
   11417       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11418         # It is most probably a Windows format PATH.
   11419         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11420       else
   11421         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11422       fi
   11423       # FIXME: find the short name or the path components, as spaces are
   11424       # common. (e.g. "Program Files" -> "PROGRA~1")
   11425       ;;
   11426     esac
   11427 
   11428     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11429     postinstall_cmds='base_file=`basename \$file`~
   11430       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11431       dldir=$destdir/`dirname \$dlpath`~
   11432       test -d \$dldir || mkdir -p \$dldir~
   11433       $install_prog $dir/$dlname \$dldir/$dlname'
   11434     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11435       dlpath=$dir/\$dldll~
   11436        $RM \$dlpath'
   11437     shlibpath_overrides_runpath=yes
   11438     dynamic_linker='Win32 link.exe'
   11439     ;;
   11440 
   11441   *)
   11442     # Assume MSVC and ICC wrapper
   11443     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11444     dynamic_linker='Win32 ld.exe'
   11445     ;;
   11446   esac
   11447   # FIXME: first we should search . and the directory the executable is in
   11448   shlibpath_var=PATH
   11449   ;;
   11450 
   11451 darwin* | rhapsody*)
   11452   dynamic_linker="$host_os dyld"
   11453   version_type=darwin
   11454   need_lib_prefix=no
   11455   need_version=no
   11456   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11457   soname_spec='$libname$release$major$shared_ext'
   11458   shlibpath_overrides_runpath=yes
   11459   shlibpath_var=DYLD_LIBRARY_PATH
   11460   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11461 
   11462   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11463   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11464   ;;
   11465 
   11466 dgux*)
   11467   version_type=linux # correct to gnu/linux during the next big refactor
   11468   need_lib_prefix=no
   11469   need_version=no
   11470   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11471   soname_spec='$libname$release$shared_ext$major'
   11472   shlibpath_var=LD_LIBRARY_PATH
   11473   ;;
   11474 
   11475 freebsd* | dragonfly* | midnightbsd*)
   11476   # DragonFly does not have aout.  When/if they implement a new
   11477   # versioning mechanism, adjust this.
   11478   if test -x /usr/bin/objformat; then
   11479     objformat=`/usr/bin/objformat`
   11480   else
   11481     case $host_os in
   11482     freebsd[23].*) objformat=aout ;;
   11483     *) objformat=elf ;;
   11484     esac
   11485   fi
   11486   version_type=freebsd-$objformat
   11487   case $version_type in
   11488     freebsd-elf*)
   11489       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11490       soname_spec='$libname$release$shared_ext$major'
   11491       need_version=no
   11492       need_lib_prefix=no
   11493       ;;
   11494     freebsd-*)
   11495       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11496       need_version=yes
   11497       ;;
   11498   esac
   11499   shlibpath_var=LD_LIBRARY_PATH
   11500   case $host_os in
   11501   freebsd2.*)
   11502     shlibpath_overrides_runpath=yes
   11503     ;;
   11504   freebsd3.[01]* | freebsdelf3.[01]*)
   11505     shlibpath_overrides_runpath=yes
   11506     hardcode_into_libs=yes
   11507     ;;
   11508   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11509   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11510     shlibpath_overrides_runpath=no
   11511     hardcode_into_libs=yes
   11512     ;;
   11513   *) # from 4.6 on, and DragonFly
   11514     shlibpath_overrides_runpath=yes
   11515     hardcode_into_libs=yes
   11516     ;;
   11517   esac
   11518   ;;
   11519 
   11520 haiku*)
   11521   version_type=linux # correct to gnu/linux during the next big refactor
   11522   need_lib_prefix=no
   11523   need_version=no
   11524   dynamic_linker="$host_os runtime_loader"
   11525   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11526   soname_spec='$libname$release$shared_ext$major'
   11527   shlibpath_var=LIBRARY_PATH
   11528   shlibpath_overrides_runpath=no
   11529   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11530   hardcode_into_libs=yes
   11531   ;;
   11532 
   11533 hpux9* | hpux10* | hpux11*)
   11534   # Give a soname corresponding to the major version so that dld.sl refuses to
   11535   # link against other versions.
   11536   version_type=sunos
   11537   need_lib_prefix=no
   11538   need_version=no
   11539   case $host_cpu in
   11540   ia64*)
   11541     shrext_cmds='.so'
   11542     hardcode_into_libs=yes
   11543     dynamic_linker="$host_os dld.so"
   11544     shlibpath_var=LD_LIBRARY_PATH
   11545     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11546     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11547     soname_spec='$libname$release$shared_ext$major'
   11548     if test 32 = "$HPUX_IA64_MODE"; then
   11549       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11550       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11551     else
   11552       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11553       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11554     fi
   11555     ;;
   11556   hppa*64*)
   11557     shrext_cmds='.sl'
   11558     hardcode_into_libs=yes
   11559     dynamic_linker="$host_os dld.sl"
   11560     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11561     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11562     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11563     soname_spec='$libname$release$shared_ext$major'
   11564     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11565     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11566     ;;
   11567   *)
   11568     shrext_cmds='.sl'
   11569     dynamic_linker="$host_os dld.sl"
   11570     shlibpath_var=SHLIB_PATH
   11571     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11572     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11573     soname_spec='$libname$release$shared_ext$major'
   11574     ;;
   11575   esac
   11576   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11577   postinstall_cmds='chmod 555 $lib'
   11578   # or fails outright, so override atomically:
   11579   install_override_mode=555
   11580   ;;
   11581 
   11582 interix[3-9]*)
   11583   version_type=linux # correct to gnu/linux during the next big refactor
   11584   need_lib_prefix=no
   11585   need_version=no
   11586   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11587   soname_spec='$libname$release$shared_ext$major'
   11588   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11589   shlibpath_var=LD_LIBRARY_PATH
   11590   shlibpath_overrides_runpath=no
   11591   hardcode_into_libs=yes
   11592   ;;
   11593 
   11594 irix5* | irix6* | nonstopux*)
   11595   case $host_os in
   11596     nonstopux*) version_type=nonstopux ;;
   11597     *)
   11598 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11599 		version_type=linux # correct to gnu/linux during the next big refactor
   11600 	else
   11601 		version_type=irix
   11602 	fi ;;
   11603   esac
   11604   need_lib_prefix=no
   11605   need_version=no
   11606   soname_spec='$libname$release$shared_ext$major'
   11607   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11608   case $host_os in
   11609   irix5* | nonstopux*)
   11610     libsuff= shlibsuff=
   11611     ;;
   11612   *)
   11613     case $LD in # libtool.m4 will add one of these switches to LD
   11614     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11615       libsuff= shlibsuff= libmagic=32-bit;;
   11616     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11617       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11618     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11619       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11620     *) libsuff= shlibsuff= libmagic=never-match;;
   11621     esac
   11622     ;;
   11623   esac
   11624   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11625   shlibpath_overrides_runpath=no
   11626   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11627   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11628   hardcode_into_libs=yes
   11629   ;;
   11630 
   11631 # No shared lib support for Linux oldld, aout, or coff.
   11632 linux*oldld* | linux*aout* | linux*coff*)
   11633   dynamic_linker=no
   11634   ;;
   11635 
   11636 linux*android*)
   11637   version_type=none # Android doesn't support versioned libraries.
   11638   need_lib_prefix=no
   11639   need_version=no
   11640   library_names_spec='$libname$release$shared_ext'
   11641   soname_spec='$libname$release$shared_ext'
   11642   finish_cmds=
   11643   shlibpath_var=LD_LIBRARY_PATH
   11644   shlibpath_overrides_runpath=yes
   11645 
   11646   # This implies no fast_install, which is unacceptable.
   11647   # Some rework will be needed to allow for fast_install
   11648   # before this can be enabled.
   11649   hardcode_into_libs=yes
   11650 
   11651   dynamic_linker='Android linker'
   11652   # Don't embed -rpath directories since the linker doesn't support them.
   11653   hardcode_libdir_flag_spec='-L$libdir'
   11654   ;;
   11655 
   11656 # This must be glibc/ELF.
   11657 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11658   version_type=linux # correct to gnu/linux during the next big refactor
   11659   need_lib_prefix=no
   11660   need_version=no
   11661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11662   soname_spec='$libname$release$shared_ext$major'
   11663   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11664   shlibpath_var=LD_LIBRARY_PATH
   11665   shlibpath_overrides_runpath=no
   11666 
   11667   # Some binutils ld are patched to set DT_RUNPATH
   11668   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11669 then :
   11670   printf %s "(cached) " >&6
   11671 else $as_nop
   11672   lt_cv_shlibpath_overrides_runpath=no
   11673     save_LDFLAGS=$LDFLAGS
   11674     save_libdir=$libdir
   11675     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11676 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11677     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11678 /* end confdefs.h.  */
   11679 
   11680 int
   11681 main (void)
   11682 {
   11683 
   11684   ;
   11685   return 0;
   11686 }
   11687 _ACEOF
   11688 if ac_fn_c_try_link "$LINENO"
   11689 then :
   11690   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11691 then :
   11692   lt_cv_shlibpath_overrides_runpath=yes
   11693 fi
   11694 fi
   11695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11696     conftest$ac_exeext conftest.$ac_ext
   11697     LDFLAGS=$save_LDFLAGS
   11698     libdir=$save_libdir
   11699 
   11700 fi
   11701 
   11702   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11703 
   11704   # This implies no fast_install, which is unacceptable.
   11705   # Some rework will be needed to allow for fast_install
   11706   # before this can be enabled.
   11707   hardcode_into_libs=yes
   11708 
   11709   # Ideally, we could use ldconfig to report *all* directores which are
   11710   # searched for libraries, however this is still not possible.  Aside from not
   11711   # being certain /sbin/ldconfig is available, command
   11712   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11713   # even though it is searched at run-time.  Try to do the best guess by
   11714   # appending ld.so.conf contents (and includes) to the search path.
   11715   if test -f /etc/ld.so.conf; then
   11716     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' ' '`
   11717     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11718   fi
   11719 
   11720   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11721   # powerpc, because MkLinux only supported shared libraries with the
   11722   # GNU dynamic linker.  Since this was broken with cross compilers,
   11723   # most powerpc-linux boxes support dynamic linking these days and
   11724   # people can always --disable-shared, the test was removed, and we
   11725   # assume the GNU/Linux dynamic linker is in use.
   11726   dynamic_linker='GNU/Linux ld.so'
   11727   ;;
   11728 
   11729 netbsd*)
   11730   version_type=sunos
   11731   need_lib_prefix=no
   11732   need_version=no
   11733   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11734     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11735     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11736     dynamic_linker='NetBSD (a.out) ld.so'
   11737   else
   11738     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11739     soname_spec='$libname$release$shared_ext$major'
   11740     dynamic_linker='NetBSD ld.elf_so'
   11741   fi
   11742   shlibpath_var=LD_LIBRARY_PATH
   11743   shlibpath_overrides_runpath=yes
   11744   hardcode_into_libs=yes
   11745   ;;
   11746 
   11747 newsos6)
   11748   version_type=linux # correct to gnu/linux during the next big refactor
   11749   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11750   shlibpath_var=LD_LIBRARY_PATH
   11751   shlibpath_overrides_runpath=yes
   11752   ;;
   11753 
   11754 *nto* | *qnx*)
   11755   version_type=qnx
   11756   need_lib_prefix=no
   11757   need_version=no
   11758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11759   soname_spec='$libname$release$shared_ext$major'
   11760   shlibpath_var=LD_LIBRARY_PATH
   11761   shlibpath_overrides_runpath=no
   11762   hardcode_into_libs=yes
   11763   dynamic_linker='ldqnx.so'
   11764   ;;
   11765 
   11766 openbsd* | bitrig*)
   11767   version_type=sunos
   11768   sys_lib_dlsearch_path_spec=/usr/lib
   11769   need_lib_prefix=no
   11770   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11771     need_version=no
   11772   else
   11773     need_version=yes
   11774   fi
   11775   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11776   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11777   shlibpath_var=LD_LIBRARY_PATH
   11778   shlibpath_overrides_runpath=yes
   11779   ;;
   11780 
   11781 os2*)
   11782   libname_spec='$name'
   11783   version_type=windows
   11784   shrext_cmds=.dll
   11785   need_version=no
   11786   need_lib_prefix=no
   11787   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11788   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11789     v=$($ECHO $release$versuffix | tr -d .-);
   11790     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11791     $ECHO $n$v`$shared_ext'
   11792   library_names_spec='${libname}_dll.$libext'
   11793   dynamic_linker='OS/2 ld.exe'
   11794   shlibpath_var=BEGINLIBPATH
   11795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11796   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11797   postinstall_cmds='base_file=`basename \$file`~
   11798     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11799     dldir=$destdir/`dirname \$dlpath`~
   11800     test -d \$dldir || mkdir -p \$dldir~
   11801     $install_prog $dir/$dlname \$dldir/$dlname~
   11802     chmod a+x \$dldir/$dlname~
   11803     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11804       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11805     fi'
   11806   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11807     dlpath=$dir/\$dldll~
   11808     $RM \$dlpath'
   11809   ;;
   11810 
   11811 osf3* | osf4* | osf5*)
   11812   version_type=osf
   11813   need_lib_prefix=no
   11814   need_version=no
   11815   soname_spec='$libname$release$shared_ext$major'
   11816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11817   shlibpath_var=LD_LIBRARY_PATH
   11818   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11819   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11820   ;;
   11821 
   11822 rdos*)
   11823   dynamic_linker=no
   11824   ;;
   11825 
   11826 solaris*)
   11827   version_type=linux # correct to gnu/linux during the next big refactor
   11828   need_lib_prefix=no
   11829   need_version=no
   11830   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11831   soname_spec='$libname$release$shared_ext$major'
   11832   shlibpath_var=LD_LIBRARY_PATH
   11833   shlibpath_overrides_runpath=yes
   11834   hardcode_into_libs=yes
   11835   # ldd complains unless libraries are executable
   11836   postinstall_cmds='chmod +x $lib'
   11837   ;;
   11838 
   11839 sunos4*)
   11840   version_type=sunos
   11841   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11842   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11843   shlibpath_var=LD_LIBRARY_PATH
   11844   shlibpath_overrides_runpath=yes
   11845   if test yes = "$with_gnu_ld"; then
   11846     need_lib_prefix=no
   11847   fi
   11848   need_version=yes
   11849   ;;
   11850 
   11851 sysv4 | sysv4.3*)
   11852   version_type=linux # correct to gnu/linux during the next big refactor
   11853   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11854   soname_spec='$libname$release$shared_ext$major'
   11855   shlibpath_var=LD_LIBRARY_PATH
   11856   case $host_vendor in
   11857     sni)
   11858       shlibpath_overrides_runpath=no
   11859       need_lib_prefix=no
   11860       runpath_var=LD_RUN_PATH
   11861       ;;
   11862     siemens)
   11863       need_lib_prefix=no
   11864       ;;
   11865     motorola)
   11866       need_lib_prefix=no
   11867       need_version=no
   11868       shlibpath_overrides_runpath=no
   11869       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11870       ;;
   11871   esac
   11872   ;;
   11873 
   11874 sysv4*MP*)
   11875   if test -d /usr/nec; then
   11876     version_type=linux # correct to gnu/linux during the next big refactor
   11877     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11878     soname_spec='$libname$shared_ext.$major'
   11879     shlibpath_var=LD_LIBRARY_PATH
   11880   fi
   11881   ;;
   11882 
   11883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11884   version_type=sco
   11885   need_lib_prefix=no
   11886   need_version=no
   11887   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11888   soname_spec='$libname$release$shared_ext$major'
   11889   shlibpath_var=LD_LIBRARY_PATH
   11890   shlibpath_overrides_runpath=yes
   11891   hardcode_into_libs=yes
   11892   if test yes = "$with_gnu_ld"; then
   11893     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11894   else
   11895     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11896     case $host_os in
   11897       sco3.2v5*)
   11898         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11899 	;;
   11900     esac
   11901   fi
   11902   sys_lib_dlsearch_path_spec='/usr/lib'
   11903   ;;
   11904 
   11905 tpf*)
   11906   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11907   version_type=linux # correct to gnu/linux during the next big refactor
   11908   need_lib_prefix=no
   11909   need_version=no
   11910   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11911   shlibpath_var=LD_LIBRARY_PATH
   11912   shlibpath_overrides_runpath=no
   11913   hardcode_into_libs=yes
   11914   ;;
   11915 
   11916 uts4*)
   11917   version_type=linux # correct to gnu/linux during the next big refactor
   11918   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11919   soname_spec='$libname$release$shared_ext$major'
   11920   shlibpath_var=LD_LIBRARY_PATH
   11921   ;;
   11922 
   11923 *)
   11924   dynamic_linker=no
   11925   ;;
   11926 esac
   11927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11928 printf "%s\n" "$dynamic_linker" >&6; }
   11929 test no = "$dynamic_linker" && can_build_shared=no
   11930 
   11931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11932 if test yes = "$GCC"; then
   11933   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11934 fi
   11935 
   11936 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11937   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11938 fi
   11939 
   11940 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11941   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11942 fi
   11943 
   11944 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11945 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11946 
   11947 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11948 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11949 
   11950 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11951 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12050 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12051 hardcode_action=
   12052 if test -n "$hardcode_libdir_flag_spec" ||
   12053    test -n "$runpath_var" ||
   12054    test yes = "$hardcode_automatic"; then
   12055 
   12056   # We can hardcode non-existent directories.
   12057   if test no != "$hardcode_direct" &&
   12058      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12059      # have to relink, otherwise we might link with an installed library
   12060      # when we should be linking with a yet-to-be-installed one
   12061      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12062      test no != "$hardcode_minus_L"; then
   12063     # Linking always hardcodes the temporary library directory.
   12064     hardcode_action=relink
   12065   else
   12066     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12067     hardcode_action=immediate
   12068   fi
   12069 else
   12070   # We cannot hardcode anything, or else we can only hardcode existing
   12071   # directories.
   12072   hardcode_action=unsupported
   12073 fi
   12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12075 printf "%s\n" "$hardcode_action" >&6; }
   12076 
   12077 if test relink = "$hardcode_action" ||
   12078    test yes = "$inherit_rpath"; then
   12079   # Fast installation is not supported
   12080   enable_fast_install=no
   12081 elif test yes = "$shlibpath_overrides_runpath" ||
   12082      test no = "$enable_shared"; then
   12083   # Fast installation is not necessary
   12084   enable_fast_install=needless
   12085 fi
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092   if test yes != "$enable_dlopen"; then
   12093   enable_dlopen=unknown
   12094   enable_dlopen_self=unknown
   12095   enable_dlopen_self_static=unknown
   12096 else
   12097   lt_cv_dlopen=no
   12098   lt_cv_dlopen_libs=
   12099 
   12100   case $host_os in
   12101   beos*)
   12102     lt_cv_dlopen=load_add_on
   12103     lt_cv_dlopen_libs=
   12104     lt_cv_dlopen_self=yes
   12105     ;;
   12106 
   12107   mingw* | pw32* | cegcc*)
   12108     lt_cv_dlopen=LoadLibrary
   12109     lt_cv_dlopen_libs=
   12110     ;;
   12111 
   12112   cygwin*)
   12113     lt_cv_dlopen=dlopen
   12114     lt_cv_dlopen_libs=
   12115     ;;
   12116 
   12117   darwin*)
   12118     # if libdl is installed we need to link against it
   12119     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12120 printf %s "checking for dlopen in -ldl... " >&6; }
   12121 if test ${ac_cv_lib_dl_dlopen+y}
   12122 then :
   12123   printf %s "(cached) " >&6
   12124 else $as_nop
   12125   ac_check_lib_save_LIBS=$LIBS
   12126 LIBS="-ldl  $LIBS"
   12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12128 /* end confdefs.h.  */
   12129 
   12130 /* Override any GCC internal prototype to avoid an error.
   12131    Use char because int might match the return type of a GCC
   12132    builtin and then its argument prototype would still apply.  */
   12133 char dlopen ();
   12134 int
   12135 main (void)
   12136 {
   12137 return dlopen ();
   12138   ;
   12139   return 0;
   12140 }
   12141 _ACEOF
   12142 if ac_fn_c_try_link "$LINENO"
   12143 then :
   12144   ac_cv_lib_dl_dlopen=yes
   12145 else $as_nop
   12146   ac_cv_lib_dl_dlopen=no
   12147 fi
   12148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12149     conftest$ac_exeext conftest.$ac_ext
   12150 LIBS=$ac_check_lib_save_LIBS
   12151 fi
   12152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12153 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12154 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12155 then :
   12156   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12157 else $as_nop
   12158 
   12159     lt_cv_dlopen=dyld
   12160     lt_cv_dlopen_libs=
   12161     lt_cv_dlopen_self=yes
   12162 
   12163 fi
   12164 
   12165     ;;
   12166 
   12167   tpf*)
   12168     # Don't try to run any link tests for TPF.  We know it's impossible
   12169     # because TPF is a cross-compiler, and we know how we open DSOs.
   12170     lt_cv_dlopen=dlopen
   12171     lt_cv_dlopen_libs=
   12172     lt_cv_dlopen_self=no
   12173     ;;
   12174 
   12175   *)
   12176     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12177 if test "x$ac_cv_func_shl_load" = xyes
   12178 then :
   12179   lt_cv_dlopen=shl_load
   12180 else $as_nop
   12181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12182 printf %s "checking for shl_load in -ldld... " >&6; }
   12183 if test ${ac_cv_lib_dld_shl_load+y}
   12184 then :
   12185   printf %s "(cached) " >&6
   12186 else $as_nop
   12187   ac_check_lib_save_LIBS=$LIBS
   12188 LIBS="-ldld  $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 shl_load ();
   12196 int
   12197 main (void)
   12198 {
   12199 return shl_load ();
   12200   ;
   12201   return 0;
   12202 }
   12203 _ACEOF
   12204 if ac_fn_c_try_link "$LINENO"
   12205 then :
   12206   ac_cv_lib_dld_shl_load=yes
   12207 else $as_nop
   12208   ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5
   12215 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12216 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12217 then :
   12218   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12219 else $as_nop
   12220   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12221 if test "x$ac_cv_func_dlopen" = xyes
   12222 then :
   12223   lt_cv_dlopen=dlopen
   12224 else $as_nop
   12225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12226 printf %s "checking for dlopen in -ldl... " >&6; }
   12227 if test ${ac_cv_lib_dl_dlopen+y}
   12228 then :
   12229   printf %s "(cached) " >&6
   12230 else $as_nop
   12231   ac_check_lib_save_LIBS=$LIBS
   12232 LIBS="-ldl  $LIBS"
   12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12234 /* end confdefs.h.  */
   12235 
   12236 /* Override any GCC internal prototype to avoid an error.
   12237    Use char because int might match the return type of a GCC
   12238    builtin and then its argument prototype would still apply.  */
   12239 char dlopen ();
   12240 int
   12241 main (void)
   12242 {
   12243 return dlopen ();
   12244   ;
   12245   return 0;
   12246 }
   12247 _ACEOF
   12248 if ac_fn_c_try_link "$LINENO"
   12249 then :
   12250   ac_cv_lib_dl_dlopen=yes
   12251 else $as_nop
   12252   ac_cv_lib_dl_dlopen=no
   12253 fi
   12254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12255     conftest$ac_exeext conftest.$ac_ext
   12256 LIBS=$ac_check_lib_save_LIBS
   12257 fi
   12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12259 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12260 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12261 then :
   12262   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12263 else $as_nop
   12264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12265 printf %s "checking for dlopen in -lsvld... " >&6; }
   12266 if test ${ac_cv_lib_svld_dlopen+y}
   12267 then :
   12268   printf %s "(cached) " >&6
   12269 else $as_nop
   12270   ac_check_lib_save_LIBS=$LIBS
   12271 LIBS="-lsvld  $LIBS"
   12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12273 /* end confdefs.h.  */
   12274 
   12275 /* Override any GCC internal prototype to avoid an error.
   12276    Use char because int might match the return type of a GCC
   12277    builtin and then its argument prototype would still apply.  */
   12278 char dlopen ();
   12279 int
   12280 main (void)
   12281 {
   12282 return dlopen ();
   12283   ;
   12284   return 0;
   12285 }
   12286 _ACEOF
   12287 if ac_fn_c_try_link "$LINENO"
   12288 then :
   12289   ac_cv_lib_svld_dlopen=yes
   12290 else $as_nop
   12291   ac_cv_lib_svld_dlopen=no
   12292 fi
   12293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12294     conftest$ac_exeext conftest.$ac_ext
   12295 LIBS=$ac_check_lib_save_LIBS
   12296 fi
   12297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12298 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12299 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12300 then :
   12301   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12302 else $as_nop
   12303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12304 printf %s "checking for dld_link in -ldld... " >&6; }
   12305 if test ${ac_cv_lib_dld_dld_link+y}
   12306 then :
   12307   printf %s "(cached) " >&6
   12308 else $as_nop
   12309   ac_check_lib_save_LIBS=$LIBS
   12310 LIBS="-ldld  $LIBS"
   12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12312 /* end confdefs.h.  */
   12313 
   12314 /* Override any GCC internal prototype to avoid an error.
   12315    Use char because int might match the return type of a GCC
   12316    builtin and then its argument prototype would still apply.  */
   12317 char dld_link ();
   12318 int
   12319 main (void)
   12320 {
   12321 return dld_link ();
   12322   ;
   12323   return 0;
   12324 }
   12325 _ACEOF
   12326 if ac_fn_c_try_link "$LINENO"
   12327 then :
   12328   ac_cv_lib_dld_dld_link=yes
   12329 else $as_nop
   12330   ac_cv_lib_dld_dld_link=no
   12331 fi
   12332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12333     conftest$ac_exeext conftest.$ac_ext
   12334 LIBS=$ac_check_lib_save_LIBS
   12335 fi
   12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12337 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12338 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12339 then :
   12340   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12341 fi
   12342 
   12343 
   12344 fi
   12345 
   12346 
   12347 fi
   12348 
   12349 
   12350 fi
   12351 
   12352 
   12353 fi
   12354 
   12355 
   12356 fi
   12357 
   12358     ;;
   12359   esac
   12360 
   12361   if test no = "$lt_cv_dlopen"; then
   12362     enable_dlopen=no
   12363   else
   12364     enable_dlopen=yes
   12365   fi
   12366 
   12367   case $lt_cv_dlopen in
   12368   dlopen)
   12369     save_CPPFLAGS=$CPPFLAGS
   12370     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12371 
   12372     save_LDFLAGS=$LDFLAGS
   12373     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12374 
   12375     save_LIBS=$LIBS
   12376     LIBS="$lt_cv_dlopen_libs $LIBS"
   12377 
   12378     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12379 printf %s "checking whether a program can dlopen itself... " >&6; }
   12380 if test ${lt_cv_dlopen_self+y}
   12381 then :
   12382   printf %s "(cached) " >&6
   12383 else $as_nop
   12384   	  if test yes = "$cross_compiling"; then :
   12385   lt_cv_dlopen_self=cross
   12386 else
   12387   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12388   lt_status=$lt_dlunknown
   12389   cat > conftest.$ac_ext <<_LT_EOF
   12390 #line $LINENO "configure"
   12391 #include "confdefs.h"
   12392 
   12393 #if HAVE_DLFCN_H
   12394 #include <dlfcn.h>
   12395 #endif
   12396 
   12397 #include <stdio.h>
   12398 
   12399 #ifdef RTLD_GLOBAL
   12400 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12401 #else
   12402 #  ifdef DL_GLOBAL
   12403 #    define LT_DLGLOBAL		DL_GLOBAL
   12404 #  else
   12405 #    define LT_DLGLOBAL		0
   12406 #  endif
   12407 #endif
   12408 
   12409 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12410    find out it does not work in some platform. */
   12411 #ifndef LT_DLLAZY_OR_NOW
   12412 #  ifdef RTLD_LAZY
   12413 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12414 #  else
   12415 #    ifdef DL_LAZY
   12416 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12417 #    else
   12418 #      ifdef RTLD_NOW
   12419 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12420 #      else
   12421 #        ifdef DL_NOW
   12422 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12423 #        else
   12424 #          define LT_DLLAZY_OR_NOW	0
   12425 #        endif
   12426 #      endif
   12427 #    endif
   12428 #  endif
   12429 #endif
   12430 
   12431 /* When -fvisibility=hidden is used, assume the code has been annotated
   12432    correspondingly for the symbols needed.  */
   12433 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12434 int fnord () __attribute__((visibility("default")));
   12435 #endif
   12436 
   12437 int fnord () { return 42; }
   12438 int main ()
   12439 {
   12440   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12441   int status = $lt_dlunknown;
   12442 
   12443   if (self)
   12444     {
   12445       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12446       else
   12447         {
   12448 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12449           else puts (dlerror ());
   12450 	}
   12451       /* dlclose (self); */
   12452     }
   12453   else
   12454     puts (dlerror ());
   12455 
   12456   return status;
   12457 }
   12458 _LT_EOF
   12459   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12460   (eval $ac_link) 2>&5
   12461   ac_status=$?
   12462   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12463   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12464     (./conftest; exit; ) >&5 2>/dev/null
   12465     lt_status=$?
   12466     case x$lt_status in
   12467       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12468       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12469       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12470     esac
   12471   else :
   12472     # compilation failed
   12473     lt_cv_dlopen_self=no
   12474   fi
   12475 fi
   12476 rm -fr conftest*
   12477 
   12478 
   12479 fi
   12480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12481 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12482 
   12483     if test yes = "$lt_cv_dlopen_self"; then
   12484       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12485       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12486 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12487 if test ${lt_cv_dlopen_self_static+y}
   12488 then :
   12489   printf %s "(cached) " >&6
   12490 else $as_nop
   12491   	  if test yes = "$cross_compiling"; then :
   12492   lt_cv_dlopen_self_static=cross
   12493 else
   12494   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12495   lt_status=$lt_dlunknown
   12496   cat > conftest.$ac_ext <<_LT_EOF
   12497 #line $LINENO "configure"
   12498 #include "confdefs.h"
   12499 
   12500 #if HAVE_DLFCN_H
   12501 #include <dlfcn.h>
   12502 #endif
   12503 
   12504 #include <stdio.h>
   12505 
   12506 #ifdef RTLD_GLOBAL
   12507 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12508 #else
   12509 #  ifdef DL_GLOBAL
   12510 #    define LT_DLGLOBAL		DL_GLOBAL
   12511 #  else
   12512 #    define LT_DLGLOBAL		0
   12513 #  endif
   12514 #endif
   12515 
   12516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12517    find out it does not work in some platform. */
   12518 #ifndef LT_DLLAZY_OR_NOW
   12519 #  ifdef RTLD_LAZY
   12520 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12521 #  else
   12522 #    ifdef DL_LAZY
   12523 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12524 #    else
   12525 #      ifdef RTLD_NOW
   12526 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12527 #      else
   12528 #        ifdef DL_NOW
   12529 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12530 #        else
   12531 #          define LT_DLLAZY_OR_NOW	0
   12532 #        endif
   12533 #      endif
   12534 #    endif
   12535 #  endif
   12536 #endif
   12537 
   12538 /* When -fvisibility=hidden is used, assume the code has been annotated
   12539    correspondingly for the symbols needed.  */
   12540 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12541 int fnord () __attribute__((visibility("default")));
   12542 #endif
   12543 
   12544 int fnord () { return 42; }
   12545 int main ()
   12546 {
   12547   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12548   int status = $lt_dlunknown;
   12549 
   12550   if (self)
   12551     {
   12552       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12553       else
   12554         {
   12555 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12556           else puts (dlerror ());
   12557 	}
   12558       /* dlclose (self); */
   12559     }
   12560   else
   12561     puts (dlerror ());
   12562 
   12563   return status;
   12564 }
   12565 _LT_EOF
   12566   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12567   (eval $ac_link) 2>&5
   12568   ac_status=$?
   12569   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12570   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12571     (./conftest; exit; ) >&5 2>/dev/null
   12572     lt_status=$?
   12573     case x$lt_status in
   12574       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12575       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12576       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12577     esac
   12578   else :
   12579     # compilation failed
   12580     lt_cv_dlopen_self_static=no
   12581   fi
   12582 fi
   12583 rm -fr conftest*
   12584 
   12585 
   12586 fi
   12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12588 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12589     fi
   12590 
   12591     CPPFLAGS=$save_CPPFLAGS
   12592     LDFLAGS=$save_LDFLAGS
   12593     LIBS=$save_LIBS
   12594     ;;
   12595   esac
   12596 
   12597   case $lt_cv_dlopen_self in
   12598   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12599   *) enable_dlopen_self=unknown ;;
   12600   esac
   12601 
   12602   case $lt_cv_dlopen_self_static in
   12603   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12604   *) enable_dlopen_self_static=unknown ;;
   12605   esac
   12606 fi
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 striplib=
   12625 old_striplib=
   12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12627 printf %s "checking whether stripping libraries is possible... " >&6; }
   12628 if test -z "$STRIP"; then
   12629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12630 printf "%s\n" "no" >&6; }
   12631 else
   12632   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12633     old_striplib="$STRIP --strip-debug"
   12634     striplib="$STRIP --strip-unneeded"
   12635     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12636 printf "%s\n" "yes" >&6; }
   12637   else
   12638     case $host_os in
   12639     darwin*)
   12640       # FIXME - insert some real tests, host_os isn't really good enough
   12641       striplib="$STRIP -x"
   12642       old_striplib="$STRIP -S"
   12643       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12644 printf "%s\n" "yes" >&6; }
   12645       ;;
   12646     freebsd*)
   12647       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12648         old_striplib="$STRIP --strip-debug"
   12649         striplib="$STRIP --strip-unneeded"
   12650         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12651 printf "%s\n" "yes" >&6; }
   12652       else
   12653         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12654 printf "%s\n" "no" >&6; }
   12655       fi
   12656       ;;
   12657     *)
   12658       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12659 printf "%s\n" "no" >&6; }
   12660       ;;
   12661     esac
   12662   fi
   12663 fi
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676   # Report what library types will actually be built
   12677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12678 printf %s "checking if libtool supports shared libraries... " >&6; }
   12679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12680 printf "%s\n" "$can_build_shared" >&6; }
   12681 
   12682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12683 printf %s "checking whether to build shared libraries... " >&6; }
   12684   test no = "$can_build_shared" && enable_shared=no
   12685 
   12686   # On AIX, shared libraries and static libraries use the same namespace, and
   12687   # are all built from PIC.
   12688   case $host_os in
   12689   aix3*)
   12690     test yes = "$enable_shared" && enable_static=no
   12691     if test -n "$RANLIB"; then
   12692       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12693       postinstall_cmds='$RANLIB $lib'
   12694     fi
   12695     ;;
   12696 
   12697   aix[4-9]*)
   12698     if test ia64 != "$host_cpu"; then
   12699       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12700       yes,aix,yes) ;;			# shared object as lib.so file only
   12701       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12702       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12703       esac
   12704     fi
   12705     ;;
   12706   esac
   12707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12708 printf "%s\n" "$enable_shared" >&6; }
   12709 
   12710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12711 printf %s "checking whether to build static libraries... " >&6; }
   12712   # Make sure either enable_shared or enable_static is yes.
   12713   test yes = "$enable_shared" || enable_static=yes
   12714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12715 printf "%s\n" "$enable_static" >&6; }
   12716 
   12717 
   12718 
   12719 
   12720 fi
   12721 ac_ext=c
   12722 ac_cpp='$CPP $CPPFLAGS'
   12723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12726 
   12727 CC=$lt_save_CC
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743         ac_config_commands="$ac_config_commands libtool"
   12744 
   12745 
   12746 
   12747 
   12748 # Only expand once:
   12749 
   12750 
   12751 
   12752 # Require xorg-macros minimum of 1.12 for DocBook external references
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12766 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12767 if test ${ac_cv_c_undeclared_builtin_options+y}
   12768 then :
   12769   printf %s "(cached) " >&6
   12770 else $as_nop
   12771   ac_save_CFLAGS=$CFLAGS
   12772    ac_cv_c_undeclared_builtin_options='cannot detect'
   12773    for ac_arg in '' -fno-builtin; do
   12774      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12775      # This test program should *not* compile successfully.
   12776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12777 /* end confdefs.h.  */
   12778 
   12779 int
   12780 main (void)
   12781 {
   12782 (void) strchr;
   12783   ;
   12784   return 0;
   12785 }
   12786 _ACEOF
   12787 if ac_fn_c_try_compile "$LINENO"
   12788 then :
   12789 
   12790 else $as_nop
   12791   # This test program should compile successfully.
   12792         # No library function is consistently available on
   12793         # freestanding implementations, so test against a dummy
   12794         # declaration.  Include always-available headers on the
   12795         # off chance that they somehow elicit warnings.
   12796         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12797 /* end confdefs.h.  */
   12798 #include <float.h>
   12799 #include <limits.h>
   12800 #include <stdarg.h>
   12801 #include <stddef.h>
   12802 extern void ac_decl (int, char *);
   12803 
   12804 int
   12805 main (void)
   12806 {
   12807 (void) ac_decl (0, (char *) 0);
   12808   (void) ac_decl;
   12809 
   12810   ;
   12811   return 0;
   12812 }
   12813 _ACEOF
   12814 if ac_fn_c_try_compile "$LINENO"
   12815 then :
   12816   if test x"$ac_arg" = x
   12817 then :
   12818   ac_cv_c_undeclared_builtin_options='none needed'
   12819 else $as_nop
   12820   ac_cv_c_undeclared_builtin_options=$ac_arg
   12821 fi
   12822           break
   12823 fi
   12824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12825 fi
   12826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12827     done
   12828     CFLAGS=$ac_save_CFLAGS
   12829 
   12830 fi
   12831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12832 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12833   case $ac_cv_c_undeclared_builtin_options in #(
   12834   'cannot detect') :
   12835     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12836 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12837 as_fn_error $? "cannot make $CC report undeclared builtins
   12838 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12839   'none needed') :
   12840     ac_c_undeclared_builtin_options='' ;; #(
   12841   *) :
   12842     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12843 esac
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12850 if test "x$ac_cv_have_decl___clang__" = xyes
   12851 then :
   12852   CLANGCC="yes"
   12853 else $as_nop
   12854   CLANGCC="no"
   12855 fi
   12856 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12857 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12858 then :
   12859   INTELCC="yes"
   12860 else $as_nop
   12861   INTELCC="no"
   12862 fi
   12863 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12864 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12865 then :
   12866   SUNCC="yes"
   12867 else $as_nop
   12868   SUNCC="no"
   12869 fi
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12879 	if test -n "$ac_tool_prefix"; then
   12880   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12883 printf %s "checking for $ac_word... " >&6; }
   12884 if test ${ac_cv_path_PKG_CONFIG+y}
   12885 then :
   12886   printf %s "(cached) " >&6
   12887 else $as_nop
   12888   case $PKG_CONFIG in
   12889   [\\/]* | ?:[\\/]*)
   12890   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12891   ;;
   12892   *)
   12893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12894 for as_dir in $PATH
   12895 do
   12896   IFS=$as_save_IFS
   12897   case $as_dir in #(((
   12898     '') as_dir=./ ;;
   12899     */) ;;
   12900     *) as_dir=$as_dir/ ;;
   12901   esac
   12902     for ac_exec_ext in '' $ac_executable_extensions; do
   12903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12904     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12905     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12906     break 2
   12907   fi
   12908 done
   12909   done
   12910 IFS=$as_save_IFS
   12911 
   12912   ;;
   12913 esac
   12914 fi
   12915 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12916 if test -n "$PKG_CONFIG"; then
   12917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12918 printf "%s\n" "$PKG_CONFIG" >&6; }
   12919 else
   12920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12921 printf "%s\n" "no" >&6; }
   12922 fi
   12923 
   12924 
   12925 fi
   12926 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12927   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12928   # Extract the first word of "pkg-config", so it can be a program name with args.
   12929 set dummy pkg-config; ac_word=$2
   12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12931 printf %s "checking for $ac_word... " >&6; }
   12932 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12933 then :
   12934   printf %s "(cached) " >&6
   12935 else $as_nop
   12936   case $ac_pt_PKG_CONFIG in
   12937   [\\/]* | ?:[\\/]*)
   12938   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12939   ;;
   12940   *)
   12941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12942 for as_dir in $PATH
   12943 do
   12944   IFS=$as_save_IFS
   12945   case $as_dir in #(((
   12946     '') as_dir=./ ;;
   12947     */) ;;
   12948     *) as_dir=$as_dir/ ;;
   12949   esac
   12950     for ac_exec_ext in '' $ac_executable_extensions; do
   12951   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12952     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12953     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12954     break 2
   12955   fi
   12956 done
   12957   done
   12958 IFS=$as_save_IFS
   12959 
   12960   ;;
   12961 esac
   12962 fi
   12963 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12964 if test -n "$ac_pt_PKG_CONFIG"; then
   12965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12966 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12967 else
   12968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12969 printf "%s\n" "no" >&6; }
   12970 fi
   12971 
   12972   if test "x$ac_pt_PKG_CONFIG" = x; then
   12973     PKG_CONFIG=""
   12974   else
   12975     case $cross_compiling:$ac_tool_warned in
   12976 yes:)
   12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12978 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12979 ac_tool_warned=yes ;;
   12980 esac
   12981     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12982   fi
   12983 else
   12984   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12985 fi
   12986 
   12987 fi
   12988 if test -n "$PKG_CONFIG"; then
   12989 	_pkg_min_version=0.9.0
   12990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12991 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12992 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12994 printf "%s\n" "yes" >&6; }
   12995 	else
   12996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12997 printf "%s\n" "no" >&6; }
   12998 		PKG_CONFIG=""
   12999 	fi
   13000 fi
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 # Check whether --enable-selective-werror was given.
   13007 if test ${enable_selective_werror+y}
   13008 then :
   13009   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13010 else $as_nop
   13011   SELECTIVE_WERROR=yes
   13012 fi
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13019 if test "x$SUNCC" = "xyes"; then
   13020     BASE_CFLAGS="-v"
   13021 else
   13022     BASE_CFLAGS=""
   13023 fi
   13024 
   13025 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 xorg_testset_save_CFLAGS="$CFLAGS"
   13040 
   13041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13044 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13045 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13046 then :
   13047   printf %s "(cached) " >&6
   13048 else $as_nop
   13049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13050 /* end confdefs.h.  */
   13051 int i;
   13052 _ACEOF
   13053 if ac_fn_c_try_compile "$LINENO"
   13054 then :
   13055   xorg_cv_cc_flag_unknown_warning_option=yes
   13056 else $as_nop
   13057   xorg_cv_cc_flag_unknown_warning_option=no
   13058 fi
   13059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13060 fi
   13061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13062 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13064 	CFLAGS="$xorg_testset_save_CFLAGS"
   13065 fi
   13066 
   13067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13070 	fi
   13071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13073 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13074 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13075 then :
   13076   printf %s "(cached) " >&6
   13077 else $as_nop
   13078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13079 /* end confdefs.h.  */
   13080 int i;
   13081 _ACEOF
   13082 if ac_fn_c_try_compile "$LINENO"
   13083 then :
   13084   xorg_cv_cc_flag_unused_command_line_argument=yes
   13085 else $as_nop
   13086   xorg_cv_cc_flag_unused_command_line_argument=no
   13087 fi
   13088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13089 fi
   13090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13091 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13093 	CFLAGS="$xorg_testset_save_CFLAGS"
   13094 fi
   13095 
   13096 found="no"
   13097 
   13098 	if test $found = "no" ; then
   13099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13101 		fi
   13102 
   13103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13105 		fi
   13106 
   13107 		CFLAGS="$CFLAGS -Wall"
   13108 
   13109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13110 printf %s "checking if $CC supports -Wall... " >&6; }
   13111 		cacheid=xorg_cv_cc_flag__Wall
   13112 		if eval test \${$cacheid+y}
   13113 then :
   13114   printf %s "(cached) " >&6
   13115 else $as_nop
   13116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13117 /* end confdefs.h.  */
   13118 int i;
   13119 int
   13120 main (void)
   13121 {
   13122 
   13123   ;
   13124   return 0;
   13125 }
   13126 _ACEOF
   13127 if ac_fn_c_try_link "$LINENO"
   13128 then :
   13129   eval $cacheid=yes
   13130 else $as_nop
   13131   eval $cacheid=no
   13132 fi
   13133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13134     conftest$ac_exeext conftest.$ac_ext
   13135 fi
   13136 
   13137 
   13138 		CFLAGS="$xorg_testset_save_CFLAGS"
   13139 
   13140 		eval supported=\$$cacheid
   13141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13142 printf "%s\n" "$supported" >&6; }
   13143 		if test "$supported" = "yes" ; then
   13144 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13145 			found="yes"
   13146 		fi
   13147 	fi
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 xorg_testset_save_CFLAGS="$CFLAGS"
   13164 
   13165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13168 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13169 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13170 then :
   13171   printf %s "(cached) " >&6
   13172 else $as_nop
   13173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13174 /* end confdefs.h.  */
   13175 int i;
   13176 _ACEOF
   13177 if ac_fn_c_try_compile "$LINENO"
   13178 then :
   13179   xorg_cv_cc_flag_unknown_warning_option=yes
   13180 else $as_nop
   13181   xorg_cv_cc_flag_unknown_warning_option=no
   13182 fi
   13183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13184 fi
   13185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13186 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13188 	CFLAGS="$xorg_testset_save_CFLAGS"
   13189 fi
   13190 
   13191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13194 	fi
   13195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13196 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13197 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13198 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13199 then :
   13200   printf %s "(cached) " >&6
   13201 else $as_nop
   13202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13203 /* end confdefs.h.  */
   13204 int i;
   13205 _ACEOF
   13206 if ac_fn_c_try_compile "$LINENO"
   13207 then :
   13208   xorg_cv_cc_flag_unused_command_line_argument=yes
   13209 else $as_nop
   13210   xorg_cv_cc_flag_unused_command_line_argument=no
   13211 fi
   13212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13213 fi
   13214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13215 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13217 	CFLAGS="$xorg_testset_save_CFLAGS"
   13218 fi
   13219 
   13220 found="no"
   13221 
   13222 	if test $found = "no" ; then
   13223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13225 		fi
   13226 
   13227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13229 		fi
   13230 
   13231 		CFLAGS="$CFLAGS -Wpointer-arith"
   13232 
   13233 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13234 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13235 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13236 		if eval test \${$cacheid+y}
   13237 then :
   13238   printf %s "(cached) " >&6
   13239 else $as_nop
   13240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13241 /* end confdefs.h.  */
   13242 int i;
   13243 int
   13244 main (void)
   13245 {
   13246 
   13247   ;
   13248   return 0;
   13249 }
   13250 _ACEOF
   13251 if ac_fn_c_try_link "$LINENO"
   13252 then :
   13253   eval $cacheid=yes
   13254 else $as_nop
   13255   eval $cacheid=no
   13256 fi
   13257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13258     conftest$ac_exeext conftest.$ac_ext
   13259 fi
   13260 
   13261 
   13262 		CFLAGS="$xorg_testset_save_CFLAGS"
   13263 
   13264 		eval supported=\$$cacheid
   13265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13266 printf "%s\n" "$supported" >&6; }
   13267 		if test "$supported" = "yes" ; then
   13268 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13269 			found="yes"
   13270 		fi
   13271 	fi
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 xorg_testset_save_CFLAGS="$CFLAGS"
   13288 
   13289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13294 then :
   13295   printf %s "(cached) " >&6
   13296 else $as_nop
   13297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13298 /* end confdefs.h.  */
   13299 int i;
   13300 _ACEOF
   13301 if ac_fn_c_try_compile "$LINENO"
   13302 then :
   13303   xorg_cv_cc_flag_unknown_warning_option=yes
   13304 else $as_nop
   13305   xorg_cv_cc_flag_unknown_warning_option=no
   13306 fi
   13307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13308 fi
   13309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13312 	CFLAGS="$xorg_testset_save_CFLAGS"
   13313 fi
   13314 
   13315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13318 	fi
   13319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13323 then :
   13324   printf %s "(cached) " >&6
   13325 else $as_nop
   13326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 int i;
   13329 _ACEOF
   13330 if ac_fn_c_try_compile "$LINENO"
   13331 then :
   13332   xorg_cv_cc_flag_unused_command_line_argument=yes
   13333 else $as_nop
   13334   xorg_cv_cc_flag_unused_command_line_argument=no
   13335 fi
   13336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13337 fi
   13338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13339 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13341 	CFLAGS="$xorg_testset_save_CFLAGS"
   13342 fi
   13343 
   13344 found="no"
   13345 
   13346 	if test $found = "no" ; then
   13347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13349 		fi
   13350 
   13351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13353 		fi
   13354 
   13355 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13356 
   13357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13358 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13359 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13360 		if eval test \${$cacheid+y}
   13361 then :
   13362   printf %s "(cached) " >&6
   13363 else $as_nop
   13364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13365 /* end confdefs.h.  */
   13366 int i;
   13367 int
   13368 main (void)
   13369 {
   13370 
   13371   ;
   13372   return 0;
   13373 }
   13374 _ACEOF
   13375 if ac_fn_c_try_link "$LINENO"
   13376 then :
   13377   eval $cacheid=yes
   13378 else $as_nop
   13379   eval $cacheid=no
   13380 fi
   13381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13382     conftest$ac_exeext conftest.$ac_ext
   13383 fi
   13384 
   13385 
   13386 		CFLAGS="$xorg_testset_save_CFLAGS"
   13387 
   13388 		eval supported=\$$cacheid
   13389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13390 printf "%s\n" "$supported" >&6; }
   13391 		if test "$supported" = "yes" ; then
   13392 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13393 			found="yes"
   13394 		fi
   13395 	fi
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 xorg_testset_save_CFLAGS="$CFLAGS"
   13412 
   13413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13416 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13417 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13418 then :
   13419   printf %s "(cached) " >&6
   13420 else $as_nop
   13421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13422 /* end confdefs.h.  */
   13423 int i;
   13424 _ACEOF
   13425 if ac_fn_c_try_compile "$LINENO"
   13426 then :
   13427   xorg_cv_cc_flag_unknown_warning_option=yes
   13428 else $as_nop
   13429   xorg_cv_cc_flag_unknown_warning_option=no
   13430 fi
   13431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13432 fi
   13433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13436 	CFLAGS="$xorg_testset_save_CFLAGS"
   13437 fi
   13438 
   13439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13442 	fi
   13443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13447 then :
   13448   printf %s "(cached) " >&6
   13449 else $as_nop
   13450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13451 /* end confdefs.h.  */
   13452 int i;
   13453 _ACEOF
   13454 if ac_fn_c_try_compile "$LINENO"
   13455 then :
   13456   xorg_cv_cc_flag_unused_command_line_argument=yes
   13457 else $as_nop
   13458   xorg_cv_cc_flag_unused_command_line_argument=no
   13459 fi
   13460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13461 fi
   13462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13463 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13465 	CFLAGS="$xorg_testset_save_CFLAGS"
   13466 fi
   13467 
   13468 found="no"
   13469 
   13470 	if test $found = "no" ; then
   13471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13473 		fi
   13474 
   13475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13477 		fi
   13478 
   13479 		CFLAGS="$CFLAGS -Wformat=2"
   13480 
   13481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13482 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13483 		cacheid=xorg_cv_cc_flag__Wformat_2
   13484 		if eval test \${$cacheid+y}
   13485 then :
   13486   printf %s "(cached) " >&6
   13487 else $as_nop
   13488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13489 /* end confdefs.h.  */
   13490 int i;
   13491 int
   13492 main (void)
   13493 {
   13494 
   13495   ;
   13496   return 0;
   13497 }
   13498 _ACEOF
   13499 if ac_fn_c_try_link "$LINENO"
   13500 then :
   13501   eval $cacheid=yes
   13502 else $as_nop
   13503   eval $cacheid=no
   13504 fi
   13505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13506     conftest$ac_exeext conftest.$ac_ext
   13507 fi
   13508 
   13509 
   13510 		CFLAGS="$xorg_testset_save_CFLAGS"
   13511 
   13512 		eval supported=\$$cacheid
   13513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13514 printf "%s\n" "$supported" >&6; }
   13515 		if test "$supported" = "yes" ; then
   13516 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13517 			found="yes"
   13518 		fi
   13519 	fi
   13520 
   13521 	if test $found = "no" ; then
   13522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13524 		fi
   13525 
   13526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13528 		fi
   13529 
   13530 		CFLAGS="$CFLAGS -Wformat"
   13531 
   13532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13533 printf %s "checking if $CC supports -Wformat... " >&6; }
   13534 		cacheid=xorg_cv_cc_flag__Wformat
   13535 		if eval test \${$cacheid+y}
   13536 then :
   13537   printf %s "(cached) " >&6
   13538 else $as_nop
   13539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13540 /* end confdefs.h.  */
   13541 int i;
   13542 int
   13543 main (void)
   13544 {
   13545 
   13546   ;
   13547   return 0;
   13548 }
   13549 _ACEOF
   13550 if ac_fn_c_try_link "$LINENO"
   13551 then :
   13552   eval $cacheid=yes
   13553 else $as_nop
   13554   eval $cacheid=no
   13555 fi
   13556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13557     conftest$ac_exeext conftest.$ac_ext
   13558 fi
   13559 
   13560 
   13561 		CFLAGS="$xorg_testset_save_CFLAGS"
   13562 
   13563 		eval supported=\$$cacheid
   13564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13565 printf "%s\n" "$supported" >&6; }
   13566 		if test "$supported" = "yes" ; then
   13567 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13568 			found="yes"
   13569 		fi
   13570 	fi
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 xorg_testset_save_CFLAGS="$CFLAGS"
   13589 
   13590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13595 then :
   13596   printf %s "(cached) " >&6
   13597 else $as_nop
   13598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13599 /* end confdefs.h.  */
   13600 int i;
   13601 _ACEOF
   13602 if ac_fn_c_try_compile "$LINENO"
   13603 then :
   13604   xorg_cv_cc_flag_unknown_warning_option=yes
   13605 else $as_nop
   13606   xorg_cv_cc_flag_unknown_warning_option=no
   13607 fi
   13608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13609 fi
   13610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13611 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13613 	CFLAGS="$xorg_testset_save_CFLAGS"
   13614 fi
   13615 
   13616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13619 	fi
   13620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13624 then :
   13625   printf %s "(cached) " >&6
   13626 else $as_nop
   13627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13628 /* end confdefs.h.  */
   13629 int i;
   13630 _ACEOF
   13631 if ac_fn_c_try_compile "$LINENO"
   13632 then :
   13633   xorg_cv_cc_flag_unused_command_line_argument=yes
   13634 else $as_nop
   13635   xorg_cv_cc_flag_unused_command_line_argument=no
   13636 fi
   13637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13638 fi
   13639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13640 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13642 	CFLAGS="$xorg_testset_save_CFLAGS"
   13643 fi
   13644 
   13645 found="no"
   13646 
   13647 	if test $found = "no" ; then
   13648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13650 		fi
   13651 
   13652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13654 		fi
   13655 
   13656 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13657 
   13658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13659 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13660 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13661 		if eval test \${$cacheid+y}
   13662 then :
   13663   printf %s "(cached) " >&6
   13664 else $as_nop
   13665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13666 /* end confdefs.h.  */
   13667 int i;
   13668 int
   13669 main (void)
   13670 {
   13671 
   13672   ;
   13673   return 0;
   13674 }
   13675 _ACEOF
   13676 if ac_fn_c_try_link "$LINENO"
   13677 then :
   13678   eval $cacheid=yes
   13679 else $as_nop
   13680   eval $cacheid=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13683     conftest$ac_exeext conftest.$ac_ext
   13684 fi
   13685 
   13686 
   13687 		CFLAGS="$xorg_testset_save_CFLAGS"
   13688 
   13689 		eval supported=\$$cacheid
   13690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13691 printf "%s\n" "$supported" >&6; }
   13692 		if test "$supported" = "yes" ; then
   13693 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13694 			found="yes"
   13695 		fi
   13696 	fi
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 xorg_testset_save_CFLAGS="$CFLAGS"
   13713 
   13714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13719 then :
   13720   printf %s "(cached) " >&6
   13721 else $as_nop
   13722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13723 /* end confdefs.h.  */
   13724 int i;
   13725 _ACEOF
   13726 if ac_fn_c_try_compile "$LINENO"
   13727 then :
   13728   xorg_cv_cc_flag_unknown_warning_option=yes
   13729 else $as_nop
   13730   xorg_cv_cc_flag_unknown_warning_option=no
   13731 fi
   13732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13733 fi
   13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13735 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13737 	CFLAGS="$xorg_testset_save_CFLAGS"
   13738 fi
   13739 
   13740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13743 	fi
   13744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13748 then :
   13749   printf %s "(cached) " >&6
   13750 else $as_nop
   13751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13752 /* end confdefs.h.  */
   13753 int i;
   13754 _ACEOF
   13755 if ac_fn_c_try_compile "$LINENO"
   13756 then :
   13757   xorg_cv_cc_flag_unused_command_line_argument=yes
   13758 else $as_nop
   13759   xorg_cv_cc_flag_unused_command_line_argument=no
   13760 fi
   13761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13762 fi
   13763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13764 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13766 	CFLAGS="$xorg_testset_save_CFLAGS"
   13767 fi
   13768 
   13769 found="no"
   13770 
   13771 	if test $found = "no" ; then
   13772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13774 		fi
   13775 
   13776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13778 		fi
   13779 
   13780 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13781 
   13782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13783 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13784 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13785 		if eval test \${$cacheid+y}
   13786 then :
   13787   printf %s "(cached) " >&6
   13788 else $as_nop
   13789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13790 /* end confdefs.h.  */
   13791 int i;
   13792 int
   13793 main (void)
   13794 {
   13795 
   13796   ;
   13797   return 0;
   13798 }
   13799 _ACEOF
   13800 if ac_fn_c_try_link "$LINENO"
   13801 then :
   13802   eval $cacheid=yes
   13803 else $as_nop
   13804   eval $cacheid=no
   13805 fi
   13806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13807     conftest$ac_exeext conftest.$ac_ext
   13808 fi
   13809 
   13810 
   13811 		CFLAGS="$xorg_testset_save_CFLAGS"
   13812 
   13813 		eval supported=\$$cacheid
   13814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13815 printf "%s\n" "$supported" >&6; }
   13816 		if test "$supported" = "yes" ; then
   13817 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13818 			found="yes"
   13819 		fi
   13820 	fi
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 xorg_testset_save_CFLAGS="$CFLAGS"
   13837 
   13838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13843 then :
   13844   printf %s "(cached) " >&6
   13845 else $as_nop
   13846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13847 /* end confdefs.h.  */
   13848 int i;
   13849 _ACEOF
   13850 if ac_fn_c_try_compile "$LINENO"
   13851 then :
   13852   xorg_cv_cc_flag_unknown_warning_option=yes
   13853 else $as_nop
   13854   xorg_cv_cc_flag_unknown_warning_option=no
   13855 fi
   13856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13857 fi
   13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13861 	CFLAGS="$xorg_testset_save_CFLAGS"
   13862 fi
   13863 
   13864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13867 	fi
   13868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13872 then :
   13873   printf %s "(cached) " >&6
   13874 else $as_nop
   13875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13876 /* end confdefs.h.  */
   13877 int i;
   13878 _ACEOF
   13879 if ac_fn_c_try_compile "$LINENO"
   13880 then :
   13881   xorg_cv_cc_flag_unused_command_line_argument=yes
   13882 else $as_nop
   13883   xorg_cv_cc_flag_unused_command_line_argument=no
   13884 fi
   13885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13886 fi
   13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13890 	CFLAGS="$xorg_testset_save_CFLAGS"
   13891 fi
   13892 
   13893 found="no"
   13894 
   13895 	if test $found = "no" ; then
   13896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13898 		fi
   13899 
   13900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13902 		fi
   13903 
   13904 		CFLAGS="$CFLAGS -Wnested-externs"
   13905 
   13906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13907 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13908 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13909 		if eval test \${$cacheid+y}
   13910 then :
   13911   printf %s "(cached) " >&6
   13912 else $as_nop
   13913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13914 /* end confdefs.h.  */
   13915 int i;
   13916 int
   13917 main (void)
   13918 {
   13919 
   13920   ;
   13921   return 0;
   13922 }
   13923 _ACEOF
   13924 if ac_fn_c_try_link "$LINENO"
   13925 then :
   13926   eval $cacheid=yes
   13927 else $as_nop
   13928   eval $cacheid=no
   13929 fi
   13930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13931     conftest$ac_exeext conftest.$ac_ext
   13932 fi
   13933 
   13934 
   13935 		CFLAGS="$xorg_testset_save_CFLAGS"
   13936 
   13937 		eval supported=\$$cacheid
   13938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13939 printf "%s\n" "$supported" >&6; }
   13940 		if test "$supported" = "yes" ; then
   13941 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13942 			found="yes"
   13943 		fi
   13944 	fi
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 xorg_testset_save_CFLAGS="$CFLAGS"
   13961 
   13962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13967 then :
   13968   printf %s "(cached) " >&6
   13969 else $as_nop
   13970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13971 /* end confdefs.h.  */
   13972 int i;
   13973 _ACEOF
   13974 if ac_fn_c_try_compile "$LINENO"
   13975 then :
   13976   xorg_cv_cc_flag_unknown_warning_option=yes
   13977 else $as_nop
   13978   xorg_cv_cc_flag_unknown_warning_option=no
   13979 fi
   13980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13981 fi
   13982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13983 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13985 	CFLAGS="$xorg_testset_save_CFLAGS"
   13986 fi
   13987 
   13988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13991 	fi
   13992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13994 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13995 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13996 then :
   13997   printf %s "(cached) " >&6
   13998 else $as_nop
   13999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14000 /* end confdefs.h.  */
   14001 int i;
   14002 _ACEOF
   14003 if ac_fn_c_try_compile "$LINENO"
   14004 then :
   14005   xorg_cv_cc_flag_unused_command_line_argument=yes
   14006 else $as_nop
   14007   xorg_cv_cc_flag_unused_command_line_argument=no
   14008 fi
   14009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14010 fi
   14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14014 	CFLAGS="$xorg_testset_save_CFLAGS"
   14015 fi
   14016 
   14017 found="no"
   14018 
   14019 	if test $found = "no" ; then
   14020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14022 		fi
   14023 
   14024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14026 		fi
   14027 
   14028 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14029 
   14030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14031 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14032 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14033 		if eval test \${$cacheid+y}
   14034 then :
   14035   printf %s "(cached) " >&6
   14036 else $as_nop
   14037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14038 /* end confdefs.h.  */
   14039 int i;
   14040 int
   14041 main (void)
   14042 {
   14043 
   14044   ;
   14045   return 0;
   14046 }
   14047 _ACEOF
   14048 if ac_fn_c_try_link "$LINENO"
   14049 then :
   14050   eval $cacheid=yes
   14051 else $as_nop
   14052   eval $cacheid=no
   14053 fi
   14054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14055     conftest$ac_exeext conftest.$ac_ext
   14056 fi
   14057 
   14058 
   14059 		CFLAGS="$xorg_testset_save_CFLAGS"
   14060 
   14061 		eval supported=\$$cacheid
   14062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14063 printf "%s\n" "$supported" >&6; }
   14064 		if test "$supported" = "yes" ; then
   14065 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14066 			found="yes"
   14067 		fi
   14068 	fi
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 xorg_testset_save_CFLAGS="$CFLAGS"
   14085 
   14086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14089 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14090 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14091 then :
   14092   printf %s "(cached) " >&6
   14093 else $as_nop
   14094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14095 /* end confdefs.h.  */
   14096 int i;
   14097 _ACEOF
   14098 if ac_fn_c_try_compile "$LINENO"
   14099 then :
   14100   xorg_cv_cc_flag_unknown_warning_option=yes
   14101 else $as_nop
   14102   xorg_cv_cc_flag_unknown_warning_option=no
   14103 fi
   14104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14105 fi
   14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14107 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14109 	CFLAGS="$xorg_testset_save_CFLAGS"
   14110 fi
   14111 
   14112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14115 	fi
   14116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14120 then :
   14121   printf %s "(cached) " >&6
   14122 else $as_nop
   14123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14124 /* end confdefs.h.  */
   14125 int i;
   14126 _ACEOF
   14127 if ac_fn_c_try_compile "$LINENO"
   14128 then :
   14129   xorg_cv_cc_flag_unused_command_line_argument=yes
   14130 else $as_nop
   14131   xorg_cv_cc_flag_unused_command_line_argument=no
   14132 fi
   14133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14134 fi
   14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14136 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14138 	CFLAGS="$xorg_testset_save_CFLAGS"
   14139 fi
   14140 
   14141 found="no"
   14142 
   14143 	if test $found = "no" ; then
   14144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14146 		fi
   14147 
   14148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14150 		fi
   14151 
   14152 		CFLAGS="$CFLAGS -Wold-style-definition"
   14153 
   14154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14155 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14156 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14157 		if eval test \${$cacheid+y}
   14158 then :
   14159   printf %s "(cached) " >&6
   14160 else $as_nop
   14161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14162 /* end confdefs.h.  */
   14163 int i;
   14164 int
   14165 main (void)
   14166 {
   14167 
   14168   ;
   14169   return 0;
   14170 }
   14171 _ACEOF
   14172 if ac_fn_c_try_link "$LINENO"
   14173 then :
   14174   eval $cacheid=yes
   14175 else $as_nop
   14176   eval $cacheid=no
   14177 fi
   14178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14179     conftest$ac_exeext conftest.$ac_ext
   14180 fi
   14181 
   14182 
   14183 		CFLAGS="$xorg_testset_save_CFLAGS"
   14184 
   14185 		eval supported=\$$cacheid
   14186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14187 printf "%s\n" "$supported" >&6; }
   14188 		if test "$supported" = "yes" ; then
   14189 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14190 			found="yes"
   14191 		fi
   14192 	fi
   14193 
   14194 	if test $found = "no" ; then
   14195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14197 		fi
   14198 
   14199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14201 		fi
   14202 
   14203 		CFLAGS="$CFLAGS -fd"
   14204 
   14205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14206 printf %s "checking if $CC supports -fd... " >&6; }
   14207 		cacheid=xorg_cv_cc_flag__fd
   14208 		if eval test \${$cacheid+y}
   14209 then :
   14210   printf %s "(cached) " >&6
   14211 else $as_nop
   14212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14213 /* end confdefs.h.  */
   14214 int i;
   14215 int
   14216 main (void)
   14217 {
   14218 
   14219   ;
   14220   return 0;
   14221 }
   14222 _ACEOF
   14223 if ac_fn_c_try_link "$LINENO"
   14224 then :
   14225   eval $cacheid=yes
   14226 else $as_nop
   14227   eval $cacheid=no
   14228 fi
   14229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14230     conftest$ac_exeext conftest.$ac_ext
   14231 fi
   14232 
   14233 
   14234 		CFLAGS="$xorg_testset_save_CFLAGS"
   14235 
   14236 		eval supported=\$$cacheid
   14237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14238 printf "%s\n" "$supported" >&6; }
   14239 		if test "$supported" = "yes" ; then
   14240 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14241 			found="yes"
   14242 		fi
   14243 	fi
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 xorg_testset_save_CFLAGS="$CFLAGS"
   14260 
   14261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14266 then :
   14267   printf %s "(cached) " >&6
   14268 else $as_nop
   14269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14270 /* end confdefs.h.  */
   14271 int i;
   14272 _ACEOF
   14273 if ac_fn_c_try_compile "$LINENO"
   14274 then :
   14275   xorg_cv_cc_flag_unknown_warning_option=yes
   14276 else $as_nop
   14277   xorg_cv_cc_flag_unknown_warning_option=no
   14278 fi
   14279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14280 fi
   14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14282 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14284 	CFLAGS="$xorg_testset_save_CFLAGS"
   14285 fi
   14286 
   14287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14290 	fi
   14291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14293 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14294 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14295 then :
   14296   printf %s "(cached) " >&6
   14297 else $as_nop
   14298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14299 /* end confdefs.h.  */
   14300 int i;
   14301 _ACEOF
   14302 if ac_fn_c_try_compile "$LINENO"
   14303 then :
   14304   xorg_cv_cc_flag_unused_command_line_argument=yes
   14305 else $as_nop
   14306   xorg_cv_cc_flag_unused_command_line_argument=no
   14307 fi
   14308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14309 fi
   14310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14311 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14313 	CFLAGS="$xorg_testset_save_CFLAGS"
   14314 fi
   14315 
   14316 found="no"
   14317 
   14318 	if test $found = "no" ; then
   14319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14321 		fi
   14322 
   14323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14325 		fi
   14326 
   14327 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14328 
   14329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14330 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14331 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14332 		if eval test \${$cacheid+y}
   14333 then :
   14334   printf %s "(cached) " >&6
   14335 else $as_nop
   14336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14337 /* end confdefs.h.  */
   14338 int i;
   14339 int
   14340 main (void)
   14341 {
   14342 
   14343   ;
   14344   return 0;
   14345 }
   14346 _ACEOF
   14347 if ac_fn_c_try_link "$LINENO"
   14348 then :
   14349   eval $cacheid=yes
   14350 else $as_nop
   14351   eval $cacheid=no
   14352 fi
   14353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14354     conftest$ac_exeext conftest.$ac_ext
   14355 fi
   14356 
   14357 
   14358 		CFLAGS="$xorg_testset_save_CFLAGS"
   14359 
   14360 		eval supported=\$$cacheid
   14361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14362 printf "%s\n" "$supported" >&6; }
   14363 		if test "$supported" = "yes" ; then
   14364 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14365 			found="yes"
   14366 		fi
   14367 	fi
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 # This chunk adds additional warnings that could catch undesired effects.
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 xorg_testset_save_CFLAGS="$CFLAGS"
   14388 
   14389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14394 then :
   14395   printf %s "(cached) " >&6
   14396 else $as_nop
   14397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 int i;
   14400 _ACEOF
   14401 if ac_fn_c_try_compile "$LINENO"
   14402 then :
   14403   xorg_cv_cc_flag_unknown_warning_option=yes
   14404 else $as_nop
   14405   xorg_cv_cc_flag_unknown_warning_option=no
   14406 fi
   14407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14408 fi
   14409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14410 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14412 	CFLAGS="$xorg_testset_save_CFLAGS"
   14413 fi
   14414 
   14415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14418 	fi
   14419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14421 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14422 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14423 then :
   14424   printf %s "(cached) " >&6
   14425 else $as_nop
   14426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14427 /* end confdefs.h.  */
   14428 int i;
   14429 _ACEOF
   14430 if ac_fn_c_try_compile "$LINENO"
   14431 then :
   14432   xorg_cv_cc_flag_unused_command_line_argument=yes
   14433 else $as_nop
   14434   xorg_cv_cc_flag_unused_command_line_argument=no
   14435 fi
   14436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14437 fi
   14438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14439 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14441 	CFLAGS="$xorg_testset_save_CFLAGS"
   14442 fi
   14443 
   14444 found="no"
   14445 
   14446 	if test $found = "no" ; then
   14447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14449 		fi
   14450 
   14451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14453 		fi
   14454 
   14455 		CFLAGS="$CFLAGS -Wunused"
   14456 
   14457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14458 printf %s "checking if $CC supports -Wunused... " >&6; }
   14459 		cacheid=xorg_cv_cc_flag__Wunused
   14460 		if eval test \${$cacheid+y}
   14461 then :
   14462   printf %s "(cached) " >&6
   14463 else $as_nop
   14464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14465 /* end confdefs.h.  */
   14466 int i;
   14467 int
   14468 main (void)
   14469 {
   14470 
   14471   ;
   14472   return 0;
   14473 }
   14474 _ACEOF
   14475 if ac_fn_c_try_link "$LINENO"
   14476 then :
   14477   eval $cacheid=yes
   14478 else $as_nop
   14479   eval $cacheid=no
   14480 fi
   14481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14482     conftest$ac_exeext conftest.$ac_ext
   14483 fi
   14484 
   14485 
   14486 		CFLAGS="$xorg_testset_save_CFLAGS"
   14487 
   14488 		eval supported=\$$cacheid
   14489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14490 printf "%s\n" "$supported" >&6; }
   14491 		if test "$supported" = "yes" ; then
   14492 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14493 			found="yes"
   14494 		fi
   14495 	fi
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 xorg_testset_save_CFLAGS="$CFLAGS"
   14512 
   14513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14515 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14516 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14517 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14518 then :
   14519   printf %s "(cached) " >&6
   14520 else $as_nop
   14521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14522 /* end confdefs.h.  */
   14523 int i;
   14524 _ACEOF
   14525 if ac_fn_c_try_compile "$LINENO"
   14526 then :
   14527   xorg_cv_cc_flag_unknown_warning_option=yes
   14528 else $as_nop
   14529   xorg_cv_cc_flag_unknown_warning_option=no
   14530 fi
   14531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14532 fi
   14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14534 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14536 	CFLAGS="$xorg_testset_save_CFLAGS"
   14537 fi
   14538 
   14539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14542 	fi
   14543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14545 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14546 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14547 then :
   14548   printf %s "(cached) " >&6
   14549 else $as_nop
   14550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14551 /* end confdefs.h.  */
   14552 int i;
   14553 _ACEOF
   14554 if ac_fn_c_try_compile "$LINENO"
   14555 then :
   14556   xorg_cv_cc_flag_unused_command_line_argument=yes
   14557 else $as_nop
   14558   xorg_cv_cc_flag_unused_command_line_argument=no
   14559 fi
   14560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14561 fi
   14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14563 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14565 	CFLAGS="$xorg_testset_save_CFLAGS"
   14566 fi
   14567 
   14568 found="no"
   14569 
   14570 	if test $found = "no" ; then
   14571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14573 		fi
   14574 
   14575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14577 		fi
   14578 
   14579 		CFLAGS="$CFLAGS -Wuninitialized"
   14580 
   14581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14582 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14583 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14584 		if eval test \${$cacheid+y}
   14585 then :
   14586   printf %s "(cached) " >&6
   14587 else $as_nop
   14588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14589 /* end confdefs.h.  */
   14590 int i;
   14591 int
   14592 main (void)
   14593 {
   14594 
   14595   ;
   14596   return 0;
   14597 }
   14598 _ACEOF
   14599 if ac_fn_c_try_link "$LINENO"
   14600 then :
   14601   eval $cacheid=yes
   14602 else $as_nop
   14603   eval $cacheid=no
   14604 fi
   14605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14606     conftest$ac_exeext conftest.$ac_ext
   14607 fi
   14608 
   14609 
   14610 		CFLAGS="$xorg_testset_save_CFLAGS"
   14611 
   14612 		eval supported=\$$cacheid
   14613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14614 printf "%s\n" "$supported" >&6; }
   14615 		if test "$supported" = "yes" ; then
   14616 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14617 			found="yes"
   14618 		fi
   14619 	fi
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 xorg_testset_save_CFLAGS="$CFLAGS"
   14636 
   14637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14642 then :
   14643   printf %s "(cached) " >&6
   14644 else $as_nop
   14645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14646 /* end confdefs.h.  */
   14647 int i;
   14648 _ACEOF
   14649 if ac_fn_c_try_compile "$LINENO"
   14650 then :
   14651   xorg_cv_cc_flag_unknown_warning_option=yes
   14652 else $as_nop
   14653   xorg_cv_cc_flag_unknown_warning_option=no
   14654 fi
   14655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14656 fi
   14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14658 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14660 	CFLAGS="$xorg_testset_save_CFLAGS"
   14661 fi
   14662 
   14663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14666 	fi
   14667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14669 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14670 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14671 then :
   14672   printf %s "(cached) " >&6
   14673 else $as_nop
   14674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14675 /* end confdefs.h.  */
   14676 int i;
   14677 _ACEOF
   14678 if ac_fn_c_try_compile "$LINENO"
   14679 then :
   14680   xorg_cv_cc_flag_unused_command_line_argument=yes
   14681 else $as_nop
   14682   xorg_cv_cc_flag_unused_command_line_argument=no
   14683 fi
   14684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14685 fi
   14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14687 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14689 	CFLAGS="$xorg_testset_save_CFLAGS"
   14690 fi
   14691 
   14692 found="no"
   14693 
   14694 	if test $found = "no" ; then
   14695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14697 		fi
   14698 
   14699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14701 		fi
   14702 
   14703 		CFLAGS="$CFLAGS -Wshadow"
   14704 
   14705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14706 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14707 		cacheid=xorg_cv_cc_flag__Wshadow
   14708 		if eval test \${$cacheid+y}
   14709 then :
   14710   printf %s "(cached) " >&6
   14711 else $as_nop
   14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14713 /* end confdefs.h.  */
   14714 int i;
   14715 int
   14716 main (void)
   14717 {
   14718 
   14719   ;
   14720   return 0;
   14721 }
   14722 _ACEOF
   14723 if ac_fn_c_try_link "$LINENO"
   14724 then :
   14725   eval $cacheid=yes
   14726 else $as_nop
   14727   eval $cacheid=no
   14728 fi
   14729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14730     conftest$ac_exeext conftest.$ac_ext
   14731 fi
   14732 
   14733 
   14734 		CFLAGS="$xorg_testset_save_CFLAGS"
   14735 
   14736 		eval supported=\$$cacheid
   14737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14738 printf "%s\n" "$supported" >&6; }
   14739 		if test "$supported" = "yes" ; then
   14740 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14741 			found="yes"
   14742 		fi
   14743 	fi
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 xorg_testset_save_CFLAGS="$CFLAGS"
   14760 
   14761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14764 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14765 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14766 then :
   14767   printf %s "(cached) " >&6
   14768 else $as_nop
   14769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14770 /* end confdefs.h.  */
   14771 int i;
   14772 _ACEOF
   14773 if ac_fn_c_try_compile "$LINENO"
   14774 then :
   14775   xorg_cv_cc_flag_unknown_warning_option=yes
   14776 else $as_nop
   14777   xorg_cv_cc_flag_unknown_warning_option=no
   14778 fi
   14779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14780 fi
   14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14782 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14784 	CFLAGS="$xorg_testset_save_CFLAGS"
   14785 fi
   14786 
   14787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14790 	fi
   14791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14793 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14794 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14795 then :
   14796   printf %s "(cached) " >&6
   14797 else $as_nop
   14798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14799 /* end confdefs.h.  */
   14800 int i;
   14801 _ACEOF
   14802 if ac_fn_c_try_compile "$LINENO"
   14803 then :
   14804   xorg_cv_cc_flag_unused_command_line_argument=yes
   14805 else $as_nop
   14806   xorg_cv_cc_flag_unused_command_line_argument=no
   14807 fi
   14808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14809 fi
   14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14813 	CFLAGS="$xorg_testset_save_CFLAGS"
   14814 fi
   14815 
   14816 found="no"
   14817 
   14818 	if test $found = "no" ; then
   14819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14821 		fi
   14822 
   14823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14825 		fi
   14826 
   14827 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14828 
   14829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14830 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14831 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14832 		if eval test \${$cacheid+y}
   14833 then :
   14834   printf %s "(cached) " >&6
   14835 else $as_nop
   14836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14837 /* end confdefs.h.  */
   14838 int i;
   14839 int
   14840 main (void)
   14841 {
   14842 
   14843   ;
   14844   return 0;
   14845 }
   14846 _ACEOF
   14847 if ac_fn_c_try_link "$LINENO"
   14848 then :
   14849   eval $cacheid=yes
   14850 else $as_nop
   14851   eval $cacheid=no
   14852 fi
   14853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14854     conftest$ac_exeext conftest.$ac_ext
   14855 fi
   14856 
   14857 
   14858 		CFLAGS="$xorg_testset_save_CFLAGS"
   14859 
   14860 		eval supported=\$$cacheid
   14861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14862 printf "%s\n" "$supported" >&6; }
   14863 		if test "$supported" = "yes" ; then
   14864 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14865 			found="yes"
   14866 		fi
   14867 	fi
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 xorg_testset_save_CFLAGS="$CFLAGS"
   14884 
   14885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14890 then :
   14891   printf %s "(cached) " >&6
   14892 else $as_nop
   14893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14894 /* end confdefs.h.  */
   14895 int i;
   14896 _ACEOF
   14897 if ac_fn_c_try_compile "$LINENO"
   14898 then :
   14899   xorg_cv_cc_flag_unknown_warning_option=yes
   14900 else $as_nop
   14901   xorg_cv_cc_flag_unknown_warning_option=no
   14902 fi
   14903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14904 fi
   14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14906 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14908 	CFLAGS="$xorg_testset_save_CFLAGS"
   14909 fi
   14910 
   14911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14914 	fi
   14915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14917 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14918 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14919 then :
   14920   printf %s "(cached) " >&6
   14921 else $as_nop
   14922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14923 /* end confdefs.h.  */
   14924 int i;
   14925 _ACEOF
   14926 if ac_fn_c_try_compile "$LINENO"
   14927 then :
   14928   xorg_cv_cc_flag_unused_command_line_argument=yes
   14929 else $as_nop
   14930   xorg_cv_cc_flag_unused_command_line_argument=no
   14931 fi
   14932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14933 fi
   14934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14937 	CFLAGS="$xorg_testset_save_CFLAGS"
   14938 fi
   14939 
   14940 found="no"
   14941 
   14942 	if test $found = "no" ; then
   14943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14945 		fi
   14946 
   14947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14949 		fi
   14950 
   14951 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14952 
   14953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14954 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14955 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14956 		if eval test \${$cacheid+y}
   14957 then :
   14958   printf %s "(cached) " >&6
   14959 else $as_nop
   14960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14961 /* end confdefs.h.  */
   14962 int i;
   14963 int
   14964 main (void)
   14965 {
   14966 
   14967   ;
   14968   return 0;
   14969 }
   14970 _ACEOF
   14971 if ac_fn_c_try_link "$LINENO"
   14972 then :
   14973   eval $cacheid=yes
   14974 else $as_nop
   14975   eval $cacheid=no
   14976 fi
   14977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14978     conftest$ac_exeext conftest.$ac_ext
   14979 fi
   14980 
   14981 
   14982 		CFLAGS="$xorg_testset_save_CFLAGS"
   14983 
   14984 		eval supported=\$$cacheid
   14985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14986 printf "%s\n" "$supported" >&6; }
   14987 		if test "$supported" = "yes" ; then
   14988 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14989 			found="yes"
   14990 		fi
   14991 	fi
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 xorg_testset_save_CFLAGS="$CFLAGS"
   15008 
   15009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15012 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15013 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15014 then :
   15015   printf %s "(cached) " >&6
   15016 else $as_nop
   15017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15018 /* end confdefs.h.  */
   15019 int i;
   15020 _ACEOF
   15021 if ac_fn_c_try_compile "$LINENO"
   15022 then :
   15023   xorg_cv_cc_flag_unknown_warning_option=yes
   15024 else $as_nop
   15025   xorg_cv_cc_flag_unknown_warning_option=no
   15026 fi
   15027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15028 fi
   15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15030 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15032 	CFLAGS="$xorg_testset_save_CFLAGS"
   15033 fi
   15034 
   15035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 	fi
   15039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15041 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15042 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15043 then :
   15044   printf %s "(cached) " >&6
   15045 else $as_nop
   15046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15047 /* end confdefs.h.  */
   15048 int i;
   15049 _ACEOF
   15050 if ac_fn_c_try_compile "$LINENO"
   15051 then :
   15052   xorg_cv_cc_flag_unused_command_line_argument=yes
   15053 else $as_nop
   15054   xorg_cv_cc_flag_unused_command_line_argument=no
   15055 fi
   15056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15057 fi
   15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15059 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15061 	CFLAGS="$xorg_testset_save_CFLAGS"
   15062 fi
   15063 
   15064 found="no"
   15065 
   15066 	if test $found = "no" ; then
   15067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15069 		fi
   15070 
   15071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15073 		fi
   15074 
   15075 		CFLAGS="$CFLAGS -Wredundant-decls"
   15076 
   15077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15078 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15079 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15080 		if eval test \${$cacheid+y}
   15081 then :
   15082   printf %s "(cached) " >&6
   15083 else $as_nop
   15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 int
   15088 main (void)
   15089 {
   15090 
   15091   ;
   15092   return 0;
   15093 }
   15094 _ACEOF
   15095 if ac_fn_c_try_link "$LINENO"
   15096 then :
   15097   eval $cacheid=yes
   15098 else $as_nop
   15099   eval $cacheid=no
   15100 fi
   15101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15102     conftest$ac_exeext conftest.$ac_ext
   15103 fi
   15104 
   15105 
   15106 		CFLAGS="$xorg_testset_save_CFLAGS"
   15107 
   15108 		eval supported=\$$cacheid
   15109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15110 printf "%s\n" "$supported" >&6; }
   15111 		if test "$supported" = "yes" ; then
   15112 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15113 			found="yes"
   15114 		fi
   15115 	fi
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 xorg_testset_save_CFLAGS="$CFLAGS"
   15132 
   15133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15136 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15137 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15138 then :
   15139   printf %s "(cached) " >&6
   15140 else $as_nop
   15141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15142 /* end confdefs.h.  */
   15143 int i;
   15144 _ACEOF
   15145 if ac_fn_c_try_compile "$LINENO"
   15146 then :
   15147   xorg_cv_cc_flag_unknown_warning_option=yes
   15148 else $as_nop
   15149   xorg_cv_cc_flag_unknown_warning_option=no
   15150 fi
   15151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15152 fi
   15153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15156 	CFLAGS="$xorg_testset_save_CFLAGS"
   15157 fi
   15158 
   15159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15162 	fi
   15163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15167 then :
   15168   printf %s "(cached) " >&6
   15169 else $as_nop
   15170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15171 /* end confdefs.h.  */
   15172 int i;
   15173 _ACEOF
   15174 if ac_fn_c_try_compile "$LINENO"
   15175 then :
   15176   xorg_cv_cc_flag_unused_command_line_argument=yes
   15177 else $as_nop
   15178   xorg_cv_cc_flag_unused_command_line_argument=no
   15179 fi
   15180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15181 fi
   15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15183 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15185 	CFLAGS="$xorg_testset_save_CFLAGS"
   15186 fi
   15187 
   15188 found="no"
   15189 
   15190 	if test $found = "no" ; then
   15191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15193 		fi
   15194 
   15195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15197 		fi
   15198 
   15199 		CFLAGS="$CFLAGS -Wlogical-op"
   15200 
   15201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15202 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15203 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15204 		if eval test \${$cacheid+y}
   15205 then :
   15206   printf %s "(cached) " >&6
   15207 else $as_nop
   15208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15209 /* end confdefs.h.  */
   15210 int i;
   15211 int
   15212 main (void)
   15213 {
   15214 
   15215   ;
   15216   return 0;
   15217 }
   15218 _ACEOF
   15219 if ac_fn_c_try_link "$LINENO"
   15220 then :
   15221   eval $cacheid=yes
   15222 else $as_nop
   15223   eval $cacheid=no
   15224 fi
   15225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15226     conftest$ac_exeext conftest.$ac_ext
   15227 fi
   15228 
   15229 
   15230 		CFLAGS="$xorg_testset_save_CFLAGS"
   15231 
   15232 		eval supported=\$$cacheid
   15233 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15234 printf "%s\n" "$supported" >&6; }
   15235 		if test "$supported" = "yes" ; then
   15236 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15237 			found="yes"
   15238 		fi
   15239 	fi
   15240 
   15241 
   15242 
   15243 # These are currently disabled because they are noisy.  They will be enabled
   15244 # in the future once the codebase is sufficiently modernized to silence
   15245 # them.  For now, I don't want them to drown out the other warnings.
   15246 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15247 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15248 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15249 
   15250 # Turn some warnings into errors, so we don't accidently get successful builds
   15251 # when there are problems that should be fixed.
   15252 
   15253 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 xorg_testset_save_CFLAGS="$CFLAGS"
   15268 
   15269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15274 then :
   15275   printf %s "(cached) " >&6
   15276 else $as_nop
   15277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15278 /* end confdefs.h.  */
   15279 int i;
   15280 _ACEOF
   15281 if ac_fn_c_try_compile "$LINENO"
   15282 then :
   15283   xorg_cv_cc_flag_unknown_warning_option=yes
   15284 else $as_nop
   15285   xorg_cv_cc_flag_unknown_warning_option=no
   15286 fi
   15287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15288 fi
   15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15290 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15292 	CFLAGS="$xorg_testset_save_CFLAGS"
   15293 fi
   15294 
   15295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15298 	fi
   15299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15301 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15302 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15303 then :
   15304   printf %s "(cached) " >&6
   15305 else $as_nop
   15306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15307 /* end confdefs.h.  */
   15308 int i;
   15309 _ACEOF
   15310 if ac_fn_c_try_compile "$LINENO"
   15311 then :
   15312   xorg_cv_cc_flag_unused_command_line_argument=yes
   15313 else $as_nop
   15314   xorg_cv_cc_flag_unused_command_line_argument=no
   15315 fi
   15316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15317 fi
   15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15319 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15321 	CFLAGS="$xorg_testset_save_CFLAGS"
   15322 fi
   15323 
   15324 found="no"
   15325 
   15326 	if test $found = "no" ; then
   15327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15329 		fi
   15330 
   15331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15333 		fi
   15334 
   15335 		CFLAGS="$CFLAGS -Werror=implicit"
   15336 
   15337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15338 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15339 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15340 		if eval test \${$cacheid+y}
   15341 then :
   15342   printf %s "(cached) " >&6
   15343 else $as_nop
   15344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15345 /* end confdefs.h.  */
   15346 int i;
   15347 int
   15348 main (void)
   15349 {
   15350 
   15351   ;
   15352   return 0;
   15353 }
   15354 _ACEOF
   15355 if ac_fn_c_try_link "$LINENO"
   15356 then :
   15357   eval $cacheid=yes
   15358 else $as_nop
   15359   eval $cacheid=no
   15360 fi
   15361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15362     conftest$ac_exeext conftest.$ac_ext
   15363 fi
   15364 
   15365 
   15366 		CFLAGS="$xorg_testset_save_CFLAGS"
   15367 
   15368 		eval supported=\$$cacheid
   15369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15370 printf "%s\n" "$supported" >&6; }
   15371 		if test "$supported" = "yes" ; then
   15372 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15373 			found="yes"
   15374 		fi
   15375 	fi
   15376 
   15377 	if test $found = "no" ; then
   15378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15380 		fi
   15381 
   15382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15384 		fi
   15385 
   15386 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15387 
   15388 		{ 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
   15389 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15390 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15391 		if eval test \${$cacheid+y}
   15392 then :
   15393   printf %s "(cached) " >&6
   15394 else $as_nop
   15395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15396 /* end confdefs.h.  */
   15397 int i;
   15398 int
   15399 main (void)
   15400 {
   15401 
   15402   ;
   15403   return 0;
   15404 }
   15405 _ACEOF
   15406 if ac_fn_c_try_link "$LINENO"
   15407 then :
   15408   eval $cacheid=yes
   15409 else $as_nop
   15410   eval $cacheid=no
   15411 fi
   15412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15413     conftest$ac_exeext conftest.$ac_ext
   15414 fi
   15415 
   15416 
   15417 		CFLAGS="$xorg_testset_save_CFLAGS"
   15418 
   15419 		eval supported=\$$cacheid
   15420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15421 printf "%s\n" "$supported" >&6; }
   15422 		if test "$supported" = "yes" ; then
   15423 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15424 			found="yes"
   15425 		fi
   15426 	fi
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 xorg_testset_save_CFLAGS="$CFLAGS"
   15443 
   15444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15449 then :
   15450   printf %s "(cached) " >&6
   15451 else $as_nop
   15452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15453 /* end confdefs.h.  */
   15454 int i;
   15455 _ACEOF
   15456 if ac_fn_c_try_compile "$LINENO"
   15457 then :
   15458   xorg_cv_cc_flag_unknown_warning_option=yes
   15459 else $as_nop
   15460   xorg_cv_cc_flag_unknown_warning_option=no
   15461 fi
   15462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15463 fi
   15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15467 	CFLAGS="$xorg_testset_save_CFLAGS"
   15468 fi
   15469 
   15470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15473 	fi
   15474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15478 then :
   15479   printf %s "(cached) " >&6
   15480 else $as_nop
   15481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15482 /* end confdefs.h.  */
   15483 int i;
   15484 _ACEOF
   15485 if ac_fn_c_try_compile "$LINENO"
   15486 then :
   15487   xorg_cv_cc_flag_unused_command_line_argument=yes
   15488 else $as_nop
   15489   xorg_cv_cc_flag_unused_command_line_argument=no
   15490 fi
   15491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15492 fi
   15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15496 	CFLAGS="$xorg_testset_save_CFLAGS"
   15497 fi
   15498 
   15499 found="no"
   15500 
   15501 	if test $found = "no" ; then
   15502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15504 		fi
   15505 
   15506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15508 		fi
   15509 
   15510 		CFLAGS="$CFLAGS -Werror=nonnull"
   15511 
   15512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15513 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15514 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15515 		if eval test \${$cacheid+y}
   15516 then :
   15517   printf %s "(cached) " >&6
   15518 else $as_nop
   15519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15520 /* end confdefs.h.  */
   15521 int i;
   15522 int
   15523 main (void)
   15524 {
   15525 
   15526   ;
   15527   return 0;
   15528 }
   15529 _ACEOF
   15530 if ac_fn_c_try_link "$LINENO"
   15531 then :
   15532   eval $cacheid=yes
   15533 else $as_nop
   15534   eval $cacheid=no
   15535 fi
   15536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15537     conftest$ac_exeext conftest.$ac_ext
   15538 fi
   15539 
   15540 
   15541 		CFLAGS="$xorg_testset_save_CFLAGS"
   15542 
   15543 		eval supported=\$$cacheid
   15544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15545 printf "%s\n" "$supported" >&6; }
   15546 		if test "$supported" = "yes" ; then
   15547 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15548 			found="yes"
   15549 		fi
   15550 	fi
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 xorg_testset_save_CFLAGS="$CFLAGS"
   15567 
   15568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15573 then :
   15574   printf %s "(cached) " >&6
   15575 else $as_nop
   15576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15577 /* end confdefs.h.  */
   15578 int i;
   15579 _ACEOF
   15580 if ac_fn_c_try_compile "$LINENO"
   15581 then :
   15582   xorg_cv_cc_flag_unknown_warning_option=yes
   15583 else $as_nop
   15584   xorg_cv_cc_flag_unknown_warning_option=no
   15585 fi
   15586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15587 fi
   15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15591 	CFLAGS="$xorg_testset_save_CFLAGS"
   15592 fi
   15593 
   15594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15597 	fi
   15598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15602 then :
   15603   printf %s "(cached) " >&6
   15604 else $as_nop
   15605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15606 /* end confdefs.h.  */
   15607 int i;
   15608 _ACEOF
   15609 if ac_fn_c_try_compile "$LINENO"
   15610 then :
   15611   xorg_cv_cc_flag_unused_command_line_argument=yes
   15612 else $as_nop
   15613   xorg_cv_cc_flag_unused_command_line_argument=no
   15614 fi
   15615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15616 fi
   15617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15620 	CFLAGS="$xorg_testset_save_CFLAGS"
   15621 fi
   15622 
   15623 found="no"
   15624 
   15625 	if test $found = "no" ; then
   15626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15628 		fi
   15629 
   15630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15632 		fi
   15633 
   15634 		CFLAGS="$CFLAGS -Werror=init-self"
   15635 
   15636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15637 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15638 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15639 		if eval test \${$cacheid+y}
   15640 then :
   15641   printf %s "(cached) " >&6
   15642 else $as_nop
   15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 int
   15647 main (void)
   15648 {
   15649 
   15650   ;
   15651   return 0;
   15652 }
   15653 _ACEOF
   15654 if ac_fn_c_try_link "$LINENO"
   15655 then :
   15656   eval $cacheid=yes
   15657 else $as_nop
   15658   eval $cacheid=no
   15659 fi
   15660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15661     conftest$ac_exeext conftest.$ac_ext
   15662 fi
   15663 
   15664 
   15665 		CFLAGS="$xorg_testset_save_CFLAGS"
   15666 
   15667 		eval supported=\$$cacheid
   15668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15669 printf "%s\n" "$supported" >&6; }
   15670 		if test "$supported" = "yes" ; then
   15671 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15672 			found="yes"
   15673 		fi
   15674 	fi
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 xorg_testset_save_CFLAGS="$CFLAGS"
   15691 
   15692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15697 then :
   15698   printf %s "(cached) " >&6
   15699 else $as_nop
   15700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15701 /* end confdefs.h.  */
   15702 int i;
   15703 _ACEOF
   15704 if ac_fn_c_try_compile "$LINENO"
   15705 then :
   15706   xorg_cv_cc_flag_unknown_warning_option=yes
   15707 else $as_nop
   15708   xorg_cv_cc_flag_unknown_warning_option=no
   15709 fi
   15710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15711 fi
   15712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15715 	CFLAGS="$xorg_testset_save_CFLAGS"
   15716 fi
   15717 
   15718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15721 	fi
   15722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15726 then :
   15727   printf %s "(cached) " >&6
   15728 else $as_nop
   15729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15730 /* end confdefs.h.  */
   15731 int i;
   15732 _ACEOF
   15733 if ac_fn_c_try_compile "$LINENO"
   15734 then :
   15735   xorg_cv_cc_flag_unused_command_line_argument=yes
   15736 else $as_nop
   15737   xorg_cv_cc_flag_unused_command_line_argument=no
   15738 fi
   15739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15740 fi
   15741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15744 	CFLAGS="$xorg_testset_save_CFLAGS"
   15745 fi
   15746 
   15747 found="no"
   15748 
   15749 	if test $found = "no" ; then
   15750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15752 		fi
   15753 
   15754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15756 		fi
   15757 
   15758 		CFLAGS="$CFLAGS -Werror=main"
   15759 
   15760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15761 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15762 		cacheid=xorg_cv_cc_flag__Werror_main
   15763 		if eval test \${$cacheid+y}
   15764 then :
   15765   printf %s "(cached) " >&6
   15766 else $as_nop
   15767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15768 /* end confdefs.h.  */
   15769 int i;
   15770 int
   15771 main (void)
   15772 {
   15773 
   15774   ;
   15775   return 0;
   15776 }
   15777 _ACEOF
   15778 if ac_fn_c_try_link "$LINENO"
   15779 then :
   15780   eval $cacheid=yes
   15781 else $as_nop
   15782   eval $cacheid=no
   15783 fi
   15784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15785     conftest$ac_exeext conftest.$ac_ext
   15786 fi
   15787 
   15788 
   15789 		CFLAGS="$xorg_testset_save_CFLAGS"
   15790 
   15791 		eval supported=\$$cacheid
   15792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15793 printf "%s\n" "$supported" >&6; }
   15794 		if test "$supported" = "yes" ; then
   15795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15796 			found="yes"
   15797 		fi
   15798 	fi
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 xorg_testset_save_CFLAGS="$CFLAGS"
   15815 
   15816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15821 then :
   15822   printf %s "(cached) " >&6
   15823 else $as_nop
   15824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15825 /* end confdefs.h.  */
   15826 int i;
   15827 _ACEOF
   15828 if ac_fn_c_try_compile "$LINENO"
   15829 then :
   15830   xorg_cv_cc_flag_unknown_warning_option=yes
   15831 else $as_nop
   15832   xorg_cv_cc_flag_unknown_warning_option=no
   15833 fi
   15834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15835 fi
   15836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15837 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15839 	CFLAGS="$xorg_testset_save_CFLAGS"
   15840 fi
   15841 
   15842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15845 	fi
   15846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15848 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15849 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15850 then :
   15851   printf %s "(cached) " >&6
   15852 else $as_nop
   15853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15854 /* end confdefs.h.  */
   15855 int i;
   15856 _ACEOF
   15857 if ac_fn_c_try_compile "$LINENO"
   15858 then :
   15859   xorg_cv_cc_flag_unused_command_line_argument=yes
   15860 else $as_nop
   15861   xorg_cv_cc_flag_unused_command_line_argument=no
   15862 fi
   15863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15864 fi
   15865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15868 	CFLAGS="$xorg_testset_save_CFLAGS"
   15869 fi
   15870 
   15871 found="no"
   15872 
   15873 	if test $found = "no" ; then
   15874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15876 		fi
   15877 
   15878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15880 		fi
   15881 
   15882 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15883 
   15884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15885 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15886 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15887 		if eval test \${$cacheid+y}
   15888 then :
   15889   printf %s "(cached) " >&6
   15890 else $as_nop
   15891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15892 /* end confdefs.h.  */
   15893 int i;
   15894 int
   15895 main (void)
   15896 {
   15897 
   15898   ;
   15899   return 0;
   15900 }
   15901 _ACEOF
   15902 if ac_fn_c_try_link "$LINENO"
   15903 then :
   15904   eval $cacheid=yes
   15905 else $as_nop
   15906   eval $cacheid=no
   15907 fi
   15908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15909     conftest$ac_exeext conftest.$ac_ext
   15910 fi
   15911 
   15912 
   15913 		CFLAGS="$xorg_testset_save_CFLAGS"
   15914 
   15915 		eval supported=\$$cacheid
   15916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15917 printf "%s\n" "$supported" >&6; }
   15918 		if test "$supported" = "yes" ; then
   15919 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15920 			found="yes"
   15921 		fi
   15922 	fi
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 xorg_testset_save_CFLAGS="$CFLAGS"
   15939 
   15940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15945 then :
   15946   printf %s "(cached) " >&6
   15947 else $as_nop
   15948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15949 /* end confdefs.h.  */
   15950 int i;
   15951 _ACEOF
   15952 if ac_fn_c_try_compile "$LINENO"
   15953 then :
   15954   xorg_cv_cc_flag_unknown_warning_option=yes
   15955 else $as_nop
   15956   xorg_cv_cc_flag_unknown_warning_option=no
   15957 fi
   15958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15959 fi
   15960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15963 	CFLAGS="$xorg_testset_save_CFLAGS"
   15964 fi
   15965 
   15966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15969 	fi
   15970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15974 then :
   15975   printf %s "(cached) " >&6
   15976 else $as_nop
   15977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15978 /* end confdefs.h.  */
   15979 int i;
   15980 _ACEOF
   15981 if ac_fn_c_try_compile "$LINENO"
   15982 then :
   15983   xorg_cv_cc_flag_unused_command_line_argument=yes
   15984 else $as_nop
   15985   xorg_cv_cc_flag_unused_command_line_argument=no
   15986 fi
   15987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15988 fi
   15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15992 	CFLAGS="$xorg_testset_save_CFLAGS"
   15993 fi
   15994 
   15995 found="no"
   15996 
   15997 	if test $found = "no" ; then
   15998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16000 		fi
   16001 
   16002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16004 		fi
   16005 
   16006 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16007 
   16008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16009 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16010 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16011 		if eval test \${$cacheid+y}
   16012 then :
   16013   printf %s "(cached) " >&6
   16014 else $as_nop
   16015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16016 /* end confdefs.h.  */
   16017 int i;
   16018 int
   16019 main (void)
   16020 {
   16021 
   16022   ;
   16023   return 0;
   16024 }
   16025 _ACEOF
   16026 if ac_fn_c_try_link "$LINENO"
   16027 then :
   16028   eval $cacheid=yes
   16029 else $as_nop
   16030   eval $cacheid=no
   16031 fi
   16032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16033     conftest$ac_exeext conftest.$ac_ext
   16034 fi
   16035 
   16036 
   16037 		CFLAGS="$xorg_testset_save_CFLAGS"
   16038 
   16039 		eval supported=\$$cacheid
   16040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16041 printf "%s\n" "$supported" >&6; }
   16042 		if test "$supported" = "yes" ; then
   16043 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16044 			found="yes"
   16045 		fi
   16046 	fi
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 xorg_testset_save_CFLAGS="$CFLAGS"
   16063 
   16064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16065 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16067 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16068 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16069 then :
   16070   printf %s "(cached) " >&6
   16071 else $as_nop
   16072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16073 /* end confdefs.h.  */
   16074 int i;
   16075 _ACEOF
   16076 if ac_fn_c_try_compile "$LINENO"
   16077 then :
   16078   xorg_cv_cc_flag_unknown_warning_option=yes
   16079 else $as_nop
   16080   xorg_cv_cc_flag_unknown_warning_option=no
   16081 fi
   16082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16083 fi
   16084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16087 	CFLAGS="$xorg_testset_save_CFLAGS"
   16088 fi
   16089 
   16090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16093 	fi
   16094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16098 then :
   16099   printf %s "(cached) " >&6
   16100 else $as_nop
   16101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16102 /* end confdefs.h.  */
   16103 int i;
   16104 _ACEOF
   16105 if ac_fn_c_try_compile "$LINENO"
   16106 then :
   16107   xorg_cv_cc_flag_unused_command_line_argument=yes
   16108 else $as_nop
   16109   xorg_cv_cc_flag_unused_command_line_argument=no
   16110 fi
   16111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16112 fi
   16113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16114 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16116 	CFLAGS="$xorg_testset_save_CFLAGS"
   16117 fi
   16118 
   16119 found="no"
   16120 
   16121 	if test $found = "no" ; then
   16122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16124 		fi
   16125 
   16126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16128 		fi
   16129 
   16130 		CFLAGS="$CFLAGS -Werror=return-type"
   16131 
   16132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16133 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16134 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16135 		if eval test \${$cacheid+y}
   16136 then :
   16137   printf %s "(cached) " >&6
   16138 else $as_nop
   16139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16140 /* end confdefs.h.  */
   16141 int i;
   16142 int
   16143 main (void)
   16144 {
   16145 
   16146   ;
   16147   return 0;
   16148 }
   16149 _ACEOF
   16150 if ac_fn_c_try_link "$LINENO"
   16151 then :
   16152   eval $cacheid=yes
   16153 else $as_nop
   16154   eval $cacheid=no
   16155 fi
   16156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16157     conftest$ac_exeext conftest.$ac_ext
   16158 fi
   16159 
   16160 
   16161 		CFLAGS="$xorg_testset_save_CFLAGS"
   16162 
   16163 		eval supported=\$$cacheid
   16164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16165 printf "%s\n" "$supported" >&6; }
   16166 		if test "$supported" = "yes" ; then
   16167 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16168 			found="yes"
   16169 		fi
   16170 	fi
   16171 
   16172 	if test $found = "no" ; then
   16173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16175 		fi
   16176 
   16177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16179 		fi
   16180 
   16181 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16182 
   16183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16184 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16185 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16186 		if eval test \${$cacheid+y}
   16187 then :
   16188   printf %s "(cached) " >&6
   16189 else $as_nop
   16190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16191 /* end confdefs.h.  */
   16192 int i;
   16193 int
   16194 main (void)
   16195 {
   16196 
   16197   ;
   16198   return 0;
   16199 }
   16200 _ACEOF
   16201 if ac_fn_c_try_link "$LINENO"
   16202 then :
   16203   eval $cacheid=yes
   16204 else $as_nop
   16205   eval $cacheid=no
   16206 fi
   16207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16208     conftest$ac_exeext conftest.$ac_ext
   16209 fi
   16210 
   16211 
   16212 		CFLAGS="$xorg_testset_save_CFLAGS"
   16213 
   16214 		eval supported=\$$cacheid
   16215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16216 printf "%s\n" "$supported" >&6; }
   16217 		if test "$supported" = "yes" ; then
   16218 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16219 			found="yes"
   16220 		fi
   16221 	fi
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 xorg_testset_save_CFLAGS="$CFLAGS"
   16238 
   16239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16242 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16243 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16244 then :
   16245   printf %s "(cached) " >&6
   16246 else $as_nop
   16247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16248 /* end confdefs.h.  */
   16249 int i;
   16250 _ACEOF
   16251 if ac_fn_c_try_compile "$LINENO"
   16252 then :
   16253   xorg_cv_cc_flag_unknown_warning_option=yes
   16254 else $as_nop
   16255   xorg_cv_cc_flag_unknown_warning_option=no
   16256 fi
   16257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16258 fi
   16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16260 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16262 	CFLAGS="$xorg_testset_save_CFLAGS"
   16263 fi
   16264 
   16265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16268 	fi
   16269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16271 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16272 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16273 then :
   16274   printf %s "(cached) " >&6
   16275 else $as_nop
   16276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16277 /* end confdefs.h.  */
   16278 int i;
   16279 _ACEOF
   16280 if ac_fn_c_try_compile "$LINENO"
   16281 then :
   16282   xorg_cv_cc_flag_unused_command_line_argument=yes
   16283 else $as_nop
   16284   xorg_cv_cc_flag_unused_command_line_argument=no
   16285 fi
   16286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16287 fi
   16288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16289 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16291 	CFLAGS="$xorg_testset_save_CFLAGS"
   16292 fi
   16293 
   16294 found="no"
   16295 
   16296 	if test $found = "no" ; then
   16297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16299 		fi
   16300 
   16301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16303 		fi
   16304 
   16305 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16306 
   16307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16308 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16309 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16310 		if eval test \${$cacheid+y}
   16311 then :
   16312   printf %s "(cached) " >&6
   16313 else $as_nop
   16314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16315 /* end confdefs.h.  */
   16316 int i;
   16317 int
   16318 main (void)
   16319 {
   16320 
   16321   ;
   16322   return 0;
   16323 }
   16324 _ACEOF
   16325 if ac_fn_c_try_link "$LINENO"
   16326 then :
   16327   eval $cacheid=yes
   16328 else $as_nop
   16329   eval $cacheid=no
   16330 fi
   16331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16332     conftest$ac_exeext conftest.$ac_ext
   16333 fi
   16334 
   16335 
   16336 		CFLAGS="$xorg_testset_save_CFLAGS"
   16337 
   16338 		eval supported=\$$cacheid
   16339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16340 printf "%s\n" "$supported" >&6; }
   16341 		if test "$supported" = "yes" ; then
   16342 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16343 			found="yes"
   16344 		fi
   16345 	fi
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 xorg_testset_save_CFLAGS="$CFLAGS"
   16362 
   16363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16366 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16367 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16368 then :
   16369   printf %s "(cached) " >&6
   16370 else $as_nop
   16371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16372 /* end confdefs.h.  */
   16373 int i;
   16374 _ACEOF
   16375 if ac_fn_c_try_compile "$LINENO"
   16376 then :
   16377   xorg_cv_cc_flag_unknown_warning_option=yes
   16378 else $as_nop
   16379   xorg_cv_cc_flag_unknown_warning_option=no
   16380 fi
   16381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16382 fi
   16383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16386 	CFLAGS="$xorg_testset_save_CFLAGS"
   16387 fi
   16388 
   16389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16392 	fi
   16393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16397 then :
   16398   printf %s "(cached) " >&6
   16399 else $as_nop
   16400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16401 /* end confdefs.h.  */
   16402 int i;
   16403 _ACEOF
   16404 if ac_fn_c_try_compile "$LINENO"
   16405 then :
   16406   xorg_cv_cc_flag_unused_command_line_argument=yes
   16407 else $as_nop
   16408   xorg_cv_cc_flag_unused_command_line_argument=no
   16409 fi
   16410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16411 fi
   16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16413 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16415 	CFLAGS="$xorg_testset_save_CFLAGS"
   16416 fi
   16417 
   16418 found="no"
   16419 
   16420 	if test $found = "no" ; then
   16421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16423 		fi
   16424 
   16425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16427 		fi
   16428 
   16429 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16430 
   16431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16432 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16433 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16434 		if eval test \${$cacheid+y}
   16435 then :
   16436   printf %s "(cached) " >&6
   16437 else $as_nop
   16438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16439 /* end confdefs.h.  */
   16440 int i;
   16441 int
   16442 main (void)
   16443 {
   16444 
   16445   ;
   16446   return 0;
   16447 }
   16448 _ACEOF
   16449 if ac_fn_c_try_link "$LINENO"
   16450 then :
   16451   eval $cacheid=yes
   16452 else $as_nop
   16453   eval $cacheid=no
   16454 fi
   16455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16456     conftest$ac_exeext conftest.$ac_ext
   16457 fi
   16458 
   16459 
   16460 		CFLAGS="$xorg_testset_save_CFLAGS"
   16461 
   16462 		eval supported=\$$cacheid
   16463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16464 printf "%s\n" "$supported" >&6; }
   16465 		if test "$supported" = "yes" ; then
   16466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16467 			found="yes"
   16468 		fi
   16469 	fi
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 xorg_testset_save_CFLAGS="$CFLAGS"
   16486 
   16487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16489 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16490 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16491 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16492 then :
   16493   printf %s "(cached) " >&6
   16494 else $as_nop
   16495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16496 /* end confdefs.h.  */
   16497 int i;
   16498 _ACEOF
   16499 if ac_fn_c_try_compile "$LINENO"
   16500 then :
   16501   xorg_cv_cc_flag_unknown_warning_option=yes
   16502 else $as_nop
   16503   xorg_cv_cc_flag_unknown_warning_option=no
   16504 fi
   16505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16506 fi
   16507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16508 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16510 	CFLAGS="$xorg_testset_save_CFLAGS"
   16511 fi
   16512 
   16513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16516 	fi
   16517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16519 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16520 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16521 then :
   16522   printf %s "(cached) " >&6
   16523 else $as_nop
   16524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16525 /* end confdefs.h.  */
   16526 int i;
   16527 _ACEOF
   16528 if ac_fn_c_try_compile "$LINENO"
   16529 then :
   16530   xorg_cv_cc_flag_unused_command_line_argument=yes
   16531 else $as_nop
   16532   xorg_cv_cc_flag_unused_command_line_argument=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16535 fi
   16536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16537 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16539 	CFLAGS="$xorg_testset_save_CFLAGS"
   16540 fi
   16541 
   16542 found="no"
   16543 
   16544 	if test $found = "no" ; then
   16545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16547 		fi
   16548 
   16549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16551 		fi
   16552 
   16553 		CFLAGS="$CFLAGS -Werror=write-strings"
   16554 
   16555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16556 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16557 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16558 		if eval test \${$cacheid+y}
   16559 then :
   16560   printf %s "(cached) " >&6
   16561 else $as_nop
   16562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16563 /* end confdefs.h.  */
   16564 int i;
   16565 int
   16566 main (void)
   16567 {
   16568 
   16569   ;
   16570   return 0;
   16571 }
   16572 _ACEOF
   16573 if ac_fn_c_try_link "$LINENO"
   16574 then :
   16575   eval $cacheid=yes
   16576 else $as_nop
   16577   eval $cacheid=no
   16578 fi
   16579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16580     conftest$ac_exeext conftest.$ac_ext
   16581 fi
   16582 
   16583 
   16584 		CFLAGS="$xorg_testset_save_CFLAGS"
   16585 
   16586 		eval supported=\$$cacheid
   16587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16588 printf "%s\n" "$supported" >&6; }
   16589 		if test "$supported" = "yes" ; then
   16590 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16591 			found="yes"
   16592 		fi
   16593 	fi
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 xorg_testset_save_CFLAGS="$CFLAGS"
   16610 
   16611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16616 then :
   16617   printf %s "(cached) " >&6
   16618 else $as_nop
   16619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16620 /* end confdefs.h.  */
   16621 int i;
   16622 _ACEOF
   16623 if ac_fn_c_try_compile "$LINENO"
   16624 then :
   16625   xorg_cv_cc_flag_unknown_warning_option=yes
   16626 else $as_nop
   16627   xorg_cv_cc_flag_unknown_warning_option=no
   16628 fi
   16629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16630 fi
   16631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16634 	CFLAGS="$xorg_testset_save_CFLAGS"
   16635 fi
   16636 
   16637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16640 	fi
   16641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16645 then :
   16646   printf %s "(cached) " >&6
   16647 else $as_nop
   16648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16649 /* end confdefs.h.  */
   16650 int i;
   16651 _ACEOF
   16652 if ac_fn_c_try_compile "$LINENO"
   16653 then :
   16654   xorg_cv_cc_flag_unused_command_line_argument=yes
   16655 else $as_nop
   16656   xorg_cv_cc_flag_unused_command_line_argument=no
   16657 fi
   16658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16659 fi
   16660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16663 	CFLAGS="$xorg_testset_save_CFLAGS"
   16664 fi
   16665 
   16666 found="no"
   16667 
   16668 	if test $found = "no" ; then
   16669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16671 		fi
   16672 
   16673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16675 		fi
   16676 
   16677 		CFLAGS="$CFLAGS -Werror=address"
   16678 
   16679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16680 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16681 		cacheid=xorg_cv_cc_flag__Werror_address
   16682 		if eval test \${$cacheid+y}
   16683 then :
   16684   printf %s "(cached) " >&6
   16685 else $as_nop
   16686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16687 /* end confdefs.h.  */
   16688 int i;
   16689 int
   16690 main (void)
   16691 {
   16692 
   16693   ;
   16694   return 0;
   16695 }
   16696 _ACEOF
   16697 if ac_fn_c_try_link "$LINENO"
   16698 then :
   16699   eval $cacheid=yes
   16700 else $as_nop
   16701   eval $cacheid=no
   16702 fi
   16703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16704     conftest$ac_exeext conftest.$ac_ext
   16705 fi
   16706 
   16707 
   16708 		CFLAGS="$xorg_testset_save_CFLAGS"
   16709 
   16710 		eval supported=\$$cacheid
   16711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16712 printf "%s\n" "$supported" >&6; }
   16713 		if test "$supported" = "yes" ; then
   16714 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16715 			found="yes"
   16716 		fi
   16717 	fi
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 xorg_testset_save_CFLAGS="$CFLAGS"
   16734 
   16735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16740 then :
   16741   printf %s "(cached) " >&6
   16742 else $as_nop
   16743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16744 /* end confdefs.h.  */
   16745 int i;
   16746 _ACEOF
   16747 if ac_fn_c_try_compile "$LINENO"
   16748 then :
   16749   xorg_cv_cc_flag_unknown_warning_option=yes
   16750 else $as_nop
   16751   xorg_cv_cc_flag_unknown_warning_option=no
   16752 fi
   16753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16754 fi
   16755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16758 	CFLAGS="$xorg_testset_save_CFLAGS"
   16759 fi
   16760 
   16761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16764 	fi
   16765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16769 then :
   16770   printf %s "(cached) " >&6
   16771 else $as_nop
   16772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16773 /* end confdefs.h.  */
   16774 int i;
   16775 _ACEOF
   16776 if ac_fn_c_try_compile "$LINENO"
   16777 then :
   16778   xorg_cv_cc_flag_unused_command_line_argument=yes
   16779 else $as_nop
   16780   xorg_cv_cc_flag_unused_command_line_argument=no
   16781 fi
   16782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16783 fi
   16784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16785 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16787 	CFLAGS="$xorg_testset_save_CFLAGS"
   16788 fi
   16789 
   16790 found="no"
   16791 
   16792 	if test $found = "no" ; then
   16793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16795 		fi
   16796 
   16797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16799 		fi
   16800 
   16801 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16802 
   16803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16804 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16805 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16806 		if eval test \${$cacheid+y}
   16807 then :
   16808   printf %s "(cached) " >&6
   16809 else $as_nop
   16810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16811 /* end confdefs.h.  */
   16812 int i;
   16813 int
   16814 main (void)
   16815 {
   16816 
   16817   ;
   16818   return 0;
   16819 }
   16820 _ACEOF
   16821 if ac_fn_c_try_link "$LINENO"
   16822 then :
   16823   eval $cacheid=yes
   16824 else $as_nop
   16825   eval $cacheid=no
   16826 fi
   16827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16828     conftest$ac_exeext conftest.$ac_ext
   16829 fi
   16830 
   16831 
   16832 		CFLAGS="$xorg_testset_save_CFLAGS"
   16833 
   16834 		eval supported=\$$cacheid
   16835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16836 printf "%s\n" "$supported" >&6; }
   16837 		if test "$supported" = "yes" ; then
   16838 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16839 			found="yes"
   16840 		fi
   16841 	fi
   16842 
   16843 	if test $found = "no" ; then
   16844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16846 		fi
   16847 
   16848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16850 		fi
   16851 
   16852 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16853 
   16854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16855 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16856 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16857 		if eval test \${$cacheid+y}
   16858 then :
   16859   printf %s "(cached) " >&6
   16860 else $as_nop
   16861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16862 /* end confdefs.h.  */
   16863 int i;
   16864 int
   16865 main (void)
   16866 {
   16867 
   16868   ;
   16869   return 0;
   16870 }
   16871 _ACEOF
   16872 if ac_fn_c_try_link "$LINENO"
   16873 then :
   16874   eval $cacheid=yes
   16875 else $as_nop
   16876   eval $cacheid=no
   16877 fi
   16878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16879     conftest$ac_exeext conftest.$ac_ext
   16880 fi
   16881 
   16882 
   16883 		CFLAGS="$xorg_testset_save_CFLAGS"
   16884 
   16885 		eval supported=\$$cacheid
   16886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16887 printf "%s\n" "$supported" >&6; }
   16888 		if test "$supported" = "yes" ; then
   16889 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16890 			found="yes"
   16891 		fi
   16892 	fi
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 
   16906 
   16907 
   16908 xorg_testset_save_CFLAGS="$CFLAGS"
   16909 
   16910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16913 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16914 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16915 then :
   16916   printf %s "(cached) " >&6
   16917 else $as_nop
   16918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16919 /* end confdefs.h.  */
   16920 int i;
   16921 _ACEOF
   16922 if ac_fn_c_try_compile "$LINENO"
   16923 then :
   16924   xorg_cv_cc_flag_unknown_warning_option=yes
   16925 else $as_nop
   16926   xorg_cv_cc_flag_unknown_warning_option=no
   16927 fi
   16928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16929 fi
   16930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16931 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16933 	CFLAGS="$xorg_testset_save_CFLAGS"
   16934 fi
   16935 
   16936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 	fi
   16940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16942 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16943 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16944 then :
   16945   printf %s "(cached) " >&6
   16946 else $as_nop
   16947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16948 /* end confdefs.h.  */
   16949 int i;
   16950 _ACEOF
   16951 if ac_fn_c_try_compile "$LINENO"
   16952 then :
   16953   xorg_cv_cc_flag_unused_command_line_argument=yes
   16954 else $as_nop
   16955   xorg_cv_cc_flag_unused_command_line_argument=no
   16956 fi
   16957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16958 fi
   16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16960 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16962 	CFLAGS="$xorg_testset_save_CFLAGS"
   16963 fi
   16964 
   16965 found="no"
   16966 
   16967 	if test $found = "no" ; then
   16968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16970 		fi
   16971 
   16972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16974 		fi
   16975 
   16976 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16977 
   16978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16979 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16980 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16981 		if eval test \${$cacheid+y}
   16982 then :
   16983   printf %s "(cached) " >&6
   16984 else $as_nop
   16985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16986 /* end confdefs.h.  */
   16987 int i;
   16988 int
   16989 main (void)
   16990 {
   16991 
   16992   ;
   16993   return 0;
   16994 }
   16995 _ACEOF
   16996 if ac_fn_c_try_link "$LINENO"
   16997 then :
   16998   eval $cacheid=yes
   16999 else $as_nop
   17000   eval $cacheid=no
   17001 fi
   17002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17003     conftest$ac_exeext conftest.$ac_ext
   17004 fi
   17005 
   17006 
   17007 		CFLAGS="$xorg_testset_save_CFLAGS"
   17008 
   17009 		eval supported=\$$cacheid
   17010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17011 printf "%s\n" "$supported" >&6; }
   17012 		if test "$supported" = "yes" ; then
   17013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17014 			found="yes"
   17015 		fi
   17016 	fi
   17017 
   17018  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17019 else
   17020 { 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
   17021 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;}
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 xorg_testset_save_CFLAGS="$CFLAGS"
   17036 
   17037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17039 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17040 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17041 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17042 then :
   17043   printf %s "(cached) " >&6
   17044 else $as_nop
   17045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17046 /* end confdefs.h.  */
   17047 int i;
   17048 _ACEOF
   17049 if ac_fn_c_try_compile "$LINENO"
   17050 then :
   17051   xorg_cv_cc_flag_unknown_warning_option=yes
   17052 else $as_nop
   17053   xorg_cv_cc_flag_unknown_warning_option=no
   17054 fi
   17055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17056 fi
   17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17058 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17060 	CFLAGS="$xorg_testset_save_CFLAGS"
   17061 fi
   17062 
   17063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17066 	fi
   17067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17069 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17070 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17071 then :
   17072   printf %s "(cached) " >&6
   17073 else $as_nop
   17074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17075 /* end confdefs.h.  */
   17076 int i;
   17077 _ACEOF
   17078 if ac_fn_c_try_compile "$LINENO"
   17079 then :
   17080   xorg_cv_cc_flag_unused_command_line_argument=yes
   17081 else $as_nop
   17082   xorg_cv_cc_flag_unused_command_line_argument=no
   17083 fi
   17084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17085 fi
   17086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17087 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17089 	CFLAGS="$xorg_testset_save_CFLAGS"
   17090 fi
   17091 
   17092 found="no"
   17093 
   17094 	if test $found = "no" ; then
   17095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17097 		fi
   17098 
   17099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17101 		fi
   17102 
   17103 		CFLAGS="$CFLAGS -Wimplicit"
   17104 
   17105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17106 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17107 		cacheid=xorg_cv_cc_flag__Wimplicit
   17108 		if eval test \${$cacheid+y}
   17109 then :
   17110   printf %s "(cached) " >&6
   17111 else $as_nop
   17112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17113 /* end confdefs.h.  */
   17114 int i;
   17115 int
   17116 main (void)
   17117 {
   17118 
   17119   ;
   17120   return 0;
   17121 }
   17122 _ACEOF
   17123 if ac_fn_c_try_link "$LINENO"
   17124 then :
   17125   eval $cacheid=yes
   17126 else $as_nop
   17127   eval $cacheid=no
   17128 fi
   17129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17130     conftest$ac_exeext conftest.$ac_ext
   17131 fi
   17132 
   17133 
   17134 		CFLAGS="$xorg_testset_save_CFLAGS"
   17135 
   17136 		eval supported=\$$cacheid
   17137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17138 printf "%s\n" "$supported" >&6; }
   17139 		if test "$supported" = "yes" ; then
   17140 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17141 			found="yes"
   17142 		fi
   17143 	fi
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 xorg_testset_save_CFLAGS="$CFLAGS"
   17160 
   17161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17164 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17165 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17166 then :
   17167   printf %s "(cached) " >&6
   17168 else $as_nop
   17169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17170 /* end confdefs.h.  */
   17171 int i;
   17172 _ACEOF
   17173 if ac_fn_c_try_compile "$LINENO"
   17174 then :
   17175   xorg_cv_cc_flag_unknown_warning_option=yes
   17176 else $as_nop
   17177   xorg_cv_cc_flag_unknown_warning_option=no
   17178 fi
   17179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17180 fi
   17181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17182 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17184 	CFLAGS="$xorg_testset_save_CFLAGS"
   17185 fi
   17186 
   17187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17190 	fi
   17191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17193 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17194 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17195 then :
   17196   printf %s "(cached) " >&6
   17197 else $as_nop
   17198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17199 /* end confdefs.h.  */
   17200 int i;
   17201 _ACEOF
   17202 if ac_fn_c_try_compile "$LINENO"
   17203 then :
   17204   xorg_cv_cc_flag_unused_command_line_argument=yes
   17205 else $as_nop
   17206   xorg_cv_cc_flag_unused_command_line_argument=no
   17207 fi
   17208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17209 fi
   17210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17213 	CFLAGS="$xorg_testset_save_CFLAGS"
   17214 fi
   17215 
   17216 found="no"
   17217 
   17218 	if test $found = "no" ; then
   17219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17221 		fi
   17222 
   17223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17225 		fi
   17226 
   17227 		CFLAGS="$CFLAGS -Wnonnull"
   17228 
   17229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17230 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17231 		cacheid=xorg_cv_cc_flag__Wnonnull
   17232 		if eval test \${$cacheid+y}
   17233 then :
   17234   printf %s "(cached) " >&6
   17235 else $as_nop
   17236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 int
   17240 main (void)
   17241 {
   17242 
   17243   ;
   17244   return 0;
   17245 }
   17246 _ACEOF
   17247 if ac_fn_c_try_link "$LINENO"
   17248 then :
   17249   eval $cacheid=yes
   17250 else $as_nop
   17251   eval $cacheid=no
   17252 fi
   17253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17254     conftest$ac_exeext conftest.$ac_ext
   17255 fi
   17256 
   17257 
   17258 		CFLAGS="$xorg_testset_save_CFLAGS"
   17259 
   17260 		eval supported=\$$cacheid
   17261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17262 printf "%s\n" "$supported" >&6; }
   17263 		if test "$supported" = "yes" ; then
   17264 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17265 			found="yes"
   17266 		fi
   17267 	fi
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 xorg_testset_save_CFLAGS="$CFLAGS"
   17284 
   17285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17288 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17289 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17290 then :
   17291   printf %s "(cached) " >&6
   17292 else $as_nop
   17293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 _ACEOF
   17297 if ac_fn_c_try_compile "$LINENO"
   17298 then :
   17299   xorg_cv_cc_flag_unknown_warning_option=yes
   17300 else $as_nop
   17301   xorg_cv_cc_flag_unknown_warning_option=no
   17302 fi
   17303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17304 fi
   17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17306 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17308 	CFLAGS="$xorg_testset_save_CFLAGS"
   17309 fi
   17310 
   17311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17314 	fi
   17315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17317 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17318 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17319 then :
   17320   printf %s "(cached) " >&6
   17321 else $as_nop
   17322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17323 /* end confdefs.h.  */
   17324 int i;
   17325 _ACEOF
   17326 if ac_fn_c_try_compile "$LINENO"
   17327 then :
   17328   xorg_cv_cc_flag_unused_command_line_argument=yes
   17329 else $as_nop
   17330   xorg_cv_cc_flag_unused_command_line_argument=no
   17331 fi
   17332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17333 fi
   17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17335 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17337 	CFLAGS="$xorg_testset_save_CFLAGS"
   17338 fi
   17339 
   17340 found="no"
   17341 
   17342 	if test $found = "no" ; then
   17343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17345 		fi
   17346 
   17347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17349 		fi
   17350 
   17351 		CFLAGS="$CFLAGS -Winit-self"
   17352 
   17353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17354 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17355 		cacheid=xorg_cv_cc_flag__Winit_self
   17356 		if eval test \${$cacheid+y}
   17357 then :
   17358   printf %s "(cached) " >&6
   17359 else $as_nop
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 int
   17364 main (void)
   17365 {
   17366 
   17367   ;
   17368   return 0;
   17369 }
   17370 _ACEOF
   17371 if ac_fn_c_try_link "$LINENO"
   17372 then :
   17373   eval $cacheid=yes
   17374 else $as_nop
   17375   eval $cacheid=no
   17376 fi
   17377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17378     conftest$ac_exeext conftest.$ac_ext
   17379 fi
   17380 
   17381 
   17382 		CFLAGS="$xorg_testset_save_CFLAGS"
   17383 
   17384 		eval supported=\$$cacheid
   17385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17386 printf "%s\n" "$supported" >&6; }
   17387 		if test "$supported" = "yes" ; then
   17388 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17389 			found="yes"
   17390 		fi
   17391 	fi
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 xorg_testset_save_CFLAGS="$CFLAGS"
   17408 
   17409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17412 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17413 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17414 then :
   17415   printf %s "(cached) " >&6
   17416 else $as_nop
   17417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17418 /* end confdefs.h.  */
   17419 int i;
   17420 _ACEOF
   17421 if ac_fn_c_try_compile "$LINENO"
   17422 then :
   17423   xorg_cv_cc_flag_unknown_warning_option=yes
   17424 else $as_nop
   17425   xorg_cv_cc_flag_unknown_warning_option=no
   17426 fi
   17427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17428 fi
   17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17430 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17432 	CFLAGS="$xorg_testset_save_CFLAGS"
   17433 fi
   17434 
   17435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17438 	fi
   17439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17441 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17442 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17443 then :
   17444   printf %s "(cached) " >&6
   17445 else $as_nop
   17446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17447 /* end confdefs.h.  */
   17448 int i;
   17449 _ACEOF
   17450 if ac_fn_c_try_compile "$LINENO"
   17451 then :
   17452   xorg_cv_cc_flag_unused_command_line_argument=yes
   17453 else $as_nop
   17454   xorg_cv_cc_flag_unused_command_line_argument=no
   17455 fi
   17456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17457 fi
   17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17459 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17461 	CFLAGS="$xorg_testset_save_CFLAGS"
   17462 fi
   17463 
   17464 found="no"
   17465 
   17466 	if test $found = "no" ; then
   17467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17469 		fi
   17470 
   17471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17473 		fi
   17474 
   17475 		CFLAGS="$CFLAGS -Wmain"
   17476 
   17477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17478 printf %s "checking if $CC supports -Wmain... " >&6; }
   17479 		cacheid=xorg_cv_cc_flag__Wmain
   17480 		if eval test \${$cacheid+y}
   17481 then :
   17482   printf %s "(cached) " >&6
   17483 else $as_nop
   17484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17485 /* end confdefs.h.  */
   17486 int i;
   17487 int
   17488 main (void)
   17489 {
   17490 
   17491   ;
   17492   return 0;
   17493 }
   17494 _ACEOF
   17495 if ac_fn_c_try_link "$LINENO"
   17496 then :
   17497   eval $cacheid=yes
   17498 else $as_nop
   17499   eval $cacheid=no
   17500 fi
   17501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17502     conftest$ac_exeext conftest.$ac_ext
   17503 fi
   17504 
   17505 
   17506 		CFLAGS="$xorg_testset_save_CFLAGS"
   17507 
   17508 		eval supported=\$$cacheid
   17509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17510 printf "%s\n" "$supported" >&6; }
   17511 		if test "$supported" = "yes" ; then
   17512 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17513 			found="yes"
   17514 		fi
   17515 	fi
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 xorg_testset_save_CFLAGS="$CFLAGS"
   17532 
   17533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17538 then :
   17539   printf %s "(cached) " >&6
   17540 else $as_nop
   17541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17542 /* end confdefs.h.  */
   17543 int i;
   17544 _ACEOF
   17545 if ac_fn_c_try_compile "$LINENO"
   17546 then :
   17547   xorg_cv_cc_flag_unknown_warning_option=yes
   17548 else $as_nop
   17549   xorg_cv_cc_flag_unknown_warning_option=no
   17550 fi
   17551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17552 fi
   17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17554 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17556 	CFLAGS="$xorg_testset_save_CFLAGS"
   17557 fi
   17558 
   17559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17562 	fi
   17563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17565 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17566 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17567 then :
   17568   printf %s "(cached) " >&6
   17569 else $as_nop
   17570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17571 /* end confdefs.h.  */
   17572 int i;
   17573 _ACEOF
   17574 if ac_fn_c_try_compile "$LINENO"
   17575 then :
   17576   xorg_cv_cc_flag_unused_command_line_argument=yes
   17577 else $as_nop
   17578   xorg_cv_cc_flag_unused_command_line_argument=no
   17579 fi
   17580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17581 fi
   17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17583 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17585 	CFLAGS="$xorg_testset_save_CFLAGS"
   17586 fi
   17587 
   17588 found="no"
   17589 
   17590 	if test $found = "no" ; then
   17591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17593 		fi
   17594 
   17595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17597 		fi
   17598 
   17599 		CFLAGS="$CFLAGS -Wmissing-braces"
   17600 
   17601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17602 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17603 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17604 		if eval test \${$cacheid+y}
   17605 then :
   17606   printf %s "(cached) " >&6
   17607 else $as_nop
   17608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17609 /* end confdefs.h.  */
   17610 int i;
   17611 int
   17612 main (void)
   17613 {
   17614 
   17615   ;
   17616   return 0;
   17617 }
   17618 _ACEOF
   17619 if ac_fn_c_try_link "$LINENO"
   17620 then :
   17621   eval $cacheid=yes
   17622 else $as_nop
   17623   eval $cacheid=no
   17624 fi
   17625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17626     conftest$ac_exeext conftest.$ac_ext
   17627 fi
   17628 
   17629 
   17630 		CFLAGS="$xorg_testset_save_CFLAGS"
   17631 
   17632 		eval supported=\$$cacheid
   17633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17634 printf "%s\n" "$supported" >&6; }
   17635 		if test "$supported" = "yes" ; then
   17636 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17637 			found="yes"
   17638 		fi
   17639 	fi
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 xorg_testset_save_CFLAGS="$CFLAGS"
   17656 
   17657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17660 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17661 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17662 then :
   17663   printf %s "(cached) " >&6
   17664 else $as_nop
   17665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17666 /* end confdefs.h.  */
   17667 int i;
   17668 _ACEOF
   17669 if ac_fn_c_try_compile "$LINENO"
   17670 then :
   17671   xorg_cv_cc_flag_unknown_warning_option=yes
   17672 else $as_nop
   17673   xorg_cv_cc_flag_unknown_warning_option=no
   17674 fi
   17675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17676 fi
   17677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17680 	CFLAGS="$xorg_testset_save_CFLAGS"
   17681 fi
   17682 
   17683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17686 	fi
   17687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17691 then :
   17692   printf %s "(cached) " >&6
   17693 else $as_nop
   17694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17695 /* end confdefs.h.  */
   17696 int i;
   17697 _ACEOF
   17698 if ac_fn_c_try_compile "$LINENO"
   17699 then :
   17700   xorg_cv_cc_flag_unused_command_line_argument=yes
   17701 else $as_nop
   17702   xorg_cv_cc_flag_unused_command_line_argument=no
   17703 fi
   17704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17705 fi
   17706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17707 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17709 	CFLAGS="$xorg_testset_save_CFLAGS"
   17710 fi
   17711 
   17712 found="no"
   17713 
   17714 	if test $found = "no" ; then
   17715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17717 		fi
   17718 
   17719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17721 		fi
   17722 
   17723 		CFLAGS="$CFLAGS -Wsequence-point"
   17724 
   17725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17726 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17727 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17728 		if eval test \${$cacheid+y}
   17729 then :
   17730   printf %s "(cached) " >&6
   17731 else $as_nop
   17732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17733 /* end confdefs.h.  */
   17734 int i;
   17735 int
   17736 main (void)
   17737 {
   17738 
   17739   ;
   17740   return 0;
   17741 }
   17742 _ACEOF
   17743 if ac_fn_c_try_link "$LINENO"
   17744 then :
   17745   eval $cacheid=yes
   17746 else $as_nop
   17747   eval $cacheid=no
   17748 fi
   17749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17750     conftest$ac_exeext conftest.$ac_ext
   17751 fi
   17752 
   17753 
   17754 		CFLAGS="$xorg_testset_save_CFLAGS"
   17755 
   17756 		eval supported=\$$cacheid
   17757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17758 printf "%s\n" "$supported" >&6; }
   17759 		if test "$supported" = "yes" ; then
   17760 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17761 			found="yes"
   17762 		fi
   17763 	fi
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 xorg_testset_save_CFLAGS="$CFLAGS"
   17780 
   17781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17784 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17785 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17786 then :
   17787   printf %s "(cached) " >&6
   17788 else $as_nop
   17789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17790 /* end confdefs.h.  */
   17791 int i;
   17792 _ACEOF
   17793 if ac_fn_c_try_compile "$LINENO"
   17794 then :
   17795   xorg_cv_cc_flag_unknown_warning_option=yes
   17796 else $as_nop
   17797   xorg_cv_cc_flag_unknown_warning_option=no
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17800 fi
   17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17802 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17804 	CFLAGS="$xorg_testset_save_CFLAGS"
   17805 fi
   17806 
   17807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17810 	fi
   17811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17813 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17814 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17815 then :
   17816   printf %s "(cached) " >&6
   17817 else $as_nop
   17818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17819 /* end confdefs.h.  */
   17820 int i;
   17821 _ACEOF
   17822 if ac_fn_c_try_compile "$LINENO"
   17823 then :
   17824   xorg_cv_cc_flag_unused_command_line_argument=yes
   17825 else $as_nop
   17826   xorg_cv_cc_flag_unused_command_line_argument=no
   17827 fi
   17828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17829 fi
   17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17831 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17833 	CFLAGS="$xorg_testset_save_CFLAGS"
   17834 fi
   17835 
   17836 found="no"
   17837 
   17838 	if test $found = "no" ; then
   17839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17841 		fi
   17842 
   17843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17845 		fi
   17846 
   17847 		CFLAGS="$CFLAGS -Wreturn-type"
   17848 
   17849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17850 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17851 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17852 		if eval test \${$cacheid+y}
   17853 then :
   17854   printf %s "(cached) " >&6
   17855 else $as_nop
   17856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17857 /* end confdefs.h.  */
   17858 int i;
   17859 int
   17860 main (void)
   17861 {
   17862 
   17863   ;
   17864   return 0;
   17865 }
   17866 _ACEOF
   17867 if ac_fn_c_try_link "$LINENO"
   17868 then :
   17869   eval $cacheid=yes
   17870 else $as_nop
   17871   eval $cacheid=no
   17872 fi
   17873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17874     conftest$ac_exeext conftest.$ac_ext
   17875 fi
   17876 
   17877 
   17878 		CFLAGS="$xorg_testset_save_CFLAGS"
   17879 
   17880 		eval supported=\$$cacheid
   17881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17882 printf "%s\n" "$supported" >&6; }
   17883 		if test "$supported" = "yes" ; then
   17884 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17885 			found="yes"
   17886 		fi
   17887 	fi
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 xorg_testset_save_CFLAGS="$CFLAGS"
   17904 
   17905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17908 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17909 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17910 then :
   17911   printf %s "(cached) " >&6
   17912 else $as_nop
   17913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17914 /* end confdefs.h.  */
   17915 int i;
   17916 _ACEOF
   17917 if ac_fn_c_try_compile "$LINENO"
   17918 then :
   17919   xorg_cv_cc_flag_unknown_warning_option=yes
   17920 else $as_nop
   17921   xorg_cv_cc_flag_unknown_warning_option=no
   17922 fi
   17923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17924 fi
   17925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17926 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17928 	CFLAGS="$xorg_testset_save_CFLAGS"
   17929 fi
   17930 
   17931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17934 	fi
   17935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17937 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17938 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17939 then :
   17940   printf %s "(cached) " >&6
   17941 else $as_nop
   17942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17943 /* end confdefs.h.  */
   17944 int i;
   17945 _ACEOF
   17946 if ac_fn_c_try_compile "$LINENO"
   17947 then :
   17948   xorg_cv_cc_flag_unused_command_line_argument=yes
   17949 else $as_nop
   17950   xorg_cv_cc_flag_unused_command_line_argument=no
   17951 fi
   17952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17953 fi
   17954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17955 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17957 	CFLAGS="$xorg_testset_save_CFLAGS"
   17958 fi
   17959 
   17960 found="no"
   17961 
   17962 	if test $found = "no" ; then
   17963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17965 		fi
   17966 
   17967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17969 		fi
   17970 
   17971 		CFLAGS="$CFLAGS -Wtrigraphs"
   17972 
   17973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17974 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17975 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17976 		if eval test \${$cacheid+y}
   17977 then :
   17978   printf %s "(cached) " >&6
   17979 else $as_nop
   17980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17981 /* end confdefs.h.  */
   17982 int i;
   17983 int
   17984 main (void)
   17985 {
   17986 
   17987   ;
   17988   return 0;
   17989 }
   17990 _ACEOF
   17991 if ac_fn_c_try_link "$LINENO"
   17992 then :
   17993   eval $cacheid=yes
   17994 else $as_nop
   17995   eval $cacheid=no
   17996 fi
   17997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17998     conftest$ac_exeext conftest.$ac_ext
   17999 fi
   18000 
   18001 
   18002 		CFLAGS="$xorg_testset_save_CFLAGS"
   18003 
   18004 		eval supported=\$$cacheid
   18005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18006 printf "%s\n" "$supported" >&6; }
   18007 		if test "$supported" = "yes" ; then
   18008 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18009 			found="yes"
   18010 		fi
   18011 	fi
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 xorg_testset_save_CFLAGS="$CFLAGS"
   18028 
   18029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18032 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18033 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18034 then :
   18035   printf %s "(cached) " >&6
   18036 else $as_nop
   18037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18038 /* end confdefs.h.  */
   18039 int i;
   18040 _ACEOF
   18041 if ac_fn_c_try_compile "$LINENO"
   18042 then :
   18043   xorg_cv_cc_flag_unknown_warning_option=yes
   18044 else $as_nop
   18045   xorg_cv_cc_flag_unknown_warning_option=no
   18046 fi
   18047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18048 fi
   18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18052 	CFLAGS="$xorg_testset_save_CFLAGS"
   18053 fi
   18054 
   18055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18058 	fi
   18059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18063 then :
   18064   printf %s "(cached) " >&6
   18065 else $as_nop
   18066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18067 /* end confdefs.h.  */
   18068 int i;
   18069 _ACEOF
   18070 if ac_fn_c_try_compile "$LINENO"
   18071 then :
   18072   xorg_cv_cc_flag_unused_command_line_argument=yes
   18073 else $as_nop
   18074   xorg_cv_cc_flag_unused_command_line_argument=no
   18075 fi
   18076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18077 fi
   18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18079 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18081 	CFLAGS="$xorg_testset_save_CFLAGS"
   18082 fi
   18083 
   18084 found="no"
   18085 
   18086 	if test $found = "no" ; then
   18087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18089 		fi
   18090 
   18091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18093 		fi
   18094 
   18095 		CFLAGS="$CFLAGS -Warray-bounds"
   18096 
   18097 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18098 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18099 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18100 		if eval test \${$cacheid+y}
   18101 then :
   18102   printf %s "(cached) " >&6
   18103 else $as_nop
   18104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18105 /* end confdefs.h.  */
   18106 int i;
   18107 int
   18108 main (void)
   18109 {
   18110 
   18111   ;
   18112   return 0;
   18113 }
   18114 _ACEOF
   18115 if ac_fn_c_try_link "$LINENO"
   18116 then :
   18117   eval $cacheid=yes
   18118 else $as_nop
   18119   eval $cacheid=no
   18120 fi
   18121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18122     conftest$ac_exeext conftest.$ac_ext
   18123 fi
   18124 
   18125 
   18126 		CFLAGS="$xorg_testset_save_CFLAGS"
   18127 
   18128 		eval supported=\$$cacheid
   18129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18130 printf "%s\n" "$supported" >&6; }
   18131 		if test "$supported" = "yes" ; then
   18132 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18133 			found="yes"
   18134 		fi
   18135 	fi
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 
   18151 xorg_testset_save_CFLAGS="$CFLAGS"
   18152 
   18153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18155 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18156 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18157 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18158 then :
   18159   printf %s "(cached) " >&6
   18160 else $as_nop
   18161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18162 /* end confdefs.h.  */
   18163 int i;
   18164 _ACEOF
   18165 if ac_fn_c_try_compile "$LINENO"
   18166 then :
   18167   xorg_cv_cc_flag_unknown_warning_option=yes
   18168 else $as_nop
   18169   xorg_cv_cc_flag_unknown_warning_option=no
   18170 fi
   18171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18172 fi
   18173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18174 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18176 	CFLAGS="$xorg_testset_save_CFLAGS"
   18177 fi
   18178 
   18179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18182 	fi
   18183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18185 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18186 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18187 then :
   18188   printf %s "(cached) " >&6
   18189 else $as_nop
   18190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18191 /* end confdefs.h.  */
   18192 int i;
   18193 _ACEOF
   18194 if ac_fn_c_try_compile "$LINENO"
   18195 then :
   18196   xorg_cv_cc_flag_unused_command_line_argument=yes
   18197 else $as_nop
   18198   xorg_cv_cc_flag_unused_command_line_argument=no
   18199 fi
   18200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18201 fi
   18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18203 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18205 	CFLAGS="$xorg_testset_save_CFLAGS"
   18206 fi
   18207 
   18208 found="no"
   18209 
   18210 	if test $found = "no" ; then
   18211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18213 		fi
   18214 
   18215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18217 		fi
   18218 
   18219 		CFLAGS="$CFLAGS -Wwrite-strings"
   18220 
   18221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18222 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18223 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18224 		if eval test \${$cacheid+y}
   18225 then :
   18226   printf %s "(cached) " >&6
   18227 else $as_nop
   18228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18229 /* end confdefs.h.  */
   18230 int i;
   18231 int
   18232 main (void)
   18233 {
   18234 
   18235   ;
   18236   return 0;
   18237 }
   18238 _ACEOF
   18239 if ac_fn_c_try_link "$LINENO"
   18240 then :
   18241   eval $cacheid=yes
   18242 else $as_nop
   18243   eval $cacheid=no
   18244 fi
   18245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18246     conftest$ac_exeext conftest.$ac_ext
   18247 fi
   18248 
   18249 
   18250 		CFLAGS="$xorg_testset_save_CFLAGS"
   18251 
   18252 		eval supported=\$$cacheid
   18253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18254 printf "%s\n" "$supported" >&6; }
   18255 		if test "$supported" = "yes" ; then
   18256 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18257 			found="yes"
   18258 		fi
   18259 	fi
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 
   18274 
   18275 xorg_testset_save_CFLAGS="$CFLAGS"
   18276 
   18277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18279 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18280 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18281 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18282 then :
   18283   printf %s "(cached) " >&6
   18284 else $as_nop
   18285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18286 /* end confdefs.h.  */
   18287 int i;
   18288 _ACEOF
   18289 if ac_fn_c_try_compile "$LINENO"
   18290 then :
   18291   xorg_cv_cc_flag_unknown_warning_option=yes
   18292 else $as_nop
   18293   xorg_cv_cc_flag_unknown_warning_option=no
   18294 fi
   18295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18296 fi
   18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18298 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18300 	CFLAGS="$xorg_testset_save_CFLAGS"
   18301 fi
   18302 
   18303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18306 	fi
   18307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18309 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18310 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18311 then :
   18312   printf %s "(cached) " >&6
   18313 else $as_nop
   18314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18315 /* end confdefs.h.  */
   18316 int i;
   18317 _ACEOF
   18318 if ac_fn_c_try_compile "$LINENO"
   18319 then :
   18320   xorg_cv_cc_flag_unused_command_line_argument=yes
   18321 else $as_nop
   18322   xorg_cv_cc_flag_unused_command_line_argument=no
   18323 fi
   18324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18325 fi
   18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18327 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18329 	CFLAGS="$xorg_testset_save_CFLAGS"
   18330 fi
   18331 
   18332 found="no"
   18333 
   18334 	if test $found = "no" ; then
   18335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18337 		fi
   18338 
   18339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18341 		fi
   18342 
   18343 		CFLAGS="$CFLAGS -Waddress"
   18344 
   18345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18346 printf %s "checking if $CC supports -Waddress... " >&6; }
   18347 		cacheid=xorg_cv_cc_flag__Waddress
   18348 		if eval test \${$cacheid+y}
   18349 then :
   18350   printf %s "(cached) " >&6
   18351 else $as_nop
   18352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18353 /* end confdefs.h.  */
   18354 int i;
   18355 int
   18356 main (void)
   18357 {
   18358 
   18359   ;
   18360   return 0;
   18361 }
   18362 _ACEOF
   18363 if ac_fn_c_try_link "$LINENO"
   18364 then :
   18365   eval $cacheid=yes
   18366 else $as_nop
   18367   eval $cacheid=no
   18368 fi
   18369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18370     conftest$ac_exeext conftest.$ac_ext
   18371 fi
   18372 
   18373 
   18374 		CFLAGS="$xorg_testset_save_CFLAGS"
   18375 
   18376 		eval supported=\$$cacheid
   18377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18378 printf "%s\n" "$supported" >&6; }
   18379 		if test "$supported" = "yes" ; then
   18380 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18381 			found="yes"
   18382 		fi
   18383 	fi
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 xorg_testset_save_CFLAGS="$CFLAGS"
   18400 
   18401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18403 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18404 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18405 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18406 then :
   18407   printf %s "(cached) " >&6
   18408 else $as_nop
   18409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18410 /* end confdefs.h.  */
   18411 int i;
   18412 _ACEOF
   18413 if ac_fn_c_try_compile "$LINENO"
   18414 then :
   18415   xorg_cv_cc_flag_unknown_warning_option=yes
   18416 else $as_nop
   18417   xorg_cv_cc_flag_unknown_warning_option=no
   18418 fi
   18419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18420 fi
   18421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18422 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18424 	CFLAGS="$xorg_testset_save_CFLAGS"
   18425 fi
   18426 
   18427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18430 	fi
   18431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18433 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18434 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18435 then :
   18436   printf %s "(cached) " >&6
   18437 else $as_nop
   18438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18439 /* end confdefs.h.  */
   18440 int i;
   18441 _ACEOF
   18442 if ac_fn_c_try_compile "$LINENO"
   18443 then :
   18444   xorg_cv_cc_flag_unused_command_line_argument=yes
   18445 else $as_nop
   18446   xorg_cv_cc_flag_unused_command_line_argument=no
   18447 fi
   18448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18449 fi
   18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18451 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18453 	CFLAGS="$xorg_testset_save_CFLAGS"
   18454 fi
   18455 
   18456 found="no"
   18457 
   18458 	if test $found = "no" ; then
   18459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18461 		fi
   18462 
   18463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18465 		fi
   18466 
   18467 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18468 
   18469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18470 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18471 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18472 		if eval test \${$cacheid+y}
   18473 then :
   18474   printf %s "(cached) " >&6
   18475 else $as_nop
   18476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18477 /* end confdefs.h.  */
   18478 int i;
   18479 int
   18480 main (void)
   18481 {
   18482 
   18483   ;
   18484   return 0;
   18485 }
   18486 _ACEOF
   18487 if ac_fn_c_try_link "$LINENO"
   18488 then :
   18489   eval $cacheid=yes
   18490 else $as_nop
   18491   eval $cacheid=no
   18492 fi
   18493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18494     conftest$ac_exeext conftest.$ac_ext
   18495 fi
   18496 
   18497 
   18498 		CFLAGS="$xorg_testset_save_CFLAGS"
   18499 
   18500 		eval supported=\$$cacheid
   18501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18502 printf "%s\n" "$supported" >&6; }
   18503 		if test "$supported" = "yes" ; then
   18504 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18505 			found="yes"
   18506 		fi
   18507 	fi
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 xorg_testset_save_CFLAGS="$CFLAGS"
   18524 
   18525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18530 then :
   18531   printf %s "(cached) " >&6
   18532 else $as_nop
   18533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18534 /* end confdefs.h.  */
   18535 int i;
   18536 _ACEOF
   18537 if ac_fn_c_try_compile "$LINENO"
   18538 then :
   18539   xorg_cv_cc_flag_unknown_warning_option=yes
   18540 else $as_nop
   18541   xorg_cv_cc_flag_unknown_warning_option=no
   18542 fi
   18543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18544 fi
   18545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18546 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18548 	CFLAGS="$xorg_testset_save_CFLAGS"
   18549 fi
   18550 
   18551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18554 	fi
   18555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18557 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18558 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18559 then :
   18560   printf %s "(cached) " >&6
   18561 else $as_nop
   18562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18563 /* end confdefs.h.  */
   18564 int i;
   18565 _ACEOF
   18566 if ac_fn_c_try_compile "$LINENO"
   18567 then :
   18568   xorg_cv_cc_flag_unused_command_line_argument=yes
   18569 else $as_nop
   18570   xorg_cv_cc_flag_unused_command_line_argument=no
   18571 fi
   18572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18573 fi
   18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18577 	CFLAGS="$xorg_testset_save_CFLAGS"
   18578 fi
   18579 
   18580 found="no"
   18581 
   18582 	if test $found = "no" ; then
   18583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18585 		fi
   18586 
   18587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18589 		fi
   18590 
   18591 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18592 
   18593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18594 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18595 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18596 		if eval test \${$cacheid+y}
   18597 then :
   18598   printf %s "(cached) " >&6
   18599 else $as_nop
   18600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18601 /* end confdefs.h.  */
   18602 int i;
   18603 int
   18604 main (void)
   18605 {
   18606 
   18607   ;
   18608   return 0;
   18609 }
   18610 _ACEOF
   18611 if ac_fn_c_try_link "$LINENO"
   18612 then :
   18613   eval $cacheid=yes
   18614 else $as_nop
   18615   eval $cacheid=no
   18616 fi
   18617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18618     conftest$ac_exeext conftest.$ac_ext
   18619 fi
   18620 
   18621 
   18622 		CFLAGS="$xorg_testset_save_CFLAGS"
   18623 
   18624 		eval supported=\$$cacheid
   18625 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18626 printf "%s\n" "$supported" >&6; }
   18627 		if test "$supported" = "yes" ; then
   18628 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18629 			found="yes"
   18630 		fi
   18631 	fi
   18632 
   18633 
   18634 fi
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 		CWARNFLAGS="$BASE_CFLAGS"
   18643 		if  test "x$GCC" = xyes ; then
   18644 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18645 		fi
   18646 
   18647 
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 
   18654 # Check whether --enable-strict-compilation was given.
   18655 if test ${enable_strict_compilation+y}
   18656 then :
   18657   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18658 else $as_nop
   18659   STRICT_COMPILE=no
   18660 fi
   18661 
   18662 
   18663 
   18664 
   18665 
   18666 
   18667 STRICT_CFLAGS=""
   18668 
   18669 
   18670 
   18671 
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 xorg_testset_save_CFLAGS="$CFLAGS"
   18682 
   18683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18686 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18687 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18688 then :
   18689   printf %s "(cached) " >&6
   18690 else $as_nop
   18691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18692 /* end confdefs.h.  */
   18693 int i;
   18694 _ACEOF
   18695 if ac_fn_c_try_compile "$LINENO"
   18696 then :
   18697   xorg_cv_cc_flag_unknown_warning_option=yes
   18698 else $as_nop
   18699   xorg_cv_cc_flag_unknown_warning_option=no
   18700 fi
   18701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18702 fi
   18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18704 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18706 	CFLAGS="$xorg_testset_save_CFLAGS"
   18707 fi
   18708 
   18709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18712 	fi
   18713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18717 then :
   18718   printf %s "(cached) " >&6
   18719 else $as_nop
   18720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18721 /* end confdefs.h.  */
   18722 int i;
   18723 _ACEOF
   18724 if ac_fn_c_try_compile "$LINENO"
   18725 then :
   18726   xorg_cv_cc_flag_unused_command_line_argument=yes
   18727 else $as_nop
   18728   xorg_cv_cc_flag_unused_command_line_argument=no
   18729 fi
   18730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18731 fi
   18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18733 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18735 	CFLAGS="$xorg_testset_save_CFLAGS"
   18736 fi
   18737 
   18738 found="no"
   18739 
   18740 	if test $found = "no" ; then
   18741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18743 		fi
   18744 
   18745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18747 		fi
   18748 
   18749 		CFLAGS="$CFLAGS -pedantic"
   18750 
   18751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18752 printf %s "checking if $CC supports -pedantic... " >&6; }
   18753 		cacheid=xorg_cv_cc_flag__pedantic
   18754 		if eval test \${$cacheid+y}
   18755 then :
   18756   printf %s "(cached) " >&6
   18757 else $as_nop
   18758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18759 /* end confdefs.h.  */
   18760 int i;
   18761 int
   18762 main (void)
   18763 {
   18764 
   18765   ;
   18766   return 0;
   18767 }
   18768 _ACEOF
   18769 if ac_fn_c_try_link "$LINENO"
   18770 then :
   18771   eval $cacheid=yes
   18772 else $as_nop
   18773   eval $cacheid=no
   18774 fi
   18775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18776     conftest$ac_exeext conftest.$ac_ext
   18777 fi
   18778 
   18779 
   18780 		CFLAGS="$xorg_testset_save_CFLAGS"
   18781 
   18782 		eval supported=\$$cacheid
   18783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18784 printf "%s\n" "$supported" >&6; }
   18785 		if test "$supported" = "yes" ; then
   18786 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18787 			found="yes"
   18788 		fi
   18789 	fi
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 
   18804 
   18805 xorg_testset_save_CFLAGS="$CFLAGS"
   18806 
   18807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18812 then :
   18813   printf %s "(cached) " >&6
   18814 else $as_nop
   18815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18816 /* end confdefs.h.  */
   18817 int i;
   18818 _ACEOF
   18819 if ac_fn_c_try_compile "$LINENO"
   18820 then :
   18821   xorg_cv_cc_flag_unknown_warning_option=yes
   18822 else $as_nop
   18823   xorg_cv_cc_flag_unknown_warning_option=no
   18824 fi
   18825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18826 fi
   18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18828 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18830 	CFLAGS="$xorg_testset_save_CFLAGS"
   18831 fi
   18832 
   18833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18836 	fi
   18837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18839 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18840 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18841 then :
   18842   printf %s "(cached) " >&6
   18843 else $as_nop
   18844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18845 /* end confdefs.h.  */
   18846 int i;
   18847 _ACEOF
   18848 if ac_fn_c_try_compile "$LINENO"
   18849 then :
   18850   xorg_cv_cc_flag_unused_command_line_argument=yes
   18851 else $as_nop
   18852   xorg_cv_cc_flag_unused_command_line_argument=no
   18853 fi
   18854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18855 fi
   18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18857 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18859 	CFLAGS="$xorg_testset_save_CFLAGS"
   18860 fi
   18861 
   18862 found="no"
   18863 
   18864 	if test $found = "no" ; then
   18865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18867 		fi
   18868 
   18869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18871 		fi
   18872 
   18873 		CFLAGS="$CFLAGS -Werror"
   18874 
   18875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18876 printf %s "checking if $CC supports -Werror... " >&6; }
   18877 		cacheid=xorg_cv_cc_flag__Werror
   18878 		if eval test \${$cacheid+y}
   18879 then :
   18880   printf %s "(cached) " >&6
   18881 else $as_nop
   18882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18883 /* end confdefs.h.  */
   18884 int i;
   18885 int
   18886 main (void)
   18887 {
   18888 
   18889   ;
   18890   return 0;
   18891 }
   18892 _ACEOF
   18893 if ac_fn_c_try_link "$LINENO"
   18894 then :
   18895   eval $cacheid=yes
   18896 else $as_nop
   18897   eval $cacheid=no
   18898 fi
   18899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18900     conftest$ac_exeext conftest.$ac_ext
   18901 fi
   18902 
   18903 
   18904 		CFLAGS="$xorg_testset_save_CFLAGS"
   18905 
   18906 		eval supported=\$$cacheid
   18907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18908 printf "%s\n" "$supported" >&6; }
   18909 		if test "$supported" = "yes" ; then
   18910 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18911 			found="yes"
   18912 		fi
   18913 	fi
   18914 
   18915 	if test $found = "no" ; then
   18916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18918 		fi
   18919 
   18920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18922 		fi
   18923 
   18924 		CFLAGS="$CFLAGS -errwarn"
   18925 
   18926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18927 printf %s "checking if $CC supports -errwarn... " >&6; }
   18928 		cacheid=xorg_cv_cc_flag__errwarn
   18929 		if eval test \${$cacheid+y}
   18930 then :
   18931   printf %s "(cached) " >&6
   18932 else $as_nop
   18933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18934 /* end confdefs.h.  */
   18935 int i;
   18936 int
   18937 main (void)
   18938 {
   18939 
   18940   ;
   18941   return 0;
   18942 }
   18943 _ACEOF
   18944 if ac_fn_c_try_link "$LINENO"
   18945 then :
   18946   eval $cacheid=yes
   18947 else $as_nop
   18948   eval $cacheid=no
   18949 fi
   18950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18951     conftest$ac_exeext conftest.$ac_ext
   18952 fi
   18953 
   18954 
   18955 		CFLAGS="$xorg_testset_save_CFLAGS"
   18956 
   18957 		eval supported=\$$cacheid
   18958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18959 printf "%s\n" "$supported" >&6; }
   18960 		if test "$supported" = "yes" ; then
   18961 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18962 			found="yes"
   18963 		fi
   18964 	fi
   18965 
   18966 
   18967 
   18968 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18969 # activate it with -Werror, so we add it here explicitly.
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 
   18980 
   18981 
   18982 
   18983 xorg_testset_save_CFLAGS="$CFLAGS"
   18984 
   18985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18988 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18989 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18990 then :
   18991   printf %s "(cached) " >&6
   18992 else $as_nop
   18993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18994 /* end confdefs.h.  */
   18995 int i;
   18996 _ACEOF
   18997 if ac_fn_c_try_compile "$LINENO"
   18998 then :
   18999   xorg_cv_cc_flag_unknown_warning_option=yes
   19000 else $as_nop
   19001   xorg_cv_cc_flag_unknown_warning_option=no
   19002 fi
   19003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19004 fi
   19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19006 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19008 	CFLAGS="$xorg_testset_save_CFLAGS"
   19009 fi
   19010 
   19011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19014 	fi
   19015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19016 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19017 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19018 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19019 then :
   19020   printf %s "(cached) " >&6
   19021 else $as_nop
   19022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19023 /* end confdefs.h.  */
   19024 int i;
   19025 _ACEOF
   19026 if ac_fn_c_try_compile "$LINENO"
   19027 then :
   19028   xorg_cv_cc_flag_unused_command_line_argument=yes
   19029 else $as_nop
   19030   xorg_cv_cc_flag_unused_command_line_argument=no
   19031 fi
   19032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19033 fi
   19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19035 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19037 	CFLAGS="$xorg_testset_save_CFLAGS"
   19038 fi
   19039 
   19040 found="no"
   19041 
   19042 	if test $found = "no" ; then
   19043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19045 		fi
   19046 
   19047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19049 		fi
   19050 
   19051 		CFLAGS="$CFLAGS -Werror=attributes"
   19052 
   19053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19054 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19055 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19056 		if eval test \${$cacheid+y}
   19057 then :
   19058   printf %s "(cached) " >&6
   19059 else $as_nop
   19060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19061 /* end confdefs.h.  */
   19062 int i;
   19063 int
   19064 main (void)
   19065 {
   19066 
   19067   ;
   19068   return 0;
   19069 }
   19070 _ACEOF
   19071 if ac_fn_c_try_link "$LINENO"
   19072 then :
   19073   eval $cacheid=yes
   19074 else $as_nop
   19075   eval $cacheid=no
   19076 fi
   19077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19078     conftest$ac_exeext conftest.$ac_ext
   19079 fi
   19080 
   19081 
   19082 		CFLAGS="$xorg_testset_save_CFLAGS"
   19083 
   19084 		eval supported=\$$cacheid
   19085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19086 printf "%s\n" "$supported" >&6; }
   19087 		if test "$supported" = "yes" ; then
   19088 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19089 			found="yes"
   19090 		fi
   19091 	fi
   19092 
   19093 
   19094 
   19095 if test "x$STRICT_COMPILE" = "xyes"; then
   19096     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19097     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19098 fi
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 
   19105 cat >>confdefs.h <<_ACEOF
   19106 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19107 _ACEOF
   19108 
   19109 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19110 	if test "x$PVM" = "x"; then
   19111 		PVM="0"
   19112 	fi
   19113 
   19114 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19115 
   19116 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19117 	if test "x$PVP" = "x"; then
   19118 		PVP="0"
   19119 	fi
   19120 
   19121 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19122 
   19123 
   19124 
   19125 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19126 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19127 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19128 touch \$(top_srcdir)/ChangeLog; \
   19129 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19130 
   19131 
   19132 
   19133 
   19134 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19135 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19136 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19137 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19138 touch \$(top_srcdir)/INSTALL; \
   19139 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 case $host_os in
   19147     solaris*)
   19148         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19149         # check for a man page file found in later versions that use
   19150         # traditional section numbers instead
   19151         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19152 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19153 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19154 then :
   19155   printf %s "(cached) " >&6
   19156 else $as_nop
   19157   test "$cross_compiling" = yes &&
   19158   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19159 if test -r "/usr/share/man/man7/attributes.7"; then
   19160   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19161 else
   19162   ac_cv_file__usr_share_man_man7_attributes_7=no
   19163 fi
   19164 fi
   19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19166 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19167 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19168 then :
   19169   SYSV_MAN_SECTIONS=false
   19170 else $as_nop
   19171   SYSV_MAN_SECTIONS=true
   19172 fi
   19173 
   19174         ;;
   19175     *) SYSV_MAN_SECTIONS=false ;;
   19176 esac
   19177 
   19178 if test x$APP_MAN_SUFFIX = x    ; then
   19179     APP_MAN_SUFFIX=1
   19180 fi
   19181 if test x$APP_MAN_DIR = x    ; then
   19182     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19183 fi
   19184 
   19185 if test x$LIB_MAN_SUFFIX = x    ; then
   19186     LIB_MAN_SUFFIX=3
   19187 fi
   19188 if test x$LIB_MAN_DIR = x    ; then
   19189     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19190 fi
   19191 
   19192 if test x$FILE_MAN_SUFFIX = x    ; then
   19193     case $SYSV_MAN_SECTIONS in
   19194 	true)				FILE_MAN_SUFFIX=4  ;;
   19195 	*)				FILE_MAN_SUFFIX=5  ;;
   19196     esac
   19197 fi
   19198 if test x$FILE_MAN_DIR = x    ; then
   19199     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19200 fi
   19201 
   19202 if test x$MISC_MAN_SUFFIX = x    ; then
   19203     case $SYSV_MAN_SECTIONS in
   19204 	true)				MISC_MAN_SUFFIX=5  ;;
   19205 	*)				MISC_MAN_SUFFIX=7  ;;
   19206     esac
   19207 fi
   19208 if test x$MISC_MAN_DIR = x    ; then
   19209     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19210 fi
   19211 
   19212 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19213     case $SYSV_MAN_SECTIONS in
   19214 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19215 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19216     esac
   19217 fi
   19218 if test x$DRIVER_MAN_DIR = x    ; then
   19219     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19220 fi
   19221 
   19222 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19223     case $SYSV_MAN_SECTIONS in
   19224 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19225 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19226     esac
   19227 fi
   19228 if test x$ADMIN_MAN_DIR = x    ; then
   19229     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19230 fi
   19231 
   19232 
   19233 
   19234 
   19235 
   19236 
   19237 
   19238 
   19239 
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 XORG_MAN_PAGE="X Version 11"
   19247 
   19248 MAN_SUBSTS="\
   19249 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19250 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19251 	-e 's|__xservername__|Xorg|g' \
   19252 	-e 's|__xconfigfile__|xorg.conf|g' \
   19253 	-e 's|__projectroot__|\$(prefix)|g' \
   19254 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19255 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19256 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19257 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19258 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19259 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19260 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19261 
   19262 
   19263 
   19264 # Check whether --enable-silent-rules was given.
   19265 if test ${enable_silent_rules+y}
   19266 then :
   19267   enableval=$enable_silent_rules;
   19268 fi
   19269 
   19270 case $enable_silent_rules in # (((
   19271   yes) AM_DEFAULT_VERBOSITY=0;;
   19272    no) AM_DEFAULT_VERBOSITY=1;;
   19273     *) AM_DEFAULT_VERBOSITY=0;;
   19274 esac
   19275 am_make=${MAKE-make}
   19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19277 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19278 if test ${am_cv_make_support_nested_variables+y}
   19279 then :
   19280   printf %s "(cached) " >&6
   19281 else $as_nop
   19282   if printf "%s\n" 'TRUE=$(BAR$(V))
   19283 BAR0=false
   19284 BAR1=true
   19285 V=1
   19286 am__doit:
   19287 	@$(TRUE)
   19288 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19289   am_cv_make_support_nested_variables=yes
   19290 else
   19291   am_cv_make_support_nested_variables=no
   19292 fi
   19293 fi
   19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19295 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19296 if test $am_cv_make_support_nested_variables = yes; then
   19297     AM_V='$(V)'
   19298   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19299 else
   19300   AM_V=$AM_DEFAULT_VERBOSITY
   19301   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19302 fi
   19303 AM_BACKSLASH='\'
   19304 
   19305 
   19306 
   19307 
   19308 # Check whether --enable-specs was given.
   19309 if test ${enable_specs+y}
   19310 then :
   19311   enableval=$enable_specs; build_specs=$enableval
   19312 else $as_nop
   19313   build_specs=yes
   19314 fi
   19315 
   19316 
   19317  if test x$build_specs = xyes; then
   19318   ENABLE_SPECS_TRUE=
   19319   ENABLE_SPECS_FALSE='#'
   19320 else
   19321   ENABLE_SPECS_TRUE='#'
   19322   ENABLE_SPECS_FALSE=
   19323 fi
   19324 
   19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19326 printf %s "checking whether to build functional specifications... " >&6; }
   19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19328 printf "%s\n" "$build_specs" >&6; }
   19329 
   19330 
   19331 
   19332 
   19333 
   19334 # Check whether --with-xmlto was given.
   19335 if test ${with_xmlto+y}
   19336 then :
   19337   withval=$with_xmlto; use_xmlto=$withval
   19338 else $as_nop
   19339   use_xmlto=auto
   19340 fi
   19341 
   19342 
   19343 
   19344 if test "x$use_xmlto" = x"auto"; then
   19345    # Extract the first word of "xmlto", so it can be a program name with args.
   19346 set dummy xmlto; ac_word=$2
   19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19348 printf %s "checking for $ac_word... " >&6; }
   19349 if test ${ac_cv_path_XMLTO+y}
   19350 then :
   19351   printf %s "(cached) " >&6
   19352 else $as_nop
   19353   case $XMLTO in
   19354   [\\/]* | ?:[\\/]*)
   19355   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19356   ;;
   19357   *)
   19358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19359 for as_dir in $PATH
   19360 do
   19361   IFS=$as_save_IFS
   19362   case $as_dir in #(((
   19363     '') as_dir=./ ;;
   19364     */) ;;
   19365     *) as_dir=$as_dir/ ;;
   19366   esac
   19367     for ac_exec_ext in '' $ac_executable_extensions; do
   19368   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19369     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19370     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19371     break 2
   19372   fi
   19373 done
   19374   done
   19375 IFS=$as_save_IFS
   19376 
   19377   ;;
   19378 esac
   19379 fi
   19380 XMLTO=$ac_cv_path_XMLTO
   19381 if test -n "$XMLTO"; then
   19382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19383 printf "%s\n" "$XMLTO" >&6; }
   19384 else
   19385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19386 printf "%s\n" "no" >&6; }
   19387 fi
   19388 
   19389 
   19390    if test "x$XMLTO" = "x"; then
   19391         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19392 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19393 	have_xmlto=no
   19394    else
   19395         have_xmlto=yes
   19396    fi
   19397 elif test "x$use_xmlto" = x"yes" ; then
   19398    # Extract the first word of "xmlto", so it can be a program name with args.
   19399 set dummy xmlto; ac_word=$2
   19400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19401 printf %s "checking for $ac_word... " >&6; }
   19402 if test ${ac_cv_path_XMLTO+y}
   19403 then :
   19404   printf %s "(cached) " >&6
   19405 else $as_nop
   19406   case $XMLTO in
   19407   [\\/]* | ?:[\\/]*)
   19408   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19409   ;;
   19410   *)
   19411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19412 for as_dir in $PATH
   19413 do
   19414   IFS=$as_save_IFS
   19415   case $as_dir in #(((
   19416     '') as_dir=./ ;;
   19417     */) ;;
   19418     *) as_dir=$as_dir/ ;;
   19419   esac
   19420     for ac_exec_ext in '' $ac_executable_extensions; do
   19421   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19422     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19423     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19424     break 2
   19425   fi
   19426 done
   19427   done
   19428 IFS=$as_save_IFS
   19429 
   19430   ;;
   19431 esac
   19432 fi
   19433 XMLTO=$ac_cv_path_XMLTO
   19434 if test -n "$XMLTO"; then
   19435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19436 printf "%s\n" "$XMLTO" >&6; }
   19437 else
   19438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19439 printf "%s\n" "no" >&6; }
   19440 fi
   19441 
   19442 
   19443    if test "x$XMLTO" = "x"; then
   19444         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19445    fi
   19446    have_xmlto=yes
   19447 elif test "x$use_xmlto" = x"no" ; then
   19448    if test "x$XMLTO" != "x"; then
   19449       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19450 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19451    fi
   19452    have_xmlto=no
   19453 else
   19454    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19455 fi
   19456 
   19457 # Test for a minimum version of xmlto, if provided.
   19458 if test "$have_xmlto" = yes; then
   19459     # scrape the xmlto version
   19460     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19461 printf %s "checking the xmlto version... " >&6; }
   19462     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19463     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19464 printf "%s\n" "$xmlto_version" >&6; }
   19465     as_arg_v1=$xmlto_version
   19466 as_arg_v2=0.0.22
   19467 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19468 case $? in #(
   19469   1) :
   19470     if test "x$use_xmlto" = xauto; then
   19471             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19472 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19473             have_xmlto=no
   19474         else
   19475             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19476         fi ;; #(
   19477   0) :
   19478      ;; #(
   19479   2) :
   19480      ;; #(
   19481   *) :
   19482      ;;
   19483 esac
   19484 fi
   19485 
   19486 # Test for the ability of xmlto to generate a text target
   19487 #
   19488 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19489 # following test for empty XML docbook files.
   19490 # For compatibility reasons use the following empty XML docbook file and if
   19491 # it fails try it again with a non-empty XML file.
   19492 have_xmlto_text=no
   19493 cat > conftest.xml << "EOF"
   19494 EOF
   19495 if test "$have_xmlto" = yes
   19496 then :
   19497   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19498 then :
   19499   have_xmlto_text=yes
   19500 else $as_nop
   19501   # Try it again with a non-empty XML file.
   19502               cat > conftest.xml << "EOF"
   19503 <x></x>
   19504 EOF
   19505               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19506 then :
   19507   have_xmlto_text=yes
   19508 else $as_nop
   19509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19510 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19511 fi
   19512 fi
   19513 fi
   19514 rm -f conftest.xml
   19515  if test $have_xmlto_text = yes; then
   19516   HAVE_XMLTO_TEXT_TRUE=
   19517   HAVE_XMLTO_TEXT_FALSE='#'
   19518 else
   19519   HAVE_XMLTO_TEXT_TRUE='#'
   19520   HAVE_XMLTO_TEXT_FALSE=
   19521 fi
   19522 
   19523  if test "$have_xmlto" = yes; then
   19524   HAVE_XMLTO_TRUE=
   19525   HAVE_XMLTO_FALSE='#'
   19526 else
   19527   HAVE_XMLTO_TRUE='#'
   19528   HAVE_XMLTO_FALSE=
   19529 fi
   19530 
   19531 
   19532 
   19533 
   19534 
   19535 
   19536 # Check whether --with-fop was given.
   19537 if test ${with_fop+y}
   19538 then :
   19539   withval=$with_fop; use_fop=$withval
   19540 else $as_nop
   19541   use_fop=auto
   19542 fi
   19543 
   19544 
   19545 
   19546 if test "x$use_fop" = x"auto"; then
   19547    # Extract the first word of "fop", so it can be a program name with args.
   19548 set dummy fop; ac_word=$2
   19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19550 printf %s "checking for $ac_word... " >&6; }
   19551 if test ${ac_cv_path_FOP+y}
   19552 then :
   19553   printf %s "(cached) " >&6
   19554 else $as_nop
   19555   case $FOP in
   19556   [\\/]* | ?:[\\/]*)
   19557   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19558   ;;
   19559   *)
   19560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19561 for as_dir in $PATH
   19562 do
   19563   IFS=$as_save_IFS
   19564   case $as_dir in #(((
   19565     '') as_dir=./ ;;
   19566     */) ;;
   19567     *) as_dir=$as_dir/ ;;
   19568   esac
   19569     for ac_exec_ext in '' $ac_executable_extensions; do
   19570   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19571     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19572     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19573     break 2
   19574   fi
   19575 done
   19576   done
   19577 IFS=$as_save_IFS
   19578 
   19579   ;;
   19580 esac
   19581 fi
   19582 FOP=$ac_cv_path_FOP
   19583 if test -n "$FOP"; then
   19584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19585 printf "%s\n" "$FOP" >&6; }
   19586 else
   19587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19588 printf "%s\n" "no" >&6; }
   19589 fi
   19590 
   19591 
   19592    if test "x$FOP" = "x"; then
   19593         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19594 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19595 	have_fop=no
   19596    else
   19597         have_fop=yes
   19598    fi
   19599 elif test "x$use_fop" = x"yes" ; then
   19600    # Extract the first word of "fop", so it can be a program name with args.
   19601 set dummy fop; ac_word=$2
   19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19603 printf %s "checking for $ac_word... " >&6; }
   19604 if test ${ac_cv_path_FOP+y}
   19605 then :
   19606   printf %s "(cached) " >&6
   19607 else $as_nop
   19608   case $FOP in
   19609   [\\/]* | ?:[\\/]*)
   19610   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19611   ;;
   19612   *)
   19613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19614 for as_dir in $PATH
   19615 do
   19616   IFS=$as_save_IFS
   19617   case $as_dir in #(((
   19618     '') as_dir=./ ;;
   19619     */) ;;
   19620     *) as_dir=$as_dir/ ;;
   19621   esac
   19622     for ac_exec_ext in '' $ac_executable_extensions; do
   19623   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19624     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19625     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19626     break 2
   19627   fi
   19628 done
   19629   done
   19630 IFS=$as_save_IFS
   19631 
   19632   ;;
   19633 esac
   19634 fi
   19635 FOP=$ac_cv_path_FOP
   19636 if test -n "$FOP"; then
   19637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19638 printf "%s\n" "$FOP" >&6; }
   19639 else
   19640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19641 printf "%s\n" "no" >&6; }
   19642 fi
   19643 
   19644 
   19645    if test "x$FOP" = "x"; then
   19646         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19647    fi
   19648    have_fop=yes
   19649 elif test "x$use_fop" = x"no" ; then
   19650    if test "x$FOP" != "x"; then
   19651       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19652 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19653    fi
   19654    have_fop=no
   19655 else
   19656    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19657 fi
   19658 
   19659 # Test for a minimum version of fop, if provided.
   19660 
   19661  if test "$have_fop" = yes; then
   19662   HAVE_FOP_TRUE=
   19663   HAVE_FOP_FALSE='#'
   19664 else
   19665   HAVE_FOP_TRUE='#'
   19666   HAVE_FOP_FALSE=
   19667 fi
   19668 
   19669 
   19670 
   19671 
   19672 # Preserves the interface, should it be implemented later
   19673 
   19674 
   19675 
   19676 # Check whether --with-xsltproc was given.
   19677 if test ${with_xsltproc+y}
   19678 then :
   19679   withval=$with_xsltproc; use_xsltproc=$withval
   19680 else $as_nop
   19681   use_xsltproc=auto
   19682 fi
   19683 
   19684 
   19685 
   19686 if test "x$use_xsltproc" = x"auto"; then
   19687    # Extract the first word of "xsltproc", so it can be a program name with args.
   19688 set dummy xsltproc; ac_word=$2
   19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19690 printf %s "checking for $ac_word... " >&6; }
   19691 if test ${ac_cv_path_XSLTPROC+y}
   19692 then :
   19693   printf %s "(cached) " >&6
   19694 else $as_nop
   19695   case $XSLTPROC in
   19696   [\\/]* | ?:[\\/]*)
   19697   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19698   ;;
   19699   *)
   19700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19701 for as_dir in $PATH
   19702 do
   19703   IFS=$as_save_IFS
   19704   case $as_dir in #(((
   19705     '') as_dir=./ ;;
   19706     */) ;;
   19707     *) as_dir=$as_dir/ ;;
   19708   esac
   19709     for ac_exec_ext in '' $ac_executable_extensions; do
   19710   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19711     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19712     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19713     break 2
   19714   fi
   19715 done
   19716   done
   19717 IFS=$as_save_IFS
   19718 
   19719   ;;
   19720 esac
   19721 fi
   19722 XSLTPROC=$ac_cv_path_XSLTPROC
   19723 if test -n "$XSLTPROC"; then
   19724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19725 printf "%s\n" "$XSLTPROC" >&6; }
   19726 else
   19727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19728 printf "%s\n" "no" >&6; }
   19729 fi
   19730 
   19731 
   19732    if test "x$XSLTPROC" = "x"; then
   19733         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19734 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19735 	have_xsltproc=no
   19736    else
   19737         have_xsltproc=yes
   19738    fi
   19739 elif test "x$use_xsltproc" = x"yes" ; then
   19740    # Extract the first word of "xsltproc", so it can be a program name with args.
   19741 set dummy xsltproc; ac_word=$2
   19742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19743 printf %s "checking for $ac_word... " >&6; }
   19744 if test ${ac_cv_path_XSLTPROC+y}
   19745 then :
   19746   printf %s "(cached) " >&6
   19747 else $as_nop
   19748   case $XSLTPROC in
   19749   [\\/]* | ?:[\\/]*)
   19750   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19751   ;;
   19752   *)
   19753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19754 for as_dir in $PATH
   19755 do
   19756   IFS=$as_save_IFS
   19757   case $as_dir in #(((
   19758     '') as_dir=./ ;;
   19759     */) ;;
   19760     *) as_dir=$as_dir/ ;;
   19761   esac
   19762     for ac_exec_ext in '' $ac_executable_extensions; do
   19763   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19764     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19765     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19766     break 2
   19767   fi
   19768 done
   19769   done
   19770 IFS=$as_save_IFS
   19771 
   19772   ;;
   19773 esac
   19774 fi
   19775 XSLTPROC=$ac_cv_path_XSLTPROC
   19776 if test -n "$XSLTPROC"; then
   19777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19778 printf "%s\n" "$XSLTPROC" >&6; }
   19779 else
   19780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19781 printf "%s\n" "no" >&6; }
   19782 fi
   19783 
   19784 
   19785    if test "x$XSLTPROC" = "x"; then
   19786         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19787    fi
   19788    have_xsltproc=yes
   19789 elif test "x$use_xsltproc" = x"no" ; then
   19790    if test "x$XSLTPROC" != "x"; then
   19791       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19792 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19793    fi
   19794    have_xsltproc=no
   19795 else
   19796    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19797 fi
   19798 
   19799  if test "$have_xsltproc" = yes; then
   19800   HAVE_XSLTPROC_TRUE=
   19801   HAVE_XSLTPROC_FALSE='#'
   19802 else
   19803   HAVE_XSLTPROC_TRUE='#'
   19804   HAVE_XSLTPROC_FALSE=
   19805 fi
   19806 
   19807 
   19808 
   19809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   19810 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   19811 XORG_SGML_PATH=
   19812 if test -n "$PKG_CONFIG" && \
   19813     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   19814   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   19815   ac_status=$?
   19816   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19817   test $ac_status = 0; }; then
   19818   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19819 else
   19820   :
   19821 
   19822 fi
   19823 
   19824 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19825 # the path and the name of the doc stylesheet
   19826 if test "x$XORG_SGML_PATH" != "x" ; then
   19827    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19828 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19829    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19830    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19831 else
   19832    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19833 printf "%s\n" "no" >&6; }
   19834 fi
   19835 
   19836 
   19837 
   19838 
   19839  if test "x$XSL_STYLESHEET" != "x"; then
   19840   HAVE_STYLESHEETS_TRUE=
   19841   HAVE_STYLESHEETS_FALSE='#'
   19842 else
   19843   HAVE_STYLESHEETS_TRUE='#'
   19844   HAVE_STYLESHEETS_FALSE=
   19845 fi
   19846 
   19847 
   19848 
   19849 # Obtain compiler/linker options for dependencies
   19850 
   19851 pkg_failed=no
   19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
   19853 printf %s "checking for XTST... " >&6; }
   19854 
   19855 if test -n "$XTST_CFLAGS"; then
   19856     pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
   19857  elif test -n "$PKG_CONFIG"; then
   19858     if test -n "$PKG_CONFIG" && \
   19859     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   19860   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   19861   ac_status=$?
   19862   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19863   test $ac_status = 0; }; then
   19864   pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   19865 		      test "x$?" != "x0" && pkg_failed=yes
   19866 else
   19867   pkg_failed=yes
   19868 fi
   19869  else
   19870     pkg_failed=untried
   19871 fi
   19872 if test -n "$XTST_LIBS"; then
   19873     pkg_cv_XTST_LIBS="$XTST_LIBS"
   19874  elif test -n "$PKG_CONFIG"; then
   19875     if test -n "$PKG_CONFIG" && \
   19876     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   19877   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   19878   ac_status=$?
   19879   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19880   test $ac_status = 0; }; then
   19881   pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   19882 		      test "x$?" != "x0" && pkg_failed=yes
   19883 else
   19884   pkg_failed=yes
   19885 fi
   19886  else
   19887     pkg_failed=untried
   19888 fi
   19889 
   19890 
   19891 
   19892 if test $pkg_failed = yes; then
   19893    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19894 printf "%s\n" "no" >&6; }
   19895 
   19896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19897         _pkg_short_errors_supported=yes
   19898 else
   19899         _pkg_short_errors_supported=no
   19900 fi
   19901         if test $_pkg_short_errors_supported = yes; then
   19902 	        XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   19903         else
   19904 	        XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   19905         fi
   19906 	# Put the nasty error message in config.log where it belongs
   19907 	echo "$XTST_PKG_ERRORS" >&5
   19908 
   19909 	as_fn_error $? "Package requirements (x11 >= 1.6 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
   19910 
   19911 $XTST_PKG_ERRORS
   19912 
   19913 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19914 installed software in a non-standard prefix.
   19915 
   19916 Alternatively, you may set the environment variables XTST_CFLAGS
   19917 and XTST_LIBS to avoid the need to call pkg-config.
   19918 See the pkg-config man page for more details." "$LINENO" 5
   19919 elif test $pkg_failed = untried; then
   19920      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19921 printf "%s\n" "no" >&6; }
   19922 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19923 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19924 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19925 is in your PATH or set the PKG_CONFIG environment variable to the full
   19926 path to pkg-config.
   19927 
   19928 Alternatively, you may set the environment variables XTST_CFLAGS
   19929 and XTST_LIBS to avoid the need to call pkg-config.
   19930 See the pkg-config man page for more details.
   19931 
   19932 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19933 See \`config.log' for more details" "$LINENO" 5; }
   19934 else
   19935 	XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
   19936 	XTST_LIBS=$pkg_cv_XTST_LIBS
   19937         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19938 printf "%s\n" "yes" >&6; }
   19939 
   19940 fi
   19941 
   19942 # Determine if the source for man pages is available
   19943 # It may already be present (tarball) or can be generated using xmlto
   19944  if test -f "$srcdir/man/XTestQueryExtension.man" || test "x$have_xmlto" = xyes; then
   19945   INSTALL_MANPAGES_TRUE=
   19946   INSTALL_MANPAGES_FALSE='#'
   19947 else
   19948   INSTALL_MANPAGES_TRUE='#'
   19949   INSTALL_MANPAGES_FALSE=
   19950 fi
   19951 
   19952 
   19953 # Allow checking code with lint, sparse, etc.
   19954 
   19955 
   19956 
   19957 
   19958 
   19959 # Check whether --with-lint was given.
   19960 if test ${with_lint+y}
   19961 then :
   19962   withval=$with_lint; use_lint=$withval
   19963 else $as_nop
   19964   use_lint=no
   19965 fi
   19966 
   19967 
   19968 # Obtain platform specific info like program name and options
   19969 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19970 case $host_os in
   19971   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19972 	lint_name=splint
   19973 	lint_options="-badflag"
   19974 	;;
   19975   *freebsd* | *netbsd*)
   19976 	lint_name=lint
   19977 	lint_options="-u -b"
   19978 	;;
   19979   *solaris*)
   19980 	lint_name=lint
   19981 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19982 	;;
   19983 esac
   19984 
   19985 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19986 if test "x$use_lint" = x"yes" ; then
   19987    # Extract the first word of "$lint_name", so it can be a program name with args.
   19988 set dummy $lint_name; ac_word=$2
   19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19990 printf %s "checking for $ac_word... " >&6; }
   19991 if test ${ac_cv_path_LINT+y}
   19992 then :
   19993   printf %s "(cached) " >&6
   19994 else $as_nop
   19995   case $LINT in
   19996   [\\/]* | ?:[\\/]*)
   19997   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19998   ;;
   19999   *)
   20000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20001 for as_dir in $PATH
   20002 do
   20003   IFS=$as_save_IFS
   20004   case $as_dir in #(((
   20005     '') as_dir=./ ;;
   20006     */) ;;
   20007     *) as_dir=$as_dir/ ;;
   20008   esac
   20009     for ac_exec_ext in '' $ac_executable_extensions; do
   20010   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20011     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   20012     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20013     break 2
   20014   fi
   20015 done
   20016   done
   20017 IFS=$as_save_IFS
   20018 
   20019   ;;
   20020 esac
   20021 fi
   20022 LINT=$ac_cv_path_LINT
   20023 if test -n "$LINT"; then
   20024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20025 printf "%s\n" "$LINT" >&6; }
   20026 else
   20027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20028 printf "%s\n" "no" >&6; }
   20029 fi
   20030 
   20031 
   20032    if test "x$LINT" = "x"; then
   20033         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20034    fi
   20035 elif test "x$use_lint" = x"no" ; then
   20036    if test "x$LINT" != "x"; then
   20037       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20038 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20039    fi
   20040 else
   20041    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20042 fi
   20043 
   20044 # User supplied flags override default flags
   20045 if test "x$LINT_FLAGS" != "x"; then
   20046    lint_options=$LINT_FLAGS
   20047 fi
   20048 
   20049 LINT_FLAGS=$lint_options
   20050 
   20051  if test "x$LINT" != x; then
   20052   LINT_TRUE=
   20053   LINT_FALSE='#'
   20054 else
   20055   LINT_TRUE='#'
   20056   LINT_FALSE=
   20057 fi
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 # Check whether --enable-lint-library was given.
   20064 if test ${enable_lint_library+y}
   20065 then :
   20066   enableval=$enable_lint_library; make_lint_lib=$enableval
   20067 else $as_nop
   20068   make_lint_lib=no
   20069 fi
   20070 
   20071 
   20072 if test "x$make_lint_lib" = x"yes" ; then
   20073    LINTLIB=llib-lXtst.ln
   20074    if test "x$LINT" = "x"; then
   20075         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20076    fi
   20077 elif test "x$make_lint_lib" != x"no" ; then
   20078    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20079 fi
   20080 
   20081 
   20082  if test x$make_lint_lib != xno; then
   20083   MAKE_LINT_LIB_TRUE=
   20084   MAKE_LINT_LIB_FALSE='#'
   20085 else
   20086   MAKE_LINT_LIB_TRUE='#'
   20087   MAKE_LINT_LIB_FALSE=
   20088 fi
   20089 
   20090 
   20091 
   20092 LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}"
   20093 
   20094 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xtst.pc"
   20095 
   20096 cat >confcache <<\_ACEOF
   20097 # This file is a shell script that caches the results of configure
   20098 # tests run on this system so they can be shared between configure
   20099 # scripts and configure runs, see configure's option --config-cache.
   20100 # It is not useful on other systems.  If it contains results you don't
   20101 # want to keep, you may remove or edit it.
   20102 #
   20103 # config.status only pays attention to the cache file if you give it
   20104 # the --recheck option to rerun configure.
   20105 #
   20106 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20108 # following values.
   20109 
   20110 _ACEOF
   20111 
   20112 # The following way of writing the cache mishandles newlines in values,
   20113 # but we know of no workaround that is simple, portable, and efficient.
   20114 # So, we kill variables containing newlines.
   20115 # Ultrix sh set writes to stderr and can't be redirected directly,
   20116 # and sets the high bit in the cache file unless we assign to the vars.
   20117 (
   20118   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20119     eval ac_val=\$$ac_var
   20120     case $ac_val in #(
   20121     *${as_nl}*)
   20122       case $ac_var in #(
   20123       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20124 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20125       esac
   20126       case $ac_var in #(
   20127       _ | IFS | as_nl) ;; #(
   20128       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20129       *) { eval $ac_var=; unset $ac_var;} ;;
   20130       esac ;;
   20131     esac
   20132   done
   20133 
   20134   (set) 2>&1 |
   20135     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20136     *${as_nl}ac_space=\ *)
   20137       # `set' does not quote correctly, so add quotes: double-quote
   20138       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20139       sed -n \
   20140 	"s/'/'\\\\''/g;
   20141 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20142       ;; #(
   20143     *)
   20144       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20145       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20146       ;;
   20147     esac |
   20148     sort
   20149 ) |
   20150   sed '
   20151      /^ac_cv_env_/b end
   20152      t clear
   20153      :clear
   20154      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20155      t end
   20156      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20157      :end' >>confcache
   20158 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20159   if test -w "$cache_file"; then
   20160     if test "x$cache_file" != "x/dev/null"; then
   20161       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20162 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20163       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20164 	cat confcache >"$cache_file"
   20165       else
   20166         case $cache_file in #(
   20167         */* | ?:*)
   20168 	  mv -f confcache "$cache_file"$$ &&
   20169 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20170         *)
   20171 	  mv -f confcache "$cache_file" ;;
   20172 	esac
   20173       fi
   20174     fi
   20175   else
   20176     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20177 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20178   fi
   20179 fi
   20180 rm -f confcache
   20181 
   20182 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20183 # Let make expand exec_prefix.
   20184 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20185 
   20186 DEFS=-DHAVE_CONFIG_H
   20187 
   20188 ac_libobjs=
   20189 ac_ltlibobjs=
   20190 U=
   20191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20192   # 1. Remove the extension, and $U if already installed.
   20193   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20194   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20195   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20196   #    will be set to the directory where LIBOBJS objects are built.
   20197   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20198   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20199 done
   20200 LIBOBJS=$ac_libobjs
   20201 
   20202 LTLIBOBJS=$ac_ltlibobjs
   20203 
   20204 
   20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20206 printf %s "checking that generated files are newer than configure... " >&6; }
   20207    if test -n "$am_sleep_pid"; then
   20208      # Hide warnings about reused PIDs.
   20209      wait $am_sleep_pid 2>/dev/null
   20210    fi
   20211    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20212 printf "%s\n" "done" >&6; }
   20213  if test -n "$EXEEXT"; then
   20214   am__EXEEXT_TRUE=
   20215   am__EXEEXT_FALSE='#'
   20216 else
   20217   am__EXEEXT_TRUE='#'
   20218   am__EXEEXT_FALSE=
   20219 fi
   20220 
   20221 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20222   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20224 fi
   20225 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20226   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20228 fi
   20229 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   20230   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   20231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20232 fi
   20233 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20234   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20236 fi
   20237 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20238   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20240 fi
   20241 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20242   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20244 fi
   20245 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20246   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20248 fi
   20249 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20250   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20252 fi
   20253 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   20254   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   20255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20256 fi
   20257 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20258   as_fn_error $? "conditional \"LINT\" was never defined.
   20259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20260 fi
   20261 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20262   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   20263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20264 fi
   20265 
   20266 : "${CONFIG_STATUS=./config.status}"
   20267 ac_write_fail=0
   20268 ac_clean_files_save=$ac_clean_files
   20269 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20271 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20272 as_write_fail=0
   20273 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20274 #! $SHELL
   20275 # Generated by $as_me.
   20276 # Run this file to recreate the current configuration.
   20277 # Compiler output produced by configure, useful for debugging
   20278 # configure, is in config.log if it exists.
   20279 
   20280 debug=false
   20281 ac_cs_recheck=false
   20282 ac_cs_silent=false
   20283 
   20284 SHELL=\${CONFIG_SHELL-$SHELL}
   20285 export SHELL
   20286 _ASEOF
   20287 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20288 ## -------------------- ##
   20289 ## M4sh Initialization. ##
   20290 ## -------------------- ##
   20291 
   20292 # Be more Bourne compatible
   20293 DUALCASE=1; export DUALCASE # for MKS sh
   20294 as_nop=:
   20295 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20296 then :
   20297   emulate sh
   20298   NULLCMD=:
   20299   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20300   # is contrary to our usage.  Disable this feature.
   20301   alias -g '${1+"$@"}'='"$@"'
   20302   setopt NO_GLOB_SUBST
   20303 else $as_nop
   20304   case `(set -o) 2>/dev/null` in #(
   20305   *posix*) :
   20306     set -o posix ;; #(
   20307   *) :
   20308      ;;
   20309 esac
   20310 fi
   20311 
   20312 
   20313 
   20314 # Reset variables that may have inherited troublesome values from
   20315 # the environment.
   20316 
   20317 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20318 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20319 # side effect of setting IFS to empty, thus disabling word splitting.)
   20320 # Quoting is to prevent editors from complaining about space-tab.
   20321 as_nl='
   20322 '
   20323 export as_nl
   20324 IFS=" ""	$as_nl"
   20325 
   20326 PS1='$ '
   20327 PS2='> '
   20328 PS4='+ '
   20329 
   20330 # Ensure predictable behavior from utilities with locale-dependent output.
   20331 LC_ALL=C
   20332 export LC_ALL
   20333 LANGUAGE=C
   20334 export LANGUAGE
   20335 
   20336 # We cannot yet rely on "unset" to work, but we need these variables
   20337 # to be unset--not just set to an empty or harmless value--now, to
   20338 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20339 # also avoids known problems related to "unset" and subshell syntax
   20340 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20341 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20342 do eval test \${$as_var+y} \
   20343   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20344 done
   20345 
   20346 # Ensure that fds 0, 1, and 2 are open.
   20347 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20348 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20349 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20350 
   20351 # The user is always right.
   20352 if ${PATH_SEPARATOR+false} :; then
   20353   PATH_SEPARATOR=:
   20354   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20355     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20356       PATH_SEPARATOR=';'
   20357   }
   20358 fi
   20359 
   20360 
   20361 # Find who we are.  Look in the path if we contain no directory separator.
   20362 as_myself=
   20363 case $0 in #((
   20364   *[\\/]* ) as_myself=$0 ;;
   20365   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20366 for as_dir in $PATH
   20367 do
   20368   IFS=$as_save_IFS
   20369   case $as_dir in #(((
   20370     '') as_dir=./ ;;
   20371     */) ;;
   20372     *) as_dir=$as_dir/ ;;
   20373   esac
   20374     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20375   done
   20376 IFS=$as_save_IFS
   20377 
   20378      ;;
   20379 esac
   20380 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20381 # in which case we are not to be found in the path.
   20382 if test "x$as_myself" = x; then
   20383   as_myself=$0
   20384 fi
   20385 if test ! -f "$as_myself"; then
   20386   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20387   exit 1
   20388 fi
   20389 
   20390 
   20391 
   20392 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20393 # ----------------------------------------
   20394 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20395 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20396 # script with STATUS, using 1 if that was 0.
   20397 as_fn_error ()
   20398 {
   20399   as_status=$1; test $as_status -eq 0 && as_status=1
   20400   if test "$4"; then
   20401     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20402     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20403   fi
   20404   printf "%s\n" "$as_me: error: $2" >&2
   20405   as_fn_exit $as_status
   20406 } # as_fn_error
   20407 
   20408 
   20409 
   20410 # as_fn_set_status STATUS
   20411 # -----------------------
   20412 # Set $? to STATUS, without forking.
   20413 as_fn_set_status ()
   20414 {
   20415   return $1
   20416 } # as_fn_set_status
   20417 
   20418 # as_fn_exit STATUS
   20419 # -----------------
   20420 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20421 as_fn_exit ()
   20422 {
   20423   set +e
   20424   as_fn_set_status $1
   20425   exit $1
   20426 } # as_fn_exit
   20427 
   20428 # as_fn_unset VAR
   20429 # ---------------
   20430 # Portably unset VAR.
   20431 as_fn_unset ()
   20432 {
   20433   { eval $1=; unset $1;}
   20434 }
   20435 as_unset=as_fn_unset
   20436 
   20437 # as_fn_append VAR VALUE
   20438 # ----------------------
   20439 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20440 # advantage of any shell optimizations that allow amortized linear growth over
   20441 # repeated appends, instead of the typical quadratic growth present in naive
   20442 # implementations.
   20443 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20444 then :
   20445   eval 'as_fn_append ()
   20446   {
   20447     eval $1+=\$2
   20448   }'
   20449 else $as_nop
   20450   as_fn_append ()
   20451   {
   20452     eval $1=\$$1\$2
   20453   }
   20454 fi # as_fn_append
   20455 
   20456 # as_fn_arith ARG...
   20457 # ------------------
   20458 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20459 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20460 # must be portable across $(()) and expr.
   20461 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20462 then :
   20463   eval 'as_fn_arith ()
   20464   {
   20465     as_val=$(( $* ))
   20466   }'
   20467 else $as_nop
   20468   as_fn_arith ()
   20469   {
   20470     as_val=`expr "$@" || test $? -eq 1`
   20471   }
   20472 fi # as_fn_arith
   20473 
   20474 
   20475 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20476    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20477   as_expr=expr
   20478 else
   20479   as_expr=false
   20480 fi
   20481 
   20482 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20483   as_basename=basename
   20484 else
   20485   as_basename=false
   20486 fi
   20487 
   20488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20489   as_dirname=dirname
   20490 else
   20491   as_dirname=false
   20492 fi
   20493 
   20494 as_me=`$as_basename -- "$0" ||
   20495 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20496 	 X"$0" : 'X\(//\)$' \| \
   20497 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20498 printf "%s\n" X/"$0" |
   20499     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20500 	    s//\1/
   20501 	    q
   20502 	  }
   20503 	  /^X\/\(\/\/\)$/{
   20504 	    s//\1/
   20505 	    q
   20506 	  }
   20507 	  /^X\/\(\/\).*/{
   20508 	    s//\1/
   20509 	    q
   20510 	  }
   20511 	  s/.*/./; q'`
   20512 
   20513 # Avoid depending upon Character Ranges.
   20514 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20515 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20516 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20517 as_cr_digits='0123456789'
   20518 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20519 
   20520 
   20521 # Determine whether it's possible to make 'echo' print without a newline.
   20522 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20523 # for compatibility with existing Makefiles.
   20524 ECHO_C= ECHO_N= ECHO_T=
   20525 case `echo -n x` in #(((((
   20526 -n*)
   20527   case `echo 'xy\c'` in
   20528   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20529   xy)  ECHO_C='\c';;
   20530   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20531        ECHO_T='	';;
   20532   esac;;
   20533 *)
   20534   ECHO_N='-n';;
   20535 esac
   20536 
   20537 # For backward compatibility with old third-party macros, we provide
   20538 # the shell variables $as_echo and $as_echo_n.  New code should use
   20539 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20540 as_echo='printf %s\n'
   20541 as_echo_n='printf %s'
   20542 
   20543 rm -f conf$$ conf$$.exe conf$$.file
   20544 if test -d conf$$.dir; then
   20545   rm -f conf$$.dir/conf$$.file
   20546 else
   20547   rm -f conf$$.dir
   20548   mkdir conf$$.dir 2>/dev/null
   20549 fi
   20550 if (echo >conf$$.file) 2>/dev/null; then
   20551   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20552     as_ln_s='ln -s'
   20553     # ... but there are two gotchas:
   20554     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20555     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20556     # In both cases, we have to default to `cp -pR'.
   20557     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20558       as_ln_s='cp -pR'
   20559   elif ln conf$$.file conf$$ 2>/dev/null; then
   20560     as_ln_s=ln
   20561   else
   20562     as_ln_s='cp -pR'
   20563   fi
   20564 else
   20565   as_ln_s='cp -pR'
   20566 fi
   20567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20568 rmdir conf$$.dir 2>/dev/null
   20569 
   20570 
   20571 # as_fn_mkdir_p
   20572 # -------------
   20573 # Create "$as_dir" as a directory, including parents if necessary.
   20574 as_fn_mkdir_p ()
   20575 {
   20576 
   20577   case $as_dir in #(
   20578   -*) as_dir=./$as_dir;;
   20579   esac
   20580   test -d "$as_dir" || eval $as_mkdir_p || {
   20581     as_dirs=
   20582     while :; do
   20583       case $as_dir in #(
   20584       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20585       *) as_qdir=$as_dir;;
   20586       esac
   20587       as_dirs="'$as_qdir' $as_dirs"
   20588       as_dir=`$as_dirname -- "$as_dir" ||
   20589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20590 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20591 	 X"$as_dir" : 'X\(//\)$' \| \
   20592 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20593 printf "%s\n" X"$as_dir" |
   20594     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20595 	    s//\1/
   20596 	    q
   20597 	  }
   20598 	  /^X\(\/\/\)[^/].*/{
   20599 	    s//\1/
   20600 	    q
   20601 	  }
   20602 	  /^X\(\/\/\)$/{
   20603 	    s//\1/
   20604 	    q
   20605 	  }
   20606 	  /^X\(\/\).*/{
   20607 	    s//\1/
   20608 	    q
   20609 	  }
   20610 	  s/.*/./; q'`
   20611       test -d "$as_dir" && break
   20612     done
   20613     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20614   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20615 
   20616 
   20617 } # as_fn_mkdir_p
   20618 if mkdir -p . 2>/dev/null; then
   20619   as_mkdir_p='mkdir -p "$as_dir"'
   20620 else
   20621   test -d ./-p && rmdir ./-p
   20622   as_mkdir_p=false
   20623 fi
   20624 
   20625 
   20626 # as_fn_executable_p FILE
   20627 # -----------------------
   20628 # Test if FILE is an executable regular file.
   20629 as_fn_executable_p ()
   20630 {
   20631   test -f "$1" && test -x "$1"
   20632 } # as_fn_executable_p
   20633 as_test_x='test -x'
   20634 as_executable_p=as_fn_executable_p
   20635 
   20636 # Sed expression to map a string onto a valid CPP name.
   20637 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20638 
   20639 # Sed expression to map a string onto a valid variable name.
   20640 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20641 
   20642 
   20643 exec 6>&1
   20644 ## ----------------------------------- ##
   20645 ## Main body of $CONFIG_STATUS script. ##
   20646 ## ----------------------------------- ##
   20647 _ASEOF
   20648 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20649 
   20650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20651 # Save the log message, to keep $0 and so on meaningful, and to
   20652 # report actual input values of CONFIG_FILES etc. instead of their
   20653 # values after options handling.
   20654 ac_log="
   20655 This file was extended by libXtst $as_me 1.2.4, which was
   20656 generated by GNU Autoconf 2.71.  Invocation command line was
   20657 
   20658   CONFIG_FILES    = $CONFIG_FILES
   20659   CONFIG_HEADERS  = $CONFIG_HEADERS
   20660   CONFIG_LINKS    = $CONFIG_LINKS
   20661   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20662   $ $0 $@
   20663 
   20664 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20665 "
   20666 
   20667 _ACEOF
   20668 
   20669 case $ac_config_files in *"
   20670 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20671 esac
   20672 
   20673 case $ac_config_headers in *"
   20674 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20675 esac
   20676 
   20677 
   20678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20679 # Files that config.status was made for.
   20680 config_files="$ac_config_files"
   20681 config_headers="$ac_config_headers"
   20682 config_commands="$ac_config_commands"
   20683 
   20684 _ACEOF
   20685 
   20686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20687 ac_cs_usage="\
   20688 \`$as_me' instantiates files and other configuration actions
   20689 from templates according to the current configuration.  Unless the files
   20690 and actions are specified as TAGs, all are instantiated by default.
   20691 
   20692 Usage: $0 [OPTION]... [TAG]...
   20693 
   20694   -h, --help       print this help, then exit
   20695   -V, --version    print version number and configuration settings, then exit
   20696       --config     print configuration, then exit
   20697   -q, --quiet, --silent
   20698                    do not print progress messages
   20699   -d, --debug      don't remove temporary files
   20700       --recheck    update $as_me by reconfiguring in the same conditions
   20701       --file=FILE[:TEMPLATE]
   20702                    instantiate the configuration file FILE
   20703       --header=FILE[:TEMPLATE]
   20704                    instantiate the configuration header FILE
   20705 
   20706 Configuration files:
   20707 $config_files
   20708 
   20709 Configuration headers:
   20710 $config_headers
   20711 
   20712 Configuration commands:
   20713 $config_commands
   20714 
   20715 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtst/-/issues>."
   20716 
   20717 _ACEOF
   20718 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20719 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20721 ac_cs_config='$ac_cs_config_escaped'
   20722 ac_cs_version="\\
   20723 libXtst config.status 1.2.4
   20724 configured by $0, generated by GNU Autoconf 2.71,
   20725   with options \\"\$ac_cs_config\\"
   20726 
   20727 Copyright (C) 2021 Free Software Foundation, Inc.
   20728 This config.status script is free software; the Free Software Foundation
   20729 gives unlimited permission to copy, distribute and modify it."
   20730 
   20731 ac_pwd='$ac_pwd'
   20732 srcdir='$srcdir'
   20733 INSTALL='$INSTALL'
   20734 MKDIR_P='$MKDIR_P'
   20735 AWK='$AWK'
   20736 test -n "\$AWK" || AWK=awk
   20737 _ACEOF
   20738 
   20739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20740 # The default lists apply if the user does not specify any file.
   20741 ac_need_defaults=:
   20742 while test $# != 0
   20743 do
   20744   case $1 in
   20745   --*=?*)
   20746     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20747     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20748     ac_shift=:
   20749     ;;
   20750   --*=)
   20751     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20752     ac_optarg=
   20753     ac_shift=:
   20754     ;;
   20755   *)
   20756     ac_option=$1
   20757     ac_optarg=$2
   20758     ac_shift=shift
   20759     ;;
   20760   esac
   20761 
   20762   case $ac_option in
   20763   # Handling of the options.
   20764   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20765     ac_cs_recheck=: ;;
   20766   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20767     printf "%s\n" "$ac_cs_version"; exit ;;
   20768   --config | --confi | --conf | --con | --co | --c )
   20769     printf "%s\n" "$ac_cs_config"; exit ;;
   20770   --debug | --debu | --deb | --de | --d | -d )
   20771     debug=: ;;
   20772   --file | --fil | --fi | --f )
   20773     $ac_shift
   20774     case $ac_optarg in
   20775     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20776     '') as_fn_error $? "missing file argument" ;;
   20777     esac
   20778     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20779     ac_need_defaults=false;;
   20780   --header | --heade | --head | --hea )
   20781     $ac_shift
   20782     case $ac_optarg in
   20783     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20784     esac
   20785     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20786     ac_need_defaults=false;;
   20787   --he | --h)
   20788     # Conflict between --help and --header
   20789     as_fn_error $? "ambiguous option: \`$1'
   20790 Try \`$0 --help' for more information.";;
   20791   --help | --hel | -h )
   20792     printf "%s\n" "$ac_cs_usage"; exit ;;
   20793   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20794   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20795     ac_cs_silent=: ;;
   20796 
   20797   # This is an error.
   20798   -*) as_fn_error $? "unrecognized option: \`$1'
   20799 Try \`$0 --help' for more information." ;;
   20800 
   20801   *) as_fn_append ac_config_targets " $1"
   20802      ac_need_defaults=false ;;
   20803 
   20804   esac
   20805   shift
   20806 done
   20807 
   20808 ac_configure_extra_args=
   20809 
   20810 if $ac_cs_silent; then
   20811   exec 6>/dev/null
   20812   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20813 fi
   20814 
   20815 _ACEOF
   20816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20817 if \$ac_cs_recheck; then
   20818   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20819   shift
   20820   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20821   CONFIG_SHELL='$SHELL'
   20822   export CONFIG_SHELL
   20823   exec "\$@"
   20824 fi
   20825 
   20826 _ACEOF
   20827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20828 exec 5>>config.log
   20829 {
   20830   echo
   20831   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20832 ## Running $as_me. ##
   20833 _ASBOX
   20834   printf "%s\n" "$ac_log"
   20835 } >&5
   20836 
   20837 _ACEOF
   20838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20839 #
   20840 # INIT-COMMANDS
   20841 #
   20842 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20843 
   20844 
   20845 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20846 # if CDPATH is set.
   20847 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20848 
   20849 sed_quote_subst='$sed_quote_subst'
   20850 double_quote_subst='$double_quote_subst'
   20851 delay_variable_subst='$delay_variable_subst'
   20852 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20853 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20854 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20855 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20856 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20857 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20858 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20859 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20860 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20861 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20862 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20863 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20864 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20865 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20866 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20867 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20868 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20869 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20870 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20871 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20872 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20873 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20874 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20875 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20876 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20877 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20878 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20879 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20880 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20881 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20882 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20883 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20884 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20885 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20886 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20887 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20888 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20889 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20890 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20891 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20892 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20893 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20894 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20895 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20896 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20897 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20898 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20899 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20900 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20901 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20902 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20903 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20904 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20905 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20906 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20907 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20908 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20909 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20910 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20911 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20912 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"`'
   20913 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20914 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20915 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20916 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20917 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20918 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20919 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20920 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20921 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20922 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20923 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20924 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20925 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20926 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20927 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20928 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20929 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20930 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20931 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20932 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20933 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20934 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20935 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20936 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20937 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20938 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20939 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20940 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20941 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20942 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20943 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20944 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20945 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20946 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20947 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20948 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20949 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20950 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20951 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20952 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20953 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20954 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20955 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20956 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20957 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20958 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20959 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20960 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20961 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20962 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20963 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20964 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20965 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20966 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20967 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20968 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20969 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20970 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20971 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20972 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20973 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20974 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20975 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20976 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20977 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20978 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20979 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20980 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20981 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20982 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20983 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20984 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20985 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20986 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20987 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20988 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20989 
   20990 LTCC='$LTCC'
   20991 LTCFLAGS='$LTCFLAGS'
   20992 compiler='$compiler_DEFAULT'
   20993 
   20994 # A function that is used when there is no print builtin or printf.
   20995 func_fallback_echo ()
   20996 {
   20997   eval 'cat <<_LTECHO_EOF
   20998 \$1
   20999 _LTECHO_EOF'
   21000 }
   21001 
   21002 # Quote evaled strings.
   21003 for var in SHELL \
   21004 ECHO \
   21005 PATH_SEPARATOR \
   21006 SED \
   21007 GREP \
   21008 EGREP \
   21009 FGREP \
   21010 LD \
   21011 NM \
   21012 LN_S \
   21013 lt_SP2NL \
   21014 lt_NL2SP \
   21015 reload_flag \
   21016 FILECMD \
   21017 OBJDUMP \
   21018 deplibs_check_method \
   21019 file_magic_cmd \
   21020 file_magic_glob \
   21021 want_nocaseglob \
   21022 DLLTOOL \
   21023 sharedlib_from_linklib_cmd \
   21024 AR \
   21025 archiver_list_spec \
   21026 STRIP \
   21027 RANLIB \
   21028 CC \
   21029 CFLAGS \
   21030 compiler \
   21031 lt_cv_sys_global_symbol_pipe \
   21032 lt_cv_sys_global_symbol_to_cdecl \
   21033 lt_cv_sys_global_symbol_to_import \
   21034 lt_cv_sys_global_symbol_to_c_name_address \
   21035 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21036 lt_cv_nm_interface \
   21037 nm_file_list_spec \
   21038 lt_cv_truncate_bin \
   21039 lt_prog_compiler_no_builtin_flag \
   21040 lt_prog_compiler_pic \
   21041 lt_prog_compiler_wl \
   21042 lt_prog_compiler_static \
   21043 lt_cv_prog_compiler_c_o \
   21044 need_locks \
   21045 MANIFEST_TOOL \
   21046 DSYMUTIL \
   21047 NMEDIT \
   21048 LIPO \
   21049 OTOOL \
   21050 OTOOL64 \
   21051 shrext_cmds \
   21052 export_dynamic_flag_spec \
   21053 whole_archive_flag_spec \
   21054 compiler_needs_object \
   21055 with_gnu_ld \
   21056 allow_undefined_flag \
   21057 no_undefined_flag \
   21058 hardcode_libdir_flag_spec \
   21059 hardcode_libdir_separator \
   21060 exclude_expsyms \
   21061 include_expsyms \
   21062 file_list_spec \
   21063 variables_saved_for_relink \
   21064 libname_spec \
   21065 library_names_spec \
   21066 soname_spec \
   21067 install_override_mode \
   21068 finish_eval \
   21069 old_striplib \
   21070 striplib; do
   21071     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21072     *[\\\\\\\`\\"\\\$]*)
   21073       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21074       ;;
   21075     *)
   21076       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21077       ;;
   21078     esac
   21079 done
   21080 
   21081 # Double-quote double-evaled strings.
   21082 for var in reload_cmds \
   21083 old_postinstall_cmds \
   21084 old_postuninstall_cmds \
   21085 old_archive_cmds \
   21086 extract_expsyms_cmds \
   21087 old_archive_from_new_cmds \
   21088 old_archive_from_expsyms_cmds \
   21089 archive_cmds \
   21090 archive_expsym_cmds \
   21091 module_cmds \
   21092 module_expsym_cmds \
   21093 export_symbols_cmds \
   21094 prelink_cmds \
   21095 postlink_cmds \
   21096 postinstall_cmds \
   21097 postuninstall_cmds \
   21098 finish_cmds \
   21099 sys_lib_search_path_spec \
   21100 configure_time_dlsearch_path \
   21101 configure_time_lt_sys_library_path; do
   21102     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21103     *[\\\\\\\`\\"\\\$]*)
   21104       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21105       ;;
   21106     *)
   21107       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21108       ;;
   21109     esac
   21110 done
   21111 
   21112 ac_aux_dir='$ac_aux_dir'
   21113 
   21114 # See if we are running on zsh, and set the options that allow our
   21115 # commands through without removal of \ escapes INIT.
   21116 if test -n "\${ZSH_VERSION+set}"; then
   21117    setopt NO_GLOB_SUBST
   21118 fi
   21119 
   21120 
   21121     PACKAGE='$PACKAGE'
   21122     VERSION='$VERSION'
   21123     RM='$RM'
   21124     ofile='$ofile'
   21125 
   21126 
   21127 
   21128 
   21129 _ACEOF
   21130 
   21131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21132 
   21133 # Handling of arguments.
   21134 for ac_config_target in $ac_config_targets
   21135 do
   21136   case $ac_config_target in
   21137     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21138     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21139     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21140     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21141     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21142     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21143     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21144     "xtst.pc") CONFIG_FILES="$CONFIG_FILES xtst.pc" ;;
   21145 
   21146   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21147   esac
   21148 done
   21149 
   21150 
   21151 # If the user did not use the arguments to specify the items to instantiate,
   21152 # then the envvar interface is used.  Set only those that are not.
   21153 # We use the long form for the default assignment because of an extremely
   21154 # bizarre bug on SunOS 4.1.3.
   21155 if $ac_need_defaults; then
   21156   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21157   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21158   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21159 fi
   21160 
   21161 # Have a temporary directory for convenience.  Make it in the build tree
   21162 # simply because there is no reason against having it here, and in addition,
   21163 # creating and moving files from /tmp can sometimes cause problems.
   21164 # Hook for its removal unless debugging.
   21165 # Note that there is a small window in which the directory will not be cleaned:
   21166 # after its creation but before its name has been assigned to `$tmp'.
   21167 $debug ||
   21168 {
   21169   tmp= ac_tmp=
   21170   trap 'exit_status=$?
   21171   : "${ac_tmp:=$tmp}"
   21172   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21173 ' 0
   21174   trap 'as_fn_exit 1' 1 2 13 15
   21175 }
   21176 # Create a (secure) tmp directory for tmp files.
   21177 
   21178 {
   21179   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21180   test -d "$tmp"
   21181 }  ||
   21182 {
   21183   tmp=./conf$$-$RANDOM
   21184   (umask 077 && mkdir "$tmp")
   21185 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21186 ac_tmp=$tmp
   21187 
   21188 # Set up the scripts for CONFIG_FILES section.
   21189 # No need to generate them if there are no CONFIG_FILES.
   21190 # This happens for instance with `./config.status config.h'.
   21191 if test -n "$CONFIG_FILES"; then
   21192 
   21193 
   21194 ac_cr=`echo X | tr X '\015'`
   21195 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21196 # But we know of no other shell where ac_cr would be empty at this
   21197 # point, so we can use a bashism as a fallback.
   21198 if test "x$ac_cr" = x; then
   21199   eval ac_cr=\$\'\\r\'
   21200 fi
   21201 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21202 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21203   ac_cs_awk_cr='\\r'
   21204 else
   21205   ac_cs_awk_cr=$ac_cr
   21206 fi
   21207 
   21208 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21209 _ACEOF
   21210 
   21211 
   21212 {
   21213   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21214   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21215   echo "_ACEOF"
   21216 } >conf$$subs.sh ||
   21217   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21218 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21219 ac_delim='%!_!# '
   21220 for ac_last_try in false false false false false :; do
   21221   . ./conf$$subs.sh ||
   21222     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21223 
   21224   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21225   if test $ac_delim_n = $ac_delim_num; then
   21226     break
   21227   elif $ac_last_try; then
   21228     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21229   else
   21230     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21231   fi
   21232 done
   21233 rm -f conf$$subs.sh
   21234 
   21235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21236 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21237 _ACEOF
   21238 sed -n '
   21239 h
   21240 s/^/S["/; s/!.*/"]=/
   21241 p
   21242 g
   21243 s/^[^!]*!//
   21244 :repl
   21245 t repl
   21246 s/'"$ac_delim"'$//
   21247 t delim
   21248 :nl
   21249 h
   21250 s/\(.\{148\}\)..*/\1/
   21251 t more1
   21252 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21253 p
   21254 n
   21255 b repl
   21256 :more1
   21257 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21258 p
   21259 g
   21260 s/.\{148\}//
   21261 t nl
   21262 :delim
   21263 h
   21264 s/\(.\{148\}\)..*/\1/
   21265 t more2
   21266 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21267 p
   21268 b
   21269 :more2
   21270 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21271 p
   21272 g
   21273 s/.\{148\}//
   21274 t delim
   21275 ' <conf$$subs.awk | sed '
   21276 /^[^""]/{
   21277   N
   21278   s/\n//
   21279 }
   21280 ' >>$CONFIG_STATUS || ac_write_fail=1
   21281 rm -f conf$$subs.awk
   21282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21283 _ACAWK
   21284 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21285   for (key in S) S_is_set[key] = 1
   21286   FS = ""
   21287 
   21288 }
   21289 {
   21290   line = $ 0
   21291   nfields = split(line, field, "@")
   21292   substed = 0
   21293   len = length(field[1])
   21294   for (i = 2; i < nfields; i++) {
   21295     key = field[i]
   21296     keylen = length(key)
   21297     if (S_is_set[key]) {
   21298       value = S[key]
   21299       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21300       len += length(value) + length(field[++i])
   21301       substed = 1
   21302     } else
   21303       len += 1 + keylen
   21304   }
   21305 
   21306   print line
   21307 }
   21308 
   21309 _ACAWK
   21310 _ACEOF
   21311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21312 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21313   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21314 else
   21315   cat
   21316 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21317   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21318 _ACEOF
   21319 
   21320 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21321 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21322 # trailing colons and then remove the whole line if VPATH becomes empty
   21323 # (actually we leave an empty line to preserve line numbers).
   21324 if test "x$srcdir" = x.; then
   21325   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21326 h
   21327 s///
   21328 s/^/:/
   21329 s/[	 ]*$/:/
   21330 s/:\$(srcdir):/:/g
   21331 s/:\${srcdir}:/:/g
   21332 s/:@srcdir@:/:/g
   21333 s/^:*//
   21334 s/:*$//
   21335 x
   21336 s/\(=[	 ]*\).*/\1/
   21337 G
   21338 s/\n//
   21339 s/^[^=]*=[	 ]*$//
   21340 }'
   21341 fi
   21342 
   21343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21344 fi # test -n "$CONFIG_FILES"
   21345 
   21346 # Set up the scripts for CONFIG_HEADERS section.
   21347 # No need to generate them if there are no CONFIG_HEADERS.
   21348 # This happens for instance with `./config.status Makefile'.
   21349 if test -n "$CONFIG_HEADERS"; then
   21350 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21351 BEGIN {
   21352 _ACEOF
   21353 
   21354 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21355 # here-document in config.status, that substitutes the proper values into
   21356 # config.h.in to produce config.h.
   21357 
   21358 # Create a delimiter string that does not exist in confdefs.h, to ease
   21359 # handling of long lines.
   21360 ac_delim='%!_!# '
   21361 for ac_last_try in false false :; do
   21362   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21363   if test -z "$ac_tt"; then
   21364     break
   21365   elif $ac_last_try; then
   21366     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21367   else
   21368     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21369   fi
   21370 done
   21371 
   21372 # For the awk script, D is an array of macro values keyed by name,
   21373 # likewise P contains macro parameters if any.  Preserve backslash
   21374 # newline sequences.
   21375 
   21376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21377 sed -n '
   21378 s/.\{148\}/&'"$ac_delim"'/g
   21379 t rset
   21380 :rset
   21381 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21382 t def
   21383 d
   21384 :def
   21385 s/\\$//
   21386 t bsnl
   21387 s/["\\]/\\&/g
   21388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21389 D["\1"]=" \3"/p
   21390 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21391 d
   21392 :bsnl
   21393 s/["\\]/\\&/g
   21394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21395 D["\1"]=" \3\\\\\\n"\\/p
   21396 t cont
   21397 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21398 t cont
   21399 d
   21400 :cont
   21401 n
   21402 s/.\{148\}/&'"$ac_delim"'/g
   21403 t clear
   21404 :clear
   21405 s/\\$//
   21406 t bsnlc
   21407 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21408 d
   21409 :bsnlc
   21410 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21411 b cont
   21412 ' <confdefs.h | sed '
   21413 s/'"$ac_delim"'/"\\\
   21414 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21415 
   21416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21417   for (key in D) D_is_set[key] = 1
   21418   FS = ""
   21419 }
   21420 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21421   line = \$ 0
   21422   split(line, arg, " ")
   21423   if (arg[1] == "#") {
   21424     defundef = arg[2]
   21425     mac1 = arg[3]
   21426   } else {
   21427     defundef = substr(arg[1], 2)
   21428     mac1 = arg[2]
   21429   }
   21430   split(mac1, mac2, "(") #)
   21431   macro = mac2[1]
   21432   prefix = substr(line, 1, index(line, defundef) - 1)
   21433   if (D_is_set[macro]) {
   21434     # Preserve the white space surrounding the "#".
   21435     print prefix "define", macro P[macro] D[macro]
   21436     next
   21437   } else {
   21438     # Replace #undef with comments.  This is necessary, for example,
   21439     # in the case of _POSIX_SOURCE, which is predefined and required
   21440     # on some systems where configure will not decide to define it.
   21441     if (defundef == "undef") {
   21442       print "/*", prefix defundef, macro, "*/"
   21443       next
   21444     }
   21445   }
   21446 }
   21447 { print }
   21448 _ACAWK
   21449 _ACEOF
   21450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21451   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21452 fi # test -n "$CONFIG_HEADERS"
   21453 
   21454 
   21455 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21456 shift
   21457 for ac_tag
   21458 do
   21459   case $ac_tag in
   21460   :[FHLC]) ac_mode=$ac_tag; continue;;
   21461   esac
   21462   case $ac_mode$ac_tag in
   21463   :[FHL]*:*);;
   21464   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21465   :[FH]-) ac_tag=-:-;;
   21466   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21467   esac
   21468   ac_save_IFS=$IFS
   21469   IFS=:
   21470   set x $ac_tag
   21471   IFS=$ac_save_IFS
   21472   shift
   21473   ac_file=$1
   21474   shift
   21475 
   21476   case $ac_mode in
   21477   :L) ac_source=$1;;
   21478   :[FH])
   21479     ac_file_inputs=
   21480     for ac_f
   21481     do
   21482       case $ac_f in
   21483       -) ac_f="$ac_tmp/stdin";;
   21484       *) # Look for the file first in the build tree, then in the source tree
   21485 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21486 	 # because $ac_f cannot contain `:'.
   21487 	 test -f "$ac_f" ||
   21488 	   case $ac_f in
   21489 	   [\\/$]*) false;;
   21490 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21491 	   esac ||
   21492 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21493       esac
   21494       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21495       as_fn_append ac_file_inputs " '$ac_f'"
   21496     done
   21497 
   21498     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21499     # use $as_me), people would be surprised to read:
   21500     #    /* config.h.  Generated by config.status.  */
   21501     configure_input='Generated from '`
   21502 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21503 	`' by configure.'
   21504     if test x"$ac_file" != x-; then
   21505       configure_input="$ac_file.  $configure_input"
   21506       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21507 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21508     fi
   21509     # Neutralize special characters interpreted by sed in replacement strings.
   21510     case $configure_input in #(
   21511     *\&* | *\|* | *\\* )
   21512        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21513        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21514     *) ac_sed_conf_input=$configure_input;;
   21515     esac
   21516 
   21517     case $ac_tag in
   21518     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21519       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21520     esac
   21521     ;;
   21522   esac
   21523 
   21524   ac_dir=`$as_dirname -- "$ac_file" ||
   21525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21526 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21527 	 X"$ac_file" : 'X\(//\)$' \| \
   21528 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21529 printf "%s\n" X"$ac_file" |
   21530     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21531 	    s//\1/
   21532 	    q
   21533 	  }
   21534 	  /^X\(\/\/\)[^/].*/{
   21535 	    s//\1/
   21536 	    q
   21537 	  }
   21538 	  /^X\(\/\/\)$/{
   21539 	    s//\1/
   21540 	    q
   21541 	  }
   21542 	  /^X\(\/\).*/{
   21543 	    s//\1/
   21544 	    q
   21545 	  }
   21546 	  s/.*/./; q'`
   21547   as_dir="$ac_dir"; as_fn_mkdir_p
   21548   ac_builddir=.
   21549 
   21550 case "$ac_dir" in
   21551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21552 *)
   21553   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21554   # A ".." for each directory in $ac_dir_suffix.
   21555   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21556   case $ac_top_builddir_sub in
   21557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21559   esac ;;
   21560 esac
   21561 ac_abs_top_builddir=$ac_pwd
   21562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21563 # for backward compatibility:
   21564 ac_top_builddir=$ac_top_build_prefix
   21565 
   21566 case $srcdir in
   21567   .)  # We are building in place.
   21568     ac_srcdir=.
   21569     ac_top_srcdir=$ac_top_builddir_sub
   21570     ac_abs_top_srcdir=$ac_pwd ;;
   21571   [\\/]* | ?:[\\/]* )  # Absolute name.
   21572     ac_srcdir=$srcdir$ac_dir_suffix;
   21573     ac_top_srcdir=$srcdir
   21574     ac_abs_top_srcdir=$srcdir ;;
   21575   *) # Relative name.
   21576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21577     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21579 esac
   21580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21581 
   21582 
   21583   case $ac_mode in
   21584   :F)
   21585   #
   21586   # CONFIG_FILE
   21587   #
   21588 
   21589   case $INSTALL in
   21590   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21591   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21592   esac
   21593   ac_MKDIR_P=$MKDIR_P
   21594   case $MKDIR_P in
   21595   [\\/$]* | ?:[\\/]* ) ;;
   21596   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21597   esac
   21598 _ACEOF
   21599 
   21600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21601 # If the template does not know about datarootdir, expand it.
   21602 # FIXME: This hack should be removed a few years after 2.60.
   21603 ac_datarootdir_hack=; ac_datarootdir_seen=
   21604 ac_sed_dataroot='
   21605 /datarootdir/ {
   21606   p
   21607   q
   21608 }
   21609 /@datadir@/p
   21610 /@docdir@/p
   21611 /@infodir@/p
   21612 /@localedir@/p
   21613 /@mandir@/p'
   21614 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21615 *datarootdir*) ac_datarootdir_seen=yes;;
   21616 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21618 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21619 _ACEOF
   21620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21621   ac_datarootdir_hack='
   21622   s&@datadir@&$datadir&g
   21623   s&@docdir@&$docdir&g
   21624   s&@infodir@&$infodir&g
   21625   s&@localedir@&$localedir&g
   21626   s&@mandir@&$mandir&g
   21627   s&\\\${datarootdir}&$datarootdir&g' ;;
   21628 esac
   21629 _ACEOF
   21630 
   21631 # Neutralize VPATH when `$srcdir' = `.'.
   21632 # Shell code in configure.ac might set extrasub.
   21633 # FIXME: do we really want to maintain this feature?
   21634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21635 ac_sed_extra="$ac_vpsub
   21636 $extrasub
   21637 _ACEOF
   21638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21639 :t
   21640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21641 s|@configure_input@|$ac_sed_conf_input|;t t
   21642 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21643 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21644 s&@srcdir@&$ac_srcdir&;t t
   21645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21646 s&@top_srcdir@&$ac_top_srcdir&;t t
   21647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21648 s&@builddir@&$ac_builddir&;t t
   21649 s&@abs_builddir@&$ac_abs_builddir&;t t
   21650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21651 s&@INSTALL@&$ac_INSTALL&;t t
   21652 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21653 $ac_datarootdir_hack
   21654 "
   21655 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21656   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21657 
   21658 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21659   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21660   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21661       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21663 which seems to be undefined.  Please make sure it is defined" >&5
   21664 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21665 which seems to be undefined.  Please make sure it is defined" >&2;}
   21666 
   21667   rm -f "$ac_tmp/stdin"
   21668   case $ac_file in
   21669   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21670   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21671   esac \
   21672   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21673  ;;
   21674   :H)
   21675   #
   21676   # CONFIG_HEADER
   21677   #
   21678   if test x"$ac_file" != x-; then
   21679     {
   21680       printf "%s\n" "/* $configure_input  */" >&1 \
   21681       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21682     } >"$ac_tmp/config.h" \
   21683       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21684     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21685       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21686 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21687     else
   21688       rm -f "$ac_file"
   21689       mv "$ac_tmp/config.h" "$ac_file" \
   21690 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21691     fi
   21692   else
   21693     printf "%s\n" "/* $configure_input  */" >&1 \
   21694       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21695       || as_fn_error $? "could not create -" "$LINENO" 5
   21696   fi
   21697 # Compute "$ac_file"'s index in $config_headers.
   21698 _am_arg="$ac_file"
   21699 _am_stamp_count=1
   21700 for _am_header in $config_headers :; do
   21701   case $_am_header in
   21702     $_am_arg | $_am_arg:* )
   21703       break ;;
   21704     * )
   21705       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21706   esac
   21707 done
   21708 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21709 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21710 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21711 	 X"$_am_arg" : 'X\(//\)$' \| \
   21712 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21713 printf "%s\n" X"$_am_arg" |
   21714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21715 	    s//\1/
   21716 	    q
   21717 	  }
   21718 	  /^X\(\/\/\)[^/].*/{
   21719 	    s//\1/
   21720 	    q
   21721 	  }
   21722 	  /^X\(\/\/\)$/{
   21723 	    s//\1/
   21724 	    q
   21725 	  }
   21726 	  /^X\(\/\).*/{
   21727 	    s//\1/
   21728 	    q
   21729 	  }
   21730 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21731  ;;
   21732 
   21733   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21734 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21735  ;;
   21736   esac
   21737 
   21738 
   21739   case $ac_file$ac_mode in
   21740     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21741   # Older Autoconf quotes --file arguments for eval, but not when files
   21742   # are listed without --file.  Let's play safe and only enable the eval
   21743   # if we detect the quoting.
   21744   # TODO: see whether this extra hack can be removed once we start
   21745   # requiring Autoconf 2.70 or later.
   21746   case $CONFIG_FILES in #(
   21747   *\'*) :
   21748     eval set x "$CONFIG_FILES" ;; #(
   21749   *) :
   21750     set x $CONFIG_FILES ;; #(
   21751   *) :
   21752      ;;
   21753 esac
   21754   shift
   21755   # Used to flag and report bootstrapping failures.
   21756   am_rc=0
   21757   for am_mf
   21758   do
   21759     # Strip MF so we end up with the name of the file.
   21760     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21761     # Check whether this is an Automake generated Makefile which includes
   21762     # dependency-tracking related rules and includes.
   21763     # Grep'ing the whole file directly is not great: AIX grep has a line
   21764     # limit of 2048, but all sed's we know have understand at least 4000.
   21765     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21766       || continue
   21767     am_dirpart=`$as_dirname -- "$am_mf" ||
   21768 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21769 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21770 	 X"$am_mf" : 'X\(//\)$' \| \
   21771 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21772 printf "%s\n" X"$am_mf" |
   21773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21774 	    s//\1/
   21775 	    q
   21776 	  }
   21777 	  /^X\(\/\/\)[^/].*/{
   21778 	    s//\1/
   21779 	    q
   21780 	  }
   21781 	  /^X\(\/\/\)$/{
   21782 	    s//\1/
   21783 	    q
   21784 	  }
   21785 	  /^X\(\/\).*/{
   21786 	    s//\1/
   21787 	    q
   21788 	  }
   21789 	  s/.*/./; q'`
   21790     am_filepart=`$as_basename -- "$am_mf" ||
   21791 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21792 	 X"$am_mf" : 'X\(//\)$' \| \
   21793 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21794 printf "%s\n" X/"$am_mf" |
   21795     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21796 	    s//\1/
   21797 	    q
   21798 	  }
   21799 	  /^X\/\(\/\/\)$/{
   21800 	    s//\1/
   21801 	    q
   21802 	  }
   21803 	  /^X\/\(\/\).*/{
   21804 	    s//\1/
   21805 	    q
   21806 	  }
   21807 	  s/.*/./; q'`
   21808     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21809       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21810         | $MAKE -f - am--depfiles" >&5
   21811    (cd "$am_dirpart" \
   21812       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21813         | $MAKE -f - am--depfiles) >&5 2>&5
   21814    ac_status=$?
   21815    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21816    (exit $ac_status); } || am_rc=$?
   21817   done
   21818   if test $am_rc -ne 0; then
   21819     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21820 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21821 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21822     for automatic dependency tracking.  If GNU make was not used, consider
   21823     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21824     necessary).  You can also try re-running configure with the
   21825     '--disable-dependency-tracking' option to at least be able to build
   21826     the package (albeit without support for automatic dependency tracking).
   21827 See \`config.log' for more details" "$LINENO" 5; }
   21828   fi
   21829   { am_dirpart=; unset am_dirpart;}
   21830   { am_filepart=; unset am_filepart;}
   21831   { am_mf=; unset am_mf;}
   21832   { am_rc=; unset am_rc;}
   21833   rm -f conftest-deps.mk
   21834 }
   21835  ;;
   21836     "libtool":C)
   21837 
   21838     # See if we are running on zsh, and set the options that allow our
   21839     # commands through without removal of \ escapes.
   21840     if test -n "${ZSH_VERSION+set}"; then
   21841       setopt NO_GLOB_SUBST
   21842     fi
   21843 
   21844     cfgfile=${ofile}T
   21845     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21846     $RM "$cfgfile"
   21847 
   21848     cat <<_LT_EOF >> "$cfgfile"
   21849 #! $SHELL
   21850 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21851 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21852 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21853 
   21854 # Provide generalized library-building support services.
   21855 # Written by Gordon Matzigkeit, 1996
   21856 
   21857 # Copyright (C) 2014 Free Software Foundation, Inc.
   21858 # This is free software; see the source for copying conditions.  There is NO
   21859 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21860 
   21861 # GNU Libtool is free software; you can redistribute it and/or modify
   21862 # it under the terms of the GNU General Public License as published by
   21863 # the Free Software Foundation; either version 2 of of the License, or
   21864 # (at your option) any later version.
   21865 #
   21866 # As a special exception to the GNU General Public License, if you
   21867 # distribute this file as part of a program or library that is built
   21868 # using GNU Libtool, you may include this file under the  same
   21869 # distribution terms that you use for the rest of that program.
   21870 #
   21871 # GNU Libtool is distributed in the hope that it will be useful, but
   21872 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21873 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21874 # GNU General Public License for more details.
   21875 #
   21876 # You should have received a copy of the GNU General Public License
   21877 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21878 
   21879 
   21880 # The names of the tagged configurations supported by this script.
   21881 available_tags=''
   21882 
   21883 # Configured defaults for sys_lib_dlsearch_path munging.
   21884 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21885 
   21886 # ### BEGIN LIBTOOL CONFIG
   21887 
   21888 # Which release of libtool.m4 was used?
   21889 macro_version=$macro_version
   21890 macro_revision=$macro_revision
   21891 
   21892 # Whether or not to build shared libraries.
   21893 build_libtool_libs=$enable_shared
   21894 
   21895 # Whether or not to build static libraries.
   21896 build_old_libs=$enable_static
   21897 
   21898 # What type of objects to build.
   21899 pic_mode=$pic_mode
   21900 
   21901 # Whether or not to optimize for fast installation.
   21902 fast_install=$enable_fast_install
   21903 
   21904 # Shared archive member basename,for filename based shared library versioning on AIX.
   21905 shared_archive_member_spec=$shared_archive_member_spec
   21906 
   21907 # Shell to use when invoking shell scripts.
   21908 SHELL=$lt_SHELL
   21909 
   21910 # An echo program that protects backslashes.
   21911 ECHO=$lt_ECHO
   21912 
   21913 # The PATH separator for the build system.
   21914 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21915 
   21916 # The host system.
   21917 host_alias=$host_alias
   21918 host=$host
   21919 host_os=$host_os
   21920 
   21921 # The build system.
   21922 build_alias=$build_alias
   21923 build=$build
   21924 build_os=$build_os
   21925 
   21926 # A sed program that does not truncate output.
   21927 SED=$lt_SED
   21928 
   21929 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21930 Xsed="\$SED -e 1s/^X//"
   21931 
   21932 # A grep program that handles long lines.
   21933 GREP=$lt_GREP
   21934 
   21935 # An ERE matcher.
   21936 EGREP=$lt_EGREP
   21937 
   21938 # A literal string matcher.
   21939 FGREP=$lt_FGREP
   21940 
   21941 # A BSD- or MS-compatible name lister.
   21942 NM=$lt_NM
   21943 
   21944 # Whether we need soft or hard links.
   21945 LN_S=$lt_LN_S
   21946 
   21947 # What is the maximum length of a command?
   21948 max_cmd_len=$max_cmd_len
   21949 
   21950 # Object file suffix (normally "o").
   21951 objext=$ac_objext
   21952 
   21953 # Executable file suffix (normally "").
   21954 exeext=$exeext
   21955 
   21956 # whether the shell understands "unset".
   21957 lt_unset=$lt_unset
   21958 
   21959 # turn spaces into newlines.
   21960 SP2NL=$lt_lt_SP2NL
   21961 
   21962 # turn newlines into spaces.
   21963 NL2SP=$lt_lt_NL2SP
   21964 
   21965 # convert \$build file names to \$host format.
   21966 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21967 
   21968 # convert \$build files to toolchain format.
   21969 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21970 
   21971 # A file(cmd) program that detects file types.
   21972 FILECMD=$lt_FILECMD
   21973 
   21974 # An object symbol dumper.
   21975 OBJDUMP=$lt_OBJDUMP
   21976 
   21977 # Method to check whether dependent libraries are shared objects.
   21978 deplibs_check_method=$lt_deplibs_check_method
   21979 
   21980 # Command to use when deplibs_check_method = "file_magic".
   21981 file_magic_cmd=$lt_file_magic_cmd
   21982 
   21983 # How to find potential files when deplibs_check_method = "file_magic".
   21984 file_magic_glob=$lt_file_magic_glob
   21985 
   21986 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21987 want_nocaseglob=$lt_want_nocaseglob
   21988 
   21989 # DLL creation program.
   21990 DLLTOOL=$lt_DLLTOOL
   21991 
   21992 # Command to associate shared and link libraries.
   21993 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21994 
   21995 # The archiver.
   21996 AR=$lt_AR
   21997 
   21998 # Flags to create an archive (by configure).
   21999 lt_ar_flags=$lt_ar_flags
   22000 
   22001 # Flags to create an archive.
   22002 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22003 
   22004 # How to feed a file listing to the archiver.
   22005 archiver_list_spec=$lt_archiver_list_spec
   22006 
   22007 # A symbol stripping program.
   22008 STRIP=$lt_STRIP
   22009 
   22010 # Commands used to install an old-style archive.
   22011 RANLIB=$lt_RANLIB
   22012 old_postinstall_cmds=$lt_old_postinstall_cmds
   22013 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22014 
   22015 # Whether to use a lock for old archive extraction.
   22016 lock_old_archive_extraction=$lock_old_archive_extraction
   22017 
   22018 # A C compiler.
   22019 LTCC=$lt_CC
   22020 
   22021 # LTCC compiler flags.
   22022 LTCFLAGS=$lt_CFLAGS
   22023 
   22024 # Take the output of nm and produce a listing of raw symbols and C names.
   22025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22026 
   22027 # Transform the output of nm in a proper C declaration.
   22028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22029 
   22030 # Transform the output of nm into a list of symbols to manually relocate.
   22031 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22032 
   22033 # Transform the output of nm in a C name address pair.
   22034 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22035 
   22036 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22037 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22038 
   22039 # The name lister interface.
   22040 nm_interface=$lt_lt_cv_nm_interface
   22041 
   22042 # Specify filename containing input files for \$NM.
   22043 nm_file_list_spec=$lt_nm_file_list_spec
   22044 
   22045 # The root where to search for dependent libraries,and where our libraries should be installed.
   22046 lt_sysroot=$lt_sysroot
   22047 
   22048 # Command to truncate a binary pipe.
   22049 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22050 
   22051 # The name of the directory that contains temporary libtool files.
   22052 objdir=$objdir
   22053 
   22054 # Used to examine libraries when file_magic_cmd begins with "file".
   22055 MAGIC_CMD=$MAGIC_CMD
   22056 
   22057 # Must we lock files when doing compilation?
   22058 need_locks=$lt_need_locks
   22059 
   22060 # Manifest tool.
   22061 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22062 
   22063 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22064 DSYMUTIL=$lt_DSYMUTIL
   22065 
   22066 # Tool to change global to local symbols on Mac OS X.
   22067 NMEDIT=$lt_NMEDIT
   22068 
   22069 # Tool to manipulate fat objects and archives on Mac OS X.
   22070 LIPO=$lt_LIPO
   22071 
   22072 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22073 OTOOL=$lt_OTOOL
   22074 
   22075 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22076 OTOOL64=$lt_OTOOL64
   22077 
   22078 # Old archive suffix (normally "a").
   22079 libext=$libext
   22080 
   22081 # Shared library suffix (normally ".so").
   22082 shrext_cmds=$lt_shrext_cmds
   22083 
   22084 # The commands to extract the exported symbol list from a shared archive.
   22085 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22086 
   22087 # Variables whose values should be saved in libtool wrapper scripts and
   22088 # restored at link time.
   22089 variables_saved_for_relink=$lt_variables_saved_for_relink
   22090 
   22091 # Do we need the "lib" prefix for modules?
   22092 need_lib_prefix=$need_lib_prefix
   22093 
   22094 # Do we need a version for libraries?
   22095 need_version=$need_version
   22096 
   22097 # Library versioning type.
   22098 version_type=$version_type
   22099 
   22100 # Shared library runtime path variable.
   22101 runpath_var=$runpath_var
   22102 
   22103 # Shared library path variable.
   22104 shlibpath_var=$shlibpath_var
   22105 
   22106 # Is shlibpath searched before the hard-coded library search path?
   22107 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22108 
   22109 # Format of library name prefix.
   22110 libname_spec=$lt_libname_spec
   22111 
   22112 # List of archive names.  First name is the real one, the rest are links.
   22113 # The last name is the one that the linker finds with -lNAME
   22114 library_names_spec=$lt_library_names_spec
   22115 
   22116 # The coded name of the library, if different from the real name.
   22117 soname_spec=$lt_soname_spec
   22118 
   22119 # Permission mode override for installation of shared libraries.
   22120 install_override_mode=$lt_install_override_mode
   22121 
   22122 # Command to use after installation of a shared archive.
   22123 postinstall_cmds=$lt_postinstall_cmds
   22124 
   22125 # Command to use after uninstallation of a shared archive.
   22126 postuninstall_cmds=$lt_postuninstall_cmds
   22127 
   22128 # Commands used to finish a libtool library installation in a directory.
   22129 finish_cmds=$lt_finish_cmds
   22130 
   22131 # As "finish_cmds", except a single script fragment to be evaled but
   22132 # not shown.
   22133 finish_eval=$lt_finish_eval
   22134 
   22135 # Whether we should hardcode library paths into libraries.
   22136 hardcode_into_libs=$hardcode_into_libs
   22137 
   22138 # Compile-time system search path for libraries.
   22139 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22140 
   22141 # Detected run-time system search path for libraries.
   22142 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22143 
   22144 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22145 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22146 
   22147 # Whether dlopen is supported.
   22148 dlopen_support=$enable_dlopen
   22149 
   22150 # Whether dlopen of programs is supported.
   22151 dlopen_self=$enable_dlopen_self
   22152 
   22153 # Whether dlopen of statically linked programs is supported.
   22154 dlopen_self_static=$enable_dlopen_self_static
   22155 
   22156 # Commands to strip libraries.
   22157 old_striplib=$lt_old_striplib
   22158 striplib=$lt_striplib
   22159 
   22160 
   22161 # The linker used to build libraries.
   22162 LD=$lt_LD
   22163 
   22164 # How to create reloadable object files.
   22165 reload_flag=$lt_reload_flag
   22166 reload_cmds=$lt_reload_cmds
   22167 
   22168 # Commands used to build an old-style archive.
   22169 old_archive_cmds=$lt_old_archive_cmds
   22170 
   22171 # A language specific compiler.
   22172 CC=$lt_compiler
   22173 
   22174 # Is the compiler the GNU compiler?
   22175 with_gcc=$GCC
   22176 
   22177 # Compiler flag to turn off builtin functions.
   22178 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22179 
   22180 # Additional compiler flags for building library objects.
   22181 pic_flag=$lt_lt_prog_compiler_pic
   22182 
   22183 # How to pass a linker flag through the compiler.
   22184 wl=$lt_lt_prog_compiler_wl
   22185 
   22186 # Compiler flag to prevent dynamic linking.
   22187 link_static_flag=$lt_lt_prog_compiler_static
   22188 
   22189 # Does compiler simultaneously support -c and -o options?
   22190 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22191 
   22192 # Whether or not to add -lc for building shared libraries.
   22193 build_libtool_need_lc=$archive_cmds_need_lc
   22194 
   22195 # Whether or not to disallow shared libs when runtime libs are static.
   22196 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22197 
   22198 # Compiler flag to allow reflexive dlopens.
   22199 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22200 
   22201 # Compiler flag to generate shared objects directly from archives.
   22202 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22203 
   22204 # Whether the compiler copes with passing no objects directly.
   22205 compiler_needs_object=$lt_compiler_needs_object
   22206 
   22207 # Create an old-style archive from a shared archive.
   22208 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22209 
   22210 # Create a temporary old-style archive to link instead of a shared archive.
   22211 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22212 
   22213 # Commands used to build a shared archive.
   22214 archive_cmds=$lt_archive_cmds
   22215 archive_expsym_cmds=$lt_archive_expsym_cmds
   22216 
   22217 # Commands used to build a loadable module if different from building
   22218 # a shared archive.
   22219 module_cmds=$lt_module_cmds
   22220 module_expsym_cmds=$lt_module_expsym_cmds
   22221 
   22222 # Whether we are building with GNU ld or not.
   22223 with_gnu_ld=$lt_with_gnu_ld
   22224 
   22225 # Flag that allows shared libraries with undefined symbols to be built.
   22226 allow_undefined_flag=$lt_allow_undefined_flag
   22227 
   22228 # Flag that enforces no undefined symbols.
   22229 no_undefined_flag=$lt_no_undefined_flag
   22230 
   22231 # Flag to hardcode \$libdir into a binary during linking.
   22232 # This must work even if \$libdir does not exist
   22233 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22234 
   22235 # Whether we need a single "-rpath" flag with a separated argument.
   22236 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22237 
   22238 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22239 # DIR into the resulting binary.
   22240 hardcode_direct=$hardcode_direct
   22241 
   22242 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22243 # DIR into the resulting binary and the resulting library dependency is
   22244 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22245 # library is relocated.
   22246 hardcode_direct_absolute=$hardcode_direct_absolute
   22247 
   22248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22249 # into the resulting binary.
   22250 hardcode_minus_L=$hardcode_minus_L
   22251 
   22252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22253 # into the resulting binary.
   22254 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22255 
   22256 # Set to "yes" if building a shared library automatically hardcodes DIR
   22257 # into the library and all subsequent libraries and executables linked
   22258 # against it.
   22259 hardcode_automatic=$hardcode_automatic
   22260 
   22261 # Set to yes if linker adds runtime paths of dependent libraries
   22262 # to runtime path list.
   22263 inherit_rpath=$inherit_rpath
   22264 
   22265 # Whether libtool must link a program against all its dependency libraries.
   22266 link_all_deplibs=$link_all_deplibs
   22267 
   22268 # Set to "yes" if exported symbols are required.
   22269 always_export_symbols=$always_export_symbols
   22270 
   22271 # The commands to list exported symbols.
   22272 export_symbols_cmds=$lt_export_symbols_cmds
   22273 
   22274 # Symbols that should not be listed in the preloaded symbols.
   22275 exclude_expsyms=$lt_exclude_expsyms
   22276 
   22277 # Symbols that must always be exported.
   22278 include_expsyms=$lt_include_expsyms
   22279 
   22280 # Commands necessary for linking programs (against libraries) with templates.
   22281 prelink_cmds=$lt_prelink_cmds
   22282 
   22283 # Commands necessary for finishing linking programs.
   22284 postlink_cmds=$lt_postlink_cmds
   22285 
   22286 # Specify filename containing input files.
   22287 file_list_spec=$lt_file_list_spec
   22288 
   22289 # How to hardcode a shared library path into an executable.
   22290 hardcode_action=$hardcode_action
   22291 
   22292 # ### END LIBTOOL CONFIG
   22293 
   22294 _LT_EOF
   22295 
   22296     cat <<'_LT_EOF' >> "$cfgfile"
   22297 
   22298 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22299 
   22300 # func_munge_path_list VARIABLE PATH
   22301 # -----------------------------------
   22302 # VARIABLE is name of variable containing _space_ separated list of
   22303 # directories to be munged by the contents of PATH, which is string
   22304 # having a format:
   22305 # "DIR[:DIR]:"
   22306 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22307 # ":DIR[:DIR]"
   22308 #       string "DIR[ DIR]" will be appended to VARIABLE
   22309 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22310 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22311 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22312 # "DIR[:DIR]"
   22313 #       VARIABLE will be replaced by "DIR[ DIR]"
   22314 func_munge_path_list ()
   22315 {
   22316     case x$2 in
   22317     x)
   22318         ;;
   22319     *:)
   22320         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22321         ;;
   22322     x:*)
   22323         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22324         ;;
   22325     *::*)
   22326         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22327         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22328         ;;
   22329     *)
   22330         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22331         ;;
   22332     esac
   22333 }
   22334 
   22335 
   22336 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22337 func_cc_basename ()
   22338 {
   22339     for cc_temp in $*""; do
   22340       case $cc_temp in
   22341         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22342         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22343         \-*) ;;
   22344         *) break;;
   22345       esac
   22346     done
   22347     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22348 }
   22349 
   22350 
   22351 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22352 
   22353 _LT_EOF
   22354 
   22355   case $host_os in
   22356   aix3*)
   22357     cat <<\_LT_EOF >> "$cfgfile"
   22358 # AIX sometimes has problems with the GCC collect2 program.  For some
   22359 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22360 # vanish in a puff of smoke.
   22361 if test set != "${COLLECT_NAMES+set}"; then
   22362   COLLECT_NAMES=
   22363   export COLLECT_NAMES
   22364 fi
   22365 _LT_EOF
   22366     ;;
   22367   esac
   22368 
   22369 
   22370 
   22371 ltmain=$ac_aux_dir/ltmain.sh
   22372 
   22373 
   22374   # We use sed instead of cat because bash on DJGPP gets confused if
   22375   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22376   # text mode, it properly converts lines to CR/LF.  This bash problem
   22377   # is reportedly fixed, but why not run on old versions too?
   22378   $SED '$q' "$ltmain" >> "$cfgfile" \
   22379      || (rm -f "$cfgfile"; exit 1)
   22380 
   22381    mv -f "$cfgfile" "$ofile" ||
   22382     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22383   chmod +x "$ofile"
   22384 
   22385  ;;
   22386 
   22387   esac
   22388 done # for ac_tag
   22389 
   22390 
   22391 as_fn_exit 0
   22392 _ACEOF
   22393 ac_clean_files=$ac_clean_files_save
   22394 
   22395 test $ac_write_fail = 0 ||
   22396   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22397 
   22398 
   22399 # configure is writing to config.log, and then calls config.status.
   22400 # config.status does its own redirection, appending to config.log.
   22401 # Unfortunately, on DOS this fails, as config.log is still kept open
   22402 # by configure, so config.status won't be able to write to it; its
   22403 # output is simply discarded.  So we exec the FD to /dev/null,
   22404 # effectively closing config.log, so it can be properly (re)opened and
   22405 # appended to by config.status.  When coming back to configure, we
   22406 # need to make the FD available again.
   22407 if test "$no_create" != yes; then
   22408   ac_cs_success=:
   22409   ac_config_status_args=
   22410   test "$silent" = yes &&
   22411     ac_config_status_args="$ac_config_status_args --quiet"
   22412   exec 5>/dev/null
   22413   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22414   exec 5>>config.log
   22415   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22416   # would make configure fail if this is the last instruction.
   22417   $ac_cs_success || as_fn_exit 1
   22418 fi
   22419 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22421 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22422 fi
   22423 
   22424 
   22425