Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXt 1.3.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxt/-/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/libxt/-/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='libXt'
    684 PACKAGE_TARNAME='libXt'
    685 PACKAGE_VERSION='1.3.0'
    686 PACKAGE_STRING='libXt 1.3.0'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxt/-/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 ERRORDBDIR
    728 STRINGSABIOPTIONS
    729 appdefaultdir
    730 XFILESEARCHPATHDEFAULT
    731 HAVE_GLIB_FALSE
    732 HAVE_GLIB_TRUE
    733 GLIB_LIBS
    734 GLIB_CFLAGS
    735 ENABLE_UNIT_TESTS_FALSE
    736 ENABLE_UNIT_TESTS_TRUE
    737 XORG_MALLOC_DEBUG_ENV
    738 LDFLAGS_FOR_BUILD
    739 CFLAGS_FOR_BUILD
    740 CPPFLAGS_FOR_BUILD
    741 CC_FOR_BUILD
    742 XT_LIBS
    743 XT_CFLAGS
    744 HAVE_PERL_FALSE
    745 HAVE_PERL_TRUE
    746 PERL
    747 TRADITIONALCPPFLAGS
    748 RAWCPPFLAGS
    749 RAWCPP
    750 CPP
    751 HAVE_STYLESHEETS_FALSE
    752 HAVE_STYLESHEETS_TRUE
    753 XSL_STYLESHEET
    754 STYLESHEET_SRCDIR
    755 XORG_SGML_PATH
    756 HAVE_XSLTPROC_FALSE
    757 HAVE_XSLTPROC_TRUE
    758 XSLTPROC
    759 HAVE_FOP_FALSE
    760 HAVE_FOP_TRUE
    761 FOP
    762 HAVE_XMLTO_FALSE
    763 HAVE_XMLTO_TRUE
    764 HAVE_XMLTO_TEXT_FALSE
    765 HAVE_XMLTO_TEXT_TRUE
    766 XMLTO
    767 ENABLE_SPECS_FALSE
    768 ENABLE_SPECS_TRUE
    769 XTMALLOC_ZERO_CFLAGS
    770 XMALLOC_ZERO_CFLAGS
    771 MALLOC_ZERO_CFLAGS
    772 MAN_SUBSTS
    773 XORG_MAN_PAGE
    774 ADMIN_MAN_DIR
    775 DRIVER_MAN_DIR
    776 MISC_MAN_DIR
    777 FILE_MAN_DIR
    778 LIB_MAN_DIR
    779 APP_MAN_DIR
    780 ADMIN_MAN_SUFFIX
    781 DRIVER_MAN_SUFFIX
    782 MISC_MAN_SUFFIX
    783 FILE_MAN_SUFFIX
    784 LIB_MAN_SUFFIX
    785 APP_MAN_SUFFIX
    786 INSTALL_CMD
    787 PKG_CONFIG_LIBDIR
    788 PKG_CONFIG_PATH
    789 PKG_CONFIG
    790 CHANGELOG_CMD
    791 STRICT_CFLAGS
    792 CWARNFLAGS
    793 BASE_CFLAGS
    794 LT_SYS_LIBRARY_PATH
    795 OTOOL64
    796 OTOOL
    797 LIPO
    798 NMEDIT
    799 DSYMUTIL
    800 MANIFEST_TOOL
    801 RANLIB
    802 ac_ct_AR
    803 AR
    804 DLLTOOL
    805 OBJDUMP
    806 FILECMD
    807 LN_S
    808 NM
    809 ac_ct_DUMPBIN
    810 DUMPBIN
    811 LD
    812 FGREP
    813 EGREP
    814 GREP
    815 SED
    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__fastdepCC_FALSE
    833 am__fastdepCC_TRUE
    834 CCDEPMODE
    835 am__nodep
    836 AMDEPBACKSLASH
    837 AMDEP_FALSE
    838 AMDEP_TRUE
    839 am__include
    840 DEPDIR
    841 am__untar
    842 am__tar
    843 AMTAR
    844 am__leading_dot
    845 SET_MAKE
    846 AWK
    847 mkdir_p
    848 MKDIR_P
    849 INSTALL_STRIP_PROGRAM
    850 STRIP
    851 install_sh
    852 MAKEINFO
    853 AUTOHEADER
    854 AUTOMAKE
    855 AUTOCONF
    856 ACLOCAL
    857 VERSION
    858 PACKAGE
    859 CYGPATH_W
    860 am__isrc
    861 INSTALL_DATA
    862 INSTALL_SCRIPT
    863 INSTALL_PROGRAM
    864 OBJEXT
    865 EXEEXT
    866 ac_ct_CC
    867 CPPFLAGS
    868 LDFLAGS
    869 CFLAGS
    870 CC
    871 target_alias
    872 host_alias
    873 build_alias
    874 LIBS
    875 ECHO_T
    876 ECHO_N
    877 ECHO_C
    878 DEFS
    879 mandir
    880 localedir
    881 libdir
    882 psdir
    883 pdfdir
    884 dvidir
    885 htmldir
    886 infodir
    887 docdir
    888 oldincludedir
    889 includedir
    890 runstatedir
    891 localstatedir
    892 sharedstatedir
    893 sysconfdir
    894 datadir
    895 datarootdir
    896 libexecdir
    897 sbindir
    898 bindir
    899 program_transform_name
    900 prefix
    901 exec_prefix
    902 PACKAGE_URL
    903 PACKAGE_BUGREPORT
    904 PACKAGE_STRING
    905 PACKAGE_VERSION
    906 PACKAGE_TARNAME
    907 PACKAGE_NAME
    908 PATH_SEPARATOR
    909 SHELL
    910 am__quote'
    911 ac_subst_files=''
    912 ac_user_opts='
    913 enable_option_checking
    914 enable_dependency_tracking
    915 enable_silent_rules
    916 enable_shared
    917 enable_static
    918 with_pic
    919 enable_fast_install
    920 with_aix_soname
    921 with_gnu_ld
    922 with_sysroot
    923 enable_libtool_lock
    924 enable_selective_werror
    925 enable_strict_compilation
    926 enable_malloc0returnsnull
    927 enable_specs
    928 with_xmlto
    929 with_fop
    930 with_xsltproc
    931 with_perl
    932 enable_xkb
    933 enable_const
    934 enable_geo_tattler
    935 enable_unit_tests
    936 with_glib
    937 with_xfile_search_path
    938 with_appdefaultdir
    939 '
    940       ac_precious_vars='build_alias
    941 host_alias
    942 target_alias
    943 CC
    944 CFLAGS
    945 LDFLAGS
    946 LIBS
    947 CPPFLAGS
    948 LT_SYS_LIBRARY_PATH
    949 PKG_CONFIG
    950 PKG_CONFIG_PATH
    951 PKG_CONFIG_LIBDIR
    952 XMLTO
    953 FOP
    954 XSLTPROC
    955 CPP
    956 PERL
    957 XT_CFLAGS
    958 XT_LIBS
    959 XORG_MALLOC_DEBUG_ENV
    960 GLIB_CFLAGS
    961 GLIB_LIBS'
    962 
    963 
    964 # Initialize some variables set by options.
    965 ac_init_help=
    966 ac_init_version=false
    967 ac_unrecognized_opts=
    968 ac_unrecognized_sep=
    969 # The variables have the same names as the options, with
    970 # dashes changed to underlines.
    971 cache_file=/dev/null
    972 exec_prefix=NONE
    973 no_create=
    974 no_recursion=
    975 prefix=NONE
    976 program_prefix=NONE
    977 program_suffix=NONE
    978 program_transform_name=s,x,x,
    979 silent=
    980 site=
    981 srcdir=
    982 verbose=
    983 x_includes=NONE
    984 x_libraries=NONE
    985 
    986 # Installation directory options.
    987 # These are left unexpanded so users can "make install exec_prefix=/foo"
    988 # and all the variables that are supposed to be based on exec_prefix
    989 # by default will actually change.
    990 # Use braces instead of parens because sh, perl, etc. also accept them.
    991 # (The list follows the same order as the GNU Coding Standards.)
    992 bindir='${exec_prefix}/bin'
    993 sbindir='${exec_prefix}/sbin'
    994 libexecdir='${exec_prefix}/libexec'
    995 datarootdir='${prefix}/share'
    996 datadir='${datarootdir}'
    997 sysconfdir='${prefix}/etc'
    998 sharedstatedir='${prefix}/com'
    999 localstatedir='${prefix}/var'
   1000 runstatedir='${localstatedir}/run'
   1001 includedir='${prefix}/include'
   1002 oldincludedir='/usr/include'
   1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1004 infodir='${datarootdir}/info'
   1005 htmldir='${docdir}'
   1006 dvidir='${docdir}'
   1007 pdfdir='${docdir}'
   1008 psdir='${docdir}'
   1009 libdir='${exec_prefix}/lib'
   1010 localedir='${datarootdir}/locale'
   1011 mandir='${datarootdir}/man'
   1012 
   1013 ac_prev=
   1014 ac_dashdash=
   1015 for ac_option
   1016 do
   1017   # If the previous option needs an argument, assign it.
   1018   if test -n "$ac_prev"; then
   1019     eval $ac_prev=\$ac_option
   1020     ac_prev=
   1021     continue
   1022   fi
   1023 
   1024   case $ac_option in
   1025   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1026   *=)   ac_optarg= ;;
   1027   *)    ac_optarg=yes ;;
   1028   esac
   1029 
   1030   case $ac_dashdash$ac_option in
   1031   --)
   1032     ac_dashdash=yes ;;
   1033 
   1034   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1035     ac_prev=bindir ;;
   1036   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1037     bindir=$ac_optarg ;;
   1038 
   1039   -build | --build | --buil | --bui | --bu)
   1040     ac_prev=build_alias ;;
   1041   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1042     build_alias=$ac_optarg ;;
   1043 
   1044   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1045   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1046     ac_prev=cache_file ;;
   1047   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1048   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1049     cache_file=$ac_optarg ;;
   1050 
   1051   --config-cache | -C)
   1052     cache_file=config.cache ;;
   1053 
   1054   -datadir | --datadir | --datadi | --datad)
   1055     ac_prev=datadir ;;
   1056   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1057     datadir=$ac_optarg ;;
   1058 
   1059   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1060   | --dataroo | --dataro | --datar)
   1061     ac_prev=datarootdir ;;
   1062   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1063   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1064     datarootdir=$ac_optarg ;;
   1065 
   1066   -disable-* | --disable-*)
   1067     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   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--disable-$ac_useropt_orig"
   1078 	 ac_unrecognized_sep=', ';;
   1079     esac
   1080     eval enable_$ac_useropt=no ;;
   1081 
   1082   -docdir | --docdir | --docdi | --doc | --do)
   1083     ac_prev=docdir ;;
   1084   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1085     docdir=$ac_optarg ;;
   1086 
   1087   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1088     ac_prev=dvidir ;;
   1089   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1090     dvidir=$ac_optarg ;;
   1091 
   1092   -enable-* | --enable-*)
   1093     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1094     # Reject names that are not valid shell variable names.
   1095     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1096       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1097     ac_useropt_orig=$ac_useropt
   1098     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1099     case $ac_user_opts in
   1100       *"
   1101 "enable_$ac_useropt"
   1102 "*) ;;
   1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1104 	 ac_unrecognized_sep=', ';;
   1105     esac
   1106     eval enable_$ac_useropt=\$ac_optarg ;;
   1107 
   1108   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1109   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1110   | --exec | --exe | --ex)
   1111     ac_prev=exec_prefix ;;
   1112   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1113   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1114   | --exec=* | --exe=* | --ex=*)
   1115     exec_prefix=$ac_optarg ;;
   1116 
   1117   -gas | --gas | --ga | --g)
   1118     # Obsolete; use --with-gas.
   1119     with_gas=yes ;;
   1120 
   1121   -help | --help | --hel | --he | -h)
   1122     ac_init_help=long ;;
   1123   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1124     ac_init_help=recursive ;;
   1125   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1126     ac_init_help=short ;;
   1127 
   1128   -host | --host | --hos | --ho)
   1129     ac_prev=host_alias ;;
   1130   -host=* | --host=* | --hos=* | --ho=*)
   1131     host_alias=$ac_optarg ;;
   1132 
   1133   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1134     ac_prev=htmldir ;;
   1135   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1136   | --ht=*)
   1137     htmldir=$ac_optarg ;;
   1138 
   1139   -includedir | --includedir | --includedi | --included | --include \
   1140   | --includ | --inclu | --incl | --inc)
   1141     ac_prev=includedir ;;
   1142   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1143   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1144     includedir=$ac_optarg ;;
   1145 
   1146   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1147     ac_prev=infodir ;;
   1148   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1149     infodir=$ac_optarg ;;
   1150 
   1151   -libdir | --libdir | --libdi | --libd)
   1152     ac_prev=libdir ;;
   1153   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1154     libdir=$ac_optarg ;;
   1155 
   1156   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1157   | --libexe | --libex | --libe)
   1158     ac_prev=libexecdir ;;
   1159   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1160   | --libexe=* | --libex=* | --libe=*)
   1161     libexecdir=$ac_optarg ;;
   1162 
   1163   -localedir | --localedir | --localedi | --localed | --locale)
   1164     ac_prev=localedir ;;
   1165   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1166     localedir=$ac_optarg ;;
   1167 
   1168   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1169   | --localstate | --localstat | --localsta | --localst | --locals)
   1170     ac_prev=localstatedir ;;
   1171   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1172   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1173     localstatedir=$ac_optarg ;;
   1174 
   1175   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1176     ac_prev=mandir ;;
   1177   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1178     mandir=$ac_optarg ;;
   1179 
   1180   -nfp | --nfp | --nf)
   1181     # Obsolete; use --without-fp.
   1182     with_fp=no ;;
   1183 
   1184   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1185   | --no-cr | --no-c | -n)
   1186     no_create=yes ;;
   1187 
   1188   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1189   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1190     no_recursion=yes ;;
   1191 
   1192   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1193   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1194   | --oldin | --oldi | --old | --ol | --o)
   1195     ac_prev=oldincludedir ;;
   1196   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1197   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1198   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1199     oldincludedir=$ac_optarg ;;
   1200 
   1201   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1202     ac_prev=prefix ;;
   1203   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1204     prefix=$ac_optarg ;;
   1205 
   1206   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1207   | --program-pre | --program-pr | --program-p)
   1208     ac_prev=program_prefix ;;
   1209   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1210   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1211     program_prefix=$ac_optarg ;;
   1212 
   1213   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1214   | --program-suf | --program-su | --program-s)
   1215     ac_prev=program_suffix ;;
   1216   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1217   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1218     program_suffix=$ac_optarg ;;
   1219 
   1220   -program-transform-name | --program-transform-name \
   1221   | --program-transform-nam | --program-transform-na \
   1222   | --program-transform-n | --program-transform- \
   1223   | --program-transform | --program-transfor \
   1224   | --program-transfo | --program-transf \
   1225   | --program-trans | --program-tran \
   1226   | --progr-tra | --program-tr | --program-t)
   1227     ac_prev=program_transform_name ;;
   1228   -program-transform-name=* | --program-transform-name=* \
   1229   | --program-transform-nam=* | --program-transform-na=* \
   1230   | --program-transform-n=* | --program-transform-=* \
   1231   | --program-transform=* | --program-transfor=* \
   1232   | --program-transfo=* | --program-transf=* \
   1233   | --program-trans=* | --program-tran=* \
   1234   | --progr-tra=* | --program-tr=* | --program-t=*)
   1235     program_transform_name=$ac_optarg ;;
   1236 
   1237   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1238     ac_prev=pdfdir ;;
   1239   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1240     pdfdir=$ac_optarg ;;
   1241 
   1242   -psdir | --psdir | --psdi | --psd | --ps)
   1243     ac_prev=psdir ;;
   1244   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1245     psdir=$ac_optarg ;;
   1246 
   1247   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1248   | -silent | --silent | --silen | --sile | --sil)
   1249     silent=yes ;;
   1250 
   1251   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1252   | --runstate | --runstat | --runsta | --runst | --runs \
   1253   | --run | --ru | --r)
   1254     ac_prev=runstatedir ;;
   1255   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1256   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1257   | --run=* | --ru=* | --r=*)
   1258     runstatedir=$ac_optarg ;;
   1259 
   1260   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1261     ac_prev=sbindir ;;
   1262   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1263   | --sbi=* | --sb=*)
   1264     sbindir=$ac_optarg ;;
   1265 
   1266   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1267   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1268   | --sharedst | --shareds | --shared | --share | --shar \
   1269   | --sha | --sh)
   1270     ac_prev=sharedstatedir ;;
   1271   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1272   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1273   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1274   | --sha=* | --sh=*)
   1275     sharedstatedir=$ac_optarg ;;
   1276 
   1277   -site | --site | --sit)
   1278     ac_prev=site ;;
   1279   -site=* | --site=* | --sit=*)
   1280     site=$ac_optarg ;;
   1281 
   1282   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1283     ac_prev=srcdir ;;
   1284   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1285     srcdir=$ac_optarg ;;
   1286 
   1287   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1288   | --syscon | --sysco | --sysc | --sys | --sy)
   1289     ac_prev=sysconfdir ;;
   1290   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1291   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1292     sysconfdir=$ac_optarg ;;
   1293 
   1294   -target | --target | --targe | --targ | --tar | --ta | --t)
   1295     ac_prev=target_alias ;;
   1296   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1297     target_alias=$ac_optarg ;;
   1298 
   1299   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1300     verbose=yes ;;
   1301 
   1302   -version | --version | --versio | --versi | --vers | -V)
   1303     ac_init_version=: ;;
   1304 
   1305   -with-* | --with-*)
   1306     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1307     # Reject names that are not valid shell variable names.
   1308     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1309       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1310     ac_useropt_orig=$ac_useropt
   1311     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1312     case $ac_user_opts in
   1313       *"
   1314 "with_$ac_useropt"
   1315 "*) ;;
   1316       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1317 	 ac_unrecognized_sep=', ';;
   1318     esac
   1319     eval with_$ac_useropt=\$ac_optarg ;;
   1320 
   1321   -without-* | --without-*)
   1322     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1323     # Reject names that are not valid shell variable names.
   1324     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1325       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1326     ac_useropt_orig=$ac_useropt
   1327     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1328     case $ac_user_opts in
   1329       *"
   1330 "with_$ac_useropt"
   1331 "*) ;;
   1332       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1333 	 ac_unrecognized_sep=', ';;
   1334     esac
   1335     eval with_$ac_useropt=no ;;
   1336 
   1337   --x)
   1338     # Obsolete; use --with-x.
   1339     with_x=yes ;;
   1340 
   1341   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1342   | --x-incl | --x-inc | --x-in | --x-i)
   1343     ac_prev=x_includes ;;
   1344   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1345   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1346     x_includes=$ac_optarg ;;
   1347 
   1348   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1349   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1350     ac_prev=x_libraries ;;
   1351   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1352   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1353     x_libraries=$ac_optarg ;;
   1354 
   1355   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1356 Try \`$0 --help' for more information"
   1357     ;;
   1358 
   1359   *=*)
   1360     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1361     # Reject names that are not valid shell variable names.
   1362     case $ac_envvar in #(
   1363       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1364       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1365     esac
   1366     eval $ac_envvar=\$ac_optarg
   1367     export $ac_envvar ;;
   1368 
   1369   *)
   1370     # FIXME: should be removed in autoconf 3.0.
   1371     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1372     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1373       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1374     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1375     ;;
   1376 
   1377   esac
   1378 done
   1379 
   1380 if test -n "$ac_prev"; then
   1381   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1382   as_fn_error $? "missing argument to $ac_option"
   1383 fi
   1384 
   1385 if test -n "$ac_unrecognized_opts"; then
   1386   case $enable_option_checking in
   1387     no) ;;
   1388     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1389     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1390   esac
   1391 fi
   1392 
   1393 # Check all directory arguments for consistency.
   1394 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1395 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1396 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1397 		libdir localedir mandir runstatedir
   1398 do
   1399   eval ac_val=\$$ac_var
   1400   # Remove trailing slashes.
   1401   case $ac_val in
   1402     */ )
   1403       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1404       eval $ac_var=\$ac_val;;
   1405   esac
   1406   # Be sure to have absolute directory names.
   1407   case $ac_val in
   1408     [\\/$]* | ?:[\\/]* )  continue;;
   1409     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1410   esac
   1411   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1412 done
   1413 
   1414 # There might be people who depend on the old broken behavior: `$host'
   1415 # used to hold the argument of --host etc.
   1416 # FIXME: To remove some day.
   1417 build=$build_alias
   1418 host=$host_alias
   1419 target=$target_alias
   1420 
   1421 # FIXME: To remove some day.
   1422 if test "x$host_alias" != x; then
   1423   if test "x$build_alias" = x; then
   1424     cross_compiling=maybe
   1425   elif test "x$build_alias" != "x$host_alias"; then
   1426     cross_compiling=yes
   1427   fi
   1428 fi
   1429 
   1430 ac_tool_prefix=
   1431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1432 
   1433 test "$silent" = yes && exec 6>/dev/null
   1434 
   1435 
   1436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1437 ac_ls_di=`ls -di .` &&
   1438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1439   as_fn_error $? "working directory cannot be determined"
   1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1441   as_fn_error $? "pwd does not report name of working directory"
   1442 
   1443 
   1444 # Find the source files, if location was not specified.
   1445 if test -z "$srcdir"; then
   1446   ac_srcdir_defaulted=yes
   1447   # Try the directory containing this script, then the parent directory.
   1448   ac_confdir=`$as_dirname -- "$as_myself" ||
   1449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1450 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1451 	 X"$as_myself" : 'X\(//\)$' \| \
   1452 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1453 printf "%s\n" X"$as_myself" |
   1454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  /^X\(\/\/\)[^/].*/{
   1459 	    s//\1/
   1460 	    q
   1461 	  }
   1462 	  /^X\(\/\/\)$/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  /^X\(\/\).*/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  s/.*/./; q'`
   1471   srcdir=$ac_confdir
   1472   if test ! -r "$srcdir/$ac_unique_file"; then
   1473     srcdir=..
   1474   fi
   1475 else
   1476   ac_srcdir_defaulted=no
   1477 fi
   1478 if test ! -r "$srcdir/$ac_unique_file"; then
   1479   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1480   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1481 fi
   1482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1483 ac_abs_confdir=`(
   1484 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1485 	pwd)`
   1486 # When building in place, set srcdir=.
   1487 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1488   srcdir=.
   1489 fi
   1490 # Remove unnecessary trailing slashes from srcdir.
   1491 # Double slashes in file names in object file debugging info
   1492 # mess up M-x gdb in Emacs.
   1493 case $srcdir in
   1494 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1495 esac
   1496 for ac_var in $ac_precious_vars; do
   1497   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1498   eval ac_env_${ac_var}_value=\$${ac_var}
   1499   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1500   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1501 done
   1502 
   1503 #
   1504 # Report the --help message.
   1505 #
   1506 if test "$ac_init_help" = "long"; then
   1507   # Omit some internal or obsolete options to make the list less imposing.
   1508   # This message is too long to be a string in the A/UX 3.1 sh.
   1509   cat <<_ACEOF
   1510 \`configure' configures libXt 1.3.0 to adapt to many kinds of systems.
   1511 
   1512 Usage: $0 [OPTION]... [VAR=VALUE]...
   1513 
   1514 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1515 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1516 
   1517 Defaults for the options are specified in brackets.
   1518 
   1519 Configuration:
   1520   -h, --help              display this help and exit
   1521       --help=short        display options specific to this package
   1522       --help=recursive    display the short help of all the included packages
   1523   -V, --version           display version information and exit
   1524   -q, --quiet, --silent   do not print \`checking ...' messages
   1525       --cache-file=FILE   cache test results in FILE [disabled]
   1526   -C, --config-cache      alias for \`--cache-file=config.cache'
   1527   -n, --no-create         do not create output files
   1528       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1529 
   1530 Installation directories:
   1531   --prefix=PREFIX         install architecture-independent files in PREFIX
   1532                           [$ac_default_prefix]
   1533   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1534                           [PREFIX]
   1535 
   1536 By default, \`make install' will install all the files in
   1537 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1538 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1539 for instance \`--prefix=\$HOME'.
   1540 
   1541 For better control, use the options below.
   1542 
   1543 Fine tuning of the installation directories:
   1544   --bindir=DIR            user executables [EPREFIX/bin]
   1545   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1546   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1547   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1548   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1549   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1550   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1551   --libdir=DIR            object code libraries [EPREFIX/lib]
   1552   --includedir=DIR        C header files [PREFIX/include]
   1553   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1554   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1555   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1556   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1557   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1558   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1559   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXt]
   1560   --htmldir=DIR           html documentation [DOCDIR]
   1561   --dvidir=DIR            dvi documentation [DOCDIR]
   1562   --pdfdir=DIR            pdf documentation [DOCDIR]
   1563   --psdir=DIR             ps documentation [DOCDIR]
   1564 _ACEOF
   1565 
   1566   cat <<\_ACEOF
   1567 
   1568 Program names:
   1569   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1570   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1571   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1572 
   1573 System types:
   1574   --build=BUILD     configure for building on BUILD [guessed]
   1575   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1576 _ACEOF
   1577 fi
   1578 
   1579 if test -n "$ac_init_help"; then
   1580   case $ac_init_help in
   1581      short | recursive ) echo "Configuration of libXt 1.3.0:";;
   1582    esac
   1583   cat <<\_ACEOF
   1584 
   1585 Optional Features:
   1586   --disable-option-checking  ignore unrecognized --enable/--with options
   1587   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1588   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1589   --enable-dependency-tracking
   1590                           do not reject slow dependency extractors
   1591   --disable-dependency-tracking
   1592                           speeds up one-time build
   1593   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1594   --disable-silent-rules  verbose build output (undo: "make V=0")
   1595   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1596   --enable-static[=PKGS]  build static libraries [default=yes]
   1597   --enable-fast-install[=PKGS]
   1598                           optimize for fast installation [default=yes]
   1599   --disable-libtool-lock  avoid locking (might break parallel builds)
   1600   --disable-selective-werror
   1601                           Turn off selective compiler errors. (default:
   1602                           enabled)
   1603   --enable-strict-compilation
   1604                           Enable all warnings from compiler and make them
   1605                           errors (default: disabled)
   1606   --enable-malloc0returnsnull
   1607                           malloc(0) returns NULL (default: auto)
   1608   --enable-specs          Enable building the specs (default: yes)
   1609   --disable-xkb           Disable XKB support
   1610   --disable-const         Disable const-support
   1611   --enable-geo-tattler    Enable geo-tattler traces
   1612   --enable-unit-tests     Enable building unit test cases (default: auto)
   1613 
   1614 Optional Packages:
   1615   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1616   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1617   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1618                           both]
   1619   --with-aix-soname=aix|svr4|both
   1620                           shared library versioning (aka "SONAME") variant to
   1621                           provide on AIX, [default=aix].
   1622   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1623   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1624                           compiler's sysroot if not specified).
   1625   --with-xmlto            Use xmlto to regenerate documentation (default:
   1626                           auto)
   1627   --with-fop              Use fop to regenerate documentation (default: auto)
   1628   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1629                           (default: auto)
   1630   --with-perl             Use perl for extracting information from files
   1631                           (default: auto)
   1632   --with-glib             Use GLib library for unit testing (default: auto)
   1633   --with-xfile-search-path=<path>
   1634                           Set path to search for app-defaults and other files
   1635   --with-appdefaultdir=<path>
   1636                           Set app-default directory (default:
   1637                           ${datadir}/X11/app-defaults)
   1638 
   1639 Some influential environment variables:
   1640   CC          C compiler command
   1641   CFLAGS      C compiler flags
   1642   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1643               nonstandard directory <lib dir>
   1644   LIBS        libraries to pass to the linker, e.g. -l<library>
   1645   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1646               you have headers in a nonstandard directory <include dir>
   1647   LT_SYS_LIBRARY_PATH
   1648               User-defined run-time library search path.
   1649   PKG_CONFIG  path to pkg-config utility
   1650   PKG_CONFIG_PATH
   1651               directories to add to pkg-config's search path
   1652   PKG_CONFIG_LIBDIR
   1653               path overriding pkg-config's built-in search path
   1654   XMLTO       Path to xmlto command
   1655   FOP         Path to fop command
   1656   XSLTPROC    Path to xsltproc command
   1657   CPP         C preprocessor
   1658   PERL        Path to perl command
   1659   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1660   XT_LIBS     linker flags for XT, overriding pkg-config
   1661   XORG_MALLOC_DEBUG_ENV
   1662               Environment variables to enable memory checking in tests
   1663   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1664   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1665 
   1666 Use these variables to override the choices made by `configure' or to help
   1667 it to find libraries and programs with nonstandard names/locations.
   1668 
   1669 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/>.
   1670 _ACEOF
   1671 ac_status=$?
   1672 fi
   1673 
   1674 if test "$ac_init_help" = "recursive"; then
   1675   # If there are subdirs, report their specific --help.
   1676   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1677     test -d "$ac_dir" ||
   1678       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1679       continue
   1680     ac_builddir=.
   1681 
   1682 case "$ac_dir" in
   1683 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1684 *)
   1685   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1686   # A ".." for each directory in $ac_dir_suffix.
   1687   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1688   case $ac_top_builddir_sub in
   1689   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1690   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1691   esac ;;
   1692 esac
   1693 ac_abs_top_builddir=$ac_pwd
   1694 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1695 # for backward compatibility:
   1696 ac_top_builddir=$ac_top_build_prefix
   1697 
   1698 case $srcdir in
   1699   .)  # We are building in place.
   1700     ac_srcdir=.
   1701     ac_top_srcdir=$ac_top_builddir_sub
   1702     ac_abs_top_srcdir=$ac_pwd ;;
   1703   [\\/]* | ?:[\\/]* )  # Absolute name.
   1704     ac_srcdir=$srcdir$ac_dir_suffix;
   1705     ac_top_srcdir=$srcdir
   1706     ac_abs_top_srcdir=$srcdir ;;
   1707   *) # Relative name.
   1708     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1709     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1710     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1711 esac
   1712 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1713 
   1714     cd "$ac_dir" || { ac_status=$?; continue; }
   1715     # Check for configure.gnu first; this name is used for a wrapper for
   1716     # Metaconfig's "Configure" on case-insensitive file systems.
   1717     if test -f "$ac_srcdir/configure.gnu"; then
   1718       echo &&
   1719       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1720     elif test -f "$ac_srcdir/configure"; then
   1721       echo &&
   1722       $SHELL "$ac_srcdir/configure" --help=recursive
   1723     else
   1724       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1725     fi || ac_status=$?
   1726     cd "$ac_pwd" || { ac_status=$?; break; }
   1727   done
   1728 fi
   1729 
   1730 test -n "$ac_init_help" && exit $ac_status
   1731 if $ac_init_version; then
   1732   cat <<\_ACEOF
   1733 libXt configure 1.3.0
   1734 generated by GNU Autoconf 2.71
   1735 
   1736 Copyright (C) 2021 Free Software Foundation, Inc.
   1737 This configure script is free software; the Free Software Foundation
   1738 gives unlimited permission to copy, distribute and modify it.
   1739 _ACEOF
   1740   exit
   1741 fi
   1742 
   1743 ## ------------------------ ##
   1744 ## Autoconf initialization. ##
   1745 ## ------------------------ ##
   1746 
   1747 # ac_fn_c_try_compile LINENO
   1748 # --------------------------
   1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1750 ac_fn_c_try_compile ()
   1751 {
   1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1753   rm -f conftest.$ac_objext conftest.beam
   1754   if { { ac_try="$ac_compile"
   1755 case "(($ac_try" in
   1756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1757   *) ac_try_echo=$ac_try;;
   1758 esac
   1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1760 printf "%s\n" "$ac_try_echo"; } >&5
   1761   (eval "$ac_compile") 2>conftest.err
   1762   ac_status=$?
   1763   if test -s conftest.err; then
   1764     grep -v '^ *+' conftest.err >conftest.er1
   1765     cat conftest.er1 >&5
   1766     mv -f conftest.er1 conftest.err
   1767   fi
   1768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1769   test $ac_status = 0; } && {
   1770 	 test -z "$ac_c_werror_flag" ||
   1771 	 test ! -s conftest.err
   1772        } && test -s conftest.$ac_objext
   1773 then :
   1774   ac_retval=0
   1775 else $as_nop
   1776   printf "%s\n" "$as_me: failed program was:" >&5
   1777 sed 's/^/| /' conftest.$ac_ext >&5
   1778 
   1779 	ac_retval=1
   1780 fi
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782   as_fn_set_status $ac_retval
   1783 
   1784 } # ac_fn_c_try_compile
   1785 
   1786 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1787 # -------------------------------------------------------
   1788 # Tests whether HEADER exists and can be compiled using the include files in
   1789 # INCLUDES, setting the cache variable VAR accordingly.
   1790 ac_fn_c_check_header_compile ()
   1791 {
   1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1794 printf %s "checking for $2... " >&6; }
   1795 if eval test \${$3+y}
   1796 then :
   1797   printf %s "(cached) " >&6
   1798 else $as_nop
   1799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1800 /* end confdefs.h.  */
   1801 $4
   1802 #include <$2>
   1803 _ACEOF
   1804 if ac_fn_c_try_compile "$LINENO"
   1805 then :
   1806   eval "$3=yes"
   1807 else $as_nop
   1808   eval "$3=no"
   1809 fi
   1810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1811 fi
   1812 eval ac_res=\$$3
   1813 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1814 printf "%s\n" "$ac_res" >&6; }
   1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1816 
   1817 } # ac_fn_c_check_header_compile
   1818 
   1819 # ac_fn_c_try_link LINENO
   1820 # -----------------------
   1821 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1822 ac_fn_c_try_link ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1826   if { { ac_try="$ac_link"
   1827 case "(($ac_try" in
   1828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1829   *) ac_try_echo=$ac_try;;
   1830 esac
   1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1832 printf "%s\n" "$ac_try_echo"; } >&5
   1833   (eval "$ac_link") 2>conftest.err
   1834   ac_status=$?
   1835   if test -s conftest.err; then
   1836     grep -v '^ *+' conftest.err >conftest.er1
   1837     cat conftest.er1 >&5
   1838     mv -f conftest.er1 conftest.err
   1839   fi
   1840   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1841   test $ac_status = 0; } && {
   1842 	 test -z "$ac_c_werror_flag" ||
   1843 	 test ! -s conftest.err
   1844        } && test -s conftest$ac_exeext && {
   1845 	 test "$cross_compiling" = yes ||
   1846 	 test -x conftest$ac_exeext
   1847        }
   1848 then :
   1849   ac_retval=0
   1850 else $as_nop
   1851   printf "%s\n" "$as_me: failed program was:" >&5
   1852 sed 's/^/| /' conftest.$ac_ext >&5
   1853 
   1854 	ac_retval=1
   1855 fi
   1856   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1857   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1858   # interfere with the next link command; also delete a directory that is
   1859   # left behind by Apple's compiler.  We do this before executing the actions.
   1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862   as_fn_set_status $ac_retval
   1863 
   1864 } # ac_fn_c_try_link
   1865 
   1866 # ac_fn_c_check_func LINENO FUNC VAR
   1867 # ----------------------------------
   1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1869 ac_fn_c_check_func ()
   1870 {
   1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1873 printf %s "checking for $2... " >&6; }
   1874 if eval test \${$3+y}
   1875 then :
   1876   printf %s "(cached) " >&6
   1877 else $as_nop
   1878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1879 /* end confdefs.h.  */
   1880 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1882 #define $2 innocuous_$2
   1883 
   1884 /* System header to define __stub macros and hopefully few prototypes,
   1885    which can conflict with char $2 (); below.  */
   1886 
   1887 #include <limits.h>
   1888 #undef $2
   1889 
   1890 /* Override any GCC internal prototype to avoid an error.
   1891    Use char because int might match the return type of a GCC
   1892    builtin and then its argument prototype would still apply.  */
   1893 #ifdef __cplusplus
   1894 extern "C"
   1895 #endif
   1896 char $2 ();
   1897 /* The GNU C library defines this for functions which it implements
   1898     to always fail with ENOSYS.  Some functions are actually named
   1899     something starting with __ and the normal name is an alias.  */
   1900 #if defined __stub_$2 || defined __stub___$2
   1901 choke me
   1902 #endif
   1903 
   1904 int
   1905 main (void)
   1906 {
   1907 return $2 ();
   1908   ;
   1909   return 0;
   1910 }
   1911 _ACEOF
   1912 if ac_fn_c_try_link "$LINENO"
   1913 then :
   1914   eval "$3=yes"
   1915 else $as_nop
   1916   eval "$3=no"
   1917 fi
   1918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1919     conftest$ac_exeext conftest.$ac_ext
   1920 fi
   1921 eval ac_res=\$$3
   1922 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1923 printf "%s\n" "$ac_res" >&6; }
   1924   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1925 
   1926 } # ac_fn_c_check_func
   1927 
   1928 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1929 # ------------------------------------------------------------------
   1930 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1931 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1932 ac_fn_check_decl ()
   1933 {
   1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1935   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1937 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1938 if eval test \${$3+y}
   1939 then :
   1940   printf %s "(cached) " >&6
   1941 else $as_nop
   1942   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1943   eval ac_save_FLAGS=\$$6
   1944   as_fn_append $6 " $5"
   1945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1946 /* end confdefs.h.  */
   1947 $4
   1948 int
   1949 main (void)
   1950 {
   1951 #ifndef $as_decl_name
   1952 #ifdef __cplusplus
   1953   (void) $as_decl_use;
   1954 #else
   1955   (void) $as_decl_name;
   1956 #endif
   1957 #endif
   1958 
   1959   ;
   1960   return 0;
   1961 }
   1962 _ACEOF
   1963 if ac_fn_c_try_compile "$LINENO"
   1964 then :
   1965   eval "$3=yes"
   1966 else $as_nop
   1967   eval "$3=no"
   1968 fi
   1969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1970   eval $6=\$ac_save_FLAGS
   1971 
   1972 fi
   1973 eval ac_res=\$$3
   1974 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1975 printf "%s\n" "$ac_res" >&6; }
   1976   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1977 
   1978 } # ac_fn_check_decl
   1979 
   1980 # ac_fn_c_try_run LINENO
   1981 # ----------------------
   1982 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1983 # executables *can* be run.
   1984 ac_fn_c_try_run ()
   1985 {
   1986   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1987   if { { ac_try="$ac_link"
   1988 case "(($ac_try" in
   1989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1990   *) ac_try_echo=$ac_try;;
   1991 esac
   1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1993 printf "%s\n" "$ac_try_echo"; } >&5
   1994   (eval "$ac_link") 2>&5
   1995   ac_status=$?
   1996   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1997   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1998   { { case "(($ac_try" in
   1999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2000   *) ac_try_echo=$ac_try;;
   2001 esac
   2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2003 printf "%s\n" "$ac_try_echo"; } >&5
   2004   (eval "$ac_try") 2>&5
   2005   ac_status=$?
   2006   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2007   test $ac_status = 0; }; }
   2008 then :
   2009   ac_retval=0
   2010 else $as_nop
   2011   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2012        printf "%s\n" "$as_me: failed program was:" >&5
   2013 sed 's/^/| /' conftest.$ac_ext >&5
   2014 
   2015        ac_retval=$ac_status
   2016 fi
   2017   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2018   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2019   as_fn_set_status $ac_retval
   2020 
   2021 } # ac_fn_c_try_run
   2022 
   2023 # ac_fn_c_try_cpp LINENO
   2024 # ----------------------
   2025 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2026 ac_fn_c_try_cpp ()
   2027 {
   2028   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2029   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2030 case "(($ac_try" in
   2031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2032   *) ac_try_echo=$ac_try;;
   2033 esac
   2034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2035 printf "%s\n" "$ac_try_echo"; } >&5
   2036   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2037   ac_status=$?
   2038   if test -s conftest.err; then
   2039     grep -v '^ *+' conftest.err >conftest.er1
   2040     cat conftest.er1 >&5
   2041     mv -f conftest.er1 conftest.err
   2042   fi
   2043   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2044   test $ac_status = 0; } > conftest.i && {
   2045 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2046 	 test ! -s conftest.err
   2047        }
   2048 then :
   2049   ac_retval=0
   2050 else $as_nop
   2051   printf "%s\n" "$as_me: failed program was:" >&5
   2052 sed 's/^/| /' conftest.$ac_ext >&5
   2053 
   2054     ac_retval=1
   2055 fi
   2056   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2057   as_fn_set_status $ac_retval
   2058 
   2059 } # ac_fn_c_try_cpp
   2060 ac_configure_args_raw=
   2061 for ac_arg
   2062 do
   2063   case $ac_arg in
   2064   *\'*)
   2065     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2066   esac
   2067   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2068 done
   2069 
   2070 case $ac_configure_args_raw in
   2071   *$as_nl*)
   2072     ac_safe_unquote= ;;
   2073   *)
   2074     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2075     ac_unsafe_a="$ac_unsafe_z#~"
   2076     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2077     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2078 esac
   2079 
   2080 cat >config.log <<_ACEOF
   2081 This file contains any messages produced by compilers while
   2082 running configure, to aid debugging if configure makes a mistake.
   2083 
   2084 It was created by libXt $as_me 1.3.0, which was
   2085 generated by GNU Autoconf 2.71.  Invocation command line was
   2086 
   2087   $ $0$ac_configure_args_raw
   2088 
   2089 _ACEOF
   2090 exec 5>>config.log
   2091 {
   2092 cat <<_ASUNAME
   2093 ## --------- ##
   2094 ## Platform. ##
   2095 ## --------- ##
   2096 
   2097 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2098 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2099 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2100 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2101 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2102 
   2103 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2104 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2105 
   2106 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2107 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2108 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2109 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2110 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2111 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2112 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2113 
   2114 _ASUNAME
   2115 
   2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2117 for as_dir in $PATH
   2118 do
   2119   IFS=$as_save_IFS
   2120   case $as_dir in #(((
   2121     '') as_dir=./ ;;
   2122     */) ;;
   2123     *) as_dir=$as_dir/ ;;
   2124   esac
   2125     printf "%s\n" "PATH: $as_dir"
   2126   done
   2127 IFS=$as_save_IFS
   2128 
   2129 } >&5
   2130 
   2131 cat >&5 <<_ACEOF
   2132 
   2133 
   2134 ## ----------- ##
   2135 ## Core tests. ##
   2136 ## ----------- ##
   2137 
   2138 _ACEOF
   2139 
   2140 
   2141 # Keep a trace of the command line.
   2142 # Strip out --no-create and --no-recursion so they do not pile up.
   2143 # Strip out --silent because we don't want to record it for future runs.
   2144 # Also quote any args containing shell meta-characters.
   2145 # Make two passes to allow for proper duplicate-argument suppression.
   2146 ac_configure_args=
   2147 ac_configure_args0=
   2148 ac_configure_args1=
   2149 ac_must_keep_next=false
   2150 for ac_pass in 1 2
   2151 do
   2152   for ac_arg
   2153   do
   2154     case $ac_arg in
   2155     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2156     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2157     | -silent | --silent | --silen | --sile | --sil)
   2158       continue ;;
   2159     *\'*)
   2160       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2161     esac
   2162     case $ac_pass in
   2163     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2164     2)
   2165       as_fn_append ac_configure_args1 " '$ac_arg'"
   2166       if test $ac_must_keep_next = true; then
   2167 	ac_must_keep_next=false # Got value, back to normal.
   2168       else
   2169 	case $ac_arg in
   2170 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2171 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2172 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2173 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2174 	    case "$ac_configure_args0 " in
   2175 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2176 	    esac
   2177 	    ;;
   2178 	  -* ) ac_must_keep_next=true ;;
   2179 	esac
   2180       fi
   2181       as_fn_append ac_configure_args " '$ac_arg'"
   2182       ;;
   2183     esac
   2184   done
   2185 done
   2186 { ac_configure_args0=; unset ac_configure_args0;}
   2187 { ac_configure_args1=; unset ac_configure_args1;}
   2188 
   2189 # When interrupted or exit'd, cleanup temporary files, and complete
   2190 # config.log.  We remove comments because anyway the quotes in there
   2191 # would cause problems or look ugly.
   2192 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2193 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2194 trap 'exit_status=$?
   2195   # Sanitize IFS.
   2196   IFS=" ""	$as_nl"
   2197   # Save into config.log some information that might help in debugging.
   2198   {
   2199     echo
   2200 
   2201     printf "%s\n" "## ---------------- ##
   2202 ## Cache variables. ##
   2203 ## ---------------- ##"
   2204     echo
   2205     # The following way of writing the cache mishandles newlines in values,
   2206 (
   2207   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2208     eval ac_val=\$$ac_var
   2209     case $ac_val in #(
   2210     *${as_nl}*)
   2211       case $ac_var in #(
   2212       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2213 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2214       esac
   2215       case $ac_var in #(
   2216       _ | IFS | as_nl) ;; #(
   2217       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2218       *) { eval $ac_var=; unset $ac_var;} ;;
   2219       esac ;;
   2220     esac
   2221   done
   2222   (set) 2>&1 |
   2223     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2224     *${as_nl}ac_space=\ *)
   2225       sed -n \
   2226 	"s/'\''/'\''\\\\'\'''\''/g;
   2227 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2228       ;; #(
   2229     *)
   2230       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2231       ;;
   2232     esac |
   2233     sort
   2234 )
   2235     echo
   2236 
   2237     printf "%s\n" "## ----------------- ##
   2238 ## Output variables. ##
   2239 ## ----------------- ##"
   2240     echo
   2241     for ac_var in $ac_subst_vars
   2242     do
   2243       eval ac_val=\$$ac_var
   2244       case $ac_val in
   2245       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2246       esac
   2247       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2248     done | sort
   2249     echo
   2250 
   2251     if test -n "$ac_subst_files"; then
   2252       printf "%s\n" "## ------------------- ##
   2253 ## File substitutions. ##
   2254 ## ------------------- ##"
   2255       echo
   2256       for ac_var in $ac_subst_files
   2257       do
   2258 	eval ac_val=\$$ac_var
   2259 	case $ac_val in
   2260 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2261 	esac
   2262 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2263       done | sort
   2264       echo
   2265     fi
   2266 
   2267     if test -s confdefs.h; then
   2268       printf "%s\n" "## ----------- ##
   2269 ## confdefs.h. ##
   2270 ## ----------- ##"
   2271       echo
   2272       cat confdefs.h
   2273       echo
   2274     fi
   2275     test "$ac_signal" != 0 &&
   2276       printf "%s\n" "$as_me: caught signal $ac_signal"
   2277     printf "%s\n" "$as_me: exit $exit_status"
   2278   } >&5
   2279   rm -f core *.core core.conftest.* &&
   2280     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2281     exit $exit_status
   2282 ' 0
   2283 for ac_signal in 1 2 13 15; do
   2284   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2285 done
   2286 ac_signal=0
   2287 
   2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2289 rm -f -r conftest* confdefs.h
   2290 
   2291 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2292 
   2293 # Predefined preprocessor variables.
   2294 
   2295 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2296 
   2297 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2298 
   2299 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2300 
   2301 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2302 
   2303 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2304 
   2305 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2306 
   2307 
   2308 # Let the site file select an alternate cache file if it wants to.
   2309 # Prefer an explicitly selected file to automatically selected ones.
   2310 if test -n "$CONFIG_SITE"; then
   2311   ac_site_files="$CONFIG_SITE"
   2312 elif test "x$prefix" != xNONE; then
   2313   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2314 else
   2315   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2316 fi
   2317 
   2318 for ac_site_file in $ac_site_files
   2319 do
   2320   case $ac_site_file in #(
   2321   */*) :
   2322      ;; #(
   2323   *) :
   2324     ac_site_file=./$ac_site_file ;;
   2325 esac
   2326   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2327     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2328 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2329     sed 's/^/| /' "$ac_site_file" >&5
   2330     . "$ac_site_file" \
   2331       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2333 as_fn_error $? "failed to load site script $ac_site_file
   2334 See \`config.log' for more details" "$LINENO" 5; }
   2335   fi
   2336 done
   2337 
   2338 if test -r "$cache_file"; then
   2339   # Some versions of bash will fail to source /dev/null (special files
   2340   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2341   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2342     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2343 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2344     case $cache_file in
   2345       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2346       *)                      . "./$cache_file";;
   2347     esac
   2348   fi
   2349 else
   2350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2351 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2352   >$cache_file
   2353 fi
   2354 
   2355 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2356 # Test code for whether the C compiler supports C89 (global declarations)
   2357 ac_c_conftest_c89_globals='
   2358 /* Does the compiler advertise C89 conformance?
   2359    Do not test the value of __STDC__, because some compilers set it to 0
   2360    while being otherwise adequately conformant. */
   2361 #if !defined __STDC__
   2362 # error "Compiler does not advertise C89 conformance"
   2363 #endif
   2364 
   2365 #include <stddef.h>
   2366 #include <stdarg.h>
   2367 struct stat;
   2368 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2369 struct buf { int x; };
   2370 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2371 static char *e (p, i)
   2372      char **p;
   2373      int i;
   2374 {
   2375   return p[i];
   2376 }
   2377 static char *f (char * (*g) (char **, int), char **p, ...)
   2378 {
   2379   char *s;
   2380   va_list v;
   2381   va_start (v,p);
   2382   s = g (p, va_arg (v,int));
   2383   va_end (v);
   2384   return s;
   2385 }
   2386 
   2387 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2388    function prototypes and stuff, but not \xHH hex character constants.
   2389    These do not provoke an error unfortunately, instead are silently treated
   2390    as an "x".  The following induces an error, until -std is added to get
   2391    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2392    array size at least.  It is necessary to write \x00 == 0 to get something
   2393    that is true only with -std.  */
   2394 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2395 
   2396 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2397    inside strings and character constants.  */
   2398 #define FOO(x) '\''x'\''
   2399 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2400 
   2401 int test (int i, double x);
   2402 struct s1 {int (*f) (int a);};
   2403 struct s2 {int (*f) (double a);};
   2404 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2405                int, int);'
   2406 
   2407 # Test code for whether the C compiler supports C89 (body of main).
   2408 ac_c_conftest_c89_main='
   2409 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2410 '
   2411 
   2412 # Test code for whether the C compiler supports C99 (global declarations)
   2413 ac_c_conftest_c99_globals='
   2414 // Does the compiler advertise C99 conformance?
   2415 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2416 # error "Compiler does not advertise C99 conformance"
   2417 #endif
   2418 
   2419 #include <stdbool.h>
   2420 extern int puts (const char *);
   2421 extern int printf (const char *, ...);
   2422 extern int dprintf (int, const char *, ...);
   2423 extern void *malloc (size_t);
   2424 
   2425 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2426 // dprintf is used instead of fprintf to avoid needing to declare
   2427 // FILE and stderr.
   2428 #define debug(...) dprintf (2, __VA_ARGS__)
   2429 #define showlist(...) puts (#__VA_ARGS__)
   2430 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2431 static void
   2432 test_varargs_macros (void)
   2433 {
   2434   int x = 1234;
   2435   int y = 5678;
   2436   debug ("Flag");
   2437   debug ("X = %d\n", x);
   2438   showlist (The first, second, and third items.);
   2439   report (x>y, "x is %d but y is %d", x, y);
   2440 }
   2441 
   2442 // Check long long types.
   2443 #define BIG64 18446744073709551615ull
   2444 #define BIG32 4294967295ul
   2445 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2446 #if !BIG_OK
   2447   #error "your preprocessor is broken"
   2448 #endif
   2449 #if BIG_OK
   2450 #else
   2451   #error "your preprocessor is broken"
   2452 #endif
   2453 static long long int bignum = -9223372036854775807LL;
   2454 static unsigned long long int ubignum = BIG64;
   2455 
   2456 struct incomplete_array
   2457 {
   2458   int datasize;
   2459   double data[];
   2460 };
   2461 
   2462 struct named_init {
   2463   int number;
   2464   const wchar_t *name;
   2465   double average;
   2466 };
   2467 
   2468 typedef const char *ccp;
   2469 
   2470 static inline int
   2471 test_restrict (ccp restrict text)
   2472 {
   2473   // See if C++-style comments work.
   2474   // Iterate through items via the restricted pointer.
   2475   // Also check for declarations in for loops.
   2476   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2477     continue;
   2478   return 0;
   2479 }
   2480 
   2481 // Check varargs and va_copy.
   2482 static bool
   2483 test_varargs (const char *format, ...)
   2484 {
   2485   va_list args;
   2486   va_start (args, format);
   2487   va_list args_copy;
   2488   va_copy (args_copy, args);
   2489 
   2490   const char *str = "";
   2491   int number = 0;
   2492   float fnumber = 0;
   2493 
   2494   while (*format)
   2495     {
   2496       switch (*format++)
   2497 	{
   2498 	case '\''s'\'': // string
   2499 	  str = va_arg (args_copy, const char *);
   2500 	  break;
   2501 	case '\''d'\'': // int
   2502 	  number = va_arg (args_copy, int);
   2503 	  break;
   2504 	case '\''f'\'': // float
   2505 	  fnumber = va_arg (args_copy, double);
   2506 	  break;
   2507 	default:
   2508 	  break;
   2509 	}
   2510     }
   2511   va_end (args_copy);
   2512   va_end (args);
   2513 
   2514   return *str && number && fnumber;
   2515 }
   2516 '
   2517 
   2518 # Test code for whether the C compiler supports C99 (body of main).
   2519 ac_c_conftest_c99_main='
   2520   // Check bool.
   2521   _Bool success = false;
   2522   success |= (argc != 0);
   2523 
   2524   // Check restrict.
   2525   if (test_restrict ("String literal") == 0)
   2526     success = true;
   2527   char *restrict newvar = "Another string";
   2528 
   2529   // Check varargs.
   2530   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2531   test_varargs_macros ();
   2532 
   2533   // Check flexible array members.
   2534   struct incomplete_array *ia =
   2535     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2536   ia->datasize = 10;
   2537   for (int i = 0; i < ia->datasize; ++i)
   2538     ia->data[i] = i * 1.234;
   2539 
   2540   // Check named initializers.
   2541   struct named_init ni = {
   2542     .number = 34,
   2543     .name = L"Test wide string",
   2544     .average = 543.34343,
   2545   };
   2546 
   2547   ni.number = 58;
   2548 
   2549   int dynamic_array[ni.number];
   2550   dynamic_array[0] = argv[0][0];
   2551   dynamic_array[ni.number - 1] = 543;
   2552 
   2553   // work around unused variable warnings
   2554   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2555 	 || dynamic_array[ni.number - 1] != 543);
   2556 '
   2557 
   2558 # Test code for whether the C compiler supports C11 (global declarations)
   2559 ac_c_conftest_c11_globals='
   2560 // Does the compiler advertise C11 conformance?
   2561 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2562 # error "Compiler does not advertise C11 conformance"
   2563 #endif
   2564 
   2565 // Check _Alignas.
   2566 char _Alignas (double) aligned_as_double;
   2567 char _Alignas (0) no_special_alignment;
   2568 extern char aligned_as_int;
   2569 char _Alignas (0) _Alignas (int) aligned_as_int;
   2570 
   2571 // Check _Alignof.
   2572 enum
   2573 {
   2574   int_alignment = _Alignof (int),
   2575   int_array_alignment = _Alignof (int[100]),
   2576   char_alignment = _Alignof (char)
   2577 };
   2578 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2579 
   2580 // Check _Noreturn.
   2581 int _Noreturn does_not_return (void) { for (;;) continue; }
   2582 
   2583 // Check _Static_assert.
   2584 struct test_static_assert
   2585 {
   2586   int x;
   2587   _Static_assert (sizeof (int) <= sizeof (long int),
   2588                   "_Static_assert does not work in struct");
   2589   long int y;
   2590 };
   2591 
   2592 // Check UTF-8 literals.
   2593 #define u8 syntax error!
   2594 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2595 
   2596 // Check duplicate typedefs.
   2597 typedef long *long_ptr;
   2598 typedef long int *long_ptr;
   2599 typedef long_ptr long_ptr;
   2600 
   2601 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2602 struct anonymous
   2603 {
   2604   union {
   2605     struct { int i; int j; };
   2606     struct { int k; long int l; } w;
   2607   };
   2608   int m;
   2609 } v1;
   2610 '
   2611 
   2612 # Test code for whether the C compiler supports C11 (body of main).
   2613 ac_c_conftest_c11_main='
   2614   _Static_assert ((offsetof (struct anonymous, i)
   2615 		   == offsetof (struct anonymous, w.k)),
   2616 		  "Anonymous union alignment botch");
   2617   v1.i = 2;
   2618   v1.w.k = 5;
   2619   ok |= v1.i != 5;
   2620 '
   2621 
   2622 # Test code for whether the C compiler supports C11 (complete).
   2623 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2624 ${ac_c_conftest_c99_globals}
   2625 ${ac_c_conftest_c11_globals}
   2626 
   2627 int
   2628 main (int argc, char **argv)
   2629 {
   2630   int ok = 0;
   2631   ${ac_c_conftest_c89_main}
   2632   ${ac_c_conftest_c99_main}
   2633   ${ac_c_conftest_c11_main}
   2634   return ok;
   2635 }
   2636 "
   2637 
   2638 # Test code for whether the C compiler supports C99 (complete).
   2639 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2640 ${ac_c_conftest_c99_globals}
   2641 
   2642 int
   2643 main (int argc, char **argv)
   2644 {
   2645   int ok = 0;
   2646   ${ac_c_conftest_c89_main}
   2647   ${ac_c_conftest_c99_main}
   2648   return ok;
   2649 }
   2650 "
   2651 
   2652 # Test code for whether the C compiler supports C89 (complete).
   2653 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2654 
   2655 int
   2656 main (int argc, char **argv)
   2657 {
   2658   int ok = 0;
   2659   ${ac_c_conftest_c89_main}
   2660   return ok;
   2661 }
   2662 "
   2663 
   2664 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2665 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2666 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2667 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2668 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2669 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2670 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2671 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2672 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2673 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2674 
   2675 # Auxiliary files required by this configure script.
   2676 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2677 
   2678 # Locations in which to look for auxiliary files.
   2679 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2680 
   2681 # Search for a directory containing all of the required auxiliary files,
   2682 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2683 # If we don't find one directory that contains all the files we need,
   2684 # we report the set of missing files from the *first* directory in
   2685 # $ac_aux_dir_candidates and give up.
   2686 ac_missing_aux_files=""
   2687 ac_first_candidate=:
   2688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2690 as_found=false
   2691 for as_dir in $ac_aux_dir_candidates
   2692 do
   2693   IFS=$as_save_IFS
   2694   case $as_dir in #(((
   2695     '') as_dir=./ ;;
   2696     */) ;;
   2697     *) as_dir=$as_dir/ ;;
   2698   esac
   2699   as_found=:
   2700 
   2701   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2702   ac_aux_dir_found=yes
   2703   ac_install_sh=
   2704   for ac_aux in $ac_aux_files
   2705   do
   2706     # As a special case, if "install-sh" is required, that requirement
   2707     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2708     # and $ac_install_sh is set appropriately for whichever one is found.
   2709     if test x"$ac_aux" = x"install-sh"
   2710     then
   2711       if test -f "${as_dir}install-sh"; then
   2712         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2713         ac_install_sh="${as_dir}install-sh -c"
   2714       elif test -f "${as_dir}install.sh"; then
   2715         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2716         ac_install_sh="${as_dir}install.sh -c"
   2717       elif test -f "${as_dir}shtool"; then
   2718         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2719         ac_install_sh="${as_dir}shtool install -c"
   2720       else
   2721         ac_aux_dir_found=no
   2722         if $ac_first_candidate; then
   2723           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2724         else
   2725           break
   2726         fi
   2727       fi
   2728     else
   2729       if test -f "${as_dir}${ac_aux}"; then
   2730         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2731       else
   2732         ac_aux_dir_found=no
   2733         if $ac_first_candidate; then
   2734           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2735         else
   2736           break
   2737         fi
   2738       fi
   2739     fi
   2740   done
   2741   if test "$ac_aux_dir_found" = yes; then
   2742     ac_aux_dir="$as_dir"
   2743     break
   2744   fi
   2745   ac_first_candidate=false
   2746 
   2747   as_found=false
   2748 done
   2749 IFS=$as_save_IFS
   2750 if $as_found
   2751 then :
   2752 
   2753 else $as_nop
   2754   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2755 fi
   2756 
   2757 
   2758 # These three variables are undocumented and unsupported,
   2759 # and are intended to be withdrawn in a future Autoconf release.
   2760 # They can cause serious problems if a builder's source tree is in a directory
   2761 # whose full name contains unusual characters.
   2762 if test -f "${ac_aux_dir}config.guess"; then
   2763   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2764 fi
   2765 if test -f "${ac_aux_dir}config.sub"; then
   2766   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2767 fi
   2768 if test -f "$ac_aux_dir/configure"; then
   2769   ac_configure="$SHELL ${ac_aux_dir}configure"
   2770 fi
   2771 
   2772 # Check that the precious variables saved in the cache have kept the same
   2773 # value.
   2774 ac_cache_corrupted=false
   2775 for ac_var in $ac_precious_vars; do
   2776   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2777   eval ac_new_set=\$ac_env_${ac_var}_set
   2778   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2779   eval ac_new_val=\$ac_env_${ac_var}_value
   2780   case $ac_old_set,$ac_new_set in
   2781     set,)
   2782       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2783 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2784       ac_cache_corrupted=: ;;
   2785     ,set)
   2786       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2787 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2788       ac_cache_corrupted=: ;;
   2789     ,);;
   2790     *)
   2791       if test "x$ac_old_val" != "x$ac_new_val"; then
   2792 	# differences in whitespace do not lead to failure.
   2793 	ac_old_val_w=`echo x $ac_old_val`
   2794 	ac_new_val_w=`echo x $ac_new_val`
   2795 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2796 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2797 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2798 	  ac_cache_corrupted=:
   2799 	else
   2800 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2801 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2802 	  eval $ac_var=\$ac_old_val
   2803 	fi
   2804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2805 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2806 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2807 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2808       fi;;
   2809   esac
   2810   # Pass precious variables to config.status.
   2811   if test "$ac_new_set" = set; then
   2812     case $ac_new_val in
   2813     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2814     *) ac_arg=$ac_var=$ac_new_val ;;
   2815     esac
   2816     case " $ac_configure_args " in
   2817       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2818       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2819     esac
   2820   fi
   2821 done
   2822 if $ac_cache_corrupted; then
   2823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2824 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2826 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2827   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2828 	    and start over" "$LINENO" 5
   2829 fi
   2830 ## -------------------- ##
   2831 ## Main body of script. ##
   2832 ## -------------------- ##
   2833 
   2834 ac_ext=c
   2835 ac_cpp='$CPP $CPPFLAGS'
   2836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2839 
   2840 
   2841 
   2842 ac_config_headers="$ac_config_headers config.h"
   2843 
   2844 
   2845 
   2846 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2847 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2848 # to avoid autoconf errors.
   2849 
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 # Expand $ac_aux_dir to an absolute path.
   2861 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2862 
   2863 ac_ext=c
   2864 ac_cpp='$CPP $CPPFLAGS'
   2865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2868 if test -n "$ac_tool_prefix"; then
   2869   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2872 printf %s "checking for $ac_word... " >&6; }
   2873 if test ${ac_cv_prog_CC+y}
   2874 then :
   2875   printf %s "(cached) " >&6
   2876 else $as_nop
   2877   if test -n "$CC"; then
   2878   ac_cv_prog_CC="$CC" # Let the user override the test.
   2879 else
   2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2881 for as_dir in $PATH
   2882 do
   2883   IFS=$as_save_IFS
   2884   case $as_dir in #(((
   2885     '') as_dir=./ ;;
   2886     */) ;;
   2887     *) as_dir=$as_dir/ ;;
   2888   esac
   2889     for ac_exec_ext in '' $ac_executable_extensions; do
   2890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2891     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2893     break 2
   2894   fi
   2895 done
   2896   done
   2897 IFS=$as_save_IFS
   2898 
   2899 fi
   2900 fi
   2901 CC=$ac_cv_prog_CC
   2902 if test -n "$CC"; then
   2903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2904 printf "%s\n" "$CC" >&6; }
   2905 else
   2906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907 printf "%s\n" "no" >&6; }
   2908 fi
   2909 
   2910 
   2911 fi
   2912 if test -z "$ac_cv_prog_CC"; then
   2913   ac_ct_CC=$CC
   2914   # Extract the first word of "gcc", so it can be a program name with args.
   2915 set dummy gcc; ac_word=$2
   2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2917 printf %s "checking for $ac_word... " >&6; }
   2918 if test ${ac_cv_prog_ac_ct_CC+y}
   2919 then :
   2920   printf %s "(cached) " >&6
   2921 else $as_nop
   2922   if test -n "$ac_ct_CC"; then
   2923   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2924 else
   2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2926 for as_dir in $PATH
   2927 do
   2928   IFS=$as_save_IFS
   2929   case $as_dir in #(((
   2930     '') as_dir=./ ;;
   2931     */) ;;
   2932     *) as_dir=$as_dir/ ;;
   2933   esac
   2934     for ac_exec_ext in '' $ac_executable_extensions; do
   2935   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2936     ac_cv_prog_ac_ct_CC="gcc"
   2937     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2938     break 2
   2939   fi
   2940 done
   2941   done
   2942 IFS=$as_save_IFS
   2943 
   2944 fi
   2945 fi
   2946 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2947 if test -n "$ac_ct_CC"; then
   2948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2949 printf "%s\n" "$ac_ct_CC" >&6; }
   2950 else
   2951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2952 printf "%s\n" "no" >&6; }
   2953 fi
   2954 
   2955   if test "x$ac_ct_CC" = x; then
   2956     CC=""
   2957   else
   2958     case $cross_compiling:$ac_tool_warned in
   2959 yes:)
   2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2962 ac_tool_warned=yes ;;
   2963 esac
   2964     CC=$ac_ct_CC
   2965   fi
   2966 else
   2967   CC="$ac_cv_prog_CC"
   2968 fi
   2969 
   2970 if test -z "$CC"; then
   2971           if test -n "$ac_tool_prefix"; then
   2972     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2973 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2975 printf %s "checking for $ac_word... " >&6; }
   2976 if test ${ac_cv_prog_CC+y}
   2977 then :
   2978   printf %s "(cached) " >&6
   2979 else $as_nop
   2980   if test -n "$CC"; then
   2981   ac_cv_prog_CC="$CC" # Let the user override the test.
   2982 else
   2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH
   2985 do
   2986   IFS=$as_save_IFS
   2987   case $as_dir in #(((
   2988     '') as_dir=./ ;;
   2989     */) ;;
   2990     *) as_dir=$as_dir/ ;;
   2991   esac
   2992     for ac_exec_ext in '' $ac_executable_extensions; do
   2993   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2994     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2995     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2996     break 2
   2997   fi
   2998 done
   2999   done
   3000 IFS=$as_save_IFS
   3001 
   3002 fi
   3003 fi
   3004 CC=$ac_cv_prog_CC
   3005 if test -n "$CC"; then
   3006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3007 printf "%s\n" "$CC" >&6; }
   3008 else
   3009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3010 printf "%s\n" "no" >&6; }
   3011 fi
   3012 
   3013 
   3014   fi
   3015 fi
   3016 if test -z "$CC"; then
   3017   # Extract the first word of "cc", so it can be a program name with args.
   3018 set dummy cc; ac_word=$2
   3019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3020 printf %s "checking for $ac_word... " >&6; }
   3021 if test ${ac_cv_prog_CC+y}
   3022 then :
   3023   printf %s "(cached) " >&6
   3024 else $as_nop
   3025   if test -n "$CC"; then
   3026   ac_cv_prog_CC="$CC" # Let the user override the test.
   3027 else
   3028   ac_prog_rejected=no
   3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3030 for as_dir in $PATH
   3031 do
   3032   IFS=$as_save_IFS
   3033   case $as_dir in #(((
   3034     '') as_dir=./ ;;
   3035     */) ;;
   3036     *) as_dir=$as_dir/ ;;
   3037   esac
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3040     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3041        ac_prog_rejected=yes
   3042        continue
   3043      fi
   3044     ac_cv_prog_CC="cc"
   3045     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3046     break 2
   3047   fi
   3048 done
   3049   done
   3050 IFS=$as_save_IFS
   3051 
   3052 if test $ac_prog_rejected = yes; then
   3053   # We found a bogon in the path, so make sure we never use it.
   3054   set dummy $ac_cv_prog_CC
   3055   shift
   3056   if test $# != 0; then
   3057     # We chose a different compiler from the bogus one.
   3058     # However, it has the same basename, so the bogon will be chosen
   3059     # first if we set CC to just the basename; use the full file name.
   3060     shift
   3061     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3062   fi
   3063 fi
   3064 fi
   3065 fi
   3066 CC=$ac_cv_prog_CC
   3067 if test -n "$CC"; then
   3068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3069 printf "%s\n" "$CC" >&6; }
   3070 else
   3071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3072 printf "%s\n" "no" >&6; }
   3073 fi
   3074 
   3075 
   3076 fi
   3077 if test -z "$CC"; then
   3078   if test -n "$ac_tool_prefix"; then
   3079   for ac_prog in cl.exe
   3080   do
   3081     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3084 printf %s "checking for $ac_word... " >&6; }
   3085 if test ${ac_cv_prog_CC+y}
   3086 then :
   3087   printf %s "(cached) " >&6
   3088 else $as_nop
   3089   if test -n "$CC"; then
   3090   ac_cv_prog_CC="$CC" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   case $as_dir in #(((
   3097     '') as_dir=./ ;;
   3098     */) ;;
   3099     *) as_dir=$as_dir/ ;;
   3100   esac
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3103     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3104     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3105     break 2
   3106   fi
   3107 done
   3108   done
   3109 IFS=$as_save_IFS
   3110 
   3111 fi
   3112 fi
   3113 CC=$ac_cv_prog_CC
   3114 if test -n "$CC"; then
   3115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3116 printf "%s\n" "$CC" >&6; }
   3117 else
   3118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3119 printf "%s\n" "no" >&6; }
   3120 fi
   3121 
   3122 
   3123     test -n "$CC" && break
   3124   done
   3125 fi
   3126 if test -z "$CC"; then
   3127   ac_ct_CC=$CC
   3128   for ac_prog in cl.exe
   3129 do
   3130   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3131 set dummy $ac_prog; ac_word=$2
   3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3133 printf %s "checking for $ac_word... " >&6; }
   3134 if test ${ac_cv_prog_ac_ct_CC+y}
   3135 then :
   3136   printf %s "(cached) " >&6
   3137 else $as_nop
   3138   if test -n "$ac_ct_CC"; then
   3139   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3140 else
   3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3142 for as_dir in $PATH
   3143 do
   3144   IFS=$as_save_IFS
   3145   case $as_dir in #(((
   3146     '') as_dir=./ ;;
   3147     */) ;;
   3148     *) as_dir=$as_dir/ ;;
   3149   esac
   3150     for ac_exec_ext in '' $ac_executable_extensions; do
   3151   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3152     ac_cv_prog_ac_ct_CC="$ac_prog"
   3153     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3154     break 2
   3155   fi
   3156 done
   3157   done
   3158 IFS=$as_save_IFS
   3159 
   3160 fi
   3161 fi
   3162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3163 if test -n "$ac_ct_CC"; then
   3164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3165 printf "%s\n" "$ac_ct_CC" >&6; }
   3166 else
   3167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3168 printf "%s\n" "no" >&6; }
   3169 fi
   3170 
   3171 
   3172   test -n "$ac_ct_CC" && break
   3173 done
   3174 
   3175   if test "x$ac_ct_CC" = x; then
   3176     CC=""
   3177   else
   3178     case $cross_compiling:$ac_tool_warned in
   3179 yes:)
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3181 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3182 ac_tool_warned=yes ;;
   3183 esac
   3184     CC=$ac_ct_CC
   3185   fi
   3186 fi
   3187 
   3188 fi
   3189 if test -z "$CC"; then
   3190   if test -n "$ac_tool_prefix"; then
   3191   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3192 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3194 printf %s "checking for $ac_word... " >&6; }
   3195 if test ${ac_cv_prog_CC+y}
   3196 then :
   3197   printf %s "(cached) " >&6
   3198 else $as_nop
   3199   if test -n "$CC"; then
   3200   ac_cv_prog_CC="$CC" # Let the user override the test.
   3201 else
   3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3203 for as_dir in $PATH
   3204 do
   3205   IFS=$as_save_IFS
   3206   case $as_dir in #(((
   3207     '') as_dir=./ ;;
   3208     */) ;;
   3209     *) as_dir=$as_dir/ ;;
   3210   esac
   3211     for ac_exec_ext in '' $ac_executable_extensions; do
   3212   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3213     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3214     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3215     break 2
   3216   fi
   3217 done
   3218   done
   3219 IFS=$as_save_IFS
   3220 
   3221 fi
   3222 fi
   3223 CC=$ac_cv_prog_CC
   3224 if test -n "$CC"; then
   3225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3226 printf "%s\n" "$CC" >&6; }
   3227 else
   3228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3229 printf "%s\n" "no" >&6; }
   3230 fi
   3231 
   3232 
   3233 fi
   3234 if test -z "$ac_cv_prog_CC"; then
   3235   ac_ct_CC=$CC
   3236   # Extract the first word of "clang", so it can be a program name with args.
   3237 set dummy clang; ac_word=$2
   3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3239 printf %s "checking for $ac_word... " >&6; }
   3240 if test ${ac_cv_prog_ac_ct_CC+y}
   3241 then :
   3242   printf %s "(cached) " >&6
   3243 else $as_nop
   3244   if test -n "$ac_ct_CC"; then
   3245   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3246 else
   3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3248 for as_dir in $PATH
   3249 do
   3250   IFS=$as_save_IFS
   3251   case $as_dir in #(((
   3252     '') as_dir=./ ;;
   3253     */) ;;
   3254     *) as_dir=$as_dir/ ;;
   3255   esac
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_ac_ct_CC="clang"
   3259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi
   3267 fi
   3268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3269 if test -n "$ac_ct_CC"; then
   3270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3271 printf "%s\n" "$ac_ct_CC" >&6; }
   3272 else
   3273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 printf "%s\n" "no" >&6; }
   3275 fi
   3276 
   3277   if test "x$ac_ct_CC" = x; then
   3278     CC=""
   3279   else
   3280     case $cross_compiling:$ac_tool_warned in
   3281 yes:)
   3282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3284 ac_tool_warned=yes ;;
   3285 esac
   3286     CC=$ac_ct_CC
   3287   fi
   3288 else
   3289   CC="$ac_cv_prog_CC"
   3290 fi
   3291 
   3292 fi
   3293 
   3294 
   3295 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3296 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3297 as_fn_error $? "no acceptable C compiler found in \$PATH
   3298 See \`config.log' for more details" "$LINENO" 5; }
   3299 
   3300 # Provide some information about the compiler.
   3301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3302 set X $ac_compile
   3303 ac_compiler=$2
   3304 for ac_option in --version -v -V -qversion -version; do
   3305   { { ac_try="$ac_compiler $ac_option >&5"
   3306 case "(($ac_try" in
   3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3308   *) ac_try_echo=$ac_try;;
   3309 esac
   3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3311 printf "%s\n" "$ac_try_echo"; } >&5
   3312   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3313   ac_status=$?
   3314   if test -s conftest.err; then
   3315     sed '10a\
   3316 ... rest of stderr output deleted ...
   3317          10q' conftest.err >conftest.er1
   3318     cat conftest.er1 >&5
   3319   fi
   3320   rm -f conftest.er1 conftest.err
   3321   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3322   test $ac_status = 0; }
   3323 done
   3324 
   3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main (void)
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 ac_clean_files_save=$ac_clean_files
   3337 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3338 # Try to create an executable without -o first, disregard a.out.
   3339 # It will help us diagnose broken compilers, and finding out an intuition
   3340 # of exeext.
   3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3342 printf %s "checking whether the C compiler works... " >&6; }
   3343 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3344 
   3345 # The possible output files:
   3346 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3347 
   3348 ac_rmfiles=
   3349 for ac_file in $ac_files
   3350 do
   3351   case $ac_file in
   3352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3353     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3354   esac
   3355 done
   3356 rm -f $ac_rmfiles
   3357 
   3358 if { { ac_try="$ac_link_default"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3364 printf "%s\n" "$ac_try_echo"; } >&5
   3365   (eval "$ac_link_default") 2>&5
   3366   ac_status=$?
   3367   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3368   test $ac_status = 0; }
   3369 then :
   3370   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3371 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3372 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3373 # so that the user can short-circuit this test for compilers unknown to
   3374 # Autoconf.
   3375 for ac_file in $ac_files ''
   3376 do
   3377   test -f "$ac_file" || continue
   3378   case $ac_file in
   3379     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3380 	;;
   3381     [ab].out )
   3382 	# We found the default executable, but exeext='' is most
   3383 	# certainly right.
   3384 	break;;
   3385     *.* )
   3386 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3387 	then :; else
   3388 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3389 	fi
   3390 	# We set ac_cv_exeext here because the later test for it is not
   3391 	# safe: cross compilers may not add the suffix if given an `-o'
   3392 	# argument, so we may need to know it at that point already.
   3393 	# Even if this section looks crufty: it has the advantage of
   3394 	# actually working.
   3395 	break;;
   3396     * )
   3397 	break;;
   3398   esac
   3399 done
   3400 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3401 
   3402 else $as_nop
   3403   ac_file=''
   3404 fi
   3405 if test -z "$ac_file"
   3406 then :
   3407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3408 printf "%s\n" "no" >&6; }
   3409 printf "%s\n" "$as_me: failed program was:" >&5
   3410 sed 's/^/| /' conftest.$ac_ext >&5
   3411 
   3412 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3413 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3414 as_fn_error 77 "C compiler cannot create executables
   3415 See \`config.log' for more details" "$LINENO" 5; }
   3416 else $as_nop
   3417   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3418 printf "%s\n" "yes" >&6; }
   3419 fi
   3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3421 printf %s "checking for C compiler default output file name... " >&6; }
   3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3423 printf "%s\n" "$ac_file" >&6; }
   3424 ac_exeext=$ac_cv_exeext
   3425 
   3426 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3427 ac_clean_files=$ac_clean_files_save
   3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3429 printf %s "checking for suffix of executables... " >&6; }
   3430 if { { ac_try="$ac_link"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3436 printf "%s\n" "$ac_try_echo"; } >&5
   3437   (eval "$ac_link") 2>&5
   3438   ac_status=$?
   3439   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3440   test $ac_status = 0; }
   3441 then :
   3442   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3443 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3444 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3445 # `rm'.
   3446 for ac_file in conftest.exe conftest conftest.*; do
   3447   test -f "$ac_file" || continue
   3448   case $ac_file in
   3449     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3450     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3451 	  break;;
   3452     * ) break;;
   3453   esac
   3454 done
   3455 else $as_nop
   3456   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3457 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3458 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3459 See \`config.log' for more details" "$LINENO" 5; }
   3460 fi
   3461 rm -f conftest conftest$ac_cv_exeext
   3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3463 printf "%s\n" "$ac_cv_exeext" >&6; }
   3464 
   3465 rm -f conftest.$ac_ext
   3466 EXEEXT=$ac_cv_exeext
   3467 ac_exeext=$EXEEXT
   3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3469 /* end confdefs.h.  */
   3470 #include <stdio.h>
   3471 int
   3472 main (void)
   3473 {
   3474 FILE *f = fopen ("conftest.out", "w");
   3475  return ferror (f) || fclose (f) != 0;
   3476 
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 ac_clean_files="$ac_clean_files conftest.out"
   3482 # Check that the compiler produces executables we can run.  If not, either
   3483 # the compiler is broken, or we cross compile.
   3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3485 printf %s "checking whether we are cross compiling... " >&6; }
   3486 if test "$cross_compiling" != yes; then
   3487   { { ac_try="$ac_link"
   3488 case "(($ac_try" in
   3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3490   *) ac_try_echo=$ac_try;;
   3491 esac
   3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3493 printf "%s\n" "$ac_try_echo"; } >&5
   3494   (eval "$ac_link") 2>&5
   3495   ac_status=$?
   3496   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3497   test $ac_status = 0; }
   3498   if { ac_try='./conftest$ac_cv_exeext'
   3499   { { case "(($ac_try" in
   3500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3501   *) ac_try_echo=$ac_try;;
   3502 esac
   3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3504 printf "%s\n" "$ac_try_echo"; } >&5
   3505   (eval "$ac_try") 2>&5
   3506   ac_status=$?
   3507   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3508   test $ac_status = 0; }; }; then
   3509     cross_compiling=no
   3510   else
   3511     if test "$cross_compiling" = maybe; then
   3512 	cross_compiling=yes
   3513     else
   3514 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3515 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3516 as_fn_error 77 "cannot run C compiled programs.
   3517 If you meant to cross compile, use \`--host'.
   3518 See \`config.log' for more details" "$LINENO" 5; }
   3519     fi
   3520   fi
   3521 fi
   3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3523 printf "%s\n" "$cross_compiling" >&6; }
   3524 
   3525 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3526 ac_clean_files=$ac_clean_files_save
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3528 printf %s "checking for suffix of object files... " >&6; }
   3529 if test ${ac_cv_objext+y}
   3530 then :
   3531   printf %s "(cached) " >&6
   3532 else $as_nop
   3533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 
   3536 int
   3537 main (void)
   3538 {
   3539 
   3540   ;
   3541   return 0;
   3542 }
   3543 _ACEOF
   3544 rm -f conftest.o conftest.obj
   3545 if { { ac_try="$ac_compile"
   3546 case "(($ac_try" in
   3547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3548   *) ac_try_echo=$ac_try;;
   3549 esac
   3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3551 printf "%s\n" "$ac_try_echo"; } >&5
   3552   (eval "$ac_compile") 2>&5
   3553   ac_status=$?
   3554   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3555   test $ac_status = 0; }
   3556 then :
   3557   for ac_file in conftest.o conftest.obj conftest.*; do
   3558   test -f "$ac_file" || continue;
   3559   case $ac_file in
   3560     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3561     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3562        break;;
   3563   esac
   3564 done
   3565 else $as_nop
   3566   printf "%s\n" "$as_me: failed program was:" >&5
   3567 sed 's/^/| /' conftest.$ac_ext >&5
   3568 
   3569 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3570 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3571 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3572 See \`config.log' for more details" "$LINENO" 5; }
   3573 fi
   3574 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3575 fi
   3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3577 printf "%s\n" "$ac_cv_objext" >&6; }
   3578 OBJEXT=$ac_cv_objext
   3579 ac_objext=$OBJEXT
   3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3581 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3582 if test ${ac_cv_c_compiler_gnu+y}
   3583 then :
   3584   printf %s "(cached) " >&6
   3585 else $as_nop
   3586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3587 /* end confdefs.h.  */
   3588 
   3589 int
   3590 main (void)
   3591 {
   3592 #ifndef __GNUC__
   3593        choke me
   3594 #endif
   3595 
   3596   ;
   3597   return 0;
   3598 }
   3599 _ACEOF
   3600 if ac_fn_c_try_compile "$LINENO"
   3601 then :
   3602   ac_compiler_gnu=yes
   3603 else $as_nop
   3604   ac_compiler_gnu=no
   3605 fi
   3606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3607 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3608 
   3609 fi
   3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3611 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3613 
   3614 if test $ac_compiler_gnu = yes; then
   3615   GCC=yes
   3616 else
   3617   GCC=
   3618 fi
   3619 ac_test_CFLAGS=${CFLAGS+y}
   3620 ac_save_CFLAGS=$CFLAGS
   3621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3622 printf %s "checking whether $CC accepts -g... " >&6; }
   3623 if test ${ac_cv_prog_cc_g+y}
   3624 then :
   3625   printf %s "(cached) " >&6
   3626 else $as_nop
   3627   ac_save_c_werror_flag=$ac_c_werror_flag
   3628    ac_c_werror_flag=yes
   3629    ac_cv_prog_cc_g=no
   3630    CFLAGS="-g"
   3631    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3632 /* end confdefs.h.  */
   3633 
   3634 int
   3635 main (void)
   3636 {
   3637 
   3638   ;
   3639   return 0;
   3640 }
   3641 _ACEOF
   3642 if ac_fn_c_try_compile "$LINENO"
   3643 then :
   3644   ac_cv_prog_cc_g=yes
   3645 else $as_nop
   3646   CFLAGS=""
   3647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3648 /* end confdefs.h.  */
   3649 
   3650 int
   3651 main (void)
   3652 {
   3653 
   3654   ;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 if ac_fn_c_try_compile "$LINENO"
   3659 then :
   3660 
   3661 else $as_nop
   3662   ac_c_werror_flag=$ac_save_c_werror_flag
   3663 	 CFLAGS="-g"
   3664 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3665 /* end confdefs.h.  */
   3666 
   3667 int
   3668 main (void)
   3669 {
   3670 
   3671   ;
   3672   return 0;
   3673 }
   3674 _ACEOF
   3675 if ac_fn_c_try_compile "$LINENO"
   3676 then :
   3677   ac_cv_prog_cc_g=yes
   3678 fi
   3679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3680 fi
   3681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3682 fi
   3683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3684    ac_c_werror_flag=$ac_save_c_werror_flag
   3685 fi
   3686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3687 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3688 if test $ac_test_CFLAGS; then
   3689   CFLAGS=$ac_save_CFLAGS
   3690 elif test $ac_cv_prog_cc_g = yes; then
   3691   if test "$GCC" = yes; then
   3692     CFLAGS="-g -O2"
   3693   else
   3694     CFLAGS="-g"
   3695   fi
   3696 else
   3697   if test "$GCC" = yes; then
   3698     CFLAGS="-O2"
   3699   else
   3700     CFLAGS=
   3701   fi
   3702 fi
   3703 ac_prog_cc_stdc=no
   3704 if test x$ac_prog_cc_stdc = xno
   3705 then :
   3706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3707 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3708 if test ${ac_cv_prog_cc_c11+y}
   3709 then :
   3710   printf %s "(cached) " >&6
   3711 else $as_nop
   3712   ac_cv_prog_cc_c11=no
   3713 ac_save_CC=$CC
   3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3715 /* end confdefs.h.  */
   3716 $ac_c_conftest_c11_program
   3717 _ACEOF
   3718 for ac_arg in '' -std=gnu11
   3719 do
   3720   CC="$ac_save_CC $ac_arg"
   3721   if ac_fn_c_try_compile "$LINENO"
   3722 then :
   3723   ac_cv_prog_cc_c11=$ac_arg
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3726   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3727 done
   3728 rm -f conftest.$ac_ext
   3729 CC=$ac_save_CC
   3730 fi
   3731 
   3732 if test "x$ac_cv_prog_cc_c11" = xno
   3733 then :
   3734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3735 printf "%s\n" "unsupported" >&6; }
   3736 else $as_nop
   3737   if test "x$ac_cv_prog_cc_c11" = x
   3738 then :
   3739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3740 printf "%s\n" "none needed" >&6; }
   3741 else $as_nop
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3743 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3744      CC="$CC $ac_cv_prog_cc_c11"
   3745 fi
   3746   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3747   ac_prog_cc_stdc=c11
   3748 fi
   3749 fi
   3750 if test x$ac_prog_cc_stdc = xno
   3751 then :
   3752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3753 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3754 if test ${ac_cv_prog_cc_c99+y}
   3755 then :
   3756   printf %s "(cached) " >&6
   3757 else $as_nop
   3758   ac_cv_prog_cc_c99=no
   3759 ac_save_CC=$CC
   3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3761 /* end confdefs.h.  */
   3762 $ac_c_conftest_c99_program
   3763 _ACEOF
   3764 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3765 do
   3766   CC="$ac_save_CC $ac_arg"
   3767   if ac_fn_c_try_compile "$LINENO"
   3768 then :
   3769   ac_cv_prog_cc_c99=$ac_arg
   3770 fi
   3771 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3772   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3773 done
   3774 rm -f conftest.$ac_ext
   3775 CC=$ac_save_CC
   3776 fi
   3777 
   3778 if test "x$ac_cv_prog_cc_c99" = xno
   3779 then :
   3780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3781 printf "%s\n" "unsupported" >&6; }
   3782 else $as_nop
   3783   if test "x$ac_cv_prog_cc_c99" = x
   3784 then :
   3785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3786 printf "%s\n" "none needed" >&6; }
   3787 else $as_nop
   3788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3789 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3790      CC="$CC $ac_cv_prog_cc_c99"
   3791 fi
   3792   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3793   ac_prog_cc_stdc=c99
   3794 fi
   3795 fi
   3796 if test x$ac_prog_cc_stdc = xno
   3797 then :
   3798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3799 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3800 if test ${ac_cv_prog_cc_c89+y}
   3801 then :
   3802   printf %s "(cached) " >&6
   3803 else $as_nop
   3804   ac_cv_prog_cc_c89=no
   3805 ac_save_CC=$CC
   3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3807 /* end confdefs.h.  */
   3808 $ac_c_conftest_c89_program
   3809 _ACEOF
   3810 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3811 do
   3812   CC="$ac_save_CC $ac_arg"
   3813   if ac_fn_c_try_compile "$LINENO"
   3814 then :
   3815   ac_cv_prog_cc_c89=$ac_arg
   3816 fi
   3817 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3818   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3819 done
   3820 rm -f conftest.$ac_ext
   3821 CC=$ac_save_CC
   3822 fi
   3823 
   3824 if test "x$ac_cv_prog_cc_c89" = xno
   3825 then :
   3826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3827 printf "%s\n" "unsupported" >&6; }
   3828 else $as_nop
   3829   if test "x$ac_cv_prog_cc_c89" = x
   3830 then :
   3831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3832 printf "%s\n" "none needed" >&6; }
   3833 else $as_nop
   3834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3835 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3836      CC="$CC $ac_cv_prog_cc_c89"
   3837 fi
   3838   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3839   ac_prog_cc_stdc=c89
   3840 fi
   3841 fi
   3842 
   3843 ac_ext=c
   3844 ac_cpp='$CPP $CPPFLAGS'
   3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3848 
   3849 
   3850   ac_ext=c
   3851 ac_cpp='$CPP $CPPFLAGS'
   3852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3856 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3857 if test ${am_cv_prog_cc_c_o+y}
   3858 then :
   3859   printf %s "(cached) " >&6
   3860 else $as_nop
   3861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3862 /* end confdefs.h.  */
   3863 
   3864 int
   3865 main (void)
   3866 {
   3867 
   3868   ;
   3869   return 0;
   3870 }
   3871 _ACEOF
   3872   # Make sure it works both with $CC and with simple cc.
   3873   # Following AC_PROG_CC_C_O, we do the test twice because some
   3874   # compilers refuse to overwrite an existing .o file with -o,
   3875   # though they will create one.
   3876   am_cv_prog_cc_c_o=yes
   3877   for am_i in 1 2; do
   3878     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3879    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3880    ac_status=$?
   3881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3882    (exit $ac_status); } \
   3883          && test -f conftest2.$ac_objext; then
   3884       : OK
   3885     else
   3886       am_cv_prog_cc_c_o=no
   3887       break
   3888     fi
   3889   done
   3890   rm -f core conftest*
   3891   unset am_i
   3892 fi
   3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3894 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3895 if test "$am_cv_prog_cc_c_o" != yes; then
   3896    # Losing compiler, so override with the script.
   3897    # FIXME: It is wrong to rewrite CC.
   3898    # But if we don't then we get into trouble of one sort or another.
   3899    # A longer-term fix would be to have automake use am__CC in this case,
   3900    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3901    CC="$am_aux_dir/compile $CC"
   3902 fi
   3903 ac_ext=c
   3904 ac_cpp='$CPP $CPPFLAGS'
   3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3908 
   3909 
   3910 
   3911 ac_header= ac_cache=
   3912 for ac_item in $ac_header_c_list
   3913 do
   3914   if test $ac_cache; then
   3915     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3916     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3917       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3918     fi
   3919     ac_header= ac_cache=
   3920   elif test $ac_header; then
   3921     ac_cache=$ac_item
   3922   else
   3923     ac_header=$ac_item
   3924   fi
   3925 done
   3926 
   3927 
   3928 
   3929 
   3930 
   3931 
   3932 
   3933 
   3934 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3935 then :
   3936 
   3937 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3938 
   3939 fi
   3940 
   3941 
   3942 
   3943 
   3944 
   3945 
   3946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3947 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3948 if test ${ac_cv_safe_to_define___extensions__+y}
   3949 then :
   3950   printf %s "(cached) " >&6
   3951 else $as_nop
   3952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3953 /* end confdefs.h.  */
   3954 
   3955 #         define __EXTENSIONS__ 1
   3956           $ac_includes_default
   3957 int
   3958 main (void)
   3959 {
   3960 
   3961   ;
   3962   return 0;
   3963 }
   3964 _ACEOF
   3965 if ac_fn_c_try_compile "$LINENO"
   3966 then :
   3967   ac_cv_safe_to_define___extensions__=yes
   3968 else $as_nop
   3969   ac_cv_safe_to_define___extensions__=no
   3970 fi
   3971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3972 fi
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3974 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3975 
   3976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3977 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3978 if test ${ac_cv_should_define__xopen_source+y}
   3979 then :
   3980   printf %s "(cached) " >&6
   3981 else $as_nop
   3982   ac_cv_should_define__xopen_source=no
   3983     if test $ac_cv_header_wchar_h = yes
   3984 then :
   3985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3986 /* end confdefs.h.  */
   3987 
   3988           #include <wchar.h>
   3989           mbstate_t x;
   3990 int
   3991 main (void)
   3992 {
   3993 
   3994   ;
   3995   return 0;
   3996 }
   3997 _ACEOF
   3998 if ac_fn_c_try_compile "$LINENO"
   3999 then :
   4000 
   4001 else $as_nop
   4002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4003 /* end confdefs.h.  */
   4004 
   4005             #define _XOPEN_SOURCE 500
   4006             #include <wchar.h>
   4007             mbstate_t x;
   4008 int
   4009 main (void)
   4010 {
   4011 
   4012   ;
   4013   return 0;
   4014 }
   4015 _ACEOF
   4016 if ac_fn_c_try_compile "$LINENO"
   4017 then :
   4018   ac_cv_should_define__xopen_source=yes
   4019 fi
   4020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4021 fi
   4022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4023 fi
   4024 fi
   4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4026 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4027 
   4028   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4029 
   4030   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4031 
   4032   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4033 
   4034   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4035 
   4036   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4037 
   4038   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4039 
   4040   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4041 
   4042   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4043 
   4044   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4045 
   4046   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4047 
   4048   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4049 
   4050   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4051 
   4052   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4053 
   4054   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4055 
   4056   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4057 
   4058   if test $ac_cv_header_minix_config_h = yes
   4059 then :
   4060   MINIX=yes
   4061     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4062 
   4063     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4064 
   4065     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4066 
   4067 else $as_nop
   4068   MINIX=
   4069 fi
   4070   if test $ac_cv_safe_to_define___extensions__ = yes
   4071 then :
   4072   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4073 
   4074 fi
   4075   if test $ac_cv_should_define__xopen_source = yes
   4076 then :
   4077   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4078 
   4079 fi
   4080 
   4081 
   4082 # Initialize Automake
   4083 am__api_version='1.16'
   4084 
   4085 
   4086   # Find a good install program.  We prefer a C program (faster),
   4087 # so one script is as good as another.  But avoid the broken or
   4088 # incompatible versions:
   4089 # SysV /etc/install, /usr/sbin/install
   4090 # SunOS /usr/etc/install
   4091 # IRIX /sbin/install
   4092 # AIX /bin/install
   4093 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4094 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4095 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4096 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4097 # OS/2's system install, which has a completely different semantic
   4098 # ./install, which can be erroneously created by make from ./install.sh.
   4099 # Reject install programs that cannot install multiple files.
   4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4101 printf %s "checking for a BSD-compatible install... " >&6; }
   4102 if test -z "$INSTALL"; then
   4103 if test ${ac_cv_path_install+y}
   4104 then :
   4105   printf %s "(cached) " >&6
   4106 else $as_nop
   4107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4108 for as_dir in $PATH
   4109 do
   4110   IFS=$as_save_IFS
   4111   case $as_dir in #(((
   4112     '') as_dir=./ ;;
   4113     */) ;;
   4114     *) as_dir=$as_dir/ ;;
   4115   esac
   4116     # Account for fact that we put trailing slashes in our PATH walk.
   4117 case $as_dir in #((
   4118   ./ | /[cC]/* | \
   4119   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4120   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4121   /usr/ucb/* ) ;;
   4122   *)
   4123     # OSF1 and SCO ODT 3.0 have their own names for install.
   4124     # Don't use installbsd from OSF since it installs stuff as root
   4125     # by default.
   4126     for ac_prog in ginstall scoinst install; do
   4127       for ac_exec_ext in '' $ac_executable_extensions; do
   4128 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4129 	  if test $ac_prog = install &&
   4130 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4131 	    # AIX install.  It has an incompatible calling convention.
   4132 	    :
   4133 	  elif test $ac_prog = install &&
   4134 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4135 	    # program-specific install script used by HP pwplus--don't use.
   4136 	    :
   4137 	  else
   4138 	    rm -rf conftest.one conftest.two conftest.dir
   4139 	    echo one > conftest.one
   4140 	    echo two > conftest.two
   4141 	    mkdir conftest.dir
   4142 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4143 	      test -s conftest.one && test -s conftest.two &&
   4144 	      test -s conftest.dir/conftest.one &&
   4145 	      test -s conftest.dir/conftest.two
   4146 	    then
   4147 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4148 	      break 3
   4149 	    fi
   4150 	  fi
   4151 	fi
   4152       done
   4153     done
   4154     ;;
   4155 esac
   4156 
   4157   done
   4158 IFS=$as_save_IFS
   4159 
   4160 rm -rf conftest.one conftest.two conftest.dir
   4161 
   4162 fi
   4163   if test ${ac_cv_path_install+y}; then
   4164     INSTALL=$ac_cv_path_install
   4165   else
   4166     # As a last resort, use the slow shell script.  Don't cache a
   4167     # value for INSTALL within a source directory, because that will
   4168     # break other packages using the cache if that directory is
   4169     # removed, or if the value is a relative name.
   4170     INSTALL=$ac_install_sh
   4171   fi
   4172 fi
   4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4174 printf "%s\n" "$INSTALL" >&6; }
   4175 
   4176 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4177 # It thinks the first close brace ends the variable substitution.
   4178 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4179 
   4180 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4181 
   4182 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4183 
   4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4185 printf %s "checking whether build environment is sane... " >&6; }
   4186 # Reject unsafe characters in $srcdir or the absolute working directory
   4187 # name.  Accept space and tab only in the latter.
   4188 am_lf='
   4189 '
   4190 case `pwd` in
   4191   *[\\\"\#\$\&\'\`$am_lf]*)
   4192     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4193 esac
   4194 case $srcdir in
   4195   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4196     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4197 esac
   4198 
   4199 # Do 'set' in a subshell so we don't clobber the current shell's
   4200 # arguments.  Must try -L first in case configure is actually a
   4201 # symlink; some systems play weird games with the mod time of symlinks
   4202 # (eg FreeBSD returns the mod time of the symlink's containing
   4203 # directory).
   4204 if (
   4205    am_has_slept=no
   4206    for am_try in 1 2; do
   4207      echo "timestamp, slept: $am_has_slept" > conftest.file
   4208      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4209      if test "$*" = "X"; then
   4210 	# -L didn't work.
   4211 	set X `ls -t "$srcdir/configure" conftest.file`
   4212      fi
   4213      if test "$*" != "X $srcdir/configure conftest.file" \
   4214 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4215 
   4216 	# If neither matched, then we have a broken ls.  This can happen
   4217 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4218 	# broken ls alias from the environment.  This has actually
   4219 	# happened.  Such a system could not be considered "sane".
   4220 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4221   alias in your environment" "$LINENO" 5
   4222      fi
   4223      if test "$2" = conftest.file || test $am_try -eq 2; then
   4224        break
   4225      fi
   4226      # Just in case.
   4227      sleep 1
   4228      am_has_slept=yes
   4229    done
   4230    test "$2" = conftest.file
   4231    )
   4232 then
   4233    # Ok.
   4234    :
   4235 else
   4236    as_fn_error $? "newly created file is older than distributed files!
   4237 Check your system clock" "$LINENO" 5
   4238 fi
   4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4240 printf "%s\n" "yes" >&6; }
   4241 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4242 # generated files are strictly newer.
   4243 am_sleep_pid=
   4244 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4245   ( sleep 1 ) &
   4246   am_sleep_pid=$!
   4247 fi
   4248 
   4249 rm -f conftest.file
   4250 
   4251 test "$program_prefix" != NONE &&
   4252   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4253 # Use a double $ so make ignores it.
   4254 test "$program_suffix" != NONE &&
   4255   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4256 # Double any \ or $.
   4257 # By default was `s,x,x', remove it if useless.
   4258 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4259 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4260 
   4261 
   4262   if test x"${MISSING+set}" != xset; then
   4263   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4264 fi
   4265 # Use eval to expand $SHELL
   4266 if eval "$MISSING --is-lightweight"; then
   4267   am_missing_run="$MISSING "
   4268 else
   4269   am_missing_run=
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4271 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4272 fi
   4273 
   4274 if test x"${install_sh+set}" != xset; then
   4275   case $am_aux_dir in
   4276   *\ * | *\	*)
   4277     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4278   *)
   4279     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4280   esac
   4281 fi
   4282 
   4283 # Installed binaries are usually stripped using 'strip' when the user
   4284 # run "make install-strip".  However 'strip' might not be the right
   4285 # tool to use in cross-compilation environments, therefore Automake
   4286 # will honor the 'STRIP' environment variable to overrule this program.
   4287 if test "$cross_compiling" != no; then
   4288   if test -n "$ac_tool_prefix"; then
   4289   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4290 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4292 printf %s "checking for $ac_word... " >&6; }
   4293 if test ${ac_cv_prog_STRIP+y}
   4294 then :
   4295   printf %s "(cached) " >&6
   4296 else $as_nop
   4297   if test -n "$STRIP"; then
   4298   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4299 else
   4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4301 for as_dir in $PATH
   4302 do
   4303   IFS=$as_save_IFS
   4304   case $as_dir in #(((
   4305     '') as_dir=./ ;;
   4306     */) ;;
   4307     *) as_dir=$as_dir/ ;;
   4308   esac
   4309     for ac_exec_ext in '' $ac_executable_extensions; do
   4310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4311     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4312     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4313     break 2
   4314   fi
   4315 done
   4316   done
   4317 IFS=$as_save_IFS
   4318 
   4319 fi
   4320 fi
   4321 STRIP=$ac_cv_prog_STRIP
   4322 if test -n "$STRIP"; then
   4323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4324 printf "%s\n" "$STRIP" >&6; }
   4325 else
   4326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4327 printf "%s\n" "no" >&6; }
   4328 fi
   4329 
   4330 
   4331 fi
   4332 if test -z "$ac_cv_prog_STRIP"; then
   4333   ac_ct_STRIP=$STRIP
   4334   # Extract the first word of "strip", so it can be a program name with args.
   4335 set dummy strip; ac_word=$2
   4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4337 printf %s "checking for $ac_word... " >&6; }
   4338 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4339 then :
   4340   printf %s "(cached) " >&6
   4341 else $as_nop
   4342   if test -n "$ac_ct_STRIP"; then
   4343   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4344 else
   4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4346 for as_dir in $PATH
   4347 do
   4348   IFS=$as_save_IFS
   4349   case $as_dir in #(((
   4350     '') as_dir=./ ;;
   4351     */) ;;
   4352     *) as_dir=$as_dir/ ;;
   4353   esac
   4354     for ac_exec_ext in '' $ac_executable_extensions; do
   4355   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4356     ac_cv_prog_ac_ct_STRIP="strip"
   4357     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4358     break 2
   4359   fi
   4360 done
   4361   done
   4362 IFS=$as_save_IFS
   4363 
   4364 fi
   4365 fi
   4366 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4367 if test -n "$ac_ct_STRIP"; then
   4368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4369 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4370 else
   4371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4372 printf "%s\n" "no" >&6; }
   4373 fi
   4374 
   4375   if test "x$ac_ct_STRIP" = x; then
   4376     STRIP=":"
   4377   else
   4378     case $cross_compiling:$ac_tool_warned in
   4379 yes:)
   4380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4381 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4382 ac_tool_warned=yes ;;
   4383 esac
   4384     STRIP=$ac_ct_STRIP
   4385   fi
   4386 else
   4387   STRIP="$ac_cv_prog_STRIP"
   4388 fi
   4389 
   4390 fi
   4391 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4392 
   4393 
   4394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4395 printf %s "checking for a race-free mkdir -p... " >&6; }
   4396 if test -z "$MKDIR_P"; then
   4397   if test ${ac_cv_path_mkdir+y}
   4398 then :
   4399   printf %s "(cached) " >&6
   4400 else $as_nop
   4401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4402 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4403 do
   4404   IFS=$as_save_IFS
   4405   case $as_dir in #(((
   4406     '') as_dir=./ ;;
   4407     */) ;;
   4408     *) as_dir=$as_dir/ ;;
   4409   esac
   4410     for ac_prog in mkdir gmkdir; do
   4411 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4412 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4413 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4414 	     'mkdir ('*'coreutils) '* | \
   4415 	     'BusyBox '* | \
   4416 	     'mkdir (fileutils) '4.1*)
   4417 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4418 	       break 3;;
   4419 	   esac
   4420 	 done
   4421        done
   4422   done
   4423 IFS=$as_save_IFS
   4424 
   4425 fi
   4426 
   4427   test -d ./--version && rmdir ./--version
   4428   if test ${ac_cv_path_mkdir+y}; then
   4429     MKDIR_P="$ac_cv_path_mkdir -p"
   4430   else
   4431     # As a last resort, use the slow shell script.  Don't cache a
   4432     # value for MKDIR_P within a source directory, because that will
   4433     # break other packages using the cache if that directory is
   4434     # removed, or if the value is a relative name.
   4435     MKDIR_P="$ac_install_sh -d"
   4436   fi
   4437 fi
   4438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4439 printf "%s\n" "$MKDIR_P" >&6; }
   4440 
   4441 for ac_prog in gawk mawk nawk awk
   4442 do
   4443   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4444 set dummy $ac_prog; ac_word=$2
   4445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4446 printf %s "checking for $ac_word... " >&6; }
   4447 if test ${ac_cv_prog_AWK+y}
   4448 then :
   4449   printf %s "(cached) " >&6
   4450 else $as_nop
   4451   if test -n "$AWK"; then
   4452   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4453 else
   4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4455 for as_dir in $PATH
   4456 do
   4457   IFS=$as_save_IFS
   4458   case $as_dir in #(((
   4459     '') as_dir=./ ;;
   4460     */) ;;
   4461     *) as_dir=$as_dir/ ;;
   4462   esac
   4463     for ac_exec_ext in '' $ac_executable_extensions; do
   4464   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4465     ac_cv_prog_AWK="$ac_prog"
   4466     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4467     break 2
   4468   fi
   4469 done
   4470   done
   4471 IFS=$as_save_IFS
   4472 
   4473 fi
   4474 fi
   4475 AWK=$ac_cv_prog_AWK
   4476 if test -n "$AWK"; then
   4477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4478 printf "%s\n" "$AWK" >&6; }
   4479 else
   4480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4481 printf "%s\n" "no" >&6; }
   4482 fi
   4483 
   4484 
   4485   test -n "$AWK" && break
   4486 done
   4487 
   4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4489 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4490 set x ${MAKE-make}
   4491 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4492 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4493 then :
   4494   printf %s "(cached) " >&6
   4495 else $as_nop
   4496   cat >conftest.make <<\_ACEOF
   4497 SHELL = /bin/sh
   4498 all:
   4499 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4500 _ACEOF
   4501 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4502 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4503   *@@@%%%=?*=@@@%%%*)
   4504     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4505   *)
   4506     eval ac_cv_prog_make_${ac_make}_set=no;;
   4507 esac
   4508 rm -f conftest.make
   4509 fi
   4510 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4512 printf "%s\n" "yes" >&6; }
   4513   SET_MAKE=
   4514 else
   4515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4516 printf "%s\n" "no" >&6; }
   4517   SET_MAKE="MAKE=${MAKE-make}"
   4518 fi
   4519 
   4520 rm -rf .tst 2>/dev/null
   4521 mkdir .tst 2>/dev/null
   4522 if test -d .tst; then
   4523   am__leading_dot=.
   4524 else
   4525   am__leading_dot=_
   4526 fi
   4527 rmdir .tst 2>/dev/null
   4528 
   4529 DEPDIR="${am__leading_dot}deps"
   4530 
   4531 ac_config_commands="$ac_config_commands depfiles"
   4532 
   4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4534 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4535 cat > confinc.mk << 'END'
   4536 am__doit:
   4537 	@echo this is the am__doit target >confinc.out
   4538 .PHONY: am__doit
   4539 END
   4540 am__include="#"
   4541 am__quote=
   4542 # BSD make does it like this.
   4543 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4544 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4545 echo 'include confinc.mk # ignored' > confmf.GNU
   4546 _am_result=no
   4547 for s in GNU BSD; do
   4548   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4549    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4550    ac_status=$?
   4551    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4552    (exit $ac_status); }
   4553   case $?:`cat confinc.out 2>/dev/null` in #(
   4554   '0:this is the am__doit target') :
   4555     case $s in #(
   4556   BSD) :
   4557     am__include='.include' am__quote='"' ;; #(
   4558   *) :
   4559     am__include='include' am__quote='' ;;
   4560 esac ;; #(
   4561   *) :
   4562      ;;
   4563 esac
   4564   if test "$am__include" != "#"; then
   4565     _am_result="yes ($s style)"
   4566     break
   4567   fi
   4568 done
   4569 rm -f confinc.* confmf.*
   4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4571 printf "%s\n" "${_am_result}" >&6; }
   4572 
   4573 # Check whether --enable-dependency-tracking was given.
   4574 if test ${enable_dependency_tracking+y}
   4575 then :
   4576   enableval=$enable_dependency_tracking;
   4577 fi
   4578 
   4579 if test "x$enable_dependency_tracking" != xno; then
   4580   am_depcomp="$ac_aux_dir/depcomp"
   4581   AMDEPBACKSLASH='\'
   4582   am__nodep='_no'
   4583 fi
   4584  if test "x$enable_dependency_tracking" != xno; then
   4585   AMDEP_TRUE=
   4586   AMDEP_FALSE='#'
   4587 else
   4588   AMDEP_TRUE='#'
   4589   AMDEP_FALSE=
   4590 fi
   4591 
   4592 
   4593 # Check whether --enable-silent-rules was given.
   4594 if test ${enable_silent_rules+y}
   4595 then :
   4596   enableval=$enable_silent_rules;
   4597 fi
   4598 
   4599 case $enable_silent_rules in # (((
   4600   yes) AM_DEFAULT_VERBOSITY=0;;
   4601    no) AM_DEFAULT_VERBOSITY=1;;
   4602     *) AM_DEFAULT_VERBOSITY=1;;
   4603 esac
   4604 am_make=${MAKE-make}
   4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4606 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4607 if test ${am_cv_make_support_nested_variables+y}
   4608 then :
   4609   printf %s "(cached) " >&6
   4610 else $as_nop
   4611   if printf "%s\n" 'TRUE=$(BAR$(V))
   4612 BAR0=false
   4613 BAR1=true
   4614 V=1
   4615 am__doit:
   4616 	@$(TRUE)
   4617 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4618   am_cv_make_support_nested_variables=yes
   4619 else
   4620   am_cv_make_support_nested_variables=no
   4621 fi
   4622 fi
   4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4624 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4625 if test $am_cv_make_support_nested_variables = yes; then
   4626     AM_V='$(V)'
   4627   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4628 else
   4629   AM_V=$AM_DEFAULT_VERBOSITY
   4630   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4631 fi
   4632 AM_BACKSLASH='\'
   4633 
   4634 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4635   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4636   # is not polluted with repeated "-I."
   4637   am__isrc=' -I$(srcdir)'
   4638   # test to see if srcdir already configured
   4639   if test -f $srcdir/config.status; then
   4640     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4641   fi
   4642 fi
   4643 
   4644 # test whether we have cygpath
   4645 if test -z "$CYGPATH_W"; then
   4646   if (cygpath --version) >/dev/null 2>/dev/null; then
   4647     CYGPATH_W='cygpath -w'
   4648   else
   4649     CYGPATH_W=echo
   4650   fi
   4651 fi
   4652 
   4653 
   4654 # Define the identity of the package.
   4655  PACKAGE='libXt'
   4656  VERSION='1.3.0'
   4657 
   4658 
   4659 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4660 
   4661 
   4662 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4663 
   4664 # Some tools Automake needs.
   4665 
   4666 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4667 
   4668 
   4669 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4670 
   4671 
   4672 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4673 
   4674 
   4675 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4676 
   4677 
   4678 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4679 
   4680 # For better backward compatibility.  To be removed once Automake 1.9.x
   4681 # dies out for good.  For more background, see:
   4682 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4683 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4684 mkdir_p='$(MKDIR_P)'
   4685 
   4686 # We need awk for the "check" target (and possibly the TAP driver).  The
   4687 # system "awk" is bad on some platforms.
   4688 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4689 # in the wild :-(  We should find a proper way to deprecate it ...
   4690 AMTAR='$${TAR-tar}'
   4691 
   4692 
   4693 # We'll loop over all known methods to create a tar archive until one works.
   4694 _am_tools='gnutar  pax cpio none'
   4695 
   4696 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 depcc="$CC"   am_compiler_list=
   4703 
   4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4705 printf %s "checking dependency style of $depcc... " >&6; }
   4706 if test ${am_cv_CC_dependencies_compiler_type+y}
   4707 then :
   4708   printf %s "(cached) " >&6
   4709 else $as_nop
   4710   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4711   # We make a subdir and do the tests there.  Otherwise we can end up
   4712   # making bogus files that we don't know about and never remove.  For
   4713   # instance it was reported that on HP-UX the gcc test will end up
   4714   # making a dummy file named 'D' -- because '-MD' means "put the output
   4715   # in D".
   4716   rm -rf conftest.dir
   4717   mkdir conftest.dir
   4718   # Copy depcomp to subdir because otherwise we won't find it if we're
   4719   # using a relative directory.
   4720   cp "$am_depcomp" conftest.dir
   4721   cd conftest.dir
   4722   # We will build objects and dependencies in a subdirectory because
   4723   # it helps to detect inapplicable dependency modes.  For instance
   4724   # both Tru64's cc and ICC support -MD to output dependencies as a
   4725   # side effect of compilation, but ICC will put the dependencies in
   4726   # the current directory while Tru64 will put them in the object
   4727   # directory.
   4728   mkdir sub
   4729 
   4730   am_cv_CC_dependencies_compiler_type=none
   4731   if test "$am_compiler_list" = ""; then
   4732      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4733   fi
   4734   am__universal=false
   4735   case " $depcc " in #(
   4736      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4737      esac
   4738 
   4739   for depmode in $am_compiler_list; do
   4740     # Setup a source with many dependencies, because some compilers
   4741     # like to wrap large dependency lists on column 80 (with \), and
   4742     # we should not choose a depcomp mode which is confused by this.
   4743     #
   4744     # We need to recreate these files for each test, as the compiler may
   4745     # overwrite some of them when testing with obscure command lines.
   4746     # This happens at least with the AIX C compiler.
   4747     : > sub/conftest.c
   4748     for i in 1 2 3 4 5 6; do
   4749       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4750       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4751       # Solaris 10 /bin/sh.
   4752       echo '/* dummy */' > sub/conftst$i.h
   4753     done
   4754     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4755 
   4756     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4757     # mode.  It turns out that the SunPro C++ compiler does not properly
   4758     # handle '-M -o', and we need to detect this.  Also, some Intel
   4759     # versions had trouble with output in subdirs.
   4760     am__obj=sub/conftest.${OBJEXT-o}
   4761     am__minus_obj="-o $am__obj"
   4762     case $depmode in
   4763     gcc)
   4764       # This depmode causes a compiler race in universal mode.
   4765       test "$am__universal" = false || continue
   4766       ;;
   4767     nosideeffect)
   4768       # After this tag, mechanisms are not by side-effect, so they'll
   4769       # only be used when explicitly requested.
   4770       if test "x$enable_dependency_tracking" = xyes; then
   4771 	continue
   4772       else
   4773 	break
   4774       fi
   4775       ;;
   4776     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4777       # This compiler won't grok '-c -o', but also, the minuso test has
   4778       # not run yet.  These depmodes are late enough in the game, and
   4779       # so weak that their functioning should not be impacted.
   4780       am__obj=conftest.${OBJEXT-o}
   4781       am__minus_obj=
   4782       ;;
   4783     none) break ;;
   4784     esac
   4785     if depmode=$depmode \
   4786        source=sub/conftest.c object=$am__obj \
   4787        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4788        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4789          >/dev/null 2>conftest.err &&
   4790        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4791        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4792        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4793        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4794       # icc doesn't choke on unknown options, it will just issue warnings
   4795       # or remarks (even with -Werror).  So we grep stderr for any message
   4796       # that says an option was ignored or not supported.
   4797       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4798       #   icc: Command line warning: ignoring option '-M'; no argument required
   4799       # The diagnosis changed in icc 8.0:
   4800       #   icc: Command line remark: option '-MP' not supported
   4801       if (grep 'ignoring option' conftest.err ||
   4802           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4803         am_cv_CC_dependencies_compiler_type=$depmode
   4804         break
   4805       fi
   4806     fi
   4807   done
   4808 
   4809   cd ..
   4810   rm -rf conftest.dir
   4811 else
   4812   am_cv_CC_dependencies_compiler_type=none
   4813 fi
   4814 
   4815 fi
   4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4817 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4819 
   4820  if
   4821   test "x$enable_dependency_tracking" != xno \
   4822   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4823   am__fastdepCC_TRUE=
   4824   am__fastdepCC_FALSE='#'
   4825 else
   4826   am__fastdepCC_TRUE='#'
   4827   am__fastdepCC_FALSE=
   4828 fi
   4829 
   4830 
   4831 # Variables for tags utilities; see am/tags.am
   4832 if test -z "$CTAGS"; then
   4833   CTAGS=ctags
   4834 fi
   4835 
   4836 if test -z "$ETAGS"; then
   4837   ETAGS=etags
   4838 fi
   4839 
   4840 if test -z "$CSCOPE"; then
   4841   CSCOPE=cscope
   4842 fi
   4843 
   4844 
   4845 
   4846 # POSIX will say in a future version that running "rm -f" with no argument
   4847 # is OK; and we want to be able to make that assumption in our Makefile
   4848 # recipes.  So use an aggressive probe to check that the usage we want is
   4849 # actually supported "in the wild" to an acceptable degree.
   4850 # See automake bug#10828.
   4851 # To make any issue more visible, cause the running configure to be aborted
   4852 # by default if the 'rm' program in use doesn't match our expectations; the
   4853 # user can still override this though.
   4854 if rm -f && rm -fr && rm -rf; then : OK; else
   4855   cat >&2 <<'END'
   4856 Oops!
   4857 
   4858 Your 'rm' program seems unable to run without file operands specified
   4859 on the command line, even when the '-f' option is present.  This is contrary
   4860 to the behaviour of most rm programs out there, and not conforming with
   4861 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4862 
   4863 Please tell bug-automake@gnu.org about your system, including the value
   4864 of your $PATH and any error possibly output before this message.  This
   4865 can help us improve future automake versions.
   4866 
   4867 END
   4868   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4869     echo 'Configuration will proceed anyway, since you have set the' >&2
   4870     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4871     echo >&2
   4872   else
   4873     cat >&2 <<'END'
   4874 Aborting the configuration process, to ensure you take notice of the issue.
   4875 
   4876 You can download and install GNU coreutils to get an 'rm' implementation
   4877 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4878 
   4879 If you want to complete the configuration process using your problematic
   4880 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4881 to "yes", and re-run configure.
   4882 
   4883 END
   4884     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4885   fi
   4886 fi
   4887 
   4888 
   4889 # Initialize libtool
   4890 case `pwd` in
   4891   *\ * | *\	*)
   4892     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4893 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4894 esac
   4895 
   4896 
   4897 
   4898 macro_version='2.4.7'
   4899 macro_revision='2.4.7'
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 ltmain=$ac_aux_dir/ltmain.sh
   4915 
   4916 
   4917 
   4918   # Make sure we can run config.sub.
   4919 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4920   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4921 
   4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4923 printf %s "checking build system type... " >&6; }
   4924 if test ${ac_cv_build+y}
   4925 then :
   4926   printf %s "(cached) " >&6
   4927 else $as_nop
   4928   ac_build_alias=$build_alias
   4929 test "x$ac_build_alias" = x &&
   4930   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4931 test "x$ac_build_alias" = x &&
   4932   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4933 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4934   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4935 
   4936 fi
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4938 printf "%s\n" "$ac_cv_build" >&6; }
   4939 case $ac_cv_build in
   4940 *-*-*) ;;
   4941 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4942 esac
   4943 build=$ac_cv_build
   4944 ac_save_IFS=$IFS; IFS='-'
   4945 set x $ac_cv_build
   4946 shift
   4947 build_cpu=$1
   4948 build_vendor=$2
   4949 shift; shift
   4950 # Remember, the first character of IFS is used to create $*,
   4951 # except with old shells:
   4952 build_os=$*
   4953 IFS=$ac_save_IFS
   4954 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4955 
   4956 
   4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4958 printf %s "checking host system type... " >&6; }
   4959 if test ${ac_cv_host+y}
   4960 then :
   4961   printf %s "(cached) " >&6
   4962 else $as_nop
   4963   if test "x$host_alias" = x; then
   4964   ac_cv_host=$ac_cv_build
   4965 else
   4966   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4967     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4968 fi
   4969 
   4970 fi
   4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4972 printf "%s\n" "$ac_cv_host" >&6; }
   4973 case $ac_cv_host in
   4974 *-*-*) ;;
   4975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4976 esac
   4977 host=$ac_cv_host
   4978 ac_save_IFS=$IFS; IFS='-'
   4979 set x $ac_cv_host
   4980 shift
   4981 host_cpu=$1
   4982 host_vendor=$2
   4983 shift; shift
   4984 # Remember, the first character of IFS is used to create $*,
   4985 # except with old shells:
   4986 host_os=$*
   4987 IFS=$ac_save_IFS
   4988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4989 
   4990 
   4991 # Backslashify metacharacters that are still active within
   4992 # double-quoted strings.
   4993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4994 
   4995 # Same as above, but do not quote variable references.
   4996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4997 
   4998 # Sed substitution to delay expansion of an escaped shell variable in a
   4999 # double_quote_subst'ed string.
   5000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5001 
   5002 # Sed substitution to delay expansion of an escaped single quote.
   5003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5004 
   5005 # Sed substitution to avoid accidental globbing in evaled expressions
   5006 no_glob_subst='s/\*/\\\*/g'
   5007 
   5008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5011 
   5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5013 printf %s "checking how to print strings... " >&6; }
   5014 # Test print first, because it will be a builtin if present.
   5015 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5016    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5017   ECHO='print -r --'
   5018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5019   ECHO='printf %s\n'
   5020 else
   5021   # Use this function as a fallback that always works.
   5022   func_fallback_echo ()
   5023   {
   5024     eval 'cat <<_LTECHO_EOF
   5025 $1
   5026 _LTECHO_EOF'
   5027   }
   5028   ECHO='func_fallback_echo'
   5029 fi
   5030 
   5031 # func_echo_all arg...
   5032 # Invoke $ECHO with all args, space-separated.
   5033 func_echo_all ()
   5034 {
   5035     $ECHO ""
   5036 }
   5037 
   5038 case $ECHO in
   5039   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5040 printf "%s\n" "printf" >&6; } ;;
   5041   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5042 printf "%s\n" "print -r" >&6; } ;;
   5043   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5044 printf "%s\n" "cat" >&6; } ;;
   5045 esac
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5061 printf %s "checking for a sed that does not truncate output... " >&6; }
   5062 if test ${ac_cv_path_SED+y}
   5063 then :
   5064   printf %s "(cached) " >&6
   5065 else $as_nop
   5066             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5067      for ac_i in 1 2 3 4 5 6 7; do
   5068        ac_script="$ac_script$as_nl$ac_script"
   5069      done
   5070      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5071      { ac_script=; unset ac_script;}
   5072      if test -z "$SED"; then
   5073   ac_path_SED_found=false
   5074   # Loop through the user's path and test for each of PROGNAME-LIST
   5075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5076 for as_dir in $PATH
   5077 do
   5078   IFS=$as_save_IFS
   5079   case $as_dir in #(((
   5080     '') as_dir=./ ;;
   5081     */) ;;
   5082     *) as_dir=$as_dir/ ;;
   5083   esac
   5084     for ac_prog in sed gsed
   5085    do
   5086     for ac_exec_ext in '' $ac_executable_extensions; do
   5087       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5088       as_fn_executable_p "$ac_path_SED" || continue
   5089 # Check for GNU ac_path_SED and select it if it is found.
   5090   # Check for GNU $ac_path_SED
   5091 case `"$ac_path_SED" --version 2>&1` in
   5092 *GNU*)
   5093   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5094 *)
   5095   ac_count=0
   5096   printf %s 0123456789 >"conftest.in"
   5097   while :
   5098   do
   5099     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5100     mv "conftest.tmp" "conftest.in"
   5101     cp "conftest.in" "conftest.nl"
   5102     printf "%s\n" '' >> "conftest.nl"
   5103     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5104     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5105     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5106     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5107       # Best one so far, save it but keep looking for a better one
   5108       ac_cv_path_SED="$ac_path_SED"
   5109       ac_path_SED_max=$ac_count
   5110     fi
   5111     # 10*(2^10) chars as input seems more than enough
   5112     test $ac_count -gt 10 && break
   5113   done
   5114   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5115 esac
   5116 
   5117       $ac_path_SED_found && break 3
   5118     done
   5119   done
   5120   done
   5121 IFS=$as_save_IFS
   5122   if test -z "$ac_cv_path_SED"; then
   5123     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5124   fi
   5125 else
   5126   ac_cv_path_SED=$SED
   5127 fi
   5128 
   5129 fi
   5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5131 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5132  SED="$ac_cv_path_SED"
   5133   rm -f conftest.sed
   5134 
   5135 test -z "$SED" && SED=sed
   5136 Xsed="$SED -e 1s/^X//"
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5149 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5150 if test ${ac_cv_path_GREP+y}
   5151 then :
   5152   printf %s "(cached) " >&6
   5153 else $as_nop
   5154   if test -z "$GREP"; then
   5155   ac_path_GREP_found=false
   5156   # Loop through the user's path and test for each of PROGNAME-LIST
   5157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5158 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5159 do
   5160   IFS=$as_save_IFS
   5161   case $as_dir in #(((
   5162     '') as_dir=./ ;;
   5163     */) ;;
   5164     *) as_dir=$as_dir/ ;;
   5165   esac
   5166     for ac_prog in grep ggrep
   5167    do
   5168     for ac_exec_ext in '' $ac_executable_extensions; do
   5169       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5170       as_fn_executable_p "$ac_path_GREP" || continue
   5171 # Check for GNU ac_path_GREP and select it if it is found.
   5172   # Check for GNU $ac_path_GREP
   5173 case `"$ac_path_GREP" --version 2>&1` in
   5174 *GNU*)
   5175   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5176 *)
   5177   ac_count=0
   5178   printf %s 0123456789 >"conftest.in"
   5179   while :
   5180   do
   5181     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5182     mv "conftest.tmp" "conftest.in"
   5183     cp "conftest.in" "conftest.nl"
   5184     printf "%s\n" 'GREP' >> "conftest.nl"
   5185     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5186     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5187     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5188     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5189       # Best one so far, save it but keep looking for a better one
   5190       ac_cv_path_GREP="$ac_path_GREP"
   5191       ac_path_GREP_max=$ac_count
   5192     fi
   5193     # 10*(2^10) chars as input seems more than enough
   5194     test $ac_count -gt 10 && break
   5195   done
   5196   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5197 esac
   5198 
   5199       $ac_path_GREP_found && break 3
   5200     done
   5201   done
   5202   done
   5203 IFS=$as_save_IFS
   5204   if test -z "$ac_cv_path_GREP"; then
   5205     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5206   fi
   5207 else
   5208   ac_cv_path_GREP=$GREP
   5209 fi
   5210 
   5211 fi
   5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5213 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5214  GREP="$ac_cv_path_GREP"
   5215 
   5216 
   5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5218 printf %s "checking for egrep... " >&6; }
   5219 if test ${ac_cv_path_EGREP+y}
   5220 then :
   5221   printf %s "(cached) " >&6
   5222 else $as_nop
   5223   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5224    then ac_cv_path_EGREP="$GREP -E"
   5225    else
   5226      if test -z "$EGREP"; then
   5227   ac_path_EGREP_found=false
   5228   # Loop through the user's path and test for each of PROGNAME-LIST
   5229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5231 do
   5232   IFS=$as_save_IFS
   5233   case $as_dir in #(((
   5234     '') as_dir=./ ;;
   5235     */) ;;
   5236     *) as_dir=$as_dir/ ;;
   5237   esac
   5238     for ac_prog in egrep
   5239    do
   5240     for ac_exec_ext in '' $ac_executable_extensions; do
   5241       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5242       as_fn_executable_p "$ac_path_EGREP" || continue
   5243 # Check for GNU ac_path_EGREP and select it if it is found.
   5244   # Check for GNU $ac_path_EGREP
   5245 case `"$ac_path_EGREP" --version 2>&1` in
   5246 *GNU*)
   5247   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5248 *)
   5249   ac_count=0
   5250   printf %s 0123456789 >"conftest.in"
   5251   while :
   5252   do
   5253     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5254     mv "conftest.tmp" "conftest.in"
   5255     cp "conftest.in" "conftest.nl"
   5256     printf "%s\n" 'EGREP' >> "conftest.nl"
   5257     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5258     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5259     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5260     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5261       # Best one so far, save it but keep looking for a better one
   5262       ac_cv_path_EGREP="$ac_path_EGREP"
   5263       ac_path_EGREP_max=$ac_count
   5264     fi
   5265     # 10*(2^10) chars as input seems more than enough
   5266     test $ac_count -gt 10 && break
   5267   done
   5268   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5269 esac
   5270 
   5271       $ac_path_EGREP_found && break 3
   5272     done
   5273   done
   5274   done
   5275 IFS=$as_save_IFS
   5276   if test -z "$ac_cv_path_EGREP"; then
   5277     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5278   fi
   5279 else
   5280   ac_cv_path_EGREP=$EGREP
   5281 fi
   5282 
   5283    fi
   5284 fi
   5285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5286 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5287  EGREP="$ac_cv_path_EGREP"
   5288 
   5289 
   5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5291 printf %s "checking for fgrep... " >&6; }
   5292 if test ${ac_cv_path_FGREP+y}
   5293 then :
   5294   printf %s "(cached) " >&6
   5295 else $as_nop
   5296   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5297    then ac_cv_path_FGREP="$GREP -F"
   5298    else
   5299      if test -z "$FGREP"; then
   5300   ac_path_FGREP_found=false
   5301   # Loop through the user's path and test for each of PROGNAME-LIST
   5302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5304 do
   5305   IFS=$as_save_IFS
   5306   case $as_dir in #(((
   5307     '') as_dir=./ ;;
   5308     */) ;;
   5309     *) as_dir=$as_dir/ ;;
   5310   esac
   5311     for ac_prog in fgrep
   5312    do
   5313     for ac_exec_ext in '' $ac_executable_extensions; do
   5314       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5315       as_fn_executable_p "$ac_path_FGREP" || continue
   5316 # Check for GNU ac_path_FGREP and select it if it is found.
   5317   # Check for GNU $ac_path_FGREP
   5318 case `"$ac_path_FGREP" --version 2>&1` in
   5319 *GNU*)
   5320   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5321 *)
   5322   ac_count=0
   5323   printf %s 0123456789 >"conftest.in"
   5324   while :
   5325   do
   5326     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5327     mv "conftest.tmp" "conftest.in"
   5328     cp "conftest.in" "conftest.nl"
   5329     printf "%s\n" 'FGREP' >> "conftest.nl"
   5330     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5331     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5332     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5333     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5334       # Best one so far, save it but keep looking for a better one
   5335       ac_cv_path_FGREP="$ac_path_FGREP"
   5336       ac_path_FGREP_max=$ac_count
   5337     fi
   5338     # 10*(2^10) chars as input seems more than enough
   5339     test $ac_count -gt 10 && break
   5340   done
   5341   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5342 esac
   5343 
   5344       $ac_path_FGREP_found && break 3
   5345     done
   5346   done
   5347   done
   5348 IFS=$as_save_IFS
   5349   if test -z "$ac_cv_path_FGREP"; then
   5350     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5351   fi
   5352 else
   5353   ac_cv_path_FGREP=$FGREP
   5354 fi
   5355 
   5356    fi
   5357 fi
   5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5359 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5360  FGREP="$ac_cv_path_FGREP"
   5361 
   5362 
   5363 test -z "$GREP" && GREP=grep
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 # Check whether --with-gnu-ld was given.
   5384 if test ${with_gnu_ld+y}
   5385 then :
   5386   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5387 else $as_nop
   5388   with_gnu_ld=no
   5389 fi
   5390 
   5391 ac_prog=ld
   5392 if test yes = "$GCC"; then
   5393   # Check if gcc -print-prog-name=ld gives a path.
   5394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5395 printf %s "checking for ld used by $CC... " >&6; }
   5396   case $host in
   5397   *-*-mingw*)
   5398     # gcc leaves a trailing carriage return, which upsets mingw
   5399     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5400   *)
   5401     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5402   esac
   5403   case $ac_prog in
   5404     # Accept absolute paths.
   5405     [\\/]* | ?:[\\/]*)
   5406       re_direlt='/[^/][^/]*/\.\./'
   5407       # Canonicalize the pathname of ld
   5408       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5409       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5410 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5411       done
   5412       test -z "$LD" && LD=$ac_prog
   5413       ;;
   5414   "")
   5415     # If it fails, then pretend we aren't using GCC.
   5416     ac_prog=ld
   5417     ;;
   5418   *)
   5419     # If it is relative, then search for the first ld in PATH.
   5420     with_gnu_ld=unknown
   5421     ;;
   5422   esac
   5423 elif test yes = "$with_gnu_ld"; then
   5424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5425 printf %s "checking for GNU ld... " >&6; }
   5426 else
   5427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5428 printf %s "checking for non-GNU ld... " >&6; }
   5429 fi
   5430 if test ${lt_cv_path_LD+y}
   5431 then :
   5432   printf %s "(cached) " >&6
   5433 else $as_nop
   5434   if test -z "$LD"; then
   5435   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5436   for ac_dir in $PATH; do
   5437     IFS=$lt_save_ifs
   5438     test -z "$ac_dir" && ac_dir=.
   5439     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5440       lt_cv_path_LD=$ac_dir/$ac_prog
   5441       # Check to see if the program is GNU ld.  I'd rather use --version,
   5442       # but apparently some variants of GNU ld only accept -v.
   5443       # Break only if it was the GNU/non-GNU ld that we prefer.
   5444       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5445       *GNU* | *'with BFD'*)
   5446 	test no != "$with_gnu_ld" && break
   5447 	;;
   5448       *)
   5449 	test yes != "$with_gnu_ld" && break
   5450 	;;
   5451       esac
   5452     fi
   5453   done
   5454   IFS=$lt_save_ifs
   5455 else
   5456   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5457 fi
   5458 fi
   5459 
   5460 LD=$lt_cv_path_LD
   5461 if test -n "$LD"; then
   5462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5463 printf "%s\n" "$LD" >&6; }
   5464 else
   5465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5466 printf "%s\n" "no" >&6; }
   5467 fi
   5468 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5470 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5471 if test ${lt_cv_prog_gnu_ld+y}
   5472 then :
   5473   printf %s "(cached) " >&6
   5474 else $as_nop
   5475   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5476 case `$LD -v 2>&1 </dev/null` in
   5477 *GNU* | *'with BFD'*)
   5478   lt_cv_prog_gnu_ld=yes
   5479   ;;
   5480 *)
   5481   lt_cv_prog_gnu_ld=no
   5482   ;;
   5483 esac
   5484 fi
   5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5486 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5487 with_gnu_ld=$lt_cv_prog_gnu_ld
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5498 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5499 if test ${lt_cv_path_NM+y}
   5500 then :
   5501   printf %s "(cached) " >&6
   5502 else $as_nop
   5503   if test -n "$NM"; then
   5504   # Let the user override the test.
   5505   lt_cv_path_NM=$NM
   5506 else
   5507   lt_nm_to_check=${ac_tool_prefix}nm
   5508   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5509     lt_nm_to_check="$lt_nm_to_check nm"
   5510   fi
   5511   for lt_tmp_nm in $lt_nm_to_check; do
   5512     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5513     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5514       IFS=$lt_save_ifs
   5515       test -z "$ac_dir" && ac_dir=.
   5516       tmp_nm=$ac_dir/$lt_tmp_nm
   5517       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5518 	# Check to see if the nm accepts a BSD-compat flag.
   5519 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5520 	#   nm: unknown option "B" ignored
   5521 	# Tru64's nm complains that /dev/null is an invalid object file
   5522 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5523 	case $build_os in
   5524 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5525 	*) lt_bad_file=/dev/null ;;
   5526 	esac
   5527 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5528 	*$lt_bad_file* | *'Invalid file or object type'*)
   5529 	  lt_cv_path_NM="$tmp_nm -B"
   5530 	  break 2
   5531 	  ;;
   5532 	*)
   5533 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5534 	  */dev/null*)
   5535 	    lt_cv_path_NM="$tmp_nm -p"
   5536 	    break 2
   5537 	    ;;
   5538 	  *)
   5539 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5540 	    continue # so that we can try to find one that supports BSD flags
   5541 	    ;;
   5542 	  esac
   5543 	  ;;
   5544 	esac
   5545       fi
   5546     done
   5547     IFS=$lt_save_ifs
   5548   done
   5549   : ${lt_cv_path_NM=no}
   5550 fi
   5551 fi
   5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5553 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5554 if test no != "$lt_cv_path_NM"; then
   5555   NM=$lt_cv_path_NM
   5556 else
   5557   # Didn't find any BSD compatible name lister, look for dumpbin.
   5558   if test -n "$DUMPBIN"; then :
   5559     # Let the user override the test.
   5560   else
   5561     if test -n "$ac_tool_prefix"; then
   5562   for ac_prog in dumpbin "link -dump"
   5563   do
   5564     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5567 printf %s "checking for $ac_word... " >&6; }
   5568 if test ${ac_cv_prog_DUMPBIN+y}
   5569 then :
   5570   printf %s "(cached) " >&6
   5571 else $as_nop
   5572   if test -n "$DUMPBIN"; then
   5573   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5574 else
   5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5576 for as_dir in $PATH
   5577 do
   5578   IFS=$as_save_IFS
   5579   case $as_dir in #(((
   5580     '') as_dir=./ ;;
   5581     */) ;;
   5582     *) as_dir=$as_dir/ ;;
   5583   esac
   5584     for ac_exec_ext in '' $ac_executable_extensions; do
   5585   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5586     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5587     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5588     break 2
   5589   fi
   5590 done
   5591   done
   5592 IFS=$as_save_IFS
   5593 
   5594 fi
   5595 fi
   5596 DUMPBIN=$ac_cv_prog_DUMPBIN
   5597 if test -n "$DUMPBIN"; then
   5598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5599 printf "%s\n" "$DUMPBIN" >&6; }
   5600 else
   5601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5602 printf "%s\n" "no" >&6; }
   5603 fi
   5604 
   5605 
   5606     test -n "$DUMPBIN" && break
   5607   done
   5608 fi
   5609 if test -z "$DUMPBIN"; then
   5610   ac_ct_DUMPBIN=$DUMPBIN
   5611   for ac_prog in dumpbin "link -dump"
   5612 do
   5613   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5614 set dummy $ac_prog; ac_word=$2
   5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5616 printf %s "checking for $ac_word... " >&6; }
   5617 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5618 then :
   5619   printf %s "(cached) " >&6
   5620 else $as_nop
   5621   if test -n "$ac_ct_DUMPBIN"; then
   5622   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5623 else
   5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5625 for as_dir in $PATH
   5626 do
   5627   IFS=$as_save_IFS
   5628   case $as_dir in #(((
   5629     '') as_dir=./ ;;
   5630     */) ;;
   5631     *) as_dir=$as_dir/ ;;
   5632   esac
   5633     for ac_exec_ext in '' $ac_executable_extensions; do
   5634   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5635     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5636     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5637     break 2
   5638   fi
   5639 done
   5640   done
   5641 IFS=$as_save_IFS
   5642 
   5643 fi
   5644 fi
   5645 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5646 if test -n "$ac_ct_DUMPBIN"; then
   5647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5648 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5649 else
   5650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5651 printf "%s\n" "no" >&6; }
   5652 fi
   5653 
   5654 
   5655   test -n "$ac_ct_DUMPBIN" && break
   5656 done
   5657 
   5658   if test "x$ac_ct_DUMPBIN" = x; then
   5659     DUMPBIN=":"
   5660   else
   5661     case $cross_compiling:$ac_tool_warned in
   5662 yes:)
   5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5664 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5665 ac_tool_warned=yes ;;
   5666 esac
   5667     DUMPBIN=$ac_ct_DUMPBIN
   5668   fi
   5669 fi
   5670 
   5671     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5672     *COFF*)
   5673       DUMPBIN="$DUMPBIN -symbols -headers"
   5674       ;;
   5675     *)
   5676       DUMPBIN=:
   5677       ;;
   5678     esac
   5679   fi
   5680 
   5681   if test : != "$DUMPBIN"; then
   5682     NM=$DUMPBIN
   5683   fi
   5684 fi
   5685 test -z "$NM" && NM=nm
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5693 printf %s "checking the name lister ($NM) interface... " >&6; }
   5694 if test ${lt_cv_nm_interface+y}
   5695 then :
   5696   printf %s "(cached) " >&6
   5697 else $as_nop
   5698   lt_cv_nm_interface="BSD nm"
   5699   echo "int some_variable = 0;" > conftest.$ac_ext
   5700   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5701   (eval "$ac_compile" 2>conftest.err)
   5702   cat conftest.err >&5
   5703   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5704   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5705   cat conftest.err >&5
   5706   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5707   cat conftest.out >&5
   5708   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5709     lt_cv_nm_interface="MS dumpbin"
   5710   fi
   5711   rm -f conftest*
   5712 fi
   5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5714 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5715 
   5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5717 printf %s "checking whether ln -s works... " >&6; }
   5718 LN_S=$as_ln_s
   5719 if test "$LN_S" = "ln -s"; then
   5720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5721 printf "%s\n" "yes" >&6; }
   5722 else
   5723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5724 printf "%s\n" "no, using $LN_S" >&6; }
   5725 fi
   5726 
   5727 # find the maximum length of command line arguments
   5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5729 printf %s "checking the maximum length of command line arguments... " >&6; }
   5730 if test ${lt_cv_sys_max_cmd_len+y}
   5731 then :
   5732   printf %s "(cached) " >&6
   5733 else $as_nop
   5734     i=0
   5735   teststring=ABCD
   5736 
   5737   case $build_os in
   5738   msdosdjgpp*)
   5739     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5740     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5741     # during glob expansion).  Even if it were fixed, the result of this
   5742     # check would be larger than it should be.
   5743     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5744     ;;
   5745 
   5746   gnu*)
   5747     # Under GNU Hurd, this test is not required because there is
   5748     # no limit to the length of command line arguments.
   5749     # Libtool will interpret -1 as no limit whatsoever
   5750     lt_cv_sys_max_cmd_len=-1;
   5751     ;;
   5752 
   5753   cygwin* | mingw* | cegcc*)
   5754     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5755     # about 5 minutes as the teststring grows exponentially.
   5756     # Worse, since 9x/ME are not pre-emptively multitasking,
   5757     # you end up with a "frozen" computer, even though with patience
   5758     # the test eventually succeeds (with a max line length of 256k).
   5759     # Instead, let's just punt: use the minimum linelength reported by
   5760     # all of the supported platforms: 8192 (on NT/2K/XP).
   5761     lt_cv_sys_max_cmd_len=8192;
   5762     ;;
   5763 
   5764   mint*)
   5765     # On MiNT this can take a long time and run out of memory.
   5766     lt_cv_sys_max_cmd_len=8192;
   5767     ;;
   5768 
   5769   amigaos*)
   5770     # On AmigaOS with pdksh, this test takes hours, literally.
   5771     # So we just punt and use a minimum line length of 8192.
   5772     lt_cv_sys_max_cmd_len=8192;
   5773     ;;
   5774 
   5775   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5776     # This has been around since 386BSD, at least.  Likely further.
   5777     if test -x /sbin/sysctl; then
   5778       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5779     elif test -x /usr/sbin/sysctl; then
   5780       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5781     else
   5782       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5783     fi
   5784     # And add a safety zone
   5785     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5786     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5787     ;;
   5788 
   5789   interix*)
   5790     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5791     lt_cv_sys_max_cmd_len=196608
   5792     ;;
   5793 
   5794   os2*)
   5795     # The test takes a long time on OS/2.
   5796     lt_cv_sys_max_cmd_len=8192
   5797     ;;
   5798 
   5799   osf*)
   5800     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5801     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5802     # nice to cause kernel panics so lets avoid the loop below.
   5803     # First set a reasonable default.
   5804     lt_cv_sys_max_cmd_len=16384
   5805     #
   5806     if test -x /sbin/sysconfig; then
   5807       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5808         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5809       esac
   5810     fi
   5811     ;;
   5812   sco3.2v5*)
   5813     lt_cv_sys_max_cmd_len=102400
   5814     ;;
   5815   sysv5* | sco5v6* | sysv4.2uw2*)
   5816     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5817     if test -n "$kargmax"; then
   5818       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5819     else
   5820       lt_cv_sys_max_cmd_len=32768
   5821     fi
   5822     ;;
   5823   *)
   5824     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5825     if test -n "$lt_cv_sys_max_cmd_len" && \
   5826        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5827       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5828       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5829     else
   5830       # Make teststring a little bigger before we do anything with it.
   5831       # a 1K string should be a reasonable start.
   5832       for i in 1 2 3 4 5 6 7 8; do
   5833         teststring=$teststring$teststring
   5834       done
   5835       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5836       # If test is not a shell built-in, we'll probably end up computing a
   5837       # maximum length that is only half of the actual maximum length, but
   5838       # we can't tell.
   5839       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5840 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5841 	      test 17 != "$i" # 1/2 MB should be enough
   5842       do
   5843         i=`expr $i + 1`
   5844         teststring=$teststring$teststring
   5845       done
   5846       # Only check the string length outside the loop.
   5847       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5848       teststring=
   5849       # Add a significant safety factor because C++ compilers can tack on
   5850       # massive amounts of additional arguments before passing them to the
   5851       # linker.  It appears as though 1/2 is a usable value.
   5852       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5853     fi
   5854     ;;
   5855   esac
   5856 
   5857 fi
   5858 
   5859 if test -n "$lt_cv_sys_max_cmd_len"; then
   5860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5861 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5862 else
   5863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5864 printf "%s\n" "none" >&6; }
   5865 fi
   5866 max_cmd_len=$lt_cv_sys_max_cmd_len
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 : ${CP="cp -f"}
   5874 : ${MV="mv -f"}
   5875 : ${RM="rm -f"}
   5876 
   5877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5878   lt_unset=unset
   5879 else
   5880   lt_unset=false
   5881 fi
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 # test EBCDIC or ASCII
   5888 case `echo X|tr X '\101'` in
   5889  A) # ASCII based system
   5890     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5891   lt_SP2NL='tr \040 \012'
   5892   lt_NL2SP='tr \015\012 \040\040'
   5893   ;;
   5894  *) # EBCDIC based system
   5895   lt_SP2NL='tr \100 \n'
   5896   lt_NL2SP='tr \r\n \100\100'
   5897   ;;
   5898 esac
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5909 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5910 if test ${lt_cv_to_host_file_cmd+y}
   5911 then :
   5912   printf %s "(cached) " >&6
   5913 else $as_nop
   5914   case $host in
   5915   *-*-mingw* )
   5916     case $build in
   5917       *-*-mingw* ) # actually msys
   5918         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5919         ;;
   5920       *-*-cygwin* )
   5921         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5922         ;;
   5923       * ) # otherwise, assume *nix
   5924         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5925         ;;
   5926     esac
   5927     ;;
   5928   *-*-cygwin* )
   5929     case $build in
   5930       *-*-mingw* ) # actually msys
   5931         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5932         ;;
   5933       *-*-cygwin* )
   5934         lt_cv_to_host_file_cmd=func_convert_file_noop
   5935         ;;
   5936       * ) # otherwise, assume *nix
   5937         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5938         ;;
   5939     esac
   5940     ;;
   5941   * ) # unhandled hosts (and "normal" native builds)
   5942     lt_cv_to_host_file_cmd=func_convert_file_noop
   5943     ;;
   5944 esac
   5945 
   5946 fi
   5947 
   5948 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5950 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5957 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5958 if test ${lt_cv_to_tool_file_cmd+y}
   5959 then :
   5960   printf %s "(cached) " >&6
   5961 else $as_nop
   5962   #assume ordinary cross tools, or native build.
   5963 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5964 case $host in
   5965   *-*-mingw* )
   5966     case $build in
   5967       *-*-mingw* ) # actually msys
   5968         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5969         ;;
   5970     esac
   5971     ;;
   5972 esac
   5973 
   5974 fi
   5975 
   5976 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5978 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5985 printf %s "checking for $LD option to reload object files... " >&6; }
   5986 if test ${lt_cv_ld_reload_flag+y}
   5987 then :
   5988   printf %s "(cached) " >&6
   5989 else $as_nop
   5990   lt_cv_ld_reload_flag='-r'
   5991 fi
   5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5993 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5994 reload_flag=$lt_cv_ld_reload_flag
   5995 case $reload_flag in
   5996 "" | " "*) ;;
   5997 *) reload_flag=" $reload_flag" ;;
   5998 esac
   5999 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6000 case $host_os in
   6001   cygwin* | mingw* | pw32* | cegcc*)
   6002     if test yes != "$GCC"; then
   6003       reload_cmds=false
   6004     fi
   6005     ;;
   6006   darwin*)
   6007     if test yes = "$GCC"; then
   6008       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6009     else
   6010       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6011     fi
   6012     ;;
   6013 esac
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 if test -n "$ac_tool_prefix"; then
   6024   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6025 set dummy ${ac_tool_prefix}file; ac_word=$2
   6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6027 printf %s "checking for $ac_word... " >&6; }
   6028 if test ${ac_cv_prog_FILECMD+y}
   6029 then :
   6030   printf %s "(cached) " >&6
   6031 else $as_nop
   6032   if test -n "$FILECMD"; then
   6033   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6034 else
   6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6036 for as_dir in $PATH
   6037 do
   6038   IFS=$as_save_IFS
   6039   case $as_dir in #(((
   6040     '') as_dir=./ ;;
   6041     */) ;;
   6042     *) as_dir=$as_dir/ ;;
   6043   esac
   6044     for ac_exec_ext in '' $ac_executable_extensions; do
   6045   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6046     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6048     break 2
   6049   fi
   6050 done
   6051   done
   6052 IFS=$as_save_IFS
   6053 
   6054 fi
   6055 fi
   6056 FILECMD=$ac_cv_prog_FILECMD
   6057 if test -n "$FILECMD"; then
   6058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6059 printf "%s\n" "$FILECMD" >&6; }
   6060 else
   6061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6062 printf "%s\n" "no" >&6; }
   6063 fi
   6064 
   6065 
   6066 fi
   6067 if test -z "$ac_cv_prog_FILECMD"; then
   6068   ac_ct_FILECMD=$FILECMD
   6069   # Extract the first word of "file", so it can be a program name with args.
   6070 set dummy file; ac_word=$2
   6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6072 printf %s "checking for $ac_word... " >&6; }
   6073 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6074 then :
   6075   printf %s "(cached) " >&6
   6076 else $as_nop
   6077   if test -n "$ac_ct_FILECMD"; then
   6078   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6079 else
   6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6081 for as_dir in $PATH
   6082 do
   6083   IFS=$as_save_IFS
   6084   case $as_dir in #(((
   6085     '') as_dir=./ ;;
   6086     */) ;;
   6087     *) as_dir=$as_dir/ ;;
   6088   esac
   6089     for ac_exec_ext in '' $ac_executable_extensions; do
   6090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6091     ac_cv_prog_ac_ct_FILECMD="file"
   6092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6093     break 2
   6094   fi
   6095 done
   6096   done
   6097 IFS=$as_save_IFS
   6098 
   6099 fi
   6100 fi
   6101 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6102 if test -n "$ac_ct_FILECMD"; then
   6103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6104 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6105 else
   6106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6107 printf "%s\n" "no" >&6; }
   6108 fi
   6109 
   6110   if test "x$ac_ct_FILECMD" = x; then
   6111     FILECMD=":"
   6112   else
   6113     case $cross_compiling:$ac_tool_warned in
   6114 yes:)
   6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6116 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6117 ac_tool_warned=yes ;;
   6118 esac
   6119     FILECMD=$ac_ct_FILECMD
   6120   fi
   6121 else
   6122   FILECMD="$ac_cv_prog_FILECMD"
   6123 fi
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 if test -n "$ac_tool_prefix"; then
   6132   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6133 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6135 printf %s "checking for $ac_word... " >&6; }
   6136 if test ${ac_cv_prog_OBJDUMP+y}
   6137 then :
   6138   printf %s "(cached) " >&6
   6139 else $as_nop
   6140   if test -n "$OBJDUMP"; then
   6141   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6142 else
   6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6144 for as_dir in $PATH
   6145 do
   6146   IFS=$as_save_IFS
   6147   case $as_dir in #(((
   6148     '') as_dir=./ ;;
   6149     */) ;;
   6150     *) as_dir=$as_dir/ ;;
   6151   esac
   6152     for ac_exec_ext in '' $ac_executable_extensions; do
   6153   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6154     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6155     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6156     break 2
   6157   fi
   6158 done
   6159   done
   6160 IFS=$as_save_IFS
   6161 
   6162 fi
   6163 fi
   6164 OBJDUMP=$ac_cv_prog_OBJDUMP
   6165 if test -n "$OBJDUMP"; then
   6166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6167 printf "%s\n" "$OBJDUMP" >&6; }
   6168 else
   6169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6170 printf "%s\n" "no" >&6; }
   6171 fi
   6172 
   6173 
   6174 fi
   6175 if test -z "$ac_cv_prog_OBJDUMP"; then
   6176   ac_ct_OBJDUMP=$OBJDUMP
   6177   # Extract the first word of "objdump", so it can be a program name with args.
   6178 set dummy objdump; ac_word=$2
   6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6180 printf %s "checking for $ac_word... " >&6; }
   6181 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6182 then :
   6183   printf %s "(cached) " >&6
   6184 else $as_nop
   6185   if test -n "$ac_ct_OBJDUMP"; then
   6186   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6187 else
   6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6189 for as_dir in $PATH
   6190 do
   6191   IFS=$as_save_IFS
   6192   case $as_dir in #(((
   6193     '') as_dir=./ ;;
   6194     */) ;;
   6195     *) as_dir=$as_dir/ ;;
   6196   esac
   6197     for ac_exec_ext in '' $ac_executable_extensions; do
   6198   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6199     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6200     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6201     break 2
   6202   fi
   6203 done
   6204   done
   6205 IFS=$as_save_IFS
   6206 
   6207 fi
   6208 fi
   6209 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6210 if test -n "$ac_ct_OBJDUMP"; then
   6211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6212 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6213 else
   6214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6215 printf "%s\n" "no" >&6; }
   6216 fi
   6217 
   6218   if test "x$ac_ct_OBJDUMP" = x; then
   6219     OBJDUMP="false"
   6220   else
   6221     case $cross_compiling:$ac_tool_warned in
   6222 yes:)
   6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6224 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6225 ac_tool_warned=yes ;;
   6226 esac
   6227     OBJDUMP=$ac_ct_OBJDUMP
   6228   fi
   6229 else
   6230   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6231 fi
   6232 
   6233 test -z "$OBJDUMP" && OBJDUMP=objdump
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6244 printf %s "checking how to recognize dependent libraries... " >&6; }
   6245 if test ${lt_cv_deplibs_check_method+y}
   6246 then :
   6247   printf %s "(cached) " >&6
   6248 else $as_nop
   6249   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6250 lt_cv_file_magic_test_file=
   6251 lt_cv_deplibs_check_method='unknown'
   6252 # Need to set the preceding variable on all platforms that support
   6253 # interlibrary dependencies.
   6254 # 'none' -- dependencies not supported.
   6255 # 'unknown' -- same as none, but documents that we really don't know.
   6256 # 'pass_all' -- all dependencies passed with no checks.
   6257 # 'test_compile' -- check by making test program.
   6258 # 'file_magic [[regex]]' -- check by looking for files in library path
   6259 # that responds to the $file_magic_cmd with a given extended regex.
   6260 # If you have 'file' or equivalent on your system and you're not sure
   6261 # whether 'pass_all' will *always* work, you probably want this one.
   6262 
   6263 case $host_os in
   6264 aix[4-9]*)
   6265   lt_cv_deplibs_check_method=pass_all
   6266   ;;
   6267 
   6268 beos*)
   6269   lt_cv_deplibs_check_method=pass_all
   6270   ;;
   6271 
   6272 bsdi[45]*)
   6273   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6274   lt_cv_file_magic_cmd='$FILECMD -L'
   6275   lt_cv_file_magic_test_file=/shlib/libc.so
   6276   ;;
   6277 
   6278 cygwin*)
   6279   # func_win32_libid is a shell function defined in ltmain.sh
   6280   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6281   lt_cv_file_magic_cmd='func_win32_libid'
   6282   ;;
   6283 
   6284 mingw* | pw32*)
   6285   # Base MSYS/MinGW do not provide the 'file' command needed by
   6286   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6287   # unless we find 'file', for example because we are cross-compiling.
   6288   if ( file / ) >/dev/null 2>&1; then
   6289     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6290     lt_cv_file_magic_cmd='func_win32_libid'
   6291   else
   6292     # Keep this pattern in sync with the one in func_win32_libid.
   6293     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6294     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6295   fi
   6296   ;;
   6297 
   6298 cegcc*)
   6299   # use the weaker test based on 'objdump'. See mingw*.
   6300   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6301   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6302   ;;
   6303 
   6304 darwin* | rhapsody*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 
   6308 freebsd* | dragonfly* | midnightbsd*)
   6309   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6310     case $host_cpu in
   6311     i*86 )
   6312       # Not sure whether the presence of OpenBSD here was a mistake.
   6313       # Let's accept both of them until this is cleared up.
   6314       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6315       lt_cv_file_magic_cmd=$FILECMD
   6316       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6317       ;;
   6318     esac
   6319   else
   6320     lt_cv_deplibs_check_method=pass_all
   6321   fi
   6322   ;;
   6323 
   6324 haiku*)
   6325   lt_cv_deplibs_check_method=pass_all
   6326   ;;
   6327 
   6328 hpux10.20* | hpux11*)
   6329   lt_cv_file_magic_cmd=$FILECMD
   6330   case $host_cpu in
   6331   ia64*)
   6332     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6333     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6334     ;;
   6335   hppa*64*)
   6336     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]'
   6337     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6338     ;;
   6339   *)
   6340     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6341     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6342     ;;
   6343   esac
   6344   ;;
   6345 
   6346 interix[3-9]*)
   6347   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6348   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6349   ;;
   6350 
   6351 irix5* | irix6* | nonstopux*)
   6352   case $LD in
   6353   *-32|*"-32 ") libmagic=32-bit;;
   6354   *-n32|*"-n32 ") libmagic=N32;;
   6355   *-64|*"-64 ") libmagic=64-bit;;
   6356   *) libmagic=never-match;;
   6357   esac
   6358   lt_cv_deplibs_check_method=pass_all
   6359   ;;
   6360 
   6361 # This must be glibc/ELF.
   6362 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6363   lt_cv_deplibs_check_method=pass_all
   6364   ;;
   6365 
   6366 netbsd*)
   6367   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6368     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6369   else
   6370     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6371   fi
   6372   ;;
   6373 
   6374 newos6*)
   6375   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6376   lt_cv_file_magic_cmd=$FILECMD
   6377   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6378   ;;
   6379 
   6380 *nto* | *qnx*)
   6381   lt_cv_deplibs_check_method=pass_all
   6382   ;;
   6383 
   6384 openbsd* | bitrig*)
   6385   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6386     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6387   else
   6388     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6389   fi
   6390   ;;
   6391 
   6392 osf3* | osf4* | osf5*)
   6393   lt_cv_deplibs_check_method=pass_all
   6394   ;;
   6395 
   6396 rdos*)
   6397   lt_cv_deplibs_check_method=pass_all
   6398   ;;
   6399 
   6400 solaris*)
   6401   lt_cv_deplibs_check_method=pass_all
   6402   ;;
   6403 
   6404 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6405   lt_cv_deplibs_check_method=pass_all
   6406   ;;
   6407 
   6408 sysv4 | sysv4.3*)
   6409   case $host_vendor in
   6410   motorola)
   6411     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]'
   6412     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6413     ;;
   6414   ncr)
   6415     lt_cv_deplibs_check_method=pass_all
   6416     ;;
   6417   sequent)
   6418     lt_cv_file_magic_cmd='/bin/file'
   6419     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6420     ;;
   6421   sni)
   6422     lt_cv_file_magic_cmd='/bin/file'
   6423     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6424     lt_cv_file_magic_test_file=/lib/libc.so
   6425     ;;
   6426   siemens)
   6427     lt_cv_deplibs_check_method=pass_all
   6428     ;;
   6429   pc)
   6430     lt_cv_deplibs_check_method=pass_all
   6431     ;;
   6432   esac
   6433   ;;
   6434 
   6435 tpf*)
   6436   lt_cv_deplibs_check_method=pass_all
   6437   ;;
   6438 os2*)
   6439   lt_cv_deplibs_check_method=pass_all
   6440   ;;
   6441 esac
   6442 
   6443 fi
   6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6445 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6446 
   6447 file_magic_glob=
   6448 want_nocaseglob=no
   6449 if test "$build" = "$host"; then
   6450   case $host_os in
   6451   mingw* | pw32*)
   6452     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6453       want_nocaseglob=yes
   6454     else
   6455       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6456     fi
   6457     ;;
   6458   esac
   6459 fi
   6460 
   6461 file_magic_cmd=$lt_cv_file_magic_cmd
   6462 deplibs_check_method=$lt_cv_deplibs_check_method
   6463 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 if test -n "$ac_tool_prefix"; then
   6487   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6488 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6490 printf %s "checking for $ac_word... " >&6; }
   6491 if test ${ac_cv_prog_DLLTOOL+y}
   6492 then :
   6493   printf %s "(cached) " >&6
   6494 else $as_nop
   6495   if test -n "$DLLTOOL"; then
   6496   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6497 else
   6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6499 for as_dir in $PATH
   6500 do
   6501   IFS=$as_save_IFS
   6502   case $as_dir in #(((
   6503     '') as_dir=./ ;;
   6504     */) ;;
   6505     *) as_dir=$as_dir/ ;;
   6506   esac
   6507     for ac_exec_ext in '' $ac_executable_extensions; do
   6508   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6509     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6510     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6511     break 2
   6512   fi
   6513 done
   6514   done
   6515 IFS=$as_save_IFS
   6516 
   6517 fi
   6518 fi
   6519 DLLTOOL=$ac_cv_prog_DLLTOOL
   6520 if test -n "$DLLTOOL"; then
   6521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6522 printf "%s\n" "$DLLTOOL" >&6; }
   6523 else
   6524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6525 printf "%s\n" "no" >&6; }
   6526 fi
   6527 
   6528 
   6529 fi
   6530 if test -z "$ac_cv_prog_DLLTOOL"; then
   6531   ac_ct_DLLTOOL=$DLLTOOL
   6532   # Extract the first word of "dlltool", so it can be a program name with args.
   6533 set dummy dlltool; ac_word=$2
   6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6535 printf %s "checking for $ac_word... " >&6; }
   6536 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6537 then :
   6538   printf %s "(cached) " >&6
   6539 else $as_nop
   6540   if test -n "$ac_ct_DLLTOOL"; then
   6541   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6542 else
   6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6544 for as_dir in $PATH
   6545 do
   6546   IFS=$as_save_IFS
   6547   case $as_dir in #(((
   6548     '') as_dir=./ ;;
   6549     */) ;;
   6550     *) as_dir=$as_dir/ ;;
   6551   esac
   6552     for ac_exec_ext in '' $ac_executable_extensions; do
   6553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6554     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6556     break 2
   6557   fi
   6558 done
   6559   done
   6560 IFS=$as_save_IFS
   6561 
   6562 fi
   6563 fi
   6564 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6565 if test -n "$ac_ct_DLLTOOL"; then
   6566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6567 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6568 else
   6569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6570 printf "%s\n" "no" >&6; }
   6571 fi
   6572 
   6573   if test "x$ac_ct_DLLTOOL" = x; then
   6574     DLLTOOL="false"
   6575   else
   6576     case $cross_compiling:$ac_tool_warned in
   6577 yes:)
   6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6579 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6580 ac_tool_warned=yes ;;
   6581 esac
   6582     DLLTOOL=$ac_ct_DLLTOOL
   6583   fi
   6584 else
   6585   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6586 fi
   6587 
   6588 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6600 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6601 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else $as_nop
   6605   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6606 
   6607 case $host_os in
   6608 cygwin* | mingw* | pw32* | cegcc*)
   6609   # two different shell functions defined in ltmain.sh;
   6610   # decide which one to use based on capabilities of $DLLTOOL
   6611   case `$DLLTOOL --help 2>&1` in
   6612   *--identify-strict*)
   6613     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6614     ;;
   6615   *)
   6616     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6617     ;;
   6618   esac
   6619   ;;
   6620 *)
   6621   # fallback: assume linklib IS sharedlib
   6622   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6623   ;;
   6624 esac
   6625 
   6626 fi
   6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6628 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6629 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6630 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 if test -n "$ac_tool_prefix"; then
   6639   for ac_prog in ar
   6640   do
   6641     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 printf %s "checking for $ac_word... " >&6; }
   6645 if test ${ac_cv_prog_AR+y}
   6646 then :
   6647   printf %s "(cached) " >&6
   6648 else $as_nop
   6649   if test -n "$AR"; then
   6650   ac_cv_prog_AR="$AR" # Let the user override the test.
   6651 else
   6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6653 for as_dir in $PATH
   6654 do
   6655   IFS=$as_save_IFS
   6656   case $as_dir in #(((
   6657     '') as_dir=./ ;;
   6658     */) ;;
   6659     *) as_dir=$as_dir/ ;;
   6660   esac
   6661     for ac_exec_ext in '' $ac_executable_extensions; do
   6662   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6663     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6664     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6665     break 2
   6666   fi
   6667 done
   6668   done
   6669 IFS=$as_save_IFS
   6670 
   6671 fi
   6672 fi
   6673 AR=$ac_cv_prog_AR
   6674 if test -n "$AR"; then
   6675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6676 printf "%s\n" "$AR" >&6; }
   6677 else
   6678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6679 printf "%s\n" "no" >&6; }
   6680 fi
   6681 
   6682 
   6683     test -n "$AR" && break
   6684   done
   6685 fi
   6686 if test -z "$AR"; then
   6687   ac_ct_AR=$AR
   6688   for ac_prog in ar
   6689 do
   6690   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6691 set dummy $ac_prog; ac_word=$2
   6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6693 printf %s "checking for $ac_word... " >&6; }
   6694 if test ${ac_cv_prog_ac_ct_AR+y}
   6695 then :
   6696   printf %s "(cached) " >&6
   6697 else $as_nop
   6698   if test -n "$ac_ct_AR"; then
   6699   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6700 else
   6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6702 for as_dir in $PATH
   6703 do
   6704   IFS=$as_save_IFS
   6705   case $as_dir in #(((
   6706     '') as_dir=./ ;;
   6707     */) ;;
   6708     *) as_dir=$as_dir/ ;;
   6709   esac
   6710     for ac_exec_ext in '' $ac_executable_extensions; do
   6711   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6712     ac_cv_prog_ac_ct_AR="$ac_prog"
   6713     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6714     break 2
   6715   fi
   6716 done
   6717   done
   6718 IFS=$as_save_IFS
   6719 
   6720 fi
   6721 fi
   6722 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6723 if test -n "$ac_ct_AR"; then
   6724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6725 printf "%s\n" "$ac_ct_AR" >&6; }
   6726 else
   6727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6728 printf "%s\n" "no" >&6; }
   6729 fi
   6730 
   6731 
   6732   test -n "$ac_ct_AR" && break
   6733 done
   6734 
   6735   if test "x$ac_ct_AR" = x; then
   6736     AR="false"
   6737   else
   6738     case $cross_compiling:$ac_tool_warned in
   6739 yes:)
   6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6742 ac_tool_warned=yes ;;
   6743 esac
   6744     AR=$ac_ct_AR
   6745   fi
   6746 fi
   6747 
   6748 : ${AR=ar}
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6756 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6757 # higher priority because thats what people were doing historically (setting
   6758 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6759 # variable obsoleted/removed.
   6760 
   6761 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6762 lt_ar_flags=$AR_FLAGS
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6770 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6778 printf %s "checking for archiver @FILE support... " >&6; }
   6779 if test ${lt_cv_ar_at_file+y}
   6780 then :
   6781   printf %s "(cached) " >&6
   6782 else $as_nop
   6783   lt_cv_ar_at_file=no
   6784    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6785 /* end confdefs.h.  */
   6786 
   6787 int
   6788 main (void)
   6789 {
   6790 
   6791   ;
   6792   return 0;
   6793 }
   6794 _ACEOF
   6795 if ac_fn_c_try_compile "$LINENO"
   6796 then :
   6797   echo conftest.$ac_objext > conftest.lst
   6798       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6799       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6800   (eval $lt_ar_try) 2>&5
   6801   ac_status=$?
   6802   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6803   test $ac_status = 0; }
   6804       if test 0 -eq "$ac_status"; then
   6805 	# Ensure the archiver fails upon bogus file names.
   6806 	rm -f conftest.$ac_objext libconftest.a
   6807 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6808   (eval $lt_ar_try) 2>&5
   6809   ac_status=$?
   6810   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6811   test $ac_status = 0; }
   6812 	if test 0 -ne "$ac_status"; then
   6813           lt_cv_ar_at_file=@
   6814         fi
   6815       fi
   6816       rm -f conftest.* libconftest.a
   6817 
   6818 fi
   6819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6820 
   6821 fi
   6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6823 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6824 
   6825 if test no = "$lt_cv_ar_at_file"; then
   6826   archiver_list_spec=
   6827 else
   6828   archiver_list_spec=$lt_cv_ar_at_file
   6829 fi
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 if test -n "$ac_tool_prefix"; then
   6838   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6839 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6841 printf %s "checking for $ac_word... " >&6; }
   6842 if test ${ac_cv_prog_STRIP+y}
   6843 then :
   6844   printf %s "(cached) " >&6
   6845 else $as_nop
   6846   if test -n "$STRIP"; then
   6847   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6848 else
   6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6850 for as_dir in $PATH
   6851 do
   6852   IFS=$as_save_IFS
   6853   case $as_dir in #(((
   6854     '') as_dir=./ ;;
   6855     */) ;;
   6856     *) as_dir=$as_dir/ ;;
   6857   esac
   6858     for ac_exec_ext in '' $ac_executable_extensions; do
   6859   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6860     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6861     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6862     break 2
   6863   fi
   6864 done
   6865   done
   6866 IFS=$as_save_IFS
   6867 
   6868 fi
   6869 fi
   6870 STRIP=$ac_cv_prog_STRIP
   6871 if test -n "$STRIP"; then
   6872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6873 printf "%s\n" "$STRIP" >&6; }
   6874 else
   6875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6876 printf "%s\n" "no" >&6; }
   6877 fi
   6878 
   6879 
   6880 fi
   6881 if test -z "$ac_cv_prog_STRIP"; then
   6882   ac_ct_STRIP=$STRIP
   6883   # Extract the first word of "strip", so it can be a program name with args.
   6884 set dummy strip; ac_word=$2
   6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6886 printf %s "checking for $ac_word... " >&6; }
   6887 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6888 then :
   6889   printf %s "(cached) " >&6
   6890 else $as_nop
   6891   if test -n "$ac_ct_STRIP"; then
   6892   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6893 else
   6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6895 for as_dir in $PATH
   6896 do
   6897   IFS=$as_save_IFS
   6898   case $as_dir in #(((
   6899     '') as_dir=./ ;;
   6900     */) ;;
   6901     *) as_dir=$as_dir/ ;;
   6902   esac
   6903     for ac_exec_ext in '' $ac_executable_extensions; do
   6904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6905     ac_cv_prog_ac_ct_STRIP="strip"
   6906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6907     break 2
   6908   fi
   6909 done
   6910   done
   6911 IFS=$as_save_IFS
   6912 
   6913 fi
   6914 fi
   6915 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6916 if test -n "$ac_ct_STRIP"; then
   6917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6918 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6919 else
   6920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6921 printf "%s\n" "no" >&6; }
   6922 fi
   6923 
   6924   if test "x$ac_ct_STRIP" = x; then
   6925     STRIP=":"
   6926   else
   6927     case $cross_compiling:$ac_tool_warned in
   6928 yes:)
   6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6930 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6931 ac_tool_warned=yes ;;
   6932 esac
   6933     STRIP=$ac_ct_STRIP
   6934   fi
   6935 else
   6936   STRIP="$ac_cv_prog_STRIP"
   6937 fi
   6938 
   6939 test -z "$STRIP" && STRIP=:
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 if test -n "$ac_tool_prefix"; then
   6947   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6948 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6950 printf %s "checking for $ac_word... " >&6; }
   6951 if test ${ac_cv_prog_RANLIB+y}
   6952 then :
   6953   printf %s "(cached) " >&6
   6954 else $as_nop
   6955   if test -n "$RANLIB"; then
   6956   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   case $as_dir in #(((
   6963     '') as_dir=./ ;;
   6964     */) ;;
   6965     *) as_dir=$as_dir/ ;;
   6966   esac
   6967     for ac_exec_ext in '' $ac_executable_extensions; do
   6968   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6969     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6970     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6971     break 2
   6972   fi
   6973 done
   6974   done
   6975 IFS=$as_save_IFS
   6976 
   6977 fi
   6978 fi
   6979 RANLIB=$ac_cv_prog_RANLIB
   6980 if test -n "$RANLIB"; then
   6981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6982 printf "%s\n" "$RANLIB" >&6; }
   6983 else
   6984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6985 printf "%s\n" "no" >&6; }
   6986 fi
   6987 
   6988 
   6989 fi
   6990 if test -z "$ac_cv_prog_RANLIB"; then
   6991   ac_ct_RANLIB=$RANLIB
   6992   # Extract the first word of "ranlib", so it can be a program name with args.
   6993 set dummy ranlib; ac_word=$2
   6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6995 printf %s "checking for $ac_word... " >&6; }
   6996 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6997 then :
   6998   printf %s "(cached) " >&6
   6999 else $as_nop
   7000   if test -n "$ac_ct_RANLIB"; then
   7001   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7002 else
   7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7004 for as_dir in $PATH
   7005 do
   7006   IFS=$as_save_IFS
   7007   case $as_dir in #(((
   7008     '') as_dir=./ ;;
   7009     */) ;;
   7010     *) as_dir=$as_dir/ ;;
   7011   esac
   7012     for ac_exec_ext in '' $ac_executable_extensions; do
   7013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7014     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7016     break 2
   7017   fi
   7018 done
   7019   done
   7020 IFS=$as_save_IFS
   7021 
   7022 fi
   7023 fi
   7024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7025 if test -n "$ac_ct_RANLIB"; then
   7026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7027 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7028 else
   7029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7030 printf "%s\n" "no" >&6; }
   7031 fi
   7032 
   7033   if test "x$ac_ct_RANLIB" = x; then
   7034     RANLIB=":"
   7035   else
   7036     case $cross_compiling:$ac_tool_warned in
   7037 yes:)
   7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7039 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7040 ac_tool_warned=yes ;;
   7041 esac
   7042     RANLIB=$ac_ct_RANLIB
   7043   fi
   7044 else
   7045   RANLIB="$ac_cv_prog_RANLIB"
   7046 fi
   7047 
   7048 test -z "$RANLIB" && RANLIB=:
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 # Determine commands to create old-style static archives.
   7056 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7057 old_postinstall_cmds='chmod 644 $oldlib'
   7058 old_postuninstall_cmds=
   7059 
   7060 if test -n "$RANLIB"; then
   7061   case $host_os in
   7062   bitrig* | openbsd*)
   7063     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7064     ;;
   7065   *)
   7066     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7067     ;;
   7068   esac
   7069   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7070 fi
   7071 
   7072 case $host_os in
   7073   darwin*)
   7074     lock_old_archive_extraction=yes ;;
   7075   *)
   7076     lock_old_archive_extraction=no ;;
   7077 esac
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 # If no C compiler was specified, use CC.
   7118 LTCC=${LTCC-"$CC"}
   7119 
   7120 # If no C compiler flags were specified, use CFLAGS.
   7121 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7122 
   7123 # Allow CC to be a program name with arguments.
   7124 compiler=$CC
   7125 
   7126 
   7127 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7129 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7130 if test ${lt_cv_sys_global_symbol_pipe+y}
   7131 then :
   7132   printf %s "(cached) " >&6
   7133 else $as_nop
   7134 
   7135 # These are sane defaults that work on at least a few old systems.
   7136 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7137 
   7138 # Character class describing NM global symbol codes.
   7139 symcode='[BCDEGRST]'
   7140 
   7141 # Regexp to match symbols that can be accessed directly from C.
   7142 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7143 
   7144 # Define system-specific variables.
   7145 case $host_os in
   7146 aix*)
   7147   symcode='[BCDT]'
   7148   ;;
   7149 cygwin* | mingw* | pw32* | cegcc*)
   7150   symcode='[ABCDGISTW]'
   7151   ;;
   7152 hpux*)
   7153   if test ia64 = "$host_cpu"; then
   7154     symcode='[ABCDEGRST]'
   7155   fi
   7156   ;;
   7157 irix* | nonstopux*)
   7158   symcode='[BCDEGRST]'
   7159   ;;
   7160 osf*)
   7161   symcode='[BCDEGQRST]'
   7162   ;;
   7163 solaris*)
   7164   symcode='[BDRT]'
   7165   ;;
   7166 sco3.2v5*)
   7167   symcode='[DT]'
   7168   ;;
   7169 sysv4.2uw2*)
   7170   symcode='[DT]'
   7171   ;;
   7172 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7173   symcode='[ABDT]'
   7174   ;;
   7175 sysv4)
   7176   symcode='[DFNSTU]'
   7177   ;;
   7178 esac
   7179 
   7180 # If we're using GNU nm, then use its standard symbol codes.
   7181 case `$NM -V 2>&1` in
   7182 *GNU* | *'with BFD'*)
   7183   symcode='[ABCDGIRSTW]' ;;
   7184 esac
   7185 
   7186 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7187   # Gets list of data symbols to import.
   7188   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7189   # Adjust the below global symbol transforms to fixup imported variables.
   7190   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7191   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7192   lt_c_name_lib_hook="\
   7193   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7194   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7195 else
   7196   # Disable hooks by default.
   7197   lt_cv_sys_global_symbol_to_import=
   7198   lt_cdecl_hook=
   7199   lt_c_name_hook=
   7200   lt_c_name_lib_hook=
   7201 fi
   7202 
   7203 # Transform an extracted symbol line into a proper C declaration.
   7204 # Some systems (esp. on ia64) link data and code symbols differently,
   7205 # so use this general approach.
   7206 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7207 $lt_cdecl_hook\
   7208 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7209 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7210 
   7211 # Transform an extracted symbol line into symbol name and symbol address
   7212 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7213 $lt_c_name_hook\
   7214 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7215 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7216 
   7217 # Transform an extracted symbol line into symbol name with lib prefix and
   7218 # symbol address.
   7219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7220 $lt_c_name_lib_hook\
   7221 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7222 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7223 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7224 
   7225 # Handle CRLF in mingw tool chain
   7226 opt_cr=
   7227 case $build_os in
   7228 mingw*)
   7229   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7230   ;;
   7231 esac
   7232 
   7233 # Try without a prefix underscore, then with it.
   7234 for ac_symprfx in "" "_"; do
   7235 
   7236   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7237   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7238 
   7239   # Write the raw and C identifiers.
   7240   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7241     # Fake it for dumpbin and say T for any non-static function,
   7242     # D for any global variable and I for any imported variable.
   7243     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7244     # which start with @ or ?.
   7245     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7246 "     {last_section=section; section=\$ 3};"\
   7247 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7248 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7249 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7250 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7251 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7252 "     \$ 0!~/External *\|/{next};"\
   7253 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7254 "     {if(hide[section]) next};"\
   7255 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7256 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7257 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7258 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7259 "     ' prfx=^$ac_symprfx"
   7260   else
   7261     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7262   fi
   7263   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7264 
   7265   # Check to see that the pipe works correctly.
   7266   pipe_works=no
   7267 
   7268   rm -f conftest*
   7269   cat > conftest.$ac_ext <<_LT_EOF
   7270 #ifdef __cplusplus
   7271 extern "C" {
   7272 #endif
   7273 char nm_test_var;
   7274 void nm_test_func(void);
   7275 void nm_test_func(void){}
   7276 #ifdef __cplusplus
   7277 }
   7278 #endif
   7279 int main(){nm_test_var='a';nm_test_func();return(0);}
   7280 _LT_EOF
   7281 
   7282   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7283   (eval $ac_compile) 2>&5
   7284   ac_status=$?
   7285   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7286   test $ac_status = 0; }; then
   7287     # Now try to grab the symbols.
   7288     nlist=conftest.nm
   7289     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7290   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7291   ac_status=$?
   7292   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7293   test $ac_status = 0; } && test -s "$nlist"; then
   7294       # Try sorting and uniquifying the output.
   7295       if sort "$nlist" | uniq > "$nlist"T; then
   7296 	mv -f "$nlist"T "$nlist"
   7297       else
   7298 	rm -f "$nlist"T
   7299       fi
   7300 
   7301       # Make sure that we snagged all the symbols we need.
   7302       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7303 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7304 	  cat <<_LT_EOF > conftest.$ac_ext
   7305 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7306 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7307 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7308    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7309 # define LT_DLSYM_CONST
   7310 #elif defined __osf__
   7311 /* This system does not cope well with relocations in const data.  */
   7312 # define LT_DLSYM_CONST
   7313 #else
   7314 # define LT_DLSYM_CONST const
   7315 #endif
   7316 
   7317 #ifdef __cplusplus
   7318 extern "C" {
   7319 #endif
   7320 
   7321 _LT_EOF
   7322 	  # Now generate the symbol file.
   7323 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7324 
   7325 	  cat <<_LT_EOF >> conftest.$ac_ext
   7326 
   7327 /* The mapping between symbol names and symbols.  */
   7328 LT_DLSYM_CONST struct {
   7329   const char *name;
   7330   void       *address;
   7331 }
   7332 lt__PROGRAM__LTX_preloaded_symbols[] =
   7333 {
   7334   { "@PROGRAM@", (void *) 0 },
   7335 _LT_EOF
   7336 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7337 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7338   {0, (void *) 0}
   7339 };
   7340 
   7341 /* This works around a problem in FreeBSD linker */
   7342 #ifdef FREEBSD_WORKAROUND
   7343 static const void *lt_preloaded_setup() {
   7344   return lt__PROGRAM__LTX_preloaded_symbols;
   7345 }
   7346 #endif
   7347 
   7348 #ifdef __cplusplus
   7349 }
   7350 #endif
   7351 _LT_EOF
   7352 	  # Now try linking the two files.
   7353 	  mv conftest.$ac_objext conftstm.$ac_objext
   7354 	  lt_globsym_save_LIBS=$LIBS
   7355 	  lt_globsym_save_CFLAGS=$CFLAGS
   7356 	  LIBS=conftstm.$ac_objext
   7357 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7358 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7359   (eval $ac_link) 2>&5
   7360   ac_status=$?
   7361   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7362   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7363 	    pipe_works=yes
   7364 	  fi
   7365 	  LIBS=$lt_globsym_save_LIBS
   7366 	  CFLAGS=$lt_globsym_save_CFLAGS
   7367 	else
   7368 	  echo "cannot find nm_test_func in $nlist" >&5
   7369 	fi
   7370       else
   7371 	echo "cannot find nm_test_var in $nlist" >&5
   7372       fi
   7373     else
   7374       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7375     fi
   7376   else
   7377     echo "$progname: failed program was:" >&5
   7378     cat conftest.$ac_ext >&5
   7379   fi
   7380   rm -rf conftest* conftst*
   7381 
   7382   # Do not use the global_symbol_pipe unless it works.
   7383   if test yes = "$pipe_works"; then
   7384     break
   7385   else
   7386     lt_cv_sys_global_symbol_pipe=
   7387   fi
   7388 done
   7389 
   7390 fi
   7391 
   7392 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7393   lt_cv_sys_global_symbol_to_cdecl=
   7394 fi
   7395 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7397 printf "%s\n" "failed" >&6; }
   7398 else
   7399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7400 printf "%s\n" "ok" >&6; }
   7401 fi
   7402 
   7403 # Response file support.
   7404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7405   nm_file_list_spec='@'
   7406 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7407   nm_file_list_spec='@'
   7408 fi
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7447 printf %s "checking for sysroot... " >&6; }
   7448 
   7449 # Check whether --with-sysroot was given.
   7450 if test ${with_sysroot+y}
   7451 then :
   7452   withval=$with_sysroot;
   7453 else $as_nop
   7454   with_sysroot=no
   7455 fi
   7456 
   7457 
   7458 lt_sysroot=
   7459 case $with_sysroot in #(
   7460  yes)
   7461    if test yes = "$GCC"; then
   7462      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7463    fi
   7464    ;; #(
   7465  /*)
   7466    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7467    ;; #(
   7468  no|'')
   7469    ;; #(
   7470  *)
   7471    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7472 printf "%s\n" "$with_sysroot" >&6; }
   7473    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7474    ;;
   7475 esac
   7476 
   7477  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7478 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7485 printf %s "checking for a working dd... " >&6; }
   7486 if test ${ac_cv_path_lt_DD+y}
   7487 then :
   7488   printf %s "(cached) " >&6
   7489 else $as_nop
   7490   printf 0123456789abcdef0123456789abcdef >conftest.i
   7491 cat conftest.i conftest.i >conftest2.i
   7492 : ${lt_DD:=$DD}
   7493 if test -z "$lt_DD"; then
   7494   ac_path_lt_DD_found=false
   7495   # Loop through the user's path and test for each of PROGNAME-LIST
   7496   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7497 for as_dir in $PATH
   7498 do
   7499   IFS=$as_save_IFS
   7500   case $as_dir in #(((
   7501     '') as_dir=./ ;;
   7502     */) ;;
   7503     *) as_dir=$as_dir/ ;;
   7504   esac
   7505     for ac_prog in dd
   7506    do
   7507     for ac_exec_ext in '' $ac_executable_extensions; do
   7508       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7509       as_fn_executable_p "$ac_path_lt_DD" || continue
   7510 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7511   cmp -s conftest.i conftest.out \
   7512   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7513 fi
   7514       $ac_path_lt_DD_found && break 3
   7515     done
   7516   done
   7517   done
   7518 IFS=$as_save_IFS
   7519   if test -z "$ac_cv_path_lt_DD"; then
   7520     :
   7521   fi
   7522 else
   7523   ac_cv_path_lt_DD=$lt_DD
   7524 fi
   7525 
   7526 rm -f conftest.i conftest2.i conftest.out
   7527 fi
   7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7529 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7530 
   7531 
   7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7533 printf %s "checking how to truncate binary pipes... " >&6; }
   7534 if test ${lt_cv_truncate_bin+y}
   7535 then :
   7536   printf %s "(cached) " >&6
   7537 else $as_nop
   7538   printf 0123456789abcdef0123456789abcdef >conftest.i
   7539 cat conftest.i conftest.i >conftest2.i
   7540 lt_cv_truncate_bin=
   7541 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7542   cmp -s conftest.i conftest.out \
   7543   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7544 fi
   7545 rm -f conftest.i conftest2.i conftest.out
   7546 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7547 fi
   7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7549 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7558 func_cc_basename ()
   7559 {
   7560     for cc_temp in $*""; do
   7561       case $cc_temp in
   7562         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7563         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7564         \-*) ;;
   7565         *) break;;
   7566       esac
   7567     done
   7568     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7569 }
   7570 
   7571 # Check whether --enable-libtool-lock was given.
   7572 if test ${enable_libtool_lock+y}
   7573 then :
   7574   enableval=$enable_libtool_lock;
   7575 fi
   7576 
   7577 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7578 
   7579 # Some flags need to be propagated to the compiler or linker for good
   7580 # libtool support.
   7581 case $host in
   7582 ia64-*-hpux*)
   7583   # Find out what ABI is being produced by ac_compile, and set mode
   7584   # options accordingly.
   7585   echo 'int i;' > conftest.$ac_ext
   7586   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7587   (eval $ac_compile) 2>&5
   7588   ac_status=$?
   7589   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7590   test $ac_status = 0; }; then
   7591     case `$FILECMD conftest.$ac_objext` in
   7592       *ELF-32*)
   7593 	HPUX_IA64_MODE=32
   7594 	;;
   7595       *ELF-64*)
   7596 	HPUX_IA64_MODE=64
   7597 	;;
   7598     esac
   7599   fi
   7600   rm -rf conftest*
   7601   ;;
   7602 *-*-irix6*)
   7603   # Find out what ABI is being produced by ac_compile, and set linker
   7604   # options accordingly.
   7605   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7606   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7607   (eval $ac_compile) 2>&5
   7608   ac_status=$?
   7609   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7610   test $ac_status = 0; }; then
   7611     if test yes = "$lt_cv_prog_gnu_ld"; then
   7612       case `$FILECMD conftest.$ac_objext` in
   7613 	*32-bit*)
   7614 	  LD="${LD-ld} -melf32bsmip"
   7615 	  ;;
   7616 	*N32*)
   7617 	  LD="${LD-ld} -melf32bmipn32"
   7618 	  ;;
   7619 	*64-bit*)
   7620 	  LD="${LD-ld} -melf64bmip"
   7621 	;;
   7622       esac
   7623     else
   7624       case `$FILECMD conftest.$ac_objext` in
   7625 	*32-bit*)
   7626 	  LD="${LD-ld} -32"
   7627 	  ;;
   7628 	*N32*)
   7629 	  LD="${LD-ld} -n32"
   7630 	  ;;
   7631 	*64-bit*)
   7632 	  LD="${LD-ld} -64"
   7633 	  ;;
   7634       esac
   7635     fi
   7636   fi
   7637   rm -rf conftest*
   7638   ;;
   7639 
   7640 mips64*-*linux*)
   7641   # Find out what ABI is being produced by ac_compile, and set linker
   7642   # options accordingly.
   7643   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7644   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7645   (eval $ac_compile) 2>&5
   7646   ac_status=$?
   7647   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7648   test $ac_status = 0; }; then
   7649     emul=elf
   7650     case `$FILECMD conftest.$ac_objext` in
   7651       *32-bit*)
   7652 	emul="${emul}32"
   7653 	;;
   7654       *64-bit*)
   7655 	emul="${emul}64"
   7656 	;;
   7657     esac
   7658     case `$FILECMD conftest.$ac_objext` in
   7659       *MSB*)
   7660 	emul="${emul}btsmip"
   7661 	;;
   7662       *LSB*)
   7663 	emul="${emul}ltsmip"
   7664 	;;
   7665     esac
   7666     case `$FILECMD conftest.$ac_objext` in
   7667       *N32*)
   7668 	emul="${emul}n32"
   7669 	;;
   7670     esac
   7671     LD="${LD-ld} -m $emul"
   7672   fi
   7673   rm -rf conftest*
   7674   ;;
   7675 
   7676 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7677 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7678   # Find out what ABI is being produced by ac_compile, and set linker
   7679   # options accordingly.  Note that the listed cases only cover the
   7680   # situations where additional linker options are needed (such as when
   7681   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7682   # vice versa); the common cases where no linker options are needed do
   7683   # not appear in the list.
   7684   echo 'int i;' > conftest.$ac_ext
   7685   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7686   (eval $ac_compile) 2>&5
   7687   ac_status=$?
   7688   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7689   test $ac_status = 0; }; then
   7690     case `$FILECMD conftest.o` in
   7691       *32-bit*)
   7692 	case $host in
   7693 	  x86_64-*kfreebsd*-gnu)
   7694 	    LD="${LD-ld} -m elf_i386_fbsd"
   7695 	    ;;
   7696 	  x86_64-*linux*)
   7697 	    case `$FILECMD conftest.o` in
   7698 	      *x86-64*)
   7699 		LD="${LD-ld} -m elf32_x86_64"
   7700 		;;
   7701 	      *)
   7702 		LD="${LD-ld} -m elf_i386"
   7703 		;;
   7704 	    esac
   7705 	    ;;
   7706 	  powerpc64le-*linux*)
   7707 	    LD="${LD-ld} -m elf32lppclinux"
   7708 	    ;;
   7709 	  powerpc64-*linux*)
   7710 	    LD="${LD-ld} -m elf32ppclinux"
   7711 	    ;;
   7712 	  s390x-*linux*)
   7713 	    LD="${LD-ld} -m elf_s390"
   7714 	    ;;
   7715 	  sparc64-*linux*)
   7716 	    LD="${LD-ld} -m elf32_sparc"
   7717 	    ;;
   7718 	esac
   7719 	;;
   7720       *64-bit*)
   7721 	case $host in
   7722 	  x86_64-*kfreebsd*-gnu)
   7723 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7724 	    ;;
   7725 	  x86_64-*linux*)
   7726 	    LD="${LD-ld} -m elf_x86_64"
   7727 	    ;;
   7728 	  powerpcle-*linux*)
   7729 	    LD="${LD-ld} -m elf64lppc"
   7730 	    ;;
   7731 	  powerpc-*linux*)
   7732 	    LD="${LD-ld} -m elf64ppc"
   7733 	    ;;
   7734 	  s390*-*linux*|s390*-*tpf*)
   7735 	    LD="${LD-ld} -m elf64_s390"
   7736 	    ;;
   7737 	  sparc*-*linux*)
   7738 	    LD="${LD-ld} -m elf64_sparc"
   7739 	    ;;
   7740 	esac
   7741 	;;
   7742     esac
   7743   fi
   7744   rm -rf conftest*
   7745   ;;
   7746 
   7747 *-*-sco3.2v5*)
   7748   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7749   SAVE_CFLAGS=$CFLAGS
   7750   CFLAGS="$CFLAGS -belf"
   7751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7752 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7753 if test ${lt_cv_cc_needs_belf+y}
   7754 then :
   7755   printf %s "(cached) " >&6
   7756 else $as_nop
   7757   ac_ext=c
   7758 ac_cpp='$CPP $CPPFLAGS'
   7759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7762 
   7763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7764 /* end confdefs.h.  */
   7765 
   7766 int
   7767 main (void)
   7768 {
   7769 
   7770   ;
   7771   return 0;
   7772 }
   7773 _ACEOF
   7774 if ac_fn_c_try_link "$LINENO"
   7775 then :
   7776   lt_cv_cc_needs_belf=yes
   7777 else $as_nop
   7778   lt_cv_cc_needs_belf=no
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7781     conftest$ac_exeext conftest.$ac_ext
   7782      ac_ext=c
   7783 ac_cpp='$CPP $CPPFLAGS'
   7784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7787 
   7788 fi
   7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7790 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7791   if test yes != "$lt_cv_cc_needs_belf"; then
   7792     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7793     CFLAGS=$SAVE_CFLAGS
   7794   fi
   7795   ;;
   7796 *-*solaris*)
   7797   # Find out what ABI is being produced by ac_compile, and set linker
   7798   # options accordingly.
   7799   echo 'int i;' > conftest.$ac_ext
   7800   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7801   (eval $ac_compile) 2>&5
   7802   ac_status=$?
   7803   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7804   test $ac_status = 0; }; then
   7805     case `$FILECMD conftest.o` in
   7806     *64-bit*)
   7807       case $lt_cv_prog_gnu_ld in
   7808       yes*)
   7809         case $host in
   7810         i?86-*-solaris*|x86_64-*-solaris*)
   7811           LD="${LD-ld} -m elf_x86_64"
   7812           ;;
   7813         sparc*-*-solaris*)
   7814           LD="${LD-ld} -m elf64_sparc"
   7815           ;;
   7816         esac
   7817         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7818         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7819           LD=${LD-ld}_sol2
   7820         fi
   7821         ;;
   7822       *)
   7823 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7824 	  LD="${LD-ld} -64"
   7825 	fi
   7826 	;;
   7827       esac
   7828       ;;
   7829     esac
   7830   fi
   7831   rm -rf conftest*
   7832   ;;
   7833 esac
   7834 
   7835 need_locks=$enable_libtool_lock
   7836 
   7837 if test -n "$ac_tool_prefix"; then
   7838   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7839 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7841 printf %s "checking for $ac_word... " >&6; }
   7842 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7843 then :
   7844   printf %s "(cached) " >&6
   7845 else $as_nop
   7846   if test -n "$MANIFEST_TOOL"; then
   7847   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7848 else
   7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7850 for as_dir in $PATH
   7851 do
   7852   IFS=$as_save_IFS
   7853   case $as_dir in #(((
   7854     '') as_dir=./ ;;
   7855     */) ;;
   7856     *) as_dir=$as_dir/ ;;
   7857   esac
   7858     for ac_exec_ext in '' $ac_executable_extensions; do
   7859   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7860     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7861     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7862     break 2
   7863   fi
   7864 done
   7865   done
   7866 IFS=$as_save_IFS
   7867 
   7868 fi
   7869 fi
   7870 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7871 if test -n "$MANIFEST_TOOL"; then
   7872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7873 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7874 else
   7875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7876 printf "%s\n" "no" >&6; }
   7877 fi
   7878 
   7879 
   7880 fi
   7881 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7882   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7883   # Extract the first word of "mt", so it can be a program name with args.
   7884 set dummy mt; ac_word=$2
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7886 printf %s "checking for $ac_word... " >&6; }
   7887 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7888 then :
   7889   printf %s "(cached) " >&6
   7890 else $as_nop
   7891   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7892   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7893 else
   7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7895 for as_dir in $PATH
   7896 do
   7897   IFS=$as_save_IFS
   7898   case $as_dir in #(((
   7899     '') as_dir=./ ;;
   7900     */) ;;
   7901     *) as_dir=$as_dir/ ;;
   7902   esac
   7903     for ac_exec_ext in '' $ac_executable_extensions; do
   7904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7905     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7907     break 2
   7908   fi
   7909 done
   7910   done
   7911 IFS=$as_save_IFS
   7912 
   7913 fi
   7914 fi
   7915 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7916 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7918 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7919 else
   7920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7921 printf "%s\n" "no" >&6; }
   7922 fi
   7923 
   7924   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7925     MANIFEST_TOOL=":"
   7926   else
   7927     case $cross_compiling:$ac_tool_warned in
   7928 yes:)
   7929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7930 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7931 ac_tool_warned=yes ;;
   7932 esac
   7933     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7934   fi
   7935 else
   7936   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7937 fi
   7938 
   7939 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7941 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7942 if test ${lt_cv_path_mainfest_tool+y}
   7943 then :
   7944   printf %s "(cached) " >&6
   7945 else $as_nop
   7946   lt_cv_path_mainfest_tool=no
   7947   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7948   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7949   cat conftest.err >&5
   7950   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7951     lt_cv_path_mainfest_tool=yes
   7952   fi
   7953   rm -f conftest*
   7954 fi
   7955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7956 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7957 if test yes != "$lt_cv_path_mainfest_tool"; then
   7958   MANIFEST_TOOL=:
   7959 fi
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966   case $host_os in
   7967     rhapsody* | darwin*)
   7968     if test -n "$ac_tool_prefix"; then
   7969   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7970 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7972 printf %s "checking for $ac_word... " >&6; }
   7973 if test ${ac_cv_prog_DSYMUTIL+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else $as_nop
   7977   if test -n "$DSYMUTIL"; then
   7978   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7979 else
   7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7981 for as_dir in $PATH
   7982 do
   7983   IFS=$as_save_IFS
   7984   case $as_dir in #(((
   7985     '') as_dir=./ ;;
   7986     */) ;;
   7987     *) as_dir=$as_dir/ ;;
   7988   esac
   7989     for ac_exec_ext in '' $ac_executable_extensions; do
   7990   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7991     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7992     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7993     break 2
   7994   fi
   7995 done
   7996   done
   7997 IFS=$as_save_IFS
   7998 
   7999 fi
   8000 fi
   8001 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8002 if test -n "$DSYMUTIL"; then
   8003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8004 printf "%s\n" "$DSYMUTIL" >&6; }
   8005 else
   8006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8007 printf "%s\n" "no" >&6; }
   8008 fi
   8009 
   8010 
   8011 fi
   8012 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8013   ac_ct_DSYMUTIL=$DSYMUTIL
   8014   # Extract the first word of "dsymutil", so it can be a program name with args.
   8015 set dummy dsymutil; ac_word=$2
   8016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8017 printf %s "checking for $ac_word... " >&6; }
   8018 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8019 then :
   8020   printf %s "(cached) " >&6
   8021 else $as_nop
   8022   if test -n "$ac_ct_DSYMUTIL"; then
   8023   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8024 else
   8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8026 for as_dir in $PATH
   8027 do
   8028   IFS=$as_save_IFS
   8029   case $as_dir in #(((
   8030     '') as_dir=./ ;;
   8031     */) ;;
   8032     *) as_dir=$as_dir/ ;;
   8033   esac
   8034     for ac_exec_ext in '' $ac_executable_extensions; do
   8035   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8036     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8037     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8038     break 2
   8039   fi
   8040 done
   8041   done
   8042 IFS=$as_save_IFS
   8043 
   8044 fi
   8045 fi
   8046 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8047 if test -n "$ac_ct_DSYMUTIL"; then
   8048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8049 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8050 else
   8051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8052 printf "%s\n" "no" >&6; }
   8053 fi
   8054 
   8055   if test "x$ac_ct_DSYMUTIL" = x; then
   8056     DSYMUTIL=":"
   8057   else
   8058     case $cross_compiling:$ac_tool_warned in
   8059 yes:)
   8060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8061 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8062 ac_tool_warned=yes ;;
   8063 esac
   8064     DSYMUTIL=$ac_ct_DSYMUTIL
   8065   fi
   8066 else
   8067   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8068 fi
   8069 
   8070     if test -n "$ac_tool_prefix"; then
   8071   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8072 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8074 printf %s "checking for $ac_word... " >&6; }
   8075 if test ${ac_cv_prog_NMEDIT+y}
   8076 then :
   8077   printf %s "(cached) " >&6
   8078 else $as_nop
   8079   if test -n "$NMEDIT"; then
   8080   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8081 else
   8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8083 for as_dir in $PATH
   8084 do
   8085   IFS=$as_save_IFS
   8086   case $as_dir in #(((
   8087     '') as_dir=./ ;;
   8088     */) ;;
   8089     *) as_dir=$as_dir/ ;;
   8090   esac
   8091     for ac_exec_ext in '' $ac_executable_extensions; do
   8092   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8093     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8094     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8095     break 2
   8096   fi
   8097 done
   8098   done
   8099 IFS=$as_save_IFS
   8100 
   8101 fi
   8102 fi
   8103 NMEDIT=$ac_cv_prog_NMEDIT
   8104 if test -n "$NMEDIT"; then
   8105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8106 printf "%s\n" "$NMEDIT" >&6; }
   8107 else
   8108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8109 printf "%s\n" "no" >&6; }
   8110 fi
   8111 
   8112 
   8113 fi
   8114 if test -z "$ac_cv_prog_NMEDIT"; then
   8115   ac_ct_NMEDIT=$NMEDIT
   8116   # Extract the first word of "nmedit", so it can be a program name with args.
   8117 set dummy nmedit; ac_word=$2
   8118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8119 printf %s "checking for $ac_word... " >&6; }
   8120 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8121 then :
   8122   printf %s "(cached) " >&6
   8123 else $as_nop
   8124   if test -n "$ac_ct_NMEDIT"; then
   8125   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8126 else
   8127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8128 for as_dir in $PATH
   8129 do
   8130   IFS=$as_save_IFS
   8131   case $as_dir in #(((
   8132     '') as_dir=./ ;;
   8133     */) ;;
   8134     *) as_dir=$as_dir/ ;;
   8135   esac
   8136     for ac_exec_ext in '' $ac_executable_extensions; do
   8137   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8138     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8139     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8140     break 2
   8141   fi
   8142 done
   8143   done
   8144 IFS=$as_save_IFS
   8145 
   8146 fi
   8147 fi
   8148 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8149 if test -n "$ac_ct_NMEDIT"; then
   8150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8151 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8152 else
   8153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8154 printf "%s\n" "no" >&6; }
   8155 fi
   8156 
   8157   if test "x$ac_ct_NMEDIT" = x; then
   8158     NMEDIT=":"
   8159   else
   8160     case $cross_compiling:$ac_tool_warned in
   8161 yes:)
   8162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8163 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8164 ac_tool_warned=yes ;;
   8165 esac
   8166     NMEDIT=$ac_ct_NMEDIT
   8167   fi
   8168 else
   8169   NMEDIT="$ac_cv_prog_NMEDIT"
   8170 fi
   8171 
   8172     if test -n "$ac_tool_prefix"; then
   8173   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8174 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8176 printf %s "checking for $ac_word... " >&6; }
   8177 if test ${ac_cv_prog_LIPO+y}
   8178 then :
   8179   printf %s "(cached) " >&6
   8180 else $as_nop
   8181   if test -n "$LIPO"; then
   8182   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8183 else
   8184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8185 for as_dir in $PATH
   8186 do
   8187   IFS=$as_save_IFS
   8188   case $as_dir in #(((
   8189     '') as_dir=./ ;;
   8190     */) ;;
   8191     *) as_dir=$as_dir/ ;;
   8192   esac
   8193     for ac_exec_ext in '' $ac_executable_extensions; do
   8194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8195     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8197     break 2
   8198   fi
   8199 done
   8200   done
   8201 IFS=$as_save_IFS
   8202 
   8203 fi
   8204 fi
   8205 LIPO=$ac_cv_prog_LIPO
   8206 if test -n "$LIPO"; then
   8207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8208 printf "%s\n" "$LIPO" >&6; }
   8209 else
   8210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8211 printf "%s\n" "no" >&6; }
   8212 fi
   8213 
   8214 
   8215 fi
   8216 if test -z "$ac_cv_prog_LIPO"; then
   8217   ac_ct_LIPO=$LIPO
   8218   # Extract the first word of "lipo", so it can be a program name with args.
   8219 set dummy lipo; ac_word=$2
   8220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8221 printf %s "checking for $ac_word... " >&6; }
   8222 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8223 then :
   8224   printf %s "(cached) " >&6
   8225 else $as_nop
   8226   if test -n "$ac_ct_LIPO"; then
   8227   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8228 else
   8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8230 for as_dir in $PATH
   8231 do
   8232   IFS=$as_save_IFS
   8233   case $as_dir in #(((
   8234     '') as_dir=./ ;;
   8235     */) ;;
   8236     *) as_dir=$as_dir/ ;;
   8237   esac
   8238     for ac_exec_ext in '' $ac_executable_extensions; do
   8239   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8240     ac_cv_prog_ac_ct_LIPO="lipo"
   8241     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8242     break 2
   8243   fi
   8244 done
   8245   done
   8246 IFS=$as_save_IFS
   8247 
   8248 fi
   8249 fi
   8250 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8251 if test -n "$ac_ct_LIPO"; then
   8252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8253 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8254 else
   8255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8256 printf "%s\n" "no" >&6; }
   8257 fi
   8258 
   8259   if test "x$ac_ct_LIPO" = x; then
   8260     LIPO=":"
   8261   else
   8262     case $cross_compiling:$ac_tool_warned in
   8263 yes:)
   8264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8265 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8266 ac_tool_warned=yes ;;
   8267 esac
   8268     LIPO=$ac_ct_LIPO
   8269   fi
   8270 else
   8271   LIPO="$ac_cv_prog_LIPO"
   8272 fi
   8273 
   8274     if test -n "$ac_tool_prefix"; then
   8275   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8276 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8278 printf %s "checking for $ac_word... " >&6; }
   8279 if test ${ac_cv_prog_OTOOL+y}
   8280 then :
   8281   printf %s "(cached) " >&6
   8282 else $as_nop
   8283   if test -n "$OTOOL"; then
   8284   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8285 else
   8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8287 for as_dir in $PATH
   8288 do
   8289   IFS=$as_save_IFS
   8290   case $as_dir in #(((
   8291     '') as_dir=./ ;;
   8292     */) ;;
   8293     *) as_dir=$as_dir/ ;;
   8294   esac
   8295     for ac_exec_ext in '' $ac_executable_extensions; do
   8296   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8297     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8298     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8299     break 2
   8300   fi
   8301 done
   8302   done
   8303 IFS=$as_save_IFS
   8304 
   8305 fi
   8306 fi
   8307 OTOOL=$ac_cv_prog_OTOOL
   8308 if test -n "$OTOOL"; then
   8309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8310 printf "%s\n" "$OTOOL" >&6; }
   8311 else
   8312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8313 printf "%s\n" "no" >&6; }
   8314 fi
   8315 
   8316 
   8317 fi
   8318 if test -z "$ac_cv_prog_OTOOL"; then
   8319   ac_ct_OTOOL=$OTOOL
   8320   # Extract the first word of "otool", so it can be a program name with args.
   8321 set dummy otool; ac_word=$2
   8322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8323 printf %s "checking for $ac_word... " >&6; }
   8324 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8325 then :
   8326   printf %s "(cached) " >&6
   8327 else $as_nop
   8328   if test -n "$ac_ct_OTOOL"; then
   8329   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8330 else
   8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8332 for as_dir in $PATH
   8333 do
   8334   IFS=$as_save_IFS
   8335   case $as_dir in #(((
   8336     '') as_dir=./ ;;
   8337     */) ;;
   8338     *) as_dir=$as_dir/ ;;
   8339   esac
   8340     for ac_exec_ext in '' $ac_executable_extensions; do
   8341   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8342     ac_cv_prog_ac_ct_OTOOL="otool"
   8343     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8344     break 2
   8345   fi
   8346 done
   8347   done
   8348 IFS=$as_save_IFS
   8349 
   8350 fi
   8351 fi
   8352 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8353 if test -n "$ac_ct_OTOOL"; then
   8354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8355 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8356 else
   8357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8358 printf "%s\n" "no" >&6; }
   8359 fi
   8360 
   8361   if test "x$ac_ct_OTOOL" = x; then
   8362     OTOOL=":"
   8363   else
   8364     case $cross_compiling:$ac_tool_warned in
   8365 yes:)
   8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8367 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8368 ac_tool_warned=yes ;;
   8369 esac
   8370     OTOOL=$ac_ct_OTOOL
   8371   fi
   8372 else
   8373   OTOOL="$ac_cv_prog_OTOOL"
   8374 fi
   8375 
   8376     if test -n "$ac_tool_prefix"; then
   8377   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8378 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8380 printf %s "checking for $ac_word... " >&6; }
   8381 if test ${ac_cv_prog_OTOOL64+y}
   8382 then :
   8383   printf %s "(cached) " >&6
   8384 else $as_nop
   8385   if test -n "$OTOOL64"; then
   8386   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8387 else
   8388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8389 for as_dir in $PATH
   8390 do
   8391   IFS=$as_save_IFS
   8392   case $as_dir in #(((
   8393     '') as_dir=./ ;;
   8394     */) ;;
   8395     *) as_dir=$as_dir/ ;;
   8396   esac
   8397     for ac_exec_ext in '' $ac_executable_extensions; do
   8398   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8399     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8400     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8401     break 2
   8402   fi
   8403 done
   8404   done
   8405 IFS=$as_save_IFS
   8406 
   8407 fi
   8408 fi
   8409 OTOOL64=$ac_cv_prog_OTOOL64
   8410 if test -n "$OTOOL64"; then
   8411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8412 printf "%s\n" "$OTOOL64" >&6; }
   8413 else
   8414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8415 printf "%s\n" "no" >&6; }
   8416 fi
   8417 
   8418 
   8419 fi
   8420 if test -z "$ac_cv_prog_OTOOL64"; then
   8421   ac_ct_OTOOL64=$OTOOL64
   8422   # Extract the first word of "otool64", so it can be a program name with args.
   8423 set dummy otool64; ac_word=$2
   8424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8425 printf %s "checking for $ac_word... " >&6; }
   8426 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8427 then :
   8428   printf %s "(cached) " >&6
   8429 else $as_nop
   8430   if test -n "$ac_ct_OTOOL64"; then
   8431   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8432 else
   8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8434 for as_dir in $PATH
   8435 do
   8436   IFS=$as_save_IFS
   8437   case $as_dir in #(((
   8438     '') as_dir=./ ;;
   8439     */) ;;
   8440     *) as_dir=$as_dir/ ;;
   8441   esac
   8442     for ac_exec_ext in '' $ac_executable_extensions; do
   8443   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8444     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8446     break 2
   8447   fi
   8448 done
   8449   done
   8450 IFS=$as_save_IFS
   8451 
   8452 fi
   8453 fi
   8454 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8455 if test -n "$ac_ct_OTOOL64"; then
   8456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8457 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8458 else
   8459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8460 printf "%s\n" "no" >&6; }
   8461 fi
   8462 
   8463   if test "x$ac_ct_OTOOL64" = x; then
   8464     OTOOL64=":"
   8465   else
   8466     case $cross_compiling:$ac_tool_warned in
   8467 yes:)
   8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8469 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8470 ac_tool_warned=yes ;;
   8471 esac
   8472     OTOOL64=$ac_ct_OTOOL64
   8473   fi
   8474 else
   8475   OTOOL64="$ac_cv_prog_OTOOL64"
   8476 fi
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8505 printf %s "checking for -single_module linker flag... " >&6; }
   8506 if test ${lt_cv_apple_cc_single_mod+y}
   8507 then :
   8508   printf %s "(cached) " >&6
   8509 else $as_nop
   8510   lt_cv_apple_cc_single_mod=no
   8511       if test -z "$LT_MULTI_MODULE"; then
   8512 	# By default we will add the -single_module flag. You can override
   8513 	# by either setting the environment variable LT_MULTI_MODULE
   8514 	# non-empty at configure time, or by adding -multi_module to the
   8515 	# link flags.
   8516 	rm -rf libconftest.dylib*
   8517 	echo "int foo(void){return 1;}" > conftest.c
   8518 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8519 -dynamiclib -Wl,-single_module conftest.c" >&5
   8520 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8521 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8522         _lt_result=$?
   8523 	# If there is a non-empty error log, and "single_module"
   8524 	# appears in it, assume the flag caused a linker warning
   8525         if test -s conftest.err && $GREP single_module conftest.err; then
   8526 	  cat conftest.err >&5
   8527 	# Otherwise, if the output was created with a 0 exit code from
   8528 	# the compiler, it worked.
   8529 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8530 	  lt_cv_apple_cc_single_mod=yes
   8531 	else
   8532 	  cat conftest.err >&5
   8533 	fi
   8534 	rm -rf libconftest.dylib*
   8535 	rm -f conftest.*
   8536       fi
   8537 fi
   8538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8539 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8540 
   8541     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8542 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8543 if test ${lt_cv_ld_exported_symbols_list+y}
   8544 then :
   8545   printf %s "(cached) " >&6
   8546 else $as_nop
   8547   lt_cv_ld_exported_symbols_list=no
   8548       save_LDFLAGS=$LDFLAGS
   8549       echo "_main" > conftest.sym
   8550       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 
   8554 int
   8555 main (void)
   8556 {
   8557 
   8558   ;
   8559   return 0;
   8560 }
   8561 _ACEOF
   8562 if ac_fn_c_try_link "$LINENO"
   8563 then :
   8564   lt_cv_ld_exported_symbols_list=yes
   8565 else $as_nop
   8566   lt_cv_ld_exported_symbols_list=no
   8567 fi
   8568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8569     conftest$ac_exeext conftest.$ac_ext
   8570 	LDFLAGS=$save_LDFLAGS
   8571 
   8572 fi
   8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8574 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8575 
   8576     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8577 printf %s "checking for -force_load linker flag... " >&6; }
   8578 if test ${lt_cv_ld_force_load+y}
   8579 then :
   8580   printf %s "(cached) " >&6
   8581 else $as_nop
   8582   lt_cv_ld_force_load=no
   8583       cat > conftest.c << _LT_EOF
   8584 int forced_loaded() { return 2;}
   8585 _LT_EOF
   8586       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8587       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8588       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8589       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8590       echo "$RANLIB libconftest.a" >&5
   8591       $RANLIB libconftest.a 2>&5
   8592       cat > conftest.c << _LT_EOF
   8593 int main() { return 0;}
   8594 _LT_EOF
   8595       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8596       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8597       _lt_result=$?
   8598       if test -s conftest.err && $GREP force_load conftest.err; then
   8599 	cat conftest.err >&5
   8600       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8601 	lt_cv_ld_force_load=yes
   8602       else
   8603 	cat conftest.err >&5
   8604       fi
   8605         rm -f conftest.err libconftest.a conftest conftest.c
   8606         rm -rf conftest.dSYM
   8607 
   8608 fi
   8609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8610 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8611     case $host_os in
   8612     rhapsody* | darwin1.[012])
   8613       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8614     darwin1.*)
   8615       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8616     darwin*)
   8617       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8618         10.[012],*|,*powerpc*-darwin[5-8]*)
   8619           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8620         *)
   8621           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8622       esac
   8623     ;;
   8624   esac
   8625     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8626       _lt_dar_single_mod='$single_module'
   8627     fi
   8628     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8629       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8630     else
   8631       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8632     fi
   8633     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8634       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8635     else
   8636       _lt_dsymutil=
   8637     fi
   8638     ;;
   8639   esac
   8640 
   8641 # func_munge_path_list VARIABLE PATH
   8642 # -----------------------------------
   8643 # VARIABLE is name of variable containing _space_ separated list of
   8644 # directories to be munged by the contents of PATH, which is string
   8645 # having a format:
   8646 # "DIR[:DIR]:"
   8647 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8648 # ":DIR[:DIR]"
   8649 #       string "DIR[ DIR]" will be appended to VARIABLE
   8650 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8651 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8652 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8653 # "DIR[:DIR]"
   8654 #       VARIABLE will be replaced by "DIR[ DIR]"
   8655 func_munge_path_list ()
   8656 {
   8657     case x$2 in
   8658     x)
   8659         ;;
   8660     *:)
   8661         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8662         ;;
   8663     x:*)
   8664         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8665         ;;
   8666     *::*)
   8667         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8668         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8669         ;;
   8670     *)
   8671         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8672         ;;
   8673     esac
   8674 }
   8675 
   8676 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8677 "
   8678 if test "x$ac_cv_header_dlfcn_h" = xyes
   8679 then :
   8680   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8681 
   8682 fi
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 # Set options
   8689 
   8690 
   8691 
   8692         enable_dlopen=no
   8693 
   8694 
   8695   enable_win32_dll=no
   8696 
   8697 
   8698             # Check whether --enable-shared was given.
   8699 if test ${enable_shared+y}
   8700 then :
   8701   enableval=$enable_shared; p=${PACKAGE-default}
   8702     case $enableval in
   8703     yes) enable_shared=yes ;;
   8704     no) enable_shared=no ;;
   8705     *)
   8706       enable_shared=no
   8707       # Look at the argument we got.  We use all the common list separators.
   8708       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8709       for pkg in $enableval; do
   8710 	IFS=$lt_save_ifs
   8711 	if test "X$pkg" = "X$p"; then
   8712 	  enable_shared=yes
   8713 	fi
   8714       done
   8715       IFS=$lt_save_ifs
   8716       ;;
   8717     esac
   8718 else $as_nop
   8719   enable_shared=yes
   8720 fi
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730   # Check whether --enable-static was given.
   8731 if test ${enable_static+y}
   8732 then :
   8733   enableval=$enable_static; p=${PACKAGE-default}
   8734     case $enableval in
   8735     yes) enable_static=yes ;;
   8736     no) enable_static=no ;;
   8737     *)
   8738      enable_static=no
   8739       # Look at the argument we got.  We use all the common list separators.
   8740       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8741       for pkg in $enableval; do
   8742 	IFS=$lt_save_ifs
   8743 	if test "X$pkg" = "X$p"; then
   8744 	  enable_static=yes
   8745 	fi
   8746       done
   8747       IFS=$lt_save_ifs
   8748       ;;
   8749     esac
   8750 else $as_nop
   8751   enable_static=yes
   8752 fi
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 # Check whether --with-pic was given.
   8764 if test ${with_pic+y}
   8765 then :
   8766   withval=$with_pic; lt_p=${PACKAGE-default}
   8767     case $withval in
   8768     yes|no) pic_mode=$withval ;;
   8769     *)
   8770       pic_mode=default
   8771       # Look at the argument we got.  We use all the common list separators.
   8772       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8773       for lt_pkg in $withval; do
   8774 	IFS=$lt_save_ifs
   8775 	if test "X$lt_pkg" = "X$lt_p"; then
   8776 	  pic_mode=yes
   8777 	fi
   8778       done
   8779       IFS=$lt_save_ifs
   8780       ;;
   8781     esac
   8782 else $as_nop
   8783   pic_mode=default
   8784 fi
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793   # Check whether --enable-fast-install was given.
   8794 if test ${enable_fast_install+y}
   8795 then :
   8796   enableval=$enable_fast_install; p=${PACKAGE-default}
   8797     case $enableval in
   8798     yes) enable_fast_install=yes ;;
   8799     no) enable_fast_install=no ;;
   8800     *)
   8801       enable_fast_install=no
   8802       # Look at the argument we got.  We use all the common list separators.
   8803       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8804       for pkg in $enableval; do
   8805 	IFS=$lt_save_ifs
   8806 	if test "X$pkg" = "X$p"; then
   8807 	  enable_fast_install=yes
   8808 	fi
   8809       done
   8810       IFS=$lt_save_ifs
   8811       ;;
   8812     esac
   8813 else $as_nop
   8814   enable_fast_install=yes
   8815 fi
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824   shared_archive_member_spec=
   8825 case $host,$enable_shared in
   8826 power*-*-aix[5-9]*,yes)
   8827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8828 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8829 
   8830 # Check whether --with-aix-soname was given.
   8831 if test ${with_aix_soname+y}
   8832 then :
   8833   withval=$with_aix_soname; case $withval in
   8834     aix|svr4|both)
   8835       ;;
   8836     *)
   8837       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8838       ;;
   8839     esac
   8840     lt_cv_with_aix_soname=$with_aix_soname
   8841 else $as_nop
   8842   if test ${lt_cv_with_aix_soname+y}
   8843 then :
   8844   printf %s "(cached) " >&6
   8845 else $as_nop
   8846   lt_cv_with_aix_soname=aix
   8847 fi
   8848 
   8849     with_aix_soname=$lt_cv_with_aix_soname
   8850 fi
   8851 
   8852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8853 printf "%s\n" "$with_aix_soname" >&6; }
   8854   if test aix != "$with_aix_soname"; then
   8855     # For the AIX way of multilib, we name the shared archive member
   8856     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8857     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8858     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8859     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8860     if test 64 = "${OBJECT_MODE-32}"; then
   8861       shared_archive_member_spec=shr_64
   8862     else
   8863       shared_archive_member_spec=shr
   8864     fi
   8865   fi
   8866   ;;
   8867 *)
   8868   with_aix_soname=aix
   8869   ;;
   8870 esac
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 # This can be used to rebuild libtool when needed
   8882 LIBTOOL_DEPS=$ltmain
   8883 
   8884 # Always use our own libtool.
   8885 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 test -z "$LN_S" && LN_S="ln -s"
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 if test -n "${ZSH_VERSION+set}"; then
   8932    setopt NO_GLOB_SUBST
   8933 fi
   8934 
   8935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8936 printf %s "checking for objdir... " >&6; }
   8937 if test ${lt_cv_objdir+y}
   8938 then :
   8939   printf %s "(cached) " >&6
   8940 else $as_nop
   8941   rm -f .libs 2>/dev/null
   8942 mkdir .libs 2>/dev/null
   8943 if test -d .libs; then
   8944   lt_cv_objdir=.libs
   8945 else
   8946   # MS-DOS does not allow filenames that begin with a dot.
   8947   lt_cv_objdir=_libs
   8948 fi
   8949 rmdir .libs 2>/dev/null
   8950 fi
   8951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8952 printf "%s\n" "$lt_cv_objdir" >&6; }
   8953 objdir=$lt_cv_objdir
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8960 
   8961 
   8962 
   8963 
   8964 case $host_os in
   8965 aix3*)
   8966   # AIX sometimes has problems with the GCC collect2 program.  For some
   8967   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8968   # vanish in a puff of smoke.
   8969   if test set != "${COLLECT_NAMES+set}"; then
   8970     COLLECT_NAMES=
   8971     export COLLECT_NAMES
   8972   fi
   8973   ;;
   8974 esac
   8975 
   8976 # Global variables:
   8977 ofile=libtool
   8978 can_build_shared=yes
   8979 
   8980 # All known linkers require a '.a' archive for static linking (except MSVC and
   8981 # ICC, which need '.lib').
   8982 libext=a
   8983 
   8984 with_gnu_ld=$lt_cv_prog_gnu_ld
   8985 
   8986 old_CC=$CC
   8987 old_CFLAGS=$CFLAGS
   8988 
   8989 # Set sane defaults for various variables
   8990 test -z "$CC" && CC=cc
   8991 test -z "$LTCC" && LTCC=$CC
   8992 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8993 test -z "$LD" && LD=ld
   8994 test -z "$ac_objext" && ac_objext=o
   8995 
   8996 func_cc_basename $compiler
   8997 cc_basename=$func_cc_basename_result
   8998 
   8999 
   9000 # Only perform the check for file, if the check method requires it
   9001 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9002 case $deplibs_check_method in
   9003 file_magic*)
   9004   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9005     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9006 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9007 if test ${lt_cv_path_MAGIC_CMD+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else $as_nop
   9011   case $MAGIC_CMD in
   9012 [\\/*] |  ?:[\\/]*)
   9013   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9014   ;;
   9015 *)
   9016   lt_save_MAGIC_CMD=$MAGIC_CMD
   9017   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9018   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9019   for ac_dir in $ac_dummy; do
   9020     IFS=$lt_save_ifs
   9021     test -z "$ac_dir" && ac_dir=.
   9022     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9023       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9024       if test -n "$file_magic_test_file"; then
   9025 	case $deplibs_check_method in
   9026 	"file_magic "*)
   9027 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9028 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9029 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9030 	    $EGREP "$file_magic_regex" > /dev/null; then
   9031 	    :
   9032 	  else
   9033 	    cat <<_LT_EOF 1>&2
   9034 
   9035 *** Warning: the command libtool uses to detect shared libraries,
   9036 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9037 *** The result is that libtool may fail to recognize shared libraries
   9038 *** as such.  This will affect the creation of libtool libraries that
   9039 *** depend on shared libraries, but programs linked with such libtool
   9040 *** libraries will work regardless of this problem.  Nevertheless, you
   9041 *** may want to report the problem to your system manager and/or to
   9042 *** bug-libtool@gnu.org
   9043 
   9044 _LT_EOF
   9045 	  fi ;;
   9046 	esac
   9047       fi
   9048       break
   9049     fi
   9050   done
   9051   IFS=$lt_save_ifs
   9052   MAGIC_CMD=$lt_save_MAGIC_CMD
   9053   ;;
   9054 esac
   9055 fi
   9056 
   9057 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9058 if test -n "$MAGIC_CMD"; then
   9059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9060 printf "%s\n" "$MAGIC_CMD" >&6; }
   9061 else
   9062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9063 printf "%s\n" "no" >&6; }
   9064 fi
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9071   if test -n "$ac_tool_prefix"; then
   9072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9073 printf %s "checking for file... " >&6; }
   9074 if test ${lt_cv_path_MAGIC_CMD+y}
   9075 then :
   9076   printf %s "(cached) " >&6
   9077 else $as_nop
   9078   case $MAGIC_CMD in
   9079 [\\/*] |  ?:[\\/]*)
   9080   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9081   ;;
   9082 *)
   9083   lt_save_MAGIC_CMD=$MAGIC_CMD
   9084   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9085   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9086   for ac_dir in $ac_dummy; do
   9087     IFS=$lt_save_ifs
   9088     test -z "$ac_dir" && ac_dir=.
   9089     if test -f "$ac_dir/file"; then
   9090       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9091       if test -n "$file_magic_test_file"; then
   9092 	case $deplibs_check_method in
   9093 	"file_magic "*)
   9094 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9095 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9096 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9097 	    $EGREP "$file_magic_regex" > /dev/null; then
   9098 	    :
   9099 	  else
   9100 	    cat <<_LT_EOF 1>&2
   9101 
   9102 *** Warning: the command libtool uses to detect shared libraries,
   9103 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9104 *** The result is that libtool may fail to recognize shared libraries
   9105 *** as such.  This will affect the creation of libtool libraries that
   9106 *** depend on shared libraries, but programs linked with such libtool
   9107 *** libraries will work regardless of this problem.  Nevertheless, you
   9108 *** may want to report the problem to your system manager and/or to
   9109 *** bug-libtool@gnu.org
   9110 
   9111 _LT_EOF
   9112 	  fi ;;
   9113 	esac
   9114       fi
   9115       break
   9116     fi
   9117   done
   9118   IFS=$lt_save_ifs
   9119   MAGIC_CMD=$lt_save_MAGIC_CMD
   9120   ;;
   9121 esac
   9122 fi
   9123 
   9124 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9125 if test -n "$MAGIC_CMD"; then
   9126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9127 printf "%s\n" "$MAGIC_CMD" >&6; }
   9128 else
   9129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9130 printf "%s\n" "no" >&6; }
   9131 fi
   9132 
   9133 
   9134   else
   9135     MAGIC_CMD=:
   9136   fi
   9137 fi
   9138 
   9139   fi
   9140   ;;
   9141 esac
   9142 
   9143 # Use C for the default configuration in the libtool script
   9144 
   9145 lt_save_CC=$CC
   9146 ac_ext=c
   9147 ac_cpp='$CPP $CPPFLAGS'
   9148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9151 
   9152 
   9153 # Source file extension for C test sources.
   9154 ac_ext=c
   9155 
   9156 # Object file extension for compiled C test sources.
   9157 objext=o
   9158 objext=$objext
   9159 
   9160 # Code to be used in simple compile tests
   9161 lt_simple_compile_test_code="int some_variable = 0;"
   9162 
   9163 # Code to be used in simple link tests
   9164 lt_simple_link_test_code='int main(){return(0);}'
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 # If no C compiler was specified, use CC.
   9173 LTCC=${LTCC-"$CC"}
   9174 
   9175 # If no C compiler flags were specified, use CFLAGS.
   9176 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9177 
   9178 # Allow CC to be a program name with arguments.
   9179 compiler=$CC
   9180 
   9181 # Save the default compiler, since it gets overwritten when the other
   9182 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9183 compiler_DEFAULT=$CC
   9184 
   9185 # save warnings/boilerplate of simple test code
   9186 ac_outfile=conftest.$ac_objext
   9187 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9188 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9189 _lt_compiler_boilerplate=`cat conftest.err`
   9190 $RM conftest*
   9191 
   9192 ac_outfile=conftest.$ac_objext
   9193 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9194 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9195 _lt_linker_boilerplate=`cat conftest.err`
   9196 $RM -r conftest*
   9197 
   9198 
   9199 ## CAVEAT EMPTOR:
   9200 ## There is no encapsulation within the following macros, do not change
   9201 ## the running order or otherwise move them around unless you know exactly
   9202 ## what you are doing...
   9203 if test -n "$compiler"; then
   9204 
   9205 lt_prog_compiler_no_builtin_flag=
   9206 
   9207 if test yes = "$GCC"; then
   9208   case $cc_basename in
   9209   nvcc*)
   9210     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9211   *)
   9212     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9213   esac
   9214 
   9215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9216 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9217 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9218 then :
   9219   printf %s "(cached) " >&6
   9220 else $as_nop
   9221   lt_cv_prog_compiler_rtti_exceptions=no
   9222    ac_outfile=conftest.$ac_objext
   9223    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9224    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9225    # Insert the option either (1) after the last *FLAGS variable, or
   9226    # (2) before a word containing "conftest.", or (3) at the end.
   9227    # Note that $ac_compile itself does not contain backslashes and begins
   9228    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9229    # The option is referenced via a variable to avoid confusing sed.
   9230    lt_compile=`echo "$ac_compile" | $SED \
   9231    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9232    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9233    -e 's:$: $lt_compiler_flag:'`
   9234    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9235    (eval "$lt_compile" 2>conftest.err)
   9236    ac_status=$?
   9237    cat conftest.err >&5
   9238    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9239    if (exit $ac_status) && test -s "$ac_outfile"; then
   9240      # The compiler can only warn and ignore the option if not recognized
   9241      # So say no if there are warnings other than the usual output.
   9242      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9243      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9244      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9245        lt_cv_prog_compiler_rtti_exceptions=yes
   9246      fi
   9247    fi
   9248    $RM conftest*
   9249 
   9250 fi
   9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9252 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9253 
   9254 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9255     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9256 else
   9257     :
   9258 fi
   9259 
   9260 fi
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267   lt_prog_compiler_wl=
   9268 lt_prog_compiler_pic=
   9269 lt_prog_compiler_static=
   9270 
   9271 
   9272   if test yes = "$GCC"; then
   9273     lt_prog_compiler_wl='-Wl,'
   9274     lt_prog_compiler_static='-static'
   9275 
   9276     case $host_os in
   9277       aix*)
   9278       # All AIX code is PIC.
   9279       if test ia64 = "$host_cpu"; then
   9280 	# AIX 5 now supports IA64 processor
   9281 	lt_prog_compiler_static='-Bstatic'
   9282       fi
   9283       lt_prog_compiler_pic='-fPIC'
   9284       ;;
   9285 
   9286     amigaos*)
   9287       case $host_cpu in
   9288       powerpc)
   9289             # see comment about AmigaOS4 .so support
   9290             lt_prog_compiler_pic='-fPIC'
   9291         ;;
   9292       m68k)
   9293             # FIXME: we need at least 68020 code to build shared libraries, but
   9294             # adding the '-m68020' flag to GCC prevents building anything better,
   9295             # like '-m68040'.
   9296             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9297         ;;
   9298       esac
   9299       ;;
   9300 
   9301     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9302       # PIC is the default for these OSes.
   9303       ;;
   9304 
   9305     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9306       # This hack is so that the source file can tell whether it is being
   9307       # built for inclusion in a dll (and should export symbols for example).
   9308       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9309       # (--disable-auto-import) libraries
   9310       lt_prog_compiler_pic='-DDLL_EXPORT'
   9311       case $host_os in
   9312       os2*)
   9313 	lt_prog_compiler_static='$wl-static'
   9314 	;;
   9315       esac
   9316       ;;
   9317 
   9318     darwin* | rhapsody*)
   9319       # PIC is the default on this platform
   9320       # Common symbols not allowed in MH_DYLIB files
   9321       lt_prog_compiler_pic='-fno-common'
   9322       ;;
   9323 
   9324     haiku*)
   9325       # PIC is the default for Haiku.
   9326       # The "-static" flag exists, but is broken.
   9327       lt_prog_compiler_static=
   9328       ;;
   9329 
   9330     hpux*)
   9331       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9332       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9333       # sets the default TLS model and affects inlining.
   9334       case $host_cpu in
   9335       hppa*64*)
   9336 	# +Z the default
   9337 	;;
   9338       *)
   9339 	lt_prog_compiler_pic='-fPIC'
   9340 	;;
   9341       esac
   9342       ;;
   9343 
   9344     interix[3-9]*)
   9345       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9346       # Instead, we relocate shared libraries at runtime.
   9347       ;;
   9348 
   9349     msdosdjgpp*)
   9350       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9351       # on systems that don't support them.
   9352       lt_prog_compiler_can_build_shared=no
   9353       enable_shared=no
   9354       ;;
   9355 
   9356     *nto* | *qnx*)
   9357       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9358       # it will coredump.
   9359       lt_prog_compiler_pic='-fPIC -shared'
   9360       ;;
   9361 
   9362     sysv4*MP*)
   9363       if test -d /usr/nec; then
   9364 	lt_prog_compiler_pic=-Kconform_pic
   9365       fi
   9366       ;;
   9367 
   9368     *)
   9369       lt_prog_compiler_pic='-fPIC'
   9370       ;;
   9371     esac
   9372 
   9373     case $cc_basename in
   9374     nvcc*) # Cuda Compiler Driver 2.2
   9375       lt_prog_compiler_wl='-Xlinker '
   9376       if test -n "$lt_prog_compiler_pic"; then
   9377         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9378       fi
   9379       ;;
   9380     esac
   9381   else
   9382     # PORTME Check for flag to pass linker flags through the system compiler.
   9383     case $host_os in
   9384     aix*)
   9385       lt_prog_compiler_wl='-Wl,'
   9386       if test ia64 = "$host_cpu"; then
   9387 	# AIX 5 now supports IA64 processor
   9388 	lt_prog_compiler_static='-Bstatic'
   9389       else
   9390 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9391       fi
   9392       ;;
   9393 
   9394     darwin* | rhapsody*)
   9395       # PIC is the default on this platform
   9396       # Common symbols not allowed in MH_DYLIB files
   9397       lt_prog_compiler_pic='-fno-common'
   9398       case $cc_basename in
   9399       nagfor*)
   9400         # NAG Fortran compiler
   9401         lt_prog_compiler_wl='-Wl,-Wl,,'
   9402         lt_prog_compiler_pic='-PIC'
   9403         lt_prog_compiler_static='-Bstatic'
   9404         ;;
   9405       esac
   9406       ;;
   9407 
   9408     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9409       # This hack is so that the source file can tell whether it is being
   9410       # built for inclusion in a dll (and should export symbols for example).
   9411       lt_prog_compiler_pic='-DDLL_EXPORT'
   9412       case $host_os in
   9413       os2*)
   9414 	lt_prog_compiler_static='$wl-static'
   9415 	;;
   9416       esac
   9417       ;;
   9418 
   9419     hpux9* | hpux10* | hpux11*)
   9420       lt_prog_compiler_wl='-Wl,'
   9421       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9422       # not for PA HP-UX.
   9423       case $host_cpu in
   9424       hppa*64*|ia64*)
   9425 	# +Z the default
   9426 	;;
   9427       *)
   9428 	lt_prog_compiler_pic='+Z'
   9429 	;;
   9430       esac
   9431       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9432       lt_prog_compiler_static='$wl-a ${wl}archive'
   9433       ;;
   9434 
   9435     irix5* | irix6* | nonstopux*)
   9436       lt_prog_compiler_wl='-Wl,'
   9437       # PIC (with -KPIC) is the default.
   9438       lt_prog_compiler_static='-non_shared'
   9439       ;;
   9440 
   9441     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9442       case $cc_basename in
   9443       # old Intel for x86_64, which still supported -KPIC.
   9444       ecc*)
   9445 	lt_prog_compiler_wl='-Wl,'
   9446 	lt_prog_compiler_pic='-KPIC'
   9447 	lt_prog_compiler_static='-static'
   9448         ;;
   9449       # icc used to be incompatible with GCC.
   9450       # ICC 10 doesn't accept -KPIC any more.
   9451       icc* | ifort*)
   9452 	lt_prog_compiler_wl='-Wl,'
   9453 	lt_prog_compiler_pic='-fPIC'
   9454 	lt_prog_compiler_static='-static'
   9455         ;;
   9456       # Lahey Fortran 8.1.
   9457       lf95*)
   9458 	lt_prog_compiler_wl='-Wl,'
   9459 	lt_prog_compiler_pic='--shared'
   9460 	lt_prog_compiler_static='--static'
   9461 	;;
   9462       nagfor*)
   9463 	# NAG Fortran compiler
   9464 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9465 	lt_prog_compiler_pic='-PIC'
   9466 	lt_prog_compiler_static='-Bstatic'
   9467 	;;
   9468       tcc*)
   9469 	# Fabrice Bellard et al's Tiny C Compiler
   9470 	lt_prog_compiler_wl='-Wl,'
   9471 	lt_prog_compiler_pic='-fPIC'
   9472 	lt_prog_compiler_static='-static'
   9473 	;;
   9474       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9475         # Portland Group compilers (*not* the Pentium gcc compiler,
   9476 	# which looks to be a dead project)
   9477 	lt_prog_compiler_wl='-Wl,'
   9478 	lt_prog_compiler_pic='-fpic'
   9479 	lt_prog_compiler_static='-Bstatic'
   9480         ;;
   9481       ccc*)
   9482         lt_prog_compiler_wl='-Wl,'
   9483         # All Alpha code is PIC.
   9484         lt_prog_compiler_static='-non_shared'
   9485         ;;
   9486       xl* | bgxl* | bgf* | mpixl*)
   9487 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9488 	lt_prog_compiler_wl='-Wl,'
   9489 	lt_prog_compiler_pic='-qpic'
   9490 	lt_prog_compiler_static='-qstaticlink'
   9491 	;;
   9492       *)
   9493 	case `$CC -V 2>&1 | $SED 5q` in
   9494 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9495 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9496 	  lt_prog_compiler_pic='-KPIC'
   9497 	  lt_prog_compiler_static='-Bstatic'
   9498 	  lt_prog_compiler_wl=''
   9499 	  ;;
   9500 	*Sun\ F* | *Sun*Fortran*)
   9501 	  lt_prog_compiler_pic='-KPIC'
   9502 	  lt_prog_compiler_static='-Bstatic'
   9503 	  lt_prog_compiler_wl='-Qoption ld '
   9504 	  ;;
   9505 	*Sun\ C*)
   9506 	  # Sun C 5.9
   9507 	  lt_prog_compiler_pic='-KPIC'
   9508 	  lt_prog_compiler_static='-Bstatic'
   9509 	  lt_prog_compiler_wl='-Wl,'
   9510 	  ;;
   9511         *Intel*\ [CF]*Compiler*)
   9512 	  lt_prog_compiler_wl='-Wl,'
   9513 	  lt_prog_compiler_pic='-fPIC'
   9514 	  lt_prog_compiler_static='-static'
   9515 	  ;;
   9516 	*Portland\ Group*)
   9517 	  lt_prog_compiler_wl='-Wl,'
   9518 	  lt_prog_compiler_pic='-fpic'
   9519 	  lt_prog_compiler_static='-Bstatic'
   9520 	  ;;
   9521 	esac
   9522 	;;
   9523       esac
   9524       ;;
   9525 
   9526     newsos6)
   9527       lt_prog_compiler_pic='-KPIC'
   9528       lt_prog_compiler_static='-Bstatic'
   9529       ;;
   9530 
   9531     *nto* | *qnx*)
   9532       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9533       # it will coredump.
   9534       lt_prog_compiler_pic='-fPIC -shared'
   9535       ;;
   9536 
   9537     osf3* | osf4* | osf5*)
   9538       lt_prog_compiler_wl='-Wl,'
   9539       # All OSF/1 code is PIC.
   9540       lt_prog_compiler_static='-non_shared'
   9541       ;;
   9542 
   9543     rdos*)
   9544       lt_prog_compiler_static='-non_shared'
   9545       ;;
   9546 
   9547     solaris*)
   9548       lt_prog_compiler_pic='-KPIC'
   9549       lt_prog_compiler_static='-Bstatic'
   9550       case $cc_basename in
   9551       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9552 	lt_prog_compiler_wl='-Qoption ld ';;
   9553       *)
   9554 	lt_prog_compiler_wl='-Wl,';;
   9555       esac
   9556       ;;
   9557 
   9558     sunos4*)
   9559       lt_prog_compiler_wl='-Qoption ld '
   9560       lt_prog_compiler_pic='-PIC'
   9561       lt_prog_compiler_static='-Bstatic'
   9562       ;;
   9563 
   9564     sysv4 | sysv4.2uw2* | sysv4.3*)
   9565       lt_prog_compiler_wl='-Wl,'
   9566       lt_prog_compiler_pic='-KPIC'
   9567       lt_prog_compiler_static='-Bstatic'
   9568       ;;
   9569 
   9570     sysv4*MP*)
   9571       if test -d /usr/nec; then
   9572 	lt_prog_compiler_pic='-Kconform_pic'
   9573 	lt_prog_compiler_static='-Bstatic'
   9574       fi
   9575       ;;
   9576 
   9577     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9578       lt_prog_compiler_wl='-Wl,'
   9579       lt_prog_compiler_pic='-KPIC'
   9580       lt_prog_compiler_static='-Bstatic'
   9581       ;;
   9582 
   9583     unicos*)
   9584       lt_prog_compiler_wl='-Wl,'
   9585       lt_prog_compiler_can_build_shared=no
   9586       ;;
   9587 
   9588     uts4*)
   9589       lt_prog_compiler_pic='-pic'
   9590       lt_prog_compiler_static='-Bstatic'
   9591       ;;
   9592 
   9593     *)
   9594       lt_prog_compiler_can_build_shared=no
   9595       ;;
   9596     esac
   9597   fi
   9598 
   9599 case $host_os in
   9600   # For platforms that do not support PIC, -DPIC is meaningless:
   9601   *djgpp*)
   9602     lt_prog_compiler_pic=
   9603     ;;
   9604   *)
   9605     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9606     ;;
   9607 esac
   9608 
   9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9610 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9611 if test ${lt_cv_prog_compiler_pic+y}
   9612 then :
   9613   printf %s "(cached) " >&6
   9614 else $as_nop
   9615   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9616 fi
   9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9618 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9619 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9620 
   9621 #
   9622 # Check to make sure the PIC flag actually works.
   9623 #
   9624 if test -n "$lt_prog_compiler_pic"; then
   9625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9626 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9627 if test ${lt_cv_prog_compiler_pic_works+y}
   9628 then :
   9629   printf %s "(cached) " >&6
   9630 else $as_nop
   9631   lt_cv_prog_compiler_pic_works=no
   9632    ac_outfile=conftest.$ac_objext
   9633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9634    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9635    # Insert the option either (1) after the last *FLAGS variable, or
   9636    # (2) before a word containing "conftest.", or (3) at the end.
   9637    # Note that $ac_compile itself does not contain backslashes and begins
   9638    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9639    # The option is referenced via a variable to avoid confusing sed.
   9640    lt_compile=`echo "$ac_compile" | $SED \
   9641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9643    -e 's:$: $lt_compiler_flag:'`
   9644    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9645    (eval "$lt_compile" 2>conftest.err)
   9646    ac_status=$?
   9647    cat conftest.err >&5
   9648    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9649    if (exit $ac_status) && test -s "$ac_outfile"; then
   9650      # The compiler can only warn and ignore the option if not recognized
   9651      # So say no if there are warnings other than the usual output.
   9652      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9655        lt_cv_prog_compiler_pic_works=yes
   9656      fi
   9657    fi
   9658    $RM conftest*
   9659 
   9660 fi
   9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9662 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9663 
   9664 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9665     case $lt_prog_compiler_pic in
   9666      "" | " "*) ;;
   9667      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9668      esac
   9669 else
   9670     lt_prog_compiler_pic=
   9671      lt_prog_compiler_can_build_shared=no
   9672 fi
   9673 
   9674 fi
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 #
   9687 # Check to make sure the static flag actually works.
   9688 #
   9689 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9691 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9692 if test ${lt_cv_prog_compiler_static_works+y}
   9693 then :
   9694   printf %s "(cached) " >&6
   9695 else $as_nop
   9696   lt_cv_prog_compiler_static_works=no
   9697    save_LDFLAGS=$LDFLAGS
   9698    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9699    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9700    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9701      # The linker can only warn and ignore the option if not recognized
   9702      # So say no if there are warnings
   9703      if test -s conftest.err; then
   9704        # Append any errors to the config.log.
   9705        cat conftest.err 1>&5
   9706        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9707        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9708        if diff conftest.exp conftest.er2 >/dev/null; then
   9709          lt_cv_prog_compiler_static_works=yes
   9710        fi
   9711      else
   9712        lt_cv_prog_compiler_static_works=yes
   9713      fi
   9714    fi
   9715    $RM -r conftest*
   9716    LDFLAGS=$save_LDFLAGS
   9717 
   9718 fi
   9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9720 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9721 
   9722 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9723     :
   9724 else
   9725     lt_prog_compiler_static=
   9726 fi
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9735 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9736 if test ${lt_cv_prog_compiler_c_o+y}
   9737 then :
   9738   printf %s "(cached) " >&6
   9739 else $as_nop
   9740   lt_cv_prog_compiler_c_o=no
   9741    $RM -r conftest 2>/dev/null
   9742    mkdir conftest
   9743    cd conftest
   9744    mkdir out
   9745    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9746 
   9747    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9748    # Insert the option either (1) after the last *FLAGS variable, or
   9749    # (2) before a word containing "conftest.", or (3) at the end.
   9750    # Note that $ac_compile itself does not contain backslashes and begins
   9751    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9752    lt_compile=`echo "$ac_compile" | $SED \
   9753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9755    -e 's:$: $lt_compiler_flag:'`
   9756    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9757    (eval "$lt_compile" 2>out/conftest.err)
   9758    ac_status=$?
   9759    cat out/conftest.err >&5
   9760    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9761    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9762    then
   9763      # The compiler can only warn and ignore the option if not recognized
   9764      # So say no if there are warnings
   9765      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9766      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9767      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9768        lt_cv_prog_compiler_c_o=yes
   9769      fi
   9770    fi
   9771    chmod u+w . 2>&5
   9772    $RM conftest*
   9773    # SGI C++ compiler will create directory out/ii_files/ for
   9774    # template instantiation
   9775    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9776    $RM out/* && rmdir out
   9777    cd ..
   9778    $RM -r conftest
   9779    $RM conftest*
   9780 
   9781 fi
   9782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9783 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9791 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9792 if test ${lt_cv_prog_compiler_c_o+y}
   9793 then :
   9794   printf %s "(cached) " >&6
   9795 else $as_nop
   9796   lt_cv_prog_compiler_c_o=no
   9797    $RM -r conftest 2>/dev/null
   9798    mkdir conftest
   9799    cd conftest
   9800    mkdir out
   9801    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9802 
   9803    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9804    # Insert the option either (1) after the last *FLAGS variable, or
   9805    # (2) before a word containing "conftest.", or (3) at the end.
   9806    # Note that $ac_compile itself does not contain backslashes and begins
   9807    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9808    lt_compile=`echo "$ac_compile" | $SED \
   9809    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9810    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9811    -e 's:$: $lt_compiler_flag:'`
   9812    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9813    (eval "$lt_compile" 2>out/conftest.err)
   9814    ac_status=$?
   9815    cat out/conftest.err >&5
   9816    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9817    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9818    then
   9819      # The compiler can only warn and ignore the option if not recognized
   9820      # So say no if there are warnings
   9821      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9822      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9823      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9824        lt_cv_prog_compiler_c_o=yes
   9825      fi
   9826    fi
   9827    chmod u+w . 2>&5
   9828    $RM conftest*
   9829    # SGI C++ compiler will create directory out/ii_files/ for
   9830    # template instantiation
   9831    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9832    $RM out/* && rmdir out
   9833    cd ..
   9834    $RM -r conftest
   9835    $RM conftest*
   9836 
   9837 fi
   9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9839 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9840 
   9841 
   9842 
   9843 
   9844 hard_links=nottested
   9845 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9846   # do not overwrite the value of need_locks provided by the user
   9847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9848 printf %s "checking if we can lock with hard links... " >&6; }
   9849   hard_links=yes
   9850   $RM conftest*
   9851   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9852   touch conftest.a
   9853   ln conftest.a conftest.b 2>&5 || hard_links=no
   9854   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9856 printf "%s\n" "$hard_links" >&6; }
   9857   if test no = "$hard_links"; then
   9858     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9859 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9860     need_locks=warn
   9861   fi
   9862 else
   9863   need_locks=no
   9864 fi
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9872 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9873 
   9874   runpath_var=
   9875   allow_undefined_flag=
   9876   always_export_symbols=no
   9877   archive_cmds=
   9878   archive_expsym_cmds=
   9879   compiler_needs_object=no
   9880   enable_shared_with_static_runtimes=no
   9881   export_dynamic_flag_spec=
   9882   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9883   hardcode_automatic=no
   9884   hardcode_direct=no
   9885   hardcode_direct_absolute=no
   9886   hardcode_libdir_flag_spec=
   9887   hardcode_libdir_separator=
   9888   hardcode_minus_L=no
   9889   hardcode_shlibpath_var=unsupported
   9890   inherit_rpath=no
   9891   link_all_deplibs=unknown
   9892   module_cmds=
   9893   module_expsym_cmds=
   9894   old_archive_from_new_cmds=
   9895   old_archive_from_expsyms_cmds=
   9896   thread_safe_flag_spec=
   9897   whole_archive_flag_spec=
   9898   # include_expsyms should be a list of space-separated symbols to be *always*
   9899   # included in the symbol list
   9900   include_expsyms=
   9901   # exclude_expsyms can be an extended regexp of symbols to exclude
   9902   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9903   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9904   # as well as any symbol that contains 'd'.
   9905   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9906   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9907   # platforms (ab)use it in PIC code, but their linkers get confused if
   9908   # the symbol is explicitly referenced.  Since portable code cannot
   9909   # rely on this symbol name, it's probably fine to never include it in
   9910   # preloaded symbol tables.
   9911   # Exclude shared library initialization/finalization symbols.
   9912   extract_expsyms_cmds=
   9913 
   9914   case $host_os in
   9915   cygwin* | mingw* | pw32* | cegcc*)
   9916     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9917     # When not using gcc, we currently assume that we are using
   9918     # Microsoft Visual C++ or Intel C++ Compiler.
   9919     if test yes != "$GCC"; then
   9920       with_gnu_ld=no
   9921     fi
   9922     ;;
   9923   interix*)
   9924     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9925     with_gnu_ld=yes
   9926     ;;
   9927   openbsd* | bitrig*)
   9928     with_gnu_ld=no
   9929     ;;
   9930   esac
   9931 
   9932   ld_shlibs=yes
   9933 
   9934   # On some targets, GNU ld is compatible enough with the native linker
   9935   # that we're better off using the native interface for both.
   9936   lt_use_gnu_ld_interface=no
   9937   if test yes = "$with_gnu_ld"; then
   9938     case $host_os in
   9939       aix*)
   9940 	# The AIX port of GNU ld has always aspired to compatibility
   9941 	# with the native linker.  However, as the warning in the GNU ld
   9942 	# block says, versions before 2.19.5* couldn't really create working
   9943 	# shared libraries, regardless of the interface used.
   9944 	case `$LD -v 2>&1` in
   9945 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9946 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9947 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9948 	  *)
   9949 	    lt_use_gnu_ld_interface=yes
   9950 	    ;;
   9951 	esac
   9952 	;;
   9953       *)
   9954 	lt_use_gnu_ld_interface=yes
   9955 	;;
   9956     esac
   9957   fi
   9958 
   9959   if test yes = "$lt_use_gnu_ld_interface"; then
   9960     # If archive_cmds runs LD, not CC, wlarc should be empty
   9961     wlarc='$wl'
   9962 
   9963     # Set some defaults for GNU ld with shared library support. These
   9964     # are reset later if shared libraries are not supported. Putting them
   9965     # here allows them to be overridden if necessary.
   9966     runpath_var=LD_RUN_PATH
   9967     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9968     export_dynamic_flag_spec='$wl--export-dynamic'
   9969     # ancient GNU ld didn't support --whole-archive et. al.
   9970     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9971       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9972     else
   9973       whole_archive_flag_spec=
   9974     fi
   9975     supports_anon_versioning=no
   9976     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9977       *GNU\ gold*) supports_anon_versioning=yes ;;
   9978       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9979       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9980       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9981       *\ 2.11.*) ;; # other 2.11 versions
   9982       *) supports_anon_versioning=yes ;;
   9983     esac
   9984 
   9985     # See if GNU ld supports shared libraries.
   9986     case $host_os in
   9987     aix[3-9]*)
   9988       # On AIX/PPC, the GNU linker is very broken
   9989       if test ia64 != "$host_cpu"; then
   9990 	ld_shlibs=no
   9991 	cat <<_LT_EOF 1>&2
   9992 
   9993 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9994 *** to be unable to reliably create shared libraries on AIX.
   9995 *** Therefore, libtool is disabling shared libraries support.  If you
   9996 *** really care for shared libraries, you may want to install binutils
   9997 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9998 *** You will then need to restart the configuration process.
   9999 
   10000 _LT_EOF
   10001       fi
   10002       ;;
   10003 
   10004     amigaos*)
   10005       case $host_cpu in
   10006       powerpc)
   10007             # see comment about AmigaOS4 .so support
   10008             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10009             archive_expsym_cmds=''
   10010         ;;
   10011       m68k)
   10012             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)'
   10013             hardcode_libdir_flag_spec='-L$libdir'
   10014             hardcode_minus_L=yes
   10015         ;;
   10016       esac
   10017       ;;
   10018 
   10019     beos*)
   10020       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10021 	allow_undefined_flag=unsupported
   10022 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10023 	# support --undefined.  This deserves some investigation.  FIXME
   10024 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10025       else
   10026 	ld_shlibs=no
   10027       fi
   10028       ;;
   10029 
   10030     cygwin* | mingw* | pw32* | cegcc*)
   10031       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10032       # as there is no search path for DLLs.
   10033       hardcode_libdir_flag_spec='-L$libdir'
   10034       export_dynamic_flag_spec='$wl--export-all-symbols'
   10035       allow_undefined_flag=unsupported
   10036       always_export_symbols=no
   10037       enable_shared_with_static_runtimes=yes
   10038       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'
   10039       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10040 
   10041       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10042         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10043 	# If the export-symbols file already is a .def file, use it as
   10044 	# is; otherwise, prepend EXPORTS...
   10045 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10046           cp $export_symbols $output_objdir/$soname.def;
   10047         else
   10048           echo EXPORTS > $output_objdir/$soname.def;
   10049           cat $export_symbols >> $output_objdir/$soname.def;
   10050         fi~
   10051         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10052       else
   10053 	ld_shlibs=no
   10054       fi
   10055       ;;
   10056 
   10057     haiku*)
   10058       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10059       link_all_deplibs=yes
   10060       ;;
   10061 
   10062     os2*)
   10063       hardcode_libdir_flag_spec='-L$libdir'
   10064       hardcode_minus_L=yes
   10065       allow_undefined_flag=unsupported
   10066       shrext_cmds=.dll
   10067       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10068 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10069 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10070 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10071 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10072 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10073 	emximp -o $lib $output_objdir/$libname.def'
   10074       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10075 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10076 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10077 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10078 	prefix_cmds="$SED"~
   10079 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10080 	  prefix_cmds="$prefix_cmds -e 1d";
   10081 	fi~
   10082 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10083 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10084 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10085 	emximp -o $lib $output_objdir/$libname.def'
   10086       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10087       enable_shared_with_static_runtimes=yes
   10088       file_list_spec='@'
   10089       ;;
   10090 
   10091     interix[3-9]*)
   10092       hardcode_direct=no
   10093       hardcode_shlibpath_var=no
   10094       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10095       export_dynamic_flag_spec='$wl-E'
   10096       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10097       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10098       # default) and relocated if they conflict, which is a slow very memory
   10099       # consuming and fragmenting process.  To avoid this, we pick a random,
   10100       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10101       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10102       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10103       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'
   10104       ;;
   10105 
   10106     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10107       tmp_diet=no
   10108       if test linux-dietlibc = "$host_os"; then
   10109 	case $cc_basename in
   10110 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10111 	esac
   10112       fi
   10113       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10114 	 && test no = "$tmp_diet"
   10115       then
   10116 	tmp_addflag=' $pic_flag'
   10117 	tmp_sharedflag='-shared'
   10118 	case $cc_basename,$host_cpu in
   10119         pgcc*)				# Portland Group C compiler
   10120 	  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'
   10121 	  tmp_addflag=' $pic_flag'
   10122 	  ;;
   10123 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10124 					# Portland Group f77 and f90 compilers
   10125 	  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'
   10126 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10127 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10128 	  tmp_addflag=' -i_dynamic' ;;
   10129 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10130 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10131 	ifc* | ifort*)			# Intel Fortran compiler
   10132 	  tmp_addflag=' -nofor_main' ;;
   10133 	lf95*)				# Lahey Fortran 8.1
   10134 	  whole_archive_flag_spec=
   10135 	  tmp_sharedflag='--shared' ;;
   10136         nagfor*)                        # NAGFOR 5.3
   10137           tmp_sharedflag='-Wl,-shared' ;;
   10138 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10139 	  tmp_sharedflag='-qmkshrobj'
   10140 	  tmp_addflag= ;;
   10141 	nvcc*)	# Cuda Compiler Driver 2.2
   10142 	  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'
   10143 	  compiler_needs_object=yes
   10144 	  ;;
   10145 	esac
   10146 	case `$CC -V 2>&1 | $SED 5q` in
   10147 	*Sun\ C*)			# Sun C 5.9
   10148 	  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'
   10149 	  compiler_needs_object=yes
   10150 	  tmp_sharedflag='-G' ;;
   10151 	*Sun\ F*)			# Sun Fortran 8.3
   10152 	  tmp_sharedflag='-G' ;;
   10153 	esac
   10154 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10155 
   10156         if test yes = "$supports_anon_versioning"; then
   10157           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10158             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10159             echo "local: *; };" >> $output_objdir/$libname.ver~
   10160             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10161         fi
   10162 
   10163 	case $cc_basename in
   10164 	tcc*)
   10165 	  export_dynamic_flag_spec='-rdynamic'
   10166 	  ;;
   10167 	xlf* | bgf* | bgxlf* | mpixlf*)
   10168 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10169 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10170 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10171 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10172 	  if test yes = "$supports_anon_versioning"; then
   10173 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10174               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10175               echo "local: *; };" >> $output_objdir/$libname.ver~
   10176               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10177 	  fi
   10178 	  ;;
   10179 	esac
   10180       else
   10181         ld_shlibs=no
   10182       fi
   10183       ;;
   10184 
   10185     netbsd*)
   10186       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10187 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10188 	wlarc=
   10189       else
   10190 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10191 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10192       fi
   10193       ;;
   10194 
   10195     solaris*)
   10196       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10197 	ld_shlibs=no
   10198 	cat <<_LT_EOF 1>&2
   10199 
   10200 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10201 *** create shared libraries on Solaris systems.  Therefore, libtool
   10202 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10203 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10204 *** your PATH or compiler configuration so that the native linker is
   10205 *** used, and then restart.
   10206 
   10207 _LT_EOF
   10208       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10209 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10210 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10211       else
   10212 	ld_shlibs=no
   10213       fi
   10214       ;;
   10215 
   10216     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10217       case `$LD -v 2>&1` in
   10218         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10219 	ld_shlibs=no
   10220 	cat <<_LT_EOF 1>&2
   10221 
   10222 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10223 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10224 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10225 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10226 *** your PATH or compiler configuration so that the native linker is
   10227 *** used, and then restart.
   10228 
   10229 _LT_EOF
   10230 	;;
   10231 	*)
   10232 	  # For security reasons, it is highly recommended that you always
   10233 	  # use absolute paths for naming shared libraries, and exclude the
   10234 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10235 	  # requires that you compile everything twice, which is a pain.
   10236 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10237 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10238 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10239 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10240 	  else
   10241 	    ld_shlibs=no
   10242 	  fi
   10243 	;;
   10244       esac
   10245       ;;
   10246 
   10247     sunos4*)
   10248       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10249       wlarc=
   10250       hardcode_direct=yes
   10251       hardcode_shlibpath_var=no
   10252       ;;
   10253 
   10254     *)
   10255       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10256 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10257 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10258       else
   10259 	ld_shlibs=no
   10260       fi
   10261       ;;
   10262     esac
   10263 
   10264     if test no = "$ld_shlibs"; then
   10265       runpath_var=
   10266       hardcode_libdir_flag_spec=
   10267       export_dynamic_flag_spec=
   10268       whole_archive_flag_spec=
   10269     fi
   10270   else
   10271     # PORTME fill in a description of your system's linker (not GNU ld)
   10272     case $host_os in
   10273     aix3*)
   10274       allow_undefined_flag=unsupported
   10275       always_export_symbols=yes
   10276       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'
   10277       # Note: this linker hardcodes the directories in LIBPATH if there
   10278       # are no directories specified by -L.
   10279       hardcode_minus_L=yes
   10280       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10281 	# Neither direct hardcoding nor static linking is supported with a
   10282 	# broken collect2.
   10283 	hardcode_direct=unsupported
   10284       fi
   10285       ;;
   10286 
   10287     aix[4-9]*)
   10288       if test ia64 = "$host_cpu"; then
   10289 	# On IA64, the linker does run time linking by default, so we don't
   10290 	# have to do anything special.
   10291 	aix_use_runtimelinking=no
   10292 	exp_sym_flag='-Bexport'
   10293 	no_entry_flag=
   10294       else
   10295 	# If we're using GNU nm, then we don't want the "-C" option.
   10296 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10297 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10298 	# weak defined symbols like other global defined symbols, whereas
   10299 	# GNU nm marks them as "W".
   10300 	# While the 'weak' keyword is ignored in the Export File, we need
   10301 	# it in the Import File for the 'aix-soname' feature, so we have
   10302 	# to replace the "-B" option with "-P" for AIX nm.
   10303 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10304 	  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'
   10305 	else
   10306 	  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'
   10307 	fi
   10308 	aix_use_runtimelinking=no
   10309 
   10310 	# Test if we are trying to use run time linking or normal
   10311 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10312 	# have runtime linking enabled, and use it for executables.
   10313 	# For shared libraries, we enable/disable runtime linking
   10314 	# depending on the kind of the shared library created -
   10315 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10316 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10317 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10318 	#            lib.a           static archive
   10319 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10320 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10321 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10322 	#            lib.a(lib.so.V) shared, rtl:no
   10323 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10324 	#            lib.a           static archive
   10325 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10326 	  for ld_flag in $LDFLAGS; do
   10327 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10328 	    aix_use_runtimelinking=yes
   10329 	    break
   10330 	  fi
   10331 	  done
   10332 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10333 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10334 	    # so we don't have lib.a shared libs to link our executables.
   10335 	    # We have to force runtime linking in this case.
   10336 	    aix_use_runtimelinking=yes
   10337 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10338 	  fi
   10339 	  ;;
   10340 	esac
   10341 
   10342 	exp_sym_flag='-bexport'
   10343 	no_entry_flag='-bnoentry'
   10344       fi
   10345 
   10346       # When large executables or shared objects are built, AIX ld can
   10347       # have problems creating the table of contents.  If linking a library
   10348       # or program results in "error TOC overflow" add -mminimal-toc to
   10349       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10350       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10351 
   10352       archive_cmds=''
   10353       hardcode_direct=yes
   10354       hardcode_direct_absolute=yes
   10355       hardcode_libdir_separator=':'
   10356       link_all_deplibs=yes
   10357       file_list_spec='$wl-f,'
   10358       case $with_aix_soname,$aix_use_runtimelinking in
   10359       aix,*) ;; # traditional, no import file
   10360       svr4,* | *,yes) # use import file
   10361 	# The Import File defines what to hardcode.
   10362 	hardcode_direct=no
   10363 	hardcode_direct_absolute=no
   10364 	;;
   10365       esac
   10366 
   10367       if test yes = "$GCC"; then
   10368 	case $host_os in aix4.[012]|aix4.[012].*)
   10369 	# We only want to do this on AIX 4.2 and lower, the check
   10370 	# below for broken collect2 doesn't work under 4.3+
   10371 	  collect2name=`$CC -print-prog-name=collect2`
   10372 	  if test -f "$collect2name" &&
   10373 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10374 	  then
   10375 	  # We have reworked collect2
   10376 	  :
   10377 	  else
   10378 	  # We have old collect2
   10379 	  hardcode_direct=unsupported
   10380 	  # It fails to find uninstalled libraries when the uninstalled
   10381 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10382 	  # to unsupported forces relinking
   10383 	  hardcode_minus_L=yes
   10384 	  hardcode_libdir_flag_spec='-L$libdir'
   10385 	  hardcode_libdir_separator=
   10386 	  fi
   10387 	  ;;
   10388 	esac
   10389 	shared_flag='-shared'
   10390 	if test yes = "$aix_use_runtimelinking"; then
   10391 	  shared_flag="$shared_flag "'$wl-G'
   10392 	fi
   10393 	# Need to ensure runtime linking is disabled for the traditional
   10394 	# shared library, or the linker may eventually find shared libraries
   10395 	# /with/ Import File - we do not want to mix them.
   10396 	shared_flag_aix='-shared'
   10397 	shared_flag_svr4='-shared $wl-G'
   10398       else
   10399 	# not using gcc
   10400 	if test ia64 = "$host_cpu"; then
   10401 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10402 	# chokes on -Wl,-G. The following line is correct:
   10403 	  shared_flag='-G'
   10404 	else
   10405 	  if test yes = "$aix_use_runtimelinking"; then
   10406 	    shared_flag='$wl-G'
   10407 	  else
   10408 	    shared_flag='$wl-bM:SRE'
   10409 	  fi
   10410 	  shared_flag_aix='$wl-bM:SRE'
   10411 	  shared_flag_svr4='$wl-G'
   10412 	fi
   10413       fi
   10414 
   10415       export_dynamic_flag_spec='$wl-bexpall'
   10416       # It seems that -bexpall does not export symbols beginning with
   10417       # underscore (_), so it is better to generate a list of symbols to export.
   10418       always_export_symbols=yes
   10419       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10420 	# Warning - without using the other runtime loading flags (-brtl),
   10421 	# -berok will link without error, but may produce a broken library.
   10422 	allow_undefined_flag='-berok'
   10423         # Determine the default libpath from the value encoded in an
   10424         # empty executable.
   10425         if test set = "${lt_cv_aix_libpath+set}"; then
   10426   aix_libpath=$lt_cv_aix_libpath
   10427 else
   10428   if test ${lt_cv_aix_libpath_+y}
   10429 then :
   10430   printf %s "(cached) " >&6
   10431 else $as_nop
   10432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 
   10435 int
   10436 main (void)
   10437 {
   10438 
   10439   ;
   10440   return 0;
   10441 }
   10442 _ACEOF
   10443 if ac_fn_c_try_link "$LINENO"
   10444 then :
   10445 
   10446   lt_aix_libpath_sed='
   10447       /Import File Strings/,/^$/ {
   10448 	  /^0/ {
   10449 	      s/^0  *\([^ ]*\) *$/\1/
   10450 	      p
   10451 	  }
   10452       }'
   10453   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10454   # Check for a 64-bit object if we didn't find anything.
   10455   if test -z "$lt_cv_aix_libpath_"; then
   10456     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10457   fi
   10458 fi
   10459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10460     conftest$ac_exeext conftest.$ac_ext
   10461   if test -z "$lt_cv_aix_libpath_"; then
   10462     lt_cv_aix_libpath_=/usr/lib:/lib
   10463   fi
   10464 
   10465 fi
   10466 
   10467   aix_libpath=$lt_cv_aix_libpath_
   10468 fi
   10469 
   10470         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10471         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
   10472       else
   10473 	if test ia64 = "$host_cpu"; then
   10474 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10475 	  allow_undefined_flag="-z nodefs"
   10476 	  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"
   10477 	else
   10478 	 # Determine the default libpath from the value encoded in an
   10479 	 # empty executable.
   10480 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10481   aix_libpath=$lt_cv_aix_libpath
   10482 else
   10483   if test ${lt_cv_aix_libpath_+y}
   10484 then :
   10485   printf %s "(cached) " >&6
   10486 else $as_nop
   10487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10488 /* end confdefs.h.  */
   10489 
   10490 int
   10491 main (void)
   10492 {
   10493 
   10494   ;
   10495   return 0;
   10496 }
   10497 _ACEOF
   10498 if ac_fn_c_try_link "$LINENO"
   10499 then :
   10500 
   10501   lt_aix_libpath_sed='
   10502       /Import File Strings/,/^$/ {
   10503 	  /^0/ {
   10504 	      s/^0  *\([^ ]*\) *$/\1/
   10505 	      p
   10506 	  }
   10507       }'
   10508   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10509   # Check for a 64-bit object if we didn't find anything.
   10510   if test -z "$lt_cv_aix_libpath_"; then
   10511     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10512   fi
   10513 fi
   10514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10515     conftest$ac_exeext conftest.$ac_ext
   10516   if test -z "$lt_cv_aix_libpath_"; then
   10517     lt_cv_aix_libpath_=/usr/lib:/lib
   10518   fi
   10519 
   10520 fi
   10521 
   10522   aix_libpath=$lt_cv_aix_libpath_
   10523 fi
   10524 
   10525 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10526 	  # Warning - without using the other run time loading flags,
   10527 	  # -berok will link without error, but may produce a broken library.
   10528 	  no_undefined_flag=' $wl-bernotok'
   10529 	  allow_undefined_flag=' $wl-berok'
   10530 	  if test yes = "$with_gnu_ld"; then
   10531 	    # We only use this code for GNU lds that support --whole-archive.
   10532 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10533 	  else
   10534 	    # Exported symbols can be pulled into shared objects from archives
   10535 	    whole_archive_flag_spec='$convenience'
   10536 	  fi
   10537 	  archive_cmds_need_lc=yes
   10538 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10539 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10540 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10541 	  if test svr4 != "$with_aix_soname"; then
   10542 	    # This is similar to how AIX traditionally builds its shared libraries.
   10543 	    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'
   10544 	  fi
   10545 	  if test aix != "$with_aix_soname"; then
   10546 	    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'
   10547 	  else
   10548 	    # used by -dlpreopen to get the symbols
   10549 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10550 	  fi
   10551 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10552 	fi
   10553       fi
   10554       ;;
   10555 
   10556     amigaos*)
   10557       case $host_cpu in
   10558       powerpc)
   10559             # see comment about AmigaOS4 .so support
   10560             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10561             archive_expsym_cmds=''
   10562         ;;
   10563       m68k)
   10564             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)'
   10565             hardcode_libdir_flag_spec='-L$libdir'
   10566             hardcode_minus_L=yes
   10567         ;;
   10568       esac
   10569       ;;
   10570 
   10571     bsdi[45]*)
   10572       export_dynamic_flag_spec=-rdynamic
   10573       ;;
   10574 
   10575     cygwin* | mingw* | pw32* | cegcc*)
   10576       # When not using gcc, we currently assume that we are using
   10577       # Microsoft Visual C++ or Intel C++ Compiler.
   10578       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10579       # no search path for DLLs.
   10580       case $cc_basename in
   10581       cl* | icl*)
   10582 	# Native MSVC or ICC
   10583 	hardcode_libdir_flag_spec=' '
   10584 	allow_undefined_flag=unsupported
   10585 	always_export_symbols=yes
   10586 	file_list_spec='@'
   10587 	# Tell ltmain to make .lib files, not .a files.
   10588 	libext=lib
   10589 	# Tell ltmain to make .dll files, not .so files.
   10590 	shrext_cmds=.dll
   10591 	# FIXME: Setting linknames here is a bad hack.
   10592 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10593 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10594             cp "$export_symbols" "$output_objdir/$soname.def";
   10595             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10596           else
   10597             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10598           fi~
   10599           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10600           linknames='
   10601 	# The linker will not automatically build a static lib if we build a DLL.
   10602 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10603 	enable_shared_with_static_runtimes=yes
   10604 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10605 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10606 	# Don't use ranlib
   10607 	old_postinstall_cmds='chmod 644 $oldlib'
   10608 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10609           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10610           case $lt_outputfile in
   10611             *.exe|*.EXE) ;;
   10612             *)
   10613               lt_outputfile=$lt_outputfile.exe
   10614               lt_tool_outputfile=$lt_tool_outputfile.exe
   10615               ;;
   10616           esac~
   10617           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10618             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10619             $RM "$lt_outputfile.manifest";
   10620           fi'
   10621 	;;
   10622       *)
   10623 	# Assume MSVC and ICC wrapper
   10624 	hardcode_libdir_flag_spec=' '
   10625 	allow_undefined_flag=unsupported
   10626 	# Tell ltmain to make .lib files, not .a files.
   10627 	libext=lib
   10628 	# Tell ltmain to make .dll files, not .so files.
   10629 	shrext_cmds=.dll
   10630 	# FIXME: Setting linknames here is a bad hack.
   10631 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10632 	# The linker will automatically build a .lib file if we build a DLL.
   10633 	old_archive_from_new_cmds='true'
   10634 	# FIXME: Should let the user specify the lib program.
   10635 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10636 	enable_shared_with_static_runtimes=yes
   10637 	;;
   10638       esac
   10639       ;;
   10640 
   10641     darwin* | rhapsody*)
   10642 
   10643 
   10644   archive_cmds_need_lc=no
   10645   hardcode_direct=no
   10646   hardcode_automatic=yes
   10647   hardcode_shlibpath_var=unsupported
   10648   if test yes = "$lt_cv_ld_force_load"; then
   10649     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\"`'
   10650 
   10651   else
   10652     whole_archive_flag_spec=''
   10653   fi
   10654   link_all_deplibs=yes
   10655   allow_undefined_flag=$_lt_dar_allow_undefined
   10656   case $cc_basename in
   10657      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10658      *) _lt_dar_can_shared=$GCC ;;
   10659   esac
   10660   if test yes = "$_lt_dar_can_shared"; then
   10661     output_verbose_link_cmd=func_echo_all
   10662     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10663     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10664     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"
   10665     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"
   10666 
   10667   else
   10668   ld_shlibs=no
   10669   fi
   10670 
   10671       ;;
   10672 
   10673     dgux*)
   10674       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10675       hardcode_libdir_flag_spec='-L$libdir'
   10676       hardcode_shlibpath_var=no
   10677       ;;
   10678 
   10679     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10680     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10681     # does not break anything, and helps significantly (at the cost of a little
   10682     # extra space).
   10683     freebsd2.2*)
   10684       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10685       hardcode_libdir_flag_spec='-R$libdir'
   10686       hardcode_direct=yes
   10687       hardcode_shlibpath_var=no
   10688       ;;
   10689 
   10690     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10691     freebsd2.*)
   10692       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10693       hardcode_direct=yes
   10694       hardcode_minus_L=yes
   10695       hardcode_shlibpath_var=no
   10696       ;;
   10697 
   10698     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10699     freebsd* | dragonfly* | midnightbsd*)
   10700       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10701       hardcode_libdir_flag_spec='-R$libdir'
   10702       hardcode_direct=yes
   10703       hardcode_shlibpath_var=no
   10704       ;;
   10705 
   10706     hpux9*)
   10707       if test yes = "$GCC"; then
   10708 	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'
   10709       else
   10710 	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'
   10711       fi
   10712       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10713       hardcode_libdir_separator=:
   10714       hardcode_direct=yes
   10715 
   10716       # hardcode_minus_L: Not really in the search PATH,
   10717       # but as the default location of the library.
   10718       hardcode_minus_L=yes
   10719       export_dynamic_flag_spec='$wl-E'
   10720       ;;
   10721 
   10722     hpux10*)
   10723       if test yes,no = "$GCC,$with_gnu_ld"; then
   10724 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10725       else
   10726 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10727       fi
   10728       if test no = "$with_gnu_ld"; then
   10729 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10730 	hardcode_libdir_separator=:
   10731 	hardcode_direct=yes
   10732 	hardcode_direct_absolute=yes
   10733 	export_dynamic_flag_spec='$wl-E'
   10734 	# hardcode_minus_L: Not really in the search PATH,
   10735 	# but as the default location of the library.
   10736 	hardcode_minus_L=yes
   10737       fi
   10738       ;;
   10739 
   10740     hpux11*)
   10741       if test yes,no = "$GCC,$with_gnu_ld"; then
   10742 	case $host_cpu in
   10743 	hppa*64*)
   10744 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10745 	  ;;
   10746 	ia64*)
   10747 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10748 	  ;;
   10749 	*)
   10750 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10751 	  ;;
   10752 	esac
   10753       else
   10754 	case $host_cpu in
   10755 	hppa*64*)
   10756 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10757 	  ;;
   10758 	ia64*)
   10759 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10760 	  ;;
   10761 	*)
   10762 
   10763 	  # Older versions of the 11.00 compiler do not understand -b yet
   10764 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10765 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10766 printf %s "checking if $CC understands -b... " >&6; }
   10767 if test ${lt_cv_prog_compiler__b+y}
   10768 then :
   10769   printf %s "(cached) " >&6
   10770 else $as_nop
   10771   lt_cv_prog_compiler__b=no
   10772    save_LDFLAGS=$LDFLAGS
   10773    LDFLAGS="$LDFLAGS -b"
   10774    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10775    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10776      # The linker can only warn and ignore the option if not recognized
   10777      # So say no if there are warnings
   10778      if test -s conftest.err; then
   10779        # Append any errors to the config.log.
   10780        cat conftest.err 1>&5
   10781        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10782        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10783        if diff conftest.exp conftest.er2 >/dev/null; then
   10784          lt_cv_prog_compiler__b=yes
   10785        fi
   10786      else
   10787        lt_cv_prog_compiler__b=yes
   10788      fi
   10789    fi
   10790    $RM -r conftest*
   10791    LDFLAGS=$save_LDFLAGS
   10792 
   10793 fi
   10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10795 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10796 
   10797 if test yes = "$lt_cv_prog_compiler__b"; then
   10798     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10799 else
   10800     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10801 fi
   10802 
   10803 	  ;;
   10804 	esac
   10805       fi
   10806       if test no = "$with_gnu_ld"; then
   10807 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10808 	hardcode_libdir_separator=:
   10809 
   10810 	case $host_cpu in
   10811 	hppa*64*|ia64*)
   10812 	  hardcode_direct=no
   10813 	  hardcode_shlibpath_var=no
   10814 	  ;;
   10815 	*)
   10816 	  hardcode_direct=yes
   10817 	  hardcode_direct_absolute=yes
   10818 	  export_dynamic_flag_spec='$wl-E'
   10819 
   10820 	  # hardcode_minus_L: Not really in the search PATH,
   10821 	  # but as the default location of the library.
   10822 	  hardcode_minus_L=yes
   10823 	  ;;
   10824 	esac
   10825       fi
   10826       ;;
   10827 
   10828     irix5* | irix6* | nonstopux*)
   10829       if test yes = "$GCC"; then
   10830 	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'
   10831 	# Try to use the -exported_symbol ld option, if it does not
   10832 	# work, assume that -exports_file does not work either and
   10833 	# implicitly export all symbols.
   10834 	# This should be the same for all languages, so no per-tag cache variable.
   10835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10836 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10837 if test ${lt_cv_irix_exported_symbol+y}
   10838 then :
   10839   printf %s "(cached) " >&6
   10840 else $as_nop
   10841   save_LDFLAGS=$LDFLAGS
   10842 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10843 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10844 /* end confdefs.h.  */
   10845 int foo (void) { return 0; }
   10846 _ACEOF
   10847 if ac_fn_c_try_link "$LINENO"
   10848 then :
   10849   lt_cv_irix_exported_symbol=yes
   10850 else $as_nop
   10851   lt_cv_irix_exported_symbol=no
   10852 fi
   10853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10854     conftest$ac_exeext conftest.$ac_ext
   10855            LDFLAGS=$save_LDFLAGS
   10856 fi
   10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10858 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10859 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10860           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'
   10861 	fi
   10862       else
   10863 	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'
   10864 	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'
   10865       fi
   10866       archive_cmds_need_lc='no'
   10867       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10868       hardcode_libdir_separator=:
   10869       inherit_rpath=yes
   10870       link_all_deplibs=yes
   10871       ;;
   10872 
   10873     linux*)
   10874       case $cc_basename in
   10875       tcc*)
   10876 	# Fabrice Bellard et al's Tiny C Compiler
   10877 	ld_shlibs=yes
   10878 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10879 	;;
   10880       esac
   10881       ;;
   10882 
   10883     netbsd*)
   10884       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10885 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10886       else
   10887 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10888       fi
   10889       hardcode_libdir_flag_spec='-R$libdir'
   10890       hardcode_direct=yes
   10891       hardcode_shlibpath_var=no
   10892       ;;
   10893 
   10894     newsos6)
   10895       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10896       hardcode_direct=yes
   10897       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10898       hardcode_libdir_separator=:
   10899       hardcode_shlibpath_var=no
   10900       ;;
   10901 
   10902     *nto* | *qnx*)
   10903       ;;
   10904 
   10905     openbsd* | bitrig*)
   10906       if test -f /usr/libexec/ld.so; then
   10907 	hardcode_direct=yes
   10908 	hardcode_shlibpath_var=no
   10909 	hardcode_direct_absolute=yes
   10910 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10911 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10912 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10913 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10914 	  export_dynamic_flag_spec='$wl-E'
   10915 	else
   10916 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10917 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10918 	fi
   10919       else
   10920 	ld_shlibs=no
   10921       fi
   10922       ;;
   10923 
   10924     os2*)
   10925       hardcode_libdir_flag_spec='-L$libdir'
   10926       hardcode_minus_L=yes
   10927       allow_undefined_flag=unsupported
   10928       shrext_cmds=.dll
   10929       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10930 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10931 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10932 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10933 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10934 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10935 	emximp -o $lib $output_objdir/$libname.def'
   10936       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10937 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10938 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10939 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10940 	prefix_cmds="$SED"~
   10941 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10942 	  prefix_cmds="$prefix_cmds -e 1d";
   10943 	fi~
   10944 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10945 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10946 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10947 	emximp -o $lib $output_objdir/$libname.def'
   10948       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10949       enable_shared_with_static_runtimes=yes
   10950       file_list_spec='@'
   10951       ;;
   10952 
   10953     osf3*)
   10954       if test yes = "$GCC"; then
   10955 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10956 	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'
   10957       else
   10958 	allow_undefined_flag=' -expect_unresolved \*'
   10959 	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'
   10960       fi
   10961       archive_cmds_need_lc='no'
   10962       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10963       hardcode_libdir_separator=:
   10964       ;;
   10965 
   10966     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10967       if test yes = "$GCC"; then
   10968 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10969 	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'
   10970 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10971       else
   10972 	allow_undefined_flag=' -expect_unresolved \*'
   10973 	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'
   10974 	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~
   10975           $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'
   10976 
   10977 	# Both c and cxx compiler support -rpath directly
   10978 	hardcode_libdir_flag_spec='-rpath $libdir'
   10979       fi
   10980       archive_cmds_need_lc='no'
   10981       hardcode_libdir_separator=:
   10982       ;;
   10983 
   10984     solaris*)
   10985       no_undefined_flag=' -z defs'
   10986       if test yes = "$GCC"; then
   10987 	wlarc='$wl'
   10988 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10989 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10990           $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'
   10991       else
   10992 	case `$CC -V 2>&1` in
   10993 	*"Compilers 5.0"*)
   10994 	  wlarc=''
   10995 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10996 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10997             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10998 	  ;;
   10999 	*)
   11000 	  wlarc='$wl'
   11001 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11002 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11003             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11004 	  ;;
   11005 	esac
   11006       fi
   11007       hardcode_libdir_flag_spec='-R$libdir'
   11008       hardcode_shlibpath_var=no
   11009       case $host_os in
   11010       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11011       *)
   11012 	# The compiler driver will combine and reorder linker options,
   11013 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11014 	# but is careful enough not to reorder.
   11015 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11016 	if test yes = "$GCC"; then
   11017 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11018 	else
   11019 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11020 	fi
   11021 	;;
   11022       esac
   11023       link_all_deplibs=yes
   11024       ;;
   11025 
   11026     sunos4*)
   11027       if test sequent = "$host_vendor"; then
   11028 	# Use $CC to link under sequent, because it throws in some extra .o
   11029 	# files that make .init and .fini sections work.
   11030 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11031       else
   11032 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11033       fi
   11034       hardcode_libdir_flag_spec='-L$libdir'
   11035       hardcode_direct=yes
   11036       hardcode_minus_L=yes
   11037       hardcode_shlibpath_var=no
   11038       ;;
   11039 
   11040     sysv4)
   11041       case $host_vendor in
   11042 	sni)
   11043 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11044 	  hardcode_direct=yes # is this really true???
   11045 	;;
   11046 	siemens)
   11047 	  ## LD is ld it makes a PLAMLIB
   11048 	  ## CC just makes a GrossModule.
   11049 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11050 	  reload_cmds='$CC -r -o $output$reload_objs'
   11051 	  hardcode_direct=no
   11052         ;;
   11053 	motorola)
   11054 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11055 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11056 	;;
   11057       esac
   11058       runpath_var='LD_RUN_PATH'
   11059       hardcode_shlibpath_var=no
   11060       ;;
   11061 
   11062     sysv4.3*)
   11063       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11064       hardcode_shlibpath_var=no
   11065       export_dynamic_flag_spec='-Bexport'
   11066       ;;
   11067 
   11068     sysv4*MP*)
   11069       if test -d /usr/nec; then
   11070 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11071 	hardcode_shlibpath_var=no
   11072 	runpath_var=LD_RUN_PATH
   11073 	hardcode_runpath_var=yes
   11074 	ld_shlibs=yes
   11075       fi
   11076       ;;
   11077 
   11078     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11079       no_undefined_flag='$wl-z,text'
   11080       archive_cmds_need_lc=no
   11081       hardcode_shlibpath_var=no
   11082       runpath_var='LD_RUN_PATH'
   11083 
   11084       if test yes = "$GCC"; then
   11085 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11086 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11087       else
   11088 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11089 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11090       fi
   11091       ;;
   11092 
   11093     sysv5* | sco3.2v5* | sco5v6*)
   11094       # Note: We CANNOT use -z defs as we might desire, because we do not
   11095       # link with -lc, and that would cause any symbols used from libc to
   11096       # always be unresolved, which means just about no library would
   11097       # ever link correctly.  If we're not using GNU ld we use -z text
   11098       # though, which does catch some bad symbols but isn't as heavy-handed
   11099       # as -z defs.
   11100       no_undefined_flag='$wl-z,text'
   11101       allow_undefined_flag='$wl-z,nodefs'
   11102       archive_cmds_need_lc=no
   11103       hardcode_shlibpath_var=no
   11104       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11105       hardcode_libdir_separator=':'
   11106       link_all_deplibs=yes
   11107       export_dynamic_flag_spec='$wl-Bexport'
   11108       runpath_var='LD_RUN_PATH'
   11109 
   11110       if test yes = "$GCC"; then
   11111 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11112 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11113       else
   11114 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11115 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11116       fi
   11117       ;;
   11118 
   11119     uts4*)
   11120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11121       hardcode_libdir_flag_spec='-L$libdir'
   11122       hardcode_shlibpath_var=no
   11123       ;;
   11124 
   11125     *)
   11126       ld_shlibs=no
   11127       ;;
   11128     esac
   11129 
   11130     if test sni = "$host_vendor"; then
   11131       case $host in
   11132       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11133 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11134 	;;
   11135       esac
   11136     fi
   11137   fi
   11138 
   11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11140 printf "%s\n" "$ld_shlibs" >&6; }
   11141 test no = "$ld_shlibs" && can_build_shared=no
   11142 
   11143 with_gnu_ld=$with_gnu_ld
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 #
   11160 # Do we need to explicitly link libc?
   11161 #
   11162 case "x$archive_cmds_need_lc" in
   11163 x|xyes)
   11164   # Assume -lc should be added
   11165   archive_cmds_need_lc=yes
   11166 
   11167   if test yes,yes = "$GCC,$enable_shared"; then
   11168     case $archive_cmds in
   11169     *'~'*)
   11170       # FIXME: we may have to deal with multi-command sequences.
   11171       ;;
   11172     '$CC '*)
   11173       # Test whether the compiler implicitly links with -lc since on some
   11174       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11175       # to ld, don't add -lc before -lgcc.
   11176       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11177 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11178 if test ${lt_cv_archive_cmds_need_lc+y}
   11179 then :
   11180   printf %s "(cached) " >&6
   11181 else $as_nop
   11182   $RM conftest*
   11183 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11184 
   11185 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11186   (eval $ac_compile) 2>&5
   11187   ac_status=$?
   11188   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11189   test $ac_status = 0; } 2>conftest.err; then
   11190 	  soname=conftest
   11191 	  lib=conftest
   11192 	  libobjs=conftest.$ac_objext
   11193 	  deplibs=
   11194 	  wl=$lt_prog_compiler_wl
   11195 	  pic_flag=$lt_prog_compiler_pic
   11196 	  compiler_flags=-v
   11197 	  linker_flags=-v
   11198 	  verstring=
   11199 	  output_objdir=.
   11200 	  libname=conftest
   11201 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11202 	  allow_undefined_flag=
   11203 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11204   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11205   ac_status=$?
   11206   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11207   test $ac_status = 0; }
   11208 	  then
   11209 	    lt_cv_archive_cmds_need_lc=no
   11210 	  else
   11211 	    lt_cv_archive_cmds_need_lc=yes
   11212 	  fi
   11213 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11214 	else
   11215 	  cat conftest.err 1>&5
   11216 	fi
   11217 	$RM conftest*
   11218 
   11219 fi
   11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11221 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11222       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11223       ;;
   11224     esac
   11225   fi
   11226   ;;
   11227 esac
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11381 printf %s "checking dynamic linker characteristics... " >&6; }
   11382 
   11383 if test yes = "$GCC"; then
   11384   case $host_os in
   11385     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11386     *) lt_awk_arg='/^libraries:/' ;;
   11387   esac
   11388   case $host_os in
   11389     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11390     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11391   esac
   11392   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11393   case $lt_search_path_spec in
   11394   *\;*)
   11395     # if the path contains ";" then we assume it to be the separator
   11396     # otherwise default to the standard path separator (i.e. ":") - it is
   11397     # assumed that no part of a normal pathname contains ";" but that should
   11398     # okay in the real world where ";" in dirpaths is itself problematic.
   11399     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11400     ;;
   11401   *)
   11402     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11403     ;;
   11404   esac
   11405   # Ok, now we have the path, separated by spaces, we can step through it
   11406   # and add multilib dir if necessary...
   11407   lt_tmp_lt_search_path_spec=
   11408   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11409   # ...but if some path component already ends with the multilib dir we assume
   11410   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11411   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11412   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11413     lt_multi_os_dir=
   11414     ;;
   11415   esac
   11416   for lt_sys_path in $lt_search_path_spec; do
   11417     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11418       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11419     elif test -n "$lt_multi_os_dir"; then
   11420       test -d "$lt_sys_path" && \
   11421 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11422     fi
   11423   done
   11424   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11425 BEGIN {RS = " "; FS = "/|\n";} {
   11426   lt_foo = "";
   11427   lt_count = 0;
   11428   for (lt_i = NF; lt_i > 0; lt_i--) {
   11429     if ($lt_i != "" && $lt_i != ".") {
   11430       if ($lt_i == "..") {
   11431         lt_count++;
   11432       } else {
   11433         if (lt_count == 0) {
   11434           lt_foo = "/" $lt_i lt_foo;
   11435         } else {
   11436           lt_count--;
   11437         }
   11438       }
   11439     }
   11440   }
   11441   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11442   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11443 }'`
   11444   # AWK program above erroneously prepends '/' to C:/dos/paths
   11445   # for these hosts.
   11446   case $host_os in
   11447     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11448       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11449   esac
   11450   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11451 else
   11452   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11453 fi
   11454 library_names_spec=
   11455 libname_spec='lib$name'
   11456 soname_spec=
   11457 shrext_cmds=.so
   11458 postinstall_cmds=
   11459 postuninstall_cmds=
   11460 finish_cmds=
   11461 finish_eval=
   11462 shlibpath_var=
   11463 shlibpath_overrides_runpath=unknown
   11464 version_type=none
   11465 dynamic_linker="$host_os ld.so"
   11466 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11467 need_lib_prefix=unknown
   11468 hardcode_into_libs=no
   11469 
   11470 # when you set need_version to no, make sure it does not cause -set_version
   11471 # flags to be left without arguments
   11472 need_version=unknown
   11473 
   11474 
   11475 
   11476 case $host_os in
   11477 aix3*)
   11478   version_type=linux # correct to gnu/linux during the next big refactor
   11479   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11480   shlibpath_var=LIBPATH
   11481 
   11482   # AIX 3 has no versioning support, so we append a major version to the name.
   11483   soname_spec='$libname$release$shared_ext$major'
   11484   ;;
   11485 
   11486 aix[4-9]*)
   11487   version_type=linux # correct to gnu/linux during the next big refactor
   11488   need_lib_prefix=no
   11489   need_version=no
   11490   hardcode_into_libs=yes
   11491   if test ia64 = "$host_cpu"; then
   11492     # AIX 5 supports IA64
   11493     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11494     shlibpath_var=LD_LIBRARY_PATH
   11495   else
   11496     # With GCC up to 2.95.x, collect2 would create an import file
   11497     # for dependence libraries.  The import file would start with
   11498     # the line '#! .'.  This would cause the generated library to
   11499     # depend on '.', always an invalid library.  This was fixed in
   11500     # development snapshots of GCC prior to 3.0.
   11501     case $host_os in
   11502       aix4 | aix4.[01] | aix4.[01].*)
   11503       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11504 	   echo ' yes '
   11505 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11506 	:
   11507       else
   11508 	can_build_shared=no
   11509       fi
   11510       ;;
   11511     esac
   11512     # Using Import Files as archive members, it is possible to support
   11513     # filename-based versioning of shared library archives on AIX. While
   11514     # this would work for both with and without runtime linking, it will
   11515     # prevent static linking of such archives. So we do filename-based
   11516     # shared library versioning with .so extension only, which is used
   11517     # when both runtime linking and shared linking is enabled.
   11518     # Unfortunately, runtime linking may impact performance, so we do
   11519     # not want this to be the default eventually. Also, we use the
   11520     # versioned .so libs for executables only if there is the -brtl
   11521     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11522     # To allow for filename-based versioning support, we need to create
   11523     # libNAME.so.V as an archive file, containing:
   11524     # *) an Import File, referring to the versioned filename of the
   11525     #    archive as well as the shared archive member, telling the
   11526     #    bitwidth (32 or 64) of that shared object, and providing the
   11527     #    list of exported symbols of that shared object, eventually
   11528     #    decorated with the 'weak' keyword
   11529     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11530     #    it being seen by the linker.
   11531     # At run time we better use the real file rather than another symlink,
   11532     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11533 
   11534     case $with_aix_soname,$aix_use_runtimelinking in
   11535     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11536     # soname into executable. Probably we can add versioning support to
   11537     # collect2, so additional links can be useful in future.
   11538     aix,yes) # traditional libtool
   11539       dynamic_linker='AIX unversionable lib.so'
   11540       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11541       # instead of lib<name>.a to let people know that these are not
   11542       # typical AIX shared libraries.
   11543       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11544       ;;
   11545     aix,no) # traditional AIX only
   11546       dynamic_linker='AIX lib.a(lib.so.V)'
   11547       # We preserve .a as extension for shared libraries through AIX4.2
   11548       # and later when we are not doing run time linking.
   11549       library_names_spec='$libname$release.a $libname.a'
   11550       soname_spec='$libname$release$shared_ext$major'
   11551       ;;
   11552     svr4,*) # full svr4 only
   11553       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11554       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11555       # We do not specify a path in Import Files, so LIBPATH fires.
   11556       shlibpath_overrides_runpath=yes
   11557       ;;
   11558     *,yes) # both, prefer svr4
   11559       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11560       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11561       # unpreferred sharedlib libNAME.a needs extra handling
   11562       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"'
   11563       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"'
   11564       # We do not specify a path in Import Files, so LIBPATH fires.
   11565       shlibpath_overrides_runpath=yes
   11566       ;;
   11567     *,no) # both, prefer aix
   11568       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11569       library_names_spec='$libname$release.a $libname.a'
   11570       soname_spec='$libname$release$shared_ext$major'
   11571       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11572       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)'
   11573       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"'
   11574       ;;
   11575     esac
   11576     shlibpath_var=LIBPATH
   11577   fi
   11578   ;;
   11579 
   11580 amigaos*)
   11581   case $host_cpu in
   11582   powerpc)
   11583     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11584     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11585     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11586     ;;
   11587   m68k)
   11588     library_names_spec='$libname.ixlibrary $libname.a'
   11589     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11590     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'
   11591     ;;
   11592   esac
   11593   ;;
   11594 
   11595 beos*)
   11596   library_names_spec='$libname$shared_ext'
   11597   dynamic_linker="$host_os ld.so"
   11598   shlibpath_var=LIBRARY_PATH
   11599   ;;
   11600 
   11601 bsdi[45]*)
   11602   version_type=linux # correct to gnu/linux during the next big refactor
   11603   need_version=no
   11604   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11605   soname_spec='$libname$release$shared_ext$major'
   11606   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11607   shlibpath_var=LD_LIBRARY_PATH
   11608   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11609   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11610   # the default ld.so.conf also contains /usr/contrib/lib and
   11611   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11612   # libtool to hard-code these into programs
   11613   ;;
   11614 
   11615 cygwin* | mingw* | pw32* | cegcc*)
   11616   version_type=windows
   11617   shrext_cmds=.dll
   11618   need_version=no
   11619   need_lib_prefix=no
   11620 
   11621   case $GCC,$cc_basename in
   11622   yes,*)
   11623     # gcc
   11624     library_names_spec='$libname.dll.a'
   11625     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11626     postinstall_cmds='base_file=`basename \$file`~
   11627       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11628       dldir=$destdir/`dirname \$dlpath`~
   11629       test -d \$dldir || mkdir -p \$dldir~
   11630       $install_prog $dir/$dlname \$dldir/$dlname~
   11631       chmod a+x \$dldir/$dlname~
   11632       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11633         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11634       fi'
   11635     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11636       dlpath=$dir/\$dldll~
   11637        $RM \$dlpath'
   11638     shlibpath_overrides_runpath=yes
   11639 
   11640     case $host_os in
   11641     cygwin*)
   11642       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11643       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11644 
   11645       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11646       ;;
   11647     mingw* | cegcc*)
   11648       # MinGW DLLs use traditional 'lib' prefix
   11649       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11650       ;;
   11651     pw32*)
   11652       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11653       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11654       ;;
   11655     esac
   11656     dynamic_linker='Win32 ld.exe'
   11657     ;;
   11658 
   11659   *,cl* | *,icl*)
   11660     # Native MSVC or ICC
   11661     libname_spec='$name'
   11662     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11663     library_names_spec='$libname.dll.lib'
   11664 
   11665     case $build_os in
   11666     mingw*)
   11667       sys_lib_search_path_spec=
   11668       lt_save_ifs=$IFS
   11669       IFS=';'
   11670       for lt_path in $LIB
   11671       do
   11672         IFS=$lt_save_ifs
   11673         # Let DOS variable expansion print the short 8.3 style file name.
   11674         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11675         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11676       done
   11677       IFS=$lt_save_ifs
   11678       # Convert to MSYS style.
   11679       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11680       ;;
   11681     cygwin*)
   11682       # Convert to unix form, then to dos form, then back to unix form
   11683       # but this time dos style (no spaces!) so that the unix form looks
   11684       # like /cygdrive/c/PROGRA~1:/cygdr...
   11685       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11686       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11687       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11688       ;;
   11689     *)
   11690       sys_lib_search_path_spec=$LIB
   11691       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11692         # It is most probably a Windows format PATH.
   11693         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11694       else
   11695         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11696       fi
   11697       # FIXME: find the short name or the path components, as spaces are
   11698       # common. (e.g. "Program Files" -> "PROGRA~1")
   11699       ;;
   11700     esac
   11701 
   11702     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11703     postinstall_cmds='base_file=`basename \$file`~
   11704       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11705       dldir=$destdir/`dirname \$dlpath`~
   11706       test -d \$dldir || mkdir -p \$dldir~
   11707       $install_prog $dir/$dlname \$dldir/$dlname'
   11708     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11709       dlpath=$dir/\$dldll~
   11710        $RM \$dlpath'
   11711     shlibpath_overrides_runpath=yes
   11712     dynamic_linker='Win32 link.exe'
   11713     ;;
   11714 
   11715   *)
   11716     # Assume MSVC and ICC wrapper
   11717     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11718     dynamic_linker='Win32 ld.exe'
   11719     ;;
   11720   esac
   11721   # FIXME: first we should search . and the directory the executable is in
   11722   shlibpath_var=PATH
   11723   ;;
   11724 
   11725 darwin* | rhapsody*)
   11726   dynamic_linker="$host_os dyld"
   11727   version_type=darwin
   11728   need_lib_prefix=no
   11729   need_version=no
   11730   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11731   soname_spec='$libname$release$major$shared_ext'
   11732   shlibpath_overrides_runpath=yes
   11733   shlibpath_var=DYLD_LIBRARY_PATH
   11734   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11735 
   11736   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11737   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11738   ;;
   11739 
   11740 dgux*)
   11741   version_type=linux # correct to gnu/linux during the next big refactor
   11742   need_lib_prefix=no
   11743   need_version=no
   11744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11745   soname_spec='$libname$release$shared_ext$major'
   11746   shlibpath_var=LD_LIBRARY_PATH
   11747   ;;
   11748 
   11749 freebsd* | dragonfly* | midnightbsd*)
   11750   # DragonFly does not have aout.  When/if they implement a new
   11751   # versioning mechanism, adjust this.
   11752   if test -x /usr/bin/objformat; then
   11753     objformat=`/usr/bin/objformat`
   11754   else
   11755     case $host_os in
   11756     freebsd[23].*) objformat=aout ;;
   11757     *) objformat=elf ;;
   11758     esac
   11759   fi
   11760   version_type=freebsd-$objformat
   11761   case $version_type in
   11762     freebsd-elf*)
   11763       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11764       soname_spec='$libname$release$shared_ext$major'
   11765       need_version=no
   11766       need_lib_prefix=no
   11767       ;;
   11768     freebsd-*)
   11769       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11770       need_version=yes
   11771       ;;
   11772   esac
   11773   shlibpath_var=LD_LIBRARY_PATH
   11774   case $host_os in
   11775   freebsd2.*)
   11776     shlibpath_overrides_runpath=yes
   11777     ;;
   11778   freebsd3.[01]* | freebsdelf3.[01]*)
   11779     shlibpath_overrides_runpath=yes
   11780     hardcode_into_libs=yes
   11781     ;;
   11782   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11783   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11784     shlibpath_overrides_runpath=no
   11785     hardcode_into_libs=yes
   11786     ;;
   11787   *) # from 4.6 on, and DragonFly
   11788     shlibpath_overrides_runpath=yes
   11789     hardcode_into_libs=yes
   11790     ;;
   11791   esac
   11792   ;;
   11793 
   11794 haiku*)
   11795   version_type=linux # correct to gnu/linux during the next big refactor
   11796   need_lib_prefix=no
   11797   need_version=no
   11798   dynamic_linker="$host_os runtime_loader"
   11799   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11800   soname_spec='$libname$release$shared_ext$major'
   11801   shlibpath_var=LIBRARY_PATH
   11802   shlibpath_overrides_runpath=no
   11803   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11804   hardcode_into_libs=yes
   11805   ;;
   11806 
   11807 hpux9* | hpux10* | hpux11*)
   11808   # Give a soname corresponding to the major version so that dld.sl refuses to
   11809   # link against other versions.
   11810   version_type=sunos
   11811   need_lib_prefix=no
   11812   need_version=no
   11813   case $host_cpu in
   11814   ia64*)
   11815     shrext_cmds='.so'
   11816     hardcode_into_libs=yes
   11817     dynamic_linker="$host_os dld.so"
   11818     shlibpath_var=LD_LIBRARY_PATH
   11819     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11820     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11821     soname_spec='$libname$release$shared_ext$major'
   11822     if test 32 = "$HPUX_IA64_MODE"; then
   11823       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11824       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11825     else
   11826       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11827       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11828     fi
   11829     ;;
   11830   hppa*64*)
   11831     shrext_cmds='.sl'
   11832     hardcode_into_libs=yes
   11833     dynamic_linker="$host_os dld.sl"
   11834     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11835     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11836     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11837     soname_spec='$libname$release$shared_ext$major'
   11838     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11839     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11840     ;;
   11841   *)
   11842     shrext_cmds='.sl'
   11843     dynamic_linker="$host_os dld.sl"
   11844     shlibpath_var=SHLIB_PATH
   11845     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11846     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11847     soname_spec='$libname$release$shared_ext$major'
   11848     ;;
   11849   esac
   11850   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11851   postinstall_cmds='chmod 555 $lib'
   11852   # or fails outright, so override atomically:
   11853   install_override_mode=555
   11854   ;;
   11855 
   11856 interix[3-9]*)
   11857   version_type=linux # correct to gnu/linux during the next big refactor
   11858   need_lib_prefix=no
   11859   need_version=no
   11860   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11861   soname_spec='$libname$release$shared_ext$major'
   11862   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11863   shlibpath_var=LD_LIBRARY_PATH
   11864   shlibpath_overrides_runpath=no
   11865   hardcode_into_libs=yes
   11866   ;;
   11867 
   11868 irix5* | irix6* | nonstopux*)
   11869   case $host_os in
   11870     nonstopux*) version_type=nonstopux ;;
   11871     *)
   11872 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11873 		version_type=linux # correct to gnu/linux during the next big refactor
   11874 	else
   11875 		version_type=irix
   11876 	fi ;;
   11877   esac
   11878   need_lib_prefix=no
   11879   need_version=no
   11880   soname_spec='$libname$release$shared_ext$major'
   11881   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11882   case $host_os in
   11883   irix5* | nonstopux*)
   11884     libsuff= shlibsuff=
   11885     ;;
   11886   *)
   11887     case $LD in # libtool.m4 will add one of these switches to LD
   11888     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11889       libsuff= shlibsuff= libmagic=32-bit;;
   11890     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11891       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11892     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11893       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11894     *) libsuff= shlibsuff= libmagic=never-match;;
   11895     esac
   11896     ;;
   11897   esac
   11898   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11899   shlibpath_overrides_runpath=no
   11900   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11901   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11902   hardcode_into_libs=yes
   11903   ;;
   11904 
   11905 # No shared lib support for Linux oldld, aout, or coff.
   11906 linux*oldld* | linux*aout* | linux*coff*)
   11907   dynamic_linker=no
   11908   ;;
   11909 
   11910 linux*android*)
   11911   version_type=none # Android doesn't support versioned libraries.
   11912   need_lib_prefix=no
   11913   need_version=no
   11914   library_names_spec='$libname$release$shared_ext'
   11915   soname_spec='$libname$release$shared_ext'
   11916   finish_cmds=
   11917   shlibpath_var=LD_LIBRARY_PATH
   11918   shlibpath_overrides_runpath=yes
   11919 
   11920   # This implies no fast_install, which is unacceptable.
   11921   # Some rework will be needed to allow for fast_install
   11922   # before this can be enabled.
   11923   hardcode_into_libs=yes
   11924 
   11925   dynamic_linker='Android linker'
   11926   # Don't embed -rpath directories since the linker doesn't support them.
   11927   hardcode_libdir_flag_spec='-L$libdir'
   11928   ;;
   11929 
   11930 # This must be glibc/ELF.
   11931 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11932   version_type=linux # correct to gnu/linux during the next big refactor
   11933   need_lib_prefix=no
   11934   need_version=no
   11935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11936   soname_spec='$libname$release$shared_ext$major'
   11937   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11938   shlibpath_var=LD_LIBRARY_PATH
   11939   shlibpath_overrides_runpath=no
   11940 
   11941   # Some binutils ld are patched to set DT_RUNPATH
   11942   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11943 then :
   11944   printf %s "(cached) " >&6
   11945 else $as_nop
   11946   lt_cv_shlibpath_overrides_runpath=no
   11947     save_LDFLAGS=$LDFLAGS
   11948     save_libdir=$libdir
   11949     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11950 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11951     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11952 /* end confdefs.h.  */
   11953 
   11954 int
   11955 main (void)
   11956 {
   11957 
   11958   ;
   11959   return 0;
   11960 }
   11961 _ACEOF
   11962 if ac_fn_c_try_link "$LINENO"
   11963 then :
   11964   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11965 then :
   11966   lt_cv_shlibpath_overrides_runpath=yes
   11967 fi
   11968 fi
   11969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11970     conftest$ac_exeext conftest.$ac_ext
   11971     LDFLAGS=$save_LDFLAGS
   11972     libdir=$save_libdir
   11973 
   11974 fi
   11975 
   11976   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11977 
   11978   # This implies no fast_install, which is unacceptable.
   11979   # Some rework will be needed to allow for fast_install
   11980   # before this can be enabled.
   11981   hardcode_into_libs=yes
   11982 
   11983   # Ideally, we could use ldconfig to report *all* directores which are
   11984   # searched for libraries, however this is still not possible.  Aside from not
   11985   # being certain /sbin/ldconfig is available, command
   11986   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11987   # even though it is searched at run-time.  Try to do the best guess by
   11988   # appending ld.so.conf contents (and includes) to the search path.
   11989   if test -f /etc/ld.so.conf; then
   11990     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' ' '`
   11991     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11992   fi
   11993 
   11994   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11995   # powerpc, because MkLinux only supported shared libraries with the
   11996   # GNU dynamic linker.  Since this was broken with cross compilers,
   11997   # most powerpc-linux boxes support dynamic linking these days and
   11998   # people can always --disable-shared, the test was removed, and we
   11999   # assume the GNU/Linux dynamic linker is in use.
   12000   dynamic_linker='GNU/Linux ld.so'
   12001   ;;
   12002 
   12003 netbsd*)
   12004   version_type=sunos
   12005   need_lib_prefix=no
   12006   need_version=no
   12007   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12008     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12009     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12010     dynamic_linker='NetBSD (a.out) ld.so'
   12011   else
   12012     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12013     soname_spec='$libname$release$shared_ext$major'
   12014     dynamic_linker='NetBSD ld.elf_so'
   12015   fi
   12016   shlibpath_var=LD_LIBRARY_PATH
   12017   shlibpath_overrides_runpath=yes
   12018   hardcode_into_libs=yes
   12019   ;;
   12020 
   12021 newsos6)
   12022   version_type=linux # correct to gnu/linux during the next big refactor
   12023   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12024   shlibpath_var=LD_LIBRARY_PATH
   12025   shlibpath_overrides_runpath=yes
   12026   ;;
   12027 
   12028 *nto* | *qnx*)
   12029   version_type=qnx
   12030   need_lib_prefix=no
   12031   need_version=no
   12032   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12033   soname_spec='$libname$release$shared_ext$major'
   12034   shlibpath_var=LD_LIBRARY_PATH
   12035   shlibpath_overrides_runpath=no
   12036   hardcode_into_libs=yes
   12037   dynamic_linker='ldqnx.so'
   12038   ;;
   12039 
   12040 openbsd* | bitrig*)
   12041   version_type=sunos
   12042   sys_lib_dlsearch_path_spec=/usr/lib
   12043   need_lib_prefix=no
   12044   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12045     need_version=no
   12046   else
   12047     need_version=yes
   12048   fi
   12049   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12050   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12051   shlibpath_var=LD_LIBRARY_PATH
   12052   shlibpath_overrides_runpath=yes
   12053   ;;
   12054 
   12055 os2*)
   12056   libname_spec='$name'
   12057   version_type=windows
   12058   shrext_cmds=.dll
   12059   need_version=no
   12060   need_lib_prefix=no
   12061   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12062   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12063     v=$($ECHO $release$versuffix | tr -d .-);
   12064     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12065     $ECHO $n$v`$shared_ext'
   12066   library_names_spec='${libname}_dll.$libext'
   12067   dynamic_linker='OS/2 ld.exe'
   12068   shlibpath_var=BEGINLIBPATH
   12069   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12070   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12071   postinstall_cmds='base_file=`basename \$file`~
   12072     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12073     dldir=$destdir/`dirname \$dlpath`~
   12074     test -d \$dldir || mkdir -p \$dldir~
   12075     $install_prog $dir/$dlname \$dldir/$dlname~
   12076     chmod a+x \$dldir/$dlname~
   12077     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12078       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12079     fi'
   12080   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12081     dlpath=$dir/\$dldll~
   12082     $RM \$dlpath'
   12083   ;;
   12084 
   12085 osf3* | osf4* | osf5*)
   12086   version_type=osf
   12087   need_lib_prefix=no
   12088   need_version=no
   12089   soname_spec='$libname$release$shared_ext$major'
   12090   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12091   shlibpath_var=LD_LIBRARY_PATH
   12092   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12093   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12094   ;;
   12095 
   12096 rdos*)
   12097   dynamic_linker=no
   12098   ;;
   12099 
   12100 solaris*)
   12101   version_type=linux # correct to gnu/linux during the next big refactor
   12102   need_lib_prefix=no
   12103   need_version=no
   12104   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12105   soname_spec='$libname$release$shared_ext$major'
   12106   shlibpath_var=LD_LIBRARY_PATH
   12107   shlibpath_overrides_runpath=yes
   12108   hardcode_into_libs=yes
   12109   # ldd complains unless libraries are executable
   12110   postinstall_cmds='chmod +x $lib'
   12111   ;;
   12112 
   12113 sunos4*)
   12114   version_type=sunos
   12115   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12116   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12117   shlibpath_var=LD_LIBRARY_PATH
   12118   shlibpath_overrides_runpath=yes
   12119   if test yes = "$with_gnu_ld"; then
   12120     need_lib_prefix=no
   12121   fi
   12122   need_version=yes
   12123   ;;
   12124 
   12125 sysv4 | sysv4.3*)
   12126   version_type=linux # correct to gnu/linux during the next big refactor
   12127   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12128   soname_spec='$libname$release$shared_ext$major'
   12129   shlibpath_var=LD_LIBRARY_PATH
   12130   case $host_vendor in
   12131     sni)
   12132       shlibpath_overrides_runpath=no
   12133       need_lib_prefix=no
   12134       runpath_var=LD_RUN_PATH
   12135       ;;
   12136     siemens)
   12137       need_lib_prefix=no
   12138       ;;
   12139     motorola)
   12140       need_lib_prefix=no
   12141       need_version=no
   12142       shlibpath_overrides_runpath=no
   12143       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12144       ;;
   12145   esac
   12146   ;;
   12147 
   12148 sysv4*MP*)
   12149   if test -d /usr/nec; then
   12150     version_type=linux # correct to gnu/linux during the next big refactor
   12151     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12152     soname_spec='$libname$shared_ext.$major'
   12153     shlibpath_var=LD_LIBRARY_PATH
   12154   fi
   12155   ;;
   12156 
   12157 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12158   version_type=sco
   12159   need_lib_prefix=no
   12160   need_version=no
   12161   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12162   soname_spec='$libname$release$shared_ext$major'
   12163   shlibpath_var=LD_LIBRARY_PATH
   12164   shlibpath_overrides_runpath=yes
   12165   hardcode_into_libs=yes
   12166   if test yes = "$with_gnu_ld"; then
   12167     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12168   else
   12169     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12170     case $host_os in
   12171       sco3.2v5*)
   12172         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12173 	;;
   12174     esac
   12175   fi
   12176   sys_lib_dlsearch_path_spec='/usr/lib'
   12177   ;;
   12178 
   12179 tpf*)
   12180   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12181   version_type=linux # correct to gnu/linux during the next big refactor
   12182   need_lib_prefix=no
   12183   need_version=no
   12184   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12185   shlibpath_var=LD_LIBRARY_PATH
   12186   shlibpath_overrides_runpath=no
   12187   hardcode_into_libs=yes
   12188   ;;
   12189 
   12190 uts4*)
   12191   version_type=linux # correct to gnu/linux during the next big refactor
   12192   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12193   soname_spec='$libname$release$shared_ext$major'
   12194   shlibpath_var=LD_LIBRARY_PATH
   12195   ;;
   12196 
   12197 *)
   12198   dynamic_linker=no
   12199   ;;
   12200 esac
   12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12202 printf "%s\n" "$dynamic_linker" >&6; }
   12203 test no = "$dynamic_linker" && can_build_shared=no
   12204 
   12205 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12206 if test yes = "$GCC"; then
   12207   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12208 fi
   12209 
   12210 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12211   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12212 fi
   12213 
   12214 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12215   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12216 fi
   12217 
   12218 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12219 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12220 
   12221 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12222 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12223 
   12224 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12225 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12324 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12325 hardcode_action=
   12326 if test -n "$hardcode_libdir_flag_spec" ||
   12327    test -n "$runpath_var" ||
   12328    test yes = "$hardcode_automatic"; then
   12329 
   12330   # We can hardcode non-existent directories.
   12331   if test no != "$hardcode_direct" &&
   12332      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12333      # have to relink, otherwise we might link with an installed library
   12334      # when we should be linking with a yet-to-be-installed one
   12335      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12336      test no != "$hardcode_minus_L"; then
   12337     # Linking always hardcodes the temporary library directory.
   12338     hardcode_action=relink
   12339   else
   12340     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12341     hardcode_action=immediate
   12342   fi
   12343 else
   12344   # We cannot hardcode anything, or else we can only hardcode existing
   12345   # directories.
   12346   hardcode_action=unsupported
   12347 fi
   12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12349 printf "%s\n" "$hardcode_action" >&6; }
   12350 
   12351 if test relink = "$hardcode_action" ||
   12352    test yes = "$inherit_rpath"; then
   12353   # Fast installation is not supported
   12354   enable_fast_install=no
   12355 elif test yes = "$shlibpath_overrides_runpath" ||
   12356      test no = "$enable_shared"; then
   12357   # Fast installation is not necessary
   12358   enable_fast_install=needless
   12359 fi
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366   if test yes != "$enable_dlopen"; then
   12367   enable_dlopen=unknown
   12368   enable_dlopen_self=unknown
   12369   enable_dlopen_self_static=unknown
   12370 else
   12371   lt_cv_dlopen=no
   12372   lt_cv_dlopen_libs=
   12373 
   12374   case $host_os in
   12375   beos*)
   12376     lt_cv_dlopen=load_add_on
   12377     lt_cv_dlopen_libs=
   12378     lt_cv_dlopen_self=yes
   12379     ;;
   12380 
   12381   mingw* | pw32* | cegcc*)
   12382     lt_cv_dlopen=LoadLibrary
   12383     lt_cv_dlopen_libs=
   12384     ;;
   12385 
   12386   cygwin*)
   12387     lt_cv_dlopen=dlopen
   12388     lt_cv_dlopen_libs=
   12389     ;;
   12390 
   12391   darwin*)
   12392     # if libdl is installed we need to link against it
   12393     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12394 printf %s "checking for dlopen in -ldl... " >&6; }
   12395 if test ${ac_cv_lib_dl_dlopen+y}
   12396 then :
   12397   printf %s "(cached) " >&6
   12398 else $as_nop
   12399   ac_check_lib_save_LIBS=$LIBS
   12400 LIBS="-ldl  $LIBS"
   12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12402 /* end confdefs.h.  */
   12403 
   12404 /* Override any GCC internal prototype to avoid an error.
   12405    Use char because int might match the return type of a GCC
   12406    builtin and then its argument prototype would still apply.  */
   12407 char dlopen ();
   12408 int
   12409 main (void)
   12410 {
   12411 return dlopen ();
   12412   ;
   12413   return 0;
   12414 }
   12415 _ACEOF
   12416 if ac_fn_c_try_link "$LINENO"
   12417 then :
   12418   ac_cv_lib_dl_dlopen=yes
   12419 else $as_nop
   12420   ac_cv_lib_dl_dlopen=no
   12421 fi
   12422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12423     conftest$ac_exeext conftest.$ac_ext
   12424 LIBS=$ac_check_lib_save_LIBS
   12425 fi
   12426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12427 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12428 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12429 then :
   12430   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12431 else $as_nop
   12432 
   12433     lt_cv_dlopen=dyld
   12434     lt_cv_dlopen_libs=
   12435     lt_cv_dlopen_self=yes
   12436 
   12437 fi
   12438 
   12439     ;;
   12440 
   12441   tpf*)
   12442     # Don't try to run any link tests for TPF.  We know it's impossible
   12443     # because TPF is a cross-compiler, and we know how we open DSOs.
   12444     lt_cv_dlopen=dlopen
   12445     lt_cv_dlopen_libs=
   12446     lt_cv_dlopen_self=no
   12447     ;;
   12448 
   12449   *)
   12450     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12451 if test "x$ac_cv_func_shl_load" = xyes
   12452 then :
   12453   lt_cv_dlopen=shl_load
   12454 else $as_nop
   12455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12456 printf %s "checking for shl_load in -ldld... " >&6; }
   12457 if test ${ac_cv_lib_dld_shl_load+y}
   12458 then :
   12459   printf %s "(cached) " >&6
   12460 else $as_nop
   12461   ac_check_lib_save_LIBS=$LIBS
   12462 LIBS="-ldld  $LIBS"
   12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12464 /* end confdefs.h.  */
   12465 
   12466 /* Override any GCC internal prototype to avoid an error.
   12467    Use char because int might match the return type of a GCC
   12468    builtin and then its argument prototype would still apply.  */
   12469 char shl_load ();
   12470 int
   12471 main (void)
   12472 {
   12473 return shl_load ();
   12474   ;
   12475   return 0;
   12476 }
   12477 _ACEOF
   12478 if ac_fn_c_try_link "$LINENO"
   12479 then :
   12480   ac_cv_lib_dld_shl_load=yes
   12481 else $as_nop
   12482   ac_cv_lib_dld_shl_load=no
   12483 fi
   12484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12485     conftest$ac_exeext conftest.$ac_ext
   12486 LIBS=$ac_check_lib_save_LIBS
   12487 fi
   12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12489 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12490 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12491 then :
   12492   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12493 else $as_nop
   12494   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12495 if test "x$ac_cv_func_dlopen" = xyes
   12496 then :
   12497   lt_cv_dlopen=dlopen
   12498 else $as_nop
   12499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12500 printf %s "checking for dlopen in -ldl... " >&6; }
   12501 if test ${ac_cv_lib_dl_dlopen+y}
   12502 then :
   12503   printf %s "(cached) " >&6
   12504 else $as_nop
   12505   ac_check_lib_save_LIBS=$LIBS
   12506 LIBS="-ldl  $LIBS"
   12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12508 /* end confdefs.h.  */
   12509 
   12510 /* Override any GCC internal prototype to avoid an error.
   12511    Use char because int might match the return type of a GCC
   12512    builtin and then its argument prototype would still apply.  */
   12513 char dlopen ();
   12514 int
   12515 main (void)
   12516 {
   12517 return dlopen ();
   12518   ;
   12519   return 0;
   12520 }
   12521 _ACEOF
   12522 if ac_fn_c_try_link "$LINENO"
   12523 then :
   12524   ac_cv_lib_dl_dlopen=yes
   12525 else $as_nop
   12526   ac_cv_lib_dl_dlopen=no
   12527 fi
   12528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12529     conftest$ac_exeext conftest.$ac_ext
   12530 LIBS=$ac_check_lib_save_LIBS
   12531 fi
   12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12533 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12534 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12535 then :
   12536   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12537 else $as_nop
   12538   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12539 printf %s "checking for dlopen in -lsvld... " >&6; }
   12540 if test ${ac_cv_lib_svld_dlopen+y}
   12541 then :
   12542   printf %s "(cached) " >&6
   12543 else $as_nop
   12544   ac_check_lib_save_LIBS=$LIBS
   12545 LIBS="-lsvld  $LIBS"
   12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12547 /* end confdefs.h.  */
   12548 
   12549 /* Override any GCC internal prototype to avoid an error.
   12550    Use char because int might match the return type of a GCC
   12551    builtin and then its argument prototype would still apply.  */
   12552 char dlopen ();
   12553 int
   12554 main (void)
   12555 {
   12556 return dlopen ();
   12557   ;
   12558   return 0;
   12559 }
   12560 _ACEOF
   12561 if ac_fn_c_try_link "$LINENO"
   12562 then :
   12563   ac_cv_lib_svld_dlopen=yes
   12564 else $as_nop
   12565   ac_cv_lib_svld_dlopen=no
   12566 fi
   12567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12568     conftest$ac_exeext conftest.$ac_ext
   12569 LIBS=$ac_check_lib_save_LIBS
   12570 fi
   12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12572 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12573 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12574 then :
   12575   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12576 else $as_nop
   12577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12578 printf %s "checking for dld_link in -ldld... " >&6; }
   12579 if test ${ac_cv_lib_dld_dld_link+y}
   12580 then :
   12581   printf %s "(cached) " >&6
   12582 else $as_nop
   12583   ac_check_lib_save_LIBS=$LIBS
   12584 LIBS="-ldld  $LIBS"
   12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12586 /* end confdefs.h.  */
   12587 
   12588 /* Override any GCC internal prototype to avoid an error.
   12589    Use char because int might match the return type of a GCC
   12590    builtin and then its argument prototype would still apply.  */
   12591 char dld_link ();
   12592 int
   12593 main (void)
   12594 {
   12595 return dld_link ();
   12596   ;
   12597   return 0;
   12598 }
   12599 _ACEOF
   12600 if ac_fn_c_try_link "$LINENO"
   12601 then :
   12602   ac_cv_lib_dld_dld_link=yes
   12603 else $as_nop
   12604   ac_cv_lib_dld_dld_link=no
   12605 fi
   12606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12607     conftest$ac_exeext conftest.$ac_ext
   12608 LIBS=$ac_check_lib_save_LIBS
   12609 fi
   12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12611 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12612 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12613 then :
   12614   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12615 fi
   12616 
   12617 
   12618 fi
   12619 
   12620 
   12621 fi
   12622 
   12623 
   12624 fi
   12625 
   12626 
   12627 fi
   12628 
   12629 
   12630 fi
   12631 
   12632     ;;
   12633   esac
   12634 
   12635   if test no = "$lt_cv_dlopen"; then
   12636     enable_dlopen=no
   12637   else
   12638     enable_dlopen=yes
   12639   fi
   12640 
   12641   case $lt_cv_dlopen in
   12642   dlopen)
   12643     save_CPPFLAGS=$CPPFLAGS
   12644     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12645 
   12646     save_LDFLAGS=$LDFLAGS
   12647     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12648 
   12649     save_LIBS=$LIBS
   12650     LIBS="$lt_cv_dlopen_libs $LIBS"
   12651 
   12652     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12653 printf %s "checking whether a program can dlopen itself... " >&6; }
   12654 if test ${lt_cv_dlopen_self+y}
   12655 then :
   12656   printf %s "(cached) " >&6
   12657 else $as_nop
   12658   	  if test yes = "$cross_compiling"; then :
   12659   lt_cv_dlopen_self=cross
   12660 else
   12661   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12662   lt_status=$lt_dlunknown
   12663   cat > conftest.$ac_ext <<_LT_EOF
   12664 #line $LINENO "configure"
   12665 #include "confdefs.h"
   12666 
   12667 #if HAVE_DLFCN_H
   12668 #include <dlfcn.h>
   12669 #endif
   12670 
   12671 #include <stdio.h>
   12672 
   12673 #ifdef RTLD_GLOBAL
   12674 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12675 #else
   12676 #  ifdef DL_GLOBAL
   12677 #    define LT_DLGLOBAL		DL_GLOBAL
   12678 #  else
   12679 #    define LT_DLGLOBAL		0
   12680 #  endif
   12681 #endif
   12682 
   12683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12684    find out it does not work in some platform. */
   12685 #ifndef LT_DLLAZY_OR_NOW
   12686 #  ifdef RTLD_LAZY
   12687 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12688 #  else
   12689 #    ifdef DL_LAZY
   12690 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12691 #    else
   12692 #      ifdef RTLD_NOW
   12693 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12694 #      else
   12695 #        ifdef DL_NOW
   12696 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12697 #        else
   12698 #          define LT_DLLAZY_OR_NOW	0
   12699 #        endif
   12700 #      endif
   12701 #    endif
   12702 #  endif
   12703 #endif
   12704 
   12705 /* When -fvisibility=hidden is used, assume the code has been annotated
   12706    correspondingly for the symbols needed.  */
   12707 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12708 int fnord () __attribute__((visibility("default")));
   12709 #endif
   12710 
   12711 int fnord () { return 42; }
   12712 int main ()
   12713 {
   12714   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12715   int status = $lt_dlunknown;
   12716 
   12717   if (self)
   12718     {
   12719       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12720       else
   12721         {
   12722 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12723           else puts (dlerror ());
   12724 	}
   12725       /* dlclose (self); */
   12726     }
   12727   else
   12728     puts (dlerror ());
   12729 
   12730   return status;
   12731 }
   12732 _LT_EOF
   12733   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12734   (eval $ac_link) 2>&5
   12735   ac_status=$?
   12736   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12737   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12738     (./conftest; exit; ) >&5 2>/dev/null
   12739     lt_status=$?
   12740     case x$lt_status in
   12741       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12742       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12743       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12744     esac
   12745   else :
   12746     # compilation failed
   12747     lt_cv_dlopen_self=no
   12748   fi
   12749 fi
   12750 rm -fr conftest*
   12751 
   12752 
   12753 fi
   12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12755 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12756 
   12757     if test yes = "$lt_cv_dlopen_self"; then
   12758       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12759       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12760 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12761 if test ${lt_cv_dlopen_self_static+y}
   12762 then :
   12763   printf %s "(cached) " >&6
   12764 else $as_nop
   12765   	  if test yes = "$cross_compiling"; then :
   12766   lt_cv_dlopen_self_static=cross
   12767 else
   12768   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12769   lt_status=$lt_dlunknown
   12770   cat > conftest.$ac_ext <<_LT_EOF
   12771 #line $LINENO "configure"
   12772 #include "confdefs.h"
   12773 
   12774 #if HAVE_DLFCN_H
   12775 #include <dlfcn.h>
   12776 #endif
   12777 
   12778 #include <stdio.h>
   12779 
   12780 #ifdef RTLD_GLOBAL
   12781 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12782 #else
   12783 #  ifdef DL_GLOBAL
   12784 #    define LT_DLGLOBAL		DL_GLOBAL
   12785 #  else
   12786 #    define LT_DLGLOBAL		0
   12787 #  endif
   12788 #endif
   12789 
   12790 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12791    find out it does not work in some platform. */
   12792 #ifndef LT_DLLAZY_OR_NOW
   12793 #  ifdef RTLD_LAZY
   12794 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12795 #  else
   12796 #    ifdef DL_LAZY
   12797 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12798 #    else
   12799 #      ifdef RTLD_NOW
   12800 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12801 #      else
   12802 #        ifdef DL_NOW
   12803 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12804 #        else
   12805 #          define LT_DLLAZY_OR_NOW	0
   12806 #        endif
   12807 #      endif
   12808 #    endif
   12809 #  endif
   12810 #endif
   12811 
   12812 /* When -fvisibility=hidden is used, assume the code has been annotated
   12813    correspondingly for the symbols needed.  */
   12814 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12815 int fnord () __attribute__((visibility("default")));
   12816 #endif
   12817 
   12818 int fnord () { return 42; }
   12819 int main ()
   12820 {
   12821   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12822   int status = $lt_dlunknown;
   12823 
   12824   if (self)
   12825     {
   12826       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12827       else
   12828         {
   12829 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12830           else puts (dlerror ());
   12831 	}
   12832       /* dlclose (self); */
   12833     }
   12834   else
   12835     puts (dlerror ());
   12836 
   12837   return status;
   12838 }
   12839 _LT_EOF
   12840   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12841   (eval $ac_link) 2>&5
   12842   ac_status=$?
   12843   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12844   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12845     (./conftest; exit; ) >&5 2>/dev/null
   12846     lt_status=$?
   12847     case x$lt_status in
   12848       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12849       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12850       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12851     esac
   12852   else :
   12853     # compilation failed
   12854     lt_cv_dlopen_self_static=no
   12855   fi
   12856 fi
   12857 rm -fr conftest*
   12858 
   12859 
   12860 fi
   12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12862 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12863     fi
   12864 
   12865     CPPFLAGS=$save_CPPFLAGS
   12866     LDFLAGS=$save_LDFLAGS
   12867     LIBS=$save_LIBS
   12868     ;;
   12869   esac
   12870 
   12871   case $lt_cv_dlopen_self in
   12872   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12873   *) enable_dlopen_self=unknown ;;
   12874   esac
   12875 
   12876   case $lt_cv_dlopen_self_static in
   12877   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12878   *) enable_dlopen_self_static=unknown ;;
   12879   esac
   12880 fi
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 striplib=
   12899 old_striplib=
   12900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12901 printf %s "checking whether stripping libraries is possible... " >&6; }
   12902 if test -z "$STRIP"; then
   12903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12904 printf "%s\n" "no" >&6; }
   12905 else
   12906   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12907     old_striplib="$STRIP --strip-debug"
   12908     striplib="$STRIP --strip-unneeded"
   12909     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12910 printf "%s\n" "yes" >&6; }
   12911   else
   12912     case $host_os in
   12913     darwin*)
   12914       # FIXME - insert some real tests, host_os isn't really good enough
   12915       striplib="$STRIP -x"
   12916       old_striplib="$STRIP -S"
   12917       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12918 printf "%s\n" "yes" >&6; }
   12919       ;;
   12920     freebsd*)
   12921       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12922         old_striplib="$STRIP --strip-debug"
   12923         striplib="$STRIP --strip-unneeded"
   12924         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12925 printf "%s\n" "yes" >&6; }
   12926       else
   12927         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12928 printf "%s\n" "no" >&6; }
   12929       fi
   12930       ;;
   12931     *)
   12932       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12933 printf "%s\n" "no" >&6; }
   12934       ;;
   12935     esac
   12936   fi
   12937 fi
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950   # Report what library types will actually be built
   12951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12952 printf %s "checking if libtool supports shared libraries... " >&6; }
   12953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12954 printf "%s\n" "$can_build_shared" >&6; }
   12955 
   12956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12957 printf %s "checking whether to build shared libraries... " >&6; }
   12958   test no = "$can_build_shared" && enable_shared=no
   12959 
   12960   # On AIX, shared libraries and static libraries use the same namespace, and
   12961   # are all built from PIC.
   12962   case $host_os in
   12963   aix3*)
   12964     test yes = "$enable_shared" && enable_static=no
   12965     if test -n "$RANLIB"; then
   12966       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12967       postinstall_cmds='$RANLIB $lib'
   12968     fi
   12969     ;;
   12970 
   12971   aix[4-9]*)
   12972     if test ia64 != "$host_cpu"; then
   12973       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12974       yes,aix,yes) ;;			# shared object as lib.so file only
   12975       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12976       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12977       esac
   12978     fi
   12979     ;;
   12980   esac
   12981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12982 printf "%s\n" "$enable_shared" >&6; }
   12983 
   12984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12985 printf %s "checking whether to build static libraries... " >&6; }
   12986   # Make sure either enable_shared or enable_static is yes.
   12987   test yes = "$enable_shared" || enable_static=yes
   12988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12989 printf "%s\n" "$enable_static" >&6; }
   12990 
   12991 
   12992 
   12993 
   12994 fi
   12995 ac_ext=c
   12996 ac_cpp='$CPP $CPPFLAGS'
   12997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13000 
   13001 CC=$lt_save_CC
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017         ac_config_commands="$ac_config_commands libtool"
   13018 
   13019 
   13020 
   13021 
   13022 # Only expand once:
   13023 
   13024 
   13025 
   13026 # Require X.Org macros 1.16 or later for XORG_MEMORY_CHECK_FLAGS
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13039 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13040 if test ${ac_cv_c_undeclared_builtin_options+y}
   13041 then :
   13042   printf %s "(cached) " >&6
   13043 else $as_nop
   13044   ac_save_CFLAGS=$CFLAGS
   13045    ac_cv_c_undeclared_builtin_options='cannot detect'
   13046    for ac_arg in '' -fno-builtin; do
   13047      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13048      # This test program should *not* compile successfully.
   13049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13050 /* end confdefs.h.  */
   13051 
   13052 int
   13053 main (void)
   13054 {
   13055 (void) strchr;
   13056   ;
   13057   return 0;
   13058 }
   13059 _ACEOF
   13060 if ac_fn_c_try_compile "$LINENO"
   13061 then :
   13062 
   13063 else $as_nop
   13064   # This test program should compile successfully.
   13065         # No library function is consistently available on
   13066         # freestanding implementations, so test against a dummy
   13067         # declaration.  Include always-available headers on the
   13068         # off chance that they somehow elicit warnings.
   13069         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13070 /* end confdefs.h.  */
   13071 #include <float.h>
   13072 #include <limits.h>
   13073 #include <stdarg.h>
   13074 #include <stddef.h>
   13075 extern void ac_decl (int, char *);
   13076 
   13077 int
   13078 main (void)
   13079 {
   13080 (void) ac_decl (0, (char *) 0);
   13081   (void) ac_decl;
   13082 
   13083   ;
   13084   return 0;
   13085 }
   13086 _ACEOF
   13087 if ac_fn_c_try_compile "$LINENO"
   13088 then :
   13089   if test x"$ac_arg" = x
   13090 then :
   13091   ac_cv_c_undeclared_builtin_options='none needed'
   13092 else $as_nop
   13093   ac_cv_c_undeclared_builtin_options=$ac_arg
   13094 fi
   13095           break
   13096 fi
   13097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13098 fi
   13099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13100     done
   13101     CFLAGS=$ac_save_CFLAGS
   13102 
   13103 fi
   13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13105 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13106   case $ac_cv_c_undeclared_builtin_options in #(
   13107   'cannot detect') :
   13108     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13110 as_fn_error $? "cannot make $CC report undeclared builtins
   13111 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13112   'none needed') :
   13113     ac_c_undeclared_builtin_options='' ;; #(
   13114   *) :
   13115     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13116 esac
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13123 if test "x$ac_cv_have_decl___clang__" = xyes
   13124 then :
   13125   CLANGCC="yes"
   13126 else $as_nop
   13127   CLANGCC="no"
   13128 fi
   13129 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13130 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13131 then :
   13132   INTELCC="yes"
   13133 else $as_nop
   13134   INTELCC="no"
   13135 fi
   13136 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13137 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13138 then :
   13139   SUNCC="yes"
   13140 else $as_nop
   13141   SUNCC="no"
   13142 fi
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13152 	if test -n "$ac_tool_prefix"; then
   13153   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13156 printf %s "checking for $ac_word... " >&6; }
   13157 if test ${ac_cv_path_PKG_CONFIG+y}
   13158 then :
   13159   printf %s "(cached) " >&6
   13160 else $as_nop
   13161   case $PKG_CONFIG in
   13162   [\\/]* | ?:[\\/]*)
   13163   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13164   ;;
   13165   *)
   13166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13167 for as_dir in $PATH
   13168 do
   13169   IFS=$as_save_IFS
   13170   case $as_dir in #(((
   13171     '') as_dir=./ ;;
   13172     */) ;;
   13173     *) as_dir=$as_dir/ ;;
   13174   esac
   13175     for ac_exec_ext in '' $ac_executable_extensions; do
   13176   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13177     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13178     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13179     break 2
   13180   fi
   13181 done
   13182   done
   13183 IFS=$as_save_IFS
   13184 
   13185   ;;
   13186 esac
   13187 fi
   13188 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13189 if test -n "$PKG_CONFIG"; then
   13190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13191 printf "%s\n" "$PKG_CONFIG" >&6; }
   13192 else
   13193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13194 printf "%s\n" "no" >&6; }
   13195 fi
   13196 
   13197 
   13198 fi
   13199 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13200   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13201   # Extract the first word of "pkg-config", so it can be a program name with args.
   13202 set dummy pkg-config; ac_word=$2
   13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13204 printf %s "checking for $ac_word... " >&6; }
   13205 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13206 then :
   13207   printf %s "(cached) " >&6
   13208 else $as_nop
   13209   case $ac_pt_PKG_CONFIG in
   13210   [\\/]* | ?:[\\/]*)
   13211   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13212   ;;
   13213   *)
   13214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13215 for as_dir in $PATH
   13216 do
   13217   IFS=$as_save_IFS
   13218   case $as_dir in #(((
   13219     '') as_dir=./ ;;
   13220     */) ;;
   13221     *) as_dir=$as_dir/ ;;
   13222   esac
   13223     for ac_exec_ext in '' $ac_executable_extensions; do
   13224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13225     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13227     break 2
   13228   fi
   13229 done
   13230   done
   13231 IFS=$as_save_IFS
   13232 
   13233   ;;
   13234 esac
   13235 fi
   13236 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13237 if test -n "$ac_pt_PKG_CONFIG"; then
   13238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13239 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13240 else
   13241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13242 printf "%s\n" "no" >&6; }
   13243 fi
   13244 
   13245   if test "x$ac_pt_PKG_CONFIG" = x; then
   13246     PKG_CONFIG=""
   13247   else
   13248     case $cross_compiling:$ac_tool_warned in
   13249 yes:)
   13250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13251 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13252 ac_tool_warned=yes ;;
   13253 esac
   13254     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13255   fi
   13256 else
   13257   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13258 fi
   13259 
   13260 fi
   13261 if test -n "$PKG_CONFIG"; then
   13262 	_pkg_min_version=0.9.0
   13263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13264 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13265 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13267 printf "%s\n" "yes" >&6; }
   13268 	else
   13269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13270 printf "%s\n" "no" >&6; }
   13271 		PKG_CONFIG=""
   13272 	fi
   13273 fi
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 # Check whether --enable-selective-werror was given.
   13280 if test ${enable_selective_werror+y}
   13281 then :
   13282   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13283 else $as_nop
   13284   SELECTIVE_WERROR=yes
   13285 fi
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13292 if test "x$SUNCC" = "xyes"; then
   13293     BASE_CFLAGS="-v"
   13294 else
   13295     BASE_CFLAGS=""
   13296 fi
   13297 
   13298 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 xorg_testset_save_CFLAGS="$CFLAGS"
   13313 
   13314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13319 then :
   13320   printf %s "(cached) " >&6
   13321 else $as_nop
   13322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13323 /* end confdefs.h.  */
   13324 int i;
   13325 _ACEOF
   13326 if ac_fn_c_try_compile "$LINENO"
   13327 then :
   13328   xorg_cv_cc_flag_unknown_warning_option=yes
   13329 else $as_nop
   13330   xorg_cv_cc_flag_unknown_warning_option=no
   13331 fi
   13332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13333 fi
   13334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13337 	CFLAGS="$xorg_testset_save_CFLAGS"
   13338 fi
   13339 
   13340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13343 	fi
   13344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13348 then :
   13349   printf %s "(cached) " >&6
   13350 else $as_nop
   13351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13352 /* end confdefs.h.  */
   13353 int i;
   13354 _ACEOF
   13355 if ac_fn_c_try_compile "$LINENO"
   13356 then :
   13357   xorg_cv_cc_flag_unused_command_line_argument=yes
   13358 else $as_nop
   13359   xorg_cv_cc_flag_unused_command_line_argument=no
   13360 fi
   13361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13362 fi
   13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13366 	CFLAGS="$xorg_testset_save_CFLAGS"
   13367 fi
   13368 
   13369 found="no"
   13370 
   13371 	if test $found = "no" ; then
   13372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13374 		fi
   13375 
   13376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13378 		fi
   13379 
   13380 		CFLAGS="$CFLAGS -Wall"
   13381 
   13382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13383 printf %s "checking if $CC supports -Wall... " >&6; }
   13384 		cacheid=xorg_cv_cc_flag__Wall
   13385 		if eval test \${$cacheid+y}
   13386 then :
   13387   printf %s "(cached) " >&6
   13388 else $as_nop
   13389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13390 /* end confdefs.h.  */
   13391 int i;
   13392 int
   13393 main (void)
   13394 {
   13395 
   13396   ;
   13397   return 0;
   13398 }
   13399 _ACEOF
   13400 if ac_fn_c_try_link "$LINENO"
   13401 then :
   13402   eval $cacheid=yes
   13403 else $as_nop
   13404   eval $cacheid=no
   13405 fi
   13406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13407     conftest$ac_exeext conftest.$ac_ext
   13408 fi
   13409 
   13410 
   13411 		CFLAGS="$xorg_testset_save_CFLAGS"
   13412 
   13413 		eval supported=\$$cacheid
   13414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13415 printf "%s\n" "$supported" >&6; }
   13416 		if test "$supported" = "yes" ; then
   13417 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13418 			found="yes"
   13419 		fi
   13420 	fi
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 xorg_testset_save_CFLAGS="$CFLAGS"
   13437 
   13438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13443 then :
   13444   printf %s "(cached) " >&6
   13445 else $as_nop
   13446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13447 /* end confdefs.h.  */
   13448 int i;
   13449 _ACEOF
   13450 if ac_fn_c_try_compile "$LINENO"
   13451 then :
   13452   xorg_cv_cc_flag_unknown_warning_option=yes
   13453 else $as_nop
   13454   xorg_cv_cc_flag_unknown_warning_option=no
   13455 fi
   13456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13457 fi
   13458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13461 	CFLAGS="$xorg_testset_save_CFLAGS"
   13462 fi
   13463 
   13464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13467 	fi
   13468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13472 then :
   13473   printf %s "(cached) " >&6
   13474 else $as_nop
   13475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13476 /* end confdefs.h.  */
   13477 int i;
   13478 _ACEOF
   13479 if ac_fn_c_try_compile "$LINENO"
   13480 then :
   13481   xorg_cv_cc_flag_unused_command_line_argument=yes
   13482 else $as_nop
   13483   xorg_cv_cc_flag_unused_command_line_argument=no
   13484 fi
   13485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13486 fi
   13487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13490 	CFLAGS="$xorg_testset_save_CFLAGS"
   13491 fi
   13492 
   13493 found="no"
   13494 
   13495 	if test $found = "no" ; then
   13496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13498 		fi
   13499 
   13500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13502 		fi
   13503 
   13504 		CFLAGS="$CFLAGS -Wpointer-arith"
   13505 
   13506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13507 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13508 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13509 		if eval test \${$cacheid+y}
   13510 then :
   13511   printf %s "(cached) " >&6
   13512 else $as_nop
   13513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13514 /* end confdefs.h.  */
   13515 int i;
   13516 int
   13517 main (void)
   13518 {
   13519 
   13520   ;
   13521   return 0;
   13522 }
   13523 _ACEOF
   13524 if ac_fn_c_try_link "$LINENO"
   13525 then :
   13526   eval $cacheid=yes
   13527 else $as_nop
   13528   eval $cacheid=no
   13529 fi
   13530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13531     conftest$ac_exeext conftest.$ac_ext
   13532 fi
   13533 
   13534 
   13535 		CFLAGS="$xorg_testset_save_CFLAGS"
   13536 
   13537 		eval supported=\$$cacheid
   13538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13539 printf "%s\n" "$supported" >&6; }
   13540 		if test "$supported" = "yes" ; then
   13541 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13542 			found="yes"
   13543 		fi
   13544 	fi
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 xorg_testset_save_CFLAGS="$CFLAGS"
   13561 
   13562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13565 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13566 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13567 then :
   13568   printf %s "(cached) " >&6
   13569 else $as_nop
   13570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13571 /* end confdefs.h.  */
   13572 int i;
   13573 _ACEOF
   13574 if ac_fn_c_try_compile "$LINENO"
   13575 then :
   13576   xorg_cv_cc_flag_unknown_warning_option=yes
   13577 else $as_nop
   13578   xorg_cv_cc_flag_unknown_warning_option=no
   13579 fi
   13580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13581 fi
   13582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13583 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13585 	CFLAGS="$xorg_testset_save_CFLAGS"
   13586 fi
   13587 
   13588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13591 	fi
   13592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13596 then :
   13597   printf %s "(cached) " >&6
   13598 else $as_nop
   13599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13600 /* end confdefs.h.  */
   13601 int i;
   13602 _ACEOF
   13603 if ac_fn_c_try_compile "$LINENO"
   13604 then :
   13605   xorg_cv_cc_flag_unused_command_line_argument=yes
   13606 else $as_nop
   13607   xorg_cv_cc_flag_unused_command_line_argument=no
   13608 fi
   13609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13610 fi
   13611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13612 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13614 	CFLAGS="$xorg_testset_save_CFLAGS"
   13615 fi
   13616 
   13617 found="no"
   13618 
   13619 	if test $found = "no" ; then
   13620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13622 		fi
   13623 
   13624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13626 		fi
   13627 
   13628 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13629 
   13630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13631 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13632 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13633 		if eval test \${$cacheid+y}
   13634 then :
   13635   printf %s "(cached) " >&6
   13636 else $as_nop
   13637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13638 /* end confdefs.h.  */
   13639 int i;
   13640 int
   13641 main (void)
   13642 {
   13643 
   13644   ;
   13645   return 0;
   13646 }
   13647 _ACEOF
   13648 if ac_fn_c_try_link "$LINENO"
   13649 then :
   13650   eval $cacheid=yes
   13651 else $as_nop
   13652   eval $cacheid=no
   13653 fi
   13654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13655     conftest$ac_exeext conftest.$ac_ext
   13656 fi
   13657 
   13658 
   13659 		CFLAGS="$xorg_testset_save_CFLAGS"
   13660 
   13661 		eval supported=\$$cacheid
   13662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13663 printf "%s\n" "$supported" >&6; }
   13664 		if test "$supported" = "yes" ; then
   13665 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13666 			found="yes"
   13667 		fi
   13668 	fi
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 xorg_testset_save_CFLAGS="$CFLAGS"
   13685 
   13686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13689 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13690 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13691 then :
   13692   printf %s "(cached) " >&6
   13693 else $as_nop
   13694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13695 /* end confdefs.h.  */
   13696 int i;
   13697 _ACEOF
   13698 if ac_fn_c_try_compile "$LINENO"
   13699 then :
   13700   xorg_cv_cc_flag_unknown_warning_option=yes
   13701 else $as_nop
   13702   xorg_cv_cc_flag_unknown_warning_option=no
   13703 fi
   13704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13705 fi
   13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13707 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13709 	CFLAGS="$xorg_testset_save_CFLAGS"
   13710 fi
   13711 
   13712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13715 	fi
   13716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13717 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13718 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13719 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13720 then :
   13721   printf %s "(cached) " >&6
   13722 else $as_nop
   13723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13724 /* end confdefs.h.  */
   13725 int i;
   13726 _ACEOF
   13727 if ac_fn_c_try_compile "$LINENO"
   13728 then :
   13729   xorg_cv_cc_flag_unused_command_line_argument=yes
   13730 else $as_nop
   13731   xorg_cv_cc_flag_unused_command_line_argument=no
   13732 fi
   13733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13734 fi
   13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13736 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13738 	CFLAGS="$xorg_testset_save_CFLAGS"
   13739 fi
   13740 
   13741 found="no"
   13742 
   13743 	if test $found = "no" ; then
   13744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13746 		fi
   13747 
   13748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13750 		fi
   13751 
   13752 		CFLAGS="$CFLAGS -Wformat=2"
   13753 
   13754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13755 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13756 		cacheid=xorg_cv_cc_flag__Wformat_2
   13757 		if eval test \${$cacheid+y}
   13758 then :
   13759   printf %s "(cached) " >&6
   13760 else $as_nop
   13761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13762 /* end confdefs.h.  */
   13763 int i;
   13764 int
   13765 main (void)
   13766 {
   13767 
   13768   ;
   13769   return 0;
   13770 }
   13771 _ACEOF
   13772 if ac_fn_c_try_link "$LINENO"
   13773 then :
   13774   eval $cacheid=yes
   13775 else $as_nop
   13776   eval $cacheid=no
   13777 fi
   13778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13779     conftest$ac_exeext conftest.$ac_ext
   13780 fi
   13781 
   13782 
   13783 		CFLAGS="$xorg_testset_save_CFLAGS"
   13784 
   13785 		eval supported=\$$cacheid
   13786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13787 printf "%s\n" "$supported" >&6; }
   13788 		if test "$supported" = "yes" ; then
   13789 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13790 			found="yes"
   13791 		fi
   13792 	fi
   13793 
   13794 	if test $found = "no" ; then
   13795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13797 		fi
   13798 
   13799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13801 		fi
   13802 
   13803 		CFLAGS="$CFLAGS -Wformat"
   13804 
   13805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13806 printf %s "checking if $CC supports -Wformat... " >&6; }
   13807 		cacheid=xorg_cv_cc_flag__Wformat
   13808 		if eval test \${$cacheid+y}
   13809 then :
   13810   printf %s "(cached) " >&6
   13811 else $as_nop
   13812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13813 /* end confdefs.h.  */
   13814 int i;
   13815 int
   13816 main (void)
   13817 {
   13818 
   13819   ;
   13820   return 0;
   13821 }
   13822 _ACEOF
   13823 if ac_fn_c_try_link "$LINENO"
   13824 then :
   13825   eval $cacheid=yes
   13826 else $as_nop
   13827   eval $cacheid=no
   13828 fi
   13829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13830     conftest$ac_exeext conftest.$ac_ext
   13831 fi
   13832 
   13833 
   13834 		CFLAGS="$xorg_testset_save_CFLAGS"
   13835 
   13836 		eval supported=\$$cacheid
   13837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13838 printf "%s\n" "$supported" >&6; }
   13839 		if test "$supported" = "yes" ; then
   13840 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13841 			found="yes"
   13842 		fi
   13843 	fi
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 xorg_testset_save_CFLAGS="$CFLAGS"
   13862 
   13863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13868 then :
   13869   printf %s "(cached) " >&6
   13870 else $as_nop
   13871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13872 /* end confdefs.h.  */
   13873 int i;
   13874 _ACEOF
   13875 if ac_fn_c_try_compile "$LINENO"
   13876 then :
   13877   xorg_cv_cc_flag_unknown_warning_option=yes
   13878 else $as_nop
   13879   xorg_cv_cc_flag_unknown_warning_option=no
   13880 fi
   13881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13882 fi
   13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13886 	CFLAGS="$xorg_testset_save_CFLAGS"
   13887 fi
   13888 
   13889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13892 	fi
   13893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13897 then :
   13898   printf %s "(cached) " >&6
   13899 else $as_nop
   13900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13901 /* end confdefs.h.  */
   13902 int i;
   13903 _ACEOF
   13904 if ac_fn_c_try_compile "$LINENO"
   13905 then :
   13906   xorg_cv_cc_flag_unused_command_line_argument=yes
   13907 else $as_nop
   13908   xorg_cv_cc_flag_unused_command_line_argument=no
   13909 fi
   13910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13911 fi
   13912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13913 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13915 	CFLAGS="$xorg_testset_save_CFLAGS"
   13916 fi
   13917 
   13918 found="no"
   13919 
   13920 	if test $found = "no" ; then
   13921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13923 		fi
   13924 
   13925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13927 		fi
   13928 
   13929 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13930 
   13931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13932 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13933 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13934 		if eval test \${$cacheid+y}
   13935 then :
   13936   printf %s "(cached) " >&6
   13937 else $as_nop
   13938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13939 /* end confdefs.h.  */
   13940 int i;
   13941 int
   13942 main (void)
   13943 {
   13944 
   13945   ;
   13946   return 0;
   13947 }
   13948 _ACEOF
   13949 if ac_fn_c_try_link "$LINENO"
   13950 then :
   13951   eval $cacheid=yes
   13952 else $as_nop
   13953   eval $cacheid=no
   13954 fi
   13955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13956     conftest$ac_exeext conftest.$ac_ext
   13957 fi
   13958 
   13959 
   13960 		CFLAGS="$xorg_testset_save_CFLAGS"
   13961 
   13962 		eval supported=\$$cacheid
   13963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13964 printf "%s\n" "$supported" >&6; }
   13965 		if test "$supported" = "yes" ; then
   13966 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13967 			found="yes"
   13968 		fi
   13969 	fi
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 xorg_testset_save_CFLAGS="$CFLAGS"
   13986 
   13987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13992 then :
   13993   printf %s "(cached) " >&6
   13994 else $as_nop
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 _ACEOF
   13999 if ac_fn_c_try_compile "$LINENO"
   14000 then :
   14001   xorg_cv_cc_flag_unknown_warning_option=yes
   14002 else $as_nop
   14003   xorg_cv_cc_flag_unknown_warning_option=no
   14004 fi
   14005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14006 fi
   14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14008 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14010 	CFLAGS="$xorg_testset_save_CFLAGS"
   14011 fi
   14012 
   14013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14016 	fi
   14017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14019 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14020 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14021 then :
   14022   printf %s "(cached) " >&6
   14023 else $as_nop
   14024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14025 /* end confdefs.h.  */
   14026 int i;
   14027 _ACEOF
   14028 if ac_fn_c_try_compile "$LINENO"
   14029 then :
   14030   xorg_cv_cc_flag_unused_command_line_argument=yes
   14031 else $as_nop
   14032   xorg_cv_cc_flag_unused_command_line_argument=no
   14033 fi
   14034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14035 fi
   14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14037 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14039 	CFLAGS="$xorg_testset_save_CFLAGS"
   14040 fi
   14041 
   14042 found="no"
   14043 
   14044 	if test $found = "no" ; then
   14045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14047 		fi
   14048 
   14049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14051 		fi
   14052 
   14053 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14054 
   14055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14056 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14057 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14058 		if eval test \${$cacheid+y}
   14059 then :
   14060   printf %s "(cached) " >&6
   14061 else $as_nop
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 int i;
   14065 int
   14066 main (void)
   14067 {
   14068 
   14069   ;
   14070   return 0;
   14071 }
   14072 _ACEOF
   14073 if ac_fn_c_try_link "$LINENO"
   14074 then :
   14075   eval $cacheid=yes
   14076 else $as_nop
   14077   eval $cacheid=no
   14078 fi
   14079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14080     conftest$ac_exeext conftest.$ac_ext
   14081 fi
   14082 
   14083 
   14084 		CFLAGS="$xorg_testset_save_CFLAGS"
   14085 
   14086 		eval supported=\$$cacheid
   14087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14088 printf "%s\n" "$supported" >&6; }
   14089 		if test "$supported" = "yes" ; then
   14090 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14091 			found="yes"
   14092 		fi
   14093 	fi
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 xorg_testset_save_CFLAGS="$CFLAGS"
   14110 
   14111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14114 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14115 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14116 then :
   14117   printf %s "(cached) " >&6
   14118 else $as_nop
   14119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14120 /* end confdefs.h.  */
   14121 int i;
   14122 _ACEOF
   14123 if ac_fn_c_try_compile "$LINENO"
   14124 then :
   14125   xorg_cv_cc_flag_unknown_warning_option=yes
   14126 else $as_nop
   14127   xorg_cv_cc_flag_unknown_warning_option=no
   14128 fi
   14129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14130 fi
   14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14132 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14134 	CFLAGS="$xorg_testset_save_CFLAGS"
   14135 fi
   14136 
   14137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14140 	fi
   14141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14143 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14144 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14145 then :
   14146   printf %s "(cached) " >&6
   14147 else $as_nop
   14148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14149 /* end confdefs.h.  */
   14150 int i;
   14151 _ACEOF
   14152 if ac_fn_c_try_compile "$LINENO"
   14153 then :
   14154   xorg_cv_cc_flag_unused_command_line_argument=yes
   14155 else $as_nop
   14156   xorg_cv_cc_flag_unused_command_line_argument=no
   14157 fi
   14158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14159 fi
   14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14161 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14163 	CFLAGS="$xorg_testset_save_CFLAGS"
   14164 fi
   14165 
   14166 found="no"
   14167 
   14168 	if test $found = "no" ; then
   14169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14171 		fi
   14172 
   14173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14175 		fi
   14176 
   14177 		CFLAGS="$CFLAGS -Wnested-externs"
   14178 
   14179 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14180 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14181 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14182 		if eval test \${$cacheid+y}
   14183 then :
   14184   printf %s "(cached) " >&6
   14185 else $as_nop
   14186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14187 /* end confdefs.h.  */
   14188 int i;
   14189 int
   14190 main (void)
   14191 {
   14192 
   14193   ;
   14194   return 0;
   14195 }
   14196 _ACEOF
   14197 if ac_fn_c_try_link "$LINENO"
   14198 then :
   14199   eval $cacheid=yes
   14200 else $as_nop
   14201   eval $cacheid=no
   14202 fi
   14203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14204     conftest$ac_exeext conftest.$ac_ext
   14205 fi
   14206 
   14207 
   14208 		CFLAGS="$xorg_testset_save_CFLAGS"
   14209 
   14210 		eval supported=\$$cacheid
   14211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14212 printf "%s\n" "$supported" >&6; }
   14213 		if test "$supported" = "yes" ; then
   14214 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14215 			found="yes"
   14216 		fi
   14217 	fi
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 xorg_testset_save_CFLAGS="$CFLAGS"
   14234 
   14235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14238 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14239 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14240 then :
   14241   printf %s "(cached) " >&6
   14242 else $as_nop
   14243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14244 /* end confdefs.h.  */
   14245 int i;
   14246 _ACEOF
   14247 if ac_fn_c_try_compile "$LINENO"
   14248 then :
   14249   xorg_cv_cc_flag_unknown_warning_option=yes
   14250 else $as_nop
   14251   xorg_cv_cc_flag_unknown_warning_option=no
   14252 fi
   14253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14254 fi
   14255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14256 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14258 	CFLAGS="$xorg_testset_save_CFLAGS"
   14259 fi
   14260 
   14261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14264 	fi
   14265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14267 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14268 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14269 then :
   14270   printf %s "(cached) " >&6
   14271 else $as_nop
   14272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14273 /* end confdefs.h.  */
   14274 int i;
   14275 _ACEOF
   14276 if ac_fn_c_try_compile "$LINENO"
   14277 then :
   14278   xorg_cv_cc_flag_unused_command_line_argument=yes
   14279 else $as_nop
   14280   xorg_cv_cc_flag_unused_command_line_argument=no
   14281 fi
   14282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14283 fi
   14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14287 	CFLAGS="$xorg_testset_save_CFLAGS"
   14288 fi
   14289 
   14290 found="no"
   14291 
   14292 	if test $found = "no" ; then
   14293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14295 		fi
   14296 
   14297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14299 		fi
   14300 
   14301 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14302 
   14303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14304 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14305 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14306 		if eval test \${$cacheid+y}
   14307 then :
   14308   printf %s "(cached) " >&6
   14309 else $as_nop
   14310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14311 /* end confdefs.h.  */
   14312 int i;
   14313 int
   14314 main (void)
   14315 {
   14316 
   14317   ;
   14318   return 0;
   14319 }
   14320 _ACEOF
   14321 if ac_fn_c_try_link "$LINENO"
   14322 then :
   14323   eval $cacheid=yes
   14324 else $as_nop
   14325   eval $cacheid=no
   14326 fi
   14327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14328     conftest$ac_exeext conftest.$ac_ext
   14329 fi
   14330 
   14331 
   14332 		CFLAGS="$xorg_testset_save_CFLAGS"
   14333 
   14334 		eval supported=\$$cacheid
   14335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14336 printf "%s\n" "$supported" >&6; }
   14337 		if test "$supported" = "yes" ; then
   14338 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14339 			found="yes"
   14340 		fi
   14341 	fi
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 xorg_testset_save_CFLAGS="$CFLAGS"
   14358 
   14359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14364 then :
   14365   printf %s "(cached) " >&6
   14366 else $as_nop
   14367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14368 /* end confdefs.h.  */
   14369 int i;
   14370 _ACEOF
   14371 if ac_fn_c_try_compile "$LINENO"
   14372 then :
   14373   xorg_cv_cc_flag_unknown_warning_option=yes
   14374 else $as_nop
   14375   xorg_cv_cc_flag_unknown_warning_option=no
   14376 fi
   14377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14378 fi
   14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14380 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14382 	CFLAGS="$xorg_testset_save_CFLAGS"
   14383 fi
   14384 
   14385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14388 	fi
   14389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14393 then :
   14394   printf %s "(cached) " >&6
   14395 else $as_nop
   14396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14397 /* end confdefs.h.  */
   14398 int i;
   14399 _ACEOF
   14400 if ac_fn_c_try_compile "$LINENO"
   14401 then :
   14402   xorg_cv_cc_flag_unused_command_line_argument=yes
   14403 else $as_nop
   14404   xorg_cv_cc_flag_unused_command_line_argument=no
   14405 fi
   14406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14407 fi
   14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14411 	CFLAGS="$xorg_testset_save_CFLAGS"
   14412 fi
   14413 
   14414 found="no"
   14415 
   14416 	if test $found = "no" ; then
   14417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14419 		fi
   14420 
   14421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14423 		fi
   14424 
   14425 		CFLAGS="$CFLAGS -Wold-style-definition"
   14426 
   14427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14428 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14429 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14430 		if eval test \${$cacheid+y}
   14431 then :
   14432   printf %s "(cached) " >&6
   14433 else $as_nop
   14434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14435 /* end confdefs.h.  */
   14436 int i;
   14437 int
   14438 main (void)
   14439 {
   14440 
   14441   ;
   14442   return 0;
   14443 }
   14444 _ACEOF
   14445 if ac_fn_c_try_link "$LINENO"
   14446 then :
   14447   eval $cacheid=yes
   14448 else $as_nop
   14449   eval $cacheid=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14452     conftest$ac_exeext conftest.$ac_ext
   14453 fi
   14454 
   14455 
   14456 		CFLAGS="$xorg_testset_save_CFLAGS"
   14457 
   14458 		eval supported=\$$cacheid
   14459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14460 printf "%s\n" "$supported" >&6; }
   14461 		if test "$supported" = "yes" ; then
   14462 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14463 			found="yes"
   14464 		fi
   14465 	fi
   14466 
   14467 	if test $found = "no" ; then
   14468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14470 		fi
   14471 
   14472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14474 		fi
   14475 
   14476 		CFLAGS="$CFLAGS -fd"
   14477 
   14478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14479 printf %s "checking if $CC supports -fd... " >&6; }
   14480 		cacheid=xorg_cv_cc_flag__fd
   14481 		if eval test \${$cacheid+y}
   14482 then :
   14483   printf %s "(cached) " >&6
   14484 else $as_nop
   14485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14486 /* end confdefs.h.  */
   14487 int i;
   14488 int
   14489 main (void)
   14490 {
   14491 
   14492   ;
   14493   return 0;
   14494 }
   14495 _ACEOF
   14496 if ac_fn_c_try_link "$LINENO"
   14497 then :
   14498   eval $cacheid=yes
   14499 else $as_nop
   14500   eval $cacheid=no
   14501 fi
   14502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14503     conftest$ac_exeext conftest.$ac_ext
   14504 fi
   14505 
   14506 
   14507 		CFLAGS="$xorg_testset_save_CFLAGS"
   14508 
   14509 		eval supported=\$$cacheid
   14510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14511 printf "%s\n" "$supported" >&6; }
   14512 		if test "$supported" = "yes" ; then
   14513 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14514 			found="yes"
   14515 		fi
   14516 	fi
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 xorg_testset_save_CFLAGS="$CFLAGS"
   14533 
   14534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14536 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14537 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14538 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14539 then :
   14540   printf %s "(cached) " >&6
   14541 else $as_nop
   14542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14543 /* end confdefs.h.  */
   14544 int i;
   14545 _ACEOF
   14546 if ac_fn_c_try_compile "$LINENO"
   14547 then :
   14548   xorg_cv_cc_flag_unknown_warning_option=yes
   14549 else $as_nop
   14550   xorg_cv_cc_flag_unknown_warning_option=no
   14551 fi
   14552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14553 fi
   14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14555 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14557 	CFLAGS="$xorg_testset_save_CFLAGS"
   14558 fi
   14559 
   14560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14563 	fi
   14564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14568 then :
   14569   printf %s "(cached) " >&6
   14570 else $as_nop
   14571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14572 /* end confdefs.h.  */
   14573 int i;
   14574 _ACEOF
   14575 if ac_fn_c_try_compile "$LINENO"
   14576 then :
   14577   xorg_cv_cc_flag_unused_command_line_argument=yes
   14578 else $as_nop
   14579   xorg_cv_cc_flag_unused_command_line_argument=no
   14580 fi
   14581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14582 fi
   14583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14584 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14586 	CFLAGS="$xorg_testset_save_CFLAGS"
   14587 fi
   14588 
   14589 found="no"
   14590 
   14591 	if test $found = "no" ; then
   14592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14594 		fi
   14595 
   14596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14598 		fi
   14599 
   14600 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14601 
   14602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14603 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14604 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14605 		if eval test \${$cacheid+y}
   14606 then :
   14607   printf %s "(cached) " >&6
   14608 else $as_nop
   14609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14610 /* end confdefs.h.  */
   14611 int i;
   14612 int
   14613 main (void)
   14614 {
   14615 
   14616   ;
   14617   return 0;
   14618 }
   14619 _ACEOF
   14620 if ac_fn_c_try_link "$LINENO"
   14621 then :
   14622   eval $cacheid=yes
   14623 else $as_nop
   14624   eval $cacheid=no
   14625 fi
   14626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14627     conftest$ac_exeext conftest.$ac_ext
   14628 fi
   14629 
   14630 
   14631 		CFLAGS="$xorg_testset_save_CFLAGS"
   14632 
   14633 		eval supported=\$$cacheid
   14634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14635 printf "%s\n" "$supported" >&6; }
   14636 		if test "$supported" = "yes" ; then
   14637 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14638 			found="yes"
   14639 		fi
   14640 	fi
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 # This chunk adds additional warnings that could catch undesired effects.
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 xorg_testset_save_CFLAGS="$CFLAGS"
   14661 
   14662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14667 then :
   14668   printf %s "(cached) " >&6
   14669 else $as_nop
   14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 _ACEOF
   14674 if ac_fn_c_try_compile "$LINENO"
   14675 then :
   14676   xorg_cv_cc_flag_unknown_warning_option=yes
   14677 else $as_nop
   14678   xorg_cv_cc_flag_unknown_warning_option=no
   14679 fi
   14680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14681 fi
   14682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14683 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14685 	CFLAGS="$xorg_testset_save_CFLAGS"
   14686 fi
   14687 
   14688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14691 	fi
   14692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14696 then :
   14697   printf %s "(cached) " >&6
   14698 else $as_nop
   14699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14700 /* end confdefs.h.  */
   14701 int i;
   14702 _ACEOF
   14703 if ac_fn_c_try_compile "$LINENO"
   14704 then :
   14705   xorg_cv_cc_flag_unused_command_line_argument=yes
   14706 else $as_nop
   14707   xorg_cv_cc_flag_unused_command_line_argument=no
   14708 fi
   14709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14710 fi
   14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14712 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14714 	CFLAGS="$xorg_testset_save_CFLAGS"
   14715 fi
   14716 
   14717 found="no"
   14718 
   14719 	if test $found = "no" ; then
   14720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14722 		fi
   14723 
   14724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14726 		fi
   14727 
   14728 		CFLAGS="$CFLAGS -Wunused"
   14729 
   14730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14731 printf %s "checking if $CC supports -Wunused... " >&6; }
   14732 		cacheid=xorg_cv_cc_flag__Wunused
   14733 		if eval test \${$cacheid+y}
   14734 then :
   14735   printf %s "(cached) " >&6
   14736 else $as_nop
   14737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14738 /* end confdefs.h.  */
   14739 int i;
   14740 int
   14741 main (void)
   14742 {
   14743 
   14744   ;
   14745   return 0;
   14746 }
   14747 _ACEOF
   14748 if ac_fn_c_try_link "$LINENO"
   14749 then :
   14750   eval $cacheid=yes
   14751 else $as_nop
   14752   eval $cacheid=no
   14753 fi
   14754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14755     conftest$ac_exeext conftest.$ac_ext
   14756 fi
   14757 
   14758 
   14759 		CFLAGS="$xorg_testset_save_CFLAGS"
   14760 
   14761 		eval supported=\$$cacheid
   14762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14763 printf "%s\n" "$supported" >&6; }
   14764 		if test "$supported" = "yes" ; then
   14765 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14766 			found="yes"
   14767 		fi
   14768 	fi
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 xorg_testset_save_CFLAGS="$CFLAGS"
   14785 
   14786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14791 then :
   14792   printf %s "(cached) " >&6
   14793 else $as_nop
   14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 _ACEOF
   14798 if ac_fn_c_try_compile "$LINENO"
   14799 then :
   14800   xorg_cv_cc_flag_unknown_warning_option=yes
   14801 else $as_nop
   14802   xorg_cv_cc_flag_unknown_warning_option=no
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14805 fi
   14806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14807 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14809 	CFLAGS="$xorg_testset_save_CFLAGS"
   14810 fi
   14811 
   14812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14815 	fi
   14816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14818 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14819 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14820 then :
   14821   printf %s "(cached) " >&6
   14822 else $as_nop
   14823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14824 /* end confdefs.h.  */
   14825 int i;
   14826 _ACEOF
   14827 if ac_fn_c_try_compile "$LINENO"
   14828 then :
   14829   xorg_cv_cc_flag_unused_command_line_argument=yes
   14830 else $as_nop
   14831   xorg_cv_cc_flag_unused_command_line_argument=no
   14832 fi
   14833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14834 fi
   14835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14836 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14838 	CFLAGS="$xorg_testset_save_CFLAGS"
   14839 fi
   14840 
   14841 found="no"
   14842 
   14843 	if test $found = "no" ; then
   14844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14846 		fi
   14847 
   14848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14850 		fi
   14851 
   14852 		CFLAGS="$CFLAGS -Wuninitialized"
   14853 
   14854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14855 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14856 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14857 		if eval test \${$cacheid+y}
   14858 then :
   14859   printf %s "(cached) " >&6
   14860 else $as_nop
   14861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14862 /* end confdefs.h.  */
   14863 int i;
   14864 int
   14865 main (void)
   14866 {
   14867 
   14868   ;
   14869   return 0;
   14870 }
   14871 _ACEOF
   14872 if ac_fn_c_try_link "$LINENO"
   14873 then :
   14874   eval $cacheid=yes
   14875 else $as_nop
   14876   eval $cacheid=no
   14877 fi
   14878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14879     conftest$ac_exeext conftest.$ac_ext
   14880 fi
   14881 
   14882 
   14883 		CFLAGS="$xorg_testset_save_CFLAGS"
   14884 
   14885 		eval supported=\$$cacheid
   14886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14887 printf "%s\n" "$supported" >&6; }
   14888 		if test "$supported" = "yes" ; then
   14889 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14890 			found="yes"
   14891 		fi
   14892 	fi
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 xorg_testset_save_CFLAGS="$CFLAGS"
   14909 
   14910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14913 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14914 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14915 then :
   14916   printf %s "(cached) " >&6
   14917 else $as_nop
   14918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14919 /* end confdefs.h.  */
   14920 int i;
   14921 _ACEOF
   14922 if ac_fn_c_try_compile "$LINENO"
   14923 then :
   14924   xorg_cv_cc_flag_unknown_warning_option=yes
   14925 else $as_nop
   14926   xorg_cv_cc_flag_unknown_warning_option=no
   14927 fi
   14928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14929 fi
   14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14931 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14933 	CFLAGS="$xorg_testset_save_CFLAGS"
   14934 fi
   14935 
   14936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14939 	fi
   14940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14942 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14943 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14944 then :
   14945   printf %s "(cached) " >&6
   14946 else $as_nop
   14947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14948 /* end confdefs.h.  */
   14949 int i;
   14950 _ACEOF
   14951 if ac_fn_c_try_compile "$LINENO"
   14952 then :
   14953   xorg_cv_cc_flag_unused_command_line_argument=yes
   14954 else $as_nop
   14955   xorg_cv_cc_flag_unused_command_line_argument=no
   14956 fi
   14957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14958 fi
   14959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14960 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14962 	CFLAGS="$xorg_testset_save_CFLAGS"
   14963 fi
   14964 
   14965 found="no"
   14966 
   14967 	if test $found = "no" ; then
   14968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14970 		fi
   14971 
   14972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14974 		fi
   14975 
   14976 		CFLAGS="$CFLAGS -Wshadow"
   14977 
   14978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14979 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14980 		cacheid=xorg_cv_cc_flag__Wshadow
   14981 		if eval test \${$cacheid+y}
   14982 then :
   14983   printf %s "(cached) " >&6
   14984 else $as_nop
   14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14986 /* end confdefs.h.  */
   14987 int i;
   14988 int
   14989 main (void)
   14990 {
   14991 
   14992   ;
   14993   return 0;
   14994 }
   14995 _ACEOF
   14996 if ac_fn_c_try_link "$LINENO"
   14997 then :
   14998   eval $cacheid=yes
   14999 else $as_nop
   15000   eval $cacheid=no
   15001 fi
   15002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15003     conftest$ac_exeext conftest.$ac_ext
   15004 fi
   15005 
   15006 
   15007 		CFLAGS="$xorg_testset_save_CFLAGS"
   15008 
   15009 		eval supported=\$$cacheid
   15010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15011 printf "%s\n" "$supported" >&6; }
   15012 		if test "$supported" = "yes" ; then
   15013 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15014 			found="yes"
   15015 		fi
   15016 	fi
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 xorg_testset_save_CFLAGS="$CFLAGS"
   15033 
   15034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15039 then :
   15040   printf %s "(cached) " >&6
   15041 else $as_nop
   15042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15043 /* end confdefs.h.  */
   15044 int i;
   15045 _ACEOF
   15046 if ac_fn_c_try_compile "$LINENO"
   15047 then :
   15048   xorg_cv_cc_flag_unknown_warning_option=yes
   15049 else $as_nop
   15050   xorg_cv_cc_flag_unknown_warning_option=no
   15051 fi
   15052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15053 fi
   15054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15055 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15057 	CFLAGS="$xorg_testset_save_CFLAGS"
   15058 fi
   15059 
   15060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15063 	fi
   15064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15066 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15067 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15068 then :
   15069   printf %s "(cached) " >&6
   15070 else $as_nop
   15071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15072 /* end confdefs.h.  */
   15073 int i;
   15074 _ACEOF
   15075 if ac_fn_c_try_compile "$LINENO"
   15076 then :
   15077   xorg_cv_cc_flag_unused_command_line_argument=yes
   15078 else $as_nop
   15079   xorg_cv_cc_flag_unused_command_line_argument=no
   15080 fi
   15081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15082 fi
   15083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15084 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15086 	CFLAGS="$xorg_testset_save_CFLAGS"
   15087 fi
   15088 
   15089 found="no"
   15090 
   15091 	if test $found = "no" ; then
   15092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15094 		fi
   15095 
   15096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15098 		fi
   15099 
   15100 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15101 
   15102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15103 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15104 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15105 		if eval test \${$cacheid+y}
   15106 then :
   15107   printf %s "(cached) " >&6
   15108 else $as_nop
   15109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15110 /* end confdefs.h.  */
   15111 int i;
   15112 int
   15113 main (void)
   15114 {
   15115 
   15116   ;
   15117   return 0;
   15118 }
   15119 _ACEOF
   15120 if ac_fn_c_try_link "$LINENO"
   15121 then :
   15122   eval $cacheid=yes
   15123 else $as_nop
   15124   eval $cacheid=no
   15125 fi
   15126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15127     conftest$ac_exeext conftest.$ac_ext
   15128 fi
   15129 
   15130 
   15131 		CFLAGS="$xorg_testset_save_CFLAGS"
   15132 
   15133 		eval supported=\$$cacheid
   15134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15135 printf "%s\n" "$supported" >&6; }
   15136 		if test "$supported" = "yes" ; then
   15137 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15138 			found="yes"
   15139 		fi
   15140 	fi
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 xorg_testset_save_CFLAGS="$CFLAGS"
   15157 
   15158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15161 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15162 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15163 then :
   15164   printf %s "(cached) " >&6
   15165 else $as_nop
   15166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15167 /* end confdefs.h.  */
   15168 int i;
   15169 _ACEOF
   15170 if ac_fn_c_try_compile "$LINENO"
   15171 then :
   15172   xorg_cv_cc_flag_unknown_warning_option=yes
   15173 else $as_nop
   15174   xorg_cv_cc_flag_unknown_warning_option=no
   15175 fi
   15176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15177 fi
   15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15179 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15181 	CFLAGS="$xorg_testset_save_CFLAGS"
   15182 fi
   15183 
   15184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15187 	fi
   15188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15190 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15191 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15192 then :
   15193   printf %s "(cached) " >&6
   15194 else $as_nop
   15195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15196 /* end confdefs.h.  */
   15197 int i;
   15198 _ACEOF
   15199 if ac_fn_c_try_compile "$LINENO"
   15200 then :
   15201   xorg_cv_cc_flag_unused_command_line_argument=yes
   15202 else $as_nop
   15203   xorg_cv_cc_flag_unused_command_line_argument=no
   15204 fi
   15205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15206 fi
   15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15208 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15210 	CFLAGS="$xorg_testset_save_CFLAGS"
   15211 fi
   15212 
   15213 found="no"
   15214 
   15215 	if test $found = "no" ; then
   15216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15218 		fi
   15219 
   15220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15222 		fi
   15223 
   15224 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15225 
   15226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15227 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15228 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15229 		if eval test \${$cacheid+y}
   15230 then :
   15231   printf %s "(cached) " >&6
   15232 else $as_nop
   15233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15234 /* end confdefs.h.  */
   15235 int i;
   15236 int
   15237 main (void)
   15238 {
   15239 
   15240   ;
   15241   return 0;
   15242 }
   15243 _ACEOF
   15244 if ac_fn_c_try_link "$LINENO"
   15245 then :
   15246   eval $cacheid=yes
   15247 else $as_nop
   15248   eval $cacheid=no
   15249 fi
   15250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15251     conftest$ac_exeext conftest.$ac_ext
   15252 fi
   15253 
   15254 
   15255 		CFLAGS="$xorg_testset_save_CFLAGS"
   15256 
   15257 		eval supported=\$$cacheid
   15258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15259 printf "%s\n" "$supported" >&6; }
   15260 		if test "$supported" = "yes" ; then
   15261 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15262 			found="yes"
   15263 		fi
   15264 	fi
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 xorg_testset_save_CFLAGS="$CFLAGS"
   15281 
   15282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15285 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15286 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15287 then :
   15288   printf %s "(cached) " >&6
   15289 else $as_nop
   15290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15291 /* end confdefs.h.  */
   15292 int i;
   15293 _ACEOF
   15294 if ac_fn_c_try_compile "$LINENO"
   15295 then :
   15296   xorg_cv_cc_flag_unknown_warning_option=yes
   15297 else $as_nop
   15298   xorg_cv_cc_flag_unknown_warning_option=no
   15299 fi
   15300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15301 fi
   15302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15303 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15305 	CFLAGS="$xorg_testset_save_CFLAGS"
   15306 fi
   15307 
   15308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15311 	fi
   15312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15314 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15315 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15316 then :
   15317   printf %s "(cached) " >&6
   15318 else $as_nop
   15319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15320 /* end confdefs.h.  */
   15321 int i;
   15322 _ACEOF
   15323 if ac_fn_c_try_compile "$LINENO"
   15324 then :
   15325   xorg_cv_cc_flag_unused_command_line_argument=yes
   15326 else $as_nop
   15327   xorg_cv_cc_flag_unused_command_line_argument=no
   15328 fi
   15329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15330 fi
   15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15332 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15334 	CFLAGS="$xorg_testset_save_CFLAGS"
   15335 fi
   15336 
   15337 found="no"
   15338 
   15339 	if test $found = "no" ; then
   15340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15342 		fi
   15343 
   15344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15346 		fi
   15347 
   15348 		CFLAGS="$CFLAGS -Wredundant-decls"
   15349 
   15350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15351 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15352 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15353 		if eval test \${$cacheid+y}
   15354 then :
   15355   printf %s "(cached) " >&6
   15356 else $as_nop
   15357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15358 /* end confdefs.h.  */
   15359 int i;
   15360 int
   15361 main (void)
   15362 {
   15363 
   15364   ;
   15365   return 0;
   15366 }
   15367 _ACEOF
   15368 if ac_fn_c_try_link "$LINENO"
   15369 then :
   15370   eval $cacheid=yes
   15371 else $as_nop
   15372   eval $cacheid=no
   15373 fi
   15374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15375     conftest$ac_exeext conftest.$ac_ext
   15376 fi
   15377 
   15378 
   15379 		CFLAGS="$xorg_testset_save_CFLAGS"
   15380 
   15381 		eval supported=\$$cacheid
   15382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15383 printf "%s\n" "$supported" >&6; }
   15384 		if test "$supported" = "yes" ; then
   15385 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15386 			found="yes"
   15387 		fi
   15388 	fi
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 xorg_testset_save_CFLAGS="$CFLAGS"
   15405 
   15406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15409 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15410 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15411 then :
   15412   printf %s "(cached) " >&6
   15413 else $as_nop
   15414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15415 /* end confdefs.h.  */
   15416 int i;
   15417 _ACEOF
   15418 if ac_fn_c_try_compile "$LINENO"
   15419 then :
   15420   xorg_cv_cc_flag_unknown_warning_option=yes
   15421 else $as_nop
   15422   xorg_cv_cc_flag_unknown_warning_option=no
   15423 fi
   15424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15425 fi
   15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15427 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15429 	CFLAGS="$xorg_testset_save_CFLAGS"
   15430 fi
   15431 
   15432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15435 	fi
   15436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15437 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15438 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15439 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15440 then :
   15441   printf %s "(cached) " >&6
   15442 else $as_nop
   15443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15444 /* end confdefs.h.  */
   15445 int i;
   15446 _ACEOF
   15447 if ac_fn_c_try_compile "$LINENO"
   15448 then :
   15449   xorg_cv_cc_flag_unused_command_line_argument=yes
   15450 else $as_nop
   15451   xorg_cv_cc_flag_unused_command_line_argument=no
   15452 fi
   15453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15454 fi
   15455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15456 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15458 	CFLAGS="$xorg_testset_save_CFLAGS"
   15459 fi
   15460 
   15461 found="no"
   15462 
   15463 	if test $found = "no" ; then
   15464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15466 		fi
   15467 
   15468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15470 		fi
   15471 
   15472 		CFLAGS="$CFLAGS -Wlogical-op"
   15473 
   15474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15475 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15476 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15477 		if eval test \${$cacheid+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 int
   15485 main (void)
   15486 {
   15487 
   15488   ;
   15489   return 0;
   15490 }
   15491 _ACEOF
   15492 if ac_fn_c_try_link "$LINENO"
   15493 then :
   15494   eval $cacheid=yes
   15495 else $as_nop
   15496   eval $cacheid=no
   15497 fi
   15498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15499     conftest$ac_exeext conftest.$ac_ext
   15500 fi
   15501 
   15502 
   15503 		CFLAGS="$xorg_testset_save_CFLAGS"
   15504 
   15505 		eval supported=\$$cacheid
   15506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15507 printf "%s\n" "$supported" >&6; }
   15508 		if test "$supported" = "yes" ; then
   15509 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15510 			found="yes"
   15511 		fi
   15512 	fi
   15513 
   15514 
   15515 
   15516 # These are currently disabled because they are noisy.  They will be enabled
   15517 # in the future once the codebase is sufficiently modernized to silence
   15518 # them.  For now, I don't want them to drown out the other warnings.
   15519 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15520 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15521 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15522 
   15523 # Turn some warnings into errors, so we don't accidentally get successful builds
   15524 # when there are problems that should be fixed.
   15525 
   15526 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 xorg_testset_save_CFLAGS="$CFLAGS"
   15541 
   15542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15547 then :
   15548   printf %s "(cached) " >&6
   15549 else $as_nop
   15550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15551 /* end confdefs.h.  */
   15552 int i;
   15553 _ACEOF
   15554 if ac_fn_c_try_compile "$LINENO"
   15555 then :
   15556   xorg_cv_cc_flag_unknown_warning_option=yes
   15557 else $as_nop
   15558   xorg_cv_cc_flag_unknown_warning_option=no
   15559 fi
   15560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15561 fi
   15562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15563 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15565 	CFLAGS="$xorg_testset_save_CFLAGS"
   15566 fi
   15567 
   15568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15571 	fi
   15572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15574 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15575 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15576 then :
   15577   printf %s "(cached) " >&6
   15578 else $as_nop
   15579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15580 /* end confdefs.h.  */
   15581 int i;
   15582 _ACEOF
   15583 if ac_fn_c_try_compile "$LINENO"
   15584 then :
   15585   xorg_cv_cc_flag_unused_command_line_argument=yes
   15586 else $as_nop
   15587   xorg_cv_cc_flag_unused_command_line_argument=no
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15590 fi
   15591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15592 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15594 	CFLAGS="$xorg_testset_save_CFLAGS"
   15595 fi
   15596 
   15597 found="no"
   15598 
   15599 	if test $found = "no" ; then
   15600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15602 		fi
   15603 
   15604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15606 		fi
   15607 
   15608 		CFLAGS="$CFLAGS -Werror=implicit"
   15609 
   15610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15611 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15612 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15613 		if eval test \${$cacheid+y}
   15614 then :
   15615   printf %s "(cached) " >&6
   15616 else $as_nop
   15617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15618 /* end confdefs.h.  */
   15619 int i;
   15620 int
   15621 main (void)
   15622 {
   15623 
   15624   ;
   15625   return 0;
   15626 }
   15627 _ACEOF
   15628 if ac_fn_c_try_link "$LINENO"
   15629 then :
   15630   eval $cacheid=yes
   15631 else $as_nop
   15632   eval $cacheid=no
   15633 fi
   15634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15635     conftest$ac_exeext conftest.$ac_ext
   15636 fi
   15637 
   15638 
   15639 		CFLAGS="$xorg_testset_save_CFLAGS"
   15640 
   15641 		eval supported=\$$cacheid
   15642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15643 printf "%s\n" "$supported" >&6; }
   15644 		if test "$supported" = "yes" ; then
   15645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15646 			found="yes"
   15647 		fi
   15648 	fi
   15649 
   15650 	if test $found = "no" ; then
   15651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15653 		fi
   15654 
   15655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15657 		fi
   15658 
   15659 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15660 
   15661 		{ 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
   15662 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15663 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15664 		if eval test \${$cacheid+y}
   15665 then :
   15666   printf %s "(cached) " >&6
   15667 else $as_nop
   15668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15669 /* end confdefs.h.  */
   15670 int i;
   15671 int
   15672 main (void)
   15673 {
   15674 
   15675   ;
   15676   return 0;
   15677 }
   15678 _ACEOF
   15679 if ac_fn_c_try_link "$LINENO"
   15680 then :
   15681   eval $cacheid=yes
   15682 else $as_nop
   15683   eval $cacheid=no
   15684 fi
   15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15686     conftest$ac_exeext conftest.$ac_ext
   15687 fi
   15688 
   15689 
   15690 		CFLAGS="$xorg_testset_save_CFLAGS"
   15691 
   15692 		eval supported=\$$cacheid
   15693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15694 printf "%s\n" "$supported" >&6; }
   15695 		if test "$supported" = "yes" ; then
   15696 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15697 			found="yes"
   15698 		fi
   15699 	fi
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 xorg_testset_save_CFLAGS="$CFLAGS"
   15716 
   15717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15722 then :
   15723   printf %s "(cached) " >&6
   15724 else $as_nop
   15725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15726 /* end confdefs.h.  */
   15727 int i;
   15728 _ACEOF
   15729 if ac_fn_c_try_compile "$LINENO"
   15730 then :
   15731   xorg_cv_cc_flag_unknown_warning_option=yes
   15732 else $as_nop
   15733   xorg_cv_cc_flag_unknown_warning_option=no
   15734 fi
   15735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15736 fi
   15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15740 	CFLAGS="$xorg_testset_save_CFLAGS"
   15741 fi
   15742 
   15743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15746 	fi
   15747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15751 then :
   15752   printf %s "(cached) " >&6
   15753 else $as_nop
   15754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15755 /* end confdefs.h.  */
   15756 int i;
   15757 _ACEOF
   15758 if ac_fn_c_try_compile "$LINENO"
   15759 then :
   15760   xorg_cv_cc_flag_unused_command_line_argument=yes
   15761 else $as_nop
   15762   xorg_cv_cc_flag_unused_command_line_argument=no
   15763 fi
   15764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15765 fi
   15766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15769 	CFLAGS="$xorg_testset_save_CFLAGS"
   15770 fi
   15771 
   15772 found="no"
   15773 
   15774 	if test $found = "no" ; then
   15775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15777 		fi
   15778 
   15779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15781 		fi
   15782 
   15783 		CFLAGS="$CFLAGS -Werror=nonnull"
   15784 
   15785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15786 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15787 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15788 		if eval test \${$cacheid+y}
   15789 then :
   15790   printf %s "(cached) " >&6
   15791 else $as_nop
   15792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15793 /* end confdefs.h.  */
   15794 int i;
   15795 int
   15796 main (void)
   15797 {
   15798 
   15799   ;
   15800   return 0;
   15801 }
   15802 _ACEOF
   15803 if ac_fn_c_try_link "$LINENO"
   15804 then :
   15805   eval $cacheid=yes
   15806 else $as_nop
   15807   eval $cacheid=no
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15810     conftest$ac_exeext conftest.$ac_ext
   15811 fi
   15812 
   15813 
   15814 		CFLAGS="$xorg_testset_save_CFLAGS"
   15815 
   15816 		eval supported=\$$cacheid
   15817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15818 printf "%s\n" "$supported" >&6; }
   15819 		if test "$supported" = "yes" ; then
   15820 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15821 			found="yes"
   15822 		fi
   15823 	fi
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 xorg_testset_save_CFLAGS="$CFLAGS"
   15840 
   15841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15844 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15845 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15846 then :
   15847   printf %s "(cached) " >&6
   15848 else $as_nop
   15849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15850 /* end confdefs.h.  */
   15851 int i;
   15852 _ACEOF
   15853 if ac_fn_c_try_compile "$LINENO"
   15854 then :
   15855   xorg_cv_cc_flag_unknown_warning_option=yes
   15856 else $as_nop
   15857   xorg_cv_cc_flag_unknown_warning_option=no
   15858 fi
   15859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15860 fi
   15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15862 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15864 	CFLAGS="$xorg_testset_save_CFLAGS"
   15865 fi
   15866 
   15867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15870 	fi
   15871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15875 then :
   15876   printf %s "(cached) " >&6
   15877 else $as_nop
   15878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15879 /* end confdefs.h.  */
   15880 int i;
   15881 _ACEOF
   15882 if ac_fn_c_try_compile "$LINENO"
   15883 then :
   15884   xorg_cv_cc_flag_unused_command_line_argument=yes
   15885 else $as_nop
   15886   xorg_cv_cc_flag_unused_command_line_argument=no
   15887 fi
   15888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15889 fi
   15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15891 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15893 	CFLAGS="$xorg_testset_save_CFLAGS"
   15894 fi
   15895 
   15896 found="no"
   15897 
   15898 	if test $found = "no" ; then
   15899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15901 		fi
   15902 
   15903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15905 		fi
   15906 
   15907 		CFLAGS="$CFLAGS -Werror=init-self"
   15908 
   15909 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15910 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15911 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15912 		if eval test \${$cacheid+y}
   15913 then :
   15914   printf %s "(cached) " >&6
   15915 else $as_nop
   15916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15917 /* end confdefs.h.  */
   15918 int i;
   15919 int
   15920 main (void)
   15921 {
   15922 
   15923   ;
   15924   return 0;
   15925 }
   15926 _ACEOF
   15927 if ac_fn_c_try_link "$LINENO"
   15928 then :
   15929   eval $cacheid=yes
   15930 else $as_nop
   15931   eval $cacheid=no
   15932 fi
   15933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15934     conftest$ac_exeext conftest.$ac_ext
   15935 fi
   15936 
   15937 
   15938 		CFLAGS="$xorg_testset_save_CFLAGS"
   15939 
   15940 		eval supported=\$$cacheid
   15941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15942 printf "%s\n" "$supported" >&6; }
   15943 		if test "$supported" = "yes" ; then
   15944 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15945 			found="yes"
   15946 		fi
   15947 	fi
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 xorg_testset_save_CFLAGS="$CFLAGS"
   15964 
   15965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15968 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15969 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15970 then :
   15971   printf %s "(cached) " >&6
   15972 else $as_nop
   15973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15974 /* end confdefs.h.  */
   15975 int i;
   15976 _ACEOF
   15977 if ac_fn_c_try_compile "$LINENO"
   15978 then :
   15979   xorg_cv_cc_flag_unknown_warning_option=yes
   15980 else $as_nop
   15981   xorg_cv_cc_flag_unknown_warning_option=no
   15982 fi
   15983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15984 fi
   15985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15986 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15988 	CFLAGS="$xorg_testset_save_CFLAGS"
   15989 fi
   15990 
   15991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15994 	fi
   15995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15999 then :
   16000   printf %s "(cached) " >&6
   16001 else $as_nop
   16002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16003 /* end confdefs.h.  */
   16004 int i;
   16005 _ACEOF
   16006 if ac_fn_c_try_compile "$LINENO"
   16007 then :
   16008   xorg_cv_cc_flag_unused_command_line_argument=yes
   16009 else $as_nop
   16010   xorg_cv_cc_flag_unused_command_line_argument=no
   16011 fi
   16012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16013 fi
   16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16017 	CFLAGS="$xorg_testset_save_CFLAGS"
   16018 fi
   16019 
   16020 found="no"
   16021 
   16022 	if test $found = "no" ; then
   16023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16025 		fi
   16026 
   16027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16029 		fi
   16030 
   16031 		CFLAGS="$CFLAGS -Werror=main"
   16032 
   16033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16034 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16035 		cacheid=xorg_cv_cc_flag__Werror_main
   16036 		if eval test \${$cacheid+y}
   16037 then :
   16038   printf %s "(cached) " >&6
   16039 else $as_nop
   16040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16041 /* end confdefs.h.  */
   16042 int i;
   16043 int
   16044 main (void)
   16045 {
   16046 
   16047   ;
   16048   return 0;
   16049 }
   16050 _ACEOF
   16051 if ac_fn_c_try_link "$LINENO"
   16052 then :
   16053   eval $cacheid=yes
   16054 else $as_nop
   16055   eval $cacheid=no
   16056 fi
   16057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16058     conftest$ac_exeext conftest.$ac_ext
   16059 fi
   16060 
   16061 
   16062 		CFLAGS="$xorg_testset_save_CFLAGS"
   16063 
   16064 		eval supported=\$$cacheid
   16065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16066 printf "%s\n" "$supported" >&6; }
   16067 		if test "$supported" = "yes" ; then
   16068 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16069 			found="yes"
   16070 		fi
   16071 	fi
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 xorg_testset_save_CFLAGS="$CFLAGS"
   16088 
   16089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16092 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16093 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16094 then :
   16095   printf %s "(cached) " >&6
   16096 else $as_nop
   16097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16098 /* end confdefs.h.  */
   16099 int i;
   16100 _ACEOF
   16101 if ac_fn_c_try_compile "$LINENO"
   16102 then :
   16103   xorg_cv_cc_flag_unknown_warning_option=yes
   16104 else $as_nop
   16105   xorg_cv_cc_flag_unknown_warning_option=no
   16106 fi
   16107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16108 fi
   16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16112 	CFLAGS="$xorg_testset_save_CFLAGS"
   16113 fi
   16114 
   16115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16118 	fi
   16119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16123 then :
   16124   printf %s "(cached) " >&6
   16125 else $as_nop
   16126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16127 /* end confdefs.h.  */
   16128 int i;
   16129 _ACEOF
   16130 if ac_fn_c_try_compile "$LINENO"
   16131 then :
   16132   xorg_cv_cc_flag_unused_command_line_argument=yes
   16133 else $as_nop
   16134   xorg_cv_cc_flag_unused_command_line_argument=no
   16135 fi
   16136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16137 fi
   16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16139 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16141 	CFLAGS="$xorg_testset_save_CFLAGS"
   16142 fi
   16143 
   16144 found="no"
   16145 
   16146 	if test $found = "no" ; then
   16147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16149 		fi
   16150 
   16151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16153 		fi
   16154 
   16155 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16156 
   16157 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16158 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16159 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16160 		if eval test \${$cacheid+y}
   16161 then :
   16162   printf %s "(cached) " >&6
   16163 else $as_nop
   16164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16165 /* end confdefs.h.  */
   16166 int i;
   16167 int
   16168 main (void)
   16169 {
   16170 
   16171   ;
   16172   return 0;
   16173 }
   16174 _ACEOF
   16175 if ac_fn_c_try_link "$LINENO"
   16176 then :
   16177   eval $cacheid=yes
   16178 else $as_nop
   16179   eval $cacheid=no
   16180 fi
   16181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16182     conftest$ac_exeext conftest.$ac_ext
   16183 fi
   16184 
   16185 
   16186 		CFLAGS="$xorg_testset_save_CFLAGS"
   16187 
   16188 		eval supported=\$$cacheid
   16189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16190 printf "%s\n" "$supported" >&6; }
   16191 		if test "$supported" = "yes" ; then
   16192 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16193 			found="yes"
   16194 		fi
   16195 	fi
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 xorg_testset_save_CFLAGS="$CFLAGS"
   16212 
   16213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16218 then :
   16219   printf %s "(cached) " >&6
   16220 else $as_nop
   16221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16222 /* end confdefs.h.  */
   16223 int i;
   16224 _ACEOF
   16225 if ac_fn_c_try_compile "$LINENO"
   16226 then :
   16227   xorg_cv_cc_flag_unknown_warning_option=yes
   16228 else $as_nop
   16229   xorg_cv_cc_flag_unknown_warning_option=no
   16230 fi
   16231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16232 fi
   16233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16234 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16236 	CFLAGS="$xorg_testset_save_CFLAGS"
   16237 fi
   16238 
   16239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16242 	fi
   16243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16247 then :
   16248   printf %s "(cached) " >&6
   16249 else $as_nop
   16250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16251 /* end confdefs.h.  */
   16252 int i;
   16253 _ACEOF
   16254 if ac_fn_c_try_compile "$LINENO"
   16255 then :
   16256   xorg_cv_cc_flag_unused_command_line_argument=yes
   16257 else $as_nop
   16258   xorg_cv_cc_flag_unused_command_line_argument=no
   16259 fi
   16260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16261 fi
   16262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16263 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16265 	CFLAGS="$xorg_testset_save_CFLAGS"
   16266 fi
   16267 
   16268 found="no"
   16269 
   16270 	if test $found = "no" ; then
   16271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16273 		fi
   16274 
   16275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16277 		fi
   16278 
   16279 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16280 
   16281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16282 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16283 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16284 		if eval test \${$cacheid+y}
   16285 then :
   16286   printf %s "(cached) " >&6
   16287 else $as_nop
   16288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16289 /* end confdefs.h.  */
   16290 int i;
   16291 int
   16292 main (void)
   16293 {
   16294 
   16295   ;
   16296   return 0;
   16297 }
   16298 _ACEOF
   16299 if ac_fn_c_try_link "$LINENO"
   16300 then :
   16301   eval $cacheid=yes
   16302 else $as_nop
   16303   eval $cacheid=no
   16304 fi
   16305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16306     conftest$ac_exeext conftest.$ac_ext
   16307 fi
   16308 
   16309 
   16310 		CFLAGS="$xorg_testset_save_CFLAGS"
   16311 
   16312 		eval supported=\$$cacheid
   16313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16314 printf "%s\n" "$supported" >&6; }
   16315 		if test "$supported" = "yes" ; then
   16316 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16317 			found="yes"
   16318 		fi
   16319 	fi
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 xorg_testset_save_CFLAGS="$CFLAGS"
   16336 
   16337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16340 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16341 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16342 then :
   16343   printf %s "(cached) " >&6
   16344 else $as_nop
   16345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16346 /* end confdefs.h.  */
   16347 int i;
   16348 _ACEOF
   16349 if ac_fn_c_try_compile "$LINENO"
   16350 then :
   16351   xorg_cv_cc_flag_unknown_warning_option=yes
   16352 else $as_nop
   16353   xorg_cv_cc_flag_unknown_warning_option=no
   16354 fi
   16355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16356 fi
   16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16358 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16360 	CFLAGS="$xorg_testset_save_CFLAGS"
   16361 fi
   16362 
   16363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16366 	fi
   16367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16369 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16370 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16371 then :
   16372   printf %s "(cached) " >&6
   16373 else $as_nop
   16374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16375 /* end confdefs.h.  */
   16376 int i;
   16377 _ACEOF
   16378 if ac_fn_c_try_compile "$LINENO"
   16379 then :
   16380   xorg_cv_cc_flag_unused_command_line_argument=yes
   16381 else $as_nop
   16382   xorg_cv_cc_flag_unused_command_line_argument=no
   16383 fi
   16384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16385 fi
   16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16389 	CFLAGS="$xorg_testset_save_CFLAGS"
   16390 fi
   16391 
   16392 found="no"
   16393 
   16394 	if test $found = "no" ; then
   16395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16397 		fi
   16398 
   16399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16401 		fi
   16402 
   16403 		CFLAGS="$CFLAGS -Werror=return-type"
   16404 
   16405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16406 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16407 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16408 		if eval test \${$cacheid+y}
   16409 then :
   16410   printf %s "(cached) " >&6
   16411 else $as_nop
   16412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16413 /* end confdefs.h.  */
   16414 int i;
   16415 int
   16416 main (void)
   16417 {
   16418 
   16419   ;
   16420   return 0;
   16421 }
   16422 _ACEOF
   16423 if ac_fn_c_try_link "$LINENO"
   16424 then :
   16425   eval $cacheid=yes
   16426 else $as_nop
   16427   eval $cacheid=no
   16428 fi
   16429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16430     conftest$ac_exeext conftest.$ac_ext
   16431 fi
   16432 
   16433 
   16434 		CFLAGS="$xorg_testset_save_CFLAGS"
   16435 
   16436 		eval supported=\$$cacheid
   16437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16438 printf "%s\n" "$supported" >&6; }
   16439 		if test "$supported" = "yes" ; then
   16440 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16441 			found="yes"
   16442 		fi
   16443 	fi
   16444 
   16445 	if test $found = "no" ; then
   16446 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16448 		fi
   16449 
   16450 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16452 		fi
   16453 
   16454 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16455 
   16456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16457 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16458 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16459 		if eval test \${$cacheid+y}
   16460 then :
   16461   printf %s "(cached) " >&6
   16462 else $as_nop
   16463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16464 /* end confdefs.h.  */
   16465 int i;
   16466 int
   16467 main (void)
   16468 {
   16469 
   16470   ;
   16471   return 0;
   16472 }
   16473 _ACEOF
   16474 if ac_fn_c_try_link "$LINENO"
   16475 then :
   16476   eval $cacheid=yes
   16477 else $as_nop
   16478   eval $cacheid=no
   16479 fi
   16480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16481     conftest$ac_exeext conftest.$ac_ext
   16482 fi
   16483 
   16484 
   16485 		CFLAGS="$xorg_testset_save_CFLAGS"
   16486 
   16487 		eval supported=\$$cacheid
   16488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16489 printf "%s\n" "$supported" >&6; }
   16490 		if test "$supported" = "yes" ; then
   16491 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16492 			found="yes"
   16493 		fi
   16494 	fi
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 xorg_testset_save_CFLAGS="$CFLAGS"
   16511 
   16512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16515 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16516 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16517 then :
   16518   printf %s "(cached) " >&6
   16519 else $as_nop
   16520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16521 /* end confdefs.h.  */
   16522 int i;
   16523 _ACEOF
   16524 if ac_fn_c_try_compile "$LINENO"
   16525 then :
   16526   xorg_cv_cc_flag_unknown_warning_option=yes
   16527 else $as_nop
   16528   xorg_cv_cc_flag_unknown_warning_option=no
   16529 fi
   16530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16531 fi
   16532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16533 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16535 	CFLAGS="$xorg_testset_save_CFLAGS"
   16536 fi
   16537 
   16538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16541 	fi
   16542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16544 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16545 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16546 then :
   16547   printf %s "(cached) " >&6
   16548 else $as_nop
   16549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16550 /* end confdefs.h.  */
   16551 int i;
   16552 _ACEOF
   16553 if ac_fn_c_try_compile "$LINENO"
   16554 then :
   16555   xorg_cv_cc_flag_unused_command_line_argument=yes
   16556 else $as_nop
   16557   xorg_cv_cc_flag_unused_command_line_argument=no
   16558 fi
   16559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16560 fi
   16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16564 	CFLAGS="$xorg_testset_save_CFLAGS"
   16565 fi
   16566 
   16567 found="no"
   16568 
   16569 	if test $found = "no" ; then
   16570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16572 		fi
   16573 
   16574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16576 		fi
   16577 
   16578 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16579 
   16580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16581 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16582 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16583 		if eval test \${$cacheid+y}
   16584 then :
   16585   printf %s "(cached) " >&6
   16586 else $as_nop
   16587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16588 /* end confdefs.h.  */
   16589 int i;
   16590 int
   16591 main (void)
   16592 {
   16593 
   16594   ;
   16595   return 0;
   16596 }
   16597 _ACEOF
   16598 if ac_fn_c_try_link "$LINENO"
   16599 then :
   16600   eval $cacheid=yes
   16601 else $as_nop
   16602   eval $cacheid=no
   16603 fi
   16604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16605     conftest$ac_exeext conftest.$ac_ext
   16606 fi
   16607 
   16608 
   16609 		CFLAGS="$xorg_testset_save_CFLAGS"
   16610 
   16611 		eval supported=\$$cacheid
   16612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16613 printf "%s\n" "$supported" >&6; }
   16614 		if test "$supported" = "yes" ; then
   16615 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16616 			found="yes"
   16617 		fi
   16618 	fi
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 xorg_testset_save_CFLAGS="$CFLAGS"
   16635 
   16636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16639 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16640 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16641 then :
   16642   printf %s "(cached) " >&6
   16643 else $as_nop
   16644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16645 /* end confdefs.h.  */
   16646 int i;
   16647 _ACEOF
   16648 if ac_fn_c_try_compile "$LINENO"
   16649 then :
   16650   xorg_cv_cc_flag_unknown_warning_option=yes
   16651 else $as_nop
   16652   xorg_cv_cc_flag_unknown_warning_option=no
   16653 fi
   16654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16655 fi
   16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16657 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16659 	CFLAGS="$xorg_testset_save_CFLAGS"
   16660 fi
   16661 
   16662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16665 	fi
   16666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16668 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16669 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16670 then :
   16671   printf %s "(cached) " >&6
   16672 else $as_nop
   16673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16674 /* end confdefs.h.  */
   16675 int i;
   16676 _ACEOF
   16677 if ac_fn_c_try_compile "$LINENO"
   16678 then :
   16679   xorg_cv_cc_flag_unused_command_line_argument=yes
   16680 else $as_nop
   16681   xorg_cv_cc_flag_unused_command_line_argument=no
   16682 fi
   16683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16684 fi
   16685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16686 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16688 	CFLAGS="$xorg_testset_save_CFLAGS"
   16689 fi
   16690 
   16691 found="no"
   16692 
   16693 	if test $found = "no" ; then
   16694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16696 		fi
   16697 
   16698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16700 		fi
   16701 
   16702 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16703 
   16704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16705 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16706 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16707 		if eval test \${$cacheid+y}
   16708 then :
   16709   printf %s "(cached) " >&6
   16710 else $as_nop
   16711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16712 /* end confdefs.h.  */
   16713 int i;
   16714 int
   16715 main (void)
   16716 {
   16717 
   16718   ;
   16719   return 0;
   16720 }
   16721 _ACEOF
   16722 if ac_fn_c_try_link "$LINENO"
   16723 then :
   16724   eval $cacheid=yes
   16725 else $as_nop
   16726   eval $cacheid=no
   16727 fi
   16728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16729     conftest$ac_exeext conftest.$ac_ext
   16730 fi
   16731 
   16732 
   16733 		CFLAGS="$xorg_testset_save_CFLAGS"
   16734 
   16735 		eval supported=\$$cacheid
   16736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16737 printf "%s\n" "$supported" >&6; }
   16738 		if test "$supported" = "yes" ; then
   16739 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16740 			found="yes"
   16741 		fi
   16742 	fi
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 xorg_testset_save_CFLAGS="$CFLAGS"
   16759 
   16760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16765 then :
   16766   printf %s "(cached) " >&6
   16767 else $as_nop
   16768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16769 /* end confdefs.h.  */
   16770 int i;
   16771 _ACEOF
   16772 if ac_fn_c_try_compile "$LINENO"
   16773 then :
   16774   xorg_cv_cc_flag_unknown_warning_option=yes
   16775 else $as_nop
   16776   xorg_cv_cc_flag_unknown_warning_option=no
   16777 fi
   16778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16779 fi
   16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16781 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16783 	CFLAGS="$xorg_testset_save_CFLAGS"
   16784 fi
   16785 
   16786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16789 	fi
   16790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16792 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16793 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16794 then :
   16795   printf %s "(cached) " >&6
   16796 else $as_nop
   16797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 _ACEOF
   16801 if ac_fn_c_try_compile "$LINENO"
   16802 then :
   16803   xorg_cv_cc_flag_unused_command_line_argument=yes
   16804 else $as_nop
   16805   xorg_cv_cc_flag_unused_command_line_argument=no
   16806 fi
   16807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16808 fi
   16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16810 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16812 	CFLAGS="$xorg_testset_save_CFLAGS"
   16813 fi
   16814 
   16815 found="no"
   16816 
   16817 	if test $found = "no" ; then
   16818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16820 		fi
   16821 
   16822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16824 		fi
   16825 
   16826 		CFLAGS="$CFLAGS -Werror=write-strings"
   16827 
   16828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16829 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16830 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16831 		if eval test \${$cacheid+y}
   16832 then :
   16833   printf %s "(cached) " >&6
   16834 else $as_nop
   16835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16836 /* end confdefs.h.  */
   16837 int i;
   16838 int
   16839 main (void)
   16840 {
   16841 
   16842   ;
   16843   return 0;
   16844 }
   16845 _ACEOF
   16846 if ac_fn_c_try_link "$LINENO"
   16847 then :
   16848   eval $cacheid=yes
   16849 else $as_nop
   16850   eval $cacheid=no
   16851 fi
   16852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16853     conftest$ac_exeext conftest.$ac_ext
   16854 fi
   16855 
   16856 
   16857 		CFLAGS="$xorg_testset_save_CFLAGS"
   16858 
   16859 		eval supported=\$$cacheid
   16860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16861 printf "%s\n" "$supported" >&6; }
   16862 		if test "$supported" = "yes" ; then
   16863 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16864 			found="yes"
   16865 		fi
   16866 	fi
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 xorg_testset_save_CFLAGS="$CFLAGS"
   16883 
   16884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16887 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16888 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16889 then :
   16890   printf %s "(cached) " >&6
   16891 else $as_nop
   16892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16893 /* end confdefs.h.  */
   16894 int i;
   16895 _ACEOF
   16896 if ac_fn_c_try_compile "$LINENO"
   16897 then :
   16898   xorg_cv_cc_flag_unknown_warning_option=yes
   16899 else $as_nop
   16900   xorg_cv_cc_flag_unknown_warning_option=no
   16901 fi
   16902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16903 fi
   16904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16907 	CFLAGS="$xorg_testset_save_CFLAGS"
   16908 fi
   16909 
   16910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16913 	fi
   16914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16918 then :
   16919   printf %s "(cached) " >&6
   16920 else $as_nop
   16921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16922 /* end confdefs.h.  */
   16923 int i;
   16924 _ACEOF
   16925 if ac_fn_c_try_compile "$LINENO"
   16926 then :
   16927   xorg_cv_cc_flag_unused_command_line_argument=yes
   16928 else $as_nop
   16929   xorg_cv_cc_flag_unused_command_line_argument=no
   16930 fi
   16931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16932 fi
   16933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16934 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16936 	CFLAGS="$xorg_testset_save_CFLAGS"
   16937 fi
   16938 
   16939 found="no"
   16940 
   16941 	if test $found = "no" ; then
   16942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16944 		fi
   16945 
   16946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16948 		fi
   16949 
   16950 		CFLAGS="$CFLAGS -Werror=address"
   16951 
   16952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16953 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16954 		cacheid=xorg_cv_cc_flag__Werror_address
   16955 		if eval test \${$cacheid+y}
   16956 then :
   16957   printf %s "(cached) " >&6
   16958 else $as_nop
   16959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16960 /* end confdefs.h.  */
   16961 int i;
   16962 int
   16963 main (void)
   16964 {
   16965 
   16966   ;
   16967   return 0;
   16968 }
   16969 _ACEOF
   16970 if ac_fn_c_try_link "$LINENO"
   16971 then :
   16972   eval $cacheid=yes
   16973 else $as_nop
   16974   eval $cacheid=no
   16975 fi
   16976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16977     conftest$ac_exeext conftest.$ac_ext
   16978 fi
   16979 
   16980 
   16981 		CFLAGS="$xorg_testset_save_CFLAGS"
   16982 
   16983 		eval supported=\$$cacheid
   16984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16985 printf "%s\n" "$supported" >&6; }
   16986 		if test "$supported" = "yes" ; then
   16987 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16988 			found="yes"
   16989 		fi
   16990 	fi
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 xorg_testset_save_CFLAGS="$CFLAGS"
   17007 
   17008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17010 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17011 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17012 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17013 then :
   17014   printf %s "(cached) " >&6
   17015 else $as_nop
   17016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17017 /* end confdefs.h.  */
   17018 int i;
   17019 _ACEOF
   17020 if ac_fn_c_try_compile "$LINENO"
   17021 then :
   17022   xorg_cv_cc_flag_unknown_warning_option=yes
   17023 else $as_nop
   17024   xorg_cv_cc_flag_unknown_warning_option=no
   17025 fi
   17026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17027 fi
   17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17029 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17031 	CFLAGS="$xorg_testset_save_CFLAGS"
   17032 fi
   17033 
   17034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17037 	fi
   17038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17039 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17040 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17041 if test ${xorg_cv_cc_flag_unused_command_line_argument+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_unused_command_line_argument=yes
   17052 else $as_nop
   17053   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   17058 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17060 	CFLAGS="$xorg_testset_save_CFLAGS"
   17061 fi
   17062 
   17063 found="no"
   17064 
   17065 	if test $found = "no" ; then
   17066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17068 		fi
   17069 
   17070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17072 		fi
   17073 
   17074 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17075 
   17076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17077 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17078 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17079 		if eval test \${$cacheid+y}
   17080 then :
   17081   printf %s "(cached) " >&6
   17082 else $as_nop
   17083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17084 /* end confdefs.h.  */
   17085 int i;
   17086 int
   17087 main (void)
   17088 {
   17089 
   17090   ;
   17091   return 0;
   17092 }
   17093 _ACEOF
   17094 if ac_fn_c_try_link "$LINENO"
   17095 then :
   17096   eval $cacheid=yes
   17097 else $as_nop
   17098   eval $cacheid=no
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17101     conftest$ac_exeext conftest.$ac_ext
   17102 fi
   17103 
   17104 
   17105 		CFLAGS="$xorg_testset_save_CFLAGS"
   17106 
   17107 		eval supported=\$$cacheid
   17108 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17109 printf "%s\n" "$supported" >&6; }
   17110 		if test "$supported" = "yes" ; then
   17111 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17112 			found="yes"
   17113 		fi
   17114 	fi
   17115 
   17116 	if test $found = "no" ; then
   17117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 		fi
   17120 
   17121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17123 		fi
   17124 
   17125 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17126 
   17127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17128 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17129 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17130 		if eval test \${$cacheid+y}
   17131 then :
   17132   printf %s "(cached) " >&6
   17133 else $as_nop
   17134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17135 /* end confdefs.h.  */
   17136 int i;
   17137 int
   17138 main (void)
   17139 {
   17140 
   17141   ;
   17142   return 0;
   17143 }
   17144 _ACEOF
   17145 if ac_fn_c_try_link "$LINENO"
   17146 then :
   17147   eval $cacheid=yes
   17148 else $as_nop
   17149   eval $cacheid=no
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17152     conftest$ac_exeext conftest.$ac_ext
   17153 fi
   17154 
   17155 
   17156 		CFLAGS="$xorg_testset_save_CFLAGS"
   17157 
   17158 		eval supported=\$$cacheid
   17159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17160 printf "%s\n" "$supported" >&6; }
   17161 		if test "$supported" = "yes" ; then
   17162 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17163 			found="yes"
   17164 		fi
   17165 	fi
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 xorg_testset_save_CFLAGS="$CFLAGS"
   17182 
   17183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17185 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17186 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17187 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17188 then :
   17189   printf %s "(cached) " >&6
   17190 else $as_nop
   17191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17192 /* end confdefs.h.  */
   17193 int i;
   17194 _ACEOF
   17195 if ac_fn_c_try_compile "$LINENO"
   17196 then :
   17197   xorg_cv_cc_flag_unknown_warning_option=yes
   17198 else $as_nop
   17199   xorg_cv_cc_flag_unknown_warning_option=no
   17200 fi
   17201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17202 fi
   17203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17204 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17206 	CFLAGS="$xorg_testset_save_CFLAGS"
   17207 fi
   17208 
   17209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17212 	fi
   17213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17215 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17216 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17217 then :
   17218   printf %s "(cached) " >&6
   17219 else $as_nop
   17220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17221 /* end confdefs.h.  */
   17222 int i;
   17223 _ACEOF
   17224 if ac_fn_c_try_compile "$LINENO"
   17225 then :
   17226   xorg_cv_cc_flag_unused_command_line_argument=yes
   17227 else $as_nop
   17228   xorg_cv_cc_flag_unused_command_line_argument=no
   17229 fi
   17230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17231 fi
   17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17233 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17235 	CFLAGS="$xorg_testset_save_CFLAGS"
   17236 fi
   17237 
   17238 found="no"
   17239 
   17240 	if test $found = "no" ; then
   17241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17243 		fi
   17244 
   17245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17247 		fi
   17248 
   17249 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17250 
   17251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17252 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17253 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17254 		if eval test \${$cacheid+y}
   17255 then :
   17256   printf %s "(cached) " >&6
   17257 else $as_nop
   17258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17259 /* end confdefs.h.  */
   17260 int i;
   17261 int
   17262 main (void)
   17263 {
   17264 
   17265   ;
   17266   return 0;
   17267 }
   17268 _ACEOF
   17269 if ac_fn_c_try_link "$LINENO"
   17270 then :
   17271   eval $cacheid=yes
   17272 else $as_nop
   17273   eval $cacheid=no
   17274 fi
   17275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17276     conftest$ac_exeext conftest.$ac_ext
   17277 fi
   17278 
   17279 
   17280 		CFLAGS="$xorg_testset_save_CFLAGS"
   17281 
   17282 		eval supported=\$$cacheid
   17283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17284 printf "%s\n" "$supported" >&6; }
   17285 		if test "$supported" = "yes" ; then
   17286 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17287 			found="yes"
   17288 		fi
   17289 	fi
   17290 
   17291  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17292 else
   17293 { 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
   17294 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;}
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 xorg_testset_save_CFLAGS="$CFLAGS"
   17309 
   17310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17314 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17315 then :
   17316   printf %s "(cached) " >&6
   17317 else $as_nop
   17318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17319 /* end confdefs.h.  */
   17320 int i;
   17321 _ACEOF
   17322 if ac_fn_c_try_compile "$LINENO"
   17323 then :
   17324   xorg_cv_cc_flag_unknown_warning_option=yes
   17325 else $as_nop
   17326   xorg_cv_cc_flag_unknown_warning_option=no
   17327 fi
   17328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17329 fi
   17330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17331 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17333 	CFLAGS="$xorg_testset_save_CFLAGS"
   17334 fi
   17335 
   17336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17339 	fi
   17340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17342 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17343 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17344 then :
   17345   printf %s "(cached) " >&6
   17346 else $as_nop
   17347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17348 /* end confdefs.h.  */
   17349 int i;
   17350 _ACEOF
   17351 if ac_fn_c_try_compile "$LINENO"
   17352 then :
   17353   xorg_cv_cc_flag_unused_command_line_argument=yes
   17354 else $as_nop
   17355   xorg_cv_cc_flag_unused_command_line_argument=no
   17356 fi
   17357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17358 fi
   17359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17360 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17362 	CFLAGS="$xorg_testset_save_CFLAGS"
   17363 fi
   17364 
   17365 found="no"
   17366 
   17367 	if test $found = "no" ; then
   17368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17370 		fi
   17371 
   17372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17374 		fi
   17375 
   17376 		CFLAGS="$CFLAGS -Wimplicit"
   17377 
   17378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17379 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17380 		cacheid=xorg_cv_cc_flag__Wimplicit
   17381 		if eval test \${$cacheid+y}
   17382 then :
   17383   printf %s "(cached) " >&6
   17384 else $as_nop
   17385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17386 /* end confdefs.h.  */
   17387 int i;
   17388 int
   17389 main (void)
   17390 {
   17391 
   17392   ;
   17393   return 0;
   17394 }
   17395 _ACEOF
   17396 if ac_fn_c_try_link "$LINENO"
   17397 then :
   17398   eval $cacheid=yes
   17399 else $as_nop
   17400   eval $cacheid=no
   17401 fi
   17402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17403     conftest$ac_exeext conftest.$ac_ext
   17404 fi
   17405 
   17406 
   17407 		CFLAGS="$xorg_testset_save_CFLAGS"
   17408 
   17409 		eval supported=\$$cacheid
   17410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17411 printf "%s\n" "$supported" >&6; }
   17412 		if test "$supported" = "yes" ; then
   17413 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17414 			found="yes"
   17415 		fi
   17416 	fi
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 xorg_testset_save_CFLAGS="$CFLAGS"
   17433 
   17434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17439 then :
   17440   printf %s "(cached) " >&6
   17441 else $as_nop
   17442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17443 /* end confdefs.h.  */
   17444 int i;
   17445 _ACEOF
   17446 if ac_fn_c_try_compile "$LINENO"
   17447 then :
   17448   xorg_cv_cc_flag_unknown_warning_option=yes
   17449 else $as_nop
   17450   xorg_cv_cc_flag_unknown_warning_option=no
   17451 fi
   17452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17453 fi
   17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17455 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17457 	CFLAGS="$xorg_testset_save_CFLAGS"
   17458 fi
   17459 
   17460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17463 	fi
   17464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17466 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17467 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17468 then :
   17469   printf %s "(cached) " >&6
   17470 else $as_nop
   17471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17472 /* end confdefs.h.  */
   17473 int i;
   17474 _ACEOF
   17475 if ac_fn_c_try_compile "$LINENO"
   17476 then :
   17477   xorg_cv_cc_flag_unused_command_line_argument=yes
   17478 else $as_nop
   17479   xorg_cv_cc_flag_unused_command_line_argument=no
   17480 fi
   17481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17482 fi
   17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17484 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17486 	CFLAGS="$xorg_testset_save_CFLAGS"
   17487 fi
   17488 
   17489 found="no"
   17490 
   17491 	if test $found = "no" ; then
   17492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17494 		fi
   17495 
   17496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17498 		fi
   17499 
   17500 		CFLAGS="$CFLAGS -Wnonnull"
   17501 
   17502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17503 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17504 		cacheid=xorg_cv_cc_flag__Wnonnull
   17505 		if eval test \${$cacheid+y}
   17506 then :
   17507   printf %s "(cached) " >&6
   17508 else $as_nop
   17509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17510 /* end confdefs.h.  */
   17511 int i;
   17512 int
   17513 main (void)
   17514 {
   17515 
   17516   ;
   17517   return 0;
   17518 }
   17519 _ACEOF
   17520 if ac_fn_c_try_link "$LINENO"
   17521 then :
   17522   eval $cacheid=yes
   17523 else $as_nop
   17524   eval $cacheid=no
   17525 fi
   17526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17527     conftest$ac_exeext conftest.$ac_ext
   17528 fi
   17529 
   17530 
   17531 		CFLAGS="$xorg_testset_save_CFLAGS"
   17532 
   17533 		eval supported=\$$cacheid
   17534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17535 printf "%s\n" "$supported" >&6; }
   17536 		if test "$supported" = "yes" ; then
   17537 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17538 			found="yes"
   17539 		fi
   17540 	fi
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 xorg_testset_save_CFLAGS="$CFLAGS"
   17557 
   17558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17563 then :
   17564   printf %s "(cached) " >&6
   17565 else $as_nop
   17566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17567 /* end confdefs.h.  */
   17568 int i;
   17569 _ACEOF
   17570 if ac_fn_c_try_compile "$LINENO"
   17571 then :
   17572   xorg_cv_cc_flag_unknown_warning_option=yes
   17573 else $as_nop
   17574   xorg_cv_cc_flag_unknown_warning_option=no
   17575 fi
   17576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17577 fi
   17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17579 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17581 	CFLAGS="$xorg_testset_save_CFLAGS"
   17582 fi
   17583 
   17584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17587 	fi
   17588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17592 then :
   17593   printf %s "(cached) " >&6
   17594 else $as_nop
   17595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17596 /* end confdefs.h.  */
   17597 int i;
   17598 _ACEOF
   17599 if ac_fn_c_try_compile "$LINENO"
   17600 then :
   17601   xorg_cv_cc_flag_unused_command_line_argument=yes
   17602 else $as_nop
   17603   xorg_cv_cc_flag_unused_command_line_argument=no
   17604 fi
   17605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17606 fi
   17607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17608 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17610 	CFLAGS="$xorg_testset_save_CFLAGS"
   17611 fi
   17612 
   17613 found="no"
   17614 
   17615 	if test $found = "no" ; then
   17616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17618 		fi
   17619 
   17620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17622 		fi
   17623 
   17624 		CFLAGS="$CFLAGS -Winit-self"
   17625 
   17626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17627 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17628 		cacheid=xorg_cv_cc_flag__Winit_self
   17629 		if eval test \${$cacheid+y}
   17630 then :
   17631   printf %s "(cached) " >&6
   17632 else $as_nop
   17633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17634 /* end confdefs.h.  */
   17635 int i;
   17636 int
   17637 main (void)
   17638 {
   17639 
   17640   ;
   17641   return 0;
   17642 }
   17643 _ACEOF
   17644 if ac_fn_c_try_link "$LINENO"
   17645 then :
   17646   eval $cacheid=yes
   17647 else $as_nop
   17648   eval $cacheid=no
   17649 fi
   17650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17651     conftest$ac_exeext conftest.$ac_ext
   17652 fi
   17653 
   17654 
   17655 		CFLAGS="$xorg_testset_save_CFLAGS"
   17656 
   17657 		eval supported=\$$cacheid
   17658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17659 printf "%s\n" "$supported" >&6; }
   17660 		if test "$supported" = "yes" ; then
   17661 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17662 			found="yes"
   17663 		fi
   17664 	fi
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 xorg_testset_save_CFLAGS="$CFLAGS"
   17681 
   17682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17687 then :
   17688   printf %s "(cached) " >&6
   17689 else $as_nop
   17690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17691 /* end confdefs.h.  */
   17692 int i;
   17693 _ACEOF
   17694 if ac_fn_c_try_compile "$LINENO"
   17695 then :
   17696   xorg_cv_cc_flag_unknown_warning_option=yes
   17697 else $as_nop
   17698   xorg_cv_cc_flag_unknown_warning_option=no
   17699 fi
   17700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17701 fi
   17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17703 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17705 	CFLAGS="$xorg_testset_save_CFLAGS"
   17706 fi
   17707 
   17708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17711 	fi
   17712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17714 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17715 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17716 then :
   17717   printf %s "(cached) " >&6
   17718 else $as_nop
   17719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17720 /* end confdefs.h.  */
   17721 int i;
   17722 _ACEOF
   17723 if ac_fn_c_try_compile "$LINENO"
   17724 then :
   17725   xorg_cv_cc_flag_unused_command_line_argument=yes
   17726 else $as_nop
   17727   xorg_cv_cc_flag_unused_command_line_argument=no
   17728 fi
   17729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17730 fi
   17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17732 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17734 	CFLAGS="$xorg_testset_save_CFLAGS"
   17735 fi
   17736 
   17737 found="no"
   17738 
   17739 	if test $found = "no" ; then
   17740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17742 		fi
   17743 
   17744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17746 		fi
   17747 
   17748 		CFLAGS="$CFLAGS -Wmain"
   17749 
   17750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17751 printf %s "checking if $CC supports -Wmain... " >&6; }
   17752 		cacheid=xorg_cv_cc_flag__Wmain
   17753 		if eval test \${$cacheid+y}
   17754 then :
   17755   printf %s "(cached) " >&6
   17756 else $as_nop
   17757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17758 /* end confdefs.h.  */
   17759 int i;
   17760 int
   17761 main (void)
   17762 {
   17763 
   17764   ;
   17765   return 0;
   17766 }
   17767 _ACEOF
   17768 if ac_fn_c_try_link "$LINENO"
   17769 then :
   17770   eval $cacheid=yes
   17771 else $as_nop
   17772   eval $cacheid=no
   17773 fi
   17774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17775     conftest$ac_exeext conftest.$ac_ext
   17776 fi
   17777 
   17778 
   17779 		CFLAGS="$xorg_testset_save_CFLAGS"
   17780 
   17781 		eval supported=\$$cacheid
   17782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17783 printf "%s\n" "$supported" >&6; }
   17784 		if test "$supported" = "yes" ; then
   17785 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17786 			found="yes"
   17787 		fi
   17788 	fi
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 xorg_testset_save_CFLAGS="$CFLAGS"
   17805 
   17806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17809 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17810 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17811 then :
   17812   printf %s "(cached) " >&6
   17813 else $as_nop
   17814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 _ACEOF
   17818 if ac_fn_c_try_compile "$LINENO"
   17819 then :
   17820   xorg_cv_cc_flag_unknown_warning_option=yes
   17821 else $as_nop
   17822   xorg_cv_cc_flag_unknown_warning_option=no
   17823 fi
   17824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17825 fi
   17826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17827 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17829 	CFLAGS="$xorg_testset_save_CFLAGS"
   17830 fi
   17831 
   17832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17835 	fi
   17836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17837 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17838 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17839 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17840 then :
   17841   printf %s "(cached) " >&6
   17842 else $as_nop
   17843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17844 /* end confdefs.h.  */
   17845 int i;
   17846 _ACEOF
   17847 if ac_fn_c_try_compile "$LINENO"
   17848 then :
   17849   xorg_cv_cc_flag_unused_command_line_argument=yes
   17850 else $as_nop
   17851   xorg_cv_cc_flag_unused_command_line_argument=no
   17852 fi
   17853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17854 fi
   17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17858 	CFLAGS="$xorg_testset_save_CFLAGS"
   17859 fi
   17860 
   17861 found="no"
   17862 
   17863 	if test $found = "no" ; then
   17864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17866 		fi
   17867 
   17868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17870 		fi
   17871 
   17872 		CFLAGS="$CFLAGS -Wmissing-braces"
   17873 
   17874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17875 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17876 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17877 		if eval test \${$cacheid+y}
   17878 then :
   17879   printf %s "(cached) " >&6
   17880 else $as_nop
   17881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17882 /* end confdefs.h.  */
   17883 int i;
   17884 int
   17885 main (void)
   17886 {
   17887 
   17888   ;
   17889   return 0;
   17890 }
   17891 _ACEOF
   17892 if ac_fn_c_try_link "$LINENO"
   17893 then :
   17894   eval $cacheid=yes
   17895 else $as_nop
   17896   eval $cacheid=no
   17897 fi
   17898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17899     conftest$ac_exeext conftest.$ac_ext
   17900 fi
   17901 
   17902 
   17903 		CFLAGS="$xorg_testset_save_CFLAGS"
   17904 
   17905 		eval supported=\$$cacheid
   17906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17907 printf "%s\n" "$supported" >&6; }
   17908 		if test "$supported" = "yes" ; then
   17909 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17910 			found="yes"
   17911 		fi
   17912 	fi
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 xorg_testset_save_CFLAGS="$CFLAGS"
   17929 
   17930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17933 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17934 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17935 then :
   17936   printf %s "(cached) " >&6
   17937 else $as_nop
   17938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17939 /* end confdefs.h.  */
   17940 int i;
   17941 _ACEOF
   17942 if ac_fn_c_try_compile "$LINENO"
   17943 then :
   17944   xorg_cv_cc_flag_unknown_warning_option=yes
   17945 else $as_nop
   17946   xorg_cv_cc_flag_unknown_warning_option=no
   17947 fi
   17948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17949 fi
   17950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17951 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17953 	CFLAGS="$xorg_testset_save_CFLAGS"
   17954 fi
   17955 
   17956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17959 	fi
   17960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17962 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17963 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17964 then :
   17965   printf %s "(cached) " >&6
   17966 else $as_nop
   17967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17968 /* end confdefs.h.  */
   17969 int i;
   17970 _ACEOF
   17971 if ac_fn_c_try_compile "$LINENO"
   17972 then :
   17973   xorg_cv_cc_flag_unused_command_line_argument=yes
   17974 else $as_nop
   17975   xorg_cv_cc_flag_unused_command_line_argument=no
   17976 fi
   17977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17978 fi
   17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17980 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17982 	CFLAGS="$xorg_testset_save_CFLAGS"
   17983 fi
   17984 
   17985 found="no"
   17986 
   17987 	if test $found = "no" ; then
   17988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17990 		fi
   17991 
   17992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17994 		fi
   17995 
   17996 		CFLAGS="$CFLAGS -Wsequence-point"
   17997 
   17998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17999 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18000 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18001 		if eval test \${$cacheid+y}
   18002 then :
   18003   printf %s "(cached) " >&6
   18004 else $as_nop
   18005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18006 /* end confdefs.h.  */
   18007 int i;
   18008 int
   18009 main (void)
   18010 {
   18011 
   18012   ;
   18013   return 0;
   18014 }
   18015 _ACEOF
   18016 if ac_fn_c_try_link "$LINENO"
   18017 then :
   18018   eval $cacheid=yes
   18019 else $as_nop
   18020   eval $cacheid=no
   18021 fi
   18022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18023     conftest$ac_exeext conftest.$ac_ext
   18024 fi
   18025 
   18026 
   18027 		CFLAGS="$xorg_testset_save_CFLAGS"
   18028 
   18029 		eval supported=\$$cacheid
   18030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18031 printf "%s\n" "$supported" >&6; }
   18032 		if test "$supported" = "yes" ; then
   18033 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18034 			found="yes"
   18035 		fi
   18036 	fi
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 xorg_testset_save_CFLAGS="$CFLAGS"
   18053 
   18054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18059 then :
   18060   printf %s "(cached) " >&6
   18061 else $as_nop
   18062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18063 /* end confdefs.h.  */
   18064 int i;
   18065 _ACEOF
   18066 if ac_fn_c_try_compile "$LINENO"
   18067 then :
   18068   xorg_cv_cc_flag_unknown_warning_option=yes
   18069 else $as_nop
   18070   xorg_cv_cc_flag_unknown_warning_option=no
   18071 fi
   18072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18073 fi
   18074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18077 	CFLAGS="$xorg_testset_save_CFLAGS"
   18078 fi
   18079 
   18080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18083 	fi
   18084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18088 then :
   18089   printf %s "(cached) " >&6
   18090 else $as_nop
   18091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18092 /* end confdefs.h.  */
   18093 int i;
   18094 _ACEOF
   18095 if ac_fn_c_try_compile "$LINENO"
   18096 then :
   18097   xorg_cv_cc_flag_unused_command_line_argument=yes
   18098 else $as_nop
   18099   xorg_cv_cc_flag_unused_command_line_argument=no
   18100 fi
   18101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18102 fi
   18103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18106 	CFLAGS="$xorg_testset_save_CFLAGS"
   18107 fi
   18108 
   18109 found="no"
   18110 
   18111 	if test $found = "no" ; then
   18112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18114 		fi
   18115 
   18116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18118 		fi
   18119 
   18120 		CFLAGS="$CFLAGS -Wreturn-type"
   18121 
   18122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18123 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18124 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18125 		if eval test \${$cacheid+y}
   18126 then :
   18127   printf %s "(cached) " >&6
   18128 else $as_nop
   18129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18130 /* end confdefs.h.  */
   18131 int i;
   18132 int
   18133 main (void)
   18134 {
   18135 
   18136   ;
   18137   return 0;
   18138 }
   18139 _ACEOF
   18140 if ac_fn_c_try_link "$LINENO"
   18141 then :
   18142   eval $cacheid=yes
   18143 else $as_nop
   18144   eval $cacheid=no
   18145 fi
   18146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18147     conftest$ac_exeext conftest.$ac_ext
   18148 fi
   18149 
   18150 
   18151 		CFLAGS="$xorg_testset_save_CFLAGS"
   18152 
   18153 		eval supported=\$$cacheid
   18154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18155 printf "%s\n" "$supported" >&6; }
   18156 		if test "$supported" = "yes" ; then
   18157 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18158 			found="yes"
   18159 		fi
   18160 	fi
   18161 
   18162 
   18163 
   18164 
   18165 
   18166 
   18167 
   18168 
   18169 
   18170 
   18171 
   18172 
   18173 
   18174 
   18175 
   18176 xorg_testset_save_CFLAGS="$CFLAGS"
   18177 
   18178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18183 then :
   18184   printf %s "(cached) " >&6
   18185 else $as_nop
   18186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18187 /* end confdefs.h.  */
   18188 int i;
   18189 _ACEOF
   18190 if ac_fn_c_try_compile "$LINENO"
   18191 then :
   18192   xorg_cv_cc_flag_unknown_warning_option=yes
   18193 else $as_nop
   18194   xorg_cv_cc_flag_unknown_warning_option=no
   18195 fi
   18196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18197 fi
   18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18201 	CFLAGS="$xorg_testset_save_CFLAGS"
   18202 fi
   18203 
   18204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18207 	fi
   18208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18212 then :
   18213   printf %s "(cached) " >&6
   18214 else $as_nop
   18215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18216 /* end confdefs.h.  */
   18217 int i;
   18218 _ACEOF
   18219 if ac_fn_c_try_compile "$LINENO"
   18220 then :
   18221   xorg_cv_cc_flag_unused_command_line_argument=yes
   18222 else $as_nop
   18223   xorg_cv_cc_flag_unused_command_line_argument=no
   18224 fi
   18225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18226 fi
   18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18228 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18230 	CFLAGS="$xorg_testset_save_CFLAGS"
   18231 fi
   18232 
   18233 found="no"
   18234 
   18235 	if test $found = "no" ; then
   18236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18238 		fi
   18239 
   18240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18242 		fi
   18243 
   18244 		CFLAGS="$CFLAGS -Wtrigraphs"
   18245 
   18246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18247 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18248 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18249 		if eval test \${$cacheid+y}
   18250 then :
   18251   printf %s "(cached) " >&6
   18252 else $as_nop
   18253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18254 /* end confdefs.h.  */
   18255 int i;
   18256 int
   18257 main (void)
   18258 {
   18259 
   18260   ;
   18261   return 0;
   18262 }
   18263 _ACEOF
   18264 if ac_fn_c_try_link "$LINENO"
   18265 then :
   18266   eval $cacheid=yes
   18267 else $as_nop
   18268   eval $cacheid=no
   18269 fi
   18270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18271     conftest$ac_exeext conftest.$ac_ext
   18272 fi
   18273 
   18274 
   18275 		CFLAGS="$xorg_testset_save_CFLAGS"
   18276 
   18277 		eval supported=\$$cacheid
   18278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18279 printf "%s\n" "$supported" >&6; }
   18280 		if test "$supported" = "yes" ; then
   18281 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18282 			found="yes"
   18283 		fi
   18284 	fi
   18285 
   18286 
   18287 
   18288 
   18289 
   18290 
   18291 
   18292 
   18293 
   18294 
   18295 
   18296 
   18297 
   18298 
   18299 
   18300 xorg_testset_save_CFLAGS="$CFLAGS"
   18301 
   18302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18307 then :
   18308   printf %s "(cached) " >&6
   18309 else $as_nop
   18310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18311 /* end confdefs.h.  */
   18312 int i;
   18313 _ACEOF
   18314 if ac_fn_c_try_compile "$LINENO"
   18315 then :
   18316   xorg_cv_cc_flag_unknown_warning_option=yes
   18317 else $as_nop
   18318   xorg_cv_cc_flag_unknown_warning_option=no
   18319 fi
   18320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18321 fi
   18322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18325 	CFLAGS="$xorg_testset_save_CFLAGS"
   18326 fi
   18327 
   18328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18331 	fi
   18332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18336 then :
   18337   printf %s "(cached) " >&6
   18338 else $as_nop
   18339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18340 /* end confdefs.h.  */
   18341 int i;
   18342 _ACEOF
   18343 if ac_fn_c_try_compile "$LINENO"
   18344 then :
   18345   xorg_cv_cc_flag_unused_command_line_argument=yes
   18346 else $as_nop
   18347   xorg_cv_cc_flag_unused_command_line_argument=no
   18348 fi
   18349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18350 fi
   18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18352 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18354 	CFLAGS="$xorg_testset_save_CFLAGS"
   18355 fi
   18356 
   18357 found="no"
   18358 
   18359 	if test $found = "no" ; then
   18360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18362 		fi
   18363 
   18364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18366 		fi
   18367 
   18368 		CFLAGS="$CFLAGS -Warray-bounds"
   18369 
   18370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18371 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18372 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18373 		if eval test \${$cacheid+y}
   18374 then :
   18375   printf %s "(cached) " >&6
   18376 else $as_nop
   18377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18378 /* end confdefs.h.  */
   18379 int i;
   18380 int
   18381 main (void)
   18382 {
   18383 
   18384   ;
   18385   return 0;
   18386 }
   18387 _ACEOF
   18388 if ac_fn_c_try_link "$LINENO"
   18389 then :
   18390   eval $cacheid=yes
   18391 else $as_nop
   18392   eval $cacheid=no
   18393 fi
   18394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18395     conftest$ac_exeext conftest.$ac_ext
   18396 fi
   18397 
   18398 
   18399 		CFLAGS="$xorg_testset_save_CFLAGS"
   18400 
   18401 		eval supported=\$$cacheid
   18402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18403 printf "%s\n" "$supported" >&6; }
   18404 		if test "$supported" = "yes" ; then
   18405 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18406 			found="yes"
   18407 		fi
   18408 	fi
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 xorg_testset_save_CFLAGS="$CFLAGS"
   18425 
   18426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18431 then :
   18432   printf %s "(cached) " >&6
   18433 else $as_nop
   18434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18435 /* end confdefs.h.  */
   18436 int i;
   18437 _ACEOF
   18438 if ac_fn_c_try_compile "$LINENO"
   18439 then :
   18440   xorg_cv_cc_flag_unknown_warning_option=yes
   18441 else $as_nop
   18442   xorg_cv_cc_flag_unknown_warning_option=no
   18443 fi
   18444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18445 fi
   18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18449 	CFLAGS="$xorg_testset_save_CFLAGS"
   18450 fi
   18451 
   18452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18455 	fi
   18456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18460 then :
   18461   printf %s "(cached) " >&6
   18462 else $as_nop
   18463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18464 /* end confdefs.h.  */
   18465 int i;
   18466 _ACEOF
   18467 if ac_fn_c_try_compile "$LINENO"
   18468 then :
   18469   xorg_cv_cc_flag_unused_command_line_argument=yes
   18470 else $as_nop
   18471   xorg_cv_cc_flag_unused_command_line_argument=no
   18472 fi
   18473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18474 fi
   18475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18478 	CFLAGS="$xorg_testset_save_CFLAGS"
   18479 fi
   18480 
   18481 found="no"
   18482 
   18483 	if test $found = "no" ; then
   18484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18486 		fi
   18487 
   18488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18490 		fi
   18491 
   18492 		CFLAGS="$CFLAGS -Wwrite-strings"
   18493 
   18494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18495 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18496 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18497 		if eval test \${$cacheid+y}
   18498 then :
   18499   printf %s "(cached) " >&6
   18500 else $as_nop
   18501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18502 /* end confdefs.h.  */
   18503 int i;
   18504 int
   18505 main (void)
   18506 {
   18507 
   18508   ;
   18509   return 0;
   18510 }
   18511 _ACEOF
   18512 if ac_fn_c_try_link "$LINENO"
   18513 then :
   18514   eval $cacheid=yes
   18515 else $as_nop
   18516   eval $cacheid=no
   18517 fi
   18518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18519     conftest$ac_exeext conftest.$ac_ext
   18520 fi
   18521 
   18522 
   18523 		CFLAGS="$xorg_testset_save_CFLAGS"
   18524 
   18525 		eval supported=\$$cacheid
   18526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18527 printf "%s\n" "$supported" >&6; }
   18528 		if test "$supported" = "yes" ; then
   18529 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18530 			found="yes"
   18531 		fi
   18532 	fi
   18533 
   18534 
   18535 
   18536 
   18537 
   18538 
   18539 
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 xorg_testset_save_CFLAGS="$CFLAGS"
   18549 
   18550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18555 then :
   18556   printf %s "(cached) " >&6
   18557 else $as_nop
   18558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18559 /* end confdefs.h.  */
   18560 int i;
   18561 _ACEOF
   18562 if ac_fn_c_try_compile "$LINENO"
   18563 then :
   18564   xorg_cv_cc_flag_unknown_warning_option=yes
   18565 else $as_nop
   18566   xorg_cv_cc_flag_unknown_warning_option=no
   18567 fi
   18568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18569 fi
   18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18573 	CFLAGS="$xorg_testset_save_CFLAGS"
   18574 fi
   18575 
   18576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18579 	fi
   18580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18584 then :
   18585   printf %s "(cached) " >&6
   18586 else $as_nop
   18587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18588 /* end confdefs.h.  */
   18589 int i;
   18590 _ACEOF
   18591 if ac_fn_c_try_compile "$LINENO"
   18592 then :
   18593   xorg_cv_cc_flag_unused_command_line_argument=yes
   18594 else $as_nop
   18595   xorg_cv_cc_flag_unused_command_line_argument=no
   18596 fi
   18597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18598 fi
   18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18602 	CFLAGS="$xorg_testset_save_CFLAGS"
   18603 fi
   18604 
   18605 found="no"
   18606 
   18607 	if test $found = "no" ; then
   18608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18610 		fi
   18611 
   18612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18614 		fi
   18615 
   18616 		CFLAGS="$CFLAGS -Waddress"
   18617 
   18618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18619 printf %s "checking if $CC supports -Waddress... " >&6; }
   18620 		cacheid=xorg_cv_cc_flag__Waddress
   18621 		if eval test \${$cacheid+y}
   18622 then :
   18623   printf %s "(cached) " >&6
   18624 else $as_nop
   18625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18626 /* end confdefs.h.  */
   18627 int i;
   18628 int
   18629 main (void)
   18630 {
   18631 
   18632   ;
   18633   return 0;
   18634 }
   18635 _ACEOF
   18636 if ac_fn_c_try_link "$LINENO"
   18637 then :
   18638   eval $cacheid=yes
   18639 else $as_nop
   18640   eval $cacheid=no
   18641 fi
   18642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18643     conftest$ac_exeext conftest.$ac_ext
   18644 fi
   18645 
   18646 
   18647 		CFLAGS="$xorg_testset_save_CFLAGS"
   18648 
   18649 		eval supported=\$$cacheid
   18650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18651 printf "%s\n" "$supported" >&6; }
   18652 		if test "$supported" = "yes" ; then
   18653 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18654 			found="yes"
   18655 		fi
   18656 	fi
   18657 
   18658 
   18659 
   18660 
   18661 
   18662 
   18663 
   18664 
   18665 
   18666 
   18667 
   18668 
   18669 
   18670 
   18671 
   18672 xorg_testset_save_CFLAGS="$CFLAGS"
   18673 
   18674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18679 then :
   18680   printf %s "(cached) " >&6
   18681 else $as_nop
   18682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18683 /* end confdefs.h.  */
   18684 int i;
   18685 _ACEOF
   18686 if ac_fn_c_try_compile "$LINENO"
   18687 then :
   18688   xorg_cv_cc_flag_unknown_warning_option=yes
   18689 else $as_nop
   18690   xorg_cv_cc_flag_unknown_warning_option=no
   18691 fi
   18692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18693 fi
   18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18697 	CFLAGS="$xorg_testset_save_CFLAGS"
   18698 fi
   18699 
   18700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18703 	fi
   18704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18708 then :
   18709   printf %s "(cached) " >&6
   18710 else $as_nop
   18711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18712 /* end confdefs.h.  */
   18713 int i;
   18714 _ACEOF
   18715 if ac_fn_c_try_compile "$LINENO"
   18716 then :
   18717   xorg_cv_cc_flag_unused_command_line_argument=yes
   18718 else $as_nop
   18719   xorg_cv_cc_flag_unused_command_line_argument=no
   18720 fi
   18721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18722 fi
   18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18726 	CFLAGS="$xorg_testset_save_CFLAGS"
   18727 fi
   18728 
   18729 found="no"
   18730 
   18731 	if test $found = "no" ; then
   18732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18734 		fi
   18735 
   18736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18738 		fi
   18739 
   18740 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18741 
   18742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18743 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18744 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18745 		if eval test \${$cacheid+y}
   18746 then :
   18747   printf %s "(cached) " >&6
   18748 else $as_nop
   18749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18750 /* end confdefs.h.  */
   18751 int i;
   18752 int
   18753 main (void)
   18754 {
   18755 
   18756   ;
   18757   return 0;
   18758 }
   18759 _ACEOF
   18760 if ac_fn_c_try_link "$LINENO"
   18761 then :
   18762   eval $cacheid=yes
   18763 else $as_nop
   18764   eval $cacheid=no
   18765 fi
   18766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18767     conftest$ac_exeext conftest.$ac_ext
   18768 fi
   18769 
   18770 
   18771 		CFLAGS="$xorg_testset_save_CFLAGS"
   18772 
   18773 		eval supported=\$$cacheid
   18774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18775 printf "%s\n" "$supported" >&6; }
   18776 		if test "$supported" = "yes" ; then
   18777 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18778 			found="yes"
   18779 		fi
   18780 	fi
   18781 
   18782 
   18783 
   18784 
   18785 
   18786 
   18787 
   18788 
   18789 
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 xorg_testset_save_CFLAGS="$CFLAGS"
   18797 
   18798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18801 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18802 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18803 then :
   18804   printf %s "(cached) " >&6
   18805 else $as_nop
   18806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18807 /* end confdefs.h.  */
   18808 int i;
   18809 _ACEOF
   18810 if ac_fn_c_try_compile "$LINENO"
   18811 then :
   18812   xorg_cv_cc_flag_unknown_warning_option=yes
   18813 else $as_nop
   18814   xorg_cv_cc_flag_unknown_warning_option=no
   18815 fi
   18816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18817 fi
   18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18821 	CFLAGS="$xorg_testset_save_CFLAGS"
   18822 fi
   18823 
   18824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18827 	fi
   18828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18832 then :
   18833   printf %s "(cached) " >&6
   18834 else $as_nop
   18835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18836 /* end confdefs.h.  */
   18837 int i;
   18838 _ACEOF
   18839 if ac_fn_c_try_compile "$LINENO"
   18840 then :
   18841   xorg_cv_cc_flag_unused_command_line_argument=yes
   18842 else $as_nop
   18843   xorg_cv_cc_flag_unused_command_line_argument=no
   18844 fi
   18845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18846 fi
   18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18850 	CFLAGS="$xorg_testset_save_CFLAGS"
   18851 fi
   18852 
   18853 found="no"
   18854 
   18855 	if test $found = "no" ; then
   18856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18858 		fi
   18859 
   18860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18862 		fi
   18863 
   18864 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18865 
   18866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18867 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18868 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18869 		if eval test \${$cacheid+y}
   18870 then :
   18871   printf %s "(cached) " >&6
   18872 else $as_nop
   18873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18874 /* end confdefs.h.  */
   18875 int i;
   18876 int
   18877 main (void)
   18878 {
   18879 
   18880   ;
   18881   return 0;
   18882 }
   18883 _ACEOF
   18884 if ac_fn_c_try_link "$LINENO"
   18885 then :
   18886   eval $cacheid=yes
   18887 else $as_nop
   18888   eval $cacheid=no
   18889 fi
   18890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18891     conftest$ac_exeext conftest.$ac_ext
   18892 fi
   18893 
   18894 
   18895 		CFLAGS="$xorg_testset_save_CFLAGS"
   18896 
   18897 		eval supported=\$$cacheid
   18898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18899 printf "%s\n" "$supported" >&6; }
   18900 		if test "$supported" = "yes" ; then
   18901 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18902 			found="yes"
   18903 		fi
   18904 	fi
   18905 
   18906 
   18907 fi
   18908 
   18909 
   18910 
   18911 
   18912 
   18913 
   18914 
   18915 		CWARNFLAGS="$BASE_CFLAGS"
   18916 		if  test "x$GCC" = xyes ; then
   18917 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18918 		fi
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 # Check whether --enable-strict-compilation was given.
   18928 if test ${enable_strict_compilation+y}
   18929 then :
   18930   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18931 else $as_nop
   18932   STRICT_COMPILE=no
   18933 fi
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 STRICT_CFLAGS=""
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 xorg_testset_save_CFLAGS="$CFLAGS"
   18955 
   18956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18959 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18960 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18961 then :
   18962   printf %s "(cached) " >&6
   18963 else $as_nop
   18964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18965 /* end confdefs.h.  */
   18966 int i;
   18967 _ACEOF
   18968 if ac_fn_c_try_compile "$LINENO"
   18969 then :
   18970   xorg_cv_cc_flag_unknown_warning_option=yes
   18971 else $as_nop
   18972   xorg_cv_cc_flag_unknown_warning_option=no
   18973 fi
   18974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18975 fi
   18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18979 	CFLAGS="$xorg_testset_save_CFLAGS"
   18980 fi
   18981 
   18982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18985 	fi
   18986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18989 if test ${xorg_cv_cc_flag_unused_command_line_argument+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_unused_command_line_argument=yes
   19000 else $as_nop
   19001   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   19006 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19008 	CFLAGS="$xorg_testset_save_CFLAGS"
   19009 fi
   19010 
   19011 found="no"
   19012 
   19013 	if test $found = "no" ; then
   19014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19016 		fi
   19017 
   19018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19020 		fi
   19021 
   19022 		CFLAGS="$CFLAGS -pedantic"
   19023 
   19024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19025 printf %s "checking if $CC supports -pedantic... " >&6; }
   19026 		cacheid=xorg_cv_cc_flag__pedantic
   19027 		if eval test \${$cacheid+y}
   19028 then :
   19029   printf %s "(cached) " >&6
   19030 else $as_nop
   19031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19032 /* end confdefs.h.  */
   19033 int i;
   19034 int
   19035 main (void)
   19036 {
   19037 
   19038   ;
   19039   return 0;
   19040 }
   19041 _ACEOF
   19042 if ac_fn_c_try_link "$LINENO"
   19043 then :
   19044   eval $cacheid=yes
   19045 else $as_nop
   19046   eval $cacheid=no
   19047 fi
   19048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19049     conftest$ac_exeext conftest.$ac_ext
   19050 fi
   19051 
   19052 
   19053 		CFLAGS="$xorg_testset_save_CFLAGS"
   19054 
   19055 		eval supported=\$$cacheid
   19056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19057 printf "%s\n" "$supported" >&6; }
   19058 		if test "$supported" = "yes" ; then
   19059 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19060 			found="yes"
   19061 		fi
   19062 	fi
   19063 
   19064 
   19065 
   19066 
   19067 
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 
   19076 
   19077 
   19078 xorg_testset_save_CFLAGS="$CFLAGS"
   19079 
   19080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19085 then :
   19086   printf %s "(cached) " >&6
   19087 else $as_nop
   19088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19089 /* end confdefs.h.  */
   19090 int i;
   19091 _ACEOF
   19092 if ac_fn_c_try_compile "$LINENO"
   19093 then :
   19094   xorg_cv_cc_flag_unknown_warning_option=yes
   19095 else $as_nop
   19096   xorg_cv_cc_flag_unknown_warning_option=no
   19097 fi
   19098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19099 fi
   19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19103 	CFLAGS="$xorg_testset_save_CFLAGS"
   19104 fi
   19105 
   19106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19109 	fi
   19110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19114 then :
   19115   printf %s "(cached) " >&6
   19116 else $as_nop
   19117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19118 /* end confdefs.h.  */
   19119 int i;
   19120 _ACEOF
   19121 if ac_fn_c_try_compile "$LINENO"
   19122 then :
   19123   xorg_cv_cc_flag_unused_command_line_argument=yes
   19124 else $as_nop
   19125   xorg_cv_cc_flag_unused_command_line_argument=no
   19126 fi
   19127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19128 fi
   19129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19132 	CFLAGS="$xorg_testset_save_CFLAGS"
   19133 fi
   19134 
   19135 found="no"
   19136 
   19137 	if test $found = "no" ; then
   19138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19140 		fi
   19141 
   19142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19144 		fi
   19145 
   19146 		CFLAGS="$CFLAGS -Werror"
   19147 
   19148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19149 printf %s "checking if $CC supports -Werror... " >&6; }
   19150 		cacheid=xorg_cv_cc_flag__Werror
   19151 		if eval test \${$cacheid+y}
   19152 then :
   19153   printf %s "(cached) " >&6
   19154 else $as_nop
   19155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19156 /* end confdefs.h.  */
   19157 int i;
   19158 int
   19159 main (void)
   19160 {
   19161 
   19162   ;
   19163   return 0;
   19164 }
   19165 _ACEOF
   19166 if ac_fn_c_try_link "$LINENO"
   19167 then :
   19168   eval $cacheid=yes
   19169 else $as_nop
   19170   eval $cacheid=no
   19171 fi
   19172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19173     conftest$ac_exeext conftest.$ac_ext
   19174 fi
   19175 
   19176 
   19177 		CFLAGS="$xorg_testset_save_CFLAGS"
   19178 
   19179 		eval supported=\$$cacheid
   19180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19181 printf "%s\n" "$supported" >&6; }
   19182 		if test "$supported" = "yes" ; then
   19183 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19184 			found="yes"
   19185 		fi
   19186 	fi
   19187 
   19188 	if test $found = "no" ; then
   19189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19191 		fi
   19192 
   19193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19195 		fi
   19196 
   19197 		CFLAGS="$CFLAGS -errwarn"
   19198 
   19199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19200 printf %s "checking if $CC supports -errwarn... " >&6; }
   19201 		cacheid=xorg_cv_cc_flag__errwarn
   19202 		if eval test \${$cacheid+y}
   19203 then :
   19204   printf %s "(cached) " >&6
   19205 else $as_nop
   19206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19207 /* end confdefs.h.  */
   19208 int i;
   19209 int
   19210 main (void)
   19211 {
   19212 
   19213   ;
   19214   return 0;
   19215 }
   19216 _ACEOF
   19217 if ac_fn_c_try_link "$LINENO"
   19218 then :
   19219   eval $cacheid=yes
   19220 else $as_nop
   19221   eval $cacheid=no
   19222 fi
   19223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19224     conftest$ac_exeext conftest.$ac_ext
   19225 fi
   19226 
   19227 
   19228 		CFLAGS="$xorg_testset_save_CFLAGS"
   19229 
   19230 		eval supported=\$$cacheid
   19231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19232 printf "%s\n" "$supported" >&6; }
   19233 		if test "$supported" = "yes" ; then
   19234 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19235 			found="yes"
   19236 		fi
   19237 	fi
   19238 
   19239 
   19240 
   19241 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19242 # activate it with -Werror, so we add it here explicitly.
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 xorg_testset_save_CFLAGS="$CFLAGS"
   19257 
   19258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19261 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19262 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19263 then :
   19264   printf %s "(cached) " >&6
   19265 else $as_nop
   19266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19267 /* end confdefs.h.  */
   19268 int i;
   19269 _ACEOF
   19270 if ac_fn_c_try_compile "$LINENO"
   19271 then :
   19272   xorg_cv_cc_flag_unknown_warning_option=yes
   19273 else $as_nop
   19274   xorg_cv_cc_flag_unknown_warning_option=no
   19275 fi
   19276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19277 fi
   19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19279 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19281 	CFLAGS="$xorg_testset_save_CFLAGS"
   19282 fi
   19283 
   19284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19287 	fi
   19288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19290 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19291 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19292 then :
   19293   printf %s "(cached) " >&6
   19294 else $as_nop
   19295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19296 /* end confdefs.h.  */
   19297 int i;
   19298 _ACEOF
   19299 if ac_fn_c_try_compile "$LINENO"
   19300 then :
   19301   xorg_cv_cc_flag_unused_command_line_argument=yes
   19302 else $as_nop
   19303   xorg_cv_cc_flag_unused_command_line_argument=no
   19304 fi
   19305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19306 fi
   19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19310 	CFLAGS="$xorg_testset_save_CFLAGS"
   19311 fi
   19312 
   19313 found="no"
   19314 
   19315 	if test $found = "no" ; then
   19316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19318 		fi
   19319 
   19320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19322 		fi
   19323 
   19324 		CFLAGS="$CFLAGS -Werror=attributes"
   19325 
   19326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19327 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19328 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19329 		if eval test \${$cacheid+y}
   19330 then :
   19331   printf %s "(cached) " >&6
   19332 else $as_nop
   19333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19334 /* end confdefs.h.  */
   19335 int i;
   19336 int
   19337 main (void)
   19338 {
   19339 
   19340   ;
   19341   return 0;
   19342 }
   19343 _ACEOF
   19344 if ac_fn_c_try_link "$LINENO"
   19345 then :
   19346   eval $cacheid=yes
   19347 else $as_nop
   19348   eval $cacheid=no
   19349 fi
   19350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19351     conftest$ac_exeext conftest.$ac_ext
   19352 fi
   19353 
   19354 
   19355 		CFLAGS="$xorg_testset_save_CFLAGS"
   19356 
   19357 		eval supported=\$$cacheid
   19358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19359 printf "%s\n" "$supported" >&6; }
   19360 		if test "$supported" = "yes" ; then
   19361 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19362 			found="yes"
   19363 		fi
   19364 	fi
   19365 
   19366 
   19367 
   19368 if test "x$STRICT_COMPILE" = "xyes"; then
   19369     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19370     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19371 fi
   19372 
   19373 
   19374 
   19375 
   19376 
   19377 
   19378 
   19379 
   19380 cat >>confdefs.h <<_ACEOF
   19381 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19382 _ACEOF
   19383 
   19384 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19385 	if test "x$PVM" = "x"; then
   19386 		PVM="0"
   19387 	fi
   19388 
   19389 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19390 
   19391 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19392 	if test "x$PVP" = "x"; then
   19393 		PVP="0"
   19394 	fi
   19395 
   19396 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19397 
   19398 
   19399 
   19400 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19401 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19402 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19403 touch \$(top_srcdir)/ChangeLog; \
   19404 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19405 
   19406 
   19407 
   19408 
   19409 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19410 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19411 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19412 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19413 touch \$(top_srcdir)/INSTALL; \
   19414 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 case $host_os in
   19422     solaris*)
   19423         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19424         # check for a man page file found in later versions that use
   19425         # traditional section numbers instead
   19426         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19427 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19428 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19429 then :
   19430   printf %s "(cached) " >&6
   19431 else $as_nop
   19432   test "$cross_compiling" = yes &&
   19433   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19434 if test -r "/usr/share/man/man7/attributes.7"; then
   19435   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19436 else
   19437   ac_cv_file__usr_share_man_man7_attributes_7=no
   19438 fi
   19439 fi
   19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19441 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19442 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19443 then :
   19444   SYSV_MAN_SECTIONS=false
   19445 else $as_nop
   19446   SYSV_MAN_SECTIONS=true
   19447 fi
   19448 
   19449         ;;
   19450     *) SYSV_MAN_SECTIONS=false ;;
   19451 esac
   19452 
   19453 if test x$APP_MAN_SUFFIX = x    ; then
   19454     APP_MAN_SUFFIX=1
   19455 fi
   19456 if test x$APP_MAN_DIR = x    ; then
   19457     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19458 fi
   19459 
   19460 if test x$LIB_MAN_SUFFIX = x    ; then
   19461     LIB_MAN_SUFFIX=3
   19462 fi
   19463 if test x$LIB_MAN_DIR = x    ; then
   19464     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19465 fi
   19466 
   19467 if test x$FILE_MAN_SUFFIX = x    ; then
   19468     case $SYSV_MAN_SECTIONS in
   19469 	true)				FILE_MAN_SUFFIX=4  ;;
   19470 	*)				FILE_MAN_SUFFIX=5  ;;
   19471     esac
   19472 fi
   19473 if test x$FILE_MAN_DIR = x    ; then
   19474     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19475 fi
   19476 
   19477 if test x$MISC_MAN_SUFFIX = x    ; then
   19478     case $SYSV_MAN_SECTIONS in
   19479 	true)				MISC_MAN_SUFFIX=5  ;;
   19480 	*)				MISC_MAN_SUFFIX=7  ;;
   19481     esac
   19482 fi
   19483 if test x$MISC_MAN_DIR = x    ; then
   19484     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19485 fi
   19486 
   19487 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19488     case $SYSV_MAN_SECTIONS in
   19489 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19490 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19491     esac
   19492 fi
   19493 if test x$DRIVER_MAN_DIR = x    ; then
   19494     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19495 fi
   19496 
   19497 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19498     case $SYSV_MAN_SECTIONS in
   19499 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19500 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19501     esac
   19502 fi
   19503 if test x$ADMIN_MAN_DIR = x    ; then
   19504     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19505 fi
   19506 
   19507 
   19508 
   19509 
   19510 
   19511 
   19512 
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 
   19519 
   19520 
   19521 XORG_MAN_PAGE="X Version 11"
   19522 
   19523 MAN_SUBSTS="\
   19524 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19525 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19526 	-e 's|__xservername__|Xorg|g' \
   19527 	-e 's|__xconfigfile__|xorg.conf|g' \
   19528 	-e 's|__projectroot__|\$(prefix)|g' \
   19529 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19530 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19531 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19532 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19533 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19534 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19535 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19536 
   19537 
   19538 
   19539 # Check whether --enable-silent-rules was given.
   19540 if test ${enable_silent_rules+y}
   19541 then :
   19542   enableval=$enable_silent_rules;
   19543 fi
   19544 
   19545 case $enable_silent_rules in # (((
   19546   yes) AM_DEFAULT_VERBOSITY=0;;
   19547    no) AM_DEFAULT_VERBOSITY=1;;
   19548     *) AM_DEFAULT_VERBOSITY=0;;
   19549 esac
   19550 am_make=${MAKE-make}
   19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19552 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19553 if test ${am_cv_make_support_nested_variables+y}
   19554 then :
   19555   printf %s "(cached) " >&6
   19556 else $as_nop
   19557   if printf "%s\n" 'TRUE=$(BAR$(V))
   19558 BAR0=false
   19559 BAR1=true
   19560 V=1
   19561 am__doit:
   19562 	@$(TRUE)
   19563 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19564   am_cv_make_support_nested_variables=yes
   19565 else
   19566   am_cv_make_support_nested_variables=no
   19567 fi
   19568 fi
   19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19570 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19571 if test $am_cv_make_support_nested_variables = yes; then
   19572     AM_V='$(V)'
   19573   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19574 else
   19575   AM_V=$AM_DEFAULT_VERBOSITY
   19576   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19577 fi
   19578 AM_BACKSLASH='\'
   19579 
   19580 
   19581 
   19582 
   19583 # Check whether --enable-malloc0returnsnull was given.
   19584 if test ${enable_malloc0returnsnull+y}
   19585 then :
   19586   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19587 else $as_nop
   19588   MALLOC_ZERO_RETURNS_NULL=auto
   19589 fi
   19590 
   19591 
   19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   19593 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   19594 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19595 if test ${xorg_cv_malloc0_returns_null+y}
   19596 then :
   19597   printf %s "(cached) " >&6
   19598 else $as_nop
   19599   if test "$cross_compiling" = yes
   19600 then :
   19601   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19602 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19603 as_fn_error $? "cannot run test program while cross compiling
   19604 See \`config.log' for more details" "$LINENO" 5; }
   19605 else $as_nop
   19606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19607 /* end confdefs.h.  */
   19608 
   19609 #include <stdlib.h>
   19610 
   19611 int
   19612 main (void)
   19613 {
   19614 
   19615     char *m0, *r0, *c0, *p;
   19616     m0 = malloc(0);
   19617     p = malloc(10);
   19618     r0 = realloc(p,0);
   19619     c0 = calloc(0,10);
   19620     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   19621 
   19622   ;
   19623   return 0;
   19624 }
   19625 _ACEOF
   19626 if ac_fn_c_try_run "$LINENO"
   19627 then :
   19628   xorg_cv_malloc0_returns_null=yes
   19629 else $as_nop
   19630   xorg_cv_malloc0_returns_null=no
   19631 fi
   19632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19633   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19634 fi
   19635 
   19636 fi
   19637 
   19638 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   19639 fi
   19640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19641 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19642 
   19643 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19644 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19645 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19646 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19647 else
   19648 	MALLOC_ZERO_CFLAGS=""
   19649 	XMALLOC_ZERO_CFLAGS=""
   19650 	XTMALLOC_ZERO_CFLAGS=""
   19651 fi
   19652 
   19653 
   19654 
   19655 
   19656 
   19657 
   19658 
   19659 # Check whether --enable-specs was given.
   19660 if test ${enable_specs+y}
   19661 then :
   19662   enableval=$enable_specs; build_specs=$enableval
   19663 else $as_nop
   19664   build_specs=yes
   19665 fi
   19666 
   19667 
   19668  if test x$build_specs = xyes; then
   19669   ENABLE_SPECS_TRUE=
   19670   ENABLE_SPECS_FALSE='#'
   19671 else
   19672   ENABLE_SPECS_TRUE='#'
   19673   ENABLE_SPECS_FALSE=
   19674 fi
   19675 
   19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19677 printf %s "checking whether to build functional specifications... " >&6; }
   19678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19679 printf "%s\n" "$build_specs" >&6; }
   19680 
   19681 
   19682 
   19683 
   19684 
   19685 # Check whether --with-xmlto was given.
   19686 if test ${with_xmlto+y}
   19687 then :
   19688   withval=$with_xmlto; use_xmlto=$withval
   19689 else $as_nop
   19690   use_xmlto=auto
   19691 fi
   19692 
   19693 
   19694 
   19695 if test "x$use_xmlto" = x"auto"; then
   19696    # Extract the first word of "xmlto", so it can be a program name with args.
   19697 set dummy xmlto; ac_word=$2
   19698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19699 printf %s "checking for $ac_word... " >&6; }
   19700 if test ${ac_cv_path_XMLTO+y}
   19701 then :
   19702   printf %s "(cached) " >&6
   19703 else $as_nop
   19704   case $XMLTO in
   19705   [\\/]* | ?:[\\/]*)
   19706   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19707   ;;
   19708   *)
   19709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19710 for as_dir in $PATH
   19711 do
   19712   IFS=$as_save_IFS
   19713   case $as_dir in #(((
   19714     '') as_dir=./ ;;
   19715     */) ;;
   19716     *) as_dir=$as_dir/ ;;
   19717   esac
   19718     for ac_exec_ext in '' $ac_executable_extensions; do
   19719   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19720     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19721     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19722     break 2
   19723   fi
   19724 done
   19725   done
   19726 IFS=$as_save_IFS
   19727 
   19728   ;;
   19729 esac
   19730 fi
   19731 XMLTO=$ac_cv_path_XMLTO
   19732 if test -n "$XMLTO"; then
   19733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19734 printf "%s\n" "$XMLTO" >&6; }
   19735 else
   19736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19737 printf "%s\n" "no" >&6; }
   19738 fi
   19739 
   19740 
   19741    if test "x$XMLTO" = "x"; then
   19742         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19743 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19744 	have_xmlto=no
   19745    else
   19746         have_xmlto=yes
   19747    fi
   19748 elif test "x$use_xmlto" = x"yes" ; then
   19749    # Extract the first word of "xmlto", so it can be a program name with args.
   19750 set dummy xmlto; ac_word=$2
   19751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19752 printf %s "checking for $ac_word... " >&6; }
   19753 if test ${ac_cv_path_XMLTO+y}
   19754 then :
   19755   printf %s "(cached) " >&6
   19756 else $as_nop
   19757   case $XMLTO in
   19758   [\\/]* | ?:[\\/]*)
   19759   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19760   ;;
   19761   *)
   19762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19763 for as_dir in $PATH
   19764 do
   19765   IFS=$as_save_IFS
   19766   case $as_dir in #(((
   19767     '') as_dir=./ ;;
   19768     */) ;;
   19769     *) as_dir=$as_dir/ ;;
   19770   esac
   19771     for ac_exec_ext in '' $ac_executable_extensions; do
   19772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19773     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19774     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19775     break 2
   19776   fi
   19777 done
   19778   done
   19779 IFS=$as_save_IFS
   19780 
   19781   ;;
   19782 esac
   19783 fi
   19784 XMLTO=$ac_cv_path_XMLTO
   19785 if test -n "$XMLTO"; then
   19786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19787 printf "%s\n" "$XMLTO" >&6; }
   19788 else
   19789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19790 printf "%s\n" "no" >&6; }
   19791 fi
   19792 
   19793 
   19794    if test "x$XMLTO" = "x"; then
   19795         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19796    fi
   19797    have_xmlto=yes
   19798 elif test "x$use_xmlto" = x"no" ; then
   19799    if test "x$XMLTO" != "x"; then
   19800       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19801 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19802    fi
   19803    have_xmlto=no
   19804 else
   19805    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19806 fi
   19807 
   19808 # Test for a minimum version of xmlto, if provided.
   19809 if test "$have_xmlto" = yes; then
   19810     # scrape the xmlto version
   19811     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19812 printf %s "checking the xmlto version... " >&6; }
   19813     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19814     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19815 printf "%s\n" "$xmlto_version" >&6; }
   19816     as_arg_v1=$xmlto_version
   19817 as_arg_v2=0.0.20
   19818 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19819 case $? in #(
   19820   1) :
   19821     if test "x$use_xmlto" = xauto; then
   19822             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   19823 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   19824             have_xmlto=no
   19825         else
   19826             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   19827         fi ;; #(
   19828   0) :
   19829      ;; #(
   19830   2) :
   19831      ;; #(
   19832   *) :
   19833      ;;
   19834 esac
   19835 fi
   19836 
   19837 # Test for the ability of xmlto to generate a text target
   19838 #
   19839 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19840 # following test for empty XML docbook files.
   19841 # For compatibility reasons use the following empty XML docbook file and if
   19842 # it fails try it again with a non-empty XML file.
   19843 have_xmlto_text=no
   19844 cat > conftest.xml << "EOF"
   19845 EOF
   19846 if test "$have_xmlto" = yes
   19847 then :
   19848   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19849 then :
   19850   have_xmlto_text=yes
   19851 else $as_nop
   19852   # Try it again with a non-empty XML file.
   19853               cat > conftest.xml << "EOF"
   19854 <x></x>
   19855 EOF
   19856               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19857 then :
   19858   have_xmlto_text=yes
   19859 else $as_nop
   19860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19861 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19862 fi
   19863 fi
   19864 fi
   19865 rm -f conftest.xml
   19866  if test $have_xmlto_text = yes; then
   19867   HAVE_XMLTO_TEXT_TRUE=
   19868   HAVE_XMLTO_TEXT_FALSE='#'
   19869 else
   19870   HAVE_XMLTO_TEXT_TRUE='#'
   19871   HAVE_XMLTO_TEXT_FALSE=
   19872 fi
   19873 
   19874  if test "$have_xmlto" = yes; then
   19875   HAVE_XMLTO_TRUE=
   19876   HAVE_XMLTO_FALSE='#'
   19877 else
   19878   HAVE_XMLTO_TRUE='#'
   19879   HAVE_XMLTO_FALSE=
   19880 fi
   19881 
   19882 
   19883 
   19884 
   19885 
   19886 
   19887 # Check whether --with-fop was given.
   19888 if test ${with_fop+y}
   19889 then :
   19890   withval=$with_fop; use_fop=$withval
   19891 else $as_nop
   19892   use_fop=auto
   19893 fi
   19894 
   19895 
   19896 
   19897 if test "x$use_fop" = x"auto"; then
   19898    # Extract the first word of "fop", so it can be a program name with args.
   19899 set dummy fop; ac_word=$2
   19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19901 printf %s "checking for $ac_word... " >&6; }
   19902 if test ${ac_cv_path_FOP+y}
   19903 then :
   19904   printf %s "(cached) " >&6
   19905 else $as_nop
   19906   case $FOP in
   19907   [\\/]* | ?:[\\/]*)
   19908   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19909   ;;
   19910   *)
   19911   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19912 for as_dir in $PATH
   19913 do
   19914   IFS=$as_save_IFS
   19915   case $as_dir in #(((
   19916     '') as_dir=./ ;;
   19917     */) ;;
   19918     *) as_dir=$as_dir/ ;;
   19919   esac
   19920     for ac_exec_ext in '' $ac_executable_extensions; do
   19921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19922     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19924     break 2
   19925   fi
   19926 done
   19927   done
   19928 IFS=$as_save_IFS
   19929 
   19930   ;;
   19931 esac
   19932 fi
   19933 FOP=$ac_cv_path_FOP
   19934 if test -n "$FOP"; then
   19935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19936 printf "%s\n" "$FOP" >&6; }
   19937 else
   19938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19939 printf "%s\n" "no" >&6; }
   19940 fi
   19941 
   19942 
   19943    if test "x$FOP" = "x"; then
   19944         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19945 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19946 	have_fop=no
   19947    else
   19948         have_fop=yes
   19949    fi
   19950 elif test "x$use_fop" = x"yes" ; then
   19951    # Extract the first word of "fop", so it can be a program name with args.
   19952 set dummy fop; ac_word=$2
   19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19954 printf %s "checking for $ac_word... " >&6; }
   19955 if test ${ac_cv_path_FOP+y}
   19956 then :
   19957   printf %s "(cached) " >&6
   19958 else $as_nop
   19959   case $FOP in
   19960   [\\/]* | ?:[\\/]*)
   19961   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19962   ;;
   19963   *)
   19964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19965 for as_dir in $PATH
   19966 do
   19967   IFS=$as_save_IFS
   19968   case $as_dir in #(((
   19969     '') as_dir=./ ;;
   19970     */) ;;
   19971     *) as_dir=$as_dir/ ;;
   19972   esac
   19973     for ac_exec_ext in '' $ac_executable_extensions; do
   19974   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19975     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19976     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19977     break 2
   19978   fi
   19979 done
   19980   done
   19981 IFS=$as_save_IFS
   19982 
   19983   ;;
   19984 esac
   19985 fi
   19986 FOP=$ac_cv_path_FOP
   19987 if test -n "$FOP"; then
   19988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19989 printf "%s\n" "$FOP" >&6; }
   19990 else
   19991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19992 printf "%s\n" "no" >&6; }
   19993 fi
   19994 
   19995 
   19996    if test "x$FOP" = "x"; then
   19997         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19998    fi
   19999    have_fop=yes
   20000 elif test "x$use_fop" = x"no" ; then
   20001    if test "x$FOP" != "x"; then
   20002       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20003 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20004    fi
   20005    have_fop=no
   20006 else
   20007    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20008 fi
   20009 
   20010 # Test for a minimum version of fop, if provided.
   20011 
   20012  if test "$have_fop" = yes; then
   20013   HAVE_FOP_TRUE=
   20014   HAVE_FOP_FALSE='#'
   20015 else
   20016   HAVE_FOP_TRUE='#'
   20017   HAVE_FOP_FALSE=
   20018 fi
   20019 
   20020 
   20021 
   20022 
   20023 # Preserves the interface, should it be implemented later
   20024 
   20025 
   20026 
   20027 # Check whether --with-xsltproc was given.
   20028 if test ${with_xsltproc+y}
   20029 then :
   20030   withval=$with_xsltproc; use_xsltproc=$withval
   20031 else $as_nop
   20032   use_xsltproc=auto
   20033 fi
   20034 
   20035 
   20036 
   20037 if test "x$use_xsltproc" = x"auto"; then
   20038    # Extract the first word of "xsltproc", so it can be a program name with args.
   20039 set dummy xsltproc; ac_word=$2
   20040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20041 printf %s "checking for $ac_word... " >&6; }
   20042 if test ${ac_cv_path_XSLTPROC+y}
   20043 then :
   20044   printf %s "(cached) " >&6
   20045 else $as_nop
   20046   case $XSLTPROC in
   20047   [\\/]* | ?:[\\/]*)
   20048   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20049   ;;
   20050   *)
   20051   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20052 for as_dir in $PATH
   20053 do
   20054   IFS=$as_save_IFS
   20055   case $as_dir in #(((
   20056     '') as_dir=./ ;;
   20057     */) ;;
   20058     *) as_dir=$as_dir/ ;;
   20059   esac
   20060     for ac_exec_ext in '' $ac_executable_extensions; do
   20061   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20062     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20063     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20064     break 2
   20065   fi
   20066 done
   20067   done
   20068 IFS=$as_save_IFS
   20069 
   20070   ;;
   20071 esac
   20072 fi
   20073 XSLTPROC=$ac_cv_path_XSLTPROC
   20074 if test -n "$XSLTPROC"; then
   20075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20076 printf "%s\n" "$XSLTPROC" >&6; }
   20077 else
   20078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20079 printf "%s\n" "no" >&6; }
   20080 fi
   20081 
   20082 
   20083    if test "x$XSLTPROC" = "x"; then
   20084         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20085 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20086 	have_xsltproc=no
   20087    else
   20088         have_xsltproc=yes
   20089    fi
   20090 elif test "x$use_xsltproc" = x"yes" ; then
   20091    # Extract the first word of "xsltproc", so it can be a program name with args.
   20092 set dummy xsltproc; ac_word=$2
   20093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20094 printf %s "checking for $ac_word... " >&6; }
   20095 if test ${ac_cv_path_XSLTPROC+y}
   20096 then :
   20097   printf %s "(cached) " >&6
   20098 else $as_nop
   20099   case $XSLTPROC in
   20100   [\\/]* | ?:[\\/]*)
   20101   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20102   ;;
   20103   *)
   20104   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20105 for as_dir in $PATH
   20106 do
   20107   IFS=$as_save_IFS
   20108   case $as_dir in #(((
   20109     '') as_dir=./ ;;
   20110     */) ;;
   20111     *) as_dir=$as_dir/ ;;
   20112   esac
   20113     for ac_exec_ext in '' $ac_executable_extensions; do
   20114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20115     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20116     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20117     break 2
   20118   fi
   20119 done
   20120   done
   20121 IFS=$as_save_IFS
   20122 
   20123   ;;
   20124 esac
   20125 fi
   20126 XSLTPROC=$ac_cv_path_XSLTPROC
   20127 if test -n "$XSLTPROC"; then
   20128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20129 printf "%s\n" "$XSLTPROC" >&6; }
   20130 else
   20131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20132 printf "%s\n" "no" >&6; }
   20133 fi
   20134 
   20135 
   20136    if test "x$XSLTPROC" = "x"; then
   20137         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   20138    fi
   20139    have_xsltproc=yes
   20140 elif test "x$use_xsltproc" = x"no" ; then
   20141    if test "x$XSLTPROC" != "x"; then
   20142       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   20143 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   20144    fi
   20145    have_xsltproc=no
   20146 else
   20147    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   20148 fi
   20149 
   20150  if test "$have_xsltproc" = yes; then
   20151   HAVE_XSLTPROC_TRUE=
   20152   HAVE_XSLTPROC_FALSE='#'
   20153 else
   20154   HAVE_XSLTPROC_TRUE='#'
   20155   HAVE_XSLTPROC_FALSE=
   20156 fi
   20157 
   20158 
   20159 
   20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.01" >&5
   20161 printf %s "checking for X.Org SGML entities >= 1.01... " >&6; }
   20162 XORG_SGML_PATH=
   20163 if test -n "$PKG_CONFIG" && \
   20164     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.01\""; } >&5
   20165   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.01") 2>&5
   20166   ac_status=$?
   20167   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20168   test $ac_status = 0; }; then
   20169   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   20170 else
   20171   :
   20172 
   20173 fi
   20174 
   20175 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   20176 # the path and the name of the doc stylesheet
   20177 if test "x$XORG_SGML_PATH" != "x" ; then
   20178    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   20179 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   20180    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   20181    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   20182 else
   20183    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20184 printf "%s\n" "no" >&6; }
   20185 fi
   20186 
   20187 
   20188 
   20189 
   20190  if test "x$XSL_STYLESHEET" != "x"; then
   20191   HAVE_STYLESHEETS_TRUE=
   20192   HAVE_STYLESHEETS_FALSE='#'
   20193 else
   20194   HAVE_STYLESHEETS_TRUE='#'
   20195   HAVE_STYLESHEETS_FALSE=
   20196 fi
   20197 
   20198 
   20199 ac_ext=c
   20200 ac_cpp='$CPP $CPPFLAGS'
   20201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   20205 printf %s "checking how to run the C preprocessor... " >&6; }
   20206 # On Suns, sometimes $CPP names a directory.
   20207 if test -n "$CPP" && test -d "$CPP"; then
   20208   CPP=
   20209 fi
   20210 if test -z "$CPP"; then
   20211   if test ${ac_cv_prog_CPP+y}
   20212 then :
   20213   printf %s "(cached) " >&6
   20214 else $as_nop
   20215       # Double quotes because $CC needs to be expanded
   20216     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   20217     do
   20218       ac_preproc_ok=false
   20219 for ac_c_preproc_warn_flag in '' yes
   20220 do
   20221   # Use a header file that comes with gcc, so configuring glibc
   20222   # with a fresh cross-compiler works.
   20223   # On the NeXT, cc -E runs the code through the compiler's parser,
   20224   # not just through cpp. "Syntax error" is here to catch this case.
   20225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20226 /* end confdefs.h.  */
   20227 #include <limits.h>
   20228 		     Syntax error
   20229 _ACEOF
   20230 if ac_fn_c_try_cpp "$LINENO"
   20231 then :
   20232 
   20233 else $as_nop
   20234   # Broken: fails on valid input.
   20235 continue
   20236 fi
   20237 rm -f conftest.err conftest.i conftest.$ac_ext
   20238 
   20239   # OK, works on sane cases.  Now check whether nonexistent headers
   20240   # can be detected and how.
   20241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20242 /* end confdefs.h.  */
   20243 #include <ac_nonexistent.h>
   20244 _ACEOF
   20245 if ac_fn_c_try_cpp "$LINENO"
   20246 then :
   20247   # Broken: success on invalid input.
   20248 continue
   20249 else $as_nop
   20250   # Passes both tests.
   20251 ac_preproc_ok=:
   20252 break
   20253 fi
   20254 rm -f conftest.err conftest.i conftest.$ac_ext
   20255 
   20256 done
   20257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20258 rm -f conftest.i conftest.err conftest.$ac_ext
   20259 if $ac_preproc_ok
   20260 then :
   20261   break
   20262 fi
   20263 
   20264     done
   20265     ac_cv_prog_CPP=$CPP
   20266 
   20267 fi
   20268   CPP=$ac_cv_prog_CPP
   20269 else
   20270   ac_cv_prog_CPP=$CPP
   20271 fi
   20272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   20273 printf "%s\n" "$CPP" >&6; }
   20274 ac_preproc_ok=false
   20275 for ac_c_preproc_warn_flag in '' yes
   20276 do
   20277   # Use a header file that comes with gcc, so configuring glibc
   20278   # with a fresh cross-compiler works.
   20279   # On the NeXT, cc -E runs the code through the compiler's parser,
   20280   # not just through cpp. "Syntax error" is here to catch this case.
   20281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20282 /* end confdefs.h.  */
   20283 #include <limits.h>
   20284 		     Syntax error
   20285 _ACEOF
   20286 if ac_fn_c_try_cpp "$LINENO"
   20287 then :
   20288 
   20289 else $as_nop
   20290   # Broken: fails on valid input.
   20291 continue
   20292 fi
   20293 rm -f conftest.err conftest.i conftest.$ac_ext
   20294 
   20295   # OK, works on sane cases.  Now check whether nonexistent headers
   20296   # can be detected and how.
   20297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20298 /* end confdefs.h.  */
   20299 #include <ac_nonexistent.h>
   20300 _ACEOF
   20301 if ac_fn_c_try_cpp "$LINENO"
   20302 then :
   20303   # Broken: success on invalid input.
   20304 continue
   20305 else $as_nop
   20306   # Passes both tests.
   20307 ac_preproc_ok=:
   20308 break
   20309 fi
   20310 rm -f conftest.err conftest.i conftest.$ac_ext
   20311 
   20312 done
   20313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20314 rm -f conftest.i conftest.err conftest.$ac_ext
   20315 if $ac_preproc_ok
   20316 then :
   20317 
   20318 else $as_nop
   20319   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20320 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20321 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   20322 See \`config.log' for more details" "$LINENO" 5; }
   20323 fi
   20324 
   20325 ac_ext=c
   20326 ac_cpp='$CPP $CPPFLAGS'
   20327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20330 
   20331 
   20332 
   20333 if test -n "$ac_tool_prefix"; then
   20334   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   20335 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   20336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20337 printf %s "checking for $ac_word... " >&6; }
   20338 if test ${ac_cv_path_RAWCPP+y}
   20339 then :
   20340   printf %s "(cached) " >&6
   20341 else $as_nop
   20342   case $RAWCPP in
   20343   [\\/]* | ?:[\\/]*)
   20344   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   20345   ;;
   20346   *)
   20347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20348 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20349 for as_dir in $as_dummy
   20350 do
   20351   IFS=$as_save_IFS
   20352   case $as_dir in #(((
   20353     '') as_dir=./ ;;
   20354     */) ;;
   20355     *) as_dir=$as_dir/ ;;
   20356   esac
   20357     for ac_exec_ext in '' $ac_executable_extensions; do
   20358   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20359     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   20360     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20361     break 2
   20362   fi
   20363 done
   20364   done
   20365 IFS=$as_save_IFS
   20366 
   20367   ;;
   20368 esac
   20369 fi
   20370 RAWCPP=$ac_cv_path_RAWCPP
   20371 if test -n "$RAWCPP"; then
   20372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   20373 printf "%s\n" "$RAWCPP" >&6; }
   20374 else
   20375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20376 printf "%s\n" "no" >&6; }
   20377 fi
   20378 
   20379 
   20380 fi
   20381 if test -z "$ac_cv_path_RAWCPP"; then
   20382   ac_pt_RAWCPP=$RAWCPP
   20383   # Extract the first word of "cpp", so it can be a program name with args.
   20384 set dummy cpp; ac_word=$2
   20385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20386 printf %s "checking for $ac_word... " >&6; }
   20387 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   20388 then :
   20389   printf %s "(cached) " >&6
   20390 else $as_nop
   20391   case $ac_pt_RAWCPP in
   20392   [\\/]* | ?:[\\/]*)
   20393   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   20394   ;;
   20395   *)
   20396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20397 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20398 for as_dir in $as_dummy
   20399 do
   20400   IFS=$as_save_IFS
   20401   case $as_dir in #(((
   20402     '') as_dir=./ ;;
   20403     */) ;;
   20404     *) as_dir=$as_dir/ ;;
   20405   esac
   20406     for ac_exec_ext in '' $ac_executable_extensions; do
   20407   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20408     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   20409     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20410     break 2
   20411   fi
   20412 done
   20413   done
   20414 IFS=$as_save_IFS
   20415 
   20416   ;;
   20417 esac
   20418 fi
   20419 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   20420 if test -n "$ac_pt_RAWCPP"; then
   20421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   20422 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   20423 else
   20424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20425 printf "%s\n" "no" >&6; }
   20426 fi
   20427 
   20428   if test "x$ac_pt_RAWCPP" = x; then
   20429     RAWCPP="${CPP}"
   20430   else
   20431     case $cross_compiling:$ac_tool_warned in
   20432 yes:)
   20433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20434 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20435 ac_tool_warned=yes ;;
   20436 esac
   20437     RAWCPP=$ac_pt_RAWCPP
   20438   fi
   20439 else
   20440   RAWCPP="$ac_cv_path_RAWCPP"
   20441 fi
   20442 
   20443 
   20444 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   20445 # which is not the best choice for supporting other OS'es, but covers most
   20446 # of the ones we need for now.
   20447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   20448 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   20449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20450 /* end confdefs.h.  */
   20451 Does cpp redefine unix ?
   20452 _ACEOF
   20453 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20455 printf "%s\n" "no" >&6; }
   20456 else
   20457 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20458 		RAWCPPFLAGS=-undef
   20459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20460 printf "%s\n" "yes" >&6; }
   20461 	# under Cygwin unix is still defined even with -undef
   20462 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20463 		RAWCPPFLAGS="-undef -ansi"
   20464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   20465 printf "%s\n" "yes, with -ansi" >&6; }
   20466 	else
   20467 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   20468 	fi
   20469 fi
   20470 rm -f conftest.$ac_ext
   20471 
   20472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   20473 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20475 /* end confdefs.h.  */
   20476 Does cpp preserve   "whitespace"?
   20477 _ACEOF
   20478 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20480 printf "%s\n" "no" >&6; }
   20481 else
   20482 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20483 		TRADITIONALCPPFLAGS="-traditional"
   20484 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   20485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20486 printf "%s\n" "yes" >&6; }
   20487 	else
   20488 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   20489 	fi
   20490 fi
   20491 rm -f conftest.$ac_ext
   20492 
   20493 
   20494 
   20495 
   20496 
   20497 # Preserves the interface, should it be implemented later
   20498 
   20499 
   20500 
   20501 # Check whether --with-perl was given.
   20502 if test ${with_perl+y}
   20503 then :
   20504   withval=$with_perl; use_perl=$withval
   20505 else $as_nop
   20506   use_perl=auto
   20507 fi
   20508 
   20509 
   20510 
   20511 if test "x$use_perl" = x"auto"; then
   20512    # Extract the first word of "perl", so it can be a program name with args.
   20513 set dummy perl; ac_word=$2
   20514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20515 printf %s "checking for $ac_word... " >&6; }
   20516 if test ${ac_cv_path_PERL+y}
   20517 then :
   20518   printf %s "(cached) " >&6
   20519 else $as_nop
   20520   case $PERL in
   20521   [\\/]* | ?:[\\/]*)
   20522   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   20523   ;;
   20524   *)
   20525   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20526 for as_dir in $PATH
   20527 do
   20528   IFS=$as_save_IFS
   20529   case $as_dir in #(((
   20530     '') as_dir=./ ;;
   20531     */) ;;
   20532     *) as_dir=$as_dir/ ;;
   20533   esac
   20534     for ac_exec_ext in '' $ac_executable_extensions; do
   20535   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20536     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   20537     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20538     break 2
   20539   fi
   20540 done
   20541   done
   20542 IFS=$as_save_IFS
   20543 
   20544   ;;
   20545 esac
   20546 fi
   20547 PERL=$ac_cv_path_PERL
   20548 if test -n "$PERL"; then
   20549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   20550 printf "%s\n" "$PERL" >&6; }
   20551 else
   20552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20553 printf "%s\n" "no" >&6; }
   20554 fi
   20555 
   20556 
   20557    if test "x$PERL" = "x"; then
   20558         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   20559 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   20560 	have_perl=no
   20561    else
   20562         have_perl=yes
   20563    fi
   20564 elif test "x$use_perl" = x"yes" ; then
   20565    # Extract the first word of "perl", so it can be a program name with args.
   20566 set dummy perl; ac_word=$2
   20567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20568 printf %s "checking for $ac_word... " >&6; }
   20569 if test ${ac_cv_path_PERL+y}
   20570 then :
   20571   printf %s "(cached) " >&6
   20572 else $as_nop
   20573   case $PERL in
   20574   [\\/]* | ?:[\\/]*)
   20575   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   20576   ;;
   20577   *)
   20578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20579 for as_dir in $PATH
   20580 do
   20581   IFS=$as_save_IFS
   20582   case $as_dir in #(((
   20583     '') as_dir=./ ;;
   20584     */) ;;
   20585     *) as_dir=$as_dir/ ;;
   20586   esac
   20587     for ac_exec_ext in '' $ac_executable_extensions; do
   20588   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20589     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   20590     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20591     break 2
   20592   fi
   20593 done
   20594   done
   20595 IFS=$as_save_IFS
   20596 
   20597   ;;
   20598 esac
   20599 fi
   20600 PERL=$ac_cv_path_PERL
   20601 if test -n "$PERL"; then
   20602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   20603 printf "%s\n" "$PERL" >&6; }
   20604 else
   20605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20606 printf "%s\n" "no" >&6; }
   20607 fi
   20608 
   20609 
   20610    if test "x$PERL" = "x"; then
   20611         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   20612    fi
   20613    have_perl=yes
   20614 elif test "x$use_perl" = x"no" ; then
   20615    if test "x$PERL" != "x"; then
   20616       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   20617 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   20618    fi
   20619    have_perl=no
   20620 else
   20621    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   20622 fi
   20623 
   20624  if test "$have_perl" = yes; then
   20625   HAVE_PERL_TRUE=
   20626   HAVE_PERL_FALSE='#'
   20627 else
   20628   HAVE_PERL_TRUE='#'
   20629   HAVE_PERL_FALSE=
   20630 fi
   20631 
   20632 
   20633 
   20634 
   20635 # Checks for header files.
   20636 ac_fn_c_check_header_compile "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
   20637 if test "x$ac_cv_header_alloca_h" = xyes
   20638 then :
   20639 
   20640 printf "%s\n" "#define INCLUDE_ALLOCA_H 1" >>confdefs.h
   20641 
   20642 fi
   20643 
   20644 
   20645 # Checks for library functions.
   20646 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   20647 if test "x$ac_cv_func_reallocarray" = xyes
   20648 then :
   20649   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   20650 
   20651 fi
   20652 
   20653 
   20654 # Obtain compiler/linker options for dependencies
   20655 
   20656 pkg_failed=no
   20657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
   20658 printf %s "checking for XT... " >&6; }
   20659 
   20660 if test -n "$XT_CFLAGS"; then
   20661     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
   20662  elif test -n "$PKG_CONFIG"; then
   20663     if test -n "$PKG_CONFIG" && \
   20664     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   20665   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   20666   ac_status=$?
   20667   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20668   test $ac_status = 0; }; then
   20669   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm ice x11 xproto kbproto" 2>/dev/null`
   20670 		      test "x$?" != "x0" && pkg_failed=yes
   20671 else
   20672   pkg_failed=yes
   20673 fi
   20674  else
   20675     pkg_failed=untried
   20676 fi
   20677 if test -n "$XT_LIBS"; then
   20678     pkg_cv_XT_LIBS="$XT_LIBS"
   20679  elif test -n "$PKG_CONFIG"; then
   20680     if test -n "$PKG_CONFIG" && \
   20681     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   20682   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   20683   ac_status=$?
   20684   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20685   test $ac_status = 0; }; then
   20686   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm ice x11 xproto kbproto" 2>/dev/null`
   20687 		      test "x$?" != "x0" && pkg_failed=yes
   20688 else
   20689   pkg_failed=yes
   20690 fi
   20691  else
   20692     pkg_failed=untried
   20693 fi
   20694 
   20695 
   20696 
   20697 if test $pkg_failed = yes; then
   20698    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20699 printf "%s\n" "no" >&6; }
   20700 
   20701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20702         _pkg_short_errors_supported=yes
   20703 else
   20704         _pkg_short_errors_supported=no
   20705 fi
   20706         if test $_pkg_short_errors_supported = yes; then
   20707 	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm ice x11 xproto kbproto" 2>&1`
   20708         else
   20709 	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm ice x11 xproto kbproto" 2>&1`
   20710         fi
   20711 	# Put the nasty error message in config.log where it belongs
   20712 	echo "$XT_PKG_ERRORS" >&5
   20713 
   20714 	as_fn_error $? "Package requirements (sm ice x11 xproto kbproto) were not met:
   20715 
   20716 $XT_PKG_ERRORS
   20717 
   20718 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20719 installed software in a non-standard prefix.
   20720 
   20721 Alternatively, you may set the environment variables XT_CFLAGS
   20722 and XT_LIBS to avoid the need to call pkg-config.
   20723 See the pkg-config man page for more details." "$LINENO" 5
   20724 elif test $pkg_failed = untried; then
   20725      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20726 printf "%s\n" "no" >&6; }
   20727 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20728 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20729 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20730 is in your PATH or set the PKG_CONFIG environment variable to the full
   20731 path to pkg-config.
   20732 
   20733 Alternatively, you may set the environment variables XT_CFLAGS
   20734 and XT_LIBS to avoid the need to call pkg-config.
   20735 See the pkg-config man page for more details.
   20736 
   20737 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20738 See \`config.log' for more details" "$LINENO" 5; }
   20739 else
   20740 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   20741 	XT_LIBS=$pkg_cv_XT_LIBS
   20742         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20743 printf "%s\n" "yes" >&6; }
   20744 
   20745 fi
   20746 
   20747 # Set-up variables to use build machine compiler when cross-compiling
   20748 if test x"$CC_FOR_BUILD" = x; then
   20749 	if test x"$cross_compiling" = xyes; then
   20750 		for ac_prog in gcc cc
   20751 do
   20752   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20753 set dummy $ac_prog; ac_word=$2
   20754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20755 printf %s "checking for $ac_word... " >&6; }
   20756 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   20757 then :
   20758   printf %s "(cached) " >&6
   20759 else $as_nop
   20760   if test -n "$CC_FOR_BUILD"; then
   20761   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   20762 else
   20763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20764 for as_dir in $PATH
   20765 do
   20766   IFS=$as_save_IFS
   20767   case $as_dir in #(((
   20768     '') as_dir=./ ;;
   20769     */) ;;
   20770     *) as_dir=$as_dir/ ;;
   20771   esac
   20772     for ac_exec_ext in '' $ac_executable_extensions; do
   20773   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20774     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   20775     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20776     break 2
   20777   fi
   20778 done
   20779   done
   20780 IFS=$as_save_IFS
   20781 
   20782 fi
   20783 fi
   20784 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   20785 if test -n "$CC_FOR_BUILD"; then
   20786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   20787 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   20788 else
   20789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20790 printf "%s\n" "no" >&6; }
   20791 fi
   20792 
   20793 
   20794   test -n "$CC_FOR_BUILD" && break
   20795 done
   20796 
   20797 	else
   20798 		CC_FOR_BUILD="$CC"
   20799 	fi
   20800 fi
   20801 if test x"$cross_compiling" != xyes; then
   20802        : ${CFLAGS_FOR_BUILD=${CFLAGS}}
   20803        : ${LDFLAGS_FOR_BUILD=${LDFLAGS}}
   20804 fi
   20805 
   20806 DEFAULT_CPPFLAGS_FOR_BUILD="${CPPFLAGS}"
   20807 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   20808 if test "x$ac_cv_func_asprintf" = xyes
   20809 then :
   20810   DEFAULT_CPPFLAGS_FOR_BUILD="${DEFAULT_CPPFLAGS_FOR_BUILD} -DHAVE_ASPRINTF -D_GNU_SOURCE"
   20811 fi
   20812 
   20813 CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${DEFAULT_CPPFLAGS_FOR_BUILD}}
   20814 
   20815 DEFAULT_CFLAGS_FOR_BUILD="${CFLAGS} ${CWARNFLAGS}"
   20816 
   20817 
   20818 
   20819 # Map function checks to old Imake #defines
   20820 case $host_os in
   20821 	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
   20822 	darwin[789]*|darwin10*) ;;
   20823 	darwin*)
   20824 		_ac_xorg_macosx_version_min=""
   20825 		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   20826 			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   20827 		else
   20828 			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   20829 		fi
   20830 		case $_ac_xorg_macosx_version_min in
   20831 			10.[0123456]|10.[0123456].*) ;;
   20832 			*)
   20833 				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20834 if test "x$ac_cv_func_poll" = xyes
   20835 then :
   20836 
   20837 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   20838 
   20839 fi
   20840 
   20841 			;;
   20842 		esac
   20843 		unset _ac_xorg_macosx_version_min
   20844 		;;
   20845 	*)
   20846 		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20847 if test "x$ac_cv_func_poll" = xyes
   20848 then :
   20849 
   20850 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   20851 
   20852 fi
   20853 
   20854 	;;
   20855 esac
   20856 
   20857 # Link with winsock if mingw target
   20858 case $host_os in
   20859 	*mingw*)
   20860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20861 printf %s "checking for main in -lws2_32... " >&6; }
   20862 if test ${ac_cv_lib_ws2_32_main+y}
   20863 then :
   20864   printf %s "(cached) " >&6
   20865 else $as_nop
   20866   ac_check_lib_save_LIBS=$LIBS
   20867 LIBS="-lws2_32  $LIBS"
   20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20869 /* end confdefs.h.  */
   20870 
   20871 
   20872 int
   20873 main (void)
   20874 {
   20875 return main ();
   20876   ;
   20877   return 0;
   20878 }
   20879 _ACEOF
   20880 if ac_fn_c_try_link "$LINENO"
   20881 then :
   20882   ac_cv_lib_ws2_32_main=yes
   20883 else $as_nop
   20884   ac_cv_lib_ws2_32_main=no
   20885 fi
   20886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20887     conftest$ac_exeext conftest.$ac_ext
   20888 LIBS=$ac_check_lib_save_LIBS
   20889 fi
   20890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20891 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20892 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20893 then :
   20894   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20895 
   20896   LIBS="-lws2_32 $LIBS"
   20897 
   20898 fi
   20899 
   20900 	;;
   20901 	*)
   20902 	;;
   20903 esac
   20904 
   20905 # Options
   20906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XKB support is wanted" >&5
   20907 printf %s "checking if XKB support is wanted... " >&6; }
   20908 # Check whether --enable-xkb was given.
   20909 if test ${enable_xkb+y}
   20910 then :
   20911   enableval=$enable_xkb; XKB="$enableval"
   20912 else $as_nop
   20913   XKB="yes"
   20914 fi
   20915 
   20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XKB" >&5
   20917 printf "%s\n" "$XKB" >&6; }
   20918 if test "x$XKB" = "xyes" ; then
   20919 
   20920 printf "%s\n" "#define XKB 1" >>confdefs.h
   20921 
   20922 fi
   20923 
   20924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C const-support is wanted" >&5
   20925 printf %s "checking if C const-support is wanted... " >&6; }
   20926 # Check whether --enable-const was given.
   20927 if test ${enable_const+y}
   20928 then :
   20929   enableval=$enable_const; USE_CONST="$enableval"
   20930 else $as_nop
   20931   USE_CONST="yes"
   20932 fi
   20933 
   20934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_CONST" >&5
   20935 printf "%s\n" "$USE_CONST" >&6; }
   20936 if test "x$USE_CONST" = "xyes" ; then
   20937 
   20938 printf "%s\n" "#define _CONST_X_STRING 1" >>confdefs.h
   20939 
   20940 fi
   20941 
   20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if geo-tattler traces are wanted" >&5
   20943 printf %s "checking if geo-tattler traces are wanted... " >&6; }
   20944 # Check whether --enable-geo-tattler was given.
   20945 if test ${enable_geo_tattler+y}
   20946 then :
   20947   enableval=$enable_geo_tattler; GEO_TATTLER="$enableval"
   20948 else $as_nop
   20949   GEO_TATTLER="no"
   20950 fi
   20951 
   20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GEO_TATTLER" >&5
   20953 printf "%s\n" "$GEO_TATTLER" >&6; }
   20954 if test "x$GEO_TATTLER" = "xyes" ; then
   20955 
   20956 printf "%s\n" "#define XT_GEO_TATTLER 1" >>confdefs.h
   20957 
   20958 fi
   20959 
   20960 # --enable-unit-tests
   20961 
   20962 
   20963 
   20964 
   20965 
   20966 # Check for different types of support on different platforms
   20967 case $host_os in
   20968     solaris*)
   20969         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   20970 printf %s "checking for umem_alloc in -lumem... " >&6; }
   20971 if test ${ac_cv_lib_umem_umem_alloc+y}
   20972 then :
   20973   printf %s "(cached) " >&6
   20974 else $as_nop
   20975   ac_check_lib_save_LIBS=$LIBS
   20976 LIBS="-lumem  $LIBS"
   20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20978 /* end confdefs.h.  */
   20979 
   20980 /* Override any GCC internal prototype to avoid an error.
   20981    Use char because int might match the return type of a GCC
   20982    builtin and then its argument prototype would still apply.  */
   20983 char umem_alloc ();
   20984 int
   20985 main (void)
   20986 {
   20987 return umem_alloc ();
   20988   ;
   20989   return 0;
   20990 }
   20991 _ACEOF
   20992 if ac_fn_c_try_link "$LINENO"
   20993 then :
   20994   ac_cv_lib_umem_umem_alloc=yes
   20995 else $as_nop
   20996   ac_cv_lib_umem_umem_alloc=no
   20997 fi
   20998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20999     conftest$ac_exeext conftest.$ac_ext
   21000 LIBS=$ac_check_lib_save_LIBS
   21001 fi
   21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21003 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   21004 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21005 then :
   21006   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21007 fi
   21008 
   21009         ;;
   21010     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21011         # both directly and inverted, so should not be 0 or 255.
   21012         malloc_debug_env='MALLOC_PERTURB_=15'
   21013         ;;
   21014     darwin*)
   21015         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21016         ;;
   21017     *bsd*)
   21018         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21019         ;;
   21020 esac
   21021 
   21022 # User supplied flags override default flags
   21023 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21024     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21025 fi
   21026 
   21027 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21028 
   21029 
   21030 
   21031 
   21032 
   21033 
   21034 
   21035 # Check whether --enable-unit-tests was given.
   21036 if test ${enable_unit_tests+y}
   21037 then :
   21038   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   21039 else $as_nop
   21040   enable_unit_tests=auto
   21041 fi
   21042 
   21043 
   21044  if test "x$enable_unit_tests" != xno; then
   21045   ENABLE_UNIT_TESTS_TRUE=
   21046   ENABLE_UNIT_TESTS_FALSE='#'
   21047 else
   21048   ENABLE_UNIT_TESTS_TRUE='#'
   21049   ENABLE_UNIT_TESTS_FALSE=
   21050 fi
   21051 
   21052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   21053 printf %s "checking whether to build unit test cases... " >&6; }
   21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   21055 printf "%s\n" "$enable_unit_tests" >&6; }
   21056 
   21057 
   21058 
   21059 
   21060 
   21061 # Check whether --with-glib was given.
   21062 if test ${with_glib+y}
   21063 then :
   21064   withval=$with_glib; with_glib=$withval
   21065 else $as_nop
   21066   with_glib=auto
   21067 fi
   21068 
   21069 
   21070 
   21071 have_glib=no
   21072 # Do not probe GLib if user explicitly disabled unit testing
   21073 if test "x$enable_unit_tests" != x"no"; then
   21074   # Do not probe GLib if user explicitly disabled it
   21075   if test "x$with_glib" != x"no"; then
   21076 
   21077 pkg_failed=no
   21078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   21079 printf %s "checking for GLIB... " >&6; }
   21080 
   21081 if test -n "$GLIB_CFLAGS"; then
   21082     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   21083  elif test -n "$PKG_CONFIG"; then
   21084     if test -n "$PKG_CONFIG" && \
   21085     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.40\""; } >&5
   21086   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.40") 2>&5
   21087   ac_status=$?
   21088   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21089   test $ac_status = 0; }; then
   21090   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.40" 2>/dev/null`
   21091 		      test "x$?" != "x0" && pkg_failed=yes
   21092 else
   21093   pkg_failed=yes
   21094 fi
   21095  else
   21096     pkg_failed=untried
   21097 fi
   21098 if test -n "$GLIB_LIBS"; then
   21099     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   21100  elif test -n "$PKG_CONFIG"; then
   21101     if test -n "$PKG_CONFIG" && \
   21102     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.40\""; } >&5
   21103   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.40") 2>&5
   21104   ac_status=$?
   21105   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21106   test $ac_status = 0; }; then
   21107   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.40" 2>/dev/null`
   21108 		      test "x$?" != "x0" && pkg_failed=yes
   21109 else
   21110   pkg_failed=yes
   21111 fi
   21112  else
   21113     pkg_failed=untried
   21114 fi
   21115 
   21116 
   21117 
   21118 if test $pkg_failed = yes; then
   21119    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21120 printf "%s\n" "no" >&6; }
   21121 
   21122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21123         _pkg_short_errors_supported=yes
   21124 else
   21125         _pkg_short_errors_supported=no
   21126 fi
   21127         if test $_pkg_short_errors_supported = yes; then
   21128 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.40" 2>&1`
   21129         else
   21130 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.40" 2>&1`
   21131         fi
   21132 	# Put the nasty error message in config.log where it belongs
   21133 	echo "$GLIB_PKG_ERRORS" >&5
   21134 
   21135 	have_glib=no
   21136 elif test $pkg_failed = untried; then
   21137      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21138 printf "%s\n" "no" >&6; }
   21139 	have_glib=no
   21140 else
   21141 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   21142 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   21143         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21144 printf "%s\n" "yes" >&6; }
   21145 	have_glib=yes
   21146 fi
   21147   fi
   21148 fi
   21149 
   21150 # Not having GLib when unit testing has been explicitly requested is an error
   21151 if test "x$enable_unit_tests" = x"yes"; then
   21152   if test "x$have_glib" = x"no"; then
   21153     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21154   fi
   21155 fi
   21156 
   21157 # Having unit testing disabled when GLib has been explicitly requested is an error
   21158 if test "x$enable_unit_tests" = x"no"; then
   21159   if test "x$with_glib" = x"yes"; then
   21160     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21161   fi
   21162 fi
   21163 
   21164 # Not having GLib when it has been explicitly requested is an error
   21165 if test "x$with_glib" = x"yes"; then
   21166   if test "x$have_glib" = x"no"; then
   21167     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   21168   fi
   21169 fi
   21170 
   21171  if test "$have_glib" = yes; then
   21172   HAVE_GLIB_TRUE=
   21173   HAVE_GLIB_FALSE='#'
   21174 else
   21175   HAVE_GLIB_TRUE='#'
   21176   HAVE_GLIB_FALSE=
   21177 fi
   21178 
   21179 
   21180 
   21181 
   21182 
   21183 
   21184 
   21185 # Check for different types of support on different platforms
   21186 case $host_os in
   21187     solaris*)
   21188         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   21189 printf %s "checking for umem_alloc in -lumem... " >&6; }
   21190 if test ${ac_cv_lib_umem_umem_alloc+y}
   21191 then :
   21192   printf %s "(cached) " >&6
   21193 else $as_nop
   21194   ac_check_lib_save_LIBS=$LIBS
   21195 LIBS="-lumem  $LIBS"
   21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21197 /* end confdefs.h.  */
   21198 
   21199 /* Override any GCC internal prototype to avoid an error.
   21200    Use char because int might match the return type of a GCC
   21201    builtin and then its argument prototype would still apply.  */
   21202 char umem_alloc ();
   21203 int
   21204 main (void)
   21205 {
   21206 return umem_alloc ();
   21207   ;
   21208   return 0;
   21209 }
   21210 _ACEOF
   21211 if ac_fn_c_try_link "$LINENO"
   21212 then :
   21213   ac_cv_lib_umem_umem_alloc=yes
   21214 else $as_nop
   21215   ac_cv_lib_umem_umem_alloc=no
   21216 fi
   21217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21218     conftest$ac_exeext conftest.$ac_ext
   21219 LIBS=$ac_check_lib_save_LIBS
   21220 fi
   21221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21222 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   21223 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21224 then :
   21225   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21226 fi
   21227 
   21228         ;;
   21229     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21230         # both directly and inverted, so should not be 0 or 255.
   21231         malloc_debug_env='MALLOC_PERTURB_=15'
   21232         ;;
   21233     darwin*)
   21234         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21235         ;;
   21236     *bsd*)
   21237         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21238         ;;
   21239 esac
   21240 
   21241 # User supplied flags override default flags
   21242 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21243     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21244 fi
   21245 
   21246 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21247 
   21248 
   21249 if test "x$enable_unit_tests" != "xno" ; then
   21250 	ac_fn_c_check_func "$LINENO" "malloc_usable_size" "ac_cv_func_malloc_usable_size"
   21251 if test "x$ac_cv_func_malloc_usable_size" = xyes
   21252 then :
   21253   printf "%s\n" "#define HAVE_MALLOC_USABLE_SIZE 1" >>confdefs.h
   21254 
   21255 fi
   21256 
   21257 	ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
   21258 if test "x$ac_cv_header_malloc_h" = xyes
   21259 then :
   21260   printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
   21261 
   21262 fi
   21263 
   21264 fi
   21265 
   21266 # Replaces XFileSearchPathDefault from Imake configs
   21267 XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S'
   21268 
   21269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X files search path" >&5
   21270 printf %s "checking for X files search path... " >&6; }
   21271 
   21272 # Check whether --with-xfile-search-path was given.
   21273 if test ${with_xfile_search_path+y}
   21274 then :
   21275   withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
   21276 fi
   21277 
   21278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${XFILESEARCHPATHDEFAULT:-none}" >&5
   21279 printf "%s\n" "${XFILESEARCHPATHDEFAULT:-none}" >&6; }
   21280 
   21281 
   21282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X app-defaults directory" >&5
   21283 printf %s "checking for X app-defaults directory... " >&6; }
   21284 
   21285 # Check whether --with-appdefaultdir was given.
   21286 if test ${with_appdefaultdir+y}
   21287 then :
   21288   withval=$with_appdefaultdir; appdefaultdir="$withval"
   21289 else $as_nop
   21290   appdefaultdir=${datadir}/X11/app-defaults
   21291 fi
   21292 
   21293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $appdefaultdir" >&5
   21294 printf "%s\n" "$appdefaultdir" >&6; }
   21295 
   21296   prefix_NONE=
   21297   exec_prefix_NONE=
   21298   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   21299   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   21300   eval ax_define_dir="\"$appdefaultdir\""
   21301   eval ax_define_dir="\"$ax_define_dir\""
   21302   appdefaultdir="$ax_define_dir"
   21303 
   21304 
   21305 printf "%s\n" "#define appdefaultdir \"$ax_define_dir\"" >>confdefs.h
   21306 
   21307   test "$prefix_NONE" && prefix=NONE
   21308   test "$exec_prefix_NONE" && exec_prefix=NONE
   21309 
   21310 
   21311 # Replacement for Imake ToolkitStringsABIOptions, controls string tables
   21312 # generated by util/string.list in StringDefs.h & Shell.h
   21313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ABI options" >&5
   21314 printf %s "checking for ABI options... " >&6; }
   21315 case $host_os in
   21316 	solaris*)
   21317 		# Solaris uses -intelabi even on SPARC
   21318 		STRINGSABIOPTIONS="-intelabi -solarisabinames"
   21319 		;;
   21320 	sco* | svr4*)
   21321 		case $host_cpu in
   21322 		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
   21323 		       *) STRINGSABIOPTIONS="" ;;
   21324 		esac
   21325 		;;
   21326 esac
   21327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${STRINGSABIOPTIONS:-none}" >&5
   21328 printf "%s\n" "${STRINGSABIOPTIONS:-none}" >&6; }
   21329 
   21330 
   21331 ERRORDBDIR=${datadir}/X11
   21332 
   21333 
   21334 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile specs/Makefile specs/libXt.ent test/Makefile xt.pc"
   21335 
   21336 cat >confcache <<\_ACEOF
   21337 # This file is a shell script that caches the results of configure
   21338 # tests run on this system so they can be shared between configure
   21339 # scripts and configure runs, see configure's option --config-cache.
   21340 # It is not useful on other systems.  If it contains results you don't
   21341 # want to keep, you may remove or edit it.
   21342 #
   21343 # config.status only pays attention to the cache file if you give it
   21344 # the --recheck option to rerun configure.
   21345 #
   21346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21348 # following values.
   21349 
   21350 _ACEOF
   21351 
   21352 # The following way of writing the cache mishandles newlines in values,
   21353 # but we know of no workaround that is simple, portable, and efficient.
   21354 # So, we kill variables containing newlines.
   21355 # Ultrix sh set writes to stderr and can't be redirected directly,
   21356 # and sets the high bit in the cache file unless we assign to the vars.
   21357 (
   21358   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21359     eval ac_val=\$$ac_var
   21360     case $ac_val in #(
   21361     *${as_nl}*)
   21362       case $ac_var in #(
   21363       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21364 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21365       esac
   21366       case $ac_var in #(
   21367       _ | IFS | as_nl) ;; #(
   21368       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21369       *) { eval $ac_var=; unset $ac_var;} ;;
   21370       esac ;;
   21371     esac
   21372   done
   21373 
   21374   (set) 2>&1 |
   21375     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21376     *${as_nl}ac_space=\ *)
   21377       # `set' does not quote correctly, so add quotes: double-quote
   21378       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21379       sed -n \
   21380 	"s/'/'\\\\''/g;
   21381 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21382       ;; #(
   21383     *)
   21384       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21385       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21386       ;;
   21387     esac |
   21388     sort
   21389 ) |
   21390   sed '
   21391      /^ac_cv_env_/b end
   21392      t clear
   21393      :clear
   21394      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21395      t end
   21396      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21397      :end' >>confcache
   21398 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21399   if test -w "$cache_file"; then
   21400     if test "x$cache_file" != "x/dev/null"; then
   21401       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21402 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21403       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21404 	cat confcache >"$cache_file"
   21405       else
   21406         case $cache_file in #(
   21407         */* | ?:*)
   21408 	  mv -f confcache "$cache_file"$$ &&
   21409 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21410         *)
   21411 	  mv -f confcache "$cache_file" ;;
   21412 	esac
   21413       fi
   21414     fi
   21415   else
   21416     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21417 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21418   fi
   21419 fi
   21420 rm -f confcache
   21421 
   21422 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21423 # Let make expand exec_prefix.
   21424 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21425 
   21426 DEFS=-DHAVE_CONFIG_H
   21427 
   21428 ac_libobjs=
   21429 ac_ltlibobjs=
   21430 U=
   21431 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21432   # 1. Remove the extension, and $U if already installed.
   21433   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21434   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21435   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21436   #    will be set to the directory where LIBOBJS objects are built.
   21437   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21438   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21439 done
   21440 LIBOBJS=$ac_libobjs
   21441 
   21442 LTLIBOBJS=$ac_ltlibobjs
   21443 
   21444 
   21445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21446 printf %s "checking that generated files are newer than configure... " >&6; }
   21447    if test -n "$am_sleep_pid"; then
   21448      # Hide warnings about reused PIDs.
   21449      wait $am_sleep_pid 2>/dev/null
   21450    fi
   21451    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21452 printf "%s\n" "done" >&6; }
   21453 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21454   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21456 fi
   21457 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21458   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21460 fi
   21461  if test -n "$EXEEXT"; then
   21462   am__EXEEXT_TRUE=
   21463   am__EXEEXT_FALSE='#'
   21464 else
   21465   am__EXEEXT_TRUE='#'
   21466   am__EXEEXT_FALSE=
   21467 fi
   21468 
   21469 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   21470   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   21471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21472 fi
   21473 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21474   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21476 fi
   21477 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21478   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21480 fi
   21481 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21482   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21484 fi
   21485 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   21486   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   21487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21488 fi
   21489 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21490   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21492 fi
   21493 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   21494   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   21495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21496 fi
   21497 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   21498   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   21499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21500 fi
   21501 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   21502   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   21503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21504 fi
   21505 
   21506 : "${CONFIG_STATUS=./config.status}"
   21507 ac_write_fail=0
   21508 ac_clean_files_save=$ac_clean_files
   21509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21511 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21512 as_write_fail=0
   21513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21514 #! $SHELL
   21515 # Generated by $as_me.
   21516 # Run this file to recreate the current configuration.
   21517 # Compiler output produced by configure, useful for debugging
   21518 # configure, is in config.log if it exists.
   21519 
   21520 debug=false
   21521 ac_cs_recheck=false
   21522 ac_cs_silent=false
   21523 
   21524 SHELL=\${CONFIG_SHELL-$SHELL}
   21525 export SHELL
   21526 _ASEOF
   21527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21528 ## -------------------- ##
   21529 ## M4sh Initialization. ##
   21530 ## -------------------- ##
   21531 
   21532 # Be more Bourne compatible
   21533 DUALCASE=1; export DUALCASE # for MKS sh
   21534 as_nop=:
   21535 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21536 then :
   21537   emulate sh
   21538   NULLCMD=:
   21539   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21540   # is contrary to our usage.  Disable this feature.
   21541   alias -g '${1+"$@"}'='"$@"'
   21542   setopt NO_GLOB_SUBST
   21543 else $as_nop
   21544   case `(set -o) 2>/dev/null` in #(
   21545   *posix*) :
   21546     set -o posix ;; #(
   21547   *) :
   21548      ;;
   21549 esac
   21550 fi
   21551 
   21552 
   21553 
   21554 # Reset variables that may have inherited troublesome values from
   21555 # the environment.
   21556 
   21557 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21558 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21559 # side effect of setting IFS to empty, thus disabling word splitting.)
   21560 # Quoting is to prevent editors from complaining about space-tab.
   21561 as_nl='
   21562 '
   21563 export as_nl
   21564 IFS=" ""	$as_nl"
   21565 
   21566 PS1='$ '
   21567 PS2='> '
   21568 PS4='+ '
   21569 
   21570 # Ensure predictable behavior from utilities with locale-dependent output.
   21571 LC_ALL=C
   21572 export LC_ALL
   21573 LANGUAGE=C
   21574 export LANGUAGE
   21575 
   21576 # We cannot yet rely on "unset" to work, but we need these variables
   21577 # to be unset--not just set to an empty or harmless value--now, to
   21578 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21579 # also avoids known problems related to "unset" and subshell syntax
   21580 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21581 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21582 do eval test \${$as_var+y} \
   21583   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21584 done
   21585 
   21586 # Ensure that fds 0, 1, and 2 are open.
   21587 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21588 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21589 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21590 
   21591 # The user is always right.
   21592 if ${PATH_SEPARATOR+false} :; then
   21593   PATH_SEPARATOR=:
   21594   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21595     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21596       PATH_SEPARATOR=';'
   21597   }
   21598 fi
   21599 
   21600 
   21601 # Find who we are.  Look in the path if we contain no directory separator.
   21602 as_myself=
   21603 case $0 in #((
   21604   *[\\/]* ) as_myself=$0 ;;
   21605   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21606 for as_dir in $PATH
   21607 do
   21608   IFS=$as_save_IFS
   21609   case $as_dir in #(((
   21610     '') as_dir=./ ;;
   21611     */) ;;
   21612     *) as_dir=$as_dir/ ;;
   21613   esac
   21614     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21615   done
   21616 IFS=$as_save_IFS
   21617 
   21618      ;;
   21619 esac
   21620 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21621 # in which case we are not to be found in the path.
   21622 if test "x$as_myself" = x; then
   21623   as_myself=$0
   21624 fi
   21625 if test ! -f "$as_myself"; then
   21626   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21627   exit 1
   21628 fi
   21629 
   21630 
   21631 
   21632 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21633 # ----------------------------------------
   21634 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21635 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21636 # script with STATUS, using 1 if that was 0.
   21637 as_fn_error ()
   21638 {
   21639   as_status=$1; test $as_status -eq 0 && as_status=1
   21640   if test "$4"; then
   21641     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21642     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21643   fi
   21644   printf "%s\n" "$as_me: error: $2" >&2
   21645   as_fn_exit $as_status
   21646 } # as_fn_error
   21647 
   21648 
   21649 
   21650 # as_fn_set_status STATUS
   21651 # -----------------------
   21652 # Set $? to STATUS, without forking.
   21653 as_fn_set_status ()
   21654 {
   21655   return $1
   21656 } # as_fn_set_status
   21657 
   21658 # as_fn_exit STATUS
   21659 # -----------------
   21660 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21661 as_fn_exit ()
   21662 {
   21663   set +e
   21664   as_fn_set_status $1
   21665   exit $1
   21666 } # as_fn_exit
   21667 
   21668 # as_fn_unset VAR
   21669 # ---------------
   21670 # Portably unset VAR.
   21671 as_fn_unset ()
   21672 {
   21673   { eval $1=; unset $1;}
   21674 }
   21675 as_unset=as_fn_unset
   21676 
   21677 # as_fn_append VAR VALUE
   21678 # ----------------------
   21679 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21680 # advantage of any shell optimizations that allow amortized linear growth over
   21681 # repeated appends, instead of the typical quadratic growth present in naive
   21682 # implementations.
   21683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21684 then :
   21685   eval 'as_fn_append ()
   21686   {
   21687     eval $1+=\$2
   21688   }'
   21689 else $as_nop
   21690   as_fn_append ()
   21691   {
   21692     eval $1=\$$1\$2
   21693   }
   21694 fi # as_fn_append
   21695 
   21696 # as_fn_arith ARG...
   21697 # ------------------
   21698 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21700 # must be portable across $(()) and expr.
   21701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21702 then :
   21703   eval 'as_fn_arith ()
   21704   {
   21705     as_val=$(( $* ))
   21706   }'
   21707 else $as_nop
   21708   as_fn_arith ()
   21709   {
   21710     as_val=`expr "$@" || test $? -eq 1`
   21711   }
   21712 fi # as_fn_arith
   21713 
   21714 
   21715 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21716    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21717   as_expr=expr
   21718 else
   21719   as_expr=false
   21720 fi
   21721 
   21722 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21723   as_basename=basename
   21724 else
   21725   as_basename=false
   21726 fi
   21727 
   21728 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21729   as_dirname=dirname
   21730 else
   21731   as_dirname=false
   21732 fi
   21733 
   21734 as_me=`$as_basename -- "$0" ||
   21735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21736 	 X"$0" : 'X\(//\)$' \| \
   21737 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21738 printf "%s\n" X/"$0" |
   21739     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21740 	    s//\1/
   21741 	    q
   21742 	  }
   21743 	  /^X\/\(\/\/\)$/{
   21744 	    s//\1/
   21745 	    q
   21746 	  }
   21747 	  /^X\/\(\/\).*/{
   21748 	    s//\1/
   21749 	    q
   21750 	  }
   21751 	  s/.*/./; q'`
   21752 
   21753 # Avoid depending upon Character Ranges.
   21754 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21755 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21756 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21757 as_cr_digits='0123456789'
   21758 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21759 
   21760 
   21761 # Determine whether it's possible to make 'echo' print without a newline.
   21762 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21763 # for compatibility with existing Makefiles.
   21764 ECHO_C= ECHO_N= ECHO_T=
   21765 case `echo -n x` in #(((((
   21766 -n*)
   21767   case `echo 'xy\c'` in
   21768   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21769   xy)  ECHO_C='\c';;
   21770   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21771        ECHO_T='	';;
   21772   esac;;
   21773 *)
   21774   ECHO_N='-n';;
   21775 esac
   21776 
   21777 # For backward compatibility with old third-party macros, we provide
   21778 # the shell variables $as_echo and $as_echo_n.  New code should use
   21779 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21780 as_echo='printf %s\n'
   21781 as_echo_n='printf %s'
   21782 
   21783 rm -f conf$$ conf$$.exe conf$$.file
   21784 if test -d conf$$.dir; then
   21785   rm -f conf$$.dir/conf$$.file
   21786 else
   21787   rm -f conf$$.dir
   21788   mkdir conf$$.dir 2>/dev/null
   21789 fi
   21790 if (echo >conf$$.file) 2>/dev/null; then
   21791   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21792     as_ln_s='ln -s'
   21793     # ... but there are two gotchas:
   21794     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21795     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21796     # In both cases, we have to default to `cp -pR'.
   21797     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21798       as_ln_s='cp -pR'
   21799   elif ln conf$$.file conf$$ 2>/dev/null; then
   21800     as_ln_s=ln
   21801   else
   21802     as_ln_s='cp -pR'
   21803   fi
   21804 else
   21805   as_ln_s='cp -pR'
   21806 fi
   21807 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21808 rmdir conf$$.dir 2>/dev/null
   21809 
   21810 
   21811 # as_fn_mkdir_p
   21812 # -------------
   21813 # Create "$as_dir" as a directory, including parents if necessary.
   21814 as_fn_mkdir_p ()
   21815 {
   21816 
   21817   case $as_dir in #(
   21818   -*) as_dir=./$as_dir;;
   21819   esac
   21820   test -d "$as_dir" || eval $as_mkdir_p || {
   21821     as_dirs=
   21822     while :; do
   21823       case $as_dir in #(
   21824       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21825       *) as_qdir=$as_dir;;
   21826       esac
   21827       as_dirs="'$as_qdir' $as_dirs"
   21828       as_dir=`$as_dirname -- "$as_dir" ||
   21829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21830 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21831 	 X"$as_dir" : 'X\(//\)$' \| \
   21832 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21833 printf "%s\n" X"$as_dir" |
   21834     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21835 	    s//\1/
   21836 	    q
   21837 	  }
   21838 	  /^X\(\/\/\)[^/].*/{
   21839 	    s//\1/
   21840 	    q
   21841 	  }
   21842 	  /^X\(\/\/\)$/{
   21843 	    s//\1/
   21844 	    q
   21845 	  }
   21846 	  /^X\(\/\).*/{
   21847 	    s//\1/
   21848 	    q
   21849 	  }
   21850 	  s/.*/./; q'`
   21851       test -d "$as_dir" && break
   21852     done
   21853     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21854   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21855 
   21856 
   21857 } # as_fn_mkdir_p
   21858 if mkdir -p . 2>/dev/null; then
   21859   as_mkdir_p='mkdir -p "$as_dir"'
   21860 else
   21861   test -d ./-p && rmdir ./-p
   21862   as_mkdir_p=false
   21863 fi
   21864 
   21865 
   21866 # as_fn_executable_p FILE
   21867 # -----------------------
   21868 # Test if FILE is an executable regular file.
   21869 as_fn_executable_p ()
   21870 {
   21871   test -f "$1" && test -x "$1"
   21872 } # as_fn_executable_p
   21873 as_test_x='test -x'
   21874 as_executable_p=as_fn_executable_p
   21875 
   21876 # Sed expression to map a string onto a valid CPP name.
   21877 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21878 
   21879 # Sed expression to map a string onto a valid variable name.
   21880 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21881 
   21882 
   21883 exec 6>&1
   21884 ## ----------------------------------- ##
   21885 ## Main body of $CONFIG_STATUS script. ##
   21886 ## ----------------------------------- ##
   21887 _ASEOF
   21888 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21889 
   21890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21891 # Save the log message, to keep $0 and so on meaningful, and to
   21892 # report actual input values of CONFIG_FILES etc. instead of their
   21893 # values after options handling.
   21894 ac_log="
   21895 This file was extended by libXt $as_me 1.3.0, which was
   21896 generated by GNU Autoconf 2.71.  Invocation command line was
   21897 
   21898   CONFIG_FILES    = $CONFIG_FILES
   21899   CONFIG_HEADERS  = $CONFIG_HEADERS
   21900   CONFIG_LINKS    = $CONFIG_LINKS
   21901   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21902   $ $0 $@
   21903 
   21904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21905 "
   21906 
   21907 _ACEOF
   21908 
   21909 case $ac_config_files in *"
   21910 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21911 esac
   21912 
   21913 case $ac_config_headers in *"
   21914 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21915 esac
   21916 
   21917 
   21918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21919 # Files that config.status was made for.
   21920 config_files="$ac_config_files"
   21921 config_headers="$ac_config_headers"
   21922 config_commands="$ac_config_commands"
   21923 
   21924 _ACEOF
   21925 
   21926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21927 ac_cs_usage="\
   21928 \`$as_me' instantiates files and other configuration actions
   21929 from templates according to the current configuration.  Unless the files
   21930 and actions are specified as TAGs, all are instantiated by default.
   21931 
   21932 Usage: $0 [OPTION]... [TAG]...
   21933 
   21934   -h, --help       print this help, then exit
   21935   -V, --version    print version number and configuration settings, then exit
   21936       --config     print configuration, then exit
   21937   -q, --quiet, --silent
   21938                    do not print progress messages
   21939   -d, --debug      don't remove temporary files
   21940       --recheck    update $as_me by reconfiguring in the same conditions
   21941       --file=FILE[:TEMPLATE]
   21942                    instantiate the configuration file FILE
   21943       --header=FILE[:TEMPLATE]
   21944                    instantiate the configuration header FILE
   21945 
   21946 Configuration files:
   21947 $config_files
   21948 
   21949 Configuration headers:
   21950 $config_headers
   21951 
   21952 Configuration commands:
   21953 $config_commands
   21954 
   21955 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/>."
   21956 
   21957 _ACEOF
   21958 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21959 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21961 ac_cs_config='$ac_cs_config_escaped'
   21962 ac_cs_version="\\
   21963 libXt config.status 1.3.0
   21964 configured by $0, generated by GNU Autoconf 2.71,
   21965   with options \\"\$ac_cs_config\\"
   21966 
   21967 Copyright (C) 2021 Free Software Foundation, Inc.
   21968 This config.status script is free software; the Free Software Foundation
   21969 gives unlimited permission to copy, distribute and modify it."
   21970 
   21971 ac_pwd='$ac_pwd'
   21972 srcdir='$srcdir'
   21973 INSTALL='$INSTALL'
   21974 MKDIR_P='$MKDIR_P'
   21975 AWK='$AWK'
   21976 test -n "\$AWK" || AWK=awk
   21977 _ACEOF
   21978 
   21979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21980 # The default lists apply if the user does not specify any file.
   21981 ac_need_defaults=:
   21982 while test $# != 0
   21983 do
   21984   case $1 in
   21985   --*=?*)
   21986     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21987     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21988     ac_shift=:
   21989     ;;
   21990   --*=)
   21991     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21992     ac_optarg=
   21993     ac_shift=:
   21994     ;;
   21995   *)
   21996     ac_option=$1
   21997     ac_optarg=$2
   21998     ac_shift=shift
   21999     ;;
   22000   esac
   22001 
   22002   case $ac_option in
   22003   # Handling of the options.
   22004   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22005     ac_cs_recheck=: ;;
   22006   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22007     printf "%s\n" "$ac_cs_version"; exit ;;
   22008   --config | --confi | --conf | --con | --co | --c )
   22009     printf "%s\n" "$ac_cs_config"; exit ;;
   22010   --debug | --debu | --deb | --de | --d | -d )
   22011     debug=: ;;
   22012   --file | --fil | --fi | --f )
   22013     $ac_shift
   22014     case $ac_optarg in
   22015     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22016     '') as_fn_error $? "missing file argument" ;;
   22017     esac
   22018     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22019     ac_need_defaults=false;;
   22020   --header | --heade | --head | --hea )
   22021     $ac_shift
   22022     case $ac_optarg in
   22023     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22024     esac
   22025     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22026     ac_need_defaults=false;;
   22027   --he | --h)
   22028     # Conflict between --help and --header
   22029     as_fn_error $? "ambiguous option: \`$1'
   22030 Try \`$0 --help' for more information.";;
   22031   --help | --hel | -h )
   22032     printf "%s\n" "$ac_cs_usage"; exit ;;
   22033   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22034   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22035     ac_cs_silent=: ;;
   22036 
   22037   # This is an error.
   22038   -*) as_fn_error $? "unrecognized option: \`$1'
   22039 Try \`$0 --help' for more information." ;;
   22040 
   22041   *) as_fn_append ac_config_targets " $1"
   22042      ac_need_defaults=false ;;
   22043 
   22044   esac
   22045   shift
   22046 done
   22047 
   22048 ac_configure_extra_args=
   22049 
   22050 if $ac_cs_silent; then
   22051   exec 6>/dev/null
   22052   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22053 fi
   22054 
   22055 _ACEOF
   22056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22057 if \$ac_cs_recheck; then
   22058   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22059   shift
   22060   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22061   CONFIG_SHELL='$SHELL'
   22062   export CONFIG_SHELL
   22063   exec "\$@"
   22064 fi
   22065 
   22066 _ACEOF
   22067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22068 exec 5>>config.log
   22069 {
   22070   echo
   22071   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22072 ## Running $as_me. ##
   22073 _ASBOX
   22074   printf "%s\n" "$ac_log"
   22075 } >&5
   22076 
   22077 _ACEOF
   22078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22079 #
   22080 # INIT-COMMANDS
   22081 #
   22082 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22083 
   22084 
   22085 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22086 # if CDPATH is set.
   22087 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22088 
   22089 sed_quote_subst='$sed_quote_subst'
   22090 double_quote_subst='$double_quote_subst'
   22091 delay_variable_subst='$delay_variable_subst'
   22092 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22093 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22094 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22095 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22096 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22097 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22098 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22099 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22100 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22101 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22102 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22103 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22104 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22105 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22106 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22107 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22108 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22109 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22110 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22111 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22112 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22113 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22114 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22115 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22116 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22117 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22118 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22119 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22120 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22121 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22122 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22123 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22124 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22125 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22126 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22127 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22128 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22129 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22130 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22131 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22132 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22133 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22134 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22135 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22136 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22137 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22138 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22139 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22140 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22141 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22142 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22143 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22144 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22145 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22146 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22147 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22148 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22149 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22150 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22151 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22152 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"`'
   22153 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22154 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22155 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22156 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22157 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22158 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22159 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22160 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22162 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22163 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22164 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22165 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22189 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22190 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22191 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22192 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22193 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22194 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22195 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22196 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22197 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22198 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22199 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22200 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22201 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22202 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22203 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22204 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22205 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22206 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22207 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22208 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22209 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22210 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22211 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22212 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22213 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22214 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22215 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22216 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22217 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22218 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22219 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22220 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22221 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22222 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22223 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22224 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22225 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22226 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22227 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22228 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22229 
   22230 LTCC='$LTCC'
   22231 LTCFLAGS='$LTCFLAGS'
   22232 compiler='$compiler_DEFAULT'
   22233 
   22234 # A function that is used when there is no print builtin or printf.
   22235 func_fallback_echo ()
   22236 {
   22237   eval 'cat <<_LTECHO_EOF
   22238 \$1
   22239 _LTECHO_EOF'
   22240 }
   22241 
   22242 # Quote evaled strings.
   22243 for var in SHELL \
   22244 ECHO \
   22245 PATH_SEPARATOR \
   22246 SED \
   22247 GREP \
   22248 EGREP \
   22249 FGREP \
   22250 LD \
   22251 NM \
   22252 LN_S \
   22253 lt_SP2NL \
   22254 lt_NL2SP \
   22255 reload_flag \
   22256 FILECMD \
   22257 OBJDUMP \
   22258 deplibs_check_method \
   22259 file_magic_cmd \
   22260 file_magic_glob \
   22261 want_nocaseglob \
   22262 DLLTOOL \
   22263 sharedlib_from_linklib_cmd \
   22264 AR \
   22265 archiver_list_spec \
   22266 STRIP \
   22267 RANLIB \
   22268 CC \
   22269 CFLAGS \
   22270 compiler \
   22271 lt_cv_sys_global_symbol_pipe \
   22272 lt_cv_sys_global_symbol_to_cdecl \
   22273 lt_cv_sys_global_symbol_to_import \
   22274 lt_cv_sys_global_symbol_to_c_name_address \
   22275 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22276 lt_cv_nm_interface \
   22277 nm_file_list_spec \
   22278 lt_cv_truncate_bin \
   22279 lt_prog_compiler_no_builtin_flag \
   22280 lt_prog_compiler_pic \
   22281 lt_prog_compiler_wl \
   22282 lt_prog_compiler_static \
   22283 lt_cv_prog_compiler_c_o \
   22284 need_locks \
   22285 MANIFEST_TOOL \
   22286 DSYMUTIL \
   22287 NMEDIT \
   22288 LIPO \
   22289 OTOOL \
   22290 OTOOL64 \
   22291 shrext_cmds \
   22292 export_dynamic_flag_spec \
   22293 whole_archive_flag_spec \
   22294 compiler_needs_object \
   22295 with_gnu_ld \
   22296 allow_undefined_flag \
   22297 no_undefined_flag \
   22298 hardcode_libdir_flag_spec \
   22299 hardcode_libdir_separator \
   22300 exclude_expsyms \
   22301 include_expsyms \
   22302 file_list_spec \
   22303 variables_saved_for_relink \
   22304 libname_spec \
   22305 library_names_spec \
   22306 soname_spec \
   22307 install_override_mode \
   22308 finish_eval \
   22309 old_striplib \
   22310 striplib; do
   22311     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22312     *[\\\\\\\`\\"\\\$]*)
   22313       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22314       ;;
   22315     *)
   22316       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22317       ;;
   22318     esac
   22319 done
   22320 
   22321 # Double-quote double-evaled strings.
   22322 for var in reload_cmds \
   22323 old_postinstall_cmds \
   22324 old_postuninstall_cmds \
   22325 old_archive_cmds \
   22326 extract_expsyms_cmds \
   22327 old_archive_from_new_cmds \
   22328 old_archive_from_expsyms_cmds \
   22329 archive_cmds \
   22330 archive_expsym_cmds \
   22331 module_cmds \
   22332 module_expsym_cmds \
   22333 export_symbols_cmds \
   22334 prelink_cmds \
   22335 postlink_cmds \
   22336 postinstall_cmds \
   22337 postuninstall_cmds \
   22338 finish_cmds \
   22339 sys_lib_search_path_spec \
   22340 configure_time_dlsearch_path \
   22341 configure_time_lt_sys_library_path; do
   22342     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22343     *[\\\\\\\`\\"\\\$]*)
   22344       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22345       ;;
   22346     *)
   22347       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22348       ;;
   22349     esac
   22350 done
   22351 
   22352 ac_aux_dir='$ac_aux_dir'
   22353 
   22354 # See if we are running on zsh, and set the options that allow our
   22355 # commands through without removal of \ escapes INIT.
   22356 if test -n "\${ZSH_VERSION+set}"; then
   22357    setopt NO_GLOB_SUBST
   22358 fi
   22359 
   22360 
   22361     PACKAGE='$PACKAGE'
   22362     VERSION='$VERSION'
   22363     RM='$RM'
   22364     ofile='$ofile'
   22365 
   22366 
   22367 
   22368 
   22369 _ACEOF
   22370 
   22371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22372 
   22373 # Handling of arguments.
   22374 for ac_config_target in $ac_config_targets
   22375 do
   22376   case $ac_config_target in
   22377     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22378     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22379     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22380     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22381     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22382     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   22383     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22384     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22385     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   22386     "specs/libXt.ent") CONFIG_FILES="$CONFIG_FILES specs/libXt.ent" ;;
   22387     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   22388     "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
   22389 
   22390   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22391   esac
   22392 done
   22393 
   22394 
   22395 # If the user did not use the arguments to specify the items to instantiate,
   22396 # then the envvar interface is used.  Set only those that are not.
   22397 # We use the long form for the default assignment because of an extremely
   22398 # bizarre bug on SunOS 4.1.3.
   22399 if $ac_need_defaults; then
   22400   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22401   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22402   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22403 fi
   22404 
   22405 # Have a temporary directory for convenience.  Make it in the build tree
   22406 # simply because there is no reason against having it here, and in addition,
   22407 # creating and moving files from /tmp can sometimes cause problems.
   22408 # Hook for its removal unless debugging.
   22409 # Note that there is a small window in which the directory will not be cleaned:
   22410 # after its creation but before its name has been assigned to `$tmp'.
   22411 $debug ||
   22412 {
   22413   tmp= ac_tmp=
   22414   trap 'exit_status=$?
   22415   : "${ac_tmp:=$tmp}"
   22416   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22417 ' 0
   22418   trap 'as_fn_exit 1' 1 2 13 15
   22419 }
   22420 # Create a (secure) tmp directory for tmp files.
   22421 
   22422 {
   22423   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22424   test -d "$tmp"
   22425 }  ||
   22426 {
   22427   tmp=./conf$$-$RANDOM
   22428   (umask 077 && mkdir "$tmp")
   22429 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22430 ac_tmp=$tmp
   22431 
   22432 # Set up the scripts for CONFIG_FILES section.
   22433 # No need to generate them if there are no CONFIG_FILES.
   22434 # This happens for instance with `./config.status config.h'.
   22435 if test -n "$CONFIG_FILES"; then
   22436 
   22437 
   22438 ac_cr=`echo X | tr X '\015'`
   22439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22440 # But we know of no other shell where ac_cr would be empty at this
   22441 # point, so we can use a bashism as a fallback.
   22442 if test "x$ac_cr" = x; then
   22443   eval ac_cr=\$\'\\r\'
   22444 fi
   22445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22447   ac_cs_awk_cr='\\r'
   22448 else
   22449   ac_cs_awk_cr=$ac_cr
   22450 fi
   22451 
   22452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22453 _ACEOF
   22454 
   22455 
   22456 {
   22457   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22458   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22459   echo "_ACEOF"
   22460 } >conf$$subs.sh ||
   22461   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22463 ac_delim='%!_!# '
   22464 for ac_last_try in false false false false false :; do
   22465   . ./conf$$subs.sh ||
   22466     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22467 
   22468   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22469   if test $ac_delim_n = $ac_delim_num; then
   22470     break
   22471   elif $ac_last_try; then
   22472     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22473   else
   22474     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22475   fi
   22476 done
   22477 rm -f conf$$subs.sh
   22478 
   22479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22480 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22481 _ACEOF
   22482 sed -n '
   22483 h
   22484 s/^/S["/; s/!.*/"]=/
   22485 p
   22486 g
   22487 s/^[^!]*!//
   22488 :repl
   22489 t repl
   22490 s/'"$ac_delim"'$//
   22491 t delim
   22492 :nl
   22493 h
   22494 s/\(.\{148\}\)..*/\1/
   22495 t more1
   22496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22497 p
   22498 n
   22499 b repl
   22500 :more1
   22501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22502 p
   22503 g
   22504 s/.\{148\}//
   22505 t nl
   22506 :delim
   22507 h
   22508 s/\(.\{148\}\)..*/\1/
   22509 t more2
   22510 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22511 p
   22512 b
   22513 :more2
   22514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22515 p
   22516 g
   22517 s/.\{148\}//
   22518 t delim
   22519 ' <conf$$subs.awk | sed '
   22520 /^[^""]/{
   22521   N
   22522   s/\n//
   22523 }
   22524 ' >>$CONFIG_STATUS || ac_write_fail=1
   22525 rm -f conf$$subs.awk
   22526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22527 _ACAWK
   22528 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22529   for (key in S) S_is_set[key] = 1
   22530   FS = ""
   22531 
   22532 }
   22533 {
   22534   line = $ 0
   22535   nfields = split(line, field, "@")
   22536   substed = 0
   22537   len = length(field[1])
   22538   for (i = 2; i < nfields; i++) {
   22539     key = field[i]
   22540     keylen = length(key)
   22541     if (S_is_set[key]) {
   22542       value = S[key]
   22543       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22544       len += length(value) + length(field[++i])
   22545       substed = 1
   22546     } else
   22547       len += 1 + keylen
   22548   }
   22549 
   22550   print line
   22551 }
   22552 
   22553 _ACAWK
   22554 _ACEOF
   22555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22557   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22558 else
   22559   cat
   22560 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22561   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22562 _ACEOF
   22563 
   22564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22566 # trailing colons and then remove the whole line if VPATH becomes empty
   22567 # (actually we leave an empty line to preserve line numbers).
   22568 if test "x$srcdir" = x.; then
   22569   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22570 h
   22571 s///
   22572 s/^/:/
   22573 s/[	 ]*$/:/
   22574 s/:\$(srcdir):/:/g
   22575 s/:\${srcdir}:/:/g
   22576 s/:@srcdir@:/:/g
   22577 s/^:*//
   22578 s/:*$//
   22579 x
   22580 s/\(=[	 ]*\).*/\1/
   22581 G
   22582 s/\n//
   22583 s/^[^=]*=[	 ]*$//
   22584 }'
   22585 fi
   22586 
   22587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22588 fi # test -n "$CONFIG_FILES"
   22589 
   22590 # Set up the scripts for CONFIG_HEADERS section.
   22591 # No need to generate them if there are no CONFIG_HEADERS.
   22592 # This happens for instance with `./config.status Makefile'.
   22593 if test -n "$CONFIG_HEADERS"; then
   22594 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22595 BEGIN {
   22596 _ACEOF
   22597 
   22598 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22599 # here-document in config.status, that substitutes the proper values into
   22600 # config.h.in to produce config.h.
   22601 
   22602 # Create a delimiter string that does not exist in confdefs.h, to ease
   22603 # handling of long lines.
   22604 ac_delim='%!_!# '
   22605 for ac_last_try in false false :; do
   22606   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22607   if test -z "$ac_tt"; then
   22608     break
   22609   elif $ac_last_try; then
   22610     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22611   else
   22612     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22613   fi
   22614 done
   22615 
   22616 # For the awk script, D is an array of macro values keyed by name,
   22617 # likewise P contains macro parameters if any.  Preserve backslash
   22618 # newline sequences.
   22619 
   22620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22621 sed -n '
   22622 s/.\{148\}/&'"$ac_delim"'/g
   22623 t rset
   22624 :rset
   22625 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22626 t def
   22627 d
   22628 :def
   22629 s/\\$//
   22630 t bsnl
   22631 s/["\\]/\\&/g
   22632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22633 D["\1"]=" \3"/p
   22634 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22635 d
   22636 :bsnl
   22637 s/["\\]/\\&/g
   22638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22639 D["\1"]=" \3\\\\\\n"\\/p
   22640 t cont
   22641 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22642 t cont
   22643 d
   22644 :cont
   22645 n
   22646 s/.\{148\}/&'"$ac_delim"'/g
   22647 t clear
   22648 :clear
   22649 s/\\$//
   22650 t bsnlc
   22651 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22652 d
   22653 :bsnlc
   22654 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22655 b cont
   22656 ' <confdefs.h | sed '
   22657 s/'"$ac_delim"'/"\\\
   22658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22659 
   22660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22661   for (key in D) D_is_set[key] = 1
   22662   FS = ""
   22663 }
   22664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22665   line = \$ 0
   22666   split(line, arg, " ")
   22667   if (arg[1] == "#") {
   22668     defundef = arg[2]
   22669     mac1 = arg[3]
   22670   } else {
   22671     defundef = substr(arg[1], 2)
   22672     mac1 = arg[2]
   22673   }
   22674   split(mac1, mac2, "(") #)
   22675   macro = mac2[1]
   22676   prefix = substr(line, 1, index(line, defundef) - 1)
   22677   if (D_is_set[macro]) {
   22678     # Preserve the white space surrounding the "#".
   22679     print prefix "define", macro P[macro] D[macro]
   22680     next
   22681   } else {
   22682     # Replace #undef with comments.  This is necessary, for example,
   22683     # in the case of _POSIX_SOURCE, which is predefined and required
   22684     # on some systems where configure will not decide to define it.
   22685     if (defundef == "undef") {
   22686       print "/*", prefix defundef, macro, "*/"
   22687       next
   22688     }
   22689   }
   22690 }
   22691 { print }
   22692 _ACAWK
   22693 _ACEOF
   22694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22695   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22696 fi # test -n "$CONFIG_HEADERS"
   22697 
   22698 
   22699 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22700 shift
   22701 for ac_tag
   22702 do
   22703   case $ac_tag in
   22704   :[FHLC]) ac_mode=$ac_tag; continue;;
   22705   esac
   22706   case $ac_mode$ac_tag in
   22707   :[FHL]*:*);;
   22708   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22709   :[FH]-) ac_tag=-:-;;
   22710   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22711   esac
   22712   ac_save_IFS=$IFS
   22713   IFS=:
   22714   set x $ac_tag
   22715   IFS=$ac_save_IFS
   22716   shift
   22717   ac_file=$1
   22718   shift
   22719 
   22720   case $ac_mode in
   22721   :L) ac_source=$1;;
   22722   :[FH])
   22723     ac_file_inputs=
   22724     for ac_f
   22725     do
   22726       case $ac_f in
   22727       -) ac_f="$ac_tmp/stdin";;
   22728       *) # Look for the file first in the build tree, then in the source tree
   22729 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22730 	 # because $ac_f cannot contain `:'.
   22731 	 test -f "$ac_f" ||
   22732 	   case $ac_f in
   22733 	   [\\/$]*) false;;
   22734 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22735 	   esac ||
   22736 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22737       esac
   22738       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22739       as_fn_append ac_file_inputs " '$ac_f'"
   22740     done
   22741 
   22742     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22743     # use $as_me), people would be surprised to read:
   22744     #    /* config.h.  Generated by config.status.  */
   22745     configure_input='Generated from '`
   22746 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22747 	`' by configure.'
   22748     if test x"$ac_file" != x-; then
   22749       configure_input="$ac_file.  $configure_input"
   22750       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22751 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22752     fi
   22753     # Neutralize special characters interpreted by sed in replacement strings.
   22754     case $configure_input in #(
   22755     *\&* | *\|* | *\\* )
   22756        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22757        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22758     *) ac_sed_conf_input=$configure_input;;
   22759     esac
   22760 
   22761     case $ac_tag in
   22762     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22763       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22764     esac
   22765     ;;
   22766   esac
   22767 
   22768   ac_dir=`$as_dirname -- "$ac_file" ||
   22769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22770 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22771 	 X"$ac_file" : 'X\(//\)$' \| \
   22772 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22773 printf "%s\n" X"$ac_file" |
   22774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22775 	    s//\1/
   22776 	    q
   22777 	  }
   22778 	  /^X\(\/\/\)[^/].*/{
   22779 	    s//\1/
   22780 	    q
   22781 	  }
   22782 	  /^X\(\/\/\)$/{
   22783 	    s//\1/
   22784 	    q
   22785 	  }
   22786 	  /^X\(\/\).*/{
   22787 	    s//\1/
   22788 	    q
   22789 	  }
   22790 	  s/.*/./; q'`
   22791   as_dir="$ac_dir"; as_fn_mkdir_p
   22792   ac_builddir=.
   22793 
   22794 case "$ac_dir" in
   22795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22796 *)
   22797   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22798   # A ".." for each directory in $ac_dir_suffix.
   22799   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22800   case $ac_top_builddir_sub in
   22801   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22802   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22803   esac ;;
   22804 esac
   22805 ac_abs_top_builddir=$ac_pwd
   22806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22807 # for backward compatibility:
   22808 ac_top_builddir=$ac_top_build_prefix
   22809 
   22810 case $srcdir in
   22811   .)  # We are building in place.
   22812     ac_srcdir=.
   22813     ac_top_srcdir=$ac_top_builddir_sub
   22814     ac_abs_top_srcdir=$ac_pwd ;;
   22815   [\\/]* | ?:[\\/]* )  # Absolute name.
   22816     ac_srcdir=$srcdir$ac_dir_suffix;
   22817     ac_top_srcdir=$srcdir
   22818     ac_abs_top_srcdir=$srcdir ;;
   22819   *) # Relative name.
   22820     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22821     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22822     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22823 esac
   22824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22825 
   22826 
   22827   case $ac_mode in
   22828   :F)
   22829   #
   22830   # CONFIG_FILE
   22831   #
   22832 
   22833   case $INSTALL in
   22834   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22835   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22836   esac
   22837   ac_MKDIR_P=$MKDIR_P
   22838   case $MKDIR_P in
   22839   [\\/$]* | ?:[\\/]* ) ;;
   22840   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22841   esac
   22842 _ACEOF
   22843 
   22844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22845 # If the template does not know about datarootdir, expand it.
   22846 # FIXME: This hack should be removed a few years after 2.60.
   22847 ac_datarootdir_hack=; ac_datarootdir_seen=
   22848 ac_sed_dataroot='
   22849 /datarootdir/ {
   22850   p
   22851   q
   22852 }
   22853 /@datadir@/p
   22854 /@docdir@/p
   22855 /@infodir@/p
   22856 /@localedir@/p
   22857 /@mandir@/p'
   22858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22859 *datarootdir*) ac_datarootdir_seen=yes;;
   22860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22862 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22863 _ACEOF
   22864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22865   ac_datarootdir_hack='
   22866   s&@datadir@&$datadir&g
   22867   s&@docdir@&$docdir&g
   22868   s&@infodir@&$infodir&g
   22869   s&@localedir@&$localedir&g
   22870   s&@mandir@&$mandir&g
   22871   s&\\\${datarootdir}&$datarootdir&g' ;;
   22872 esac
   22873 _ACEOF
   22874 
   22875 # Neutralize VPATH when `$srcdir' = `.'.
   22876 # Shell code in configure.ac might set extrasub.
   22877 # FIXME: do we really want to maintain this feature?
   22878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22879 ac_sed_extra="$ac_vpsub
   22880 $extrasub
   22881 _ACEOF
   22882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22883 :t
   22884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22885 s|@configure_input@|$ac_sed_conf_input|;t t
   22886 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22888 s&@srcdir@&$ac_srcdir&;t t
   22889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22890 s&@top_srcdir@&$ac_top_srcdir&;t t
   22891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22892 s&@builddir@&$ac_builddir&;t t
   22893 s&@abs_builddir@&$ac_abs_builddir&;t t
   22894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22895 s&@INSTALL@&$ac_INSTALL&;t t
   22896 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22897 $ac_datarootdir_hack
   22898 "
   22899 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22900   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22901 
   22902 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22903   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22904   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22905       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22907 which seems to be undefined.  Please make sure it is defined" >&5
   22908 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22909 which seems to be undefined.  Please make sure it is defined" >&2;}
   22910 
   22911   rm -f "$ac_tmp/stdin"
   22912   case $ac_file in
   22913   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22914   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22915   esac \
   22916   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22917  ;;
   22918   :H)
   22919   #
   22920   # CONFIG_HEADER
   22921   #
   22922   if test x"$ac_file" != x-; then
   22923     {
   22924       printf "%s\n" "/* $configure_input  */" >&1 \
   22925       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22926     } >"$ac_tmp/config.h" \
   22927       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22928     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22929       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22930 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22931     else
   22932       rm -f "$ac_file"
   22933       mv "$ac_tmp/config.h" "$ac_file" \
   22934 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22935     fi
   22936   else
   22937     printf "%s\n" "/* $configure_input  */" >&1 \
   22938       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22939       || as_fn_error $? "could not create -" "$LINENO" 5
   22940   fi
   22941 # Compute "$ac_file"'s index in $config_headers.
   22942 _am_arg="$ac_file"
   22943 _am_stamp_count=1
   22944 for _am_header in $config_headers :; do
   22945   case $_am_header in
   22946     $_am_arg | $_am_arg:* )
   22947       break ;;
   22948     * )
   22949       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22950   esac
   22951 done
   22952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22954 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22955 	 X"$_am_arg" : 'X\(//\)$' \| \
   22956 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22957 printf "%s\n" X"$_am_arg" |
   22958     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22959 	    s//\1/
   22960 	    q
   22961 	  }
   22962 	  /^X\(\/\/\)[^/].*/{
   22963 	    s//\1/
   22964 	    q
   22965 	  }
   22966 	  /^X\(\/\/\)$/{
   22967 	    s//\1/
   22968 	    q
   22969 	  }
   22970 	  /^X\(\/\).*/{
   22971 	    s//\1/
   22972 	    q
   22973 	  }
   22974 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22975  ;;
   22976 
   22977   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22978 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22979  ;;
   22980   esac
   22981 
   22982 
   22983   case $ac_file$ac_mode in
   22984     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22985   # Older Autoconf quotes --file arguments for eval, but not when files
   22986   # are listed without --file.  Let's play safe and only enable the eval
   22987   # if we detect the quoting.
   22988   # TODO: see whether this extra hack can be removed once we start
   22989   # requiring Autoconf 2.70 or later.
   22990   case $CONFIG_FILES in #(
   22991   *\'*) :
   22992     eval set x "$CONFIG_FILES" ;; #(
   22993   *) :
   22994     set x $CONFIG_FILES ;; #(
   22995   *) :
   22996      ;;
   22997 esac
   22998   shift
   22999   # Used to flag and report bootstrapping failures.
   23000   am_rc=0
   23001   for am_mf
   23002   do
   23003     # Strip MF so we end up with the name of the file.
   23004     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23005     # Check whether this is an Automake generated Makefile which includes
   23006     # dependency-tracking related rules and includes.
   23007     # Grep'ing the whole file directly is not great: AIX grep has a line
   23008     # limit of 2048, but all sed's we know have understand at least 4000.
   23009     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23010       || continue
   23011     am_dirpart=`$as_dirname -- "$am_mf" ||
   23012 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23013 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23014 	 X"$am_mf" : 'X\(//\)$' \| \
   23015 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23016 printf "%s\n" X"$am_mf" |
   23017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23018 	    s//\1/
   23019 	    q
   23020 	  }
   23021 	  /^X\(\/\/\)[^/].*/{
   23022 	    s//\1/
   23023 	    q
   23024 	  }
   23025 	  /^X\(\/\/\)$/{
   23026 	    s//\1/
   23027 	    q
   23028 	  }
   23029 	  /^X\(\/\).*/{
   23030 	    s//\1/
   23031 	    q
   23032 	  }
   23033 	  s/.*/./; q'`
   23034     am_filepart=`$as_basename -- "$am_mf" ||
   23035 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23036 	 X"$am_mf" : 'X\(//\)$' \| \
   23037 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23038 printf "%s\n" X/"$am_mf" |
   23039     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23040 	    s//\1/
   23041 	    q
   23042 	  }
   23043 	  /^X\/\(\/\/\)$/{
   23044 	    s//\1/
   23045 	    q
   23046 	  }
   23047 	  /^X\/\(\/\).*/{
   23048 	    s//\1/
   23049 	    q
   23050 	  }
   23051 	  s/.*/./; q'`
   23052     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23053       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23054         | $MAKE -f - am--depfiles" >&5
   23055    (cd "$am_dirpart" \
   23056       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23057         | $MAKE -f - am--depfiles) >&5 2>&5
   23058    ac_status=$?
   23059    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23060    (exit $ac_status); } || am_rc=$?
   23061   done
   23062   if test $am_rc -ne 0; then
   23063     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23064 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23065 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23066     for automatic dependency tracking.  If GNU make was not used, consider
   23067     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23068     necessary).  You can also try re-running configure with the
   23069     '--disable-dependency-tracking' option to at least be able to build
   23070     the package (albeit without support for automatic dependency tracking).
   23071 See \`config.log' for more details" "$LINENO" 5; }
   23072   fi
   23073   { am_dirpart=; unset am_dirpart;}
   23074   { am_filepart=; unset am_filepart;}
   23075   { am_mf=; unset am_mf;}
   23076   { am_rc=; unset am_rc;}
   23077   rm -f conftest-deps.mk
   23078 }
   23079  ;;
   23080     "libtool":C)
   23081 
   23082     # See if we are running on zsh, and set the options that allow our
   23083     # commands through without removal of \ escapes.
   23084     if test -n "${ZSH_VERSION+set}"; then
   23085       setopt NO_GLOB_SUBST
   23086     fi
   23087 
   23088     cfgfile=${ofile}T
   23089     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23090     $RM "$cfgfile"
   23091 
   23092     cat <<_LT_EOF >> "$cfgfile"
   23093 #! $SHELL
   23094 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23095 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   23096 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23097 
   23098 # Provide generalized library-building support services.
   23099 # Written by Gordon Matzigkeit, 1996
   23100 
   23101 # Copyright (C) 2014 Free Software Foundation, Inc.
   23102 # This is free software; see the source for copying conditions.  There is NO
   23103 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23104 
   23105 # GNU Libtool is free software; you can redistribute it and/or modify
   23106 # it under the terms of the GNU General Public License as published by
   23107 # the Free Software Foundation; either version 2 of of the License, or
   23108 # (at your option) any later version.
   23109 #
   23110 # As a special exception to the GNU General Public License, if you
   23111 # distribute this file as part of a program or library that is built
   23112 # using GNU Libtool, you may include this file under the  same
   23113 # distribution terms that you use for the rest of that program.
   23114 #
   23115 # GNU Libtool is distributed in the hope that it will be useful, but
   23116 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23117 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23118 # GNU General Public License for more details.
   23119 #
   23120 # You should have received a copy of the GNU General Public License
   23121 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23122 
   23123 
   23124 # The names of the tagged configurations supported by this script.
   23125 available_tags=''
   23126 
   23127 # Configured defaults for sys_lib_dlsearch_path munging.
   23128 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23129 
   23130 # ### BEGIN LIBTOOL CONFIG
   23131 
   23132 # Which release of libtool.m4 was used?
   23133 macro_version=$macro_version
   23134 macro_revision=$macro_revision
   23135 
   23136 # Whether or not to build shared libraries.
   23137 build_libtool_libs=$enable_shared
   23138 
   23139 # Whether or not to build static libraries.
   23140 build_old_libs=$enable_static
   23141 
   23142 # What type of objects to build.
   23143 pic_mode=$pic_mode
   23144 
   23145 # Whether or not to optimize for fast installation.
   23146 fast_install=$enable_fast_install
   23147 
   23148 # Shared archive member basename,for filename based shared library versioning on AIX.
   23149 shared_archive_member_spec=$shared_archive_member_spec
   23150 
   23151 # Shell to use when invoking shell scripts.
   23152 SHELL=$lt_SHELL
   23153 
   23154 # An echo program that protects backslashes.
   23155 ECHO=$lt_ECHO
   23156 
   23157 # The PATH separator for the build system.
   23158 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23159 
   23160 # The host system.
   23161 host_alias=$host_alias
   23162 host=$host
   23163 host_os=$host_os
   23164 
   23165 # The build system.
   23166 build_alias=$build_alias
   23167 build=$build
   23168 build_os=$build_os
   23169 
   23170 # A sed program that does not truncate output.
   23171 SED=$lt_SED
   23172 
   23173 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23174 Xsed="\$SED -e 1s/^X//"
   23175 
   23176 # A grep program that handles long lines.
   23177 GREP=$lt_GREP
   23178 
   23179 # An ERE matcher.
   23180 EGREP=$lt_EGREP
   23181 
   23182 # A literal string matcher.
   23183 FGREP=$lt_FGREP
   23184 
   23185 # A BSD- or MS-compatible name lister.
   23186 NM=$lt_NM
   23187 
   23188 # Whether we need soft or hard links.
   23189 LN_S=$lt_LN_S
   23190 
   23191 # What is the maximum length of a command?
   23192 max_cmd_len=$max_cmd_len
   23193 
   23194 # Object file suffix (normally "o").
   23195 objext=$ac_objext
   23196 
   23197 # Executable file suffix (normally "").
   23198 exeext=$exeext
   23199 
   23200 # whether the shell understands "unset".
   23201 lt_unset=$lt_unset
   23202 
   23203 # turn spaces into newlines.
   23204 SP2NL=$lt_lt_SP2NL
   23205 
   23206 # turn newlines into spaces.
   23207 NL2SP=$lt_lt_NL2SP
   23208 
   23209 # convert \$build file names to \$host format.
   23210 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23211 
   23212 # convert \$build files to toolchain format.
   23213 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23214 
   23215 # A file(cmd) program that detects file types.
   23216 FILECMD=$lt_FILECMD
   23217 
   23218 # An object symbol dumper.
   23219 OBJDUMP=$lt_OBJDUMP
   23220 
   23221 # Method to check whether dependent libraries are shared objects.
   23222 deplibs_check_method=$lt_deplibs_check_method
   23223 
   23224 # Command to use when deplibs_check_method = "file_magic".
   23225 file_magic_cmd=$lt_file_magic_cmd
   23226 
   23227 # How to find potential files when deplibs_check_method = "file_magic".
   23228 file_magic_glob=$lt_file_magic_glob
   23229 
   23230 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23231 want_nocaseglob=$lt_want_nocaseglob
   23232 
   23233 # DLL creation program.
   23234 DLLTOOL=$lt_DLLTOOL
   23235 
   23236 # Command to associate shared and link libraries.
   23237 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23238 
   23239 # The archiver.
   23240 AR=$lt_AR
   23241 
   23242 # Flags to create an archive (by configure).
   23243 lt_ar_flags=$lt_ar_flags
   23244 
   23245 # Flags to create an archive.
   23246 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23247 
   23248 # How to feed a file listing to the archiver.
   23249 archiver_list_spec=$lt_archiver_list_spec
   23250 
   23251 # A symbol stripping program.
   23252 STRIP=$lt_STRIP
   23253 
   23254 # Commands used to install an old-style archive.
   23255 RANLIB=$lt_RANLIB
   23256 old_postinstall_cmds=$lt_old_postinstall_cmds
   23257 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23258 
   23259 # Whether to use a lock for old archive extraction.
   23260 lock_old_archive_extraction=$lock_old_archive_extraction
   23261 
   23262 # A C compiler.
   23263 LTCC=$lt_CC
   23264 
   23265 # LTCC compiler flags.
   23266 LTCFLAGS=$lt_CFLAGS
   23267 
   23268 # Take the output of nm and produce a listing of raw symbols and C names.
   23269 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23270 
   23271 # Transform the output of nm in a proper C declaration.
   23272 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23273 
   23274 # Transform the output of nm into a list of symbols to manually relocate.
   23275 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23276 
   23277 # Transform the output of nm in a C name address pair.
   23278 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23279 
   23280 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23281 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23282 
   23283 # The name lister interface.
   23284 nm_interface=$lt_lt_cv_nm_interface
   23285 
   23286 # Specify filename containing input files for \$NM.
   23287 nm_file_list_spec=$lt_nm_file_list_spec
   23288 
   23289 # The root where to search for dependent libraries,and where our libraries should be installed.
   23290 lt_sysroot=$lt_sysroot
   23291 
   23292 # Command to truncate a binary pipe.
   23293 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23294 
   23295 # The name of the directory that contains temporary libtool files.
   23296 objdir=$objdir
   23297 
   23298 # Used to examine libraries when file_magic_cmd begins with "file".
   23299 MAGIC_CMD=$MAGIC_CMD
   23300 
   23301 # Must we lock files when doing compilation?
   23302 need_locks=$lt_need_locks
   23303 
   23304 # Manifest tool.
   23305 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23306 
   23307 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23308 DSYMUTIL=$lt_DSYMUTIL
   23309 
   23310 # Tool to change global to local symbols on Mac OS X.
   23311 NMEDIT=$lt_NMEDIT
   23312 
   23313 # Tool to manipulate fat objects and archives on Mac OS X.
   23314 LIPO=$lt_LIPO
   23315 
   23316 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23317 OTOOL=$lt_OTOOL
   23318 
   23319 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23320 OTOOL64=$lt_OTOOL64
   23321 
   23322 # Old archive suffix (normally "a").
   23323 libext=$libext
   23324 
   23325 # Shared library suffix (normally ".so").
   23326 shrext_cmds=$lt_shrext_cmds
   23327 
   23328 # The commands to extract the exported symbol list from a shared archive.
   23329 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23330 
   23331 # Variables whose values should be saved in libtool wrapper scripts and
   23332 # restored at link time.
   23333 variables_saved_for_relink=$lt_variables_saved_for_relink
   23334 
   23335 # Do we need the "lib" prefix for modules?
   23336 need_lib_prefix=$need_lib_prefix
   23337 
   23338 # Do we need a version for libraries?
   23339 need_version=$need_version
   23340 
   23341 # Library versioning type.
   23342 version_type=$version_type
   23343 
   23344 # Shared library runtime path variable.
   23345 runpath_var=$runpath_var
   23346 
   23347 # Shared library path variable.
   23348 shlibpath_var=$shlibpath_var
   23349 
   23350 # Is shlibpath searched before the hard-coded library search path?
   23351 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23352 
   23353 # Format of library name prefix.
   23354 libname_spec=$lt_libname_spec
   23355 
   23356 # List of archive names.  First name is the real one, the rest are links.
   23357 # The last name is the one that the linker finds with -lNAME
   23358 library_names_spec=$lt_library_names_spec
   23359 
   23360 # The coded name of the library, if different from the real name.
   23361 soname_spec=$lt_soname_spec
   23362 
   23363 # Permission mode override for installation of shared libraries.
   23364 install_override_mode=$lt_install_override_mode
   23365 
   23366 # Command to use after installation of a shared archive.
   23367 postinstall_cmds=$lt_postinstall_cmds
   23368 
   23369 # Command to use after uninstallation of a shared archive.
   23370 postuninstall_cmds=$lt_postuninstall_cmds
   23371 
   23372 # Commands used to finish a libtool library installation in a directory.
   23373 finish_cmds=$lt_finish_cmds
   23374 
   23375 # As "finish_cmds", except a single script fragment to be evaled but
   23376 # not shown.
   23377 finish_eval=$lt_finish_eval
   23378 
   23379 # Whether we should hardcode library paths into libraries.
   23380 hardcode_into_libs=$hardcode_into_libs
   23381 
   23382 # Compile-time system search path for libraries.
   23383 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23384 
   23385 # Detected run-time system search path for libraries.
   23386 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23387 
   23388 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23389 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23390 
   23391 # Whether dlopen is supported.
   23392 dlopen_support=$enable_dlopen
   23393 
   23394 # Whether dlopen of programs is supported.
   23395 dlopen_self=$enable_dlopen_self
   23396 
   23397 # Whether dlopen of statically linked programs is supported.
   23398 dlopen_self_static=$enable_dlopen_self_static
   23399 
   23400 # Commands to strip libraries.
   23401 old_striplib=$lt_old_striplib
   23402 striplib=$lt_striplib
   23403 
   23404 
   23405 # The linker used to build libraries.
   23406 LD=$lt_LD
   23407 
   23408 # How to create reloadable object files.
   23409 reload_flag=$lt_reload_flag
   23410 reload_cmds=$lt_reload_cmds
   23411 
   23412 # Commands used to build an old-style archive.
   23413 old_archive_cmds=$lt_old_archive_cmds
   23414 
   23415 # A language specific compiler.
   23416 CC=$lt_compiler
   23417 
   23418 # Is the compiler the GNU compiler?
   23419 with_gcc=$GCC
   23420 
   23421 # Compiler flag to turn off builtin functions.
   23422 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23423 
   23424 # Additional compiler flags for building library objects.
   23425 pic_flag=$lt_lt_prog_compiler_pic
   23426 
   23427 # How to pass a linker flag through the compiler.
   23428 wl=$lt_lt_prog_compiler_wl
   23429 
   23430 # Compiler flag to prevent dynamic linking.
   23431 link_static_flag=$lt_lt_prog_compiler_static
   23432 
   23433 # Does compiler simultaneously support -c and -o options?
   23434 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23435 
   23436 # Whether or not to add -lc for building shared libraries.
   23437 build_libtool_need_lc=$archive_cmds_need_lc
   23438 
   23439 # Whether or not to disallow shared libs when runtime libs are static.
   23440 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23441 
   23442 # Compiler flag to allow reflexive dlopens.
   23443 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23444 
   23445 # Compiler flag to generate shared objects directly from archives.
   23446 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23447 
   23448 # Whether the compiler copes with passing no objects directly.
   23449 compiler_needs_object=$lt_compiler_needs_object
   23450 
   23451 # Create an old-style archive from a shared archive.
   23452 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23453 
   23454 # Create a temporary old-style archive to link instead of a shared archive.
   23455 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23456 
   23457 # Commands used to build a shared archive.
   23458 archive_cmds=$lt_archive_cmds
   23459 archive_expsym_cmds=$lt_archive_expsym_cmds
   23460 
   23461 # Commands used to build a loadable module if different from building
   23462 # a shared archive.
   23463 module_cmds=$lt_module_cmds
   23464 module_expsym_cmds=$lt_module_expsym_cmds
   23465 
   23466 # Whether we are building with GNU ld or not.
   23467 with_gnu_ld=$lt_with_gnu_ld
   23468 
   23469 # Flag that allows shared libraries with undefined symbols to be built.
   23470 allow_undefined_flag=$lt_allow_undefined_flag
   23471 
   23472 # Flag that enforces no undefined symbols.
   23473 no_undefined_flag=$lt_no_undefined_flag
   23474 
   23475 # Flag to hardcode \$libdir into a binary during linking.
   23476 # This must work even if \$libdir does not exist
   23477 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23478 
   23479 # Whether we need a single "-rpath" flag with a separated argument.
   23480 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23481 
   23482 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23483 # DIR into the resulting binary.
   23484 hardcode_direct=$hardcode_direct
   23485 
   23486 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23487 # DIR into the resulting binary and the resulting library dependency is
   23488 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23489 # library is relocated.
   23490 hardcode_direct_absolute=$hardcode_direct_absolute
   23491 
   23492 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23493 # into the resulting binary.
   23494 hardcode_minus_L=$hardcode_minus_L
   23495 
   23496 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23497 # into the resulting binary.
   23498 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23499 
   23500 # Set to "yes" if building a shared library automatically hardcodes DIR
   23501 # into the library and all subsequent libraries and executables linked
   23502 # against it.
   23503 hardcode_automatic=$hardcode_automatic
   23504 
   23505 # Set to yes if linker adds runtime paths of dependent libraries
   23506 # to runtime path list.
   23507 inherit_rpath=$inherit_rpath
   23508 
   23509 # Whether libtool must link a program against all its dependency libraries.
   23510 link_all_deplibs=$link_all_deplibs
   23511 
   23512 # Set to "yes" if exported symbols are required.
   23513 always_export_symbols=$always_export_symbols
   23514 
   23515 # The commands to list exported symbols.
   23516 export_symbols_cmds=$lt_export_symbols_cmds
   23517 
   23518 # Symbols that should not be listed in the preloaded symbols.
   23519 exclude_expsyms=$lt_exclude_expsyms
   23520 
   23521 # Symbols that must always be exported.
   23522 include_expsyms=$lt_include_expsyms
   23523 
   23524 # Commands necessary for linking programs (against libraries) with templates.
   23525 prelink_cmds=$lt_prelink_cmds
   23526 
   23527 # Commands necessary for finishing linking programs.
   23528 postlink_cmds=$lt_postlink_cmds
   23529 
   23530 # Specify filename containing input files.
   23531 file_list_spec=$lt_file_list_spec
   23532 
   23533 # How to hardcode a shared library path into an executable.
   23534 hardcode_action=$hardcode_action
   23535 
   23536 # ### END LIBTOOL CONFIG
   23537 
   23538 _LT_EOF
   23539 
   23540     cat <<'_LT_EOF' >> "$cfgfile"
   23541 
   23542 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23543 
   23544 # func_munge_path_list VARIABLE PATH
   23545 # -----------------------------------
   23546 # VARIABLE is name of variable containing _space_ separated list of
   23547 # directories to be munged by the contents of PATH, which is string
   23548 # having a format:
   23549 # "DIR[:DIR]:"
   23550 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23551 # ":DIR[:DIR]"
   23552 #       string "DIR[ DIR]" will be appended to VARIABLE
   23553 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23554 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23555 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23556 # "DIR[:DIR]"
   23557 #       VARIABLE will be replaced by "DIR[ DIR]"
   23558 func_munge_path_list ()
   23559 {
   23560     case x$2 in
   23561     x)
   23562         ;;
   23563     *:)
   23564         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23565         ;;
   23566     x:*)
   23567         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23568         ;;
   23569     *::*)
   23570         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23571         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23572         ;;
   23573     *)
   23574         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23575         ;;
   23576     esac
   23577 }
   23578 
   23579 
   23580 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23581 func_cc_basename ()
   23582 {
   23583     for cc_temp in $*""; do
   23584       case $cc_temp in
   23585         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23586         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23587         \-*) ;;
   23588         *) break;;
   23589       esac
   23590     done
   23591     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23592 }
   23593 
   23594 
   23595 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23596 
   23597 _LT_EOF
   23598 
   23599   case $host_os in
   23600   aix3*)
   23601     cat <<\_LT_EOF >> "$cfgfile"
   23602 # AIX sometimes has problems with the GCC collect2 program.  For some
   23603 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23604 # vanish in a puff of smoke.
   23605 if test set != "${COLLECT_NAMES+set}"; then
   23606   COLLECT_NAMES=
   23607   export COLLECT_NAMES
   23608 fi
   23609 _LT_EOF
   23610     ;;
   23611   esac
   23612 
   23613 
   23614 
   23615 ltmain=$ac_aux_dir/ltmain.sh
   23616 
   23617 
   23618   # We use sed instead of cat because bash on DJGPP gets confused if
   23619   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23620   # text mode, it properly converts lines to CR/LF.  This bash problem
   23621   # is reportedly fixed, but why not run on old versions too?
   23622   $SED '$q' "$ltmain" >> "$cfgfile" \
   23623      || (rm -f "$cfgfile"; exit 1)
   23624 
   23625    mv -f "$cfgfile" "$ofile" ||
   23626     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23627   chmod +x "$ofile"
   23628 
   23629  ;;
   23630 
   23631   esac
   23632 done # for ac_tag
   23633 
   23634 
   23635 as_fn_exit 0
   23636 _ACEOF
   23637 ac_clean_files=$ac_clean_files_save
   23638 
   23639 test $ac_write_fail = 0 ||
   23640   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23641 
   23642 
   23643 # configure is writing to config.log, and then calls config.status.
   23644 # config.status does its own redirection, appending to config.log.
   23645 # Unfortunately, on DOS this fails, as config.log is still kept open
   23646 # by configure, so config.status won't be able to write to it; its
   23647 # output is simply discarded.  So we exec the FD to /dev/null,
   23648 # effectively closing config.log, so it can be properly (re)opened and
   23649 # appended to by config.status.  When coming back to configure, we
   23650 # need to make the FD available again.
   23651 if test "$no_create" != yes; then
   23652   ac_cs_success=:
   23653   ac_config_status_args=
   23654   test "$silent" = yes &&
   23655     ac_config_status_args="$ac_config_status_args --quiet"
   23656   exec 5>/dev/null
   23657   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23658   exec 5>>config.log
   23659   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23660   # would make configure fail if this is the last instruction.
   23661   $ac_cs_success || as_fn_exit 1
   23662 fi
   23663 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23665 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23666 fi
   23667 
   23668 
   23669