Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXdmcp 1.1.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/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/libxdmcp/-/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='libXdmcp'
    684 PACKAGE_TARNAME='libXdmcp'
    685 PACKAGE_VERSION='1.1.4'
    686 PACKAGE_STRING='libXdmcp 1.1.4'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/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 ENABLE_UNIT_TESTS_FALSE
    728 ENABLE_UNIT_TESTS_TRUE
    729 XORG_MALLOC_DEBUG_ENV
    730 MAKE_LINT_LIB_FALSE
    731 MAKE_LINT_LIB_TRUE
    732 LINTLIB
    733 LINT_FALSE
    734 LINT_TRUE
    735 LINT_FLAGS
    736 LINT
    737 HASXDMAUTH_FALSE
    738 HASXDMAUTH_TRUE
    739 XDMCP_LIBS
    740 XDMCP_CFLAGS
    741 LIBBSD_LIBS
    742 LIBBSD_CFLAGS
    743 HAVE_STYLESHEETS_FALSE
    744 HAVE_STYLESHEETS_TRUE
    745 XSL_STYLESHEET
    746 STYLESHEET_SRCDIR
    747 XORG_SGML_PATH
    748 HAVE_XSLTPROC_FALSE
    749 HAVE_XSLTPROC_TRUE
    750 XSLTPROC
    751 HAVE_FOP_FALSE
    752 HAVE_FOP_TRUE
    753 FOP
    754 HAVE_XMLTO_FALSE
    755 HAVE_XMLTO_TRUE
    756 HAVE_XMLTO_TEXT_FALSE
    757 HAVE_XMLTO_TEXT_TRUE
    758 XMLTO
    759 ENABLE_DOCS_FALSE
    760 ENABLE_DOCS_TRUE
    761 MAN_SUBSTS
    762 XORG_MAN_PAGE
    763 ADMIN_MAN_DIR
    764 DRIVER_MAN_DIR
    765 MISC_MAN_DIR
    766 FILE_MAN_DIR
    767 LIB_MAN_DIR
    768 APP_MAN_DIR
    769 ADMIN_MAN_SUFFIX
    770 DRIVER_MAN_SUFFIX
    771 MISC_MAN_SUFFIX
    772 FILE_MAN_SUFFIX
    773 LIB_MAN_SUFFIX
    774 APP_MAN_SUFFIX
    775 INSTALL_CMD
    776 PKG_CONFIG_LIBDIR
    777 PKG_CONFIG_PATH
    778 PKG_CONFIG
    779 CHANGELOG_CMD
    780 STRICT_CFLAGS
    781 CWARNFLAGS
    782 BASE_CFLAGS
    783 LT_SYS_LIBRARY_PATH
    784 OTOOL64
    785 OTOOL
    786 LIPO
    787 NMEDIT
    788 DSYMUTIL
    789 MANIFEST_TOOL
    790 RANLIB
    791 ac_ct_AR
    792 AR
    793 FILECMD
    794 LN_S
    795 NM
    796 ac_ct_DUMPBIN
    797 DUMPBIN
    798 LD
    799 FGREP
    800 EGREP
    801 GREP
    802 SED
    803 LIBTOOL
    804 OBJDUMP
    805 DLLTOOL
    806 AS
    807 host_os
    808 host_vendor
    809 host_cpu
    810 host
    811 build_os
    812 build_vendor
    813 build_cpu
    814 build
    815 AM_BACKSLASH
    816 AM_DEFAULT_VERBOSITY
    817 AM_DEFAULT_V
    818 AM_V
    819 CSCOPE
    820 ETAGS
    821 CTAGS
    822 am__fastdepCC_FALSE
    823 am__fastdepCC_TRUE
    824 CCDEPMODE
    825 am__nodep
    826 AMDEPBACKSLASH
    827 AMDEP_FALSE
    828 AMDEP_TRUE
    829 am__include
    830 DEPDIR
    831 am__untar
    832 am__tar
    833 AMTAR
    834 am__leading_dot
    835 SET_MAKE
    836 AWK
    837 mkdir_p
    838 MKDIR_P
    839 INSTALL_STRIP_PROGRAM
    840 STRIP
    841 install_sh
    842 MAKEINFO
    843 AUTOHEADER
    844 AUTOMAKE
    845 AUTOCONF
    846 ACLOCAL
    847 VERSION
    848 PACKAGE
    849 CYGPATH_W
    850 am__isrc
    851 INSTALL_DATA
    852 INSTALL_SCRIPT
    853 INSTALL_PROGRAM
    854 OBJEXT
    855 EXEEXT
    856 ac_ct_CC
    857 CPPFLAGS
    858 LDFLAGS
    859 CFLAGS
    860 CC
    861 target_alias
    862 host_alias
    863 build_alias
    864 LIBS
    865 ECHO_T
    866 ECHO_N
    867 ECHO_C
    868 DEFS
    869 mandir
    870 localedir
    871 libdir
    872 psdir
    873 pdfdir
    874 dvidir
    875 htmldir
    876 infodir
    877 docdir
    878 oldincludedir
    879 includedir
    880 runstatedir
    881 localstatedir
    882 sharedstatedir
    883 sysconfdir
    884 datadir
    885 datarootdir
    886 libexecdir
    887 sbindir
    888 bindir
    889 program_transform_name
    890 prefix
    891 exec_prefix
    892 PACKAGE_URL
    893 PACKAGE_BUGREPORT
    894 PACKAGE_STRING
    895 PACKAGE_VERSION
    896 PACKAGE_TARNAME
    897 PACKAGE_NAME
    898 PATH_SEPARATOR
    899 SHELL
    900 am__quote'
    901 ac_subst_files=''
    902 ac_user_opts='
    903 enable_option_checking
    904 enable_dependency_tracking
    905 enable_silent_rules
    906 enable_shared
    907 enable_static
    908 with_pic
    909 enable_fast_install
    910 with_aix_soname
    911 with_gnu_ld
    912 with_sysroot
    913 enable_libtool_lock
    914 enable_selective_werror
    915 enable_strict_compilation
    916 enable_docs
    917 with_xmlto
    918 with_fop
    919 with_xsltproc
    920 with_lint
    921 enable_lint_library
    922 enable_unit_tests
    923 '
    924       ac_precious_vars='build_alias
    925 host_alias
    926 target_alias
    927 CC
    928 CFLAGS
    929 LDFLAGS
    930 LIBS
    931 CPPFLAGS
    932 LT_SYS_LIBRARY_PATH
    933 PKG_CONFIG
    934 PKG_CONFIG_PATH
    935 PKG_CONFIG_LIBDIR
    936 XMLTO
    937 FOP
    938 XSLTPROC
    939 LIBBSD_CFLAGS
    940 LIBBSD_LIBS
    941 XDMCP_CFLAGS
    942 XDMCP_LIBS
    943 LINT
    944 LINT_FLAGS
    945 XORG_MALLOC_DEBUG_ENV'
    946 
    947 
    948 # Initialize some variables set by options.
    949 ac_init_help=
    950 ac_init_version=false
    951 ac_unrecognized_opts=
    952 ac_unrecognized_sep=
    953 # The variables have the same names as the options, with
    954 # dashes changed to underlines.
    955 cache_file=/dev/null
    956 exec_prefix=NONE
    957 no_create=
    958 no_recursion=
    959 prefix=NONE
    960 program_prefix=NONE
    961 program_suffix=NONE
    962 program_transform_name=s,x,x,
    963 silent=
    964 site=
    965 srcdir=
    966 verbose=
    967 x_includes=NONE
    968 x_libraries=NONE
    969 
    970 # Installation directory options.
    971 # These are left unexpanded so users can "make install exec_prefix=/foo"
    972 # and all the variables that are supposed to be based on exec_prefix
    973 # by default will actually change.
    974 # Use braces instead of parens because sh, perl, etc. also accept them.
    975 # (The list follows the same order as the GNU Coding Standards.)
    976 bindir='${exec_prefix}/bin'
    977 sbindir='${exec_prefix}/sbin'
    978 libexecdir='${exec_prefix}/libexec'
    979 datarootdir='${prefix}/share'
    980 datadir='${datarootdir}'
    981 sysconfdir='${prefix}/etc'
    982 sharedstatedir='${prefix}/com'
    983 localstatedir='${prefix}/var'
    984 runstatedir='${localstatedir}/run'
    985 includedir='${prefix}/include'
    986 oldincludedir='/usr/include'
    987 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    988 infodir='${datarootdir}/info'
    989 htmldir='${docdir}'
    990 dvidir='${docdir}'
    991 pdfdir='${docdir}'
    992 psdir='${docdir}'
    993 libdir='${exec_prefix}/lib'
    994 localedir='${datarootdir}/locale'
    995 mandir='${datarootdir}/man'
    996 
    997 ac_prev=
    998 ac_dashdash=
    999 for ac_option
   1000 do
   1001   # If the previous option needs an argument, assign it.
   1002   if test -n "$ac_prev"; then
   1003     eval $ac_prev=\$ac_option
   1004     ac_prev=
   1005     continue
   1006   fi
   1007 
   1008   case $ac_option in
   1009   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1010   *=)   ac_optarg= ;;
   1011   *)    ac_optarg=yes ;;
   1012   esac
   1013 
   1014   case $ac_dashdash$ac_option in
   1015   --)
   1016     ac_dashdash=yes ;;
   1017 
   1018   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1019     ac_prev=bindir ;;
   1020   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1021     bindir=$ac_optarg ;;
   1022 
   1023   -build | --build | --buil | --bui | --bu)
   1024     ac_prev=build_alias ;;
   1025   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1026     build_alias=$ac_optarg ;;
   1027 
   1028   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1029   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1030     ac_prev=cache_file ;;
   1031   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1032   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1033     cache_file=$ac_optarg ;;
   1034 
   1035   --config-cache | -C)
   1036     cache_file=config.cache ;;
   1037 
   1038   -datadir | --datadir | --datadi | --datad)
   1039     ac_prev=datadir ;;
   1040   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1041     datadir=$ac_optarg ;;
   1042 
   1043   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1044   | --dataroo | --dataro | --datar)
   1045     ac_prev=datarootdir ;;
   1046   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1047   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1048     datarootdir=$ac_optarg ;;
   1049 
   1050   -disable-* | --disable-*)
   1051     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1052     # Reject names that are not valid shell variable names.
   1053     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1054       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1055     ac_useropt_orig=$ac_useropt
   1056     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1057     case $ac_user_opts in
   1058       *"
   1059 "enable_$ac_useropt"
   1060 "*) ;;
   1061       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1062 	 ac_unrecognized_sep=', ';;
   1063     esac
   1064     eval enable_$ac_useropt=no ;;
   1065 
   1066   -docdir | --docdir | --docdi | --doc | --do)
   1067     ac_prev=docdir ;;
   1068   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1069     docdir=$ac_optarg ;;
   1070 
   1071   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1072     ac_prev=dvidir ;;
   1073   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1074     dvidir=$ac_optarg ;;
   1075 
   1076   -enable-* | --enable-*)
   1077     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1078     # Reject names that are not valid shell variable names.
   1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1080       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1081     ac_useropt_orig=$ac_useropt
   1082     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1083     case $ac_user_opts in
   1084       *"
   1085 "enable_$ac_useropt"
   1086 "*) ;;
   1087       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1088 	 ac_unrecognized_sep=', ';;
   1089     esac
   1090     eval enable_$ac_useropt=\$ac_optarg ;;
   1091 
   1092   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1093   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1094   | --exec | --exe | --ex)
   1095     ac_prev=exec_prefix ;;
   1096   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1097   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1098   | --exec=* | --exe=* | --ex=*)
   1099     exec_prefix=$ac_optarg ;;
   1100 
   1101   -gas | --gas | --ga | --g)
   1102     # Obsolete; use --with-gas.
   1103     with_gas=yes ;;
   1104 
   1105   -help | --help | --hel | --he | -h)
   1106     ac_init_help=long ;;
   1107   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1108     ac_init_help=recursive ;;
   1109   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1110     ac_init_help=short ;;
   1111 
   1112   -host | --host | --hos | --ho)
   1113     ac_prev=host_alias ;;
   1114   -host=* | --host=* | --hos=* | --ho=*)
   1115     host_alias=$ac_optarg ;;
   1116 
   1117   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1118     ac_prev=htmldir ;;
   1119   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1120   | --ht=*)
   1121     htmldir=$ac_optarg ;;
   1122 
   1123   -includedir | --includedir | --includedi | --included | --include \
   1124   | --includ | --inclu | --incl | --inc)
   1125     ac_prev=includedir ;;
   1126   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1127   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1128     includedir=$ac_optarg ;;
   1129 
   1130   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1131     ac_prev=infodir ;;
   1132   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1133     infodir=$ac_optarg ;;
   1134 
   1135   -libdir | --libdir | --libdi | --libd)
   1136     ac_prev=libdir ;;
   1137   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1138     libdir=$ac_optarg ;;
   1139 
   1140   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1141   | --libexe | --libex | --libe)
   1142     ac_prev=libexecdir ;;
   1143   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1144   | --libexe=* | --libex=* | --libe=*)
   1145     libexecdir=$ac_optarg ;;
   1146 
   1147   -localedir | --localedir | --localedi | --localed | --locale)
   1148     ac_prev=localedir ;;
   1149   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1150     localedir=$ac_optarg ;;
   1151 
   1152   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1153   | --localstate | --localstat | --localsta | --localst | --locals)
   1154     ac_prev=localstatedir ;;
   1155   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1156   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1157     localstatedir=$ac_optarg ;;
   1158 
   1159   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1160     ac_prev=mandir ;;
   1161   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1162     mandir=$ac_optarg ;;
   1163 
   1164   -nfp | --nfp | --nf)
   1165     # Obsolete; use --without-fp.
   1166     with_fp=no ;;
   1167 
   1168   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1169   | --no-cr | --no-c | -n)
   1170     no_create=yes ;;
   1171 
   1172   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1173   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1174     no_recursion=yes ;;
   1175 
   1176   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1177   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1178   | --oldin | --oldi | --old | --ol | --o)
   1179     ac_prev=oldincludedir ;;
   1180   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1181   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1182   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1183     oldincludedir=$ac_optarg ;;
   1184 
   1185   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1186     ac_prev=prefix ;;
   1187   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1188     prefix=$ac_optarg ;;
   1189 
   1190   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1191   | --program-pre | --program-pr | --program-p)
   1192     ac_prev=program_prefix ;;
   1193   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1194   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1195     program_prefix=$ac_optarg ;;
   1196 
   1197   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1198   | --program-suf | --program-su | --program-s)
   1199     ac_prev=program_suffix ;;
   1200   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1201   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1202     program_suffix=$ac_optarg ;;
   1203 
   1204   -program-transform-name | --program-transform-name \
   1205   | --program-transform-nam | --program-transform-na \
   1206   | --program-transform-n | --program-transform- \
   1207   | --program-transform | --program-transfor \
   1208   | --program-transfo | --program-transf \
   1209   | --program-trans | --program-tran \
   1210   | --progr-tra | --program-tr | --program-t)
   1211     ac_prev=program_transform_name ;;
   1212   -program-transform-name=* | --program-transform-name=* \
   1213   | --program-transform-nam=* | --program-transform-na=* \
   1214   | --program-transform-n=* | --program-transform-=* \
   1215   | --program-transform=* | --program-transfor=* \
   1216   | --program-transfo=* | --program-transf=* \
   1217   | --program-trans=* | --program-tran=* \
   1218   | --progr-tra=* | --program-tr=* | --program-t=*)
   1219     program_transform_name=$ac_optarg ;;
   1220 
   1221   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1222     ac_prev=pdfdir ;;
   1223   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1224     pdfdir=$ac_optarg ;;
   1225 
   1226   -psdir | --psdir | --psdi | --psd | --ps)
   1227     ac_prev=psdir ;;
   1228   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1229     psdir=$ac_optarg ;;
   1230 
   1231   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1232   | -silent | --silent | --silen | --sile | --sil)
   1233     silent=yes ;;
   1234 
   1235   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1236   | --runstate | --runstat | --runsta | --runst | --runs \
   1237   | --run | --ru | --r)
   1238     ac_prev=runstatedir ;;
   1239   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1240   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1241   | --run=* | --ru=* | --r=*)
   1242     runstatedir=$ac_optarg ;;
   1243 
   1244   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1245     ac_prev=sbindir ;;
   1246   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1247   | --sbi=* | --sb=*)
   1248     sbindir=$ac_optarg ;;
   1249 
   1250   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1251   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1252   | --sharedst | --shareds | --shared | --share | --shar \
   1253   | --sha | --sh)
   1254     ac_prev=sharedstatedir ;;
   1255   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1256   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1257   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1258   | --sha=* | --sh=*)
   1259     sharedstatedir=$ac_optarg ;;
   1260 
   1261   -site | --site | --sit)
   1262     ac_prev=site ;;
   1263   -site=* | --site=* | --sit=*)
   1264     site=$ac_optarg ;;
   1265 
   1266   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1267     ac_prev=srcdir ;;
   1268   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1269     srcdir=$ac_optarg ;;
   1270 
   1271   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1272   | --syscon | --sysco | --sysc | --sys | --sy)
   1273     ac_prev=sysconfdir ;;
   1274   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1275   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1276     sysconfdir=$ac_optarg ;;
   1277 
   1278   -target | --target | --targe | --targ | --tar | --ta | --t)
   1279     ac_prev=target_alias ;;
   1280   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1281     target_alias=$ac_optarg ;;
   1282 
   1283   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1284     verbose=yes ;;
   1285 
   1286   -version | --version | --versio | --versi | --vers | -V)
   1287     ac_init_version=: ;;
   1288 
   1289   -with-* | --with-*)
   1290     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1291     # Reject names that are not valid shell variable names.
   1292     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1293       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1294     ac_useropt_orig=$ac_useropt
   1295     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1296     case $ac_user_opts in
   1297       *"
   1298 "with_$ac_useropt"
   1299 "*) ;;
   1300       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1301 	 ac_unrecognized_sep=', ';;
   1302     esac
   1303     eval with_$ac_useropt=\$ac_optarg ;;
   1304 
   1305   -without-* | --without-*)
   1306     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   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--without-$ac_useropt_orig"
   1317 	 ac_unrecognized_sep=', ';;
   1318     esac
   1319     eval with_$ac_useropt=no ;;
   1320 
   1321   --x)
   1322     # Obsolete; use --with-x.
   1323     with_x=yes ;;
   1324 
   1325   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1326   | --x-incl | --x-inc | --x-in | --x-i)
   1327     ac_prev=x_includes ;;
   1328   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1329   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1330     x_includes=$ac_optarg ;;
   1331 
   1332   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1333   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1334     ac_prev=x_libraries ;;
   1335   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1336   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1337     x_libraries=$ac_optarg ;;
   1338 
   1339   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1340 Try \`$0 --help' for more information"
   1341     ;;
   1342 
   1343   *=*)
   1344     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1345     # Reject names that are not valid shell variable names.
   1346     case $ac_envvar in #(
   1347       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1348       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1349     esac
   1350     eval $ac_envvar=\$ac_optarg
   1351     export $ac_envvar ;;
   1352 
   1353   *)
   1354     # FIXME: should be removed in autoconf 3.0.
   1355     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1356     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1357       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1358     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1359     ;;
   1360 
   1361   esac
   1362 done
   1363 
   1364 if test -n "$ac_prev"; then
   1365   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1366   as_fn_error $? "missing argument to $ac_option"
   1367 fi
   1368 
   1369 if test -n "$ac_unrecognized_opts"; then
   1370   case $enable_option_checking in
   1371     no) ;;
   1372     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1373     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1374   esac
   1375 fi
   1376 
   1377 # Check all directory arguments for consistency.
   1378 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1379 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1380 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1381 		libdir localedir mandir runstatedir
   1382 do
   1383   eval ac_val=\$$ac_var
   1384   # Remove trailing slashes.
   1385   case $ac_val in
   1386     */ )
   1387       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1388       eval $ac_var=\$ac_val;;
   1389   esac
   1390   # Be sure to have absolute directory names.
   1391   case $ac_val in
   1392     [\\/$]* | ?:[\\/]* )  continue;;
   1393     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1394   esac
   1395   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1396 done
   1397 
   1398 # There might be people who depend on the old broken behavior: `$host'
   1399 # used to hold the argument of --host etc.
   1400 # FIXME: To remove some day.
   1401 build=$build_alias
   1402 host=$host_alias
   1403 target=$target_alias
   1404 
   1405 # FIXME: To remove some day.
   1406 if test "x$host_alias" != x; then
   1407   if test "x$build_alias" = x; then
   1408     cross_compiling=maybe
   1409   elif test "x$build_alias" != "x$host_alias"; then
   1410     cross_compiling=yes
   1411   fi
   1412 fi
   1413 
   1414 ac_tool_prefix=
   1415 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1416 
   1417 test "$silent" = yes && exec 6>/dev/null
   1418 
   1419 
   1420 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1421 ac_ls_di=`ls -di .` &&
   1422 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1423   as_fn_error $? "working directory cannot be determined"
   1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1425   as_fn_error $? "pwd does not report name of working directory"
   1426 
   1427 
   1428 # Find the source files, if location was not specified.
   1429 if test -z "$srcdir"; then
   1430   ac_srcdir_defaulted=yes
   1431   # Try the directory containing this script, then the parent directory.
   1432   ac_confdir=`$as_dirname -- "$as_myself" ||
   1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1434 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1435 	 X"$as_myself" : 'X\(//\)$' \| \
   1436 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1437 printf "%s\n" X"$as_myself" |
   1438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1439 	    s//\1/
   1440 	    q
   1441 	  }
   1442 	  /^X\(\/\/\)[^/].*/{
   1443 	    s//\1/
   1444 	    q
   1445 	  }
   1446 	  /^X\(\/\/\)$/{
   1447 	    s//\1/
   1448 	    q
   1449 	  }
   1450 	  /^X\(\/\).*/{
   1451 	    s//\1/
   1452 	    q
   1453 	  }
   1454 	  s/.*/./; q'`
   1455   srcdir=$ac_confdir
   1456   if test ! -r "$srcdir/$ac_unique_file"; then
   1457     srcdir=..
   1458   fi
   1459 else
   1460   ac_srcdir_defaulted=no
   1461 fi
   1462 if test ! -r "$srcdir/$ac_unique_file"; then
   1463   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1464   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1465 fi
   1466 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1467 ac_abs_confdir=`(
   1468 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1469 	pwd)`
   1470 # When building in place, set srcdir=.
   1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1472   srcdir=.
   1473 fi
   1474 # Remove unnecessary trailing slashes from srcdir.
   1475 # Double slashes in file names in object file debugging info
   1476 # mess up M-x gdb in Emacs.
   1477 case $srcdir in
   1478 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1479 esac
   1480 for ac_var in $ac_precious_vars; do
   1481   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1482   eval ac_env_${ac_var}_value=\$${ac_var}
   1483   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1484   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1485 done
   1486 
   1487 #
   1488 # Report the --help message.
   1489 #
   1490 if test "$ac_init_help" = "long"; then
   1491   # Omit some internal or obsolete options to make the list less imposing.
   1492   # This message is too long to be a string in the A/UX 3.1 sh.
   1493   cat <<_ACEOF
   1494 \`configure' configures libXdmcp 1.1.4 to adapt to many kinds of systems.
   1495 
   1496 Usage: $0 [OPTION]... [VAR=VALUE]...
   1497 
   1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1499 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1500 
   1501 Defaults for the options are specified in brackets.
   1502 
   1503 Configuration:
   1504   -h, --help              display this help and exit
   1505       --help=short        display options specific to this package
   1506       --help=recursive    display the short help of all the included packages
   1507   -V, --version           display version information and exit
   1508   -q, --quiet, --silent   do not print \`checking ...' messages
   1509       --cache-file=FILE   cache test results in FILE [disabled]
   1510   -C, --config-cache      alias for \`--cache-file=config.cache'
   1511   -n, --no-create         do not create output files
   1512       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1513 
   1514 Installation directories:
   1515   --prefix=PREFIX         install architecture-independent files in PREFIX
   1516                           [$ac_default_prefix]
   1517   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1518                           [PREFIX]
   1519 
   1520 By default, \`make install' will install all the files in
   1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1523 for instance \`--prefix=\$HOME'.
   1524 
   1525 For better control, use the options below.
   1526 
   1527 Fine tuning of the installation directories:
   1528   --bindir=DIR            user executables [EPREFIX/bin]
   1529   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1530   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1531   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1532   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1533   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1534   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1535   --libdir=DIR            object code libraries [EPREFIX/lib]
   1536   --includedir=DIR        C header files [PREFIX/include]
   1537   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1538   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1539   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1540   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1541   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1542   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1543   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXdmcp]
   1544   --htmldir=DIR           html documentation [DOCDIR]
   1545   --dvidir=DIR            dvi documentation [DOCDIR]
   1546   --pdfdir=DIR            pdf documentation [DOCDIR]
   1547   --psdir=DIR             ps documentation [DOCDIR]
   1548 _ACEOF
   1549 
   1550   cat <<\_ACEOF
   1551 
   1552 Program names:
   1553   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1554   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1555   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1556 
   1557 System types:
   1558   --build=BUILD     configure for building on BUILD [guessed]
   1559   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1560 _ACEOF
   1561 fi
   1562 
   1563 if test -n "$ac_init_help"; then
   1564   case $ac_init_help in
   1565      short | recursive ) echo "Configuration of libXdmcp 1.1.4:";;
   1566    esac
   1567   cat <<\_ACEOF
   1568 
   1569 Optional Features:
   1570   --disable-option-checking  ignore unrecognized --enable/--with options
   1571   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1572   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1573   --enable-dependency-tracking
   1574                           do not reject slow dependency extractors
   1575   --disable-dependency-tracking
   1576                           speeds up one-time build
   1577   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1578   --disable-silent-rules  verbose build output (undo: "make V=0")
   1579   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1580   --enable-static[=PKGS]  build static libraries [default=yes]
   1581   --enable-fast-install[=PKGS]
   1582                           optimize for fast installation [default=yes]
   1583   --disable-libtool-lock  avoid locking (might break parallel builds)
   1584   --disable-selective-werror
   1585                           Turn off selective compiler errors. (default:
   1586                           enabled)
   1587   --enable-strict-compilation
   1588                           Enable all warnings from compiler and make them
   1589                           errors (default: disabled)
   1590   --enable-docs           Enable building the documentation (default: yes)
   1591   --enable-lint-library   Create lint library (default: disabled)
   1592   --enable-unit-tests     Enable building unit test cases (default: yes)
   1593 
   1594 Optional Packages:
   1595   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1596   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1597   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1598                           both]
   1599   --with-aix-soname=aix|svr4|both
   1600                           shared library versioning (aka "SONAME") variant to
   1601                           provide on AIX, [default=aix].
   1602   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1603   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1604                           compiler's sysroot if not specified).
   1605   --with-xmlto            Use xmlto to regenerate documentation (default:
   1606                           auto)
   1607   --with-fop              Use fop to regenerate documentation (default: auto)
   1608   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1609                           (default: auto)
   1610   --with-lint             Use a lint-style source code checker (default:
   1611                           disabled)
   1612 
   1613 Some influential environment variables:
   1614   CC          C compiler command
   1615   CFLAGS      C compiler flags
   1616   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1617               nonstandard directory <lib dir>
   1618   LIBS        libraries to pass to the linker, e.g. -l<library>
   1619   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1620               you have headers in a nonstandard directory <include dir>
   1621   LT_SYS_LIBRARY_PATH
   1622               User-defined run-time library search path.
   1623   PKG_CONFIG  path to pkg-config utility
   1624   PKG_CONFIG_PATH
   1625               directories to add to pkg-config's search path
   1626   PKG_CONFIG_LIBDIR
   1627               path overriding pkg-config's built-in search path
   1628   XMLTO       Path to xmlto command
   1629   FOP         Path to fop command
   1630   XSLTPROC    Path to xsltproc command
   1631   LIBBSD_CFLAGS
   1632               C compiler flags for LIBBSD, overriding pkg-config
   1633   LIBBSD_LIBS linker flags for LIBBSD, overriding pkg-config
   1634   XDMCP_CFLAGS
   1635               C compiler flags for XDMCP, overriding pkg-config
   1636   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1637   LINT        Path to a lint-style command
   1638   LINT_FLAGS  Flags for the lint-style command
   1639   XORG_MALLOC_DEBUG_ENV
   1640               Environment variables to enable memory checking in tests
   1641 
   1642 Use these variables to override the choices made by `configure' or to help
   1643 it to find libraries and programs with nonstandard names/locations.
   1644 
   1645 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/issues>.
   1646 _ACEOF
   1647 ac_status=$?
   1648 fi
   1649 
   1650 if test "$ac_init_help" = "recursive"; then
   1651   # If there are subdirs, report their specific --help.
   1652   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1653     test -d "$ac_dir" ||
   1654       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1655       continue
   1656     ac_builddir=.
   1657 
   1658 case "$ac_dir" in
   1659 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660 *)
   1661   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1662   # A ".." for each directory in $ac_dir_suffix.
   1663   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1664   case $ac_top_builddir_sub in
   1665   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1666   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1667   esac ;;
   1668 esac
   1669 ac_abs_top_builddir=$ac_pwd
   1670 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1671 # for backward compatibility:
   1672 ac_top_builddir=$ac_top_build_prefix
   1673 
   1674 case $srcdir in
   1675   .)  # We are building in place.
   1676     ac_srcdir=.
   1677     ac_top_srcdir=$ac_top_builddir_sub
   1678     ac_abs_top_srcdir=$ac_pwd ;;
   1679   [\\/]* | ?:[\\/]* )  # Absolute name.
   1680     ac_srcdir=$srcdir$ac_dir_suffix;
   1681     ac_top_srcdir=$srcdir
   1682     ac_abs_top_srcdir=$srcdir ;;
   1683   *) # Relative name.
   1684     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1685     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1686     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1687 esac
   1688 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1689 
   1690     cd "$ac_dir" || { ac_status=$?; continue; }
   1691     # Check for configure.gnu first; this name is used for a wrapper for
   1692     # Metaconfig's "Configure" on case-insensitive file systems.
   1693     if test -f "$ac_srcdir/configure.gnu"; then
   1694       echo &&
   1695       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1696     elif test -f "$ac_srcdir/configure"; then
   1697       echo &&
   1698       $SHELL "$ac_srcdir/configure" --help=recursive
   1699     else
   1700       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1701     fi || ac_status=$?
   1702     cd "$ac_pwd" || { ac_status=$?; break; }
   1703   done
   1704 fi
   1705 
   1706 test -n "$ac_init_help" && exit $ac_status
   1707 if $ac_init_version; then
   1708   cat <<\_ACEOF
   1709 libXdmcp configure 1.1.4
   1710 generated by GNU Autoconf 2.71
   1711 
   1712 Copyright (C) 2021 Free Software Foundation, Inc.
   1713 This configure script is free software; the Free Software Foundation
   1714 gives unlimited permission to copy, distribute and modify it.
   1715 _ACEOF
   1716   exit
   1717 fi
   1718 
   1719 ## ------------------------ ##
   1720 ## Autoconf initialization. ##
   1721 ## ------------------------ ##
   1722 
   1723 # ac_fn_c_try_compile LINENO
   1724 # --------------------------
   1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1726 ac_fn_c_try_compile ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   rm -f conftest.$ac_objext conftest.beam
   1730   if { { ac_try="$ac_compile"
   1731 case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 printf "%s\n" "$ac_try_echo"; } >&5
   1737   (eval "$ac_compile") 2>conftest.err
   1738   ac_status=$?
   1739   if test -s conftest.err; then
   1740     grep -v '^ *+' conftest.err >conftest.er1
   1741     cat conftest.er1 >&5
   1742     mv -f conftest.er1 conftest.err
   1743   fi
   1744   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1745   test $ac_status = 0; } && {
   1746 	 test -z "$ac_c_werror_flag" ||
   1747 	 test ! -s conftest.err
   1748        } && test -s conftest.$ac_objext
   1749 then :
   1750   ac_retval=0
   1751 else $as_nop
   1752   printf "%s\n" "$as_me: failed program was:" >&5
   1753 sed 's/^/| /' conftest.$ac_ext >&5
   1754 
   1755 	ac_retval=1
   1756 fi
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758   as_fn_set_status $ac_retval
   1759 
   1760 } # ac_fn_c_try_compile
   1761 
   1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1763 # -------------------------------------------------------
   1764 # Tests whether HEADER exists and can be compiled using the include files in
   1765 # INCLUDES, setting the cache variable VAR accordingly.
   1766 ac_fn_c_check_header_compile ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1770 printf %s "checking for $2... " >&6; }
   1771 if eval test \${$3+y}
   1772 then :
   1773   printf %s "(cached) " >&6
   1774 else $as_nop
   1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 $4
   1778 #include <$2>
   1779 _ACEOF
   1780 if ac_fn_c_try_compile "$LINENO"
   1781 then :
   1782   eval "$3=yes"
   1783 else $as_nop
   1784   eval "$3=no"
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 printf "%s\n" "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_header_compile
   1794 
   1795 # ac_fn_c_try_link LINENO
   1796 # -----------------------
   1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1798 ac_fn_c_try_link ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1802   if { { ac_try="$ac_link"
   1803 case "(($ac_try" in
   1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1805   *) ac_try_echo=$ac_try;;
   1806 esac
   1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1808 printf "%s\n" "$ac_try_echo"; } >&5
   1809   (eval "$ac_link") 2>conftest.err
   1810   ac_status=$?
   1811   if test -s conftest.err; then
   1812     grep -v '^ *+' conftest.err >conftest.er1
   1813     cat conftest.er1 >&5
   1814     mv -f conftest.er1 conftest.err
   1815   fi
   1816   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; } && {
   1818 	 test -z "$ac_c_werror_flag" ||
   1819 	 test ! -s conftest.err
   1820        } && test -s conftest$ac_exeext && {
   1821 	 test "$cross_compiling" = yes ||
   1822 	 test -x conftest$ac_exeext
   1823        }
   1824 then :
   1825   ac_retval=0
   1826 else $as_nop
   1827   printf "%s\n" "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830 	ac_retval=1
   1831 fi
   1832   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1833   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1834   # interfere with the next link command; also delete a directory that is
   1835   # left behind by Apple's compiler.  We do this before executing the actions.
   1836   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1837   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1838   as_fn_set_status $ac_retval
   1839 
   1840 } # ac_fn_c_try_link
   1841 
   1842 # ac_fn_c_check_func LINENO FUNC VAR
   1843 # ----------------------------------
   1844 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1845 ac_fn_c_check_func ()
   1846 {
   1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1849 printf %s "checking for $2... " >&6; }
   1850 if eval test \${$3+y}
   1851 then :
   1852   printf %s "(cached) " >&6
   1853 else $as_nop
   1854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1858 #define $2 innocuous_$2
   1859 
   1860 /* System header to define __stub macros and hopefully few prototypes,
   1861    which can conflict with char $2 (); below.  */
   1862 
   1863 #include <limits.h>
   1864 #undef $2
   1865 
   1866 /* Override any GCC internal prototype to avoid an error.
   1867    Use char because int might match the return type of a GCC
   1868    builtin and then its argument prototype would still apply.  */
   1869 #ifdef __cplusplus
   1870 extern "C"
   1871 #endif
   1872 char $2 ();
   1873 /* The GNU C library defines this for functions which it implements
   1874     to always fail with ENOSYS.  Some functions are actually named
   1875     something starting with __ and the normal name is an alias.  */
   1876 #if defined __stub_$2 || defined __stub___$2
   1877 choke me
   1878 #endif
   1879 
   1880 int
   1881 main (void)
   1882 {
   1883 return $2 ();
   1884   ;
   1885   return 0;
   1886 }
   1887 _ACEOF
   1888 if ac_fn_c_try_link "$LINENO"
   1889 then :
   1890   eval "$3=yes"
   1891 else $as_nop
   1892   eval "$3=no"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1895     conftest$ac_exeext conftest.$ac_ext
   1896 fi
   1897 eval ac_res=\$$3
   1898 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1899 printf "%s\n" "$ac_res" >&6; }
   1900   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1901 
   1902 } # ac_fn_c_check_func
   1903 
   1904 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1905 # ------------------------------------------------------------------
   1906 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1907 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1908 ac_fn_check_decl ()
   1909 {
   1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1911   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1913 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1914 if eval test \${$3+y}
   1915 then :
   1916   printf %s "(cached) " >&6
   1917 else $as_nop
   1918   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1919   eval ac_save_FLAGS=\$$6
   1920   as_fn_append $6 " $5"
   1921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1922 /* end confdefs.h.  */
   1923 $4
   1924 int
   1925 main (void)
   1926 {
   1927 #ifndef $as_decl_name
   1928 #ifdef __cplusplus
   1929   (void) $as_decl_use;
   1930 #else
   1931   (void) $as_decl_name;
   1932 #endif
   1933 #endif
   1934 
   1935   ;
   1936   return 0;
   1937 }
   1938 _ACEOF
   1939 if ac_fn_c_try_compile "$LINENO"
   1940 then :
   1941   eval "$3=yes"
   1942 else $as_nop
   1943   eval "$3=no"
   1944 fi
   1945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1946   eval $6=\$ac_save_FLAGS
   1947 
   1948 fi
   1949 eval ac_res=\$$3
   1950 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1951 printf "%s\n" "$ac_res" >&6; }
   1952   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1953 
   1954 } # ac_fn_check_decl
   1955 ac_configure_args_raw=
   1956 for ac_arg
   1957 do
   1958   case $ac_arg in
   1959   *\'*)
   1960     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1961   esac
   1962   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1963 done
   1964 
   1965 case $ac_configure_args_raw in
   1966   *$as_nl*)
   1967     ac_safe_unquote= ;;
   1968   *)
   1969     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1970     ac_unsafe_a="$ac_unsafe_z#~"
   1971     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1972     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1973 esac
   1974 
   1975 cat >config.log <<_ACEOF
   1976 This file contains any messages produced by compilers while
   1977 running configure, to aid debugging if configure makes a mistake.
   1978 
   1979 It was created by libXdmcp $as_me 1.1.4, which was
   1980 generated by GNU Autoconf 2.71.  Invocation command line was
   1981 
   1982   $ $0$ac_configure_args_raw
   1983 
   1984 _ACEOF
   1985 exec 5>>config.log
   1986 {
   1987 cat <<_ASUNAME
   1988 ## --------- ##
   1989 ## Platform. ##
   1990 ## --------- ##
   1991 
   1992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1997 
   1998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1999 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2000 
   2001 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2002 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2004 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2005 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2006 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2007 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2008 
   2009 _ASUNAME
   2010 
   2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2012 for as_dir in $PATH
   2013 do
   2014   IFS=$as_save_IFS
   2015   case $as_dir in #(((
   2016     '') as_dir=./ ;;
   2017     */) ;;
   2018     *) as_dir=$as_dir/ ;;
   2019   esac
   2020     printf "%s\n" "PATH: $as_dir"
   2021   done
   2022 IFS=$as_save_IFS
   2023 
   2024 } >&5
   2025 
   2026 cat >&5 <<_ACEOF
   2027 
   2028 
   2029 ## ----------- ##
   2030 ## Core tests. ##
   2031 ## ----------- ##
   2032 
   2033 _ACEOF
   2034 
   2035 
   2036 # Keep a trace of the command line.
   2037 # Strip out --no-create and --no-recursion so they do not pile up.
   2038 # Strip out --silent because we don't want to record it for future runs.
   2039 # Also quote any args containing shell meta-characters.
   2040 # Make two passes to allow for proper duplicate-argument suppression.
   2041 ac_configure_args=
   2042 ac_configure_args0=
   2043 ac_configure_args1=
   2044 ac_must_keep_next=false
   2045 for ac_pass in 1 2
   2046 do
   2047   for ac_arg
   2048   do
   2049     case $ac_arg in
   2050     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2051     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2052     | -silent | --silent | --silen | --sile | --sil)
   2053       continue ;;
   2054     *\'*)
   2055       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2056     esac
   2057     case $ac_pass in
   2058     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2059     2)
   2060       as_fn_append ac_configure_args1 " '$ac_arg'"
   2061       if test $ac_must_keep_next = true; then
   2062 	ac_must_keep_next=false # Got value, back to normal.
   2063       else
   2064 	case $ac_arg in
   2065 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2066 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2067 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2068 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2069 	    case "$ac_configure_args0 " in
   2070 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2071 	    esac
   2072 	    ;;
   2073 	  -* ) ac_must_keep_next=true ;;
   2074 	esac
   2075       fi
   2076       as_fn_append ac_configure_args " '$ac_arg'"
   2077       ;;
   2078     esac
   2079   done
   2080 done
   2081 { ac_configure_args0=; unset ac_configure_args0;}
   2082 { ac_configure_args1=; unset ac_configure_args1;}
   2083 
   2084 # When interrupted or exit'd, cleanup temporary files, and complete
   2085 # config.log.  We remove comments because anyway the quotes in there
   2086 # would cause problems or look ugly.
   2087 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2088 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2089 trap 'exit_status=$?
   2090   # Sanitize IFS.
   2091   IFS=" ""	$as_nl"
   2092   # Save into config.log some information that might help in debugging.
   2093   {
   2094     echo
   2095 
   2096     printf "%s\n" "## ---------------- ##
   2097 ## Cache variables. ##
   2098 ## ---------------- ##"
   2099     echo
   2100     # The following way of writing the cache mishandles newlines in values,
   2101 (
   2102   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2103     eval ac_val=\$$ac_var
   2104     case $ac_val in #(
   2105     *${as_nl}*)
   2106       case $ac_var in #(
   2107       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2108 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2109       esac
   2110       case $ac_var in #(
   2111       _ | IFS | as_nl) ;; #(
   2112       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2113       *) { eval $ac_var=; unset $ac_var;} ;;
   2114       esac ;;
   2115     esac
   2116   done
   2117   (set) 2>&1 |
   2118     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2119     *${as_nl}ac_space=\ *)
   2120       sed -n \
   2121 	"s/'\''/'\''\\\\'\'''\''/g;
   2122 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2123       ;; #(
   2124     *)
   2125       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2126       ;;
   2127     esac |
   2128     sort
   2129 )
   2130     echo
   2131 
   2132     printf "%s\n" "## ----------------- ##
   2133 ## Output variables. ##
   2134 ## ----------------- ##"
   2135     echo
   2136     for ac_var in $ac_subst_vars
   2137     do
   2138       eval ac_val=\$$ac_var
   2139       case $ac_val in
   2140       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2141       esac
   2142       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2143     done | sort
   2144     echo
   2145 
   2146     if test -n "$ac_subst_files"; then
   2147       printf "%s\n" "## ------------------- ##
   2148 ## File substitutions. ##
   2149 ## ------------------- ##"
   2150       echo
   2151       for ac_var in $ac_subst_files
   2152       do
   2153 	eval ac_val=\$$ac_var
   2154 	case $ac_val in
   2155 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2156 	esac
   2157 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2158       done | sort
   2159       echo
   2160     fi
   2161 
   2162     if test -s confdefs.h; then
   2163       printf "%s\n" "## ----------- ##
   2164 ## confdefs.h. ##
   2165 ## ----------- ##"
   2166       echo
   2167       cat confdefs.h
   2168       echo
   2169     fi
   2170     test "$ac_signal" != 0 &&
   2171       printf "%s\n" "$as_me: caught signal $ac_signal"
   2172     printf "%s\n" "$as_me: exit $exit_status"
   2173   } >&5
   2174   rm -f core *.core core.conftest.* &&
   2175     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2176     exit $exit_status
   2177 ' 0
   2178 for ac_signal in 1 2 13 15; do
   2179   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2180 done
   2181 ac_signal=0
   2182 
   2183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2184 rm -f -r conftest* confdefs.h
   2185 
   2186 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2187 
   2188 # Predefined preprocessor variables.
   2189 
   2190 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2191 
   2192 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2193 
   2194 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2195 
   2196 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2197 
   2198 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2199 
   2200 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2201 
   2202 
   2203 # Let the site file select an alternate cache file if it wants to.
   2204 # Prefer an explicitly selected file to automatically selected ones.
   2205 if test -n "$CONFIG_SITE"; then
   2206   ac_site_files="$CONFIG_SITE"
   2207 elif test "x$prefix" != xNONE; then
   2208   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2209 else
   2210   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2211 fi
   2212 
   2213 for ac_site_file in $ac_site_files
   2214 do
   2215   case $ac_site_file in #(
   2216   */*) :
   2217      ;; #(
   2218   *) :
   2219     ac_site_file=./$ac_site_file ;;
   2220 esac
   2221   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2222     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2223 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2224     sed 's/^/| /' "$ac_site_file" >&5
   2225     . "$ac_site_file" \
   2226       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2227 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2228 as_fn_error $? "failed to load site script $ac_site_file
   2229 See \`config.log' for more details" "$LINENO" 5; }
   2230   fi
   2231 done
   2232 
   2233 if test -r "$cache_file"; then
   2234   # Some versions of bash will fail to source /dev/null (special files
   2235   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2236   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2237     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2238 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2239     case $cache_file in
   2240       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2241       *)                      . "./$cache_file";;
   2242     esac
   2243   fi
   2244 else
   2245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2246 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2247   >$cache_file
   2248 fi
   2249 
   2250 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2251 # Test code for whether the C compiler supports C89 (global declarations)
   2252 ac_c_conftest_c89_globals='
   2253 /* Does the compiler advertise C89 conformance?
   2254    Do not test the value of __STDC__, because some compilers set it to 0
   2255    while being otherwise adequately conformant. */
   2256 #if !defined __STDC__
   2257 # error "Compiler does not advertise C89 conformance"
   2258 #endif
   2259 
   2260 #include <stddef.h>
   2261 #include <stdarg.h>
   2262 struct stat;
   2263 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2264 struct buf { int x; };
   2265 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2266 static char *e (p, i)
   2267      char **p;
   2268      int i;
   2269 {
   2270   return p[i];
   2271 }
   2272 static char *f (char * (*g) (char **, int), char **p, ...)
   2273 {
   2274   char *s;
   2275   va_list v;
   2276   va_start (v,p);
   2277   s = g (p, va_arg (v,int));
   2278   va_end (v);
   2279   return s;
   2280 }
   2281 
   2282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2283    function prototypes and stuff, but not \xHH hex character constants.
   2284    These do not provoke an error unfortunately, instead are silently treated
   2285    as an "x".  The following induces an error, until -std is added to get
   2286    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2287    array size at least.  It is necessary to write \x00 == 0 to get something
   2288    that is true only with -std.  */
   2289 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2290 
   2291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2292    inside strings and character constants.  */
   2293 #define FOO(x) '\''x'\''
   2294 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2295 
   2296 int test (int i, double x);
   2297 struct s1 {int (*f) (int a);};
   2298 struct s2 {int (*f) (double a);};
   2299 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2300                int, int);'
   2301 
   2302 # Test code for whether the C compiler supports C89 (body of main).
   2303 ac_c_conftest_c89_main='
   2304 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2305 '
   2306 
   2307 # Test code for whether the C compiler supports C99 (global declarations)
   2308 ac_c_conftest_c99_globals='
   2309 // Does the compiler advertise C99 conformance?
   2310 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2311 # error "Compiler does not advertise C99 conformance"
   2312 #endif
   2313 
   2314 #include <stdbool.h>
   2315 extern int puts (const char *);
   2316 extern int printf (const char *, ...);
   2317 extern int dprintf (int, const char *, ...);
   2318 extern void *malloc (size_t);
   2319 
   2320 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2321 // dprintf is used instead of fprintf to avoid needing to declare
   2322 // FILE and stderr.
   2323 #define debug(...) dprintf (2, __VA_ARGS__)
   2324 #define showlist(...) puts (#__VA_ARGS__)
   2325 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2326 static void
   2327 test_varargs_macros (void)
   2328 {
   2329   int x = 1234;
   2330   int y = 5678;
   2331   debug ("Flag");
   2332   debug ("X = %d\n", x);
   2333   showlist (The first, second, and third items.);
   2334   report (x>y, "x is %d but y is %d", x, y);
   2335 }
   2336 
   2337 // Check long long types.
   2338 #define BIG64 18446744073709551615ull
   2339 #define BIG32 4294967295ul
   2340 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2341 #if !BIG_OK
   2342   #error "your preprocessor is broken"
   2343 #endif
   2344 #if BIG_OK
   2345 #else
   2346   #error "your preprocessor is broken"
   2347 #endif
   2348 static long long int bignum = -9223372036854775807LL;
   2349 static unsigned long long int ubignum = BIG64;
   2350 
   2351 struct incomplete_array
   2352 {
   2353   int datasize;
   2354   double data[];
   2355 };
   2356 
   2357 struct named_init {
   2358   int number;
   2359   const wchar_t *name;
   2360   double average;
   2361 };
   2362 
   2363 typedef const char *ccp;
   2364 
   2365 static inline int
   2366 test_restrict (ccp restrict text)
   2367 {
   2368   // See if C++-style comments work.
   2369   // Iterate through items via the restricted pointer.
   2370   // Also check for declarations in for loops.
   2371   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2372     continue;
   2373   return 0;
   2374 }
   2375 
   2376 // Check varargs and va_copy.
   2377 static bool
   2378 test_varargs (const char *format, ...)
   2379 {
   2380   va_list args;
   2381   va_start (args, format);
   2382   va_list args_copy;
   2383   va_copy (args_copy, args);
   2384 
   2385   const char *str = "";
   2386   int number = 0;
   2387   float fnumber = 0;
   2388 
   2389   while (*format)
   2390     {
   2391       switch (*format++)
   2392 	{
   2393 	case '\''s'\'': // string
   2394 	  str = va_arg (args_copy, const char *);
   2395 	  break;
   2396 	case '\''d'\'': // int
   2397 	  number = va_arg (args_copy, int);
   2398 	  break;
   2399 	case '\''f'\'': // float
   2400 	  fnumber = va_arg (args_copy, double);
   2401 	  break;
   2402 	default:
   2403 	  break;
   2404 	}
   2405     }
   2406   va_end (args_copy);
   2407   va_end (args);
   2408 
   2409   return *str && number && fnumber;
   2410 }
   2411 '
   2412 
   2413 # Test code for whether the C compiler supports C99 (body of main).
   2414 ac_c_conftest_c99_main='
   2415   // Check bool.
   2416   _Bool success = false;
   2417   success |= (argc != 0);
   2418 
   2419   // Check restrict.
   2420   if (test_restrict ("String literal") == 0)
   2421     success = true;
   2422   char *restrict newvar = "Another string";
   2423 
   2424   // Check varargs.
   2425   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2426   test_varargs_macros ();
   2427 
   2428   // Check flexible array members.
   2429   struct incomplete_array *ia =
   2430     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2431   ia->datasize = 10;
   2432   for (int i = 0; i < ia->datasize; ++i)
   2433     ia->data[i] = i * 1.234;
   2434 
   2435   // Check named initializers.
   2436   struct named_init ni = {
   2437     .number = 34,
   2438     .name = L"Test wide string",
   2439     .average = 543.34343,
   2440   };
   2441 
   2442   ni.number = 58;
   2443 
   2444   int dynamic_array[ni.number];
   2445   dynamic_array[0] = argv[0][0];
   2446   dynamic_array[ni.number - 1] = 543;
   2447 
   2448   // work around unused variable warnings
   2449   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2450 	 || dynamic_array[ni.number - 1] != 543);
   2451 '
   2452 
   2453 # Test code for whether the C compiler supports C11 (global declarations)
   2454 ac_c_conftest_c11_globals='
   2455 // Does the compiler advertise C11 conformance?
   2456 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2457 # error "Compiler does not advertise C11 conformance"
   2458 #endif
   2459 
   2460 // Check _Alignas.
   2461 char _Alignas (double) aligned_as_double;
   2462 char _Alignas (0) no_special_alignment;
   2463 extern char aligned_as_int;
   2464 char _Alignas (0) _Alignas (int) aligned_as_int;
   2465 
   2466 // Check _Alignof.
   2467 enum
   2468 {
   2469   int_alignment = _Alignof (int),
   2470   int_array_alignment = _Alignof (int[100]),
   2471   char_alignment = _Alignof (char)
   2472 };
   2473 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2474 
   2475 // Check _Noreturn.
   2476 int _Noreturn does_not_return (void) { for (;;) continue; }
   2477 
   2478 // Check _Static_assert.
   2479 struct test_static_assert
   2480 {
   2481   int x;
   2482   _Static_assert (sizeof (int) <= sizeof (long int),
   2483                   "_Static_assert does not work in struct");
   2484   long int y;
   2485 };
   2486 
   2487 // Check UTF-8 literals.
   2488 #define u8 syntax error!
   2489 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2490 
   2491 // Check duplicate typedefs.
   2492 typedef long *long_ptr;
   2493 typedef long int *long_ptr;
   2494 typedef long_ptr long_ptr;
   2495 
   2496 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2497 struct anonymous
   2498 {
   2499   union {
   2500     struct { int i; int j; };
   2501     struct { int k; long int l; } w;
   2502   };
   2503   int m;
   2504 } v1;
   2505 '
   2506 
   2507 # Test code for whether the C compiler supports C11 (body of main).
   2508 ac_c_conftest_c11_main='
   2509   _Static_assert ((offsetof (struct anonymous, i)
   2510 		   == offsetof (struct anonymous, w.k)),
   2511 		  "Anonymous union alignment botch");
   2512   v1.i = 2;
   2513   v1.w.k = 5;
   2514   ok |= v1.i != 5;
   2515 '
   2516 
   2517 # Test code for whether the C compiler supports C11 (complete).
   2518 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2519 ${ac_c_conftest_c99_globals}
   2520 ${ac_c_conftest_c11_globals}
   2521 
   2522 int
   2523 main (int argc, char **argv)
   2524 {
   2525   int ok = 0;
   2526   ${ac_c_conftest_c89_main}
   2527   ${ac_c_conftest_c99_main}
   2528   ${ac_c_conftest_c11_main}
   2529   return ok;
   2530 }
   2531 "
   2532 
   2533 # Test code for whether the C compiler supports C99 (complete).
   2534 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2535 ${ac_c_conftest_c99_globals}
   2536 
   2537 int
   2538 main (int argc, char **argv)
   2539 {
   2540   int ok = 0;
   2541   ${ac_c_conftest_c89_main}
   2542   ${ac_c_conftest_c99_main}
   2543   return ok;
   2544 }
   2545 "
   2546 
   2547 # Test code for whether the C compiler supports C89 (complete).
   2548 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2549 
   2550 int
   2551 main (int argc, char **argv)
   2552 {
   2553   int ok = 0;
   2554   ${ac_c_conftest_c89_main}
   2555   return ok;
   2556 }
   2557 "
   2558 
   2559 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2560 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2561 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2562 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2563 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2564 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2565 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2566 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2567 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2568 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2569 
   2570 # Auxiliary files required by this configure script.
   2571 ac_aux_files="ltmain.sh config.guess config.sub missing install-sh compile"
   2572 
   2573 # Locations in which to look for auxiliary files.
   2574 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2575 
   2576 # Search for a directory containing all of the required auxiliary files,
   2577 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2578 # If we don't find one directory that contains all the files we need,
   2579 # we report the set of missing files from the *first* directory in
   2580 # $ac_aux_dir_candidates and give up.
   2581 ac_missing_aux_files=""
   2582 ac_first_candidate=:
   2583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2585 as_found=false
   2586 for as_dir in $ac_aux_dir_candidates
   2587 do
   2588   IFS=$as_save_IFS
   2589   case $as_dir in #(((
   2590     '') as_dir=./ ;;
   2591     */) ;;
   2592     *) as_dir=$as_dir/ ;;
   2593   esac
   2594   as_found=:
   2595 
   2596   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2597   ac_aux_dir_found=yes
   2598   ac_install_sh=
   2599   for ac_aux in $ac_aux_files
   2600   do
   2601     # As a special case, if "install-sh" is required, that requirement
   2602     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2603     # and $ac_install_sh is set appropriately for whichever one is found.
   2604     if test x"$ac_aux" = x"install-sh"
   2605     then
   2606       if test -f "${as_dir}install-sh"; then
   2607         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2608         ac_install_sh="${as_dir}install-sh -c"
   2609       elif test -f "${as_dir}install.sh"; then
   2610         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2611         ac_install_sh="${as_dir}install.sh -c"
   2612       elif test -f "${as_dir}shtool"; then
   2613         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2614         ac_install_sh="${as_dir}shtool install -c"
   2615       else
   2616         ac_aux_dir_found=no
   2617         if $ac_first_candidate; then
   2618           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2619         else
   2620           break
   2621         fi
   2622       fi
   2623     else
   2624       if test -f "${as_dir}${ac_aux}"; then
   2625         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2626       else
   2627         ac_aux_dir_found=no
   2628         if $ac_first_candidate; then
   2629           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2630         else
   2631           break
   2632         fi
   2633       fi
   2634     fi
   2635   done
   2636   if test "$ac_aux_dir_found" = yes; then
   2637     ac_aux_dir="$as_dir"
   2638     break
   2639   fi
   2640   ac_first_candidate=false
   2641 
   2642   as_found=false
   2643 done
   2644 IFS=$as_save_IFS
   2645 if $as_found
   2646 then :
   2647 
   2648 else $as_nop
   2649   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2650 fi
   2651 
   2652 
   2653 # These three variables are undocumented and unsupported,
   2654 # and are intended to be withdrawn in a future Autoconf release.
   2655 # They can cause serious problems if a builder's source tree is in a directory
   2656 # whose full name contains unusual characters.
   2657 if test -f "${ac_aux_dir}config.guess"; then
   2658   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2659 fi
   2660 if test -f "${ac_aux_dir}config.sub"; then
   2661   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2662 fi
   2663 if test -f "$ac_aux_dir/configure"; then
   2664   ac_configure="$SHELL ${ac_aux_dir}configure"
   2665 fi
   2666 
   2667 # Check that the precious variables saved in the cache have kept the same
   2668 # value.
   2669 ac_cache_corrupted=false
   2670 for ac_var in $ac_precious_vars; do
   2671   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2672   eval ac_new_set=\$ac_env_${ac_var}_set
   2673   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2674   eval ac_new_val=\$ac_env_${ac_var}_value
   2675   case $ac_old_set,$ac_new_set in
   2676     set,)
   2677       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2678 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2679       ac_cache_corrupted=: ;;
   2680     ,set)
   2681       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2682 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2683       ac_cache_corrupted=: ;;
   2684     ,);;
   2685     *)
   2686       if test "x$ac_old_val" != "x$ac_new_val"; then
   2687 	# differences in whitespace do not lead to failure.
   2688 	ac_old_val_w=`echo x $ac_old_val`
   2689 	ac_new_val_w=`echo x $ac_new_val`
   2690 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2691 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2692 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2693 	  ac_cache_corrupted=:
   2694 	else
   2695 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2696 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2697 	  eval $ac_var=\$ac_old_val
   2698 	fi
   2699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2700 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2702 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2703       fi;;
   2704   esac
   2705   # Pass precious variables to config.status.
   2706   if test "$ac_new_set" = set; then
   2707     case $ac_new_val in
   2708     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2709     *) ac_arg=$ac_var=$ac_new_val ;;
   2710     esac
   2711     case " $ac_configure_args " in
   2712       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2713       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2714     esac
   2715   fi
   2716 done
   2717 if $ac_cache_corrupted; then
   2718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2719 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2721 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2722   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2723 	    and start over" "$LINENO" 5
   2724 fi
   2725 ## -------------------- ##
   2726 ## Main body of script. ##
   2727 ## -------------------- ##
   2728 
   2729 ac_ext=c
   2730 ac_cpp='$CPP $CPPFLAGS'
   2731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2734 
   2735 
   2736 
   2737 ac_config_headers="$ac_config_headers config.h"
   2738 
   2739 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2740 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2741 # to avoid autoconf errors.
   2742 
   2743 
   2744 
   2745 
   2746 
   2747 
   2748 
   2749 
   2750 
   2751 
   2752 
   2753 # Expand $ac_aux_dir to an absolute path.
   2754 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2755 
   2756 ac_ext=c
   2757 ac_cpp='$CPP $CPPFLAGS'
   2758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2761 if test -n "$ac_tool_prefix"; then
   2762   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2763 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2765 printf %s "checking for $ac_word... " >&6; }
   2766 if test ${ac_cv_prog_CC+y}
   2767 then :
   2768   printf %s "(cached) " >&6
   2769 else $as_nop
   2770   if test -n "$CC"; then
   2771   ac_cv_prog_CC="$CC" # Let the user override the test.
   2772 else
   2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2774 for as_dir in $PATH
   2775 do
   2776   IFS=$as_save_IFS
   2777   case $as_dir in #(((
   2778     '') as_dir=./ ;;
   2779     */) ;;
   2780     *) as_dir=$as_dir/ ;;
   2781   esac
   2782     for ac_exec_ext in '' $ac_executable_extensions; do
   2783   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2784     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2785     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2786     break 2
   2787   fi
   2788 done
   2789   done
   2790 IFS=$as_save_IFS
   2791 
   2792 fi
   2793 fi
   2794 CC=$ac_cv_prog_CC
   2795 if test -n "$CC"; then
   2796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2797 printf "%s\n" "$CC" >&6; }
   2798 else
   2799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2800 printf "%s\n" "no" >&6; }
   2801 fi
   2802 
   2803 
   2804 fi
   2805 if test -z "$ac_cv_prog_CC"; then
   2806   ac_ct_CC=$CC
   2807   # Extract the first word of "gcc", so it can be a program name with args.
   2808 set dummy gcc; ac_word=$2
   2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2810 printf %s "checking for $ac_word... " >&6; }
   2811 if test ${ac_cv_prog_ac_ct_CC+y}
   2812 then :
   2813   printf %s "(cached) " >&6
   2814 else $as_nop
   2815   if test -n "$ac_ct_CC"; then
   2816   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2817 else
   2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2819 for as_dir in $PATH
   2820 do
   2821   IFS=$as_save_IFS
   2822   case $as_dir in #(((
   2823     '') as_dir=./ ;;
   2824     */) ;;
   2825     *) as_dir=$as_dir/ ;;
   2826   esac
   2827     for ac_exec_ext in '' $ac_executable_extensions; do
   2828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2829     ac_cv_prog_ac_ct_CC="gcc"
   2830     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2831     break 2
   2832   fi
   2833 done
   2834   done
   2835 IFS=$as_save_IFS
   2836 
   2837 fi
   2838 fi
   2839 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2840 if test -n "$ac_ct_CC"; then
   2841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2842 printf "%s\n" "$ac_ct_CC" >&6; }
   2843 else
   2844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2845 printf "%s\n" "no" >&6; }
   2846 fi
   2847 
   2848   if test "x$ac_ct_CC" = x; then
   2849     CC=""
   2850   else
   2851     case $cross_compiling:$ac_tool_warned in
   2852 yes:)
   2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2854 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2855 ac_tool_warned=yes ;;
   2856 esac
   2857     CC=$ac_ct_CC
   2858   fi
   2859 else
   2860   CC="$ac_cv_prog_CC"
   2861 fi
   2862 
   2863 if test -z "$CC"; then
   2864           if test -n "$ac_tool_prefix"; then
   2865     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2866 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2868 printf %s "checking for $ac_word... " >&6; }
   2869 if test ${ac_cv_prog_CC+y}
   2870 then :
   2871   printf %s "(cached) " >&6
   2872 else $as_nop
   2873   if test -n "$CC"; then
   2874   ac_cv_prog_CC="$CC" # Let the user override the test.
   2875 else
   2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH
   2878 do
   2879   IFS=$as_save_IFS
   2880   case $as_dir in #(((
   2881     '') as_dir=./ ;;
   2882     */) ;;
   2883     *) as_dir=$as_dir/ ;;
   2884   esac
   2885     for ac_exec_ext in '' $ac_executable_extensions; do
   2886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2887     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2889     break 2
   2890   fi
   2891 done
   2892   done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi
   2896 fi
   2897 CC=$ac_cv_prog_CC
   2898 if test -n "$CC"; then
   2899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2900 printf "%s\n" "$CC" >&6; }
   2901 else
   2902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2903 printf "%s\n" "no" >&6; }
   2904 fi
   2905 
   2906 
   2907   fi
   2908 fi
   2909 if test -z "$CC"; then
   2910   # Extract the first word of "cc", so it can be a program name with args.
   2911 set dummy cc; ac_word=$2
   2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2913 printf %s "checking for $ac_word... " >&6; }
   2914 if test ${ac_cv_prog_CC+y}
   2915 then :
   2916   printf %s "(cached) " >&6
   2917 else $as_nop
   2918   if test -n "$CC"; then
   2919   ac_cv_prog_CC="$CC" # Let the user override the test.
   2920 else
   2921   ac_prog_rejected=no
   2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2923 for as_dir in $PATH
   2924 do
   2925   IFS=$as_save_IFS
   2926   case $as_dir in #(((
   2927     '') as_dir=./ ;;
   2928     */) ;;
   2929     *) as_dir=$as_dir/ ;;
   2930   esac
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2933     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2934        ac_prog_rejected=yes
   2935        continue
   2936      fi
   2937     ac_cv_prog_CC="cc"
   2938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 if test $ac_prog_rejected = yes; then
   2946   # We found a bogon in the path, so make sure we never use it.
   2947   set dummy $ac_cv_prog_CC
   2948   shift
   2949   if test $# != 0; then
   2950     # We chose a different compiler from the bogus one.
   2951     # However, it has the same basename, so the bogon will be chosen
   2952     # first if we set CC to just the basename; use the full file name.
   2953     shift
   2954     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2955   fi
   2956 fi
   2957 fi
   2958 fi
   2959 CC=$ac_cv_prog_CC
   2960 if test -n "$CC"; then
   2961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2962 printf "%s\n" "$CC" >&6; }
   2963 else
   2964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 printf "%s\n" "no" >&6; }
   2966 fi
   2967 
   2968 
   2969 fi
   2970 if test -z "$CC"; then
   2971   if test -n "$ac_tool_prefix"; then
   2972   for ac_prog in cl.exe
   2973   do
   2974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 printf %s "checking for $ac_word... " >&6; }
   2978 if test ${ac_cv_prog_CC+y}
   2979 then :
   2980   printf %s "(cached) " >&6
   2981 else $as_nop
   2982   if test -n "$CC"; then
   2983   ac_cv_prog_CC="$CC" # Let the user override the test.
   2984 else
   2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2986 for as_dir in $PATH
   2987 do
   2988   IFS=$as_save_IFS
   2989   case $as_dir in #(((
   2990     '') as_dir=./ ;;
   2991     */) ;;
   2992     *) as_dir=$as_dir/ ;;
   2993   esac
   2994     for ac_exec_ext in '' $ac_executable_extensions; do
   2995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2996     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2998     break 2
   2999   fi
   3000 done
   3001   done
   3002 IFS=$as_save_IFS
   3003 
   3004 fi
   3005 fi
   3006 CC=$ac_cv_prog_CC
   3007 if test -n "$CC"; then
   3008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3009 printf "%s\n" "$CC" >&6; }
   3010 else
   3011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3012 printf "%s\n" "no" >&6; }
   3013 fi
   3014 
   3015 
   3016     test -n "$CC" && break
   3017   done
   3018 fi
   3019 if test -z "$CC"; then
   3020   ac_ct_CC=$CC
   3021   for ac_prog in cl.exe
   3022 do
   3023   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3024 set dummy $ac_prog; ac_word=$2
   3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 printf %s "checking for $ac_word... " >&6; }
   3027 if test ${ac_cv_prog_ac_ct_CC+y}
   3028 then :
   3029   printf %s "(cached) " >&6
   3030 else $as_nop
   3031   if test -n "$ac_ct_CC"; then
   3032   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3033 else
   3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3035 for as_dir in $PATH
   3036 do
   3037   IFS=$as_save_IFS
   3038   case $as_dir in #(((
   3039     '') as_dir=./ ;;
   3040     */) ;;
   3041     *) as_dir=$as_dir/ ;;
   3042   esac
   3043     for ac_exec_ext in '' $ac_executable_extensions; do
   3044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3045     ac_cv_prog_ac_ct_CC="$ac_prog"
   3046     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3047     break 2
   3048   fi
   3049 done
   3050   done
   3051 IFS=$as_save_IFS
   3052 
   3053 fi
   3054 fi
   3055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3056 if test -n "$ac_ct_CC"; then
   3057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3058 printf "%s\n" "$ac_ct_CC" >&6; }
   3059 else
   3060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3061 printf "%s\n" "no" >&6; }
   3062 fi
   3063 
   3064 
   3065   test -n "$ac_ct_CC" && break
   3066 done
   3067 
   3068   if test "x$ac_ct_CC" = x; then
   3069     CC=""
   3070   else
   3071     case $cross_compiling:$ac_tool_warned in
   3072 yes:)
   3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3075 ac_tool_warned=yes ;;
   3076 esac
   3077     CC=$ac_ct_CC
   3078   fi
   3079 fi
   3080 
   3081 fi
   3082 if test -z "$CC"; then
   3083   if test -n "$ac_tool_prefix"; then
   3084   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3085 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3087 printf %s "checking for $ac_word... " >&6; }
   3088 if test ${ac_cv_prog_CC+y}
   3089 then :
   3090   printf %s "(cached) " >&6
   3091 else $as_nop
   3092   if test -n "$CC"; then
   3093   ac_cv_prog_CC="$CC" # Let the user override the test.
   3094 else
   3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3096 for as_dir in $PATH
   3097 do
   3098   IFS=$as_save_IFS
   3099   case $as_dir in #(((
   3100     '') as_dir=./ ;;
   3101     */) ;;
   3102     *) as_dir=$as_dir/ ;;
   3103   esac
   3104     for ac_exec_ext in '' $ac_executable_extensions; do
   3105   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3106     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3107     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3108     break 2
   3109   fi
   3110 done
   3111   done
   3112 IFS=$as_save_IFS
   3113 
   3114 fi
   3115 fi
   3116 CC=$ac_cv_prog_CC
   3117 if test -n "$CC"; then
   3118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3119 printf "%s\n" "$CC" >&6; }
   3120 else
   3121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3122 printf "%s\n" "no" >&6; }
   3123 fi
   3124 
   3125 
   3126 fi
   3127 if test -z "$ac_cv_prog_CC"; then
   3128   ac_ct_CC=$CC
   3129   # Extract the first word of "clang", so it can be a program name with args.
   3130 set dummy clang; ac_word=$2
   3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3132 printf %s "checking for $ac_word... " >&6; }
   3133 if test ${ac_cv_prog_ac_ct_CC+y}
   3134 then :
   3135   printf %s "(cached) " >&6
   3136 else $as_nop
   3137   if test -n "$ac_ct_CC"; then
   3138   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3139 else
   3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3141 for as_dir in $PATH
   3142 do
   3143   IFS=$as_save_IFS
   3144   case $as_dir in #(((
   3145     '') as_dir=./ ;;
   3146     */) ;;
   3147     *) as_dir=$as_dir/ ;;
   3148   esac
   3149     for ac_exec_ext in '' $ac_executable_extensions; do
   3150   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3151     ac_cv_prog_ac_ct_CC="clang"
   3152     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3153     break 2
   3154   fi
   3155 done
   3156   done
   3157 IFS=$as_save_IFS
   3158 
   3159 fi
   3160 fi
   3161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3162 if test -n "$ac_ct_CC"; then
   3163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3164 printf "%s\n" "$ac_ct_CC" >&6; }
   3165 else
   3166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3167 printf "%s\n" "no" >&6; }
   3168 fi
   3169 
   3170   if test "x$ac_ct_CC" = x; then
   3171     CC=""
   3172   else
   3173     case $cross_compiling:$ac_tool_warned in
   3174 yes:)
   3175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3177 ac_tool_warned=yes ;;
   3178 esac
   3179     CC=$ac_ct_CC
   3180   fi
   3181 else
   3182   CC="$ac_cv_prog_CC"
   3183 fi
   3184 
   3185 fi
   3186 
   3187 
   3188 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3190 as_fn_error $? "no acceptable C compiler found in \$PATH
   3191 See \`config.log' for more details" "$LINENO" 5; }
   3192 
   3193 # Provide some information about the compiler.
   3194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3195 set X $ac_compile
   3196 ac_compiler=$2
   3197 for ac_option in --version -v -V -qversion -version; do
   3198   { { ac_try="$ac_compiler $ac_option >&5"
   3199 case "(($ac_try" in
   3200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3201   *) ac_try_echo=$ac_try;;
   3202 esac
   3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3204 printf "%s\n" "$ac_try_echo"; } >&5
   3205   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3206   ac_status=$?
   3207   if test -s conftest.err; then
   3208     sed '10a\
   3209 ... rest of stderr output deleted ...
   3210          10q' conftest.err >conftest.er1
   3211     cat conftest.er1 >&5
   3212   fi
   3213   rm -f conftest.er1 conftest.err
   3214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3215   test $ac_status = 0; }
   3216 done
   3217 
   3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3219 /* end confdefs.h.  */
   3220 
   3221 int
   3222 main (void)
   3223 {
   3224 
   3225   ;
   3226   return 0;
   3227 }
   3228 _ACEOF
   3229 ac_clean_files_save=$ac_clean_files
   3230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3231 # Try to create an executable without -o first, disregard a.out.
   3232 # It will help us diagnose broken compilers, and finding out an intuition
   3233 # of exeext.
   3234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3235 printf %s "checking whether the C compiler works... " >&6; }
   3236 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3237 
   3238 # The possible output files:
   3239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3240 
   3241 ac_rmfiles=
   3242 for ac_file in $ac_files
   3243 do
   3244   case $ac_file in
   3245     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3246     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3247   esac
   3248 done
   3249 rm -f $ac_rmfiles
   3250 
   3251 if { { ac_try="$ac_link_default"
   3252 case "(($ac_try" in
   3253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3254   *) ac_try_echo=$ac_try;;
   3255 esac
   3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3257 printf "%s\n" "$ac_try_echo"; } >&5
   3258   (eval "$ac_link_default") 2>&5
   3259   ac_status=$?
   3260   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3261   test $ac_status = 0; }
   3262 then :
   3263   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3264 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3265 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3266 # so that the user can short-circuit this test for compilers unknown to
   3267 # Autoconf.
   3268 for ac_file in $ac_files ''
   3269 do
   3270   test -f "$ac_file" || continue
   3271   case $ac_file in
   3272     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3273 	;;
   3274     [ab].out )
   3275 	# We found the default executable, but exeext='' is most
   3276 	# certainly right.
   3277 	break;;
   3278     *.* )
   3279 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3280 	then :; else
   3281 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3282 	fi
   3283 	# We set ac_cv_exeext here because the later test for it is not
   3284 	# safe: cross compilers may not add the suffix if given an `-o'
   3285 	# argument, so we may need to know it at that point already.
   3286 	# Even if this section looks crufty: it has the advantage of
   3287 	# actually working.
   3288 	break;;
   3289     * )
   3290 	break;;
   3291   esac
   3292 done
   3293 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3294 
   3295 else $as_nop
   3296   ac_file=''
   3297 fi
   3298 if test -z "$ac_file"
   3299 then :
   3300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3301 printf "%s\n" "no" >&6; }
   3302 printf "%s\n" "$as_me: failed program was:" >&5
   3303 sed 's/^/| /' conftest.$ac_ext >&5
   3304 
   3305 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3306 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3307 as_fn_error 77 "C compiler cannot create executables
   3308 See \`config.log' for more details" "$LINENO" 5; }
   3309 else $as_nop
   3310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3311 printf "%s\n" "yes" >&6; }
   3312 fi
   3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3314 printf %s "checking for C compiler default output file name... " >&6; }
   3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3316 printf "%s\n" "$ac_file" >&6; }
   3317 ac_exeext=$ac_cv_exeext
   3318 
   3319 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3320 ac_clean_files=$ac_clean_files_save
   3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3322 printf %s "checking for suffix of executables... " >&6; }
   3323 if { { ac_try="$ac_link"
   3324 case "(($ac_try" in
   3325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3326   *) ac_try_echo=$ac_try;;
   3327 esac
   3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3329 printf "%s\n" "$ac_try_echo"; } >&5
   3330   (eval "$ac_link") 2>&5
   3331   ac_status=$?
   3332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3333   test $ac_status = 0; }
   3334 then :
   3335   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3336 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3337 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3338 # `rm'.
   3339 for ac_file in conftest.exe conftest conftest.*; do
   3340   test -f "$ac_file" || continue
   3341   case $ac_file in
   3342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3343     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3344 	  break;;
   3345     * ) break;;
   3346   esac
   3347 done
   3348 else $as_nop
   3349   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3350 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3351 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3352 See \`config.log' for more details" "$LINENO" 5; }
   3353 fi
   3354 rm -f conftest conftest$ac_cv_exeext
   3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3356 printf "%s\n" "$ac_cv_exeext" >&6; }
   3357 
   3358 rm -f conftest.$ac_ext
   3359 EXEEXT=$ac_cv_exeext
   3360 ac_exeext=$EXEEXT
   3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3362 /* end confdefs.h.  */
   3363 #include <stdio.h>
   3364 int
   3365 main (void)
   3366 {
   3367 FILE *f = fopen ("conftest.out", "w");
   3368  return ferror (f) || fclose (f) != 0;
   3369 
   3370   ;
   3371   return 0;
   3372 }
   3373 _ACEOF
   3374 ac_clean_files="$ac_clean_files conftest.out"
   3375 # Check that the compiler produces executables we can run.  If not, either
   3376 # the compiler is broken, or we cross compile.
   3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3378 printf %s "checking whether we are cross compiling... " >&6; }
   3379 if test "$cross_compiling" != yes; then
   3380   { { ac_try="$ac_link"
   3381 case "(($ac_try" in
   3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3383   *) ac_try_echo=$ac_try;;
   3384 esac
   3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3386 printf "%s\n" "$ac_try_echo"; } >&5
   3387   (eval "$ac_link") 2>&5
   3388   ac_status=$?
   3389   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3390   test $ac_status = 0; }
   3391   if { ac_try='./conftest$ac_cv_exeext'
   3392   { { case "(($ac_try" in
   3393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3394   *) ac_try_echo=$ac_try;;
   3395 esac
   3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3397 printf "%s\n" "$ac_try_echo"; } >&5
   3398   (eval "$ac_try") 2>&5
   3399   ac_status=$?
   3400   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3401   test $ac_status = 0; }; }; then
   3402     cross_compiling=no
   3403   else
   3404     if test "$cross_compiling" = maybe; then
   3405 	cross_compiling=yes
   3406     else
   3407 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3408 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3409 as_fn_error 77 "cannot run C compiled programs.
   3410 If you meant to cross compile, use \`--host'.
   3411 See \`config.log' for more details" "$LINENO" 5; }
   3412     fi
   3413   fi
   3414 fi
   3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3416 printf "%s\n" "$cross_compiling" >&6; }
   3417 
   3418 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3419 ac_clean_files=$ac_clean_files_save
   3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3421 printf %s "checking for suffix of object files... " >&6; }
   3422 if test ${ac_cv_objext+y}
   3423 then :
   3424   printf %s "(cached) " >&6
   3425 else $as_nop
   3426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3427 /* end confdefs.h.  */
   3428 
   3429 int
   3430 main (void)
   3431 {
   3432 
   3433   ;
   3434   return 0;
   3435 }
   3436 _ACEOF
   3437 rm -f conftest.o conftest.obj
   3438 if { { ac_try="$ac_compile"
   3439 case "(($ac_try" in
   3440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3441   *) ac_try_echo=$ac_try;;
   3442 esac
   3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3444 printf "%s\n" "$ac_try_echo"; } >&5
   3445   (eval "$ac_compile") 2>&5
   3446   ac_status=$?
   3447   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3448   test $ac_status = 0; }
   3449 then :
   3450   for ac_file in conftest.o conftest.obj conftest.*; do
   3451   test -f "$ac_file" || continue;
   3452   case $ac_file in
   3453     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3454     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3455        break;;
   3456   esac
   3457 done
   3458 else $as_nop
   3459   printf "%s\n" "$as_me: failed program was:" >&5
   3460 sed 's/^/| /' conftest.$ac_ext >&5
   3461 
   3462 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3463 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3464 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3465 See \`config.log' for more details" "$LINENO" 5; }
   3466 fi
   3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3468 fi
   3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3470 printf "%s\n" "$ac_cv_objext" >&6; }
   3471 OBJEXT=$ac_cv_objext
   3472 ac_objext=$OBJEXT
   3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3474 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3475 if test ${ac_cv_c_compiler_gnu+y}
   3476 then :
   3477   printf %s "(cached) " >&6
   3478 else $as_nop
   3479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3480 /* end confdefs.h.  */
   3481 
   3482 int
   3483 main (void)
   3484 {
   3485 #ifndef __GNUC__
   3486        choke me
   3487 #endif
   3488 
   3489   ;
   3490   return 0;
   3491 }
   3492 _ACEOF
   3493 if ac_fn_c_try_compile "$LINENO"
   3494 then :
   3495   ac_compiler_gnu=yes
   3496 else $as_nop
   3497   ac_compiler_gnu=no
   3498 fi
   3499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3501 
   3502 fi
   3503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3504 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3506 
   3507 if test $ac_compiler_gnu = yes; then
   3508   GCC=yes
   3509 else
   3510   GCC=
   3511 fi
   3512 ac_test_CFLAGS=${CFLAGS+y}
   3513 ac_save_CFLAGS=$CFLAGS
   3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3515 printf %s "checking whether $CC accepts -g... " >&6; }
   3516 if test ${ac_cv_prog_cc_g+y}
   3517 then :
   3518   printf %s "(cached) " >&6
   3519 else $as_nop
   3520   ac_save_c_werror_flag=$ac_c_werror_flag
   3521    ac_c_werror_flag=yes
   3522    ac_cv_prog_cc_g=no
   3523    CFLAGS="-g"
   3524    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 
   3527 int
   3528 main (void)
   3529 {
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_compile "$LINENO"
   3536 then :
   3537   ac_cv_prog_cc_g=yes
   3538 else $as_nop
   3539   CFLAGS=""
   3540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main (void)
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 if ac_fn_c_try_compile "$LINENO"
   3552 then :
   3553 
   3554 else $as_nop
   3555   ac_c_werror_flag=$ac_save_c_werror_flag
   3556 	 CFLAGS="-g"
   3557 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3558 /* end confdefs.h.  */
   3559 
   3560 int
   3561 main (void)
   3562 {
   3563 
   3564   ;
   3565   return 0;
   3566 }
   3567 _ACEOF
   3568 if ac_fn_c_try_compile "$LINENO"
   3569 then :
   3570   ac_cv_prog_cc_g=yes
   3571 fi
   3572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3573 fi
   3574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3575 fi
   3576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3577    ac_c_werror_flag=$ac_save_c_werror_flag
   3578 fi
   3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3580 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3581 if test $ac_test_CFLAGS; then
   3582   CFLAGS=$ac_save_CFLAGS
   3583 elif test $ac_cv_prog_cc_g = yes; then
   3584   if test "$GCC" = yes; then
   3585     CFLAGS="-g -O2"
   3586   else
   3587     CFLAGS="-g"
   3588   fi
   3589 else
   3590   if test "$GCC" = yes; then
   3591     CFLAGS="-O2"
   3592   else
   3593     CFLAGS=
   3594   fi
   3595 fi
   3596 ac_prog_cc_stdc=no
   3597 if test x$ac_prog_cc_stdc = xno
   3598 then :
   3599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3600 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3601 if test ${ac_cv_prog_cc_c11+y}
   3602 then :
   3603   printf %s "(cached) " >&6
   3604 else $as_nop
   3605   ac_cv_prog_cc_c11=no
   3606 ac_save_CC=$CC
   3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3608 /* end confdefs.h.  */
   3609 $ac_c_conftest_c11_program
   3610 _ACEOF
   3611 for ac_arg in '' -std=gnu11
   3612 do
   3613   CC="$ac_save_CC $ac_arg"
   3614   if ac_fn_c_try_compile "$LINENO"
   3615 then :
   3616   ac_cv_prog_cc_c11=$ac_arg
   3617 fi
   3618 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3619   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3620 done
   3621 rm -f conftest.$ac_ext
   3622 CC=$ac_save_CC
   3623 fi
   3624 
   3625 if test "x$ac_cv_prog_cc_c11" = xno
   3626 then :
   3627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3628 printf "%s\n" "unsupported" >&6; }
   3629 else $as_nop
   3630   if test "x$ac_cv_prog_cc_c11" = x
   3631 then :
   3632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3633 printf "%s\n" "none needed" >&6; }
   3634 else $as_nop
   3635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3636 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3637      CC="$CC $ac_cv_prog_cc_c11"
   3638 fi
   3639   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3640   ac_prog_cc_stdc=c11
   3641 fi
   3642 fi
   3643 if test x$ac_prog_cc_stdc = xno
   3644 then :
   3645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3646 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3647 if test ${ac_cv_prog_cc_c99+y}
   3648 then :
   3649   printf %s "(cached) " >&6
   3650 else $as_nop
   3651   ac_cv_prog_cc_c99=no
   3652 ac_save_CC=$CC
   3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 $ac_c_conftest_c99_program
   3656 _ACEOF
   3657 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3658 do
   3659   CC="$ac_save_CC $ac_arg"
   3660   if ac_fn_c_try_compile "$LINENO"
   3661 then :
   3662   ac_cv_prog_cc_c99=$ac_arg
   3663 fi
   3664 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3665   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3666 done
   3667 rm -f conftest.$ac_ext
   3668 CC=$ac_save_CC
   3669 fi
   3670 
   3671 if test "x$ac_cv_prog_cc_c99" = xno
   3672 then :
   3673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3674 printf "%s\n" "unsupported" >&6; }
   3675 else $as_nop
   3676   if test "x$ac_cv_prog_cc_c99" = x
   3677 then :
   3678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3679 printf "%s\n" "none needed" >&6; }
   3680 else $as_nop
   3681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3682 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3683      CC="$CC $ac_cv_prog_cc_c99"
   3684 fi
   3685   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3686   ac_prog_cc_stdc=c99
   3687 fi
   3688 fi
   3689 if test x$ac_prog_cc_stdc = xno
   3690 then :
   3691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3692 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3693 if test ${ac_cv_prog_cc_c89+y}
   3694 then :
   3695   printf %s "(cached) " >&6
   3696 else $as_nop
   3697   ac_cv_prog_cc_c89=no
   3698 ac_save_CC=$CC
   3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3700 /* end confdefs.h.  */
   3701 $ac_c_conftest_c89_program
   3702 _ACEOF
   3703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3704 do
   3705   CC="$ac_save_CC $ac_arg"
   3706   if ac_fn_c_try_compile "$LINENO"
   3707 then :
   3708   ac_cv_prog_cc_c89=$ac_arg
   3709 fi
   3710 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3711   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3712 done
   3713 rm -f conftest.$ac_ext
   3714 CC=$ac_save_CC
   3715 fi
   3716 
   3717 if test "x$ac_cv_prog_cc_c89" = xno
   3718 then :
   3719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3720 printf "%s\n" "unsupported" >&6; }
   3721 else $as_nop
   3722   if test "x$ac_cv_prog_cc_c89" = x
   3723 then :
   3724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3725 printf "%s\n" "none needed" >&6; }
   3726 else $as_nop
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3728 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3729      CC="$CC $ac_cv_prog_cc_c89"
   3730 fi
   3731   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3732   ac_prog_cc_stdc=c89
   3733 fi
   3734 fi
   3735 
   3736 ac_ext=c
   3737 ac_cpp='$CPP $CPPFLAGS'
   3738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3741 
   3742 
   3743   ac_ext=c
   3744 ac_cpp='$CPP $CPPFLAGS'
   3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3749 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3750 if test ${am_cv_prog_cc_c_o+y}
   3751 then :
   3752   printf %s "(cached) " >&6
   3753 else $as_nop
   3754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3755 /* end confdefs.h.  */
   3756 
   3757 int
   3758 main (void)
   3759 {
   3760 
   3761   ;
   3762   return 0;
   3763 }
   3764 _ACEOF
   3765   # Make sure it works both with $CC and with simple cc.
   3766   # Following AC_PROG_CC_C_O, we do the test twice because some
   3767   # compilers refuse to overwrite an existing .o file with -o,
   3768   # though they will create one.
   3769   am_cv_prog_cc_c_o=yes
   3770   for am_i in 1 2; do
   3771     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3772    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3773    ac_status=$?
   3774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3775    (exit $ac_status); } \
   3776          && test -f conftest2.$ac_objext; then
   3777       : OK
   3778     else
   3779       am_cv_prog_cc_c_o=no
   3780       break
   3781     fi
   3782   done
   3783   rm -f core conftest*
   3784   unset am_i
   3785 fi
   3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3787 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3788 if test "$am_cv_prog_cc_c_o" != yes; then
   3789    # Losing compiler, so override with the script.
   3790    # FIXME: It is wrong to rewrite CC.
   3791    # But if we don't then we get into trouble of one sort or another.
   3792    # A longer-term fix would be to have automake use am__CC in this case,
   3793    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3794    CC="$am_aux_dir/compile $CC"
   3795 fi
   3796 ac_ext=c
   3797 ac_cpp='$CPP $CPPFLAGS'
   3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3801 
   3802 
   3803 
   3804 ac_header= ac_cache=
   3805 for ac_item in $ac_header_c_list
   3806 do
   3807   if test $ac_cache; then
   3808     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3809     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3810       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3811     fi
   3812     ac_header= ac_cache=
   3813   elif test $ac_header; then
   3814     ac_cache=$ac_item
   3815   else
   3816     ac_header=$ac_item
   3817   fi
   3818 done
   3819 
   3820 
   3821 
   3822 
   3823 
   3824 
   3825 
   3826 
   3827 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3828 then :
   3829 
   3830 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3831 
   3832 fi
   3833 
   3834 
   3835 
   3836 
   3837 
   3838 
   3839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3840 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3841 if test ${ac_cv_safe_to_define___extensions__+y}
   3842 then :
   3843   printf %s "(cached) " >&6
   3844 else $as_nop
   3845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3846 /* end confdefs.h.  */
   3847 
   3848 #         define __EXTENSIONS__ 1
   3849           $ac_includes_default
   3850 int
   3851 main (void)
   3852 {
   3853 
   3854   ;
   3855   return 0;
   3856 }
   3857 _ACEOF
   3858 if ac_fn_c_try_compile "$LINENO"
   3859 then :
   3860   ac_cv_safe_to_define___extensions__=yes
   3861 else $as_nop
   3862   ac_cv_safe_to_define___extensions__=no
   3863 fi
   3864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3865 fi
   3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3867 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3868 
   3869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3870 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3871 if test ${ac_cv_should_define__xopen_source+y}
   3872 then :
   3873   printf %s "(cached) " >&6
   3874 else $as_nop
   3875   ac_cv_should_define__xopen_source=no
   3876     if test $ac_cv_header_wchar_h = yes
   3877 then :
   3878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3879 /* end confdefs.h.  */
   3880 
   3881           #include <wchar.h>
   3882           mbstate_t x;
   3883 int
   3884 main (void)
   3885 {
   3886 
   3887   ;
   3888   return 0;
   3889 }
   3890 _ACEOF
   3891 if ac_fn_c_try_compile "$LINENO"
   3892 then :
   3893 
   3894 else $as_nop
   3895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3896 /* end confdefs.h.  */
   3897 
   3898             #define _XOPEN_SOURCE 500
   3899             #include <wchar.h>
   3900             mbstate_t x;
   3901 int
   3902 main (void)
   3903 {
   3904 
   3905   ;
   3906   return 0;
   3907 }
   3908 _ACEOF
   3909 if ac_fn_c_try_compile "$LINENO"
   3910 then :
   3911   ac_cv_should_define__xopen_source=yes
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3914 fi
   3915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3916 fi
   3917 fi
   3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3919 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3920 
   3921   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3922 
   3923   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3924 
   3925   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3926 
   3927   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3928 
   3929   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3930 
   3931   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3932 
   3933   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3934 
   3935   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3936 
   3937   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3938 
   3939   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3940 
   3941   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3942 
   3943   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3944 
   3945   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3946 
   3947   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3948 
   3949   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3950 
   3951   if test $ac_cv_header_minix_config_h = yes
   3952 then :
   3953   MINIX=yes
   3954     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3955 
   3956     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3957 
   3958     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3959 
   3960 else $as_nop
   3961   MINIX=
   3962 fi
   3963   if test $ac_cv_safe_to_define___extensions__ = yes
   3964 then :
   3965   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3966 
   3967 fi
   3968   if test $ac_cv_should_define__xopen_source = yes
   3969 then :
   3970   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3971 
   3972 fi
   3973 
   3974 
   3975 # Initialize Automake
   3976 am__api_version='1.16'
   3977 
   3978 
   3979   # Find a good install program.  We prefer a C program (faster),
   3980 # so one script is as good as another.  But avoid the broken or
   3981 # incompatible versions:
   3982 # SysV /etc/install, /usr/sbin/install
   3983 # SunOS /usr/etc/install
   3984 # IRIX /sbin/install
   3985 # AIX /bin/install
   3986 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3987 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3988 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3989 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3990 # OS/2's system install, which has a completely different semantic
   3991 # ./install, which can be erroneously created by make from ./install.sh.
   3992 # Reject install programs that cannot install multiple files.
   3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3994 printf %s "checking for a BSD-compatible install... " >&6; }
   3995 if test -z "$INSTALL"; then
   3996 if test ${ac_cv_path_install+y}
   3997 then :
   3998   printf %s "(cached) " >&6
   3999 else $as_nop
   4000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4001 for as_dir in $PATH
   4002 do
   4003   IFS=$as_save_IFS
   4004   case $as_dir in #(((
   4005     '') as_dir=./ ;;
   4006     */) ;;
   4007     *) as_dir=$as_dir/ ;;
   4008   esac
   4009     # Account for fact that we put trailing slashes in our PATH walk.
   4010 case $as_dir in #((
   4011   ./ | /[cC]/* | \
   4012   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4013   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4014   /usr/ucb/* ) ;;
   4015   *)
   4016     # OSF1 and SCO ODT 3.0 have their own names for install.
   4017     # Don't use installbsd from OSF since it installs stuff as root
   4018     # by default.
   4019     for ac_prog in ginstall scoinst install; do
   4020       for ac_exec_ext in '' $ac_executable_extensions; do
   4021 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4022 	  if test $ac_prog = install &&
   4023 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4024 	    # AIX install.  It has an incompatible calling convention.
   4025 	    :
   4026 	  elif test $ac_prog = install &&
   4027 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4028 	    # program-specific install script used by HP pwplus--don't use.
   4029 	    :
   4030 	  else
   4031 	    rm -rf conftest.one conftest.two conftest.dir
   4032 	    echo one > conftest.one
   4033 	    echo two > conftest.two
   4034 	    mkdir conftest.dir
   4035 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4036 	      test -s conftest.one && test -s conftest.two &&
   4037 	      test -s conftest.dir/conftest.one &&
   4038 	      test -s conftest.dir/conftest.two
   4039 	    then
   4040 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4041 	      break 3
   4042 	    fi
   4043 	  fi
   4044 	fi
   4045       done
   4046     done
   4047     ;;
   4048 esac
   4049 
   4050   done
   4051 IFS=$as_save_IFS
   4052 
   4053 rm -rf conftest.one conftest.two conftest.dir
   4054 
   4055 fi
   4056   if test ${ac_cv_path_install+y}; then
   4057     INSTALL=$ac_cv_path_install
   4058   else
   4059     # As a last resort, use the slow shell script.  Don't cache a
   4060     # value for INSTALL within a source directory, because that will
   4061     # break other packages using the cache if that directory is
   4062     # removed, or if the value is a relative name.
   4063     INSTALL=$ac_install_sh
   4064   fi
   4065 fi
   4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4067 printf "%s\n" "$INSTALL" >&6; }
   4068 
   4069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4070 # It thinks the first close brace ends the variable substitution.
   4071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4072 
   4073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4074 
   4075 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4076 
   4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4078 printf %s "checking whether build environment is sane... " >&6; }
   4079 # Reject unsafe characters in $srcdir or the absolute working directory
   4080 # name.  Accept space and tab only in the latter.
   4081 am_lf='
   4082 '
   4083 case `pwd` in
   4084   *[\\\"\#\$\&\'\`$am_lf]*)
   4085     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4086 esac
   4087 case $srcdir in
   4088   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4089     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4090 esac
   4091 
   4092 # Do 'set' in a subshell so we don't clobber the current shell's
   4093 # arguments.  Must try -L first in case configure is actually a
   4094 # symlink; some systems play weird games with the mod time of symlinks
   4095 # (eg FreeBSD returns the mod time of the symlink's containing
   4096 # directory).
   4097 if (
   4098    am_has_slept=no
   4099    for am_try in 1 2; do
   4100      echo "timestamp, slept: $am_has_slept" > conftest.file
   4101      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4102      if test "$*" = "X"; then
   4103 	# -L didn't work.
   4104 	set X `ls -t "$srcdir/configure" conftest.file`
   4105      fi
   4106      if test "$*" != "X $srcdir/configure conftest.file" \
   4107 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4108 
   4109 	# If neither matched, then we have a broken ls.  This can happen
   4110 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4111 	# broken ls alias from the environment.  This has actually
   4112 	# happened.  Such a system could not be considered "sane".
   4113 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4114   alias in your environment" "$LINENO" 5
   4115      fi
   4116      if test "$2" = conftest.file || test $am_try -eq 2; then
   4117        break
   4118      fi
   4119      # Just in case.
   4120      sleep 1
   4121      am_has_slept=yes
   4122    done
   4123    test "$2" = conftest.file
   4124    )
   4125 then
   4126    # Ok.
   4127    :
   4128 else
   4129    as_fn_error $? "newly created file is older than distributed files!
   4130 Check your system clock" "$LINENO" 5
   4131 fi
   4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4133 printf "%s\n" "yes" >&6; }
   4134 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4135 # generated files are strictly newer.
   4136 am_sleep_pid=
   4137 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4138   ( sleep 1 ) &
   4139   am_sleep_pid=$!
   4140 fi
   4141 
   4142 rm -f conftest.file
   4143 
   4144 test "$program_prefix" != NONE &&
   4145   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4146 # Use a double $ so make ignores it.
   4147 test "$program_suffix" != NONE &&
   4148   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4149 # Double any \ or $.
   4150 # By default was `s,x,x', remove it if useless.
   4151 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4152 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4153 
   4154 
   4155   if test x"${MISSING+set}" != xset; then
   4156   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4157 fi
   4158 # Use eval to expand $SHELL
   4159 if eval "$MISSING --is-lightweight"; then
   4160   am_missing_run="$MISSING "
   4161 else
   4162   am_missing_run=
   4163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4164 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4165 fi
   4166 
   4167 if test x"${install_sh+set}" != xset; then
   4168   case $am_aux_dir in
   4169   *\ * | *\	*)
   4170     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4171   *)
   4172     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4173   esac
   4174 fi
   4175 
   4176 # Installed binaries are usually stripped using 'strip' when the user
   4177 # run "make install-strip".  However 'strip' might not be the right
   4178 # tool to use in cross-compilation environments, therefore Automake
   4179 # will honor the 'STRIP' environment variable to overrule this program.
   4180 if test "$cross_compiling" != no; then
   4181   if test -n "$ac_tool_prefix"; then
   4182   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4183 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4185 printf %s "checking for $ac_word... " >&6; }
   4186 if test ${ac_cv_prog_STRIP+y}
   4187 then :
   4188   printf %s "(cached) " >&6
   4189 else $as_nop
   4190   if test -n "$STRIP"; then
   4191   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4192 else
   4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4194 for as_dir in $PATH
   4195 do
   4196   IFS=$as_save_IFS
   4197   case $as_dir in #(((
   4198     '') as_dir=./ ;;
   4199     */) ;;
   4200     *) as_dir=$as_dir/ ;;
   4201   esac
   4202     for ac_exec_ext in '' $ac_executable_extensions; do
   4203   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4204     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4205     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4206     break 2
   4207   fi
   4208 done
   4209   done
   4210 IFS=$as_save_IFS
   4211 
   4212 fi
   4213 fi
   4214 STRIP=$ac_cv_prog_STRIP
   4215 if test -n "$STRIP"; then
   4216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4217 printf "%s\n" "$STRIP" >&6; }
   4218 else
   4219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4220 printf "%s\n" "no" >&6; }
   4221 fi
   4222 
   4223 
   4224 fi
   4225 if test -z "$ac_cv_prog_STRIP"; then
   4226   ac_ct_STRIP=$STRIP
   4227   # Extract the first word of "strip", so it can be a program name with args.
   4228 set dummy strip; ac_word=$2
   4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4230 printf %s "checking for $ac_word... " >&6; }
   4231 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4232 then :
   4233   printf %s "(cached) " >&6
   4234 else $as_nop
   4235   if test -n "$ac_ct_STRIP"; then
   4236   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4237 else
   4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4239 for as_dir in $PATH
   4240 do
   4241   IFS=$as_save_IFS
   4242   case $as_dir in #(((
   4243     '') as_dir=./ ;;
   4244     */) ;;
   4245     *) as_dir=$as_dir/ ;;
   4246   esac
   4247     for ac_exec_ext in '' $ac_executable_extensions; do
   4248   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4249     ac_cv_prog_ac_ct_STRIP="strip"
   4250     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4251     break 2
   4252   fi
   4253 done
   4254   done
   4255 IFS=$as_save_IFS
   4256 
   4257 fi
   4258 fi
   4259 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4260 if test -n "$ac_ct_STRIP"; then
   4261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4262 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4263 else
   4264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4265 printf "%s\n" "no" >&6; }
   4266 fi
   4267 
   4268   if test "x$ac_ct_STRIP" = x; then
   4269     STRIP=":"
   4270   else
   4271     case $cross_compiling:$ac_tool_warned in
   4272 yes:)
   4273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4274 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4275 ac_tool_warned=yes ;;
   4276 esac
   4277     STRIP=$ac_ct_STRIP
   4278   fi
   4279 else
   4280   STRIP="$ac_cv_prog_STRIP"
   4281 fi
   4282 
   4283 fi
   4284 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4285 
   4286 
   4287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4288 printf %s "checking for a race-free mkdir -p... " >&6; }
   4289 if test -z "$MKDIR_P"; then
   4290   if test ${ac_cv_path_mkdir+y}
   4291 then :
   4292   printf %s "(cached) " >&6
   4293 else $as_nop
   4294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4295 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4296 do
   4297   IFS=$as_save_IFS
   4298   case $as_dir in #(((
   4299     '') as_dir=./ ;;
   4300     */) ;;
   4301     *) as_dir=$as_dir/ ;;
   4302   esac
   4303     for ac_prog in mkdir gmkdir; do
   4304 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4305 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4306 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4307 	     'mkdir ('*'coreutils) '* | \
   4308 	     'BusyBox '* | \
   4309 	     'mkdir (fileutils) '4.1*)
   4310 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4311 	       break 3;;
   4312 	   esac
   4313 	 done
   4314        done
   4315   done
   4316 IFS=$as_save_IFS
   4317 
   4318 fi
   4319 
   4320   test -d ./--version && rmdir ./--version
   4321   if test ${ac_cv_path_mkdir+y}; then
   4322     MKDIR_P="$ac_cv_path_mkdir -p"
   4323   else
   4324     # As a last resort, use the slow shell script.  Don't cache a
   4325     # value for MKDIR_P within a source directory, because that will
   4326     # break other packages using the cache if that directory is
   4327     # removed, or if the value is a relative name.
   4328     MKDIR_P="$ac_install_sh -d"
   4329   fi
   4330 fi
   4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4332 printf "%s\n" "$MKDIR_P" >&6; }
   4333 
   4334 for ac_prog in gawk mawk nawk awk
   4335 do
   4336   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4337 set dummy $ac_prog; ac_word=$2
   4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4339 printf %s "checking for $ac_word... " >&6; }
   4340 if test ${ac_cv_prog_AWK+y}
   4341 then :
   4342   printf %s "(cached) " >&6
   4343 else $as_nop
   4344   if test -n "$AWK"; then
   4345   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4346 else
   4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4348 for as_dir in $PATH
   4349 do
   4350   IFS=$as_save_IFS
   4351   case $as_dir in #(((
   4352     '') as_dir=./ ;;
   4353     */) ;;
   4354     *) as_dir=$as_dir/ ;;
   4355   esac
   4356     for ac_exec_ext in '' $ac_executable_extensions; do
   4357   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4358     ac_cv_prog_AWK="$ac_prog"
   4359     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4360     break 2
   4361   fi
   4362 done
   4363   done
   4364 IFS=$as_save_IFS
   4365 
   4366 fi
   4367 fi
   4368 AWK=$ac_cv_prog_AWK
   4369 if test -n "$AWK"; then
   4370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4371 printf "%s\n" "$AWK" >&6; }
   4372 else
   4373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4374 printf "%s\n" "no" >&6; }
   4375 fi
   4376 
   4377 
   4378   test -n "$AWK" && break
   4379 done
   4380 
   4381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4382 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4383 set x ${MAKE-make}
   4384 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4385 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4386 then :
   4387   printf %s "(cached) " >&6
   4388 else $as_nop
   4389   cat >conftest.make <<\_ACEOF
   4390 SHELL = /bin/sh
   4391 all:
   4392 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4393 _ACEOF
   4394 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4395 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4396   *@@@%%%=?*=@@@%%%*)
   4397     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4398   *)
   4399     eval ac_cv_prog_make_${ac_make}_set=no;;
   4400 esac
   4401 rm -f conftest.make
   4402 fi
   4403 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4405 printf "%s\n" "yes" >&6; }
   4406   SET_MAKE=
   4407 else
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4409 printf "%s\n" "no" >&6; }
   4410   SET_MAKE="MAKE=${MAKE-make}"
   4411 fi
   4412 
   4413 rm -rf .tst 2>/dev/null
   4414 mkdir .tst 2>/dev/null
   4415 if test -d .tst; then
   4416   am__leading_dot=.
   4417 else
   4418   am__leading_dot=_
   4419 fi
   4420 rmdir .tst 2>/dev/null
   4421 
   4422 DEPDIR="${am__leading_dot}deps"
   4423 
   4424 ac_config_commands="$ac_config_commands depfiles"
   4425 
   4426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4427 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4428 cat > confinc.mk << 'END'
   4429 am__doit:
   4430 	@echo this is the am__doit target >confinc.out
   4431 .PHONY: am__doit
   4432 END
   4433 am__include="#"
   4434 am__quote=
   4435 # BSD make does it like this.
   4436 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4437 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4438 echo 'include confinc.mk # ignored' > confmf.GNU
   4439 _am_result=no
   4440 for s in GNU BSD; do
   4441   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4442    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4443    ac_status=$?
   4444    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4445    (exit $ac_status); }
   4446   case $?:`cat confinc.out 2>/dev/null` in #(
   4447   '0:this is the am__doit target') :
   4448     case $s in #(
   4449   BSD) :
   4450     am__include='.include' am__quote='"' ;; #(
   4451   *) :
   4452     am__include='include' am__quote='' ;;
   4453 esac ;; #(
   4454   *) :
   4455      ;;
   4456 esac
   4457   if test "$am__include" != "#"; then
   4458     _am_result="yes ($s style)"
   4459     break
   4460   fi
   4461 done
   4462 rm -f confinc.* confmf.*
   4463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4464 printf "%s\n" "${_am_result}" >&6; }
   4465 
   4466 # Check whether --enable-dependency-tracking was given.
   4467 if test ${enable_dependency_tracking+y}
   4468 then :
   4469   enableval=$enable_dependency_tracking;
   4470 fi
   4471 
   4472 if test "x$enable_dependency_tracking" != xno; then
   4473   am_depcomp="$ac_aux_dir/depcomp"
   4474   AMDEPBACKSLASH='\'
   4475   am__nodep='_no'
   4476 fi
   4477  if test "x$enable_dependency_tracking" != xno; then
   4478   AMDEP_TRUE=
   4479   AMDEP_FALSE='#'
   4480 else
   4481   AMDEP_TRUE='#'
   4482   AMDEP_FALSE=
   4483 fi
   4484 
   4485 
   4486 # Check whether --enable-silent-rules was given.
   4487 if test ${enable_silent_rules+y}
   4488 then :
   4489   enableval=$enable_silent_rules;
   4490 fi
   4491 
   4492 case $enable_silent_rules in # (((
   4493   yes) AM_DEFAULT_VERBOSITY=0;;
   4494    no) AM_DEFAULT_VERBOSITY=1;;
   4495     *) AM_DEFAULT_VERBOSITY=1;;
   4496 esac
   4497 am_make=${MAKE-make}
   4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4499 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4500 if test ${am_cv_make_support_nested_variables+y}
   4501 then :
   4502   printf %s "(cached) " >&6
   4503 else $as_nop
   4504   if printf "%s\n" 'TRUE=$(BAR$(V))
   4505 BAR0=false
   4506 BAR1=true
   4507 V=1
   4508 am__doit:
   4509 	@$(TRUE)
   4510 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4511   am_cv_make_support_nested_variables=yes
   4512 else
   4513   am_cv_make_support_nested_variables=no
   4514 fi
   4515 fi
   4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4517 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4518 if test $am_cv_make_support_nested_variables = yes; then
   4519     AM_V='$(V)'
   4520   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4521 else
   4522   AM_V=$AM_DEFAULT_VERBOSITY
   4523   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4524 fi
   4525 AM_BACKSLASH='\'
   4526 
   4527 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4528   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4529   # is not polluted with repeated "-I."
   4530   am__isrc=' -I$(srcdir)'
   4531   # test to see if srcdir already configured
   4532   if test -f $srcdir/config.status; then
   4533     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4534   fi
   4535 fi
   4536 
   4537 # test whether we have cygpath
   4538 if test -z "$CYGPATH_W"; then
   4539   if (cygpath --version) >/dev/null 2>/dev/null; then
   4540     CYGPATH_W='cygpath -w'
   4541   else
   4542     CYGPATH_W=echo
   4543   fi
   4544 fi
   4545 
   4546 
   4547 # Define the identity of the package.
   4548  PACKAGE='libXdmcp'
   4549  VERSION='1.1.4'
   4550 
   4551 
   4552 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4553 
   4554 
   4555 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4556 
   4557 # Some tools Automake needs.
   4558 
   4559 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4560 
   4561 
   4562 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4563 
   4564 
   4565 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4566 
   4567 
   4568 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4569 
   4570 
   4571 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4572 
   4573 # For better backward compatibility.  To be removed once Automake 1.9.x
   4574 # dies out for good.  For more background, see:
   4575 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4576 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4577 mkdir_p='$(MKDIR_P)'
   4578 
   4579 # We need awk for the "check" target (and possibly the TAP driver).  The
   4580 # system "awk" is bad on some platforms.
   4581 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4582 # in the wild :-(  We should find a proper way to deprecate it ...
   4583 AMTAR='$${TAR-tar}'
   4584 
   4585 
   4586 # We'll loop over all known methods to create a tar archive until one works.
   4587 _am_tools='gnutar  pax cpio none'
   4588 
   4589 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4590 
   4591 
   4592 
   4593 
   4594 
   4595 depcc="$CC"   am_compiler_list=
   4596 
   4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4598 printf %s "checking dependency style of $depcc... " >&6; }
   4599 if test ${am_cv_CC_dependencies_compiler_type+y}
   4600 then :
   4601   printf %s "(cached) " >&6
   4602 else $as_nop
   4603   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4604   # We make a subdir and do the tests there.  Otherwise we can end up
   4605   # making bogus files that we don't know about and never remove.  For
   4606   # instance it was reported that on HP-UX the gcc test will end up
   4607   # making a dummy file named 'D' -- because '-MD' means "put the output
   4608   # in D".
   4609   rm -rf conftest.dir
   4610   mkdir conftest.dir
   4611   # Copy depcomp to subdir because otherwise we won't find it if we're
   4612   # using a relative directory.
   4613   cp "$am_depcomp" conftest.dir
   4614   cd conftest.dir
   4615   # We will build objects and dependencies in a subdirectory because
   4616   # it helps to detect inapplicable dependency modes.  For instance
   4617   # both Tru64's cc and ICC support -MD to output dependencies as a
   4618   # side effect of compilation, but ICC will put the dependencies in
   4619   # the current directory while Tru64 will put them in the object
   4620   # directory.
   4621   mkdir sub
   4622 
   4623   am_cv_CC_dependencies_compiler_type=none
   4624   if test "$am_compiler_list" = ""; then
   4625      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4626   fi
   4627   am__universal=false
   4628   case " $depcc " in #(
   4629      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4630      esac
   4631 
   4632   for depmode in $am_compiler_list; do
   4633     # Setup a source with many dependencies, because some compilers
   4634     # like to wrap large dependency lists on column 80 (with \), and
   4635     # we should not choose a depcomp mode which is confused by this.
   4636     #
   4637     # We need to recreate these files for each test, as the compiler may
   4638     # overwrite some of them when testing with obscure command lines.
   4639     # This happens at least with the AIX C compiler.
   4640     : > sub/conftest.c
   4641     for i in 1 2 3 4 5 6; do
   4642       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4643       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4644       # Solaris 10 /bin/sh.
   4645       echo '/* dummy */' > sub/conftst$i.h
   4646     done
   4647     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4648 
   4649     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4650     # mode.  It turns out that the SunPro C++ compiler does not properly
   4651     # handle '-M -o', and we need to detect this.  Also, some Intel
   4652     # versions had trouble with output in subdirs.
   4653     am__obj=sub/conftest.${OBJEXT-o}
   4654     am__minus_obj="-o $am__obj"
   4655     case $depmode in
   4656     gcc)
   4657       # This depmode causes a compiler race in universal mode.
   4658       test "$am__universal" = false || continue
   4659       ;;
   4660     nosideeffect)
   4661       # After this tag, mechanisms are not by side-effect, so they'll
   4662       # only be used when explicitly requested.
   4663       if test "x$enable_dependency_tracking" = xyes; then
   4664 	continue
   4665       else
   4666 	break
   4667       fi
   4668       ;;
   4669     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4670       # This compiler won't grok '-c -o', but also, the minuso test has
   4671       # not run yet.  These depmodes are late enough in the game, and
   4672       # so weak that their functioning should not be impacted.
   4673       am__obj=conftest.${OBJEXT-o}
   4674       am__minus_obj=
   4675       ;;
   4676     none) break ;;
   4677     esac
   4678     if depmode=$depmode \
   4679        source=sub/conftest.c object=$am__obj \
   4680        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4681        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4682          >/dev/null 2>conftest.err &&
   4683        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4684        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4685        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4686        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4687       # icc doesn't choke on unknown options, it will just issue warnings
   4688       # or remarks (even with -Werror).  So we grep stderr for any message
   4689       # that says an option was ignored or not supported.
   4690       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4691       #   icc: Command line warning: ignoring option '-M'; no argument required
   4692       # The diagnosis changed in icc 8.0:
   4693       #   icc: Command line remark: option '-MP' not supported
   4694       if (grep 'ignoring option' conftest.err ||
   4695           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4696         am_cv_CC_dependencies_compiler_type=$depmode
   4697         break
   4698       fi
   4699     fi
   4700   done
   4701 
   4702   cd ..
   4703   rm -rf conftest.dir
   4704 else
   4705   am_cv_CC_dependencies_compiler_type=none
   4706 fi
   4707 
   4708 fi
   4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4710 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4711 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4712 
   4713  if
   4714   test "x$enable_dependency_tracking" != xno \
   4715   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4716   am__fastdepCC_TRUE=
   4717   am__fastdepCC_FALSE='#'
   4718 else
   4719   am__fastdepCC_TRUE='#'
   4720   am__fastdepCC_FALSE=
   4721 fi
   4722 
   4723 
   4724 # Variables for tags utilities; see am/tags.am
   4725 if test -z "$CTAGS"; then
   4726   CTAGS=ctags
   4727 fi
   4728 
   4729 if test -z "$ETAGS"; then
   4730   ETAGS=etags
   4731 fi
   4732 
   4733 if test -z "$CSCOPE"; then
   4734   CSCOPE=cscope
   4735 fi
   4736 
   4737 
   4738 
   4739 # POSIX will say in a future version that running "rm -f" with no argument
   4740 # is OK; and we want to be able to make that assumption in our Makefile
   4741 # recipes.  So use an aggressive probe to check that the usage we want is
   4742 # actually supported "in the wild" to an acceptable degree.
   4743 # See automake bug#10828.
   4744 # To make any issue more visible, cause the running configure to be aborted
   4745 # by default if the 'rm' program in use doesn't match our expectations; the
   4746 # user can still override this though.
   4747 if rm -f && rm -fr && rm -rf; then : OK; else
   4748   cat >&2 <<'END'
   4749 Oops!
   4750 
   4751 Your 'rm' program seems unable to run without file operands specified
   4752 on the command line, even when the '-f' option is present.  This is contrary
   4753 to the behaviour of most rm programs out there, and not conforming with
   4754 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4755 
   4756 Please tell bug-automake@gnu.org about your system, including the value
   4757 of your $PATH and any error possibly output before this message.  This
   4758 can help us improve future automake versions.
   4759 
   4760 END
   4761   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4762     echo 'Configuration will proceed anyway, since you have set the' >&2
   4763     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4764     echo >&2
   4765   else
   4766     cat >&2 <<'END'
   4767 Aborting the configuration process, to ensure you take notice of the issue.
   4768 
   4769 You can download and install GNU coreutils to get an 'rm' implementation
   4770 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4771 
   4772 If you want to complete the configuration process using your problematic
   4773 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4774 to "yes", and re-run configure.
   4775 
   4776 END
   4777     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4778   fi
   4779 fi
   4780 
   4781 
   4782 # Initialize libtool
   4783 
   4784 
   4785   # Make sure we can run config.sub.
   4786 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4787   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4788 
   4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4790 printf %s "checking build system type... " >&6; }
   4791 if test ${ac_cv_build+y}
   4792 then :
   4793   printf %s "(cached) " >&6
   4794 else $as_nop
   4795   ac_build_alias=$build_alias
   4796 test "x$ac_build_alias" = x &&
   4797   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4798 test "x$ac_build_alias" = x &&
   4799   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4800 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4801   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4802 
   4803 fi
   4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4805 printf "%s\n" "$ac_cv_build" >&6; }
   4806 case $ac_cv_build in
   4807 *-*-*) ;;
   4808 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4809 esac
   4810 build=$ac_cv_build
   4811 ac_save_IFS=$IFS; IFS='-'
   4812 set x $ac_cv_build
   4813 shift
   4814 build_cpu=$1
   4815 build_vendor=$2
   4816 shift; shift
   4817 # Remember, the first character of IFS is used to create $*,
   4818 # except with old shells:
   4819 build_os=$*
   4820 IFS=$ac_save_IFS
   4821 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4822 
   4823 
   4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4825 printf %s "checking host system type... " >&6; }
   4826 if test ${ac_cv_host+y}
   4827 then :
   4828   printf %s "(cached) " >&6
   4829 else $as_nop
   4830   if test "x$host_alias" = x; then
   4831   ac_cv_host=$ac_cv_build
   4832 else
   4833   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4834     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4835 fi
   4836 
   4837 fi
   4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4839 printf "%s\n" "$ac_cv_host" >&6; }
   4840 case $ac_cv_host in
   4841 *-*-*) ;;
   4842 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4843 esac
   4844 host=$ac_cv_host
   4845 ac_save_IFS=$IFS; IFS='-'
   4846 set x $ac_cv_host
   4847 shift
   4848 host_cpu=$1
   4849 host_vendor=$2
   4850 shift; shift
   4851 # Remember, the first character of IFS is used to create $*,
   4852 # except with old shells:
   4853 host_os=$*
   4854 IFS=$ac_save_IFS
   4855 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4856 
   4857 
   4858 enable_win32_dll=yes
   4859 
   4860 case $host in
   4861 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   4862   if test -n "$ac_tool_prefix"; then
   4863   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4864 set dummy ${ac_tool_prefix}as; ac_word=$2
   4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4866 printf %s "checking for $ac_word... " >&6; }
   4867 if test ${ac_cv_prog_AS+y}
   4868 then :
   4869   printf %s "(cached) " >&6
   4870 else $as_nop
   4871   if test -n "$AS"; then
   4872   ac_cv_prog_AS="$AS" # Let the user override the test.
   4873 else
   4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4875 for as_dir in $PATH
   4876 do
   4877   IFS=$as_save_IFS
   4878   case $as_dir in #(((
   4879     '') as_dir=./ ;;
   4880     */) ;;
   4881     *) as_dir=$as_dir/ ;;
   4882   esac
   4883     for ac_exec_ext in '' $ac_executable_extensions; do
   4884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4885     ac_cv_prog_AS="${ac_tool_prefix}as"
   4886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4887     break 2
   4888   fi
   4889 done
   4890   done
   4891 IFS=$as_save_IFS
   4892 
   4893 fi
   4894 fi
   4895 AS=$ac_cv_prog_AS
   4896 if test -n "$AS"; then
   4897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4898 printf "%s\n" "$AS" >&6; }
   4899 else
   4900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4901 printf "%s\n" "no" >&6; }
   4902 fi
   4903 
   4904 
   4905 fi
   4906 if test -z "$ac_cv_prog_AS"; then
   4907   ac_ct_AS=$AS
   4908   # Extract the first word of "as", so it can be a program name with args.
   4909 set dummy as; ac_word=$2
   4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4911 printf %s "checking for $ac_word... " >&6; }
   4912 if test ${ac_cv_prog_ac_ct_AS+y}
   4913 then :
   4914   printf %s "(cached) " >&6
   4915 else $as_nop
   4916   if test -n "$ac_ct_AS"; then
   4917   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4918 else
   4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4920 for as_dir in $PATH
   4921 do
   4922   IFS=$as_save_IFS
   4923   case $as_dir in #(((
   4924     '') as_dir=./ ;;
   4925     */) ;;
   4926     *) as_dir=$as_dir/ ;;
   4927   esac
   4928     for ac_exec_ext in '' $ac_executable_extensions; do
   4929   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4930     ac_cv_prog_ac_ct_AS="as"
   4931     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4932     break 2
   4933   fi
   4934 done
   4935   done
   4936 IFS=$as_save_IFS
   4937 
   4938 fi
   4939 fi
   4940 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4941 if test -n "$ac_ct_AS"; then
   4942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4943 printf "%s\n" "$ac_ct_AS" >&6; }
   4944 else
   4945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4946 printf "%s\n" "no" >&6; }
   4947 fi
   4948 
   4949   if test "x$ac_ct_AS" = x; then
   4950     AS="false"
   4951   else
   4952     case $cross_compiling:$ac_tool_warned in
   4953 yes:)
   4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4955 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4956 ac_tool_warned=yes ;;
   4957 esac
   4958     AS=$ac_ct_AS
   4959   fi
   4960 else
   4961   AS="$ac_cv_prog_AS"
   4962 fi
   4963 
   4964   if test -n "$ac_tool_prefix"; then
   4965   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4966 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4968 printf %s "checking for $ac_word... " >&6; }
   4969 if test ${ac_cv_prog_DLLTOOL+y}
   4970 then :
   4971   printf %s "(cached) " >&6
   4972 else $as_nop
   4973   if test -n "$DLLTOOL"; then
   4974   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4975 else
   4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4977 for as_dir in $PATH
   4978 do
   4979   IFS=$as_save_IFS
   4980   case $as_dir in #(((
   4981     '') as_dir=./ ;;
   4982     */) ;;
   4983     *) as_dir=$as_dir/ ;;
   4984   esac
   4985     for ac_exec_ext in '' $ac_executable_extensions; do
   4986   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4987     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4988     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4989     break 2
   4990   fi
   4991 done
   4992   done
   4993 IFS=$as_save_IFS
   4994 
   4995 fi
   4996 fi
   4997 DLLTOOL=$ac_cv_prog_DLLTOOL
   4998 if test -n "$DLLTOOL"; then
   4999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5000 printf "%s\n" "$DLLTOOL" >&6; }
   5001 else
   5002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5003 printf "%s\n" "no" >&6; }
   5004 fi
   5005 
   5006 
   5007 fi
   5008 if test -z "$ac_cv_prog_DLLTOOL"; then
   5009   ac_ct_DLLTOOL=$DLLTOOL
   5010   # Extract the first word of "dlltool", so it can be a program name with args.
   5011 set dummy dlltool; ac_word=$2
   5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5013 printf %s "checking for $ac_word... " >&6; }
   5014 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   5015 then :
   5016   printf %s "(cached) " >&6
   5017 else $as_nop
   5018   if test -n "$ac_ct_DLLTOOL"; then
   5019   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5020 else
   5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5022 for as_dir in $PATH
   5023 do
   5024   IFS=$as_save_IFS
   5025   case $as_dir in #(((
   5026     '') as_dir=./ ;;
   5027     */) ;;
   5028     *) as_dir=$as_dir/ ;;
   5029   esac
   5030     for ac_exec_ext in '' $ac_executable_extensions; do
   5031   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5032     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5033     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5034     break 2
   5035   fi
   5036 done
   5037   done
   5038 IFS=$as_save_IFS
   5039 
   5040 fi
   5041 fi
   5042 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5043 if test -n "$ac_ct_DLLTOOL"; then
   5044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5045 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   5046 else
   5047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5048 printf "%s\n" "no" >&6; }
   5049 fi
   5050 
   5051   if test "x$ac_ct_DLLTOOL" = x; then
   5052     DLLTOOL="false"
   5053   else
   5054     case $cross_compiling:$ac_tool_warned in
   5055 yes:)
   5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5057 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5058 ac_tool_warned=yes ;;
   5059 esac
   5060     DLLTOOL=$ac_ct_DLLTOOL
   5061   fi
   5062 else
   5063   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5064 fi
   5065 
   5066   if test -n "$ac_tool_prefix"; then
   5067   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5068 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5070 printf %s "checking for $ac_word... " >&6; }
   5071 if test ${ac_cv_prog_OBJDUMP+y}
   5072 then :
   5073   printf %s "(cached) " >&6
   5074 else $as_nop
   5075   if test -n "$OBJDUMP"; then
   5076   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5077 else
   5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5079 for as_dir in $PATH
   5080 do
   5081   IFS=$as_save_IFS
   5082   case $as_dir in #(((
   5083     '') as_dir=./ ;;
   5084     */) ;;
   5085     *) as_dir=$as_dir/ ;;
   5086   esac
   5087     for ac_exec_ext in '' $ac_executable_extensions; do
   5088   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5089     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5090     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5091     break 2
   5092   fi
   5093 done
   5094   done
   5095 IFS=$as_save_IFS
   5096 
   5097 fi
   5098 fi
   5099 OBJDUMP=$ac_cv_prog_OBJDUMP
   5100 if test -n "$OBJDUMP"; then
   5101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5102 printf "%s\n" "$OBJDUMP" >&6; }
   5103 else
   5104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5105 printf "%s\n" "no" >&6; }
   5106 fi
   5107 
   5108 
   5109 fi
   5110 if test -z "$ac_cv_prog_OBJDUMP"; then
   5111   ac_ct_OBJDUMP=$OBJDUMP
   5112   # Extract the first word of "objdump", so it can be a program name with args.
   5113 set dummy objdump; ac_word=$2
   5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5115 printf %s "checking for $ac_word... " >&6; }
   5116 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5117 then :
   5118   printf %s "(cached) " >&6
   5119 else $as_nop
   5120   if test -n "$ac_ct_OBJDUMP"; then
   5121   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5122 else
   5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5124 for as_dir in $PATH
   5125 do
   5126   IFS=$as_save_IFS
   5127   case $as_dir in #(((
   5128     '') as_dir=./ ;;
   5129     */) ;;
   5130     *) as_dir=$as_dir/ ;;
   5131   esac
   5132     for ac_exec_ext in '' $ac_executable_extensions; do
   5133   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5134     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5135     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5136     break 2
   5137   fi
   5138 done
   5139   done
   5140 IFS=$as_save_IFS
   5141 
   5142 fi
   5143 fi
   5144 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5145 if test -n "$ac_ct_OBJDUMP"; then
   5146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5147 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5148 else
   5149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5150 printf "%s\n" "no" >&6; }
   5151 fi
   5152 
   5153   if test "x$ac_ct_OBJDUMP" = x; then
   5154     OBJDUMP="false"
   5155   else
   5156     case $cross_compiling:$ac_tool_warned in
   5157 yes:)
   5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5160 ac_tool_warned=yes ;;
   5161 esac
   5162     OBJDUMP=$ac_ct_OBJDUMP
   5163   fi
   5164 else
   5165   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5166 fi
   5167 
   5168   ;;
   5169 esac
   5170 
   5171 test -z "$AS" && AS=as
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 test -z "$OBJDUMP" && OBJDUMP=objdump
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 case `pwd` in
   5192   *\ * | *\	*)
   5193     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5194 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5195 esac
   5196 
   5197 
   5198 
   5199 macro_version='2.4.7'
   5200 macro_revision='2.4.7'
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 ltmain=$ac_aux_dir/ltmain.sh
   5216 
   5217 # Backslashify metacharacters that are still active within
   5218 # double-quoted strings.
   5219 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5220 
   5221 # Same as above, but do not quote variable references.
   5222 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5223 
   5224 # Sed substitution to delay expansion of an escaped shell variable in a
   5225 # double_quote_subst'ed string.
   5226 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5227 
   5228 # Sed substitution to delay expansion of an escaped single quote.
   5229 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5230 
   5231 # Sed substitution to avoid accidental globbing in evaled expressions
   5232 no_glob_subst='s/\*/\\\*/g'
   5233 
   5234 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5235 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5236 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5237 
   5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5239 printf %s "checking how to print strings... " >&6; }
   5240 # Test print first, because it will be a builtin if present.
   5241 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5242    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5243   ECHO='print -r --'
   5244 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5245   ECHO='printf %s\n'
   5246 else
   5247   # Use this function as a fallback that always works.
   5248   func_fallback_echo ()
   5249   {
   5250     eval 'cat <<_LTECHO_EOF
   5251 $1
   5252 _LTECHO_EOF'
   5253   }
   5254   ECHO='func_fallback_echo'
   5255 fi
   5256 
   5257 # func_echo_all arg...
   5258 # Invoke $ECHO with all args, space-separated.
   5259 func_echo_all ()
   5260 {
   5261     $ECHO ""
   5262 }
   5263 
   5264 case $ECHO in
   5265   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5266 printf "%s\n" "printf" >&6; } ;;
   5267   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5268 printf "%s\n" "print -r" >&6; } ;;
   5269   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5270 printf "%s\n" "cat" >&6; } ;;
   5271 esac
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5287 printf %s "checking for a sed that does not truncate output... " >&6; }
   5288 if test ${ac_cv_path_SED+y}
   5289 then :
   5290   printf %s "(cached) " >&6
   5291 else $as_nop
   5292             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5293      for ac_i in 1 2 3 4 5 6 7; do
   5294        ac_script="$ac_script$as_nl$ac_script"
   5295      done
   5296      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5297      { ac_script=; unset ac_script;}
   5298      if test -z "$SED"; then
   5299   ac_path_SED_found=false
   5300   # Loop through the user's path and test for each of PROGNAME-LIST
   5301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5302 for as_dir in $PATH
   5303 do
   5304   IFS=$as_save_IFS
   5305   case $as_dir in #(((
   5306     '') as_dir=./ ;;
   5307     */) ;;
   5308     *) as_dir=$as_dir/ ;;
   5309   esac
   5310     for ac_prog in sed gsed
   5311    do
   5312     for ac_exec_ext in '' $ac_executable_extensions; do
   5313       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5314       as_fn_executable_p "$ac_path_SED" || continue
   5315 # Check for GNU ac_path_SED and select it if it is found.
   5316   # Check for GNU $ac_path_SED
   5317 case `"$ac_path_SED" --version 2>&1` in
   5318 *GNU*)
   5319   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5320 *)
   5321   ac_count=0
   5322   printf %s 0123456789 >"conftest.in"
   5323   while :
   5324   do
   5325     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5326     mv "conftest.tmp" "conftest.in"
   5327     cp "conftest.in" "conftest.nl"
   5328     printf "%s\n" '' >> "conftest.nl"
   5329     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5330     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5331     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5332     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5333       # Best one so far, save it but keep looking for a better one
   5334       ac_cv_path_SED="$ac_path_SED"
   5335       ac_path_SED_max=$ac_count
   5336     fi
   5337     # 10*(2^10) chars as input seems more than enough
   5338     test $ac_count -gt 10 && break
   5339   done
   5340   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5341 esac
   5342 
   5343       $ac_path_SED_found && break 3
   5344     done
   5345   done
   5346   done
   5347 IFS=$as_save_IFS
   5348   if test -z "$ac_cv_path_SED"; then
   5349     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5350   fi
   5351 else
   5352   ac_cv_path_SED=$SED
   5353 fi
   5354 
   5355 fi
   5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5357 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5358  SED="$ac_cv_path_SED"
   5359   rm -f conftest.sed
   5360 
   5361 test -z "$SED" && SED=sed
   5362 Xsed="$SED -e 1s/^X//"
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5375 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5376 if test ${ac_cv_path_GREP+y}
   5377 then :
   5378   printf %s "(cached) " >&6
   5379 else $as_nop
   5380   if test -z "$GREP"; then
   5381   ac_path_GREP_found=false
   5382   # Loop through the user's path and test for each of PROGNAME-LIST
   5383   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5385 do
   5386   IFS=$as_save_IFS
   5387   case $as_dir in #(((
   5388     '') as_dir=./ ;;
   5389     */) ;;
   5390     *) as_dir=$as_dir/ ;;
   5391   esac
   5392     for ac_prog in grep ggrep
   5393    do
   5394     for ac_exec_ext in '' $ac_executable_extensions; do
   5395       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5396       as_fn_executable_p "$ac_path_GREP" || continue
   5397 # Check for GNU ac_path_GREP and select it if it is found.
   5398   # Check for GNU $ac_path_GREP
   5399 case `"$ac_path_GREP" --version 2>&1` in
   5400 *GNU*)
   5401   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5402 *)
   5403   ac_count=0
   5404   printf %s 0123456789 >"conftest.in"
   5405   while :
   5406   do
   5407     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5408     mv "conftest.tmp" "conftest.in"
   5409     cp "conftest.in" "conftest.nl"
   5410     printf "%s\n" 'GREP' >> "conftest.nl"
   5411     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5412     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5413     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5414     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5415       # Best one so far, save it but keep looking for a better one
   5416       ac_cv_path_GREP="$ac_path_GREP"
   5417       ac_path_GREP_max=$ac_count
   5418     fi
   5419     # 10*(2^10) chars as input seems more than enough
   5420     test $ac_count -gt 10 && break
   5421   done
   5422   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5423 esac
   5424 
   5425       $ac_path_GREP_found && break 3
   5426     done
   5427   done
   5428   done
   5429 IFS=$as_save_IFS
   5430   if test -z "$ac_cv_path_GREP"; then
   5431     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5432   fi
   5433 else
   5434   ac_cv_path_GREP=$GREP
   5435 fi
   5436 
   5437 fi
   5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5439 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5440  GREP="$ac_cv_path_GREP"
   5441 
   5442 
   5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5444 printf %s "checking for egrep... " >&6; }
   5445 if test ${ac_cv_path_EGREP+y}
   5446 then :
   5447   printf %s "(cached) " >&6
   5448 else $as_nop
   5449   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5450    then ac_cv_path_EGREP="$GREP -E"
   5451    else
   5452      if test -z "$EGREP"; then
   5453   ac_path_EGREP_found=false
   5454   # Loop through the user's path and test for each of PROGNAME-LIST
   5455   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5457 do
   5458   IFS=$as_save_IFS
   5459   case $as_dir in #(((
   5460     '') as_dir=./ ;;
   5461     */) ;;
   5462     *) as_dir=$as_dir/ ;;
   5463   esac
   5464     for ac_prog in egrep
   5465    do
   5466     for ac_exec_ext in '' $ac_executable_extensions; do
   5467       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5468       as_fn_executable_p "$ac_path_EGREP" || continue
   5469 # Check for GNU ac_path_EGREP and select it if it is found.
   5470   # Check for GNU $ac_path_EGREP
   5471 case `"$ac_path_EGREP" --version 2>&1` in
   5472 *GNU*)
   5473   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5474 *)
   5475   ac_count=0
   5476   printf %s 0123456789 >"conftest.in"
   5477   while :
   5478   do
   5479     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5480     mv "conftest.tmp" "conftest.in"
   5481     cp "conftest.in" "conftest.nl"
   5482     printf "%s\n" 'EGREP' >> "conftest.nl"
   5483     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5484     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5485     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5486     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5487       # Best one so far, save it but keep looking for a better one
   5488       ac_cv_path_EGREP="$ac_path_EGREP"
   5489       ac_path_EGREP_max=$ac_count
   5490     fi
   5491     # 10*(2^10) chars as input seems more than enough
   5492     test $ac_count -gt 10 && break
   5493   done
   5494   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5495 esac
   5496 
   5497       $ac_path_EGREP_found && break 3
   5498     done
   5499   done
   5500   done
   5501 IFS=$as_save_IFS
   5502   if test -z "$ac_cv_path_EGREP"; then
   5503     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5504   fi
   5505 else
   5506   ac_cv_path_EGREP=$EGREP
   5507 fi
   5508 
   5509    fi
   5510 fi
   5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5512 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5513  EGREP="$ac_cv_path_EGREP"
   5514 
   5515 
   5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5517 printf %s "checking for fgrep... " >&6; }
   5518 if test ${ac_cv_path_FGREP+y}
   5519 then :
   5520   printf %s "(cached) " >&6
   5521 else $as_nop
   5522   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5523    then ac_cv_path_FGREP="$GREP -F"
   5524    else
   5525      if test -z "$FGREP"; then
   5526   ac_path_FGREP_found=false
   5527   # Loop through the user's path and test for each of PROGNAME-LIST
   5528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5529 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5530 do
   5531   IFS=$as_save_IFS
   5532   case $as_dir in #(((
   5533     '') as_dir=./ ;;
   5534     */) ;;
   5535     *) as_dir=$as_dir/ ;;
   5536   esac
   5537     for ac_prog in fgrep
   5538    do
   5539     for ac_exec_ext in '' $ac_executable_extensions; do
   5540       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5541       as_fn_executable_p "$ac_path_FGREP" || continue
   5542 # Check for GNU ac_path_FGREP and select it if it is found.
   5543   # Check for GNU $ac_path_FGREP
   5544 case `"$ac_path_FGREP" --version 2>&1` in
   5545 *GNU*)
   5546   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5547 *)
   5548   ac_count=0
   5549   printf %s 0123456789 >"conftest.in"
   5550   while :
   5551   do
   5552     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5553     mv "conftest.tmp" "conftest.in"
   5554     cp "conftest.in" "conftest.nl"
   5555     printf "%s\n" 'FGREP' >> "conftest.nl"
   5556     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5557     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5558     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5559     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5560       # Best one so far, save it but keep looking for a better one
   5561       ac_cv_path_FGREP="$ac_path_FGREP"
   5562       ac_path_FGREP_max=$ac_count
   5563     fi
   5564     # 10*(2^10) chars as input seems more than enough
   5565     test $ac_count -gt 10 && break
   5566   done
   5567   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5568 esac
   5569 
   5570       $ac_path_FGREP_found && break 3
   5571     done
   5572   done
   5573   done
   5574 IFS=$as_save_IFS
   5575   if test -z "$ac_cv_path_FGREP"; then
   5576     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5577   fi
   5578 else
   5579   ac_cv_path_FGREP=$FGREP
   5580 fi
   5581 
   5582    fi
   5583 fi
   5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5585 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5586  FGREP="$ac_cv_path_FGREP"
   5587 
   5588 
   5589 test -z "$GREP" && GREP=grep
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 # Check whether --with-gnu-ld was given.
   5610 if test ${with_gnu_ld+y}
   5611 then :
   5612   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5613 else $as_nop
   5614   with_gnu_ld=no
   5615 fi
   5616 
   5617 ac_prog=ld
   5618 if test yes = "$GCC"; then
   5619   # Check if gcc -print-prog-name=ld gives a path.
   5620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5621 printf %s "checking for ld used by $CC... " >&6; }
   5622   case $host in
   5623   *-*-mingw*)
   5624     # gcc leaves a trailing carriage return, which upsets mingw
   5625     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5626   *)
   5627     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5628   esac
   5629   case $ac_prog in
   5630     # Accept absolute paths.
   5631     [\\/]* | ?:[\\/]*)
   5632       re_direlt='/[^/][^/]*/\.\./'
   5633       # Canonicalize the pathname of ld
   5634       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5635       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5636 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5637       done
   5638       test -z "$LD" && LD=$ac_prog
   5639       ;;
   5640   "")
   5641     # If it fails, then pretend we aren't using GCC.
   5642     ac_prog=ld
   5643     ;;
   5644   *)
   5645     # If it is relative, then search for the first ld in PATH.
   5646     with_gnu_ld=unknown
   5647     ;;
   5648   esac
   5649 elif test yes = "$with_gnu_ld"; then
   5650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5651 printf %s "checking for GNU ld... " >&6; }
   5652 else
   5653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5654 printf %s "checking for non-GNU ld... " >&6; }
   5655 fi
   5656 if test ${lt_cv_path_LD+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else $as_nop
   5660   if test -z "$LD"; then
   5661   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5662   for ac_dir in $PATH; do
   5663     IFS=$lt_save_ifs
   5664     test -z "$ac_dir" && ac_dir=.
   5665     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5666       lt_cv_path_LD=$ac_dir/$ac_prog
   5667       # Check to see if the program is GNU ld.  I'd rather use --version,
   5668       # but apparently some variants of GNU ld only accept -v.
   5669       # Break only if it was the GNU/non-GNU ld that we prefer.
   5670       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5671       *GNU* | *'with BFD'*)
   5672 	test no != "$with_gnu_ld" && break
   5673 	;;
   5674       *)
   5675 	test yes != "$with_gnu_ld" && break
   5676 	;;
   5677       esac
   5678     fi
   5679   done
   5680   IFS=$lt_save_ifs
   5681 else
   5682   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5683 fi
   5684 fi
   5685 
   5686 LD=$lt_cv_path_LD
   5687 if test -n "$LD"; then
   5688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5689 printf "%s\n" "$LD" >&6; }
   5690 else
   5691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5692 printf "%s\n" "no" >&6; }
   5693 fi
   5694 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5696 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5697 if test ${lt_cv_prog_gnu_ld+y}
   5698 then :
   5699   printf %s "(cached) " >&6
   5700 else $as_nop
   5701   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5702 case `$LD -v 2>&1 </dev/null` in
   5703 *GNU* | *'with BFD'*)
   5704   lt_cv_prog_gnu_ld=yes
   5705   ;;
   5706 *)
   5707   lt_cv_prog_gnu_ld=no
   5708   ;;
   5709 esac
   5710 fi
   5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5712 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5713 with_gnu_ld=$lt_cv_prog_gnu_ld
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5724 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5725 if test ${lt_cv_path_NM+y}
   5726 then :
   5727   printf %s "(cached) " >&6
   5728 else $as_nop
   5729   if test -n "$NM"; then
   5730   # Let the user override the test.
   5731   lt_cv_path_NM=$NM
   5732 else
   5733   lt_nm_to_check=${ac_tool_prefix}nm
   5734   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5735     lt_nm_to_check="$lt_nm_to_check nm"
   5736   fi
   5737   for lt_tmp_nm in $lt_nm_to_check; do
   5738     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5739     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5740       IFS=$lt_save_ifs
   5741       test -z "$ac_dir" && ac_dir=.
   5742       tmp_nm=$ac_dir/$lt_tmp_nm
   5743       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5744 	# Check to see if the nm accepts a BSD-compat flag.
   5745 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5746 	#   nm: unknown option "B" ignored
   5747 	# Tru64's nm complains that /dev/null is an invalid object file
   5748 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5749 	case $build_os in
   5750 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5751 	*) lt_bad_file=/dev/null ;;
   5752 	esac
   5753 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5754 	*$lt_bad_file* | *'Invalid file or object type'*)
   5755 	  lt_cv_path_NM="$tmp_nm -B"
   5756 	  break 2
   5757 	  ;;
   5758 	*)
   5759 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5760 	  */dev/null*)
   5761 	    lt_cv_path_NM="$tmp_nm -p"
   5762 	    break 2
   5763 	    ;;
   5764 	  *)
   5765 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5766 	    continue # so that we can try to find one that supports BSD flags
   5767 	    ;;
   5768 	  esac
   5769 	  ;;
   5770 	esac
   5771       fi
   5772     done
   5773     IFS=$lt_save_ifs
   5774   done
   5775   : ${lt_cv_path_NM=no}
   5776 fi
   5777 fi
   5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5779 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5780 if test no != "$lt_cv_path_NM"; then
   5781   NM=$lt_cv_path_NM
   5782 else
   5783   # Didn't find any BSD compatible name lister, look for dumpbin.
   5784   if test -n "$DUMPBIN"; then :
   5785     # Let the user override the test.
   5786   else
   5787     if test -n "$ac_tool_prefix"; then
   5788   for ac_prog in dumpbin "link -dump"
   5789   do
   5790     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5793 printf %s "checking for $ac_word... " >&6; }
   5794 if test ${ac_cv_prog_DUMPBIN+y}
   5795 then :
   5796   printf %s "(cached) " >&6
   5797 else $as_nop
   5798   if test -n "$DUMPBIN"; then
   5799   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5800 else
   5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5802 for as_dir in $PATH
   5803 do
   5804   IFS=$as_save_IFS
   5805   case $as_dir in #(((
   5806     '') as_dir=./ ;;
   5807     */) ;;
   5808     *) as_dir=$as_dir/ ;;
   5809   esac
   5810     for ac_exec_ext in '' $ac_executable_extensions; do
   5811   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5812     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5813     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5814     break 2
   5815   fi
   5816 done
   5817   done
   5818 IFS=$as_save_IFS
   5819 
   5820 fi
   5821 fi
   5822 DUMPBIN=$ac_cv_prog_DUMPBIN
   5823 if test -n "$DUMPBIN"; then
   5824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5825 printf "%s\n" "$DUMPBIN" >&6; }
   5826 else
   5827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5828 printf "%s\n" "no" >&6; }
   5829 fi
   5830 
   5831 
   5832     test -n "$DUMPBIN" && break
   5833   done
   5834 fi
   5835 if test -z "$DUMPBIN"; then
   5836   ac_ct_DUMPBIN=$DUMPBIN
   5837   for ac_prog in dumpbin "link -dump"
   5838 do
   5839   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5840 set dummy $ac_prog; ac_word=$2
   5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5842 printf %s "checking for $ac_word... " >&6; }
   5843 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5844 then :
   5845   printf %s "(cached) " >&6
   5846 else $as_nop
   5847   if test -n "$ac_ct_DUMPBIN"; then
   5848   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5849 else
   5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5851 for as_dir in $PATH
   5852 do
   5853   IFS=$as_save_IFS
   5854   case $as_dir in #(((
   5855     '') as_dir=./ ;;
   5856     */) ;;
   5857     *) as_dir=$as_dir/ ;;
   5858   esac
   5859     for ac_exec_ext in '' $ac_executable_extensions; do
   5860   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5861     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5863     break 2
   5864   fi
   5865 done
   5866   done
   5867 IFS=$as_save_IFS
   5868 
   5869 fi
   5870 fi
   5871 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5872 if test -n "$ac_ct_DUMPBIN"; then
   5873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5874 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5875 else
   5876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5877 printf "%s\n" "no" >&6; }
   5878 fi
   5879 
   5880 
   5881   test -n "$ac_ct_DUMPBIN" && break
   5882 done
   5883 
   5884   if test "x$ac_ct_DUMPBIN" = x; then
   5885     DUMPBIN=":"
   5886   else
   5887     case $cross_compiling:$ac_tool_warned in
   5888 yes:)
   5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5890 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5891 ac_tool_warned=yes ;;
   5892 esac
   5893     DUMPBIN=$ac_ct_DUMPBIN
   5894   fi
   5895 fi
   5896 
   5897     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5898     *COFF*)
   5899       DUMPBIN="$DUMPBIN -symbols -headers"
   5900       ;;
   5901     *)
   5902       DUMPBIN=:
   5903       ;;
   5904     esac
   5905   fi
   5906 
   5907   if test : != "$DUMPBIN"; then
   5908     NM=$DUMPBIN
   5909   fi
   5910 fi
   5911 test -z "$NM" && NM=nm
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5919 printf %s "checking the name lister ($NM) interface... " >&6; }
   5920 if test ${lt_cv_nm_interface+y}
   5921 then :
   5922   printf %s "(cached) " >&6
   5923 else $as_nop
   5924   lt_cv_nm_interface="BSD nm"
   5925   echo "int some_variable = 0;" > conftest.$ac_ext
   5926   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5927   (eval "$ac_compile" 2>conftest.err)
   5928   cat conftest.err >&5
   5929   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5930   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5931   cat conftest.err >&5
   5932   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5933   cat conftest.out >&5
   5934   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5935     lt_cv_nm_interface="MS dumpbin"
   5936   fi
   5937   rm -f conftest*
   5938 fi
   5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5940 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5941 
   5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5943 printf %s "checking whether ln -s works... " >&6; }
   5944 LN_S=$as_ln_s
   5945 if test "$LN_S" = "ln -s"; then
   5946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5947 printf "%s\n" "yes" >&6; }
   5948 else
   5949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5950 printf "%s\n" "no, using $LN_S" >&6; }
   5951 fi
   5952 
   5953 # find the maximum length of command line arguments
   5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5955 printf %s "checking the maximum length of command line arguments... " >&6; }
   5956 if test ${lt_cv_sys_max_cmd_len+y}
   5957 then :
   5958   printf %s "(cached) " >&6
   5959 else $as_nop
   5960     i=0
   5961   teststring=ABCD
   5962 
   5963   case $build_os in
   5964   msdosdjgpp*)
   5965     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5966     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5967     # during glob expansion).  Even if it were fixed, the result of this
   5968     # check would be larger than it should be.
   5969     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5970     ;;
   5971 
   5972   gnu*)
   5973     # Under GNU Hurd, this test is not required because there is
   5974     # no limit to the length of command line arguments.
   5975     # Libtool will interpret -1 as no limit whatsoever
   5976     lt_cv_sys_max_cmd_len=-1;
   5977     ;;
   5978 
   5979   cygwin* | mingw* | cegcc*)
   5980     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5981     # about 5 minutes as the teststring grows exponentially.
   5982     # Worse, since 9x/ME are not pre-emptively multitasking,
   5983     # you end up with a "frozen" computer, even though with patience
   5984     # the test eventually succeeds (with a max line length of 256k).
   5985     # Instead, let's just punt: use the minimum linelength reported by
   5986     # all of the supported platforms: 8192 (on NT/2K/XP).
   5987     lt_cv_sys_max_cmd_len=8192;
   5988     ;;
   5989 
   5990   mint*)
   5991     # On MiNT this can take a long time and run out of memory.
   5992     lt_cv_sys_max_cmd_len=8192;
   5993     ;;
   5994 
   5995   amigaos*)
   5996     # On AmigaOS with pdksh, this test takes hours, literally.
   5997     # So we just punt and use a minimum line length of 8192.
   5998     lt_cv_sys_max_cmd_len=8192;
   5999     ;;
   6000 
   6001   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6002     # This has been around since 386BSD, at least.  Likely further.
   6003     if test -x /sbin/sysctl; then
   6004       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6005     elif test -x /usr/sbin/sysctl; then
   6006       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6007     else
   6008       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6009     fi
   6010     # And add a safety zone
   6011     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6012     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6013     ;;
   6014 
   6015   interix*)
   6016     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6017     lt_cv_sys_max_cmd_len=196608
   6018     ;;
   6019 
   6020   os2*)
   6021     # The test takes a long time on OS/2.
   6022     lt_cv_sys_max_cmd_len=8192
   6023     ;;
   6024 
   6025   osf*)
   6026     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6027     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6028     # nice to cause kernel panics so lets avoid the loop below.
   6029     # First set a reasonable default.
   6030     lt_cv_sys_max_cmd_len=16384
   6031     #
   6032     if test -x /sbin/sysconfig; then
   6033       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6034         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6035       esac
   6036     fi
   6037     ;;
   6038   sco3.2v5*)
   6039     lt_cv_sys_max_cmd_len=102400
   6040     ;;
   6041   sysv5* | sco5v6* | sysv4.2uw2*)
   6042     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6043     if test -n "$kargmax"; then
   6044       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6045     else
   6046       lt_cv_sys_max_cmd_len=32768
   6047     fi
   6048     ;;
   6049   *)
   6050     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6051     if test -n "$lt_cv_sys_max_cmd_len" && \
   6052        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6053       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6054       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6055     else
   6056       # Make teststring a little bigger before we do anything with it.
   6057       # a 1K string should be a reasonable start.
   6058       for i in 1 2 3 4 5 6 7 8; do
   6059         teststring=$teststring$teststring
   6060       done
   6061       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6062       # If test is not a shell built-in, we'll probably end up computing a
   6063       # maximum length that is only half of the actual maximum length, but
   6064       # we can't tell.
   6065       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6066 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6067 	      test 17 != "$i" # 1/2 MB should be enough
   6068       do
   6069         i=`expr $i + 1`
   6070         teststring=$teststring$teststring
   6071       done
   6072       # Only check the string length outside the loop.
   6073       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6074       teststring=
   6075       # Add a significant safety factor because C++ compilers can tack on
   6076       # massive amounts of additional arguments before passing them to the
   6077       # linker.  It appears as though 1/2 is a usable value.
   6078       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6079     fi
   6080     ;;
   6081   esac
   6082 
   6083 fi
   6084 
   6085 if test -n "$lt_cv_sys_max_cmd_len"; then
   6086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6087 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6088 else
   6089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6090 printf "%s\n" "none" >&6; }
   6091 fi
   6092 max_cmd_len=$lt_cv_sys_max_cmd_len
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 : ${CP="cp -f"}
   6100 : ${MV="mv -f"}
   6101 : ${RM="rm -f"}
   6102 
   6103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6104   lt_unset=unset
   6105 else
   6106   lt_unset=false
   6107 fi
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 # test EBCDIC or ASCII
   6114 case `echo X|tr X '\101'` in
   6115  A) # ASCII based system
   6116     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6117   lt_SP2NL='tr \040 \012'
   6118   lt_NL2SP='tr \015\012 \040\040'
   6119   ;;
   6120  *) # EBCDIC based system
   6121   lt_SP2NL='tr \100 \n'
   6122   lt_NL2SP='tr \r\n \100\100'
   6123   ;;
   6124 esac
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6135 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6136 if test ${lt_cv_to_host_file_cmd+y}
   6137 then :
   6138   printf %s "(cached) " >&6
   6139 else $as_nop
   6140   case $host in
   6141   *-*-mingw* )
   6142     case $build in
   6143       *-*-mingw* ) # actually msys
   6144         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6145         ;;
   6146       *-*-cygwin* )
   6147         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6148         ;;
   6149       * ) # otherwise, assume *nix
   6150         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6151         ;;
   6152     esac
   6153     ;;
   6154   *-*-cygwin* )
   6155     case $build in
   6156       *-*-mingw* ) # actually msys
   6157         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6158         ;;
   6159       *-*-cygwin* )
   6160         lt_cv_to_host_file_cmd=func_convert_file_noop
   6161         ;;
   6162       * ) # otherwise, assume *nix
   6163         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6164         ;;
   6165     esac
   6166     ;;
   6167   * ) # unhandled hosts (and "normal" native builds)
   6168     lt_cv_to_host_file_cmd=func_convert_file_noop
   6169     ;;
   6170 esac
   6171 
   6172 fi
   6173 
   6174 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6176 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6183 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6184 if test ${lt_cv_to_tool_file_cmd+y}
   6185 then :
   6186   printf %s "(cached) " >&6
   6187 else $as_nop
   6188   #assume ordinary cross tools, or native build.
   6189 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6190 case $host in
   6191   *-*-mingw* )
   6192     case $build in
   6193       *-*-mingw* ) # actually msys
   6194         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6195         ;;
   6196     esac
   6197     ;;
   6198 esac
   6199 
   6200 fi
   6201 
   6202 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6204 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6211 printf %s "checking for $LD option to reload object files... " >&6; }
   6212 if test ${lt_cv_ld_reload_flag+y}
   6213 then :
   6214   printf %s "(cached) " >&6
   6215 else $as_nop
   6216   lt_cv_ld_reload_flag='-r'
   6217 fi
   6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6219 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6220 reload_flag=$lt_cv_ld_reload_flag
   6221 case $reload_flag in
   6222 "" | " "*) ;;
   6223 *) reload_flag=" $reload_flag" ;;
   6224 esac
   6225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6226 case $host_os in
   6227   cygwin* | mingw* | pw32* | cegcc*)
   6228     if test yes != "$GCC"; then
   6229       reload_cmds=false
   6230     fi
   6231     ;;
   6232   darwin*)
   6233     if test yes = "$GCC"; then
   6234       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6235     else
   6236       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6237     fi
   6238     ;;
   6239 esac
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 if test -n "$ac_tool_prefix"; then
   6250   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6251 set dummy ${ac_tool_prefix}file; ac_word=$2
   6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6253 printf %s "checking for $ac_word... " >&6; }
   6254 if test ${ac_cv_prog_FILECMD+y}
   6255 then :
   6256   printf %s "(cached) " >&6
   6257 else $as_nop
   6258   if test -n "$FILECMD"; then
   6259   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6260 else
   6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6262 for as_dir in $PATH
   6263 do
   6264   IFS=$as_save_IFS
   6265   case $as_dir in #(((
   6266     '') as_dir=./ ;;
   6267     */) ;;
   6268     *) as_dir=$as_dir/ ;;
   6269   esac
   6270     for ac_exec_ext in '' $ac_executable_extensions; do
   6271   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6272     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6273     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6274     break 2
   6275   fi
   6276 done
   6277   done
   6278 IFS=$as_save_IFS
   6279 
   6280 fi
   6281 fi
   6282 FILECMD=$ac_cv_prog_FILECMD
   6283 if test -n "$FILECMD"; then
   6284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6285 printf "%s\n" "$FILECMD" >&6; }
   6286 else
   6287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6288 printf "%s\n" "no" >&6; }
   6289 fi
   6290 
   6291 
   6292 fi
   6293 if test -z "$ac_cv_prog_FILECMD"; then
   6294   ac_ct_FILECMD=$FILECMD
   6295   # Extract the first word of "file", so it can be a program name with args.
   6296 set dummy file; ac_word=$2
   6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6298 printf %s "checking for $ac_word... " >&6; }
   6299 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6300 then :
   6301   printf %s "(cached) " >&6
   6302 else $as_nop
   6303   if test -n "$ac_ct_FILECMD"; then
   6304   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6305 else
   6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6307 for as_dir in $PATH
   6308 do
   6309   IFS=$as_save_IFS
   6310   case $as_dir in #(((
   6311     '') as_dir=./ ;;
   6312     */) ;;
   6313     *) as_dir=$as_dir/ ;;
   6314   esac
   6315     for ac_exec_ext in '' $ac_executable_extensions; do
   6316   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6317     ac_cv_prog_ac_ct_FILECMD="file"
   6318     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6319     break 2
   6320   fi
   6321 done
   6322   done
   6323 IFS=$as_save_IFS
   6324 
   6325 fi
   6326 fi
   6327 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6328 if test -n "$ac_ct_FILECMD"; then
   6329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6330 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6331 else
   6332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6333 printf "%s\n" "no" >&6; }
   6334 fi
   6335 
   6336   if test "x$ac_ct_FILECMD" = x; then
   6337     FILECMD=":"
   6338   else
   6339     case $cross_compiling:$ac_tool_warned in
   6340 yes:)
   6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6342 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6343 ac_tool_warned=yes ;;
   6344 esac
   6345     FILECMD=$ac_ct_FILECMD
   6346   fi
   6347 else
   6348   FILECMD="$ac_cv_prog_FILECMD"
   6349 fi
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 if test -n "$ac_tool_prefix"; then
   6358   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6359 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6361 printf %s "checking for $ac_word... " >&6; }
   6362 if test ${ac_cv_prog_OBJDUMP+y}
   6363 then :
   6364   printf %s "(cached) " >&6
   6365 else $as_nop
   6366   if test -n "$OBJDUMP"; then
   6367   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6368 else
   6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6370 for as_dir in $PATH
   6371 do
   6372   IFS=$as_save_IFS
   6373   case $as_dir in #(((
   6374     '') as_dir=./ ;;
   6375     */) ;;
   6376     *) as_dir=$as_dir/ ;;
   6377   esac
   6378     for ac_exec_ext in '' $ac_executable_extensions; do
   6379   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6380     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6381     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6382     break 2
   6383   fi
   6384 done
   6385   done
   6386 IFS=$as_save_IFS
   6387 
   6388 fi
   6389 fi
   6390 OBJDUMP=$ac_cv_prog_OBJDUMP
   6391 if test -n "$OBJDUMP"; then
   6392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6393 printf "%s\n" "$OBJDUMP" >&6; }
   6394 else
   6395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6396 printf "%s\n" "no" >&6; }
   6397 fi
   6398 
   6399 
   6400 fi
   6401 if test -z "$ac_cv_prog_OBJDUMP"; then
   6402   ac_ct_OBJDUMP=$OBJDUMP
   6403   # Extract the first word of "objdump", so it can be a program name with args.
   6404 set dummy objdump; ac_word=$2
   6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6406 printf %s "checking for $ac_word... " >&6; }
   6407 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6408 then :
   6409   printf %s "(cached) " >&6
   6410 else $as_nop
   6411   if test -n "$ac_ct_OBJDUMP"; then
   6412   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6413 else
   6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6415 for as_dir in $PATH
   6416 do
   6417   IFS=$as_save_IFS
   6418   case $as_dir in #(((
   6419     '') as_dir=./ ;;
   6420     */) ;;
   6421     *) as_dir=$as_dir/ ;;
   6422   esac
   6423     for ac_exec_ext in '' $ac_executable_extensions; do
   6424   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6425     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6426     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6427     break 2
   6428   fi
   6429 done
   6430   done
   6431 IFS=$as_save_IFS
   6432 
   6433 fi
   6434 fi
   6435 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6436 if test -n "$ac_ct_OBJDUMP"; then
   6437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6438 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6439 else
   6440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6441 printf "%s\n" "no" >&6; }
   6442 fi
   6443 
   6444   if test "x$ac_ct_OBJDUMP" = x; then
   6445     OBJDUMP="false"
   6446   else
   6447     case $cross_compiling:$ac_tool_warned in
   6448 yes:)
   6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6450 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6451 ac_tool_warned=yes ;;
   6452 esac
   6453     OBJDUMP=$ac_ct_OBJDUMP
   6454   fi
   6455 else
   6456   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6457 fi
   6458 
   6459 test -z "$OBJDUMP" && OBJDUMP=objdump
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6467 printf %s "checking how to recognize dependent libraries... " >&6; }
   6468 if test ${lt_cv_deplibs_check_method+y}
   6469 then :
   6470   printf %s "(cached) " >&6
   6471 else $as_nop
   6472   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6473 lt_cv_file_magic_test_file=
   6474 lt_cv_deplibs_check_method='unknown'
   6475 # Need to set the preceding variable on all platforms that support
   6476 # interlibrary dependencies.
   6477 # 'none' -- dependencies not supported.
   6478 # 'unknown' -- same as none, but documents that we really don't know.
   6479 # 'pass_all' -- all dependencies passed with no checks.
   6480 # 'test_compile' -- check by making test program.
   6481 # 'file_magic [[regex]]' -- check by looking for files in library path
   6482 # that responds to the $file_magic_cmd with a given extended regex.
   6483 # If you have 'file' or equivalent on your system and you're not sure
   6484 # whether 'pass_all' will *always* work, you probably want this one.
   6485 
   6486 case $host_os in
   6487 aix[4-9]*)
   6488   lt_cv_deplibs_check_method=pass_all
   6489   ;;
   6490 
   6491 beos*)
   6492   lt_cv_deplibs_check_method=pass_all
   6493   ;;
   6494 
   6495 bsdi[45]*)
   6496   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6497   lt_cv_file_magic_cmd='$FILECMD -L'
   6498   lt_cv_file_magic_test_file=/shlib/libc.so
   6499   ;;
   6500 
   6501 cygwin*)
   6502   # func_win32_libid is a shell function defined in ltmain.sh
   6503   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6504   lt_cv_file_magic_cmd='func_win32_libid'
   6505   ;;
   6506 
   6507 mingw* | pw32*)
   6508   # Base MSYS/MinGW do not provide the 'file' command needed by
   6509   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6510   # unless we find 'file', for example because we are cross-compiling.
   6511   if ( file / ) >/dev/null 2>&1; then
   6512     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6513     lt_cv_file_magic_cmd='func_win32_libid'
   6514   else
   6515     # Keep this pattern in sync with the one in func_win32_libid.
   6516     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6517     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6518   fi
   6519   ;;
   6520 
   6521 cegcc*)
   6522   # use the weaker test based on 'objdump'. See mingw*.
   6523   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6524   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6525   ;;
   6526 
   6527 darwin* | rhapsody*)
   6528   lt_cv_deplibs_check_method=pass_all
   6529   ;;
   6530 
   6531 freebsd* | dragonfly* | midnightbsd*)
   6532   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6533     case $host_cpu in
   6534     i*86 )
   6535       # Not sure whether the presence of OpenBSD here was a mistake.
   6536       # Let's accept both of them until this is cleared up.
   6537       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6538       lt_cv_file_magic_cmd=$FILECMD
   6539       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6540       ;;
   6541     esac
   6542   else
   6543     lt_cv_deplibs_check_method=pass_all
   6544   fi
   6545   ;;
   6546 
   6547 haiku*)
   6548   lt_cv_deplibs_check_method=pass_all
   6549   ;;
   6550 
   6551 hpux10.20* | hpux11*)
   6552   lt_cv_file_magic_cmd=$FILECMD
   6553   case $host_cpu in
   6554   ia64*)
   6555     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6556     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6557     ;;
   6558   hppa*64*)
   6559     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]'
   6560     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6561     ;;
   6562   *)
   6563     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6564     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6565     ;;
   6566   esac
   6567   ;;
   6568 
   6569 interix[3-9]*)
   6570   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6571   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6572   ;;
   6573 
   6574 irix5* | irix6* | nonstopux*)
   6575   case $LD in
   6576   *-32|*"-32 ") libmagic=32-bit;;
   6577   *-n32|*"-n32 ") libmagic=N32;;
   6578   *-64|*"-64 ") libmagic=64-bit;;
   6579   *) libmagic=never-match;;
   6580   esac
   6581   lt_cv_deplibs_check_method=pass_all
   6582   ;;
   6583 
   6584 # This must be glibc/ELF.
   6585 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6586   lt_cv_deplibs_check_method=pass_all
   6587   ;;
   6588 
   6589 netbsd*)
   6590   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6591     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6592   else
   6593     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6594   fi
   6595   ;;
   6596 
   6597 newos6*)
   6598   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6599   lt_cv_file_magic_cmd=$FILECMD
   6600   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6601   ;;
   6602 
   6603 *nto* | *qnx*)
   6604   lt_cv_deplibs_check_method=pass_all
   6605   ;;
   6606 
   6607 openbsd* | bitrig*)
   6608   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6609     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6610   else
   6611     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6612   fi
   6613   ;;
   6614 
   6615 osf3* | osf4* | osf5*)
   6616   lt_cv_deplibs_check_method=pass_all
   6617   ;;
   6618 
   6619 rdos*)
   6620   lt_cv_deplibs_check_method=pass_all
   6621   ;;
   6622 
   6623 solaris*)
   6624   lt_cv_deplibs_check_method=pass_all
   6625   ;;
   6626 
   6627 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6628   lt_cv_deplibs_check_method=pass_all
   6629   ;;
   6630 
   6631 sysv4 | sysv4.3*)
   6632   case $host_vendor in
   6633   motorola)
   6634     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]'
   6635     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6636     ;;
   6637   ncr)
   6638     lt_cv_deplibs_check_method=pass_all
   6639     ;;
   6640   sequent)
   6641     lt_cv_file_magic_cmd='/bin/file'
   6642     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6643     ;;
   6644   sni)
   6645     lt_cv_file_magic_cmd='/bin/file'
   6646     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6647     lt_cv_file_magic_test_file=/lib/libc.so
   6648     ;;
   6649   siemens)
   6650     lt_cv_deplibs_check_method=pass_all
   6651     ;;
   6652   pc)
   6653     lt_cv_deplibs_check_method=pass_all
   6654     ;;
   6655   esac
   6656   ;;
   6657 
   6658 tpf*)
   6659   lt_cv_deplibs_check_method=pass_all
   6660   ;;
   6661 os2*)
   6662   lt_cv_deplibs_check_method=pass_all
   6663   ;;
   6664 esac
   6665 
   6666 fi
   6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6668 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6669 
   6670 file_magic_glob=
   6671 want_nocaseglob=no
   6672 if test "$build" = "$host"; then
   6673   case $host_os in
   6674   mingw* | pw32*)
   6675     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6676       want_nocaseglob=yes
   6677     else
   6678       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6679     fi
   6680     ;;
   6681   esac
   6682 fi
   6683 
   6684 file_magic_cmd=$lt_cv_file_magic_cmd
   6685 deplibs_check_method=$lt_cv_deplibs_check_method
   6686 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 if test -n "$ac_tool_prefix"; then
   6710   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6711 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6713 printf %s "checking for $ac_word... " >&6; }
   6714 if test ${ac_cv_prog_DLLTOOL+y}
   6715 then :
   6716   printf %s "(cached) " >&6
   6717 else $as_nop
   6718   if test -n "$DLLTOOL"; then
   6719   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6720 else
   6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6722 for as_dir in $PATH
   6723 do
   6724   IFS=$as_save_IFS
   6725   case $as_dir in #(((
   6726     '') as_dir=./ ;;
   6727     */) ;;
   6728     *) as_dir=$as_dir/ ;;
   6729   esac
   6730     for ac_exec_ext in '' $ac_executable_extensions; do
   6731   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6732     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6733     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6734     break 2
   6735   fi
   6736 done
   6737   done
   6738 IFS=$as_save_IFS
   6739 
   6740 fi
   6741 fi
   6742 DLLTOOL=$ac_cv_prog_DLLTOOL
   6743 if test -n "$DLLTOOL"; then
   6744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6745 printf "%s\n" "$DLLTOOL" >&6; }
   6746 else
   6747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6748 printf "%s\n" "no" >&6; }
   6749 fi
   6750 
   6751 
   6752 fi
   6753 if test -z "$ac_cv_prog_DLLTOOL"; then
   6754   ac_ct_DLLTOOL=$DLLTOOL
   6755   # Extract the first word of "dlltool", so it can be a program name with args.
   6756 set dummy dlltool; ac_word=$2
   6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6758 printf %s "checking for $ac_word... " >&6; }
   6759 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else $as_nop
   6763   if test -n "$ac_ct_DLLTOOL"; then
   6764   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   case $as_dir in #(((
   6771     '') as_dir=./ ;;
   6772     */) ;;
   6773     *) as_dir=$as_dir/ ;;
   6774   esac
   6775     for ac_exec_ext in '' $ac_executable_extensions; do
   6776   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6777     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6779     break 2
   6780   fi
   6781 done
   6782   done
   6783 IFS=$as_save_IFS
   6784 
   6785 fi
   6786 fi
   6787 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6788 if test -n "$ac_ct_DLLTOOL"; then
   6789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6790 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6791 else
   6792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6793 printf "%s\n" "no" >&6; }
   6794 fi
   6795 
   6796   if test "x$ac_ct_DLLTOOL" = x; then
   6797     DLLTOOL="false"
   6798   else
   6799     case $cross_compiling:$ac_tool_warned in
   6800 yes:)
   6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6803 ac_tool_warned=yes ;;
   6804 esac
   6805     DLLTOOL=$ac_ct_DLLTOOL
   6806   fi
   6807 else
   6808   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6809 fi
   6810 
   6811 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6820 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6821 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6822 then :
   6823   printf %s "(cached) " >&6
   6824 else $as_nop
   6825   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6826 
   6827 case $host_os in
   6828 cygwin* | mingw* | pw32* | cegcc*)
   6829   # two different shell functions defined in ltmain.sh;
   6830   # decide which one to use based on capabilities of $DLLTOOL
   6831   case `$DLLTOOL --help 2>&1` in
   6832   *--identify-strict*)
   6833     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6834     ;;
   6835   *)
   6836     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6837     ;;
   6838   esac
   6839   ;;
   6840 *)
   6841   # fallback: assume linklib IS sharedlib
   6842   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6843   ;;
   6844 esac
   6845 
   6846 fi
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6848 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6849 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6850 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 if test -n "$ac_tool_prefix"; then
   6859   for ac_prog in ar
   6860   do
   6861     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6864 printf %s "checking for $ac_word... " >&6; }
   6865 if test ${ac_cv_prog_AR+y}
   6866 then :
   6867   printf %s "(cached) " >&6
   6868 else $as_nop
   6869   if test -n "$AR"; then
   6870   ac_cv_prog_AR="$AR" # Let the user override the test.
   6871 else
   6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6873 for as_dir in $PATH
   6874 do
   6875   IFS=$as_save_IFS
   6876   case $as_dir in #(((
   6877     '') as_dir=./ ;;
   6878     */) ;;
   6879     *) as_dir=$as_dir/ ;;
   6880   esac
   6881     for ac_exec_ext in '' $ac_executable_extensions; do
   6882   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6883     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6884     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6885     break 2
   6886   fi
   6887 done
   6888   done
   6889 IFS=$as_save_IFS
   6890 
   6891 fi
   6892 fi
   6893 AR=$ac_cv_prog_AR
   6894 if test -n "$AR"; then
   6895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6896 printf "%s\n" "$AR" >&6; }
   6897 else
   6898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6899 printf "%s\n" "no" >&6; }
   6900 fi
   6901 
   6902 
   6903     test -n "$AR" && break
   6904   done
   6905 fi
   6906 if test -z "$AR"; then
   6907   ac_ct_AR=$AR
   6908   for ac_prog in ar
   6909 do
   6910   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6911 set dummy $ac_prog; ac_word=$2
   6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6913 printf %s "checking for $ac_word... " >&6; }
   6914 if test ${ac_cv_prog_ac_ct_AR+y}
   6915 then :
   6916   printf %s "(cached) " >&6
   6917 else $as_nop
   6918   if test -n "$ac_ct_AR"; then
   6919   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6920 else
   6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6922 for as_dir in $PATH
   6923 do
   6924   IFS=$as_save_IFS
   6925   case $as_dir in #(((
   6926     '') as_dir=./ ;;
   6927     */) ;;
   6928     *) as_dir=$as_dir/ ;;
   6929   esac
   6930     for ac_exec_ext in '' $ac_executable_extensions; do
   6931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6932     ac_cv_prog_ac_ct_AR="$ac_prog"
   6933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6934     break 2
   6935   fi
   6936 done
   6937   done
   6938 IFS=$as_save_IFS
   6939 
   6940 fi
   6941 fi
   6942 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6943 if test -n "$ac_ct_AR"; then
   6944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6945 printf "%s\n" "$ac_ct_AR" >&6; }
   6946 else
   6947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6948 printf "%s\n" "no" >&6; }
   6949 fi
   6950 
   6951 
   6952   test -n "$ac_ct_AR" && break
   6953 done
   6954 
   6955   if test "x$ac_ct_AR" = x; then
   6956     AR="false"
   6957   else
   6958     case $cross_compiling:$ac_tool_warned in
   6959 yes:)
   6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6961 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6962 ac_tool_warned=yes ;;
   6963 esac
   6964     AR=$ac_ct_AR
   6965   fi
   6966 fi
   6967 
   6968 : ${AR=ar}
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6976 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6977 # higher priority because thats what people were doing historically (setting
   6978 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6979 # variable obsoleted/removed.
   6980 
   6981 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6982 lt_ar_flags=$AR_FLAGS
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6990 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6998 printf %s "checking for archiver @FILE support... " >&6; }
   6999 if test ${lt_cv_ar_at_file+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else $as_nop
   7003   lt_cv_ar_at_file=no
   7004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 
   7007 int
   7008 main (void)
   7009 {
   7010 
   7011   ;
   7012   return 0;
   7013 }
   7014 _ACEOF
   7015 if ac_fn_c_try_compile "$LINENO"
   7016 then :
   7017   echo conftest.$ac_objext > conftest.lst
   7018       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7019       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7020   (eval $lt_ar_try) 2>&5
   7021   ac_status=$?
   7022   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7023   test $ac_status = 0; }
   7024       if test 0 -eq "$ac_status"; then
   7025 	# Ensure the archiver fails upon bogus file names.
   7026 	rm -f conftest.$ac_objext libconftest.a
   7027 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7028   (eval $lt_ar_try) 2>&5
   7029   ac_status=$?
   7030   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7031   test $ac_status = 0; }
   7032 	if test 0 -ne "$ac_status"; then
   7033           lt_cv_ar_at_file=@
   7034         fi
   7035       fi
   7036       rm -f conftest.* libconftest.a
   7037 
   7038 fi
   7039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7040 
   7041 fi
   7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7043 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7044 
   7045 if test no = "$lt_cv_ar_at_file"; then
   7046   archiver_list_spec=
   7047 else
   7048   archiver_list_spec=$lt_cv_ar_at_file
   7049 fi
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 if test -n "$ac_tool_prefix"; then
   7058   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7059 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7061 printf %s "checking for $ac_word... " >&6; }
   7062 if test ${ac_cv_prog_STRIP+y}
   7063 then :
   7064   printf %s "(cached) " >&6
   7065 else $as_nop
   7066   if test -n "$STRIP"; then
   7067   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7068 else
   7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7070 for as_dir in $PATH
   7071 do
   7072   IFS=$as_save_IFS
   7073   case $as_dir in #(((
   7074     '') as_dir=./ ;;
   7075     */) ;;
   7076     *) as_dir=$as_dir/ ;;
   7077   esac
   7078     for ac_exec_ext in '' $ac_executable_extensions; do
   7079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7080     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7082     break 2
   7083   fi
   7084 done
   7085   done
   7086 IFS=$as_save_IFS
   7087 
   7088 fi
   7089 fi
   7090 STRIP=$ac_cv_prog_STRIP
   7091 if test -n "$STRIP"; then
   7092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7093 printf "%s\n" "$STRIP" >&6; }
   7094 else
   7095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7096 printf "%s\n" "no" >&6; }
   7097 fi
   7098 
   7099 
   7100 fi
   7101 if test -z "$ac_cv_prog_STRIP"; then
   7102   ac_ct_STRIP=$STRIP
   7103   # Extract the first word of "strip", so it can be a program name with args.
   7104 set dummy strip; ac_word=$2
   7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7106 printf %s "checking for $ac_word... " >&6; }
   7107 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7108 then :
   7109   printf %s "(cached) " >&6
   7110 else $as_nop
   7111   if test -n "$ac_ct_STRIP"; then
   7112   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7113 else
   7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7115 for as_dir in $PATH
   7116 do
   7117   IFS=$as_save_IFS
   7118   case $as_dir in #(((
   7119     '') as_dir=./ ;;
   7120     */) ;;
   7121     *) as_dir=$as_dir/ ;;
   7122   esac
   7123     for ac_exec_ext in '' $ac_executable_extensions; do
   7124   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7125     ac_cv_prog_ac_ct_STRIP="strip"
   7126     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7127     break 2
   7128   fi
   7129 done
   7130   done
   7131 IFS=$as_save_IFS
   7132 
   7133 fi
   7134 fi
   7135 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7136 if test -n "$ac_ct_STRIP"; then
   7137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7138 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7139 else
   7140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7141 printf "%s\n" "no" >&6; }
   7142 fi
   7143 
   7144   if test "x$ac_ct_STRIP" = x; then
   7145     STRIP=":"
   7146   else
   7147     case $cross_compiling:$ac_tool_warned in
   7148 yes:)
   7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7150 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7151 ac_tool_warned=yes ;;
   7152 esac
   7153     STRIP=$ac_ct_STRIP
   7154   fi
   7155 else
   7156   STRIP="$ac_cv_prog_STRIP"
   7157 fi
   7158 
   7159 test -z "$STRIP" && STRIP=:
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 if test -n "$ac_tool_prefix"; then
   7167   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7168 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7170 printf %s "checking for $ac_word... " >&6; }
   7171 if test ${ac_cv_prog_RANLIB+y}
   7172 then :
   7173   printf %s "(cached) " >&6
   7174 else $as_nop
   7175   if test -n "$RANLIB"; then
   7176   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7177 else
   7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7179 for as_dir in $PATH
   7180 do
   7181   IFS=$as_save_IFS
   7182   case $as_dir in #(((
   7183     '') as_dir=./ ;;
   7184     */) ;;
   7185     *) as_dir=$as_dir/ ;;
   7186   esac
   7187     for ac_exec_ext in '' $ac_executable_extensions; do
   7188   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7189     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7190     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7191     break 2
   7192   fi
   7193 done
   7194   done
   7195 IFS=$as_save_IFS
   7196 
   7197 fi
   7198 fi
   7199 RANLIB=$ac_cv_prog_RANLIB
   7200 if test -n "$RANLIB"; then
   7201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7202 printf "%s\n" "$RANLIB" >&6; }
   7203 else
   7204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7205 printf "%s\n" "no" >&6; }
   7206 fi
   7207 
   7208 
   7209 fi
   7210 if test -z "$ac_cv_prog_RANLIB"; then
   7211   ac_ct_RANLIB=$RANLIB
   7212   # Extract the first word of "ranlib", so it can be a program name with args.
   7213 set dummy ranlib; ac_word=$2
   7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7215 printf %s "checking for $ac_word... " >&6; }
   7216 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7217 then :
   7218   printf %s "(cached) " >&6
   7219 else $as_nop
   7220   if test -n "$ac_ct_RANLIB"; then
   7221   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7222 else
   7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7224 for as_dir in $PATH
   7225 do
   7226   IFS=$as_save_IFS
   7227   case $as_dir in #(((
   7228     '') as_dir=./ ;;
   7229     */) ;;
   7230     *) as_dir=$as_dir/ ;;
   7231   esac
   7232     for ac_exec_ext in '' $ac_executable_extensions; do
   7233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7234     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7236     break 2
   7237   fi
   7238 done
   7239   done
   7240 IFS=$as_save_IFS
   7241 
   7242 fi
   7243 fi
   7244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7245 if test -n "$ac_ct_RANLIB"; then
   7246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7247 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7248 else
   7249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7250 printf "%s\n" "no" >&6; }
   7251 fi
   7252 
   7253   if test "x$ac_ct_RANLIB" = x; then
   7254     RANLIB=":"
   7255   else
   7256     case $cross_compiling:$ac_tool_warned in
   7257 yes:)
   7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7260 ac_tool_warned=yes ;;
   7261 esac
   7262     RANLIB=$ac_ct_RANLIB
   7263   fi
   7264 else
   7265   RANLIB="$ac_cv_prog_RANLIB"
   7266 fi
   7267 
   7268 test -z "$RANLIB" && RANLIB=:
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 # Determine commands to create old-style static archives.
   7276 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7277 old_postinstall_cmds='chmod 644 $oldlib'
   7278 old_postuninstall_cmds=
   7279 
   7280 if test -n "$RANLIB"; then
   7281   case $host_os in
   7282   bitrig* | openbsd*)
   7283     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7284     ;;
   7285   *)
   7286     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7287     ;;
   7288   esac
   7289   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7290 fi
   7291 
   7292 case $host_os in
   7293   darwin*)
   7294     lock_old_archive_extraction=yes ;;
   7295   *)
   7296     lock_old_archive_extraction=no ;;
   7297 esac
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 # If no C compiler was specified, use CC.
   7338 LTCC=${LTCC-"$CC"}
   7339 
   7340 # If no C compiler flags were specified, use CFLAGS.
   7341 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7342 
   7343 # Allow CC to be a program name with arguments.
   7344 compiler=$CC
   7345 
   7346 
   7347 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7349 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7350 if test ${lt_cv_sys_global_symbol_pipe+y}
   7351 then :
   7352   printf %s "(cached) " >&6
   7353 else $as_nop
   7354 
   7355 # These are sane defaults that work on at least a few old systems.
   7356 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7357 
   7358 # Character class describing NM global symbol codes.
   7359 symcode='[BCDEGRST]'
   7360 
   7361 # Regexp to match symbols that can be accessed directly from C.
   7362 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7363 
   7364 # Define system-specific variables.
   7365 case $host_os in
   7366 aix*)
   7367   symcode='[BCDT]'
   7368   ;;
   7369 cygwin* | mingw* | pw32* | cegcc*)
   7370   symcode='[ABCDGISTW]'
   7371   ;;
   7372 hpux*)
   7373   if test ia64 = "$host_cpu"; then
   7374     symcode='[ABCDEGRST]'
   7375   fi
   7376   ;;
   7377 irix* | nonstopux*)
   7378   symcode='[BCDEGRST]'
   7379   ;;
   7380 osf*)
   7381   symcode='[BCDEGQRST]'
   7382   ;;
   7383 solaris*)
   7384   symcode='[BDRT]'
   7385   ;;
   7386 sco3.2v5*)
   7387   symcode='[DT]'
   7388   ;;
   7389 sysv4.2uw2*)
   7390   symcode='[DT]'
   7391   ;;
   7392 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7393   symcode='[ABDT]'
   7394   ;;
   7395 sysv4)
   7396   symcode='[DFNSTU]'
   7397   ;;
   7398 esac
   7399 
   7400 # If we're using GNU nm, then use its standard symbol codes.
   7401 case `$NM -V 2>&1` in
   7402 *GNU* | *'with BFD'*)
   7403   symcode='[ABCDGIRSTW]' ;;
   7404 esac
   7405 
   7406 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7407   # Gets list of data symbols to import.
   7408   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7409   # Adjust the below global symbol transforms to fixup imported variables.
   7410   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7411   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7412   lt_c_name_lib_hook="\
   7413   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7414   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7415 else
   7416   # Disable hooks by default.
   7417   lt_cv_sys_global_symbol_to_import=
   7418   lt_cdecl_hook=
   7419   lt_c_name_hook=
   7420   lt_c_name_lib_hook=
   7421 fi
   7422 
   7423 # Transform an extracted symbol line into a proper C declaration.
   7424 # Some systems (esp. on ia64) link data and code symbols differently,
   7425 # so use this general approach.
   7426 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7427 $lt_cdecl_hook\
   7428 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7429 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7430 
   7431 # Transform an extracted symbol line into symbol name and symbol address
   7432 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7433 $lt_c_name_hook\
   7434 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7435 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7436 
   7437 # Transform an extracted symbol line into symbol name with lib prefix and
   7438 # symbol address.
   7439 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7440 $lt_c_name_lib_hook\
   7441 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7442 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7443 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7444 
   7445 # Handle CRLF in mingw tool chain
   7446 opt_cr=
   7447 case $build_os in
   7448 mingw*)
   7449   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7450   ;;
   7451 esac
   7452 
   7453 # Try without a prefix underscore, then with it.
   7454 for ac_symprfx in "" "_"; do
   7455 
   7456   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7457   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7458 
   7459   # Write the raw and C identifiers.
   7460   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7461     # Fake it for dumpbin and say T for any non-static function,
   7462     # D for any global variable and I for any imported variable.
   7463     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7464     # which start with @ or ?.
   7465     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7466 "     {last_section=section; section=\$ 3};"\
   7467 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7468 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7469 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7470 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7471 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7472 "     \$ 0!~/External *\|/{next};"\
   7473 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7474 "     {if(hide[section]) next};"\
   7475 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7476 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7477 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7478 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7479 "     ' prfx=^$ac_symprfx"
   7480   else
   7481     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7482   fi
   7483   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7484 
   7485   # Check to see that the pipe works correctly.
   7486   pipe_works=no
   7487 
   7488   rm -f conftest*
   7489   cat > conftest.$ac_ext <<_LT_EOF
   7490 #ifdef __cplusplus
   7491 extern "C" {
   7492 #endif
   7493 char nm_test_var;
   7494 void nm_test_func(void);
   7495 void nm_test_func(void){}
   7496 #ifdef __cplusplus
   7497 }
   7498 #endif
   7499 int main(){nm_test_var='a';nm_test_func();return(0);}
   7500 _LT_EOF
   7501 
   7502   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7503   (eval $ac_compile) 2>&5
   7504   ac_status=$?
   7505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7506   test $ac_status = 0; }; then
   7507     # Now try to grab the symbols.
   7508     nlist=conftest.nm
   7509     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7510   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7511   ac_status=$?
   7512   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7513   test $ac_status = 0; } && test -s "$nlist"; then
   7514       # Try sorting and uniquifying the output.
   7515       if sort "$nlist" | uniq > "$nlist"T; then
   7516 	mv -f "$nlist"T "$nlist"
   7517       else
   7518 	rm -f "$nlist"T
   7519       fi
   7520 
   7521       # Make sure that we snagged all the symbols we need.
   7522       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7523 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7524 	  cat <<_LT_EOF > conftest.$ac_ext
   7525 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7526 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7527 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7528    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7529 # define LT_DLSYM_CONST
   7530 #elif defined __osf__
   7531 /* This system does not cope well with relocations in const data.  */
   7532 # define LT_DLSYM_CONST
   7533 #else
   7534 # define LT_DLSYM_CONST const
   7535 #endif
   7536 
   7537 #ifdef __cplusplus
   7538 extern "C" {
   7539 #endif
   7540 
   7541 _LT_EOF
   7542 	  # Now generate the symbol file.
   7543 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7544 
   7545 	  cat <<_LT_EOF >> conftest.$ac_ext
   7546 
   7547 /* The mapping between symbol names and symbols.  */
   7548 LT_DLSYM_CONST struct {
   7549   const char *name;
   7550   void       *address;
   7551 }
   7552 lt__PROGRAM__LTX_preloaded_symbols[] =
   7553 {
   7554   { "@PROGRAM@", (void *) 0 },
   7555 _LT_EOF
   7556 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7557 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7558   {0, (void *) 0}
   7559 };
   7560 
   7561 /* This works around a problem in FreeBSD linker */
   7562 #ifdef FREEBSD_WORKAROUND
   7563 static const void *lt_preloaded_setup() {
   7564   return lt__PROGRAM__LTX_preloaded_symbols;
   7565 }
   7566 #endif
   7567 
   7568 #ifdef __cplusplus
   7569 }
   7570 #endif
   7571 _LT_EOF
   7572 	  # Now try linking the two files.
   7573 	  mv conftest.$ac_objext conftstm.$ac_objext
   7574 	  lt_globsym_save_LIBS=$LIBS
   7575 	  lt_globsym_save_CFLAGS=$CFLAGS
   7576 	  LIBS=conftstm.$ac_objext
   7577 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7578 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7579   (eval $ac_link) 2>&5
   7580   ac_status=$?
   7581   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7582   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7583 	    pipe_works=yes
   7584 	  fi
   7585 	  LIBS=$lt_globsym_save_LIBS
   7586 	  CFLAGS=$lt_globsym_save_CFLAGS
   7587 	else
   7588 	  echo "cannot find nm_test_func in $nlist" >&5
   7589 	fi
   7590       else
   7591 	echo "cannot find nm_test_var in $nlist" >&5
   7592       fi
   7593     else
   7594       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7595     fi
   7596   else
   7597     echo "$progname: failed program was:" >&5
   7598     cat conftest.$ac_ext >&5
   7599   fi
   7600   rm -rf conftest* conftst*
   7601 
   7602   # Do not use the global_symbol_pipe unless it works.
   7603   if test yes = "$pipe_works"; then
   7604     break
   7605   else
   7606     lt_cv_sys_global_symbol_pipe=
   7607   fi
   7608 done
   7609 
   7610 fi
   7611 
   7612 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7613   lt_cv_sys_global_symbol_to_cdecl=
   7614 fi
   7615 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7617 printf "%s\n" "failed" >&6; }
   7618 else
   7619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7620 printf "%s\n" "ok" >&6; }
   7621 fi
   7622 
   7623 # Response file support.
   7624 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7625   nm_file_list_spec='@'
   7626 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7627   nm_file_list_spec='@'
   7628 fi
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7667 printf %s "checking for sysroot... " >&6; }
   7668 
   7669 # Check whether --with-sysroot was given.
   7670 if test ${with_sysroot+y}
   7671 then :
   7672   withval=$with_sysroot;
   7673 else $as_nop
   7674   with_sysroot=no
   7675 fi
   7676 
   7677 
   7678 lt_sysroot=
   7679 case $with_sysroot in #(
   7680  yes)
   7681    if test yes = "$GCC"; then
   7682      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7683    fi
   7684    ;; #(
   7685  /*)
   7686    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7687    ;; #(
   7688  no|'')
   7689    ;; #(
   7690  *)
   7691    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7692 printf "%s\n" "$with_sysroot" >&6; }
   7693    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7694    ;;
   7695 esac
   7696 
   7697  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7698 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7705 printf %s "checking for a working dd... " >&6; }
   7706 if test ${ac_cv_path_lt_DD+y}
   7707 then :
   7708   printf %s "(cached) " >&6
   7709 else $as_nop
   7710   printf 0123456789abcdef0123456789abcdef >conftest.i
   7711 cat conftest.i conftest.i >conftest2.i
   7712 : ${lt_DD:=$DD}
   7713 if test -z "$lt_DD"; then
   7714   ac_path_lt_DD_found=false
   7715   # Loop through the user's path and test for each of PROGNAME-LIST
   7716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7717 for as_dir in $PATH
   7718 do
   7719   IFS=$as_save_IFS
   7720   case $as_dir in #(((
   7721     '') as_dir=./ ;;
   7722     */) ;;
   7723     *) as_dir=$as_dir/ ;;
   7724   esac
   7725     for ac_prog in dd
   7726    do
   7727     for ac_exec_ext in '' $ac_executable_extensions; do
   7728       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7729       as_fn_executable_p "$ac_path_lt_DD" || continue
   7730 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7731   cmp -s conftest.i conftest.out \
   7732   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7733 fi
   7734       $ac_path_lt_DD_found && break 3
   7735     done
   7736   done
   7737   done
   7738 IFS=$as_save_IFS
   7739   if test -z "$ac_cv_path_lt_DD"; then
   7740     :
   7741   fi
   7742 else
   7743   ac_cv_path_lt_DD=$lt_DD
   7744 fi
   7745 
   7746 rm -f conftest.i conftest2.i conftest.out
   7747 fi
   7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7749 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7750 
   7751 
   7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7753 printf %s "checking how to truncate binary pipes... " >&6; }
   7754 if test ${lt_cv_truncate_bin+y}
   7755 then :
   7756   printf %s "(cached) " >&6
   7757 else $as_nop
   7758   printf 0123456789abcdef0123456789abcdef >conftest.i
   7759 cat conftest.i conftest.i >conftest2.i
   7760 lt_cv_truncate_bin=
   7761 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7762   cmp -s conftest.i conftest.out \
   7763   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7764 fi
   7765 rm -f conftest.i conftest2.i conftest.out
   7766 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7767 fi
   7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7769 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7778 func_cc_basename ()
   7779 {
   7780     for cc_temp in $*""; do
   7781       case $cc_temp in
   7782         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7783         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7784         \-*) ;;
   7785         *) break;;
   7786       esac
   7787     done
   7788     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7789 }
   7790 
   7791 # Check whether --enable-libtool-lock was given.
   7792 if test ${enable_libtool_lock+y}
   7793 then :
   7794   enableval=$enable_libtool_lock;
   7795 fi
   7796 
   7797 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7798 
   7799 # Some flags need to be propagated to the compiler or linker for good
   7800 # libtool support.
   7801 case $host in
   7802 ia64-*-hpux*)
   7803   # Find out what ABI is being produced by ac_compile, and set mode
   7804   # options accordingly.
   7805   echo 'int i;' > conftest.$ac_ext
   7806   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7807   (eval $ac_compile) 2>&5
   7808   ac_status=$?
   7809   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7810   test $ac_status = 0; }; then
   7811     case `$FILECMD conftest.$ac_objext` in
   7812       *ELF-32*)
   7813 	HPUX_IA64_MODE=32
   7814 	;;
   7815       *ELF-64*)
   7816 	HPUX_IA64_MODE=64
   7817 	;;
   7818     esac
   7819   fi
   7820   rm -rf conftest*
   7821   ;;
   7822 *-*-irix6*)
   7823   # Find out what ABI is being produced by ac_compile, and set linker
   7824   # options accordingly.
   7825   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7826   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7827   (eval $ac_compile) 2>&5
   7828   ac_status=$?
   7829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7830   test $ac_status = 0; }; then
   7831     if test yes = "$lt_cv_prog_gnu_ld"; then
   7832       case `$FILECMD conftest.$ac_objext` in
   7833 	*32-bit*)
   7834 	  LD="${LD-ld} -melf32bsmip"
   7835 	  ;;
   7836 	*N32*)
   7837 	  LD="${LD-ld} -melf32bmipn32"
   7838 	  ;;
   7839 	*64-bit*)
   7840 	  LD="${LD-ld} -melf64bmip"
   7841 	;;
   7842       esac
   7843     else
   7844       case `$FILECMD conftest.$ac_objext` in
   7845 	*32-bit*)
   7846 	  LD="${LD-ld} -32"
   7847 	  ;;
   7848 	*N32*)
   7849 	  LD="${LD-ld} -n32"
   7850 	  ;;
   7851 	*64-bit*)
   7852 	  LD="${LD-ld} -64"
   7853 	  ;;
   7854       esac
   7855     fi
   7856   fi
   7857   rm -rf conftest*
   7858   ;;
   7859 
   7860 mips64*-*linux*)
   7861   # Find out what ABI is being produced by ac_compile, and set linker
   7862   # options accordingly.
   7863   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7864   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7865   (eval $ac_compile) 2>&5
   7866   ac_status=$?
   7867   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7868   test $ac_status = 0; }; then
   7869     emul=elf
   7870     case `$FILECMD conftest.$ac_objext` in
   7871       *32-bit*)
   7872 	emul="${emul}32"
   7873 	;;
   7874       *64-bit*)
   7875 	emul="${emul}64"
   7876 	;;
   7877     esac
   7878     case `$FILECMD conftest.$ac_objext` in
   7879       *MSB*)
   7880 	emul="${emul}btsmip"
   7881 	;;
   7882       *LSB*)
   7883 	emul="${emul}ltsmip"
   7884 	;;
   7885     esac
   7886     case `$FILECMD conftest.$ac_objext` in
   7887       *N32*)
   7888 	emul="${emul}n32"
   7889 	;;
   7890     esac
   7891     LD="${LD-ld} -m $emul"
   7892   fi
   7893   rm -rf conftest*
   7894   ;;
   7895 
   7896 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7897 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7898   # Find out what ABI is being produced by ac_compile, and set linker
   7899   # options accordingly.  Note that the listed cases only cover the
   7900   # situations where additional linker options are needed (such as when
   7901   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7902   # vice versa); the common cases where no linker options are needed do
   7903   # not appear in the list.
   7904   echo 'int i;' > conftest.$ac_ext
   7905   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7906   (eval $ac_compile) 2>&5
   7907   ac_status=$?
   7908   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7909   test $ac_status = 0; }; then
   7910     case `$FILECMD conftest.o` in
   7911       *32-bit*)
   7912 	case $host in
   7913 	  x86_64-*kfreebsd*-gnu)
   7914 	    LD="${LD-ld} -m elf_i386_fbsd"
   7915 	    ;;
   7916 	  x86_64-*linux*)
   7917 	    case `$FILECMD conftest.o` in
   7918 	      *x86-64*)
   7919 		LD="${LD-ld} -m elf32_x86_64"
   7920 		;;
   7921 	      *)
   7922 		LD="${LD-ld} -m elf_i386"
   7923 		;;
   7924 	    esac
   7925 	    ;;
   7926 	  powerpc64le-*linux*)
   7927 	    LD="${LD-ld} -m elf32lppclinux"
   7928 	    ;;
   7929 	  powerpc64-*linux*)
   7930 	    LD="${LD-ld} -m elf32ppclinux"
   7931 	    ;;
   7932 	  s390x-*linux*)
   7933 	    LD="${LD-ld} -m elf_s390"
   7934 	    ;;
   7935 	  sparc64-*linux*)
   7936 	    LD="${LD-ld} -m elf32_sparc"
   7937 	    ;;
   7938 	esac
   7939 	;;
   7940       *64-bit*)
   7941 	case $host in
   7942 	  x86_64-*kfreebsd*-gnu)
   7943 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7944 	    ;;
   7945 	  x86_64-*linux*)
   7946 	    LD="${LD-ld} -m elf_x86_64"
   7947 	    ;;
   7948 	  powerpcle-*linux*)
   7949 	    LD="${LD-ld} -m elf64lppc"
   7950 	    ;;
   7951 	  powerpc-*linux*)
   7952 	    LD="${LD-ld} -m elf64ppc"
   7953 	    ;;
   7954 	  s390*-*linux*|s390*-*tpf*)
   7955 	    LD="${LD-ld} -m elf64_s390"
   7956 	    ;;
   7957 	  sparc*-*linux*)
   7958 	    LD="${LD-ld} -m elf64_sparc"
   7959 	    ;;
   7960 	esac
   7961 	;;
   7962     esac
   7963   fi
   7964   rm -rf conftest*
   7965   ;;
   7966 
   7967 *-*-sco3.2v5*)
   7968   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7969   SAVE_CFLAGS=$CFLAGS
   7970   CFLAGS="$CFLAGS -belf"
   7971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7972 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7973 if test ${lt_cv_cc_needs_belf+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else $as_nop
   7977   ac_ext=c
   7978 ac_cpp='$CPP $CPPFLAGS'
   7979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7982 
   7983      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 
   7986 int
   7987 main (void)
   7988 {
   7989 
   7990   ;
   7991   return 0;
   7992 }
   7993 _ACEOF
   7994 if ac_fn_c_try_link "$LINENO"
   7995 then :
   7996   lt_cv_cc_needs_belf=yes
   7997 else $as_nop
   7998   lt_cv_cc_needs_belf=no
   7999 fi
   8000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8001     conftest$ac_exeext conftest.$ac_ext
   8002      ac_ext=c
   8003 ac_cpp='$CPP $CPPFLAGS'
   8004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8007 
   8008 fi
   8009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8010 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8011   if test yes != "$lt_cv_cc_needs_belf"; then
   8012     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8013     CFLAGS=$SAVE_CFLAGS
   8014   fi
   8015   ;;
   8016 *-*solaris*)
   8017   # Find out what ABI is being produced by ac_compile, and set linker
   8018   # options accordingly.
   8019   echo 'int i;' > conftest.$ac_ext
   8020   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8021   (eval $ac_compile) 2>&5
   8022   ac_status=$?
   8023   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8024   test $ac_status = 0; }; then
   8025     case `$FILECMD conftest.o` in
   8026     *64-bit*)
   8027       case $lt_cv_prog_gnu_ld in
   8028       yes*)
   8029         case $host in
   8030         i?86-*-solaris*|x86_64-*-solaris*)
   8031           LD="${LD-ld} -m elf_x86_64"
   8032           ;;
   8033         sparc*-*-solaris*)
   8034           LD="${LD-ld} -m elf64_sparc"
   8035           ;;
   8036         esac
   8037         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8038         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8039           LD=${LD-ld}_sol2
   8040         fi
   8041         ;;
   8042       *)
   8043 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8044 	  LD="${LD-ld} -64"
   8045 	fi
   8046 	;;
   8047       esac
   8048       ;;
   8049     esac
   8050   fi
   8051   rm -rf conftest*
   8052   ;;
   8053 esac
   8054 
   8055 need_locks=$enable_libtool_lock
   8056 
   8057 if test -n "$ac_tool_prefix"; then
   8058   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8059 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8061 printf %s "checking for $ac_word... " >&6; }
   8062 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8063 then :
   8064   printf %s "(cached) " >&6
   8065 else $as_nop
   8066   if test -n "$MANIFEST_TOOL"; then
   8067   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8068 else
   8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8070 for as_dir in $PATH
   8071 do
   8072   IFS=$as_save_IFS
   8073   case $as_dir in #(((
   8074     '') as_dir=./ ;;
   8075     */) ;;
   8076     *) as_dir=$as_dir/ ;;
   8077   esac
   8078     for ac_exec_ext in '' $ac_executable_extensions; do
   8079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8080     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8082     break 2
   8083   fi
   8084 done
   8085   done
   8086 IFS=$as_save_IFS
   8087 
   8088 fi
   8089 fi
   8090 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8091 if test -n "$MANIFEST_TOOL"; then
   8092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8093 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8094 else
   8095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8096 printf "%s\n" "no" >&6; }
   8097 fi
   8098 
   8099 
   8100 fi
   8101 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8102   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8103   # Extract the first word of "mt", so it can be a program name with args.
   8104 set dummy mt; ac_word=$2
   8105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8106 printf %s "checking for $ac_word... " >&6; }
   8107 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8108 then :
   8109   printf %s "(cached) " >&6
   8110 else $as_nop
   8111   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8112   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8113 else
   8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8115 for as_dir in $PATH
   8116 do
   8117   IFS=$as_save_IFS
   8118   case $as_dir in #(((
   8119     '') as_dir=./ ;;
   8120     */) ;;
   8121     *) as_dir=$as_dir/ ;;
   8122   esac
   8123     for ac_exec_ext in '' $ac_executable_extensions; do
   8124   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8125     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8126     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8127     break 2
   8128   fi
   8129 done
   8130   done
   8131 IFS=$as_save_IFS
   8132 
   8133 fi
   8134 fi
   8135 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8136 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8138 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8139 else
   8140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8141 printf "%s\n" "no" >&6; }
   8142 fi
   8143 
   8144   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8145     MANIFEST_TOOL=":"
   8146   else
   8147     case $cross_compiling:$ac_tool_warned in
   8148 yes:)
   8149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8150 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8151 ac_tool_warned=yes ;;
   8152 esac
   8153     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8154   fi
   8155 else
   8156   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8157 fi
   8158 
   8159 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8161 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8162 if test ${lt_cv_path_mainfest_tool+y}
   8163 then :
   8164   printf %s "(cached) " >&6
   8165 else $as_nop
   8166   lt_cv_path_mainfest_tool=no
   8167   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8168   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8169   cat conftest.err >&5
   8170   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8171     lt_cv_path_mainfest_tool=yes
   8172   fi
   8173   rm -f conftest*
   8174 fi
   8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8176 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8177 if test yes != "$lt_cv_path_mainfest_tool"; then
   8178   MANIFEST_TOOL=:
   8179 fi
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186   case $host_os in
   8187     rhapsody* | darwin*)
   8188     if test -n "$ac_tool_prefix"; then
   8189   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8190 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8192 printf %s "checking for $ac_word... " >&6; }
   8193 if test ${ac_cv_prog_DSYMUTIL+y}
   8194 then :
   8195   printf %s "(cached) " >&6
   8196 else $as_nop
   8197   if test -n "$DSYMUTIL"; then
   8198   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8199 else
   8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8201 for as_dir in $PATH
   8202 do
   8203   IFS=$as_save_IFS
   8204   case $as_dir in #(((
   8205     '') as_dir=./ ;;
   8206     */) ;;
   8207     *) as_dir=$as_dir/ ;;
   8208   esac
   8209     for ac_exec_ext in '' $ac_executable_extensions; do
   8210   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8211     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8212     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8213     break 2
   8214   fi
   8215 done
   8216   done
   8217 IFS=$as_save_IFS
   8218 
   8219 fi
   8220 fi
   8221 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8222 if test -n "$DSYMUTIL"; then
   8223   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8224 printf "%s\n" "$DSYMUTIL" >&6; }
   8225 else
   8226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8227 printf "%s\n" "no" >&6; }
   8228 fi
   8229 
   8230 
   8231 fi
   8232 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8233   ac_ct_DSYMUTIL=$DSYMUTIL
   8234   # Extract the first word of "dsymutil", so it can be a program name with args.
   8235 set dummy dsymutil; ac_word=$2
   8236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8237 printf %s "checking for $ac_word... " >&6; }
   8238 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8239 then :
   8240   printf %s "(cached) " >&6
   8241 else $as_nop
   8242   if test -n "$ac_ct_DSYMUTIL"; then
   8243   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8244 else
   8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8246 for as_dir in $PATH
   8247 do
   8248   IFS=$as_save_IFS
   8249   case $as_dir in #(((
   8250     '') as_dir=./ ;;
   8251     */) ;;
   8252     *) as_dir=$as_dir/ ;;
   8253   esac
   8254     for ac_exec_ext in '' $ac_executable_extensions; do
   8255   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8256     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8257     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8258     break 2
   8259   fi
   8260 done
   8261   done
   8262 IFS=$as_save_IFS
   8263 
   8264 fi
   8265 fi
   8266 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8267 if test -n "$ac_ct_DSYMUTIL"; then
   8268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8269 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8270 else
   8271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8272 printf "%s\n" "no" >&6; }
   8273 fi
   8274 
   8275   if test "x$ac_ct_DSYMUTIL" = x; then
   8276     DSYMUTIL=":"
   8277   else
   8278     case $cross_compiling:$ac_tool_warned in
   8279 yes:)
   8280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8282 ac_tool_warned=yes ;;
   8283 esac
   8284     DSYMUTIL=$ac_ct_DSYMUTIL
   8285   fi
   8286 else
   8287   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8288 fi
   8289 
   8290     if test -n "$ac_tool_prefix"; then
   8291   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8292 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8294 printf %s "checking for $ac_word... " >&6; }
   8295 if test ${ac_cv_prog_NMEDIT+y}
   8296 then :
   8297   printf %s "(cached) " >&6
   8298 else $as_nop
   8299   if test -n "$NMEDIT"; then
   8300   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8301 else
   8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8303 for as_dir in $PATH
   8304 do
   8305   IFS=$as_save_IFS
   8306   case $as_dir in #(((
   8307     '') as_dir=./ ;;
   8308     */) ;;
   8309     *) as_dir=$as_dir/ ;;
   8310   esac
   8311     for ac_exec_ext in '' $ac_executable_extensions; do
   8312   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8313     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8314     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8315     break 2
   8316   fi
   8317 done
   8318   done
   8319 IFS=$as_save_IFS
   8320 
   8321 fi
   8322 fi
   8323 NMEDIT=$ac_cv_prog_NMEDIT
   8324 if test -n "$NMEDIT"; then
   8325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8326 printf "%s\n" "$NMEDIT" >&6; }
   8327 else
   8328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8329 printf "%s\n" "no" >&6; }
   8330 fi
   8331 
   8332 
   8333 fi
   8334 if test -z "$ac_cv_prog_NMEDIT"; then
   8335   ac_ct_NMEDIT=$NMEDIT
   8336   # Extract the first word of "nmedit", so it can be a program name with args.
   8337 set dummy nmedit; ac_word=$2
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8339 printf %s "checking for $ac_word... " >&6; }
   8340 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8341 then :
   8342   printf %s "(cached) " >&6
   8343 else $as_nop
   8344   if test -n "$ac_ct_NMEDIT"; then
   8345   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8346 else
   8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8348 for as_dir in $PATH
   8349 do
   8350   IFS=$as_save_IFS
   8351   case $as_dir in #(((
   8352     '') as_dir=./ ;;
   8353     */) ;;
   8354     *) as_dir=$as_dir/ ;;
   8355   esac
   8356     for ac_exec_ext in '' $ac_executable_extensions; do
   8357   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8358     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8359     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8360     break 2
   8361   fi
   8362 done
   8363   done
   8364 IFS=$as_save_IFS
   8365 
   8366 fi
   8367 fi
   8368 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8369 if test -n "$ac_ct_NMEDIT"; then
   8370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8371 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8372 else
   8373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8374 printf "%s\n" "no" >&6; }
   8375 fi
   8376 
   8377   if test "x$ac_ct_NMEDIT" = x; then
   8378     NMEDIT=":"
   8379   else
   8380     case $cross_compiling:$ac_tool_warned in
   8381 yes:)
   8382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8383 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8384 ac_tool_warned=yes ;;
   8385 esac
   8386     NMEDIT=$ac_ct_NMEDIT
   8387   fi
   8388 else
   8389   NMEDIT="$ac_cv_prog_NMEDIT"
   8390 fi
   8391 
   8392     if test -n "$ac_tool_prefix"; then
   8393   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8394 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8396 printf %s "checking for $ac_word... " >&6; }
   8397 if test ${ac_cv_prog_LIPO+y}
   8398 then :
   8399   printf %s "(cached) " >&6
   8400 else $as_nop
   8401   if test -n "$LIPO"; then
   8402   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8403 else
   8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8405 for as_dir in $PATH
   8406 do
   8407   IFS=$as_save_IFS
   8408   case $as_dir in #(((
   8409     '') as_dir=./ ;;
   8410     */) ;;
   8411     *) as_dir=$as_dir/ ;;
   8412   esac
   8413     for ac_exec_ext in '' $ac_executable_extensions; do
   8414   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8415     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8416     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8417     break 2
   8418   fi
   8419 done
   8420   done
   8421 IFS=$as_save_IFS
   8422 
   8423 fi
   8424 fi
   8425 LIPO=$ac_cv_prog_LIPO
   8426 if test -n "$LIPO"; then
   8427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8428 printf "%s\n" "$LIPO" >&6; }
   8429 else
   8430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8431 printf "%s\n" "no" >&6; }
   8432 fi
   8433 
   8434 
   8435 fi
   8436 if test -z "$ac_cv_prog_LIPO"; then
   8437   ac_ct_LIPO=$LIPO
   8438   # Extract the first word of "lipo", so it can be a program name with args.
   8439 set dummy lipo; ac_word=$2
   8440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8441 printf %s "checking for $ac_word... " >&6; }
   8442 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8443 then :
   8444   printf %s "(cached) " >&6
   8445 else $as_nop
   8446   if test -n "$ac_ct_LIPO"; then
   8447   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8448 else
   8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8450 for as_dir in $PATH
   8451 do
   8452   IFS=$as_save_IFS
   8453   case $as_dir in #(((
   8454     '') as_dir=./ ;;
   8455     */) ;;
   8456     *) as_dir=$as_dir/ ;;
   8457   esac
   8458     for ac_exec_ext in '' $ac_executable_extensions; do
   8459   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8460     ac_cv_prog_ac_ct_LIPO="lipo"
   8461     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8462     break 2
   8463   fi
   8464 done
   8465   done
   8466 IFS=$as_save_IFS
   8467 
   8468 fi
   8469 fi
   8470 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8471 if test -n "$ac_ct_LIPO"; then
   8472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8473 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8474 else
   8475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8476 printf "%s\n" "no" >&6; }
   8477 fi
   8478 
   8479   if test "x$ac_ct_LIPO" = x; then
   8480     LIPO=":"
   8481   else
   8482     case $cross_compiling:$ac_tool_warned in
   8483 yes:)
   8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8485 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8486 ac_tool_warned=yes ;;
   8487 esac
   8488     LIPO=$ac_ct_LIPO
   8489   fi
   8490 else
   8491   LIPO="$ac_cv_prog_LIPO"
   8492 fi
   8493 
   8494     if test -n "$ac_tool_prefix"; then
   8495   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8496 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8498 printf %s "checking for $ac_word... " >&6; }
   8499 if test ${ac_cv_prog_OTOOL+y}
   8500 then :
   8501   printf %s "(cached) " >&6
   8502 else $as_nop
   8503   if test -n "$OTOOL"; then
   8504   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8505 else
   8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8507 for as_dir in $PATH
   8508 do
   8509   IFS=$as_save_IFS
   8510   case $as_dir in #(((
   8511     '') as_dir=./ ;;
   8512     */) ;;
   8513     *) as_dir=$as_dir/ ;;
   8514   esac
   8515     for ac_exec_ext in '' $ac_executable_extensions; do
   8516   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8517     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8518     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8519     break 2
   8520   fi
   8521 done
   8522   done
   8523 IFS=$as_save_IFS
   8524 
   8525 fi
   8526 fi
   8527 OTOOL=$ac_cv_prog_OTOOL
   8528 if test -n "$OTOOL"; then
   8529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8530 printf "%s\n" "$OTOOL" >&6; }
   8531 else
   8532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8533 printf "%s\n" "no" >&6; }
   8534 fi
   8535 
   8536 
   8537 fi
   8538 if test -z "$ac_cv_prog_OTOOL"; then
   8539   ac_ct_OTOOL=$OTOOL
   8540   # Extract the first word of "otool", so it can be a program name with args.
   8541 set dummy otool; ac_word=$2
   8542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8543 printf %s "checking for $ac_word... " >&6; }
   8544 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8545 then :
   8546   printf %s "(cached) " >&6
   8547 else $as_nop
   8548   if test -n "$ac_ct_OTOOL"; then
   8549   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8550 else
   8551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8552 for as_dir in $PATH
   8553 do
   8554   IFS=$as_save_IFS
   8555   case $as_dir in #(((
   8556     '') as_dir=./ ;;
   8557     */) ;;
   8558     *) as_dir=$as_dir/ ;;
   8559   esac
   8560     for ac_exec_ext in '' $ac_executable_extensions; do
   8561   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8562     ac_cv_prog_ac_ct_OTOOL="otool"
   8563     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8564     break 2
   8565   fi
   8566 done
   8567   done
   8568 IFS=$as_save_IFS
   8569 
   8570 fi
   8571 fi
   8572 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8573 if test -n "$ac_ct_OTOOL"; then
   8574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8575 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8576 else
   8577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8578 printf "%s\n" "no" >&6; }
   8579 fi
   8580 
   8581   if test "x$ac_ct_OTOOL" = x; then
   8582     OTOOL=":"
   8583   else
   8584     case $cross_compiling:$ac_tool_warned in
   8585 yes:)
   8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8587 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8588 ac_tool_warned=yes ;;
   8589 esac
   8590     OTOOL=$ac_ct_OTOOL
   8591   fi
   8592 else
   8593   OTOOL="$ac_cv_prog_OTOOL"
   8594 fi
   8595 
   8596     if test -n "$ac_tool_prefix"; then
   8597   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8598 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8600 printf %s "checking for $ac_word... " >&6; }
   8601 if test ${ac_cv_prog_OTOOL64+y}
   8602 then :
   8603   printf %s "(cached) " >&6
   8604 else $as_nop
   8605   if test -n "$OTOOL64"; then
   8606   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8607 else
   8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8609 for as_dir in $PATH
   8610 do
   8611   IFS=$as_save_IFS
   8612   case $as_dir in #(((
   8613     '') as_dir=./ ;;
   8614     */) ;;
   8615     *) as_dir=$as_dir/ ;;
   8616   esac
   8617     for ac_exec_ext in '' $ac_executable_extensions; do
   8618   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8619     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8620     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8621     break 2
   8622   fi
   8623 done
   8624   done
   8625 IFS=$as_save_IFS
   8626 
   8627 fi
   8628 fi
   8629 OTOOL64=$ac_cv_prog_OTOOL64
   8630 if test -n "$OTOOL64"; then
   8631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8632 printf "%s\n" "$OTOOL64" >&6; }
   8633 else
   8634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8635 printf "%s\n" "no" >&6; }
   8636 fi
   8637 
   8638 
   8639 fi
   8640 if test -z "$ac_cv_prog_OTOOL64"; then
   8641   ac_ct_OTOOL64=$OTOOL64
   8642   # Extract the first word of "otool64", so it can be a program name with args.
   8643 set dummy otool64; ac_word=$2
   8644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8645 printf %s "checking for $ac_word... " >&6; }
   8646 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8647 then :
   8648   printf %s "(cached) " >&6
   8649 else $as_nop
   8650   if test -n "$ac_ct_OTOOL64"; then
   8651   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8652 else
   8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8654 for as_dir in $PATH
   8655 do
   8656   IFS=$as_save_IFS
   8657   case $as_dir in #(((
   8658     '') as_dir=./ ;;
   8659     */) ;;
   8660     *) as_dir=$as_dir/ ;;
   8661   esac
   8662     for ac_exec_ext in '' $ac_executable_extensions; do
   8663   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8664     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8665     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8666     break 2
   8667   fi
   8668 done
   8669   done
   8670 IFS=$as_save_IFS
   8671 
   8672 fi
   8673 fi
   8674 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8675 if test -n "$ac_ct_OTOOL64"; then
   8676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8677 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8678 else
   8679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8680 printf "%s\n" "no" >&6; }
   8681 fi
   8682 
   8683   if test "x$ac_ct_OTOOL64" = x; then
   8684     OTOOL64=":"
   8685   else
   8686     case $cross_compiling:$ac_tool_warned in
   8687 yes:)
   8688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8689 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8690 ac_tool_warned=yes ;;
   8691 esac
   8692     OTOOL64=$ac_ct_OTOOL64
   8693   fi
   8694 else
   8695   OTOOL64="$ac_cv_prog_OTOOL64"
   8696 fi
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8725 printf %s "checking for -single_module linker flag... " >&6; }
   8726 if test ${lt_cv_apple_cc_single_mod+y}
   8727 then :
   8728   printf %s "(cached) " >&6
   8729 else $as_nop
   8730   lt_cv_apple_cc_single_mod=no
   8731       if test -z "$LT_MULTI_MODULE"; then
   8732 	# By default we will add the -single_module flag. You can override
   8733 	# by either setting the environment variable LT_MULTI_MODULE
   8734 	# non-empty at configure time, or by adding -multi_module to the
   8735 	# link flags.
   8736 	rm -rf libconftest.dylib*
   8737 	echo "int foo(void){return 1;}" > conftest.c
   8738 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8739 -dynamiclib -Wl,-single_module conftest.c" >&5
   8740 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8741 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8742         _lt_result=$?
   8743 	# If there is a non-empty error log, and "single_module"
   8744 	# appears in it, assume the flag caused a linker warning
   8745         if test -s conftest.err && $GREP single_module conftest.err; then
   8746 	  cat conftest.err >&5
   8747 	# Otherwise, if the output was created with a 0 exit code from
   8748 	# the compiler, it worked.
   8749 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8750 	  lt_cv_apple_cc_single_mod=yes
   8751 	else
   8752 	  cat conftest.err >&5
   8753 	fi
   8754 	rm -rf libconftest.dylib*
   8755 	rm -f conftest.*
   8756       fi
   8757 fi
   8758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8759 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8760 
   8761     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8762 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8763 if test ${lt_cv_ld_exported_symbols_list+y}
   8764 then :
   8765   printf %s "(cached) " >&6
   8766 else $as_nop
   8767   lt_cv_ld_exported_symbols_list=no
   8768       save_LDFLAGS=$LDFLAGS
   8769       echo "_main" > conftest.sym
   8770       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8772 /* end confdefs.h.  */
   8773 
   8774 int
   8775 main (void)
   8776 {
   8777 
   8778   ;
   8779   return 0;
   8780 }
   8781 _ACEOF
   8782 if ac_fn_c_try_link "$LINENO"
   8783 then :
   8784   lt_cv_ld_exported_symbols_list=yes
   8785 else $as_nop
   8786   lt_cv_ld_exported_symbols_list=no
   8787 fi
   8788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8789     conftest$ac_exeext conftest.$ac_ext
   8790 	LDFLAGS=$save_LDFLAGS
   8791 
   8792 fi
   8793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8794 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8795 
   8796     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8797 printf %s "checking for -force_load linker flag... " >&6; }
   8798 if test ${lt_cv_ld_force_load+y}
   8799 then :
   8800   printf %s "(cached) " >&6
   8801 else $as_nop
   8802   lt_cv_ld_force_load=no
   8803       cat > conftest.c << _LT_EOF
   8804 int forced_loaded() { return 2;}
   8805 _LT_EOF
   8806       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8807       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8808       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8809       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8810       echo "$RANLIB libconftest.a" >&5
   8811       $RANLIB libconftest.a 2>&5
   8812       cat > conftest.c << _LT_EOF
   8813 int main() { return 0;}
   8814 _LT_EOF
   8815       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8816       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8817       _lt_result=$?
   8818       if test -s conftest.err && $GREP force_load conftest.err; then
   8819 	cat conftest.err >&5
   8820       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8821 	lt_cv_ld_force_load=yes
   8822       else
   8823 	cat conftest.err >&5
   8824       fi
   8825         rm -f conftest.err libconftest.a conftest conftest.c
   8826         rm -rf conftest.dSYM
   8827 
   8828 fi
   8829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8830 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8831     case $host_os in
   8832     rhapsody* | darwin1.[012])
   8833       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8834     darwin1.*)
   8835       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8836     darwin*)
   8837       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8838         10.[012],*|,*powerpc*-darwin[5-8]*)
   8839           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8840         *)
   8841           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8842       esac
   8843     ;;
   8844   esac
   8845     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8846       _lt_dar_single_mod='$single_module'
   8847     fi
   8848     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8849       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8850     else
   8851       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8852     fi
   8853     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8854       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8855     else
   8856       _lt_dsymutil=
   8857     fi
   8858     ;;
   8859   esac
   8860 
   8861 # func_munge_path_list VARIABLE PATH
   8862 # -----------------------------------
   8863 # VARIABLE is name of variable containing _space_ separated list of
   8864 # directories to be munged by the contents of PATH, which is string
   8865 # having a format:
   8866 # "DIR[:DIR]:"
   8867 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8868 # ":DIR[:DIR]"
   8869 #       string "DIR[ DIR]" will be appended to VARIABLE
   8870 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8871 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8872 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8873 # "DIR[:DIR]"
   8874 #       VARIABLE will be replaced by "DIR[ DIR]"
   8875 func_munge_path_list ()
   8876 {
   8877     case x$2 in
   8878     x)
   8879         ;;
   8880     *:)
   8881         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8882         ;;
   8883     x:*)
   8884         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8885         ;;
   8886     *::*)
   8887         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8888         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8889         ;;
   8890     *)
   8891         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8892         ;;
   8893     esac
   8894 }
   8895 
   8896 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8897 "
   8898 if test "x$ac_cv_header_dlfcn_h" = xyes
   8899 then :
   8900   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8901 
   8902 fi
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 # Set options
   8909 
   8910 
   8911 
   8912         enable_dlopen=no
   8913 
   8914 
   8915 
   8916             # Check whether --enable-shared was given.
   8917 if test ${enable_shared+y}
   8918 then :
   8919   enableval=$enable_shared; p=${PACKAGE-default}
   8920     case $enableval in
   8921     yes) enable_shared=yes ;;
   8922     no) enable_shared=no ;;
   8923     *)
   8924       enable_shared=no
   8925       # Look at the argument we got.  We use all the common list separators.
   8926       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8927       for pkg in $enableval; do
   8928 	IFS=$lt_save_ifs
   8929 	if test "X$pkg" = "X$p"; then
   8930 	  enable_shared=yes
   8931 	fi
   8932       done
   8933       IFS=$lt_save_ifs
   8934       ;;
   8935     esac
   8936 else $as_nop
   8937   enable_shared=yes
   8938 fi
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948   # Check whether --enable-static was given.
   8949 if test ${enable_static+y}
   8950 then :
   8951   enableval=$enable_static; p=${PACKAGE-default}
   8952     case $enableval in
   8953     yes) enable_static=yes ;;
   8954     no) enable_static=no ;;
   8955     *)
   8956      enable_static=no
   8957       # Look at the argument we got.  We use all the common list separators.
   8958       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8959       for pkg in $enableval; do
   8960 	IFS=$lt_save_ifs
   8961 	if test "X$pkg" = "X$p"; then
   8962 	  enable_static=yes
   8963 	fi
   8964       done
   8965       IFS=$lt_save_ifs
   8966       ;;
   8967     esac
   8968 else $as_nop
   8969   enable_static=yes
   8970 fi
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 # Check whether --with-pic was given.
   8982 if test ${with_pic+y}
   8983 then :
   8984   withval=$with_pic; lt_p=${PACKAGE-default}
   8985     case $withval in
   8986     yes|no) pic_mode=$withval ;;
   8987     *)
   8988       pic_mode=default
   8989       # Look at the argument we got.  We use all the common list separators.
   8990       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8991       for lt_pkg in $withval; do
   8992 	IFS=$lt_save_ifs
   8993 	if test "X$lt_pkg" = "X$lt_p"; then
   8994 	  pic_mode=yes
   8995 	fi
   8996       done
   8997       IFS=$lt_save_ifs
   8998       ;;
   8999     esac
   9000 else $as_nop
   9001   pic_mode=default
   9002 fi
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011   # Check whether --enable-fast-install was given.
   9012 if test ${enable_fast_install+y}
   9013 then :
   9014   enableval=$enable_fast_install; p=${PACKAGE-default}
   9015     case $enableval in
   9016     yes) enable_fast_install=yes ;;
   9017     no) enable_fast_install=no ;;
   9018     *)
   9019       enable_fast_install=no
   9020       # Look at the argument we got.  We use all the common list separators.
   9021       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9022       for pkg in $enableval; do
   9023 	IFS=$lt_save_ifs
   9024 	if test "X$pkg" = "X$p"; then
   9025 	  enable_fast_install=yes
   9026 	fi
   9027       done
   9028       IFS=$lt_save_ifs
   9029       ;;
   9030     esac
   9031 else $as_nop
   9032   enable_fast_install=yes
   9033 fi
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042   shared_archive_member_spec=
   9043 case $host,$enable_shared in
   9044 power*-*-aix[5-9]*,yes)
   9045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9046 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9047 
   9048 # Check whether --with-aix-soname was given.
   9049 if test ${with_aix_soname+y}
   9050 then :
   9051   withval=$with_aix_soname; case $withval in
   9052     aix|svr4|both)
   9053       ;;
   9054     *)
   9055       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9056       ;;
   9057     esac
   9058     lt_cv_with_aix_soname=$with_aix_soname
   9059 else $as_nop
   9060   if test ${lt_cv_with_aix_soname+y}
   9061 then :
   9062   printf %s "(cached) " >&6
   9063 else $as_nop
   9064   lt_cv_with_aix_soname=aix
   9065 fi
   9066 
   9067     with_aix_soname=$lt_cv_with_aix_soname
   9068 fi
   9069 
   9070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9071 printf "%s\n" "$with_aix_soname" >&6; }
   9072   if test aix != "$with_aix_soname"; then
   9073     # For the AIX way of multilib, we name the shared archive member
   9074     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9075     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9076     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9077     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9078     if test 64 = "${OBJECT_MODE-32}"; then
   9079       shared_archive_member_spec=shr_64
   9080     else
   9081       shared_archive_member_spec=shr
   9082     fi
   9083   fi
   9084   ;;
   9085 *)
   9086   with_aix_soname=aix
   9087   ;;
   9088 esac
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 # This can be used to rebuild libtool when needed
   9100 LIBTOOL_DEPS=$ltmain
   9101 
   9102 # Always use our own libtool.
   9103 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 test -z "$LN_S" && LN_S="ln -s"
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 if test -n "${ZSH_VERSION+set}"; then
   9150    setopt NO_GLOB_SUBST
   9151 fi
   9152 
   9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9154 printf %s "checking for objdir... " >&6; }
   9155 if test ${lt_cv_objdir+y}
   9156 then :
   9157   printf %s "(cached) " >&6
   9158 else $as_nop
   9159   rm -f .libs 2>/dev/null
   9160 mkdir .libs 2>/dev/null
   9161 if test -d .libs; then
   9162   lt_cv_objdir=.libs
   9163 else
   9164   # MS-DOS does not allow filenames that begin with a dot.
   9165   lt_cv_objdir=_libs
   9166 fi
   9167 rmdir .libs 2>/dev/null
   9168 fi
   9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9170 printf "%s\n" "$lt_cv_objdir" >&6; }
   9171 objdir=$lt_cv_objdir
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9178 
   9179 
   9180 
   9181 
   9182 case $host_os in
   9183 aix3*)
   9184   # AIX sometimes has problems with the GCC collect2 program.  For some
   9185   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9186   # vanish in a puff of smoke.
   9187   if test set != "${COLLECT_NAMES+set}"; then
   9188     COLLECT_NAMES=
   9189     export COLLECT_NAMES
   9190   fi
   9191   ;;
   9192 esac
   9193 
   9194 # Global variables:
   9195 ofile=libtool
   9196 can_build_shared=yes
   9197 
   9198 # All known linkers require a '.a' archive for static linking (except MSVC and
   9199 # ICC, which need '.lib').
   9200 libext=a
   9201 
   9202 with_gnu_ld=$lt_cv_prog_gnu_ld
   9203 
   9204 old_CC=$CC
   9205 old_CFLAGS=$CFLAGS
   9206 
   9207 # Set sane defaults for various variables
   9208 test -z "$CC" && CC=cc
   9209 test -z "$LTCC" && LTCC=$CC
   9210 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9211 test -z "$LD" && LD=ld
   9212 test -z "$ac_objext" && ac_objext=o
   9213 
   9214 func_cc_basename $compiler
   9215 cc_basename=$func_cc_basename_result
   9216 
   9217 
   9218 # Only perform the check for file, if the check method requires it
   9219 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9220 case $deplibs_check_method in
   9221 file_magic*)
   9222   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9223     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9224 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9225 if test ${lt_cv_path_MAGIC_CMD+y}
   9226 then :
   9227   printf %s "(cached) " >&6
   9228 else $as_nop
   9229   case $MAGIC_CMD in
   9230 [\\/*] |  ?:[\\/]*)
   9231   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9232   ;;
   9233 *)
   9234   lt_save_MAGIC_CMD=$MAGIC_CMD
   9235   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9236   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9237   for ac_dir in $ac_dummy; do
   9238     IFS=$lt_save_ifs
   9239     test -z "$ac_dir" && ac_dir=.
   9240     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9241       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9242       if test -n "$file_magic_test_file"; then
   9243 	case $deplibs_check_method in
   9244 	"file_magic "*)
   9245 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9246 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9247 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9248 	    $EGREP "$file_magic_regex" > /dev/null; then
   9249 	    :
   9250 	  else
   9251 	    cat <<_LT_EOF 1>&2
   9252 
   9253 *** Warning: the command libtool uses to detect shared libraries,
   9254 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9255 *** The result is that libtool may fail to recognize shared libraries
   9256 *** as such.  This will affect the creation of libtool libraries that
   9257 *** depend on shared libraries, but programs linked with such libtool
   9258 *** libraries will work regardless of this problem.  Nevertheless, you
   9259 *** may want to report the problem to your system manager and/or to
   9260 *** bug-libtool@gnu.org
   9261 
   9262 _LT_EOF
   9263 	  fi ;;
   9264 	esac
   9265       fi
   9266       break
   9267     fi
   9268   done
   9269   IFS=$lt_save_ifs
   9270   MAGIC_CMD=$lt_save_MAGIC_CMD
   9271   ;;
   9272 esac
   9273 fi
   9274 
   9275 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9276 if test -n "$MAGIC_CMD"; then
   9277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9278 printf "%s\n" "$MAGIC_CMD" >&6; }
   9279 else
   9280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9281 printf "%s\n" "no" >&6; }
   9282 fi
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9289   if test -n "$ac_tool_prefix"; then
   9290     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9291 printf %s "checking for file... " >&6; }
   9292 if test ${lt_cv_path_MAGIC_CMD+y}
   9293 then :
   9294   printf %s "(cached) " >&6
   9295 else $as_nop
   9296   case $MAGIC_CMD in
   9297 [\\/*] |  ?:[\\/]*)
   9298   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9299   ;;
   9300 *)
   9301   lt_save_MAGIC_CMD=$MAGIC_CMD
   9302   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9303   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9304   for ac_dir in $ac_dummy; do
   9305     IFS=$lt_save_ifs
   9306     test -z "$ac_dir" && ac_dir=.
   9307     if test -f "$ac_dir/file"; then
   9308       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9309       if test -n "$file_magic_test_file"; then
   9310 	case $deplibs_check_method in
   9311 	"file_magic "*)
   9312 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9313 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9314 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9315 	    $EGREP "$file_magic_regex" > /dev/null; then
   9316 	    :
   9317 	  else
   9318 	    cat <<_LT_EOF 1>&2
   9319 
   9320 *** Warning: the command libtool uses to detect shared libraries,
   9321 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9322 *** The result is that libtool may fail to recognize shared libraries
   9323 *** as such.  This will affect the creation of libtool libraries that
   9324 *** depend on shared libraries, but programs linked with such libtool
   9325 *** libraries will work regardless of this problem.  Nevertheless, you
   9326 *** may want to report the problem to your system manager and/or to
   9327 *** bug-libtool@gnu.org
   9328 
   9329 _LT_EOF
   9330 	  fi ;;
   9331 	esac
   9332       fi
   9333       break
   9334     fi
   9335   done
   9336   IFS=$lt_save_ifs
   9337   MAGIC_CMD=$lt_save_MAGIC_CMD
   9338   ;;
   9339 esac
   9340 fi
   9341 
   9342 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9343 if test -n "$MAGIC_CMD"; then
   9344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9345 printf "%s\n" "$MAGIC_CMD" >&6; }
   9346 else
   9347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9348 printf "%s\n" "no" >&6; }
   9349 fi
   9350 
   9351 
   9352   else
   9353     MAGIC_CMD=:
   9354   fi
   9355 fi
   9356 
   9357   fi
   9358   ;;
   9359 esac
   9360 
   9361 # Use C for the default configuration in the libtool script
   9362 
   9363 lt_save_CC=$CC
   9364 ac_ext=c
   9365 ac_cpp='$CPP $CPPFLAGS'
   9366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9369 
   9370 
   9371 # Source file extension for C test sources.
   9372 ac_ext=c
   9373 
   9374 # Object file extension for compiled C test sources.
   9375 objext=o
   9376 objext=$objext
   9377 
   9378 # Code to be used in simple compile tests
   9379 lt_simple_compile_test_code="int some_variable = 0;"
   9380 
   9381 # Code to be used in simple link tests
   9382 lt_simple_link_test_code='int main(){return(0);}'
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 # If no C compiler was specified, use CC.
   9391 LTCC=${LTCC-"$CC"}
   9392 
   9393 # If no C compiler flags were specified, use CFLAGS.
   9394 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9395 
   9396 # Allow CC to be a program name with arguments.
   9397 compiler=$CC
   9398 
   9399 # Save the default compiler, since it gets overwritten when the other
   9400 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9401 compiler_DEFAULT=$CC
   9402 
   9403 # save warnings/boilerplate of simple test code
   9404 ac_outfile=conftest.$ac_objext
   9405 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9406 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9407 _lt_compiler_boilerplate=`cat conftest.err`
   9408 $RM conftest*
   9409 
   9410 ac_outfile=conftest.$ac_objext
   9411 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9412 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9413 _lt_linker_boilerplate=`cat conftest.err`
   9414 $RM -r conftest*
   9415 
   9416 
   9417 if test -n "$compiler"; then
   9418 
   9419 lt_prog_compiler_no_builtin_flag=
   9420 
   9421 if test yes = "$GCC"; then
   9422   case $cc_basename in
   9423   nvcc*)
   9424     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9425   *)
   9426     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9427   esac
   9428 
   9429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9430 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9431 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9432 then :
   9433   printf %s "(cached) " >&6
   9434 else $as_nop
   9435   lt_cv_prog_compiler_rtti_exceptions=no
   9436    ac_outfile=conftest.$ac_objext
   9437    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9438    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9439    # Insert the option either (1) after the last *FLAGS variable, or
   9440    # (2) before a word containing "conftest.", or (3) at the end.
   9441    # Note that $ac_compile itself does not contain backslashes and begins
   9442    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9443    # The option is referenced via a variable to avoid confusing sed.
   9444    lt_compile=`echo "$ac_compile" | $SED \
   9445    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9446    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9447    -e 's:$: $lt_compiler_flag:'`
   9448    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9449    (eval "$lt_compile" 2>conftest.err)
   9450    ac_status=$?
   9451    cat conftest.err >&5
   9452    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9453    if (exit $ac_status) && test -s "$ac_outfile"; then
   9454      # The compiler can only warn and ignore the option if not recognized
   9455      # So say no if there are warnings other than the usual output.
   9456      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9457      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9458      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9459        lt_cv_prog_compiler_rtti_exceptions=yes
   9460      fi
   9461    fi
   9462    $RM conftest*
   9463 
   9464 fi
   9465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9466 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9467 
   9468 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9469     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9470 else
   9471     :
   9472 fi
   9473 
   9474 fi
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481   lt_prog_compiler_wl=
   9482 lt_prog_compiler_pic=
   9483 lt_prog_compiler_static=
   9484 
   9485 
   9486   if test yes = "$GCC"; then
   9487     lt_prog_compiler_wl='-Wl,'
   9488     lt_prog_compiler_static='-static'
   9489 
   9490     case $host_os in
   9491       aix*)
   9492       # All AIX code is PIC.
   9493       if test ia64 = "$host_cpu"; then
   9494 	# AIX 5 now supports IA64 processor
   9495 	lt_prog_compiler_static='-Bstatic'
   9496       fi
   9497       lt_prog_compiler_pic='-fPIC'
   9498       ;;
   9499 
   9500     amigaos*)
   9501       case $host_cpu in
   9502       powerpc)
   9503             # see comment about AmigaOS4 .so support
   9504             lt_prog_compiler_pic='-fPIC'
   9505         ;;
   9506       m68k)
   9507             # FIXME: we need at least 68020 code to build shared libraries, but
   9508             # adding the '-m68020' flag to GCC prevents building anything better,
   9509             # like '-m68040'.
   9510             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9511         ;;
   9512       esac
   9513       ;;
   9514 
   9515     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9516       # PIC is the default for these OSes.
   9517       ;;
   9518 
   9519     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9520       # This hack is so that the source file can tell whether it is being
   9521       # built for inclusion in a dll (and should export symbols for example).
   9522       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9523       # (--disable-auto-import) libraries
   9524       lt_prog_compiler_pic='-DDLL_EXPORT'
   9525       case $host_os in
   9526       os2*)
   9527 	lt_prog_compiler_static='$wl-static'
   9528 	;;
   9529       esac
   9530       ;;
   9531 
   9532     darwin* | rhapsody*)
   9533       # PIC is the default on this platform
   9534       # Common symbols not allowed in MH_DYLIB files
   9535       lt_prog_compiler_pic='-fno-common'
   9536       ;;
   9537 
   9538     haiku*)
   9539       # PIC is the default for Haiku.
   9540       # The "-static" flag exists, but is broken.
   9541       lt_prog_compiler_static=
   9542       ;;
   9543 
   9544     hpux*)
   9545       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9546       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9547       # sets the default TLS model and affects inlining.
   9548       case $host_cpu in
   9549       hppa*64*)
   9550 	# +Z the default
   9551 	;;
   9552       *)
   9553 	lt_prog_compiler_pic='-fPIC'
   9554 	;;
   9555       esac
   9556       ;;
   9557 
   9558     interix[3-9]*)
   9559       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9560       # Instead, we relocate shared libraries at runtime.
   9561       ;;
   9562 
   9563     msdosdjgpp*)
   9564       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9565       # on systems that don't support them.
   9566       lt_prog_compiler_can_build_shared=no
   9567       enable_shared=no
   9568       ;;
   9569 
   9570     *nto* | *qnx*)
   9571       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9572       # it will coredump.
   9573       lt_prog_compiler_pic='-fPIC -shared'
   9574       ;;
   9575 
   9576     sysv4*MP*)
   9577       if test -d /usr/nec; then
   9578 	lt_prog_compiler_pic=-Kconform_pic
   9579       fi
   9580       ;;
   9581 
   9582     *)
   9583       lt_prog_compiler_pic='-fPIC'
   9584       ;;
   9585     esac
   9586 
   9587     case $cc_basename in
   9588     nvcc*) # Cuda Compiler Driver 2.2
   9589       lt_prog_compiler_wl='-Xlinker '
   9590       if test -n "$lt_prog_compiler_pic"; then
   9591         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9592       fi
   9593       ;;
   9594     esac
   9595   else
   9596     # PORTME Check for flag to pass linker flags through the system compiler.
   9597     case $host_os in
   9598     aix*)
   9599       lt_prog_compiler_wl='-Wl,'
   9600       if test ia64 = "$host_cpu"; then
   9601 	# AIX 5 now supports IA64 processor
   9602 	lt_prog_compiler_static='-Bstatic'
   9603       else
   9604 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9605       fi
   9606       ;;
   9607 
   9608     darwin* | rhapsody*)
   9609       # PIC is the default on this platform
   9610       # Common symbols not allowed in MH_DYLIB files
   9611       lt_prog_compiler_pic='-fno-common'
   9612       case $cc_basename in
   9613       nagfor*)
   9614         # NAG Fortran compiler
   9615         lt_prog_compiler_wl='-Wl,-Wl,,'
   9616         lt_prog_compiler_pic='-PIC'
   9617         lt_prog_compiler_static='-Bstatic'
   9618         ;;
   9619       esac
   9620       ;;
   9621 
   9622     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9623       # This hack is so that the source file can tell whether it is being
   9624       # built for inclusion in a dll (and should export symbols for example).
   9625       lt_prog_compiler_pic='-DDLL_EXPORT'
   9626       case $host_os in
   9627       os2*)
   9628 	lt_prog_compiler_static='$wl-static'
   9629 	;;
   9630       esac
   9631       ;;
   9632 
   9633     hpux9* | hpux10* | hpux11*)
   9634       lt_prog_compiler_wl='-Wl,'
   9635       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9636       # not for PA HP-UX.
   9637       case $host_cpu in
   9638       hppa*64*|ia64*)
   9639 	# +Z the default
   9640 	;;
   9641       *)
   9642 	lt_prog_compiler_pic='+Z'
   9643 	;;
   9644       esac
   9645       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9646       lt_prog_compiler_static='$wl-a ${wl}archive'
   9647       ;;
   9648 
   9649     irix5* | irix6* | nonstopux*)
   9650       lt_prog_compiler_wl='-Wl,'
   9651       # PIC (with -KPIC) is the default.
   9652       lt_prog_compiler_static='-non_shared'
   9653       ;;
   9654 
   9655     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9656       case $cc_basename in
   9657       # old Intel for x86_64, which still supported -KPIC.
   9658       ecc*)
   9659 	lt_prog_compiler_wl='-Wl,'
   9660 	lt_prog_compiler_pic='-KPIC'
   9661 	lt_prog_compiler_static='-static'
   9662         ;;
   9663       # icc used to be incompatible with GCC.
   9664       # ICC 10 doesn't accept -KPIC any more.
   9665       icc* | ifort*)
   9666 	lt_prog_compiler_wl='-Wl,'
   9667 	lt_prog_compiler_pic='-fPIC'
   9668 	lt_prog_compiler_static='-static'
   9669         ;;
   9670       # Lahey Fortran 8.1.
   9671       lf95*)
   9672 	lt_prog_compiler_wl='-Wl,'
   9673 	lt_prog_compiler_pic='--shared'
   9674 	lt_prog_compiler_static='--static'
   9675 	;;
   9676       nagfor*)
   9677 	# NAG Fortran compiler
   9678 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9679 	lt_prog_compiler_pic='-PIC'
   9680 	lt_prog_compiler_static='-Bstatic'
   9681 	;;
   9682       tcc*)
   9683 	# Fabrice Bellard et al's Tiny C Compiler
   9684 	lt_prog_compiler_wl='-Wl,'
   9685 	lt_prog_compiler_pic='-fPIC'
   9686 	lt_prog_compiler_static='-static'
   9687 	;;
   9688       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9689         # Portland Group compilers (*not* the Pentium gcc compiler,
   9690 	# which looks to be a dead project)
   9691 	lt_prog_compiler_wl='-Wl,'
   9692 	lt_prog_compiler_pic='-fpic'
   9693 	lt_prog_compiler_static='-Bstatic'
   9694         ;;
   9695       ccc*)
   9696         lt_prog_compiler_wl='-Wl,'
   9697         # All Alpha code is PIC.
   9698         lt_prog_compiler_static='-non_shared'
   9699         ;;
   9700       xl* | bgxl* | bgf* | mpixl*)
   9701 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9702 	lt_prog_compiler_wl='-Wl,'
   9703 	lt_prog_compiler_pic='-qpic'
   9704 	lt_prog_compiler_static='-qstaticlink'
   9705 	;;
   9706       *)
   9707 	case `$CC -V 2>&1 | $SED 5q` in
   9708 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9709 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9710 	  lt_prog_compiler_pic='-KPIC'
   9711 	  lt_prog_compiler_static='-Bstatic'
   9712 	  lt_prog_compiler_wl=''
   9713 	  ;;
   9714 	*Sun\ F* | *Sun*Fortran*)
   9715 	  lt_prog_compiler_pic='-KPIC'
   9716 	  lt_prog_compiler_static='-Bstatic'
   9717 	  lt_prog_compiler_wl='-Qoption ld '
   9718 	  ;;
   9719 	*Sun\ C*)
   9720 	  # Sun C 5.9
   9721 	  lt_prog_compiler_pic='-KPIC'
   9722 	  lt_prog_compiler_static='-Bstatic'
   9723 	  lt_prog_compiler_wl='-Wl,'
   9724 	  ;;
   9725         *Intel*\ [CF]*Compiler*)
   9726 	  lt_prog_compiler_wl='-Wl,'
   9727 	  lt_prog_compiler_pic='-fPIC'
   9728 	  lt_prog_compiler_static='-static'
   9729 	  ;;
   9730 	*Portland\ Group*)
   9731 	  lt_prog_compiler_wl='-Wl,'
   9732 	  lt_prog_compiler_pic='-fpic'
   9733 	  lt_prog_compiler_static='-Bstatic'
   9734 	  ;;
   9735 	esac
   9736 	;;
   9737       esac
   9738       ;;
   9739 
   9740     newsos6)
   9741       lt_prog_compiler_pic='-KPIC'
   9742       lt_prog_compiler_static='-Bstatic'
   9743       ;;
   9744 
   9745     *nto* | *qnx*)
   9746       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9747       # it will coredump.
   9748       lt_prog_compiler_pic='-fPIC -shared'
   9749       ;;
   9750 
   9751     osf3* | osf4* | osf5*)
   9752       lt_prog_compiler_wl='-Wl,'
   9753       # All OSF/1 code is PIC.
   9754       lt_prog_compiler_static='-non_shared'
   9755       ;;
   9756 
   9757     rdos*)
   9758       lt_prog_compiler_static='-non_shared'
   9759       ;;
   9760 
   9761     solaris*)
   9762       lt_prog_compiler_pic='-KPIC'
   9763       lt_prog_compiler_static='-Bstatic'
   9764       case $cc_basename in
   9765       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9766 	lt_prog_compiler_wl='-Qoption ld ';;
   9767       *)
   9768 	lt_prog_compiler_wl='-Wl,';;
   9769       esac
   9770       ;;
   9771 
   9772     sunos4*)
   9773       lt_prog_compiler_wl='-Qoption ld '
   9774       lt_prog_compiler_pic='-PIC'
   9775       lt_prog_compiler_static='-Bstatic'
   9776       ;;
   9777 
   9778     sysv4 | sysv4.2uw2* | sysv4.3*)
   9779       lt_prog_compiler_wl='-Wl,'
   9780       lt_prog_compiler_pic='-KPIC'
   9781       lt_prog_compiler_static='-Bstatic'
   9782       ;;
   9783 
   9784     sysv4*MP*)
   9785       if test -d /usr/nec; then
   9786 	lt_prog_compiler_pic='-Kconform_pic'
   9787 	lt_prog_compiler_static='-Bstatic'
   9788       fi
   9789       ;;
   9790 
   9791     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9792       lt_prog_compiler_wl='-Wl,'
   9793       lt_prog_compiler_pic='-KPIC'
   9794       lt_prog_compiler_static='-Bstatic'
   9795       ;;
   9796 
   9797     unicos*)
   9798       lt_prog_compiler_wl='-Wl,'
   9799       lt_prog_compiler_can_build_shared=no
   9800       ;;
   9801 
   9802     uts4*)
   9803       lt_prog_compiler_pic='-pic'
   9804       lt_prog_compiler_static='-Bstatic'
   9805       ;;
   9806 
   9807     *)
   9808       lt_prog_compiler_can_build_shared=no
   9809       ;;
   9810     esac
   9811   fi
   9812 
   9813 case $host_os in
   9814   # For platforms that do not support PIC, -DPIC is meaningless:
   9815   *djgpp*)
   9816     lt_prog_compiler_pic=
   9817     ;;
   9818   *)
   9819     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9820     ;;
   9821 esac
   9822 
   9823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9824 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9825 if test ${lt_cv_prog_compiler_pic+y}
   9826 then :
   9827   printf %s "(cached) " >&6
   9828 else $as_nop
   9829   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9830 fi
   9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9832 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9833 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9834 
   9835 #
   9836 # Check to make sure the PIC flag actually works.
   9837 #
   9838 if test -n "$lt_prog_compiler_pic"; then
   9839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9840 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9841 if test ${lt_cv_prog_compiler_pic_works+y}
   9842 then :
   9843   printf %s "(cached) " >&6
   9844 else $as_nop
   9845   lt_cv_prog_compiler_pic_works=no
   9846    ac_outfile=conftest.$ac_objext
   9847    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9848    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9849    # Insert the option either (1) after the last *FLAGS variable, or
   9850    # (2) before a word containing "conftest.", or (3) at the end.
   9851    # Note that $ac_compile itself does not contain backslashes and begins
   9852    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9853    # The option is referenced via a variable to avoid confusing sed.
   9854    lt_compile=`echo "$ac_compile" | $SED \
   9855    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9856    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9857    -e 's:$: $lt_compiler_flag:'`
   9858    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9859    (eval "$lt_compile" 2>conftest.err)
   9860    ac_status=$?
   9861    cat conftest.err >&5
   9862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9863    if (exit $ac_status) && test -s "$ac_outfile"; then
   9864      # The compiler can only warn and ignore the option if not recognized
   9865      # So say no if there are warnings other than the usual output.
   9866      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9867      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9868      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9869        lt_cv_prog_compiler_pic_works=yes
   9870      fi
   9871    fi
   9872    $RM conftest*
   9873 
   9874 fi
   9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9876 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9877 
   9878 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9879     case $lt_prog_compiler_pic in
   9880      "" | " "*) ;;
   9881      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9882      esac
   9883 else
   9884     lt_prog_compiler_pic=
   9885      lt_prog_compiler_can_build_shared=no
   9886 fi
   9887 
   9888 fi
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 #
   9901 # Check to make sure the static flag actually works.
   9902 #
   9903 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9905 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9906 if test ${lt_cv_prog_compiler_static_works+y}
   9907 then :
   9908   printf %s "(cached) " >&6
   9909 else $as_nop
   9910   lt_cv_prog_compiler_static_works=no
   9911    save_LDFLAGS=$LDFLAGS
   9912    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9913    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9914    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9915      # The linker can only warn and ignore the option if not recognized
   9916      # So say no if there are warnings
   9917      if test -s conftest.err; then
   9918        # Append any errors to the config.log.
   9919        cat conftest.err 1>&5
   9920        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9921        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9922        if diff conftest.exp conftest.er2 >/dev/null; then
   9923          lt_cv_prog_compiler_static_works=yes
   9924        fi
   9925      else
   9926        lt_cv_prog_compiler_static_works=yes
   9927      fi
   9928    fi
   9929    $RM -r conftest*
   9930    LDFLAGS=$save_LDFLAGS
   9931 
   9932 fi
   9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9934 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9935 
   9936 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9937     :
   9938 else
   9939     lt_prog_compiler_static=
   9940 fi
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9949 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9950 if test ${lt_cv_prog_compiler_c_o+y}
   9951 then :
   9952   printf %s "(cached) " >&6
   9953 else $as_nop
   9954   lt_cv_prog_compiler_c_o=no
   9955    $RM -r conftest 2>/dev/null
   9956    mkdir conftest
   9957    cd conftest
   9958    mkdir out
   9959    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9960 
   9961    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9962    # Insert the option either (1) after the last *FLAGS variable, or
   9963    # (2) before a word containing "conftest.", or (3) at the end.
   9964    # Note that $ac_compile itself does not contain backslashes and begins
   9965    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9966    lt_compile=`echo "$ac_compile" | $SED \
   9967    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9968    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9969    -e 's:$: $lt_compiler_flag:'`
   9970    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9971    (eval "$lt_compile" 2>out/conftest.err)
   9972    ac_status=$?
   9973    cat out/conftest.err >&5
   9974    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9975    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9976    then
   9977      # The compiler can only warn and ignore the option if not recognized
   9978      # So say no if there are warnings
   9979      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9980      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9981      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9982        lt_cv_prog_compiler_c_o=yes
   9983      fi
   9984    fi
   9985    chmod u+w . 2>&5
   9986    $RM conftest*
   9987    # SGI C++ compiler will create directory out/ii_files/ for
   9988    # template instantiation
   9989    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9990    $RM out/* && rmdir out
   9991    cd ..
   9992    $RM -r conftest
   9993    $RM conftest*
   9994 
   9995 fi
   9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9997 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10005 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10006 if test ${lt_cv_prog_compiler_c_o+y}
   10007 then :
   10008   printf %s "(cached) " >&6
   10009 else $as_nop
   10010   lt_cv_prog_compiler_c_o=no
   10011    $RM -r conftest 2>/dev/null
   10012    mkdir conftest
   10013    cd conftest
   10014    mkdir out
   10015    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10016 
   10017    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10018    # Insert the option either (1) after the last *FLAGS variable, or
   10019    # (2) before a word containing "conftest.", or (3) at the end.
   10020    # Note that $ac_compile itself does not contain backslashes and begins
   10021    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10022    lt_compile=`echo "$ac_compile" | $SED \
   10023    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10024    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10025    -e 's:$: $lt_compiler_flag:'`
   10026    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10027    (eval "$lt_compile" 2>out/conftest.err)
   10028    ac_status=$?
   10029    cat out/conftest.err >&5
   10030    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10031    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10032    then
   10033      # The compiler can only warn and ignore the option if not recognized
   10034      # So say no if there are warnings
   10035      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10036      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10037      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10038        lt_cv_prog_compiler_c_o=yes
   10039      fi
   10040    fi
   10041    chmod u+w . 2>&5
   10042    $RM conftest*
   10043    # SGI C++ compiler will create directory out/ii_files/ for
   10044    # template instantiation
   10045    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10046    $RM out/* && rmdir out
   10047    cd ..
   10048    $RM -r conftest
   10049    $RM conftest*
   10050 
   10051 fi
   10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10053 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10054 
   10055 
   10056 
   10057 
   10058 hard_links=nottested
   10059 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10060   # do not overwrite the value of need_locks provided by the user
   10061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10062 printf %s "checking if we can lock with hard links... " >&6; }
   10063   hard_links=yes
   10064   $RM conftest*
   10065   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10066   touch conftest.a
   10067   ln conftest.a conftest.b 2>&5 || hard_links=no
   10068   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10070 printf "%s\n" "$hard_links" >&6; }
   10071   if test no = "$hard_links"; then
   10072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10073 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10074     need_locks=warn
   10075   fi
   10076 else
   10077   need_locks=no
   10078 fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10086 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10087 
   10088   runpath_var=
   10089   allow_undefined_flag=
   10090   always_export_symbols=no
   10091   archive_cmds=
   10092   archive_expsym_cmds=
   10093   compiler_needs_object=no
   10094   enable_shared_with_static_runtimes=no
   10095   export_dynamic_flag_spec=
   10096   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10097   hardcode_automatic=no
   10098   hardcode_direct=no
   10099   hardcode_direct_absolute=no
   10100   hardcode_libdir_flag_spec=
   10101   hardcode_libdir_separator=
   10102   hardcode_minus_L=no
   10103   hardcode_shlibpath_var=unsupported
   10104   inherit_rpath=no
   10105   link_all_deplibs=unknown
   10106   module_cmds=
   10107   module_expsym_cmds=
   10108   old_archive_from_new_cmds=
   10109   old_archive_from_expsyms_cmds=
   10110   thread_safe_flag_spec=
   10111   whole_archive_flag_spec=
   10112   # include_expsyms should be a list of space-separated symbols to be *always*
   10113   # included in the symbol list
   10114   include_expsyms=
   10115   # exclude_expsyms can be an extended regexp of symbols to exclude
   10116   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10117   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10118   # as well as any symbol that contains 'd'.
   10119   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10120   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10121   # platforms (ab)use it in PIC code, but their linkers get confused if
   10122   # the symbol is explicitly referenced.  Since portable code cannot
   10123   # rely on this symbol name, it's probably fine to never include it in
   10124   # preloaded symbol tables.
   10125   # Exclude shared library initialization/finalization symbols.
   10126   extract_expsyms_cmds=
   10127 
   10128   case $host_os in
   10129   cygwin* | mingw* | pw32* | cegcc*)
   10130     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10131     # When not using gcc, we currently assume that we are using
   10132     # Microsoft Visual C++ or Intel C++ Compiler.
   10133     if test yes != "$GCC"; then
   10134       with_gnu_ld=no
   10135     fi
   10136     ;;
   10137   interix*)
   10138     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10139     with_gnu_ld=yes
   10140     ;;
   10141   openbsd* | bitrig*)
   10142     with_gnu_ld=no
   10143     ;;
   10144   esac
   10145 
   10146   ld_shlibs=yes
   10147 
   10148   # On some targets, GNU ld is compatible enough with the native linker
   10149   # that we're better off using the native interface for both.
   10150   lt_use_gnu_ld_interface=no
   10151   if test yes = "$with_gnu_ld"; then
   10152     case $host_os in
   10153       aix*)
   10154 	# The AIX port of GNU ld has always aspired to compatibility
   10155 	# with the native linker.  However, as the warning in the GNU ld
   10156 	# block says, versions before 2.19.5* couldn't really create working
   10157 	# shared libraries, regardless of the interface used.
   10158 	case `$LD -v 2>&1` in
   10159 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10160 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10161 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10162 	  *)
   10163 	    lt_use_gnu_ld_interface=yes
   10164 	    ;;
   10165 	esac
   10166 	;;
   10167       *)
   10168 	lt_use_gnu_ld_interface=yes
   10169 	;;
   10170     esac
   10171   fi
   10172 
   10173   if test yes = "$lt_use_gnu_ld_interface"; then
   10174     # If archive_cmds runs LD, not CC, wlarc should be empty
   10175     wlarc='$wl'
   10176 
   10177     # Set some defaults for GNU ld with shared library support. These
   10178     # are reset later if shared libraries are not supported. Putting them
   10179     # here allows them to be overridden if necessary.
   10180     runpath_var=LD_RUN_PATH
   10181     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10182     export_dynamic_flag_spec='$wl--export-dynamic'
   10183     # ancient GNU ld didn't support --whole-archive et. al.
   10184     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10185       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10186     else
   10187       whole_archive_flag_spec=
   10188     fi
   10189     supports_anon_versioning=no
   10190     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10191       *GNU\ gold*) supports_anon_versioning=yes ;;
   10192       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10193       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10194       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10195       *\ 2.11.*) ;; # other 2.11 versions
   10196       *) supports_anon_versioning=yes ;;
   10197     esac
   10198 
   10199     # See if GNU ld supports shared libraries.
   10200     case $host_os in
   10201     aix[3-9]*)
   10202       # On AIX/PPC, the GNU linker is very broken
   10203       if test ia64 != "$host_cpu"; then
   10204 	ld_shlibs=no
   10205 	cat <<_LT_EOF 1>&2
   10206 
   10207 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10208 *** to be unable to reliably create shared libraries on AIX.
   10209 *** Therefore, libtool is disabling shared libraries support.  If you
   10210 *** really care for shared libraries, you may want to install binutils
   10211 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10212 *** You will then need to restart the configuration process.
   10213 
   10214 _LT_EOF
   10215       fi
   10216       ;;
   10217 
   10218     amigaos*)
   10219       case $host_cpu in
   10220       powerpc)
   10221             # see comment about AmigaOS4 .so support
   10222             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10223             archive_expsym_cmds=''
   10224         ;;
   10225       m68k)
   10226             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)'
   10227             hardcode_libdir_flag_spec='-L$libdir'
   10228             hardcode_minus_L=yes
   10229         ;;
   10230       esac
   10231       ;;
   10232 
   10233     beos*)
   10234       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10235 	allow_undefined_flag=unsupported
   10236 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10237 	# support --undefined.  This deserves some investigation.  FIXME
   10238 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10239       else
   10240 	ld_shlibs=no
   10241       fi
   10242       ;;
   10243 
   10244     cygwin* | mingw* | pw32* | cegcc*)
   10245       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10246       # as there is no search path for DLLs.
   10247       hardcode_libdir_flag_spec='-L$libdir'
   10248       export_dynamic_flag_spec='$wl--export-all-symbols'
   10249       allow_undefined_flag=unsupported
   10250       always_export_symbols=no
   10251       enable_shared_with_static_runtimes=yes
   10252       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'
   10253       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10254 
   10255       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10256         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10257 	# If the export-symbols file already is a .def file, use it as
   10258 	# is; otherwise, prepend EXPORTS...
   10259 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10260           cp $export_symbols $output_objdir/$soname.def;
   10261         else
   10262           echo EXPORTS > $output_objdir/$soname.def;
   10263           cat $export_symbols >> $output_objdir/$soname.def;
   10264         fi~
   10265         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10266       else
   10267 	ld_shlibs=no
   10268       fi
   10269       ;;
   10270 
   10271     haiku*)
   10272       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10273       link_all_deplibs=yes
   10274       ;;
   10275 
   10276     os2*)
   10277       hardcode_libdir_flag_spec='-L$libdir'
   10278       hardcode_minus_L=yes
   10279       allow_undefined_flag=unsupported
   10280       shrext_cmds=.dll
   10281       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10282 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10283 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10284 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10285 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10286 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10287 	emximp -o $lib $output_objdir/$libname.def'
   10288       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10289 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10290 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10291 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10292 	prefix_cmds="$SED"~
   10293 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10294 	  prefix_cmds="$prefix_cmds -e 1d";
   10295 	fi~
   10296 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10297 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10298 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10299 	emximp -o $lib $output_objdir/$libname.def'
   10300       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10301       enable_shared_with_static_runtimes=yes
   10302       file_list_spec='@'
   10303       ;;
   10304 
   10305     interix[3-9]*)
   10306       hardcode_direct=no
   10307       hardcode_shlibpath_var=no
   10308       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10309       export_dynamic_flag_spec='$wl-E'
   10310       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10311       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10312       # default) and relocated if they conflict, which is a slow very memory
   10313       # consuming and fragmenting process.  To avoid this, we pick a random,
   10314       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10315       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10316       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10317       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'
   10318       ;;
   10319 
   10320     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10321       tmp_diet=no
   10322       if test linux-dietlibc = "$host_os"; then
   10323 	case $cc_basename in
   10324 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10325 	esac
   10326       fi
   10327       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10328 	 && test no = "$tmp_diet"
   10329       then
   10330 	tmp_addflag=' $pic_flag'
   10331 	tmp_sharedflag='-shared'
   10332 	case $cc_basename,$host_cpu in
   10333         pgcc*)				# Portland Group C compiler
   10334 	  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'
   10335 	  tmp_addflag=' $pic_flag'
   10336 	  ;;
   10337 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10338 					# Portland Group f77 and f90 compilers
   10339 	  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'
   10340 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10341 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10342 	  tmp_addflag=' -i_dynamic' ;;
   10343 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10344 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10345 	ifc* | ifort*)			# Intel Fortran compiler
   10346 	  tmp_addflag=' -nofor_main' ;;
   10347 	lf95*)				# Lahey Fortran 8.1
   10348 	  whole_archive_flag_spec=
   10349 	  tmp_sharedflag='--shared' ;;
   10350         nagfor*)                        # NAGFOR 5.3
   10351           tmp_sharedflag='-Wl,-shared' ;;
   10352 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10353 	  tmp_sharedflag='-qmkshrobj'
   10354 	  tmp_addflag= ;;
   10355 	nvcc*)	# Cuda Compiler Driver 2.2
   10356 	  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'
   10357 	  compiler_needs_object=yes
   10358 	  ;;
   10359 	esac
   10360 	case `$CC -V 2>&1 | $SED 5q` in
   10361 	*Sun\ C*)			# Sun C 5.9
   10362 	  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'
   10363 	  compiler_needs_object=yes
   10364 	  tmp_sharedflag='-G' ;;
   10365 	*Sun\ F*)			# Sun Fortran 8.3
   10366 	  tmp_sharedflag='-G' ;;
   10367 	esac
   10368 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10369 
   10370         if test yes = "$supports_anon_versioning"; then
   10371           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10372             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10373             echo "local: *; };" >> $output_objdir/$libname.ver~
   10374             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10375         fi
   10376 
   10377 	case $cc_basename in
   10378 	tcc*)
   10379 	  export_dynamic_flag_spec='-rdynamic'
   10380 	  ;;
   10381 	xlf* | bgf* | bgxlf* | mpixlf*)
   10382 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10383 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10384 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10385 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10386 	  if test yes = "$supports_anon_versioning"; then
   10387 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10388               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10389               echo "local: *; };" >> $output_objdir/$libname.ver~
   10390               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10391 	  fi
   10392 	  ;;
   10393 	esac
   10394       else
   10395         ld_shlibs=no
   10396       fi
   10397       ;;
   10398 
   10399     netbsd*)
   10400       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10401 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10402 	wlarc=
   10403       else
   10404 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10405 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10406       fi
   10407       ;;
   10408 
   10409     solaris*)
   10410       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10411 	ld_shlibs=no
   10412 	cat <<_LT_EOF 1>&2
   10413 
   10414 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10415 *** create shared libraries on Solaris systems.  Therefore, libtool
   10416 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10417 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10418 *** your PATH or compiler configuration so that the native linker is
   10419 *** used, and then restart.
   10420 
   10421 _LT_EOF
   10422       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10423 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10424 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10425       else
   10426 	ld_shlibs=no
   10427       fi
   10428       ;;
   10429 
   10430     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10431       case `$LD -v 2>&1` in
   10432         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10433 	ld_shlibs=no
   10434 	cat <<_LT_EOF 1>&2
   10435 
   10436 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10437 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10438 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10439 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10440 *** your PATH or compiler configuration so that the native linker is
   10441 *** used, and then restart.
   10442 
   10443 _LT_EOF
   10444 	;;
   10445 	*)
   10446 	  # For security reasons, it is highly recommended that you always
   10447 	  # use absolute paths for naming shared libraries, and exclude the
   10448 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10449 	  # requires that you compile everything twice, which is a pain.
   10450 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10451 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10452 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10453 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10454 	  else
   10455 	    ld_shlibs=no
   10456 	  fi
   10457 	;;
   10458       esac
   10459       ;;
   10460 
   10461     sunos4*)
   10462       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10463       wlarc=
   10464       hardcode_direct=yes
   10465       hardcode_shlibpath_var=no
   10466       ;;
   10467 
   10468     *)
   10469       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10470 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10471 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10472       else
   10473 	ld_shlibs=no
   10474       fi
   10475       ;;
   10476     esac
   10477 
   10478     if test no = "$ld_shlibs"; then
   10479       runpath_var=
   10480       hardcode_libdir_flag_spec=
   10481       export_dynamic_flag_spec=
   10482       whole_archive_flag_spec=
   10483     fi
   10484   else
   10485     # PORTME fill in a description of your system's linker (not GNU ld)
   10486     case $host_os in
   10487     aix3*)
   10488       allow_undefined_flag=unsupported
   10489       always_export_symbols=yes
   10490       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'
   10491       # Note: this linker hardcodes the directories in LIBPATH if there
   10492       # are no directories specified by -L.
   10493       hardcode_minus_L=yes
   10494       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10495 	# Neither direct hardcoding nor static linking is supported with a
   10496 	# broken collect2.
   10497 	hardcode_direct=unsupported
   10498       fi
   10499       ;;
   10500 
   10501     aix[4-9]*)
   10502       if test ia64 = "$host_cpu"; then
   10503 	# On IA64, the linker does run time linking by default, so we don't
   10504 	# have to do anything special.
   10505 	aix_use_runtimelinking=no
   10506 	exp_sym_flag='-Bexport'
   10507 	no_entry_flag=
   10508       else
   10509 	# If we're using GNU nm, then we don't want the "-C" option.
   10510 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10511 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10512 	# weak defined symbols like other global defined symbols, whereas
   10513 	# GNU nm marks them as "W".
   10514 	# While the 'weak' keyword is ignored in the Export File, we need
   10515 	# it in the Import File for the 'aix-soname' feature, so we have
   10516 	# to replace the "-B" option with "-P" for AIX nm.
   10517 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10518 	  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'
   10519 	else
   10520 	  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'
   10521 	fi
   10522 	aix_use_runtimelinking=no
   10523 
   10524 	# Test if we are trying to use run time linking or normal
   10525 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10526 	# have runtime linking enabled, and use it for executables.
   10527 	# For shared libraries, we enable/disable runtime linking
   10528 	# depending on the kind of the shared library created -
   10529 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10530 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10531 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10532 	#            lib.a           static archive
   10533 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10534 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10535 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10536 	#            lib.a(lib.so.V) shared, rtl:no
   10537 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10538 	#            lib.a           static archive
   10539 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10540 	  for ld_flag in $LDFLAGS; do
   10541 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10542 	    aix_use_runtimelinking=yes
   10543 	    break
   10544 	  fi
   10545 	  done
   10546 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10547 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10548 	    # so we don't have lib.a shared libs to link our executables.
   10549 	    # We have to force runtime linking in this case.
   10550 	    aix_use_runtimelinking=yes
   10551 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10552 	  fi
   10553 	  ;;
   10554 	esac
   10555 
   10556 	exp_sym_flag='-bexport'
   10557 	no_entry_flag='-bnoentry'
   10558       fi
   10559 
   10560       # When large executables or shared objects are built, AIX ld can
   10561       # have problems creating the table of contents.  If linking a library
   10562       # or program results in "error TOC overflow" add -mminimal-toc to
   10563       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10564       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10565 
   10566       archive_cmds=''
   10567       hardcode_direct=yes
   10568       hardcode_direct_absolute=yes
   10569       hardcode_libdir_separator=':'
   10570       link_all_deplibs=yes
   10571       file_list_spec='$wl-f,'
   10572       case $with_aix_soname,$aix_use_runtimelinking in
   10573       aix,*) ;; # traditional, no import file
   10574       svr4,* | *,yes) # use import file
   10575 	# The Import File defines what to hardcode.
   10576 	hardcode_direct=no
   10577 	hardcode_direct_absolute=no
   10578 	;;
   10579       esac
   10580 
   10581       if test yes = "$GCC"; then
   10582 	case $host_os in aix4.[012]|aix4.[012].*)
   10583 	# We only want to do this on AIX 4.2 and lower, the check
   10584 	# below for broken collect2 doesn't work under 4.3+
   10585 	  collect2name=`$CC -print-prog-name=collect2`
   10586 	  if test -f "$collect2name" &&
   10587 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10588 	  then
   10589 	  # We have reworked collect2
   10590 	  :
   10591 	  else
   10592 	  # We have old collect2
   10593 	  hardcode_direct=unsupported
   10594 	  # It fails to find uninstalled libraries when the uninstalled
   10595 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10596 	  # to unsupported forces relinking
   10597 	  hardcode_minus_L=yes
   10598 	  hardcode_libdir_flag_spec='-L$libdir'
   10599 	  hardcode_libdir_separator=
   10600 	  fi
   10601 	  ;;
   10602 	esac
   10603 	shared_flag='-shared'
   10604 	if test yes = "$aix_use_runtimelinking"; then
   10605 	  shared_flag="$shared_flag "'$wl-G'
   10606 	fi
   10607 	# Need to ensure runtime linking is disabled for the traditional
   10608 	# shared library, or the linker may eventually find shared libraries
   10609 	# /with/ Import File - we do not want to mix them.
   10610 	shared_flag_aix='-shared'
   10611 	shared_flag_svr4='-shared $wl-G'
   10612       else
   10613 	# not using gcc
   10614 	if test ia64 = "$host_cpu"; then
   10615 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10616 	# chokes on -Wl,-G. The following line is correct:
   10617 	  shared_flag='-G'
   10618 	else
   10619 	  if test yes = "$aix_use_runtimelinking"; then
   10620 	    shared_flag='$wl-G'
   10621 	  else
   10622 	    shared_flag='$wl-bM:SRE'
   10623 	  fi
   10624 	  shared_flag_aix='$wl-bM:SRE'
   10625 	  shared_flag_svr4='$wl-G'
   10626 	fi
   10627       fi
   10628 
   10629       export_dynamic_flag_spec='$wl-bexpall'
   10630       # It seems that -bexpall does not export symbols beginning with
   10631       # underscore (_), so it is better to generate a list of symbols to export.
   10632       always_export_symbols=yes
   10633       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10634 	# Warning - without using the other runtime loading flags (-brtl),
   10635 	# -berok will link without error, but may produce a broken library.
   10636 	allow_undefined_flag='-berok'
   10637         # Determine the default libpath from the value encoded in an
   10638         # empty executable.
   10639         if test set = "${lt_cv_aix_libpath+set}"; then
   10640   aix_libpath=$lt_cv_aix_libpath
   10641 else
   10642   if test ${lt_cv_aix_libpath_+y}
   10643 then :
   10644   printf %s "(cached) " >&6
   10645 else $as_nop
   10646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 
   10649 int
   10650 main (void)
   10651 {
   10652 
   10653   ;
   10654   return 0;
   10655 }
   10656 _ACEOF
   10657 if ac_fn_c_try_link "$LINENO"
   10658 then :
   10659 
   10660   lt_aix_libpath_sed='
   10661       /Import File Strings/,/^$/ {
   10662 	  /^0/ {
   10663 	      s/^0  *\([^ ]*\) *$/\1/
   10664 	      p
   10665 	  }
   10666       }'
   10667   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10668   # Check for a 64-bit object if we didn't find anything.
   10669   if test -z "$lt_cv_aix_libpath_"; then
   10670     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10671   fi
   10672 fi
   10673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10674     conftest$ac_exeext conftest.$ac_ext
   10675   if test -z "$lt_cv_aix_libpath_"; then
   10676     lt_cv_aix_libpath_=/usr/lib:/lib
   10677   fi
   10678 
   10679 fi
   10680 
   10681   aix_libpath=$lt_cv_aix_libpath_
   10682 fi
   10683 
   10684         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10685         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
   10686       else
   10687 	if test ia64 = "$host_cpu"; then
   10688 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10689 	  allow_undefined_flag="-z nodefs"
   10690 	  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"
   10691 	else
   10692 	 # Determine the default libpath from the value encoded in an
   10693 	 # empty executable.
   10694 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10695   aix_libpath=$lt_cv_aix_libpath
   10696 else
   10697   if test ${lt_cv_aix_libpath_+y}
   10698 then :
   10699   printf %s "(cached) " >&6
   10700 else $as_nop
   10701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10702 /* end confdefs.h.  */
   10703 
   10704 int
   10705 main (void)
   10706 {
   10707 
   10708   ;
   10709   return 0;
   10710 }
   10711 _ACEOF
   10712 if ac_fn_c_try_link "$LINENO"
   10713 then :
   10714 
   10715   lt_aix_libpath_sed='
   10716       /Import File Strings/,/^$/ {
   10717 	  /^0/ {
   10718 	      s/^0  *\([^ ]*\) *$/\1/
   10719 	      p
   10720 	  }
   10721       }'
   10722   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10723   # Check for a 64-bit object if we didn't find anything.
   10724   if test -z "$lt_cv_aix_libpath_"; then
   10725     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10726   fi
   10727 fi
   10728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10729     conftest$ac_exeext conftest.$ac_ext
   10730   if test -z "$lt_cv_aix_libpath_"; then
   10731     lt_cv_aix_libpath_=/usr/lib:/lib
   10732   fi
   10733 
   10734 fi
   10735 
   10736   aix_libpath=$lt_cv_aix_libpath_
   10737 fi
   10738 
   10739 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10740 	  # Warning - without using the other run time loading flags,
   10741 	  # -berok will link without error, but may produce a broken library.
   10742 	  no_undefined_flag=' $wl-bernotok'
   10743 	  allow_undefined_flag=' $wl-berok'
   10744 	  if test yes = "$with_gnu_ld"; then
   10745 	    # We only use this code for GNU lds that support --whole-archive.
   10746 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10747 	  else
   10748 	    # Exported symbols can be pulled into shared objects from archives
   10749 	    whole_archive_flag_spec='$convenience'
   10750 	  fi
   10751 	  archive_cmds_need_lc=yes
   10752 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10753 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10754 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10755 	  if test svr4 != "$with_aix_soname"; then
   10756 	    # This is similar to how AIX traditionally builds its shared libraries.
   10757 	    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'
   10758 	  fi
   10759 	  if test aix != "$with_aix_soname"; then
   10760 	    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'
   10761 	  else
   10762 	    # used by -dlpreopen to get the symbols
   10763 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10764 	  fi
   10765 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10766 	fi
   10767       fi
   10768       ;;
   10769 
   10770     amigaos*)
   10771       case $host_cpu in
   10772       powerpc)
   10773             # see comment about AmigaOS4 .so support
   10774             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10775             archive_expsym_cmds=''
   10776         ;;
   10777       m68k)
   10778             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)'
   10779             hardcode_libdir_flag_spec='-L$libdir'
   10780             hardcode_minus_L=yes
   10781         ;;
   10782       esac
   10783       ;;
   10784 
   10785     bsdi[45]*)
   10786       export_dynamic_flag_spec=-rdynamic
   10787       ;;
   10788 
   10789     cygwin* | mingw* | pw32* | cegcc*)
   10790       # When not using gcc, we currently assume that we are using
   10791       # Microsoft Visual C++ or Intel C++ Compiler.
   10792       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10793       # no search path for DLLs.
   10794       case $cc_basename in
   10795       cl* | icl*)
   10796 	# Native MSVC or ICC
   10797 	hardcode_libdir_flag_spec=' '
   10798 	allow_undefined_flag=unsupported
   10799 	always_export_symbols=yes
   10800 	file_list_spec='@'
   10801 	# Tell ltmain to make .lib files, not .a files.
   10802 	libext=lib
   10803 	# Tell ltmain to make .dll files, not .so files.
   10804 	shrext_cmds=.dll
   10805 	# FIXME: Setting linknames here is a bad hack.
   10806 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10807 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10808             cp "$export_symbols" "$output_objdir/$soname.def";
   10809             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10810           else
   10811             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10812           fi~
   10813           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10814           linknames='
   10815 	# The linker will not automatically build a static lib if we build a DLL.
   10816 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10817 	enable_shared_with_static_runtimes=yes
   10818 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10819 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10820 	# Don't use ranlib
   10821 	old_postinstall_cmds='chmod 644 $oldlib'
   10822 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10823           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10824           case $lt_outputfile in
   10825             *.exe|*.EXE) ;;
   10826             *)
   10827               lt_outputfile=$lt_outputfile.exe
   10828               lt_tool_outputfile=$lt_tool_outputfile.exe
   10829               ;;
   10830           esac~
   10831           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10832             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10833             $RM "$lt_outputfile.manifest";
   10834           fi'
   10835 	;;
   10836       *)
   10837 	# Assume MSVC and ICC wrapper
   10838 	hardcode_libdir_flag_spec=' '
   10839 	allow_undefined_flag=unsupported
   10840 	# Tell ltmain to make .lib files, not .a files.
   10841 	libext=lib
   10842 	# Tell ltmain to make .dll files, not .so files.
   10843 	shrext_cmds=.dll
   10844 	# FIXME: Setting linknames here is a bad hack.
   10845 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10846 	# The linker will automatically build a .lib file if we build a DLL.
   10847 	old_archive_from_new_cmds='true'
   10848 	# FIXME: Should let the user specify the lib program.
   10849 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10850 	enable_shared_with_static_runtimes=yes
   10851 	;;
   10852       esac
   10853       ;;
   10854 
   10855     darwin* | rhapsody*)
   10856 
   10857 
   10858   archive_cmds_need_lc=no
   10859   hardcode_direct=no
   10860   hardcode_automatic=yes
   10861   hardcode_shlibpath_var=unsupported
   10862   if test yes = "$lt_cv_ld_force_load"; then
   10863     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\"`'
   10864 
   10865   else
   10866     whole_archive_flag_spec=''
   10867   fi
   10868   link_all_deplibs=yes
   10869   allow_undefined_flag=$_lt_dar_allow_undefined
   10870   case $cc_basename in
   10871      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10872      *) _lt_dar_can_shared=$GCC ;;
   10873   esac
   10874   if test yes = "$_lt_dar_can_shared"; then
   10875     output_verbose_link_cmd=func_echo_all
   10876     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10877     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10878     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"
   10879     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"
   10880 
   10881   else
   10882   ld_shlibs=no
   10883   fi
   10884 
   10885       ;;
   10886 
   10887     dgux*)
   10888       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10889       hardcode_libdir_flag_spec='-L$libdir'
   10890       hardcode_shlibpath_var=no
   10891       ;;
   10892 
   10893     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10894     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10895     # does not break anything, and helps significantly (at the cost of a little
   10896     # extra space).
   10897     freebsd2.2*)
   10898       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10899       hardcode_libdir_flag_spec='-R$libdir'
   10900       hardcode_direct=yes
   10901       hardcode_shlibpath_var=no
   10902       ;;
   10903 
   10904     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10905     freebsd2.*)
   10906       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10907       hardcode_direct=yes
   10908       hardcode_minus_L=yes
   10909       hardcode_shlibpath_var=no
   10910       ;;
   10911 
   10912     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10913     freebsd* | dragonfly* | midnightbsd*)
   10914       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10915       hardcode_libdir_flag_spec='-R$libdir'
   10916       hardcode_direct=yes
   10917       hardcode_shlibpath_var=no
   10918       ;;
   10919 
   10920     hpux9*)
   10921       if test yes = "$GCC"; then
   10922 	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'
   10923       else
   10924 	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'
   10925       fi
   10926       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10927       hardcode_libdir_separator=:
   10928       hardcode_direct=yes
   10929 
   10930       # hardcode_minus_L: Not really in the search PATH,
   10931       # but as the default location of the library.
   10932       hardcode_minus_L=yes
   10933       export_dynamic_flag_spec='$wl-E'
   10934       ;;
   10935 
   10936     hpux10*)
   10937       if test yes,no = "$GCC,$with_gnu_ld"; then
   10938 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10939       else
   10940 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10941       fi
   10942       if test no = "$with_gnu_ld"; then
   10943 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10944 	hardcode_libdir_separator=:
   10945 	hardcode_direct=yes
   10946 	hardcode_direct_absolute=yes
   10947 	export_dynamic_flag_spec='$wl-E'
   10948 	# hardcode_minus_L: Not really in the search PATH,
   10949 	# but as the default location of the library.
   10950 	hardcode_minus_L=yes
   10951       fi
   10952       ;;
   10953 
   10954     hpux11*)
   10955       if test yes,no = "$GCC,$with_gnu_ld"; then
   10956 	case $host_cpu in
   10957 	hppa*64*)
   10958 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10959 	  ;;
   10960 	ia64*)
   10961 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10962 	  ;;
   10963 	*)
   10964 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10965 	  ;;
   10966 	esac
   10967       else
   10968 	case $host_cpu in
   10969 	hppa*64*)
   10970 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10971 	  ;;
   10972 	ia64*)
   10973 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10974 	  ;;
   10975 	*)
   10976 
   10977 	  # Older versions of the 11.00 compiler do not understand -b yet
   10978 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10979 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10980 printf %s "checking if $CC understands -b... " >&6; }
   10981 if test ${lt_cv_prog_compiler__b+y}
   10982 then :
   10983   printf %s "(cached) " >&6
   10984 else $as_nop
   10985   lt_cv_prog_compiler__b=no
   10986    save_LDFLAGS=$LDFLAGS
   10987    LDFLAGS="$LDFLAGS -b"
   10988    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10989    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10990      # The linker can only warn and ignore the option if not recognized
   10991      # So say no if there are warnings
   10992      if test -s conftest.err; then
   10993        # Append any errors to the config.log.
   10994        cat conftest.err 1>&5
   10995        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10996        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10997        if diff conftest.exp conftest.er2 >/dev/null; then
   10998          lt_cv_prog_compiler__b=yes
   10999        fi
   11000      else
   11001        lt_cv_prog_compiler__b=yes
   11002      fi
   11003    fi
   11004    $RM -r conftest*
   11005    LDFLAGS=$save_LDFLAGS
   11006 
   11007 fi
   11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11009 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11010 
   11011 if test yes = "$lt_cv_prog_compiler__b"; then
   11012     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11013 else
   11014     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11015 fi
   11016 
   11017 	  ;;
   11018 	esac
   11019       fi
   11020       if test no = "$with_gnu_ld"; then
   11021 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11022 	hardcode_libdir_separator=:
   11023 
   11024 	case $host_cpu in
   11025 	hppa*64*|ia64*)
   11026 	  hardcode_direct=no
   11027 	  hardcode_shlibpath_var=no
   11028 	  ;;
   11029 	*)
   11030 	  hardcode_direct=yes
   11031 	  hardcode_direct_absolute=yes
   11032 	  export_dynamic_flag_spec='$wl-E'
   11033 
   11034 	  # hardcode_minus_L: Not really in the search PATH,
   11035 	  # but as the default location of the library.
   11036 	  hardcode_minus_L=yes
   11037 	  ;;
   11038 	esac
   11039       fi
   11040       ;;
   11041 
   11042     irix5* | irix6* | nonstopux*)
   11043       if test yes = "$GCC"; then
   11044 	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'
   11045 	# Try to use the -exported_symbol ld option, if it does not
   11046 	# work, assume that -exports_file does not work either and
   11047 	# implicitly export all symbols.
   11048 	# This should be the same for all languages, so no per-tag cache variable.
   11049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11050 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11051 if test ${lt_cv_irix_exported_symbol+y}
   11052 then :
   11053   printf %s "(cached) " >&6
   11054 else $as_nop
   11055   save_LDFLAGS=$LDFLAGS
   11056 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11057 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11058 /* end confdefs.h.  */
   11059 int foo (void) { return 0; }
   11060 _ACEOF
   11061 if ac_fn_c_try_link "$LINENO"
   11062 then :
   11063   lt_cv_irix_exported_symbol=yes
   11064 else $as_nop
   11065   lt_cv_irix_exported_symbol=no
   11066 fi
   11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11068     conftest$ac_exeext conftest.$ac_ext
   11069            LDFLAGS=$save_LDFLAGS
   11070 fi
   11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11072 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11073 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11074           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'
   11075 	fi
   11076       else
   11077 	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'
   11078 	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'
   11079       fi
   11080       archive_cmds_need_lc='no'
   11081       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11082       hardcode_libdir_separator=:
   11083       inherit_rpath=yes
   11084       link_all_deplibs=yes
   11085       ;;
   11086 
   11087     linux*)
   11088       case $cc_basename in
   11089       tcc*)
   11090 	# Fabrice Bellard et al's Tiny C Compiler
   11091 	ld_shlibs=yes
   11092 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11093 	;;
   11094       esac
   11095       ;;
   11096 
   11097     netbsd*)
   11098       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11099 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11100       else
   11101 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11102       fi
   11103       hardcode_libdir_flag_spec='-R$libdir'
   11104       hardcode_direct=yes
   11105       hardcode_shlibpath_var=no
   11106       ;;
   11107 
   11108     newsos6)
   11109       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11110       hardcode_direct=yes
   11111       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11112       hardcode_libdir_separator=:
   11113       hardcode_shlibpath_var=no
   11114       ;;
   11115 
   11116     *nto* | *qnx*)
   11117       ;;
   11118 
   11119     openbsd* | bitrig*)
   11120       if test -f /usr/libexec/ld.so; then
   11121 	hardcode_direct=yes
   11122 	hardcode_shlibpath_var=no
   11123 	hardcode_direct_absolute=yes
   11124 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11125 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11126 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11127 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11128 	  export_dynamic_flag_spec='$wl-E'
   11129 	else
   11130 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11131 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11132 	fi
   11133       else
   11134 	ld_shlibs=no
   11135       fi
   11136       ;;
   11137 
   11138     os2*)
   11139       hardcode_libdir_flag_spec='-L$libdir'
   11140       hardcode_minus_L=yes
   11141       allow_undefined_flag=unsupported
   11142       shrext_cmds=.dll
   11143       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11144 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11145 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11146 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11147 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11148 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11149 	emximp -o $lib $output_objdir/$libname.def'
   11150       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11151 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11152 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11153 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11154 	prefix_cmds="$SED"~
   11155 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11156 	  prefix_cmds="$prefix_cmds -e 1d";
   11157 	fi~
   11158 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11159 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11160 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11161 	emximp -o $lib $output_objdir/$libname.def'
   11162       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11163       enable_shared_with_static_runtimes=yes
   11164       file_list_spec='@'
   11165       ;;
   11166 
   11167     osf3*)
   11168       if test yes = "$GCC"; then
   11169 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11170 	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'
   11171       else
   11172 	allow_undefined_flag=' -expect_unresolved \*'
   11173 	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'
   11174       fi
   11175       archive_cmds_need_lc='no'
   11176       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11177       hardcode_libdir_separator=:
   11178       ;;
   11179 
   11180     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11181       if test yes = "$GCC"; then
   11182 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11183 	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'
   11184 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11185       else
   11186 	allow_undefined_flag=' -expect_unresolved \*'
   11187 	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'
   11188 	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~
   11189           $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'
   11190 
   11191 	# Both c and cxx compiler support -rpath directly
   11192 	hardcode_libdir_flag_spec='-rpath $libdir'
   11193       fi
   11194       archive_cmds_need_lc='no'
   11195       hardcode_libdir_separator=:
   11196       ;;
   11197 
   11198     solaris*)
   11199       no_undefined_flag=' -z defs'
   11200       if test yes = "$GCC"; then
   11201 	wlarc='$wl'
   11202 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11203 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11204           $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'
   11205       else
   11206 	case `$CC -V 2>&1` in
   11207 	*"Compilers 5.0"*)
   11208 	  wlarc=''
   11209 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11210 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11211             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11212 	  ;;
   11213 	*)
   11214 	  wlarc='$wl'
   11215 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11216 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11217             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11218 	  ;;
   11219 	esac
   11220       fi
   11221       hardcode_libdir_flag_spec='-R$libdir'
   11222       hardcode_shlibpath_var=no
   11223       case $host_os in
   11224       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11225       *)
   11226 	# The compiler driver will combine and reorder linker options,
   11227 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11228 	# but is careful enough not to reorder.
   11229 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11230 	if test yes = "$GCC"; then
   11231 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11232 	else
   11233 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11234 	fi
   11235 	;;
   11236       esac
   11237       link_all_deplibs=yes
   11238       ;;
   11239 
   11240     sunos4*)
   11241       if test sequent = "$host_vendor"; then
   11242 	# Use $CC to link under sequent, because it throws in some extra .o
   11243 	# files that make .init and .fini sections work.
   11244 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11245       else
   11246 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11247       fi
   11248       hardcode_libdir_flag_spec='-L$libdir'
   11249       hardcode_direct=yes
   11250       hardcode_minus_L=yes
   11251       hardcode_shlibpath_var=no
   11252       ;;
   11253 
   11254     sysv4)
   11255       case $host_vendor in
   11256 	sni)
   11257 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11258 	  hardcode_direct=yes # is this really true???
   11259 	;;
   11260 	siemens)
   11261 	  ## LD is ld it makes a PLAMLIB
   11262 	  ## CC just makes a GrossModule.
   11263 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11264 	  reload_cmds='$CC -r -o $output$reload_objs'
   11265 	  hardcode_direct=no
   11266         ;;
   11267 	motorola)
   11268 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11269 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11270 	;;
   11271       esac
   11272       runpath_var='LD_RUN_PATH'
   11273       hardcode_shlibpath_var=no
   11274       ;;
   11275 
   11276     sysv4.3*)
   11277       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11278       hardcode_shlibpath_var=no
   11279       export_dynamic_flag_spec='-Bexport'
   11280       ;;
   11281 
   11282     sysv4*MP*)
   11283       if test -d /usr/nec; then
   11284 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11285 	hardcode_shlibpath_var=no
   11286 	runpath_var=LD_RUN_PATH
   11287 	hardcode_runpath_var=yes
   11288 	ld_shlibs=yes
   11289       fi
   11290       ;;
   11291 
   11292     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11293       no_undefined_flag='$wl-z,text'
   11294       archive_cmds_need_lc=no
   11295       hardcode_shlibpath_var=no
   11296       runpath_var='LD_RUN_PATH'
   11297 
   11298       if test yes = "$GCC"; then
   11299 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11300 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11301       else
   11302 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11303 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11304       fi
   11305       ;;
   11306 
   11307     sysv5* | sco3.2v5* | sco5v6*)
   11308       # Note: We CANNOT use -z defs as we might desire, because we do not
   11309       # link with -lc, and that would cause any symbols used from libc to
   11310       # always be unresolved, which means just about no library would
   11311       # ever link correctly.  If we're not using GNU ld we use -z text
   11312       # though, which does catch some bad symbols but isn't as heavy-handed
   11313       # as -z defs.
   11314       no_undefined_flag='$wl-z,text'
   11315       allow_undefined_flag='$wl-z,nodefs'
   11316       archive_cmds_need_lc=no
   11317       hardcode_shlibpath_var=no
   11318       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11319       hardcode_libdir_separator=':'
   11320       link_all_deplibs=yes
   11321       export_dynamic_flag_spec='$wl-Bexport'
   11322       runpath_var='LD_RUN_PATH'
   11323 
   11324       if test yes = "$GCC"; then
   11325 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11326 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11327       else
   11328 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11329 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11330       fi
   11331       ;;
   11332 
   11333     uts4*)
   11334       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11335       hardcode_libdir_flag_spec='-L$libdir'
   11336       hardcode_shlibpath_var=no
   11337       ;;
   11338 
   11339     *)
   11340       ld_shlibs=no
   11341       ;;
   11342     esac
   11343 
   11344     if test sni = "$host_vendor"; then
   11345       case $host in
   11346       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11347 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11348 	;;
   11349       esac
   11350     fi
   11351   fi
   11352 
   11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11354 printf "%s\n" "$ld_shlibs" >&6; }
   11355 test no = "$ld_shlibs" && can_build_shared=no
   11356 
   11357 with_gnu_ld=$with_gnu_ld
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 #
   11374 # Do we need to explicitly link libc?
   11375 #
   11376 case "x$archive_cmds_need_lc" in
   11377 x|xyes)
   11378   # Assume -lc should be added
   11379   archive_cmds_need_lc=yes
   11380 
   11381   if test yes,yes = "$GCC,$enable_shared"; then
   11382     case $archive_cmds in
   11383     *'~'*)
   11384       # FIXME: we may have to deal with multi-command sequences.
   11385       ;;
   11386     '$CC '*)
   11387       # Test whether the compiler implicitly links with -lc since on some
   11388       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11389       # to ld, don't add -lc before -lgcc.
   11390       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11391 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11392 if test ${lt_cv_archive_cmds_need_lc+y}
   11393 then :
   11394   printf %s "(cached) " >&6
   11395 else $as_nop
   11396   $RM conftest*
   11397 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11398 
   11399 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11400   (eval $ac_compile) 2>&5
   11401   ac_status=$?
   11402   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11403   test $ac_status = 0; } 2>conftest.err; then
   11404 	  soname=conftest
   11405 	  lib=conftest
   11406 	  libobjs=conftest.$ac_objext
   11407 	  deplibs=
   11408 	  wl=$lt_prog_compiler_wl
   11409 	  pic_flag=$lt_prog_compiler_pic
   11410 	  compiler_flags=-v
   11411 	  linker_flags=-v
   11412 	  verstring=
   11413 	  output_objdir=.
   11414 	  libname=conftest
   11415 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11416 	  allow_undefined_flag=
   11417 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11418   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11419   ac_status=$?
   11420   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11421   test $ac_status = 0; }
   11422 	  then
   11423 	    lt_cv_archive_cmds_need_lc=no
   11424 	  else
   11425 	    lt_cv_archive_cmds_need_lc=yes
   11426 	  fi
   11427 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11428 	else
   11429 	  cat conftest.err 1>&5
   11430 	fi
   11431 	$RM conftest*
   11432 
   11433 fi
   11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11435 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11436       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11437       ;;
   11438     esac
   11439   fi
   11440   ;;
   11441 esac
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11595 printf %s "checking dynamic linker characteristics... " >&6; }
   11596 
   11597 if test yes = "$GCC"; then
   11598   case $host_os in
   11599     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11600     *) lt_awk_arg='/^libraries:/' ;;
   11601   esac
   11602   case $host_os in
   11603     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11604     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11605   esac
   11606   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11607   case $lt_search_path_spec in
   11608   *\;*)
   11609     # if the path contains ";" then we assume it to be the separator
   11610     # otherwise default to the standard path separator (i.e. ":") - it is
   11611     # assumed that no part of a normal pathname contains ";" but that should
   11612     # okay in the real world where ";" in dirpaths is itself problematic.
   11613     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11614     ;;
   11615   *)
   11616     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11617     ;;
   11618   esac
   11619   # Ok, now we have the path, separated by spaces, we can step through it
   11620   # and add multilib dir if necessary...
   11621   lt_tmp_lt_search_path_spec=
   11622   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11623   # ...but if some path component already ends with the multilib dir we assume
   11624   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11625   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11626   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11627     lt_multi_os_dir=
   11628     ;;
   11629   esac
   11630   for lt_sys_path in $lt_search_path_spec; do
   11631     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11632       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11633     elif test -n "$lt_multi_os_dir"; then
   11634       test -d "$lt_sys_path" && \
   11635 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11636     fi
   11637   done
   11638   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11639 BEGIN {RS = " "; FS = "/|\n";} {
   11640   lt_foo = "";
   11641   lt_count = 0;
   11642   for (lt_i = NF; lt_i > 0; lt_i--) {
   11643     if ($lt_i != "" && $lt_i != ".") {
   11644       if ($lt_i == "..") {
   11645         lt_count++;
   11646       } else {
   11647         if (lt_count == 0) {
   11648           lt_foo = "/" $lt_i lt_foo;
   11649         } else {
   11650           lt_count--;
   11651         }
   11652       }
   11653     }
   11654   }
   11655   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11656   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11657 }'`
   11658   # AWK program above erroneously prepends '/' to C:/dos/paths
   11659   # for these hosts.
   11660   case $host_os in
   11661     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11662       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11663   esac
   11664   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11665 else
   11666   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11667 fi
   11668 library_names_spec=
   11669 libname_spec='lib$name'
   11670 soname_spec=
   11671 shrext_cmds=.so
   11672 postinstall_cmds=
   11673 postuninstall_cmds=
   11674 finish_cmds=
   11675 finish_eval=
   11676 shlibpath_var=
   11677 shlibpath_overrides_runpath=unknown
   11678 version_type=none
   11679 dynamic_linker="$host_os ld.so"
   11680 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11681 need_lib_prefix=unknown
   11682 hardcode_into_libs=no
   11683 
   11684 # when you set need_version to no, make sure it does not cause -set_version
   11685 # flags to be left without arguments
   11686 need_version=unknown
   11687 
   11688 
   11689 
   11690 case $host_os in
   11691 aix3*)
   11692   version_type=linux # correct to gnu/linux during the next big refactor
   11693   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11694   shlibpath_var=LIBPATH
   11695 
   11696   # AIX 3 has no versioning support, so we append a major version to the name.
   11697   soname_spec='$libname$release$shared_ext$major'
   11698   ;;
   11699 
   11700 aix[4-9]*)
   11701   version_type=linux # correct to gnu/linux during the next big refactor
   11702   need_lib_prefix=no
   11703   need_version=no
   11704   hardcode_into_libs=yes
   11705   if test ia64 = "$host_cpu"; then
   11706     # AIX 5 supports IA64
   11707     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11708     shlibpath_var=LD_LIBRARY_PATH
   11709   else
   11710     # With GCC up to 2.95.x, collect2 would create an import file
   11711     # for dependence libraries.  The import file would start with
   11712     # the line '#! .'.  This would cause the generated library to
   11713     # depend on '.', always an invalid library.  This was fixed in
   11714     # development snapshots of GCC prior to 3.0.
   11715     case $host_os in
   11716       aix4 | aix4.[01] | aix4.[01].*)
   11717       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11718 	   echo ' yes '
   11719 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11720 	:
   11721       else
   11722 	can_build_shared=no
   11723       fi
   11724       ;;
   11725     esac
   11726     # Using Import Files as archive members, it is possible to support
   11727     # filename-based versioning of shared library archives on AIX. While
   11728     # this would work for both with and without runtime linking, it will
   11729     # prevent static linking of such archives. So we do filename-based
   11730     # shared library versioning with .so extension only, which is used
   11731     # when both runtime linking and shared linking is enabled.
   11732     # Unfortunately, runtime linking may impact performance, so we do
   11733     # not want this to be the default eventually. Also, we use the
   11734     # versioned .so libs for executables only if there is the -brtl
   11735     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11736     # To allow for filename-based versioning support, we need to create
   11737     # libNAME.so.V as an archive file, containing:
   11738     # *) an Import File, referring to the versioned filename of the
   11739     #    archive as well as the shared archive member, telling the
   11740     #    bitwidth (32 or 64) of that shared object, and providing the
   11741     #    list of exported symbols of that shared object, eventually
   11742     #    decorated with the 'weak' keyword
   11743     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11744     #    it being seen by the linker.
   11745     # At run time we better use the real file rather than another symlink,
   11746     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11747 
   11748     case $with_aix_soname,$aix_use_runtimelinking in
   11749     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11750     # soname into executable. Probably we can add versioning support to
   11751     # collect2, so additional links can be useful in future.
   11752     aix,yes) # traditional libtool
   11753       dynamic_linker='AIX unversionable lib.so'
   11754       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11755       # instead of lib<name>.a to let people know that these are not
   11756       # typical AIX shared libraries.
   11757       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11758       ;;
   11759     aix,no) # traditional AIX only
   11760       dynamic_linker='AIX lib.a(lib.so.V)'
   11761       # We preserve .a as extension for shared libraries through AIX4.2
   11762       # and later when we are not doing run time linking.
   11763       library_names_spec='$libname$release.a $libname.a'
   11764       soname_spec='$libname$release$shared_ext$major'
   11765       ;;
   11766     svr4,*) # full svr4 only
   11767       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11768       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11769       # We do not specify a path in Import Files, so LIBPATH fires.
   11770       shlibpath_overrides_runpath=yes
   11771       ;;
   11772     *,yes) # both, prefer svr4
   11773       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11774       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11775       # unpreferred sharedlib libNAME.a needs extra handling
   11776       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"'
   11777       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"'
   11778       # We do not specify a path in Import Files, so LIBPATH fires.
   11779       shlibpath_overrides_runpath=yes
   11780       ;;
   11781     *,no) # both, prefer aix
   11782       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11783       library_names_spec='$libname$release.a $libname.a'
   11784       soname_spec='$libname$release$shared_ext$major'
   11785       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11786       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)'
   11787       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"'
   11788       ;;
   11789     esac
   11790     shlibpath_var=LIBPATH
   11791   fi
   11792   ;;
   11793 
   11794 amigaos*)
   11795   case $host_cpu in
   11796   powerpc)
   11797     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11798     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11799     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11800     ;;
   11801   m68k)
   11802     library_names_spec='$libname.ixlibrary $libname.a'
   11803     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11804     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'
   11805     ;;
   11806   esac
   11807   ;;
   11808 
   11809 beos*)
   11810   library_names_spec='$libname$shared_ext'
   11811   dynamic_linker="$host_os ld.so"
   11812   shlibpath_var=LIBRARY_PATH
   11813   ;;
   11814 
   11815 bsdi[45]*)
   11816   version_type=linux # correct to gnu/linux during the next big refactor
   11817   need_version=no
   11818   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11819   soname_spec='$libname$release$shared_ext$major'
   11820   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11821   shlibpath_var=LD_LIBRARY_PATH
   11822   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11823   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11824   # the default ld.so.conf also contains /usr/contrib/lib and
   11825   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11826   # libtool to hard-code these into programs
   11827   ;;
   11828 
   11829 cygwin* | mingw* | pw32* | cegcc*)
   11830   version_type=windows
   11831   shrext_cmds=.dll
   11832   need_version=no
   11833   need_lib_prefix=no
   11834 
   11835   case $GCC,$cc_basename in
   11836   yes,*)
   11837     # gcc
   11838     library_names_spec='$libname.dll.a'
   11839     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11840     postinstall_cmds='base_file=`basename \$file`~
   11841       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11842       dldir=$destdir/`dirname \$dlpath`~
   11843       test -d \$dldir || mkdir -p \$dldir~
   11844       $install_prog $dir/$dlname \$dldir/$dlname~
   11845       chmod a+x \$dldir/$dlname~
   11846       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11847         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11848       fi'
   11849     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11850       dlpath=$dir/\$dldll~
   11851        $RM \$dlpath'
   11852     shlibpath_overrides_runpath=yes
   11853 
   11854     case $host_os in
   11855     cygwin*)
   11856       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11857       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11858 
   11859       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11860       ;;
   11861     mingw* | cegcc*)
   11862       # MinGW DLLs use traditional 'lib' prefix
   11863       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11864       ;;
   11865     pw32*)
   11866       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11867       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11868       ;;
   11869     esac
   11870     dynamic_linker='Win32 ld.exe'
   11871     ;;
   11872 
   11873   *,cl* | *,icl*)
   11874     # Native MSVC or ICC
   11875     libname_spec='$name'
   11876     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11877     library_names_spec='$libname.dll.lib'
   11878 
   11879     case $build_os in
   11880     mingw*)
   11881       sys_lib_search_path_spec=
   11882       lt_save_ifs=$IFS
   11883       IFS=';'
   11884       for lt_path in $LIB
   11885       do
   11886         IFS=$lt_save_ifs
   11887         # Let DOS variable expansion print the short 8.3 style file name.
   11888         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11889         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11890       done
   11891       IFS=$lt_save_ifs
   11892       # Convert to MSYS style.
   11893       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11894       ;;
   11895     cygwin*)
   11896       # Convert to unix form, then to dos form, then back to unix form
   11897       # but this time dos style (no spaces!) so that the unix form looks
   11898       # like /cygdrive/c/PROGRA~1:/cygdr...
   11899       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11900       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11901       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11902       ;;
   11903     *)
   11904       sys_lib_search_path_spec=$LIB
   11905       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11906         # It is most probably a Windows format PATH.
   11907         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11908       else
   11909         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11910       fi
   11911       # FIXME: find the short name or the path components, as spaces are
   11912       # common. (e.g. "Program Files" -> "PROGRA~1")
   11913       ;;
   11914     esac
   11915 
   11916     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11917     postinstall_cmds='base_file=`basename \$file`~
   11918       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11919       dldir=$destdir/`dirname \$dlpath`~
   11920       test -d \$dldir || mkdir -p \$dldir~
   11921       $install_prog $dir/$dlname \$dldir/$dlname'
   11922     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11923       dlpath=$dir/\$dldll~
   11924        $RM \$dlpath'
   11925     shlibpath_overrides_runpath=yes
   11926     dynamic_linker='Win32 link.exe'
   11927     ;;
   11928 
   11929   *)
   11930     # Assume MSVC and ICC wrapper
   11931     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11932     dynamic_linker='Win32 ld.exe'
   11933     ;;
   11934   esac
   11935   # FIXME: first we should search . and the directory the executable is in
   11936   shlibpath_var=PATH
   11937   ;;
   11938 
   11939 darwin* | rhapsody*)
   11940   dynamic_linker="$host_os dyld"
   11941   version_type=darwin
   11942   need_lib_prefix=no
   11943   need_version=no
   11944   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11945   soname_spec='$libname$release$major$shared_ext'
   11946   shlibpath_overrides_runpath=yes
   11947   shlibpath_var=DYLD_LIBRARY_PATH
   11948   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11949 
   11950   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11951   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11952   ;;
   11953 
   11954 dgux*)
   11955   version_type=linux # correct to gnu/linux during the next big refactor
   11956   need_lib_prefix=no
   11957   need_version=no
   11958   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11959   soname_spec='$libname$release$shared_ext$major'
   11960   shlibpath_var=LD_LIBRARY_PATH
   11961   ;;
   11962 
   11963 freebsd* | dragonfly* | midnightbsd*)
   11964   # DragonFly does not have aout.  When/if they implement a new
   11965   # versioning mechanism, adjust this.
   11966   if test -x /usr/bin/objformat; then
   11967     objformat=`/usr/bin/objformat`
   11968   else
   11969     case $host_os in
   11970     freebsd[23].*) objformat=aout ;;
   11971     *) objformat=elf ;;
   11972     esac
   11973   fi
   11974   version_type=freebsd-$objformat
   11975   case $version_type in
   11976     freebsd-elf*)
   11977       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11978       soname_spec='$libname$release$shared_ext$major'
   11979       need_version=no
   11980       need_lib_prefix=no
   11981       ;;
   11982     freebsd-*)
   11983       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11984       need_version=yes
   11985       ;;
   11986   esac
   11987   shlibpath_var=LD_LIBRARY_PATH
   11988   case $host_os in
   11989   freebsd2.*)
   11990     shlibpath_overrides_runpath=yes
   11991     ;;
   11992   freebsd3.[01]* | freebsdelf3.[01]*)
   11993     shlibpath_overrides_runpath=yes
   11994     hardcode_into_libs=yes
   11995     ;;
   11996   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11997   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11998     shlibpath_overrides_runpath=no
   11999     hardcode_into_libs=yes
   12000     ;;
   12001   *) # from 4.6 on, and DragonFly
   12002     shlibpath_overrides_runpath=yes
   12003     hardcode_into_libs=yes
   12004     ;;
   12005   esac
   12006   ;;
   12007 
   12008 haiku*)
   12009   version_type=linux # correct to gnu/linux during the next big refactor
   12010   need_lib_prefix=no
   12011   need_version=no
   12012   dynamic_linker="$host_os runtime_loader"
   12013   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12014   soname_spec='$libname$release$shared_ext$major'
   12015   shlibpath_var=LIBRARY_PATH
   12016   shlibpath_overrides_runpath=no
   12017   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12018   hardcode_into_libs=yes
   12019   ;;
   12020 
   12021 hpux9* | hpux10* | hpux11*)
   12022   # Give a soname corresponding to the major version so that dld.sl refuses to
   12023   # link against other versions.
   12024   version_type=sunos
   12025   need_lib_prefix=no
   12026   need_version=no
   12027   case $host_cpu in
   12028   ia64*)
   12029     shrext_cmds='.so'
   12030     hardcode_into_libs=yes
   12031     dynamic_linker="$host_os dld.so"
   12032     shlibpath_var=LD_LIBRARY_PATH
   12033     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12034     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12035     soname_spec='$libname$release$shared_ext$major'
   12036     if test 32 = "$HPUX_IA64_MODE"; then
   12037       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12038       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12039     else
   12040       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12041       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12042     fi
   12043     ;;
   12044   hppa*64*)
   12045     shrext_cmds='.sl'
   12046     hardcode_into_libs=yes
   12047     dynamic_linker="$host_os dld.sl"
   12048     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12049     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12050     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12051     soname_spec='$libname$release$shared_ext$major'
   12052     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12053     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12054     ;;
   12055   *)
   12056     shrext_cmds='.sl'
   12057     dynamic_linker="$host_os dld.sl"
   12058     shlibpath_var=SHLIB_PATH
   12059     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12060     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12061     soname_spec='$libname$release$shared_ext$major'
   12062     ;;
   12063   esac
   12064   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12065   postinstall_cmds='chmod 555 $lib'
   12066   # or fails outright, so override atomically:
   12067   install_override_mode=555
   12068   ;;
   12069 
   12070 interix[3-9]*)
   12071   version_type=linux # correct to gnu/linux during the next big refactor
   12072   need_lib_prefix=no
   12073   need_version=no
   12074   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12075   soname_spec='$libname$release$shared_ext$major'
   12076   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12077   shlibpath_var=LD_LIBRARY_PATH
   12078   shlibpath_overrides_runpath=no
   12079   hardcode_into_libs=yes
   12080   ;;
   12081 
   12082 irix5* | irix6* | nonstopux*)
   12083   case $host_os in
   12084     nonstopux*) version_type=nonstopux ;;
   12085     *)
   12086 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12087 		version_type=linux # correct to gnu/linux during the next big refactor
   12088 	else
   12089 		version_type=irix
   12090 	fi ;;
   12091   esac
   12092   need_lib_prefix=no
   12093   need_version=no
   12094   soname_spec='$libname$release$shared_ext$major'
   12095   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12096   case $host_os in
   12097   irix5* | nonstopux*)
   12098     libsuff= shlibsuff=
   12099     ;;
   12100   *)
   12101     case $LD in # libtool.m4 will add one of these switches to LD
   12102     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12103       libsuff= shlibsuff= libmagic=32-bit;;
   12104     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12105       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12106     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12107       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12108     *) libsuff= shlibsuff= libmagic=never-match;;
   12109     esac
   12110     ;;
   12111   esac
   12112   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12113   shlibpath_overrides_runpath=no
   12114   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12115   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12116   hardcode_into_libs=yes
   12117   ;;
   12118 
   12119 # No shared lib support for Linux oldld, aout, or coff.
   12120 linux*oldld* | linux*aout* | linux*coff*)
   12121   dynamic_linker=no
   12122   ;;
   12123 
   12124 linux*android*)
   12125   version_type=none # Android doesn't support versioned libraries.
   12126   need_lib_prefix=no
   12127   need_version=no
   12128   library_names_spec='$libname$release$shared_ext'
   12129   soname_spec='$libname$release$shared_ext'
   12130   finish_cmds=
   12131   shlibpath_var=LD_LIBRARY_PATH
   12132   shlibpath_overrides_runpath=yes
   12133 
   12134   # This implies no fast_install, which is unacceptable.
   12135   # Some rework will be needed to allow for fast_install
   12136   # before this can be enabled.
   12137   hardcode_into_libs=yes
   12138 
   12139   dynamic_linker='Android linker'
   12140   # Don't embed -rpath directories since the linker doesn't support them.
   12141   hardcode_libdir_flag_spec='-L$libdir'
   12142   ;;
   12143 
   12144 # This must be glibc/ELF.
   12145 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12146   version_type=linux # correct to gnu/linux during the next big refactor
   12147   need_lib_prefix=no
   12148   need_version=no
   12149   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12150   soname_spec='$libname$release$shared_ext$major'
   12151   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12152   shlibpath_var=LD_LIBRARY_PATH
   12153   shlibpath_overrides_runpath=no
   12154 
   12155   # Some binutils ld are patched to set DT_RUNPATH
   12156   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12157 then :
   12158   printf %s "(cached) " >&6
   12159 else $as_nop
   12160   lt_cv_shlibpath_overrides_runpath=no
   12161     save_LDFLAGS=$LDFLAGS
   12162     save_libdir=$libdir
   12163     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12164 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12165     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12166 /* end confdefs.h.  */
   12167 
   12168 int
   12169 main (void)
   12170 {
   12171 
   12172   ;
   12173   return 0;
   12174 }
   12175 _ACEOF
   12176 if ac_fn_c_try_link "$LINENO"
   12177 then :
   12178   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12179 then :
   12180   lt_cv_shlibpath_overrides_runpath=yes
   12181 fi
   12182 fi
   12183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12184     conftest$ac_exeext conftest.$ac_ext
   12185     LDFLAGS=$save_LDFLAGS
   12186     libdir=$save_libdir
   12187 
   12188 fi
   12189 
   12190   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12191 
   12192   # This implies no fast_install, which is unacceptable.
   12193   # Some rework will be needed to allow for fast_install
   12194   # before this can be enabled.
   12195   hardcode_into_libs=yes
   12196 
   12197   # Ideally, we could use ldconfig to report *all* directores which are
   12198   # searched for libraries, however this is still not possible.  Aside from not
   12199   # being certain /sbin/ldconfig is available, command
   12200   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12201   # even though it is searched at run-time.  Try to do the best guess by
   12202   # appending ld.so.conf contents (and includes) to the search path.
   12203   if test -f /etc/ld.so.conf; then
   12204     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' ' '`
   12205     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12206   fi
   12207 
   12208   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12209   # powerpc, because MkLinux only supported shared libraries with the
   12210   # GNU dynamic linker.  Since this was broken with cross compilers,
   12211   # most powerpc-linux boxes support dynamic linking these days and
   12212   # people can always --disable-shared, the test was removed, and we
   12213   # assume the GNU/Linux dynamic linker is in use.
   12214   dynamic_linker='GNU/Linux ld.so'
   12215   ;;
   12216 
   12217 netbsd*)
   12218   version_type=sunos
   12219   need_lib_prefix=no
   12220   need_version=no
   12221   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12222     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12223     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12224     dynamic_linker='NetBSD (a.out) ld.so'
   12225   else
   12226     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12227     soname_spec='$libname$release$shared_ext$major'
   12228     dynamic_linker='NetBSD ld.elf_so'
   12229   fi
   12230   shlibpath_var=LD_LIBRARY_PATH
   12231   shlibpath_overrides_runpath=yes
   12232   hardcode_into_libs=yes
   12233   ;;
   12234 
   12235 newsos6)
   12236   version_type=linux # correct to gnu/linux during the next big refactor
   12237   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12238   shlibpath_var=LD_LIBRARY_PATH
   12239   shlibpath_overrides_runpath=yes
   12240   ;;
   12241 
   12242 *nto* | *qnx*)
   12243   version_type=qnx
   12244   need_lib_prefix=no
   12245   need_version=no
   12246   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12247   soname_spec='$libname$release$shared_ext$major'
   12248   shlibpath_var=LD_LIBRARY_PATH
   12249   shlibpath_overrides_runpath=no
   12250   hardcode_into_libs=yes
   12251   dynamic_linker='ldqnx.so'
   12252   ;;
   12253 
   12254 openbsd* | bitrig*)
   12255   version_type=sunos
   12256   sys_lib_dlsearch_path_spec=/usr/lib
   12257   need_lib_prefix=no
   12258   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12259     need_version=no
   12260   else
   12261     need_version=yes
   12262   fi
   12263   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12264   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12265   shlibpath_var=LD_LIBRARY_PATH
   12266   shlibpath_overrides_runpath=yes
   12267   ;;
   12268 
   12269 os2*)
   12270   libname_spec='$name'
   12271   version_type=windows
   12272   shrext_cmds=.dll
   12273   need_version=no
   12274   need_lib_prefix=no
   12275   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12276   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12277     v=$($ECHO $release$versuffix | tr -d .-);
   12278     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12279     $ECHO $n$v`$shared_ext'
   12280   library_names_spec='${libname}_dll.$libext'
   12281   dynamic_linker='OS/2 ld.exe'
   12282   shlibpath_var=BEGINLIBPATH
   12283   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12284   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12285   postinstall_cmds='base_file=`basename \$file`~
   12286     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12287     dldir=$destdir/`dirname \$dlpath`~
   12288     test -d \$dldir || mkdir -p \$dldir~
   12289     $install_prog $dir/$dlname \$dldir/$dlname~
   12290     chmod a+x \$dldir/$dlname~
   12291     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12292       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12293     fi'
   12294   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12295     dlpath=$dir/\$dldll~
   12296     $RM \$dlpath'
   12297   ;;
   12298 
   12299 osf3* | osf4* | osf5*)
   12300   version_type=osf
   12301   need_lib_prefix=no
   12302   need_version=no
   12303   soname_spec='$libname$release$shared_ext$major'
   12304   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12305   shlibpath_var=LD_LIBRARY_PATH
   12306   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12307   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12308   ;;
   12309 
   12310 rdos*)
   12311   dynamic_linker=no
   12312   ;;
   12313 
   12314 solaris*)
   12315   version_type=linux # correct to gnu/linux during the next big refactor
   12316   need_lib_prefix=no
   12317   need_version=no
   12318   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12319   soname_spec='$libname$release$shared_ext$major'
   12320   shlibpath_var=LD_LIBRARY_PATH
   12321   shlibpath_overrides_runpath=yes
   12322   hardcode_into_libs=yes
   12323   # ldd complains unless libraries are executable
   12324   postinstall_cmds='chmod +x $lib'
   12325   ;;
   12326 
   12327 sunos4*)
   12328   version_type=sunos
   12329   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12330   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12331   shlibpath_var=LD_LIBRARY_PATH
   12332   shlibpath_overrides_runpath=yes
   12333   if test yes = "$with_gnu_ld"; then
   12334     need_lib_prefix=no
   12335   fi
   12336   need_version=yes
   12337   ;;
   12338 
   12339 sysv4 | sysv4.3*)
   12340   version_type=linux # correct to gnu/linux during the next big refactor
   12341   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12342   soname_spec='$libname$release$shared_ext$major'
   12343   shlibpath_var=LD_LIBRARY_PATH
   12344   case $host_vendor in
   12345     sni)
   12346       shlibpath_overrides_runpath=no
   12347       need_lib_prefix=no
   12348       runpath_var=LD_RUN_PATH
   12349       ;;
   12350     siemens)
   12351       need_lib_prefix=no
   12352       ;;
   12353     motorola)
   12354       need_lib_prefix=no
   12355       need_version=no
   12356       shlibpath_overrides_runpath=no
   12357       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12358       ;;
   12359   esac
   12360   ;;
   12361 
   12362 sysv4*MP*)
   12363   if test -d /usr/nec; then
   12364     version_type=linux # correct to gnu/linux during the next big refactor
   12365     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12366     soname_spec='$libname$shared_ext.$major'
   12367     shlibpath_var=LD_LIBRARY_PATH
   12368   fi
   12369   ;;
   12370 
   12371 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12372   version_type=sco
   12373   need_lib_prefix=no
   12374   need_version=no
   12375   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12376   soname_spec='$libname$release$shared_ext$major'
   12377   shlibpath_var=LD_LIBRARY_PATH
   12378   shlibpath_overrides_runpath=yes
   12379   hardcode_into_libs=yes
   12380   if test yes = "$with_gnu_ld"; then
   12381     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12382   else
   12383     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12384     case $host_os in
   12385       sco3.2v5*)
   12386         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12387 	;;
   12388     esac
   12389   fi
   12390   sys_lib_dlsearch_path_spec='/usr/lib'
   12391   ;;
   12392 
   12393 tpf*)
   12394   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12395   version_type=linux # correct to gnu/linux during the next big refactor
   12396   need_lib_prefix=no
   12397   need_version=no
   12398   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12399   shlibpath_var=LD_LIBRARY_PATH
   12400   shlibpath_overrides_runpath=no
   12401   hardcode_into_libs=yes
   12402   ;;
   12403 
   12404 uts4*)
   12405   version_type=linux # correct to gnu/linux during the next big refactor
   12406   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12407   soname_spec='$libname$release$shared_ext$major'
   12408   shlibpath_var=LD_LIBRARY_PATH
   12409   ;;
   12410 
   12411 *)
   12412   dynamic_linker=no
   12413   ;;
   12414 esac
   12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12416 printf "%s\n" "$dynamic_linker" >&6; }
   12417 test no = "$dynamic_linker" && can_build_shared=no
   12418 
   12419 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12420 if test yes = "$GCC"; then
   12421   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12422 fi
   12423 
   12424 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12425   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12426 fi
   12427 
   12428 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12429   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12430 fi
   12431 
   12432 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12433 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12434 
   12435 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12436 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12437 
   12438 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12439 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12538 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12539 hardcode_action=
   12540 if test -n "$hardcode_libdir_flag_spec" ||
   12541    test -n "$runpath_var" ||
   12542    test yes = "$hardcode_automatic"; then
   12543 
   12544   # We can hardcode non-existent directories.
   12545   if test no != "$hardcode_direct" &&
   12546      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12547      # have to relink, otherwise we might link with an installed library
   12548      # when we should be linking with a yet-to-be-installed one
   12549      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12550      test no != "$hardcode_minus_L"; then
   12551     # Linking always hardcodes the temporary library directory.
   12552     hardcode_action=relink
   12553   else
   12554     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12555     hardcode_action=immediate
   12556   fi
   12557 else
   12558   # We cannot hardcode anything, or else we can only hardcode existing
   12559   # directories.
   12560   hardcode_action=unsupported
   12561 fi
   12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12563 printf "%s\n" "$hardcode_action" >&6; }
   12564 
   12565 if test relink = "$hardcode_action" ||
   12566    test yes = "$inherit_rpath"; then
   12567   # Fast installation is not supported
   12568   enable_fast_install=no
   12569 elif test yes = "$shlibpath_overrides_runpath" ||
   12570      test no = "$enable_shared"; then
   12571   # Fast installation is not necessary
   12572   enable_fast_install=needless
   12573 fi
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580   if test yes != "$enable_dlopen"; then
   12581   enable_dlopen=unknown
   12582   enable_dlopen_self=unknown
   12583   enable_dlopen_self_static=unknown
   12584 else
   12585   lt_cv_dlopen=no
   12586   lt_cv_dlopen_libs=
   12587 
   12588   case $host_os in
   12589   beos*)
   12590     lt_cv_dlopen=load_add_on
   12591     lt_cv_dlopen_libs=
   12592     lt_cv_dlopen_self=yes
   12593     ;;
   12594 
   12595   mingw* | pw32* | cegcc*)
   12596     lt_cv_dlopen=LoadLibrary
   12597     lt_cv_dlopen_libs=
   12598     ;;
   12599 
   12600   cygwin*)
   12601     lt_cv_dlopen=dlopen
   12602     lt_cv_dlopen_libs=
   12603     ;;
   12604 
   12605   darwin*)
   12606     # if libdl is installed we need to link against it
   12607     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12608 printf %s "checking for dlopen in -ldl... " >&6; }
   12609 if test ${ac_cv_lib_dl_dlopen+y}
   12610 then :
   12611   printf %s "(cached) " >&6
   12612 else $as_nop
   12613   ac_check_lib_save_LIBS=$LIBS
   12614 LIBS="-ldl  $LIBS"
   12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12616 /* end confdefs.h.  */
   12617 
   12618 /* Override any GCC internal prototype to avoid an error.
   12619    Use char because int might match the return type of a GCC
   12620    builtin and then its argument prototype would still apply.  */
   12621 char dlopen ();
   12622 int
   12623 main (void)
   12624 {
   12625 return dlopen ();
   12626   ;
   12627   return 0;
   12628 }
   12629 _ACEOF
   12630 if ac_fn_c_try_link "$LINENO"
   12631 then :
   12632   ac_cv_lib_dl_dlopen=yes
   12633 else $as_nop
   12634   ac_cv_lib_dl_dlopen=no
   12635 fi
   12636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12637     conftest$ac_exeext conftest.$ac_ext
   12638 LIBS=$ac_check_lib_save_LIBS
   12639 fi
   12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12641 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12642 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12643 then :
   12644   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12645 else $as_nop
   12646 
   12647     lt_cv_dlopen=dyld
   12648     lt_cv_dlopen_libs=
   12649     lt_cv_dlopen_self=yes
   12650 
   12651 fi
   12652 
   12653     ;;
   12654 
   12655   tpf*)
   12656     # Don't try to run any link tests for TPF.  We know it's impossible
   12657     # because TPF is a cross-compiler, and we know how we open DSOs.
   12658     lt_cv_dlopen=dlopen
   12659     lt_cv_dlopen_libs=
   12660     lt_cv_dlopen_self=no
   12661     ;;
   12662 
   12663   *)
   12664     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12665 if test "x$ac_cv_func_shl_load" = xyes
   12666 then :
   12667   lt_cv_dlopen=shl_load
   12668 else $as_nop
   12669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12670 printf %s "checking for shl_load in -ldld... " >&6; }
   12671 if test ${ac_cv_lib_dld_shl_load+y}
   12672 then :
   12673   printf %s "(cached) " >&6
   12674 else $as_nop
   12675   ac_check_lib_save_LIBS=$LIBS
   12676 LIBS="-ldld  $LIBS"
   12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12678 /* end confdefs.h.  */
   12679 
   12680 /* Override any GCC internal prototype to avoid an error.
   12681    Use char because int might match the return type of a GCC
   12682    builtin and then its argument prototype would still apply.  */
   12683 char shl_load ();
   12684 int
   12685 main (void)
   12686 {
   12687 return shl_load ();
   12688   ;
   12689   return 0;
   12690 }
   12691 _ACEOF
   12692 if ac_fn_c_try_link "$LINENO"
   12693 then :
   12694   ac_cv_lib_dld_shl_load=yes
   12695 else $as_nop
   12696   ac_cv_lib_dld_shl_load=no
   12697 fi
   12698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12699     conftest$ac_exeext conftest.$ac_ext
   12700 LIBS=$ac_check_lib_save_LIBS
   12701 fi
   12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12703 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12704 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12705 then :
   12706   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12707 else $as_nop
   12708   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12709 if test "x$ac_cv_func_dlopen" = xyes
   12710 then :
   12711   lt_cv_dlopen=dlopen
   12712 else $as_nop
   12713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12714 printf %s "checking for dlopen in -ldl... " >&6; }
   12715 if test ${ac_cv_lib_dl_dlopen+y}
   12716 then :
   12717   printf %s "(cached) " >&6
   12718 else $as_nop
   12719   ac_check_lib_save_LIBS=$LIBS
   12720 LIBS="-ldl  $LIBS"
   12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12722 /* end confdefs.h.  */
   12723 
   12724 /* Override any GCC internal prototype to avoid an error.
   12725    Use char because int might match the return type of a GCC
   12726    builtin and then its argument prototype would still apply.  */
   12727 char dlopen ();
   12728 int
   12729 main (void)
   12730 {
   12731 return dlopen ();
   12732   ;
   12733   return 0;
   12734 }
   12735 _ACEOF
   12736 if ac_fn_c_try_link "$LINENO"
   12737 then :
   12738   ac_cv_lib_dl_dlopen=yes
   12739 else $as_nop
   12740   ac_cv_lib_dl_dlopen=no
   12741 fi
   12742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12743     conftest$ac_exeext conftest.$ac_ext
   12744 LIBS=$ac_check_lib_save_LIBS
   12745 fi
   12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12747 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12748 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12749 then :
   12750   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12751 else $as_nop
   12752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12753 printf %s "checking for dlopen in -lsvld... " >&6; }
   12754 if test ${ac_cv_lib_svld_dlopen+y}
   12755 then :
   12756   printf %s "(cached) " >&6
   12757 else $as_nop
   12758   ac_check_lib_save_LIBS=$LIBS
   12759 LIBS="-lsvld  $LIBS"
   12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12761 /* end confdefs.h.  */
   12762 
   12763 /* Override any GCC internal prototype to avoid an error.
   12764    Use char because int might match the return type of a GCC
   12765    builtin and then its argument prototype would still apply.  */
   12766 char dlopen ();
   12767 int
   12768 main (void)
   12769 {
   12770 return dlopen ();
   12771   ;
   12772   return 0;
   12773 }
   12774 _ACEOF
   12775 if ac_fn_c_try_link "$LINENO"
   12776 then :
   12777   ac_cv_lib_svld_dlopen=yes
   12778 else $as_nop
   12779   ac_cv_lib_svld_dlopen=no
   12780 fi
   12781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12782     conftest$ac_exeext conftest.$ac_ext
   12783 LIBS=$ac_check_lib_save_LIBS
   12784 fi
   12785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12786 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12787 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12788 then :
   12789   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12790 else $as_nop
   12791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12792 printf %s "checking for dld_link in -ldld... " >&6; }
   12793 if test ${ac_cv_lib_dld_dld_link+y}
   12794 then :
   12795   printf %s "(cached) " >&6
   12796 else $as_nop
   12797   ac_check_lib_save_LIBS=$LIBS
   12798 LIBS="-ldld  $LIBS"
   12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12800 /* end confdefs.h.  */
   12801 
   12802 /* Override any GCC internal prototype to avoid an error.
   12803    Use char because int might match the return type of a GCC
   12804    builtin and then its argument prototype would still apply.  */
   12805 char dld_link ();
   12806 int
   12807 main (void)
   12808 {
   12809 return dld_link ();
   12810   ;
   12811   return 0;
   12812 }
   12813 _ACEOF
   12814 if ac_fn_c_try_link "$LINENO"
   12815 then :
   12816   ac_cv_lib_dld_dld_link=yes
   12817 else $as_nop
   12818   ac_cv_lib_dld_dld_link=no
   12819 fi
   12820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12821     conftest$ac_exeext conftest.$ac_ext
   12822 LIBS=$ac_check_lib_save_LIBS
   12823 fi
   12824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12825 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12826 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12827 then :
   12828   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12829 fi
   12830 
   12831 
   12832 fi
   12833 
   12834 
   12835 fi
   12836 
   12837 
   12838 fi
   12839 
   12840 
   12841 fi
   12842 
   12843 
   12844 fi
   12845 
   12846     ;;
   12847   esac
   12848 
   12849   if test no = "$lt_cv_dlopen"; then
   12850     enable_dlopen=no
   12851   else
   12852     enable_dlopen=yes
   12853   fi
   12854 
   12855   case $lt_cv_dlopen in
   12856   dlopen)
   12857     save_CPPFLAGS=$CPPFLAGS
   12858     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12859 
   12860     save_LDFLAGS=$LDFLAGS
   12861     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12862 
   12863     save_LIBS=$LIBS
   12864     LIBS="$lt_cv_dlopen_libs $LIBS"
   12865 
   12866     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12867 printf %s "checking whether a program can dlopen itself... " >&6; }
   12868 if test ${lt_cv_dlopen_self+y}
   12869 then :
   12870   printf %s "(cached) " >&6
   12871 else $as_nop
   12872   	  if test yes = "$cross_compiling"; then :
   12873   lt_cv_dlopen_self=cross
   12874 else
   12875   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12876   lt_status=$lt_dlunknown
   12877   cat > conftest.$ac_ext <<_LT_EOF
   12878 #line $LINENO "configure"
   12879 #include "confdefs.h"
   12880 
   12881 #if HAVE_DLFCN_H
   12882 #include <dlfcn.h>
   12883 #endif
   12884 
   12885 #include <stdio.h>
   12886 
   12887 #ifdef RTLD_GLOBAL
   12888 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12889 #else
   12890 #  ifdef DL_GLOBAL
   12891 #    define LT_DLGLOBAL		DL_GLOBAL
   12892 #  else
   12893 #    define LT_DLGLOBAL		0
   12894 #  endif
   12895 #endif
   12896 
   12897 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12898    find out it does not work in some platform. */
   12899 #ifndef LT_DLLAZY_OR_NOW
   12900 #  ifdef RTLD_LAZY
   12901 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12902 #  else
   12903 #    ifdef DL_LAZY
   12904 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12905 #    else
   12906 #      ifdef RTLD_NOW
   12907 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12908 #      else
   12909 #        ifdef DL_NOW
   12910 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12911 #        else
   12912 #          define LT_DLLAZY_OR_NOW	0
   12913 #        endif
   12914 #      endif
   12915 #    endif
   12916 #  endif
   12917 #endif
   12918 
   12919 /* When -fvisibility=hidden is used, assume the code has been annotated
   12920    correspondingly for the symbols needed.  */
   12921 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12922 int fnord () __attribute__((visibility("default")));
   12923 #endif
   12924 
   12925 int fnord () { return 42; }
   12926 int main ()
   12927 {
   12928   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12929   int status = $lt_dlunknown;
   12930 
   12931   if (self)
   12932     {
   12933       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12934       else
   12935         {
   12936 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12937           else puts (dlerror ());
   12938 	}
   12939       /* dlclose (self); */
   12940     }
   12941   else
   12942     puts (dlerror ());
   12943 
   12944   return status;
   12945 }
   12946 _LT_EOF
   12947   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12948   (eval $ac_link) 2>&5
   12949   ac_status=$?
   12950   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12951   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12952     (./conftest; exit; ) >&5 2>/dev/null
   12953     lt_status=$?
   12954     case x$lt_status in
   12955       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12956       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12957       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12958     esac
   12959   else :
   12960     # compilation failed
   12961     lt_cv_dlopen_self=no
   12962   fi
   12963 fi
   12964 rm -fr conftest*
   12965 
   12966 
   12967 fi
   12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12969 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12970 
   12971     if test yes = "$lt_cv_dlopen_self"; then
   12972       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12973       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12974 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12975 if test ${lt_cv_dlopen_self_static+y}
   12976 then :
   12977   printf %s "(cached) " >&6
   12978 else $as_nop
   12979   	  if test yes = "$cross_compiling"; then :
   12980   lt_cv_dlopen_self_static=cross
   12981 else
   12982   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12983   lt_status=$lt_dlunknown
   12984   cat > conftest.$ac_ext <<_LT_EOF
   12985 #line $LINENO "configure"
   12986 #include "confdefs.h"
   12987 
   12988 #if HAVE_DLFCN_H
   12989 #include <dlfcn.h>
   12990 #endif
   12991 
   12992 #include <stdio.h>
   12993 
   12994 #ifdef RTLD_GLOBAL
   12995 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12996 #else
   12997 #  ifdef DL_GLOBAL
   12998 #    define LT_DLGLOBAL		DL_GLOBAL
   12999 #  else
   13000 #    define LT_DLGLOBAL		0
   13001 #  endif
   13002 #endif
   13003 
   13004 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13005    find out it does not work in some platform. */
   13006 #ifndef LT_DLLAZY_OR_NOW
   13007 #  ifdef RTLD_LAZY
   13008 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13009 #  else
   13010 #    ifdef DL_LAZY
   13011 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13012 #    else
   13013 #      ifdef RTLD_NOW
   13014 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13015 #      else
   13016 #        ifdef DL_NOW
   13017 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13018 #        else
   13019 #          define LT_DLLAZY_OR_NOW	0
   13020 #        endif
   13021 #      endif
   13022 #    endif
   13023 #  endif
   13024 #endif
   13025 
   13026 /* When -fvisibility=hidden is used, assume the code has been annotated
   13027    correspondingly for the symbols needed.  */
   13028 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13029 int fnord () __attribute__((visibility("default")));
   13030 #endif
   13031 
   13032 int fnord () { return 42; }
   13033 int main ()
   13034 {
   13035   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13036   int status = $lt_dlunknown;
   13037 
   13038   if (self)
   13039     {
   13040       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13041       else
   13042         {
   13043 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13044           else puts (dlerror ());
   13045 	}
   13046       /* dlclose (self); */
   13047     }
   13048   else
   13049     puts (dlerror ());
   13050 
   13051   return status;
   13052 }
   13053 _LT_EOF
   13054   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13055   (eval $ac_link) 2>&5
   13056   ac_status=$?
   13057   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13058   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13059     (./conftest; exit; ) >&5 2>/dev/null
   13060     lt_status=$?
   13061     case x$lt_status in
   13062       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13063       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13064       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13065     esac
   13066   else :
   13067     # compilation failed
   13068     lt_cv_dlopen_self_static=no
   13069   fi
   13070 fi
   13071 rm -fr conftest*
   13072 
   13073 
   13074 fi
   13075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13076 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13077     fi
   13078 
   13079     CPPFLAGS=$save_CPPFLAGS
   13080     LDFLAGS=$save_LDFLAGS
   13081     LIBS=$save_LIBS
   13082     ;;
   13083   esac
   13084 
   13085   case $lt_cv_dlopen_self in
   13086   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13087   *) enable_dlopen_self=unknown ;;
   13088   esac
   13089 
   13090   case $lt_cv_dlopen_self_static in
   13091   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13092   *) enable_dlopen_self_static=unknown ;;
   13093   esac
   13094 fi
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 striplib=
   13113 old_striplib=
   13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13115 printf %s "checking whether stripping libraries is possible... " >&6; }
   13116 if test -z "$STRIP"; then
   13117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13118 printf "%s\n" "no" >&6; }
   13119 else
   13120   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13121     old_striplib="$STRIP --strip-debug"
   13122     striplib="$STRIP --strip-unneeded"
   13123     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13124 printf "%s\n" "yes" >&6; }
   13125   else
   13126     case $host_os in
   13127     darwin*)
   13128       # FIXME - insert some real tests, host_os isn't really good enough
   13129       striplib="$STRIP -x"
   13130       old_striplib="$STRIP -S"
   13131       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13132 printf "%s\n" "yes" >&6; }
   13133       ;;
   13134     freebsd*)
   13135       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13136         old_striplib="$STRIP --strip-debug"
   13137         striplib="$STRIP --strip-unneeded"
   13138         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13139 printf "%s\n" "yes" >&6; }
   13140       else
   13141         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13142 printf "%s\n" "no" >&6; }
   13143       fi
   13144       ;;
   13145     *)
   13146       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13147 printf "%s\n" "no" >&6; }
   13148       ;;
   13149     esac
   13150   fi
   13151 fi
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164   # Report what library types will actually be built
   13165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13166 printf %s "checking if libtool supports shared libraries... " >&6; }
   13167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13168 printf "%s\n" "$can_build_shared" >&6; }
   13169 
   13170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13171 printf %s "checking whether to build shared libraries... " >&6; }
   13172   test no = "$can_build_shared" && enable_shared=no
   13173 
   13174   # On AIX, shared libraries and static libraries use the same namespace, and
   13175   # are all built from PIC.
   13176   case $host_os in
   13177   aix3*)
   13178     test yes = "$enable_shared" && enable_static=no
   13179     if test -n "$RANLIB"; then
   13180       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13181       postinstall_cmds='$RANLIB $lib'
   13182     fi
   13183     ;;
   13184 
   13185   aix[4-9]*)
   13186     if test ia64 != "$host_cpu"; then
   13187       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13188       yes,aix,yes) ;;			# shared object as lib.so file only
   13189       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13190       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13191       esac
   13192     fi
   13193     ;;
   13194   esac
   13195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13196 printf "%s\n" "$enable_shared" >&6; }
   13197 
   13198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13199 printf %s "checking whether to build static libraries... " >&6; }
   13200   # Make sure either enable_shared or enable_static is yes.
   13201   test yes = "$enable_shared" || enable_static=yes
   13202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13203 printf "%s\n" "$enable_static" >&6; }
   13204 
   13205 
   13206 
   13207 
   13208 fi
   13209 ac_ext=c
   13210 ac_cpp='$CPP $CPPFLAGS'
   13211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13214 
   13215 CC=$lt_save_CC
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231         ac_config_commands="$ac_config_commands libtool"
   13232 
   13233 
   13234 
   13235 
   13236 # Only expand once:
   13237 
   13238 
   13239 
   13240 # Require xorg-macros minimum of 1.16 for unit testing with memory checks
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13254 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13255 if test ${ac_cv_c_undeclared_builtin_options+y}
   13256 then :
   13257   printf %s "(cached) " >&6
   13258 else $as_nop
   13259   ac_save_CFLAGS=$CFLAGS
   13260    ac_cv_c_undeclared_builtin_options='cannot detect'
   13261    for ac_arg in '' -fno-builtin; do
   13262      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13263      # This test program should *not* compile successfully.
   13264      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13265 /* end confdefs.h.  */
   13266 
   13267 int
   13268 main (void)
   13269 {
   13270 (void) strchr;
   13271   ;
   13272   return 0;
   13273 }
   13274 _ACEOF
   13275 if ac_fn_c_try_compile "$LINENO"
   13276 then :
   13277 
   13278 else $as_nop
   13279   # This test program should compile successfully.
   13280         # No library function is consistently available on
   13281         # freestanding implementations, so test against a dummy
   13282         # declaration.  Include always-available headers on the
   13283         # off chance that they somehow elicit warnings.
   13284         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13285 /* end confdefs.h.  */
   13286 #include <float.h>
   13287 #include <limits.h>
   13288 #include <stdarg.h>
   13289 #include <stddef.h>
   13290 extern void ac_decl (int, char *);
   13291 
   13292 int
   13293 main (void)
   13294 {
   13295 (void) ac_decl (0, (char *) 0);
   13296   (void) ac_decl;
   13297 
   13298   ;
   13299   return 0;
   13300 }
   13301 _ACEOF
   13302 if ac_fn_c_try_compile "$LINENO"
   13303 then :
   13304   if test x"$ac_arg" = x
   13305 then :
   13306   ac_cv_c_undeclared_builtin_options='none needed'
   13307 else $as_nop
   13308   ac_cv_c_undeclared_builtin_options=$ac_arg
   13309 fi
   13310           break
   13311 fi
   13312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13313 fi
   13314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13315     done
   13316     CFLAGS=$ac_save_CFLAGS
   13317 
   13318 fi
   13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13320 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13321   case $ac_cv_c_undeclared_builtin_options in #(
   13322   'cannot detect') :
   13323     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13324 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13325 as_fn_error $? "cannot make $CC report undeclared builtins
   13326 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13327   'none needed') :
   13328     ac_c_undeclared_builtin_options='' ;; #(
   13329   *) :
   13330     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13331 esac
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13338 if test "x$ac_cv_have_decl___clang__" = xyes
   13339 then :
   13340   CLANGCC="yes"
   13341 else $as_nop
   13342   CLANGCC="no"
   13343 fi
   13344 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13345 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13346 then :
   13347   INTELCC="yes"
   13348 else $as_nop
   13349   INTELCC="no"
   13350 fi
   13351 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13352 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13353 then :
   13354   SUNCC="yes"
   13355 else $as_nop
   13356   SUNCC="no"
   13357 fi
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13367 	if test -n "$ac_tool_prefix"; then
   13368   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13369 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13371 printf %s "checking for $ac_word... " >&6; }
   13372 if test ${ac_cv_path_PKG_CONFIG+y}
   13373 then :
   13374   printf %s "(cached) " >&6
   13375 else $as_nop
   13376   case $PKG_CONFIG in
   13377   [\\/]* | ?:[\\/]*)
   13378   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13379   ;;
   13380   *)
   13381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13382 for as_dir in $PATH
   13383 do
   13384   IFS=$as_save_IFS
   13385   case $as_dir in #(((
   13386     '') as_dir=./ ;;
   13387     */) ;;
   13388     *) as_dir=$as_dir/ ;;
   13389   esac
   13390     for ac_exec_ext in '' $ac_executable_extensions; do
   13391   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13392     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13393     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13394     break 2
   13395   fi
   13396 done
   13397   done
   13398 IFS=$as_save_IFS
   13399 
   13400   ;;
   13401 esac
   13402 fi
   13403 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13404 if test -n "$PKG_CONFIG"; then
   13405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13406 printf "%s\n" "$PKG_CONFIG" >&6; }
   13407 else
   13408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13409 printf "%s\n" "no" >&6; }
   13410 fi
   13411 
   13412 
   13413 fi
   13414 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13415   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13416   # Extract the first word of "pkg-config", so it can be a program name with args.
   13417 set dummy pkg-config; ac_word=$2
   13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13419 printf %s "checking for $ac_word... " >&6; }
   13420 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13421 then :
   13422   printf %s "(cached) " >&6
   13423 else $as_nop
   13424   case $ac_pt_PKG_CONFIG in
   13425   [\\/]* | ?:[\\/]*)
   13426   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13427   ;;
   13428   *)
   13429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13430 for as_dir in $PATH
   13431 do
   13432   IFS=$as_save_IFS
   13433   case $as_dir in #(((
   13434     '') as_dir=./ ;;
   13435     */) ;;
   13436     *) as_dir=$as_dir/ ;;
   13437   esac
   13438     for ac_exec_ext in '' $ac_executable_extensions; do
   13439   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13440     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13441     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13442     break 2
   13443   fi
   13444 done
   13445   done
   13446 IFS=$as_save_IFS
   13447 
   13448   ;;
   13449 esac
   13450 fi
   13451 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13452 if test -n "$ac_pt_PKG_CONFIG"; then
   13453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13454 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13455 else
   13456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13457 printf "%s\n" "no" >&6; }
   13458 fi
   13459 
   13460   if test "x$ac_pt_PKG_CONFIG" = x; then
   13461     PKG_CONFIG=""
   13462   else
   13463     case $cross_compiling:$ac_tool_warned in
   13464 yes:)
   13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13466 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13467 ac_tool_warned=yes ;;
   13468 esac
   13469     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13470   fi
   13471 else
   13472   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13473 fi
   13474 
   13475 fi
   13476 if test -n "$PKG_CONFIG"; then
   13477 	_pkg_min_version=0.9.0
   13478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13479 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13480 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13482 printf "%s\n" "yes" >&6; }
   13483 	else
   13484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13485 printf "%s\n" "no" >&6; }
   13486 		PKG_CONFIG=""
   13487 	fi
   13488 fi
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 # Check whether --enable-selective-werror was given.
   13495 if test ${enable_selective_werror+y}
   13496 then :
   13497   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13498 else $as_nop
   13499   SELECTIVE_WERROR=yes
   13500 fi
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13507 if test "x$SUNCC" = "xyes"; then
   13508     BASE_CFLAGS="-v"
   13509 else
   13510     BASE_CFLAGS=""
   13511 fi
   13512 
   13513 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 xorg_testset_save_CFLAGS="$CFLAGS"
   13528 
   13529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13532 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13533 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13534 then :
   13535   printf %s "(cached) " >&6
   13536 else $as_nop
   13537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 int i;
   13540 _ACEOF
   13541 if ac_fn_c_try_compile "$LINENO"
   13542 then :
   13543   xorg_cv_cc_flag_unknown_warning_option=yes
   13544 else $as_nop
   13545   xorg_cv_cc_flag_unknown_warning_option=no
   13546 fi
   13547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13548 fi
   13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13550 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13552 	CFLAGS="$xorg_testset_save_CFLAGS"
   13553 fi
   13554 
   13555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13558 	fi
   13559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13563 then :
   13564   printf %s "(cached) " >&6
   13565 else $as_nop
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 _ACEOF
   13570 if ac_fn_c_try_compile "$LINENO"
   13571 then :
   13572   xorg_cv_cc_flag_unused_command_line_argument=yes
   13573 else $as_nop
   13574   xorg_cv_cc_flag_unused_command_line_argument=no
   13575 fi
   13576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13577 fi
   13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13579 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13581 	CFLAGS="$xorg_testset_save_CFLAGS"
   13582 fi
   13583 
   13584 found="no"
   13585 
   13586 	if test $found = "no" ; then
   13587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13589 		fi
   13590 
   13591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13593 		fi
   13594 
   13595 		CFLAGS="$CFLAGS -Wall"
   13596 
   13597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13598 printf %s "checking if $CC supports -Wall... " >&6; }
   13599 		cacheid=xorg_cv_cc_flag__Wall
   13600 		if eval test \${$cacheid+y}
   13601 then :
   13602   printf %s "(cached) " >&6
   13603 else $as_nop
   13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13605 /* end confdefs.h.  */
   13606 int i;
   13607 int
   13608 main (void)
   13609 {
   13610 
   13611   ;
   13612   return 0;
   13613 }
   13614 _ACEOF
   13615 if ac_fn_c_try_link "$LINENO"
   13616 then :
   13617   eval $cacheid=yes
   13618 else $as_nop
   13619   eval $cacheid=no
   13620 fi
   13621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13622     conftest$ac_exeext conftest.$ac_ext
   13623 fi
   13624 
   13625 
   13626 		CFLAGS="$xorg_testset_save_CFLAGS"
   13627 
   13628 		eval supported=\$$cacheid
   13629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13630 printf "%s\n" "$supported" >&6; }
   13631 		if test "$supported" = "yes" ; then
   13632 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13633 			found="yes"
   13634 		fi
   13635 	fi
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 xorg_testset_save_CFLAGS="$CFLAGS"
   13652 
   13653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13656 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13657 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13658 then :
   13659   printf %s "(cached) " >&6
   13660 else $as_nop
   13661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13662 /* end confdefs.h.  */
   13663 int i;
   13664 _ACEOF
   13665 if ac_fn_c_try_compile "$LINENO"
   13666 then :
   13667   xorg_cv_cc_flag_unknown_warning_option=yes
   13668 else $as_nop
   13669   xorg_cv_cc_flag_unknown_warning_option=no
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13672 fi
   13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13676 	CFLAGS="$xorg_testset_save_CFLAGS"
   13677 fi
   13678 
   13679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13682 	fi
   13683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13687 then :
   13688   printf %s "(cached) " >&6
   13689 else $as_nop
   13690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13691 /* end confdefs.h.  */
   13692 int i;
   13693 _ACEOF
   13694 if ac_fn_c_try_compile "$LINENO"
   13695 then :
   13696   xorg_cv_cc_flag_unused_command_line_argument=yes
   13697 else $as_nop
   13698   xorg_cv_cc_flag_unused_command_line_argument=no
   13699 fi
   13700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13701 fi
   13702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13703 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13705 	CFLAGS="$xorg_testset_save_CFLAGS"
   13706 fi
   13707 
   13708 found="no"
   13709 
   13710 	if test $found = "no" ; then
   13711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13713 		fi
   13714 
   13715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13717 		fi
   13718 
   13719 		CFLAGS="$CFLAGS -Wpointer-arith"
   13720 
   13721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13722 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13723 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13724 		if eval test \${$cacheid+y}
   13725 then :
   13726   printf %s "(cached) " >&6
   13727 else $as_nop
   13728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13729 /* end confdefs.h.  */
   13730 int i;
   13731 int
   13732 main (void)
   13733 {
   13734 
   13735   ;
   13736   return 0;
   13737 }
   13738 _ACEOF
   13739 if ac_fn_c_try_link "$LINENO"
   13740 then :
   13741   eval $cacheid=yes
   13742 else $as_nop
   13743   eval $cacheid=no
   13744 fi
   13745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13746     conftest$ac_exeext conftest.$ac_ext
   13747 fi
   13748 
   13749 
   13750 		CFLAGS="$xorg_testset_save_CFLAGS"
   13751 
   13752 		eval supported=\$$cacheid
   13753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13754 printf "%s\n" "$supported" >&6; }
   13755 		if test "$supported" = "yes" ; then
   13756 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13757 			found="yes"
   13758 		fi
   13759 	fi
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 xorg_testset_save_CFLAGS="$CFLAGS"
   13776 
   13777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13780 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13781 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13782 then :
   13783   printf %s "(cached) " >&6
   13784 else $as_nop
   13785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13786 /* end confdefs.h.  */
   13787 int i;
   13788 _ACEOF
   13789 if ac_fn_c_try_compile "$LINENO"
   13790 then :
   13791   xorg_cv_cc_flag_unknown_warning_option=yes
   13792 else $as_nop
   13793   xorg_cv_cc_flag_unknown_warning_option=no
   13794 fi
   13795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13796 fi
   13797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13800 	CFLAGS="$xorg_testset_save_CFLAGS"
   13801 fi
   13802 
   13803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13806 	fi
   13807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13811 then :
   13812   printf %s "(cached) " >&6
   13813 else $as_nop
   13814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13815 /* end confdefs.h.  */
   13816 int i;
   13817 _ACEOF
   13818 if ac_fn_c_try_compile "$LINENO"
   13819 then :
   13820   xorg_cv_cc_flag_unused_command_line_argument=yes
   13821 else $as_nop
   13822   xorg_cv_cc_flag_unused_command_line_argument=no
   13823 fi
   13824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13825 fi
   13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13827 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13829 	CFLAGS="$xorg_testset_save_CFLAGS"
   13830 fi
   13831 
   13832 found="no"
   13833 
   13834 	if test $found = "no" ; then
   13835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13837 		fi
   13838 
   13839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13841 		fi
   13842 
   13843 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13844 
   13845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13846 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13847 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13848 		if eval test \${$cacheid+y}
   13849 then :
   13850   printf %s "(cached) " >&6
   13851 else $as_nop
   13852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13853 /* end confdefs.h.  */
   13854 int i;
   13855 int
   13856 main (void)
   13857 {
   13858 
   13859   ;
   13860   return 0;
   13861 }
   13862 _ACEOF
   13863 if ac_fn_c_try_link "$LINENO"
   13864 then :
   13865   eval $cacheid=yes
   13866 else $as_nop
   13867   eval $cacheid=no
   13868 fi
   13869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13870     conftest$ac_exeext conftest.$ac_ext
   13871 fi
   13872 
   13873 
   13874 		CFLAGS="$xorg_testset_save_CFLAGS"
   13875 
   13876 		eval supported=\$$cacheid
   13877 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13878 printf "%s\n" "$supported" >&6; }
   13879 		if test "$supported" = "yes" ; then
   13880 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13881 			found="yes"
   13882 		fi
   13883 	fi
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 xorg_testset_save_CFLAGS="$CFLAGS"
   13900 
   13901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13904 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13905 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13906 then :
   13907   printf %s "(cached) " >&6
   13908 else $as_nop
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"
   13914 then :
   13915   xorg_cv_cc_flag_unknown_warning_option=yes
   13916 else $as_nop
   13917   xorg_cv_cc_flag_unknown_warning_option=no
   13918 fi
   13919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13920 fi
   13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13922 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13924 	CFLAGS="$xorg_testset_save_CFLAGS"
   13925 fi
   13926 
   13927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13930 	fi
   13931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13933 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13934 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   13942 if ac_fn_c_try_compile "$LINENO"
   13943 then :
   13944   xorg_cv_cc_flag_unused_command_line_argument=yes
   13945 else $as_nop
   13946   xorg_cv_cc_flag_unused_command_line_argument=no
   13947 fi
   13948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13949 fi
   13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13953 	CFLAGS="$xorg_testset_save_CFLAGS"
   13954 fi
   13955 
   13956 found="no"
   13957 
   13958 	if test $found = "no" ; then
   13959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13961 		fi
   13962 
   13963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13965 		fi
   13966 
   13967 		CFLAGS="$CFLAGS -Wformat=2"
   13968 
   13969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13970 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13971 		cacheid=xorg_cv_cc_flag__Wformat_2
   13972 		if eval test \${$cacheid+y}
   13973 then :
   13974   printf %s "(cached) " >&6
   13975 else $as_nop
   13976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13977 /* end confdefs.h.  */
   13978 int i;
   13979 int
   13980 main (void)
   13981 {
   13982 
   13983   ;
   13984   return 0;
   13985 }
   13986 _ACEOF
   13987 if ac_fn_c_try_link "$LINENO"
   13988 then :
   13989   eval $cacheid=yes
   13990 else $as_nop
   13991   eval $cacheid=no
   13992 fi
   13993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13994     conftest$ac_exeext conftest.$ac_ext
   13995 fi
   13996 
   13997 
   13998 		CFLAGS="$xorg_testset_save_CFLAGS"
   13999 
   14000 		eval supported=\$$cacheid
   14001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14002 printf "%s\n" "$supported" >&6; }
   14003 		if test "$supported" = "yes" ; then
   14004 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14005 			found="yes"
   14006 		fi
   14007 	fi
   14008 
   14009 	if test $found = "no" ; then
   14010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14012 		fi
   14013 
   14014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14016 		fi
   14017 
   14018 		CFLAGS="$CFLAGS -Wformat"
   14019 
   14020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14021 printf %s "checking if $CC supports -Wformat... " >&6; }
   14022 		cacheid=xorg_cv_cc_flag__Wformat
   14023 		if eval test \${$cacheid+y}
   14024 then :
   14025   printf %s "(cached) " >&6
   14026 else $as_nop
   14027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14028 /* end confdefs.h.  */
   14029 int i;
   14030 int
   14031 main (void)
   14032 {
   14033 
   14034   ;
   14035   return 0;
   14036 }
   14037 _ACEOF
   14038 if ac_fn_c_try_link "$LINENO"
   14039 then :
   14040   eval $cacheid=yes
   14041 else $as_nop
   14042   eval $cacheid=no
   14043 fi
   14044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14045     conftest$ac_exeext conftest.$ac_ext
   14046 fi
   14047 
   14048 
   14049 		CFLAGS="$xorg_testset_save_CFLAGS"
   14050 
   14051 		eval supported=\$$cacheid
   14052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14053 printf "%s\n" "$supported" >&6; }
   14054 		if test "$supported" = "yes" ; then
   14055 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14056 			found="yes"
   14057 		fi
   14058 	fi
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 xorg_testset_save_CFLAGS="$CFLAGS"
   14077 
   14078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14083 then :
   14084   printf %s "(cached) " >&6
   14085 else $as_nop
   14086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14087 /* end confdefs.h.  */
   14088 int i;
   14089 _ACEOF
   14090 if ac_fn_c_try_compile "$LINENO"
   14091 then :
   14092   xorg_cv_cc_flag_unknown_warning_option=yes
   14093 else $as_nop
   14094   xorg_cv_cc_flag_unknown_warning_option=no
   14095 fi
   14096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14097 fi
   14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14101 	CFLAGS="$xorg_testset_save_CFLAGS"
   14102 fi
   14103 
   14104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14107 	fi
   14108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14112 then :
   14113   printf %s "(cached) " >&6
   14114 else $as_nop
   14115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14116 /* end confdefs.h.  */
   14117 int i;
   14118 _ACEOF
   14119 if ac_fn_c_try_compile "$LINENO"
   14120 then :
   14121   xorg_cv_cc_flag_unused_command_line_argument=yes
   14122 else $as_nop
   14123   xorg_cv_cc_flag_unused_command_line_argument=no
   14124 fi
   14125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14126 fi
   14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14128 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14130 	CFLAGS="$xorg_testset_save_CFLAGS"
   14131 fi
   14132 
   14133 found="no"
   14134 
   14135 	if test $found = "no" ; then
   14136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14138 		fi
   14139 
   14140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14142 		fi
   14143 
   14144 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14145 
   14146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14147 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14148 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14149 		if eval test \${$cacheid+y}
   14150 then :
   14151   printf %s "(cached) " >&6
   14152 else $as_nop
   14153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14154 /* end confdefs.h.  */
   14155 int i;
   14156 int
   14157 main (void)
   14158 {
   14159 
   14160   ;
   14161   return 0;
   14162 }
   14163 _ACEOF
   14164 if ac_fn_c_try_link "$LINENO"
   14165 then :
   14166   eval $cacheid=yes
   14167 else $as_nop
   14168   eval $cacheid=no
   14169 fi
   14170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14171     conftest$ac_exeext conftest.$ac_ext
   14172 fi
   14173 
   14174 
   14175 		CFLAGS="$xorg_testset_save_CFLAGS"
   14176 
   14177 		eval supported=\$$cacheid
   14178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14179 printf "%s\n" "$supported" >&6; }
   14180 		if test "$supported" = "yes" ; then
   14181 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14182 			found="yes"
   14183 		fi
   14184 	fi
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 xorg_testset_save_CFLAGS="$CFLAGS"
   14201 
   14202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14205 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14206 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14207 then :
   14208   printf %s "(cached) " >&6
   14209 else $as_nop
   14210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14211 /* end confdefs.h.  */
   14212 int i;
   14213 _ACEOF
   14214 if ac_fn_c_try_compile "$LINENO"
   14215 then :
   14216   xorg_cv_cc_flag_unknown_warning_option=yes
   14217 else $as_nop
   14218   xorg_cv_cc_flag_unknown_warning_option=no
   14219 fi
   14220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14221 fi
   14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14225 	CFLAGS="$xorg_testset_save_CFLAGS"
   14226 fi
   14227 
   14228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14231 	fi
   14232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14236 then :
   14237   printf %s "(cached) " >&6
   14238 else $as_nop
   14239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14240 /* end confdefs.h.  */
   14241 int i;
   14242 _ACEOF
   14243 if ac_fn_c_try_compile "$LINENO"
   14244 then :
   14245   xorg_cv_cc_flag_unused_command_line_argument=yes
   14246 else $as_nop
   14247   xorg_cv_cc_flag_unused_command_line_argument=no
   14248 fi
   14249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14250 fi
   14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14252 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14254 	CFLAGS="$xorg_testset_save_CFLAGS"
   14255 fi
   14256 
   14257 found="no"
   14258 
   14259 	if test $found = "no" ; then
   14260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14262 		fi
   14263 
   14264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14266 		fi
   14267 
   14268 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14269 
   14270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14271 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14272 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14273 		if eval test \${$cacheid+y}
   14274 then :
   14275   printf %s "(cached) " >&6
   14276 else $as_nop
   14277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14278 /* end confdefs.h.  */
   14279 int i;
   14280 int
   14281 main (void)
   14282 {
   14283 
   14284   ;
   14285   return 0;
   14286 }
   14287 _ACEOF
   14288 if ac_fn_c_try_link "$LINENO"
   14289 then :
   14290   eval $cacheid=yes
   14291 else $as_nop
   14292   eval $cacheid=no
   14293 fi
   14294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14295     conftest$ac_exeext conftest.$ac_ext
   14296 fi
   14297 
   14298 
   14299 		CFLAGS="$xorg_testset_save_CFLAGS"
   14300 
   14301 		eval supported=\$$cacheid
   14302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14303 printf "%s\n" "$supported" >&6; }
   14304 		if test "$supported" = "yes" ; then
   14305 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14306 			found="yes"
   14307 		fi
   14308 	fi
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 xorg_testset_save_CFLAGS="$CFLAGS"
   14325 
   14326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14329 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14330 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14331 then :
   14332   printf %s "(cached) " >&6
   14333 else $as_nop
   14334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14335 /* end confdefs.h.  */
   14336 int i;
   14337 _ACEOF
   14338 if ac_fn_c_try_compile "$LINENO"
   14339 then :
   14340   xorg_cv_cc_flag_unknown_warning_option=yes
   14341 else $as_nop
   14342   xorg_cv_cc_flag_unknown_warning_option=no
   14343 fi
   14344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14345 fi
   14346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14347 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14349 	CFLAGS="$xorg_testset_save_CFLAGS"
   14350 fi
   14351 
   14352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14355 	fi
   14356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14358 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14359 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14360 then :
   14361   printf %s "(cached) " >&6
   14362 else $as_nop
   14363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14364 /* end confdefs.h.  */
   14365 int i;
   14366 _ACEOF
   14367 if ac_fn_c_try_compile "$LINENO"
   14368 then :
   14369   xorg_cv_cc_flag_unused_command_line_argument=yes
   14370 else $as_nop
   14371   xorg_cv_cc_flag_unused_command_line_argument=no
   14372 fi
   14373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14374 fi
   14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14378 	CFLAGS="$xorg_testset_save_CFLAGS"
   14379 fi
   14380 
   14381 found="no"
   14382 
   14383 	if test $found = "no" ; then
   14384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14386 		fi
   14387 
   14388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14390 		fi
   14391 
   14392 		CFLAGS="$CFLAGS -Wnested-externs"
   14393 
   14394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14395 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14396 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14397 		if eval test \${$cacheid+y}
   14398 then :
   14399   printf %s "(cached) " >&6
   14400 else $as_nop
   14401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14402 /* end confdefs.h.  */
   14403 int i;
   14404 int
   14405 main (void)
   14406 {
   14407 
   14408   ;
   14409   return 0;
   14410 }
   14411 _ACEOF
   14412 if ac_fn_c_try_link "$LINENO"
   14413 then :
   14414   eval $cacheid=yes
   14415 else $as_nop
   14416   eval $cacheid=no
   14417 fi
   14418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14419     conftest$ac_exeext conftest.$ac_ext
   14420 fi
   14421 
   14422 
   14423 		CFLAGS="$xorg_testset_save_CFLAGS"
   14424 
   14425 		eval supported=\$$cacheid
   14426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14427 printf "%s\n" "$supported" >&6; }
   14428 		if test "$supported" = "yes" ; then
   14429 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14430 			found="yes"
   14431 		fi
   14432 	fi
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 xorg_testset_save_CFLAGS="$CFLAGS"
   14449 
   14450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14453 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14454 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14455 then :
   14456   printf %s "(cached) " >&6
   14457 else $as_nop
   14458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14459 /* end confdefs.h.  */
   14460 int i;
   14461 _ACEOF
   14462 if ac_fn_c_try_compile "$LINENO"
   14463 then :
   14464   xorg_cv_cc_flag_unknown_warning_option=yes
   14465 else $as_nop
   14466   xorg_cv_cc_flag_unknown_warning_option=no
   14467 fi
   14468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14469 fi
   14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14471 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14473 	CFLAGS="$xorg_testset_save_CFLAGS"
   14474 fi
   14475 
   14476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14479 	fi
   14480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14482 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14483 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14484 then :
   14485   printf %s "(cached) " >&6
   14486 else $as_nop
   14487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14488 /* end confdefs.h.  */
   14489 int i;
   14490 _ACEOF
   14491 if ac_fn_c_try_compile "$LINENO"
   14492 then :
   14493   xorg_cv_cc_flag_unused_command_line_argument=yes
   14494 else $as_nop
   14495   xorg_cv_cc_flag_unused_command_line_argument=no
   14496 fi
   14497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14498 fi
   14499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14502 	CFLAGS="$xorg_testset_save_CFLAGS"
   14503 fi
   14504 
   14505 found="no"
   14506 
   14507 	if test $found = "no" ; then
   14508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14510 		fi
   14511 
   14512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14514 		fi
   14515 
   14516 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14517 
   14518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14519 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14520 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14521 		if eval test \${$cacheid+y}
   14522 then :
   14523   printf %s "(cached) " >&6
   14524 else $as_nop
   14525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14526 /* end confdefs.h.  */
   14527 int i;
   14528 int
   14529 main (void)
   14530 {
   14531 
   14532   ;
   14533   return 0;
   14534 }
   14535 _ACEOF
   14536 if ac_fn_c_try_link "$LINENO"
   14537 then :
   14538   eval $cacheid=yes
   14539 else $as_nop
   14540   eval $cacheid=no
   14541 fi
   14542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14543     conftest$ac_exeext conftest.$ac_ext
   14544 fi
   14545 
   14546 
   14547 		CFLAGS="$xorg_testset_save_CFLAGS"
   14548 
   14549 		eval supported=\$$cacheid
   14550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14551 printf "%s\n" "$supported" >&6; }
   14552 		if test "$supported" = "yes" ; then
   14553 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14554 			found="yes"
   14555 		fi
   14556 	fi
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 xorg_testset_save_CFLAGS="$CFLAGS"
   14573 
   14574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14577 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14578 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14579 then :
   14580   printf %s "(cached) " >&6
   14581 else $as_nop
   14582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14583 /* end confdefs.h.  */
   14584 int i;
   14585 _ACEOF
   14586 if ac_fn_c_try_compile "$LINENO"
   14587 then :
   14588   xorg_cv_cc_flag_unknown_warning_option=yes
   14589 else $as_nop
   14590   xorg_cv_cc_flag_unknown_warning_option=no
   14591 fi
   14592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14593 fi
   14594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14595 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14597 	CFLAGS="$xorg_testset_save_CFLAGS"
   14598 fi
   14599 
   14600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14603 	fi
   14604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14606 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14607 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14608 then :
   14609   printf %s "(cached) " >&6
   14610 else $as_nop
   14611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14612 /* end confdefs.h.  */
   14613 int i;
   14614 _ACEOF
   14615 if ac_fn_c_try_compile "$LINENO"
   14616 then :
   14617   xorg_cv_cc_flag_unused_command_line_argument=yes
   14618 else $as_nop
   14619   xorg_cv_cc_flag_unused_command_line_argument=no
   14620 fi
   14621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14622 fi
   14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14624 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14626 	CFLAGS="$xorg_testset_save_CFLAGS"
   14627 fi
   14628 
   14629 found="no"
   14630 
   14631 	if test $found = "no" ; then
   14632 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14634 		fi
   14635 
   14636 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14638 		fi
   14639 
   14640 		CFLAGS="$CFLAGS -Wold-style-definition"
   14641 
   14642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14643 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14644 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14645 		if eval test \${$cacheid+y}
   14646 then :
   14647   printf %s "(cached) " >&6
   14648 else $as_nop
   14649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14650 /* end confdefs.h.  */
   14651 int i;
   14652 int
   14653 main (void)
   14654 {
   14655 
   14656   ;
   14657   return 0;
   14658 }
   14659 _ACEOF
   14660 if ac_fn_c_try_link "$LINENO"
   14661 then :
   14662   eval $cacheid=yes
   14663 else $as_nop
   14664   eval $cacheid=no
   14665 fi
   14666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14667     conftest$ac_exeext conftest.$ac_ext
   14668 fi
   14669 
   14670 
   14671 		CFLAGS="$xorg_testset_save_CFLAGS"
   14672 
   14673 		eval supported=\$$cacheid
   14674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14675 printf "%s\n" "$supported" >&6; }
   14676 		if test "$supported" = "yes" ; then
   14677 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14678 			found="yes"
   14679 		fi
   14680 	fi
   14681 
   14682 	if test $found = "no" ; then
   14683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14685 		fi
   14686 
   14687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14689 		fi
   14690 
   14691 		CFLAGS="$CFLAGS -fd"
   14692 
   14693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14694 printf %s "checking if $CC supports -fd... " >&6; }
   14695 		cacheid=xorg_cv_cc_flag__fd
   14696 		if eval test \${$cacheid+y}
   14697 then :
   14698   printf %s "(cached) " >&6
   14699 else $as_nop
   14700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14701 /* end confdefs.h.  */
   14702 int i;
   14703 int
   14704 main (void)
   14705 {
   14706 
   14707   ;
   14708   return 0;
   14709 }
   14710 _ACEOF
   14711 if ac_fn_c_try_link "$LINENO"
   14712 then :
   14713   eval $cacheid=yes
   14714 else $as_nop
   14715   eval $cacheid=no
   14716 fi
   14717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14718     conftest$ac_exeext conftest.$ac_ext
   14719 fi
   14720 
   14721 
   14722 		CFLAGS="$xorg_testset_save_CFLAGS"
   14723 
   14724 		eval supported=\$$cacheid
   14725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14726 printf "%s\n" "$supported" >&6; }
   14727 		if test "$supported" = "yes" ; then
   14728 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14729 			found="yes"
   14730 		fi
   14731 	fi
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 xorg_testset_save_CFLAGS="$CFLAGS"
   14748 
   14749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14754 then :
   14755   printf %s "(cached) " >&6
   14756 else $as_nop
   14757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14758 /* end confdefs.h.  */
   14759 int i;
   14760 _ACEOF
   14761 if ac_fn_c_try_compile "$LINENO"
   14762 then :
   14763   xorg_cv_cc_flag_unknown_warning_option=yes
   14764 else $as_nop
   14765   xorg_cv_cc_flag_unknown_warning_option=no
   14766 fi
   14767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14768 fi
   14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14770 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14772 	CFLAGS="$xorg_testset_save_CFLAGS"
   14773 fi
   14774 
   14775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14778 	fi
   14779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14781 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14782 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14783 then :
   14784   printf %s "(cached) " >&6
   14785 else $as_nop
   14786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14787 /* end confdefs.h.  */
   14788 int i;
   14789 _ACEOF
   14790 if ac_fn_c_try_compile "$LINENO"
   14791 then :
   14792   xorg_cv_cc_flag_unused_command_line_argument=yes
   14793 else $as_nop
   14794   xorg_cv_cc_flag_unused_command_line_argument=no
   14795 fi
   14796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14797 fi
   14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14801 	CFLAGS="$xorg_testset_save_CFLAGS"
   14802 fi
   14803 
   14804 found="no"
   14805 
   14806 	if test $found = "no" ; then
   14807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14809 		fi
   14810 
   14811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14813 		fi
   14814 
   14815 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14816 
   14817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14818 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14819 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14820 		if eval test \${$cacheid+y}
   14821 then :
   14822   printf %s "(cached) " >&6
   14823 else $as_nop
   14824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14825 /* end confdefs.h.  */
   14826 int i;
   14827 int
   14828 main (void)
   14829 {
   14830 
   14831   ;
   14832   return 0;
   14833 }
   14834 _ACEOF
   14835 if ac_fn_c_try_link "$LINENO"
   14836 then :
   14837   eval $cacheid=yes
   14838 else $as_nop
   14839   eval $cacheid=no
   14840 fi
   14841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14842     conftest$ac_exeext conftest.$ac_ext
   14843 fi
   14844 
   14845 
   14846 		CFLAGS="$xorg_testset_save_CFLAGS"
   14847 
   14848 		eval supported=\$$cacheid
   14849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14850 printf "%s\n" "$supported" >&6; }
   14851 		if test "$supported" = "yes" ; then
   14852 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14853 			found="yes"
   14854 		fi
   14855 	fi
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 # This chunk adds additional warnings that could catch undesired effects.
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 xorg_testset_save_CFLAGS="$CFLAGS"
   14876 
   14877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14878 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14880 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14881 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14882 then :
   14883   printf %s "(cached) " >&6
   14884 else $as_nop
   14885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14886 /* end confdefs.h.  */
   14887 int i;
   14888 _ACEOF
   14889 if ac_fn_c_try_compile "$LINENO"
   14890 then :
   14891   xorg_cv_cc_flag_unknown_warning_option=yes
   14892 else $as_nop
   14893   xorg_cv_cc_flag_unknown_warning_option=no
   14894 fi
   14895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14896 fi
   14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14898 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14900 	CFLAGS="$xorg_testset_save_CFLAGS"
   14901 fi
   14902 
   14903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14906 	fi
   14907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14908 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14909 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14910 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14911 then :
   14912   printf %s "(cached) " >&6
   14913 else $as_nop
   14914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14915 /* end confdefs.h.  */
   14916 int i;
   14917 _ACEOF
   14918 if ac_fn_c_try_compile "$LINENO"
   14919 then :
   14920   xorg_cv_cc_flag_unused_command_line_argument=yes
   14921 else $as_nop
   14922   xorg_cv_cc_flag_unused_command_line_argument=no
   14923 fi
   14924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14925 fi
   14926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14927 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14929 	CFLAGS="$xorg_testset_save_CFLAGS"
   14930 fi
   14931 
   14932 found="no"
   14933 
   14934 	if test $found = "no" ; then
   14935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14937 		fi
   14938 
   14939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14941 		fi
   14942 
   14943 		CFLAGS="$CFLAGS -Wunused"
   14944 
   14945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14946 printf %s "checking if $CC supports -Wunused... " >&6; }
   14947 		cacheid=xorg_cv_cc_flag__Wunused
   14948 		if eval test \${$cacheid+y}
   14949 then :
   14950   printf %s "(cached) " >&6
   14951 else $as_nop
   14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 int
   14956 main (void)
   14957 {
   14958 
   14959   ;
   14960   return 0;
   14961 }
   14962 _ACEOF
   14963 if ac_fn_c_try_link "$LINENO"
   14964 then :
   14965   eval $cacheid=yes
   14966 else $as_nop
   14967   eval $cacheid=no
   14968 fi
   14969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14970     conftest$ac_exeext conftest.$ac_ext
   14971 fi
   14972 
   14973 
   14974 		CFLAGS="$xorg_testset_save_CFLAGS"
   14975 
   14976 		eval supported=\$$cacheid
   14977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14978 printf "%s\n" "$supported" >&6; }
   14979 		if test "$supported" = "yes" ; then
   14980 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14981 			found="yes"
   14982 		fi
   14983 	fi
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 xorg_testset_save_CFLAGS="$CFLAGS"
   15000 
   15001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15004 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15005 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15006 then :
   15007   printf %s "(cached) " >&6
   15008 else $as_nop
   15009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15010 /* end confdefs.h.  */
   15011 int i;
   15012 _ACEOF
   15013 if ac_fn_c_try_compile "$LINENO"
   15014 then :
   15015   xorg_cv_cc_flag_unknown_warning_option=yes
   15016 else $as_nop
   15017   xorg_cv_cc_flag_unknown_warning_option=no
   15018 fi
   15019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15020 fi
   15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15022 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15024 	CFLAGS="$xorg_testset_save_CFLAGS"
   15025 fi
   15026 
   15027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15030 	fi
   15031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15033 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15034 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15035 then :
   15036   printf %s "(cached) " >&6
   15037 else $as_nop
   15038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15039 /* end confdefs.h.  */
   15040 int i;
   15041 _ACEOF
   15042 if ac_fn_c_try_compile "$LINENO"
   15043 then :
   15044   xorg_cv_cc_flag_unused_command_line_argument=yes
   15045 else $as_nop
   15046   xorg_cv_cc_flag_unused_command_line_argument=no
   15047 fi
   15048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15049 fi
   15050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15051 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15053 	CFLAGS="$xorg_testset_save_CFLAGS"
   15054 fi
   15055 
   15056 found="no"
   15057 
   15058 	if test $found = "no" ; then
   15059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15061 		fi
   15062 
   15063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15065 		fi
   15066 
   15067 		CFLAGS="$CFLAGS -Wuninitialized"
   15068 
   15069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15070 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15071 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15072 		if eval test \${$cacheid+y}
   15073 then :
   15074   printf %s "(cached) " >&6
   15075 else $as_nop
   15076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15077 /* end confdefs.h.  */
   15078 int i;
   15079 int
   15080 main (void)
   15081 {
   15082 
   15083   ;
   15084   return 0;
   15085 }
   15086 _ACEOF
   15087 if ac_fn_c_try_link "$LINENO"
   15088 then :
   15089   eval $cacheid=yes
   15090 else $as_nop
   15091   eval $cacheid=no
   15092 fi
   15093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15094     conftest$ac_exeext conftest.$ac_ext
   15095 fi
   15096 
   15097 
   15098 		CFLAGS="$xorg_testset_save_CFLAGS"
   15099 
   15100 		eval supported=\$$cacheid
   15101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15102 printf "%s\n" "$supported" >&6; }
   15103 		if test "$supported" = "yes" ; then
   15104 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15105 			found="yes"
   15106 		fi
   15107 	fi
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 xorg_testset_save_CFLAGS="$CFLAGS"
   15124 
   15125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15128 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15129 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15130 then :
   15131   printf %s "(cached) " >&6
   15132 else $as_nop
   15133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15134 /* end confdefs.h.  */
   15135 int i;
   15136 _ACEOF
   15137 if ac_fn_c_try_compile "$LINENO"
   15138 then :
   15139   xorg_cv_cc_flag_unknown_warning_option=yes
   15140 else $as_nop
   15141   xorg_cv_cc_flag_unknown_warning_option=no
   15142 fi
   15143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15144 fi
   15145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15146 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15148 	CFLAGS="$xorg_testset_save_CFLAGS"
   15149 fi
   15150 
   15151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15154 	fi
   15155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15156 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15157 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15158 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15159 then :
   15160   printf %s "(cached) " >&6
   15161 else $as_nop
   15162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15163 /* end confdefs.h.  */
   15164 int i;
   15165 _ACEOF
   15166 if ac_fn_c_try_compile "$LINENO"
   15167 then :
   15168   xorg_cv_cc_flag_unused_command_line_argument=yes
   15169 else $as_nop
   15170   xorg_cv_cc_flag_unused_command_line_argument=no
   15171 fi
   15172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15173 fi
   15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15175 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15177 	CFLAGS="$xorg_testset_save_CFLAGS"
   15178 fi
   15179 
   15180 found="no"
   15181 
   15182 	if test $found = "no" ; then
   15183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15185 		fi
   15186 
   15187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15189 		fi
   15190 
   15191 		CFLAGS="$CFLAGS -Wshadow"
   15192 
   15193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15194 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15195 		cacheid=xorg_cv_cc_flag__Wshadow
   15196 		if eval test \${$cacheid+y}
   15197 then :
   15198   printf %s "(cached) " >&6
   15199 else $as_nop
   15200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15201 /* end confdefs.h.  */
   15202 int i;
   15203 int
   15204 main (void)
   15205 {
   15206 
   15207   ;
   15208   return 0;
   15209 }
   15210 _ACEOF
   15211 if ac_fn_c_try_link "$LINENO"
   15212 then :
   15213   eval $cacheid=yes
   15214 else $as_nop
   15215   eval $cacheid=no
   15216 fi
   15217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15218     conftest$ac_exeext conftest.$ac_ext
   15219 fi
   15220 
   15221 
   15222 		CFLAGS="$xorg_testset_save_CFLAGS"
   15223 
   15224 		eval supported=\$$cacheid
   15225 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15226 printf "%s\n" "$supported" >&6; }
   15227 		if test "$supported" = "yes" ; then
   15228 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15229 			found="yes"
   15230 		fi
   15231 	fi
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 xorg_testset_save_CFLAGS="$CFLAGS"
   15248 
   15249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15252 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15253 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15254 then :
   15255   printf %s "(cached) " >&6
   15256 else $as_nop
   15257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15258 /* end confdefs.h.  */
   15259 int i;
   15260 _ACEOF
   15261 if ac_fn_c_try_compile "$LINENO"
   15262 then :
   15263   xorg_cv_cc_flag_unknown_warning_option=yes
   15264 else $as_nop
   15265   xorg_cv_cc_flag_unknown_warning_option=no
   15266 fi
   15267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15268 fi
   15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15270 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15272 	CFLAGS="$xorg_testset_save_CFLAGS"
   15273 fi
   15274 
   15275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 	fi
   15279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15281 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15282 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15283 then :
   15284   printf %s "(cached) " >&6
   15285 else $as_nop
   15286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15287 /* end confdefs.h.  */
   15288 int i;
   15289 _ACEOF
   15290 if ac_fn_c_try_compile "$LINENO"
   15291 then :
   15292   xorg_cv_cc_flag_unused_command_line_argument=yes
   15293 else $as_nop
   15294   xorg_cv_cc_flag_unused_command_line_argument=no
   15295 fi
   15296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15297 fi
   15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15299 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15301 	CFLAGS="$xorg_testset_save_CFLAGS"
   15302 fi
   15303 
   15304 found="no"
   15305 
   15306 	if test $found = "no" ; then
   15307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15309 		fi
   15310 
   15311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15313 		fi
   15314 
   15315 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15316 
   15317 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15318 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15319 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15320 		if eval test \${$cacheid+y}
   15321 then :
   15322   printf %s "(cached) " >&6
   15323 else $as_nop
   15324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15325 /* end confdefs.h.  */
   15326 int i;
   15327 int
   15328 main (void)
   15329 {
   15330 
   15331   ;
   15332   return 0;
   15333 }
   15334 _ACEOF
   15335 if ac_fn_c_try_link "$LINENO"
   15336 then :
   15337   eval $cacheid=yes
   15338 else $as_nop
   15339   eval $cacheid=no
   15340 fi
   15341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15342     conftest$ac_exeext conftest.$ac_ext
   15343 fi
   15344 
   15345 
   15346 		CFLAGS="$xorg_testset_save_CFLAGS"
   15347 
   15348 		eval supported=\$$cacheid
   15349 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15350 printf "%s\n" "$supported" >&6; }
   15351 		if test "$supported" = "yes" ; then
   15352 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15353 			found="yes"
   15354 		fi
   15355 	fi
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 xorg_testset_save_CFLAGS="$CFLAGS"
   15372 
   15373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15376 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15377 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15378 then :
   15379   printf %s "(cached) " >&6
   15380 else $as_nop
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 int i;
   15384 _ACEOF
   15385 if ac_fn_c_try_compile "$LINENO"
   15386 then :
   15387   xorg_cv_cc_flag_unknown_warning_option=yes
   15388 else $as_nop
   15389   xorg_cv_cc_flag_unknown_warning_option=no
   15390 fi
   15391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15392 fi
   15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15394 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15396 	CFLAGS="$xorg_testset_save_CFLAGS"
   15397 fi
   15398 
   15399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15402 	fi
   15403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15405 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15406 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15407 then :
   15408   printf %s "(cached) " >&6
   15409 else $as_nop
   15410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15411 /* end confdefs.h.  */
   15412 int i;
   15413 _ACEOF
   15414 if ac_fn_c_try_compile "$LINENO"
   15415 then :
   15416   xorg_cv_cc_flag_unused_command_line_argument=yes
   15417 else $as_nop
   15418   xorg_cv_cc_flag_unused_command_line_argument=no
   15419 fi
   15420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15421 fi
   15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15423 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15425 	CFLAGS="$xorg_testset_save_CFLAGS"
   15426 fi
   15427 
   15428 found="no"
   15429 
   15430 	if test $found = "no" ; then
   15431 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15433 		fi
   15434 
   15435 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15437 		fi
   15438 
   15439 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15440 
   15441 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15442 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15443 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15444 		if eval test \${$cacheid+y}
   15445 then :
   15446   printf %s "(cached) " >&6
   15447 else $as_nop
   15448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15449 /* end confdefs.h.  */
   15450 int i;
   15451 int
   15452 main (void)
   15453 {
   15454 
   15455   ;
   15456   return 0;
   15457 }
   15458 _ACEOF
   15459 if ac_fn_c_try_link "$LINENO"
   15460 then :
   15461   eval $cacheid=yes
   15462 else $as_nop
   15463   eval $cacheid=no
   15464 fi
   15465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15466     conftest$ac_exeext conftest.$ac_ext
   15467 fi
   15468 
   15469 
   15470 		CFLAGS="$xorg_testset_save_CFLAGS"
   15471 
   15472 		eval supported=\$$cacheid
   15473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15474 printf "%s\n" "$supported" >&6; }
   15475 		if test "$supported" = "yes" ; then
   15476 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15477 			found="yes"
   15478 		fi
   15479 	fi
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 xorg_testset_save_CFLAGS="$CFLAGS"
   15496 
   15497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15502 then :
   15503   printf %s "(cached) " >&6
   15504 else $as_nop
   15505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15506 /* end confdefs.h.  */
   15507 int i;
   15508 _ACEOF
   15509 if ac_fn_c_try_compile "$LINENO"
   15510 then :
   15511   xorg_cv_cc_flag_unknown_warning_option=yes
   15512 else $as_nop
   15513   xorg_cv_cc_flag_unknown_warning_option=no
   15514 fi
   15515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15516 fi
   15517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15518 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15520 	CFLAGS="$xorg_testset_save_CFLAGS"
   15521 fi
   15522 
   15523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15526 	fi
   15527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15529 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15530 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15531 then :
   15532   printf %s "(cached) " >&6
   15533 else $as_nop
   15534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15535 /* end confdefs.h.  */
   15536 int i;
   15537 _ACEOF
   15538 if ac_fn_c_try_compile "$LINENO"
   15539 then :
   15540   xorg_cv_cc_flag_unused_command_line_argument=yes
   15541 else $as_nop
   15542   xorg_cv_cc_flag_unused_command_line_argument=no
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15545 fi
   15546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15547 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15549 	CFLAGS="$xorg_testset_save_CFLAGS"
   15550 fi
   15551 
   15552 found="no"
   15553 
   15554 	if test $found = "no" ; then
   15555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15557 		fi
   15558 
   15559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15561 		fi
   15562 
   15563 		CFLAGS="$CFLAGS -Wredundant-decls"
   15564 
   15565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15566 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15567 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15568 		if eval test \${$cacheid+y}
   15569 then :
   15570   printf %s "(cached) " >&6
   15571 else $as_nop
   15572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15573 /* end confdefs.h.  */
   15574 int i;
   15575 int
   15576 main (void)
   15577 {
   15578 
   15579   ;
   15580   return 0;
   15581 }
   15582 _ACEOF
   15583 if ac_fn_c_try_link "$LINENO"
   15584 then :
   15585   eval $cacheid=yes
   15586 else $as_nop
   15587   eval $cacheid=no
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15590     conftest$ac_exeext conftest.$ac_ext
   15591 fi
   15592 
   15593 
   15594 		CFLAGS="$xorg_testset_save_CFLAGS"
   15595 
   15596 		eval supported=\$$cacheid
   15597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15598 printf "%s\n" "$supported" >&6; }
   15599 		if test "$supported" = "yes" ; then
   15600 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15601 			found="yes"
   15602 		fi
   15603 	fi
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 xorg_testset_save_CFLAGS="$CFLAGS"
   15620 
   15621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15626 then :
   15627   printf %s "(cached) " >&6
   15628 else $as_nop
   15629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15630 /* end confdefs.h.  */
   15631 int i;
   15632 _ACEOF
   15633 if ac_fn_c_try_compile "$LINENO"
   15634 then :
   15635   xorg_cv_cc_flag_unknown_warning_option=yes
   15636 else $as_nop
   15637   xorg_cv_cc_flag_unknown_warning_option=no
   15638 fi
   15639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15640 fi
   15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15642 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15644 	CFLAGS="$xorg_testset_save_CFLAGS"
   15645 fi
   15646 
   15647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15650 	fi
   15651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15653 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15654 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15655 then :
   15656   printf %s "(cached) " >&6
   15657 else $as_nop
   15658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15659 /* end confdefs.h.  */
   15660 int i;
   15661 _ACEOF
   15662 if ac_fn_c_try_compile "$LINENO"
   15663 then :
   15664   xorg_cv_cc_flag_unused_command_line_argument=yes
   15665 else $as_nop
   15666   xorg_cv_cc_flag_unused_command_line_argument=no
   15667 fi
   15668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15669 fi
   15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15671 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15673 	CFLAGS="$xorg_testset_save_CFLAGS"
   15674 fi
   15675 
   15676 found="no"
   15677 
   15678 	if test $found = "no" ; then
   15679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15681 		fi
   15682 
   15683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15685 		fi
   15686 
   15687 		CFLAGS="$CFLAGS -Wlogical-op"
   15688 
   15689 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15690 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15691 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15692 		if eval test \${$cacheid+y}
   15693 then :
   15694   printf %s "(cached) " >&6
   15695 else $as_nop
   15696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15697 /* end confdefs.h.  */
   15698 int i;
   15699 int
   15700 main (void)
   15701 {
   15702 
   15703   ;
   15704   return 0;
   15705 }
   15706 _ACEOF
   15707 if ac_fn_c_try_link "$LINENO"
   15708 then :
   15709   eval $cacheid=yes
   15710 else $as_nop
   15711   eval $cacheid=no
   15712 fi
   15713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15714     conftest$ac_exeext conftest.$ac_ext
   15715 fi
   15716 
   15717 
   15718 		CFLAGS="$xorg_testset_save_CFLAGS"
   15719 
   15720 		eval supported=\$$cacheid
   15721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15722 printf "%s\n" "$supported" >&6; }
   15723 		if test "$supported" = "yes" ; then
   15724 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15725 			found="yes"
   15726 		fi
   15727 	fi
   15728 
   15729 
   15730 
   15731 # These are currently disabled because they are noisy.  They will be enabled
   15732 # in the future once the codebase is sufficiently modernized to silence
   15733 # them.  For now, I don't want them to drown out the other warnings.
   15734 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15735 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15736 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15737 
   15738 # Turn some warnings into errors, so we don't accidently get successful builds
   15739 # when there are problems that should be fixed.
   15740 
   15741 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 xorg_testset_save_CFLAGS="$CFLAGS"
   15756 
   15757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15760 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15761 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15762 then :
   15763   printf %s "(cached) " >&6
   15764 else $as_nop
   15765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15766 /* end confdefs.h.  */
   15767 int i;
   15768 _ACEOF
   15769 if ac_fn_c_try_compile "$LINENO"
   15770 then :
   15771   xorg_cv_cc_flag_unknown_warning_option=yes
   15772 else $as_nop
   15773   xorg_cv_cc_flag_unknown_warning_option=no
   15774 fi
   15775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15776 fi
   15777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15780 	CFLAGS="$xorg_testset_save_CFLAGS"
   15781 fi
   15782 
   15783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15786 	fi
   15787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15791 then :
   15792   printf %s "(cached) " >&6
   15793 else $as_nop
   15794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15795 /* end confdefs.h.  */
   15796 int i;
   15797 _ACEOF
   15798 if ac_fn_c_try_compile "$LINENO"
   15799 then :
   15800   xorg_cv_cc_flag_unused_command_line_argument=yes
   15801 else $as_nop
   15802   xorg_cv_cc_flag_unused_command_line_argument=no
   15803 fi
   15804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15805 fi
   15806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15807 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15809 	CFLAGS="$xorg_testset_save_CFLAGS"
   15810 fi
   15811 
   15812 found="no"
   15813 
   15814 	if test $found = "no" ; then
   15815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15817 		fi
   15818 
   15819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15821 		fi
   15822 
   15823 		CFLAGS="$CFLAGS -Werror=implicit"
   15824 
   15825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15826 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15827 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15828 		if eval test \${$cacheid+y}
   15829 then :
   15830   printf %s "(cached) " >&6
   15831 else $as_nop
   15832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15833 /* end confdefs.h.  */
   15834 int i;
   15835 int
   15836 main (void)
   15837 {
   15838 
   15839   ;
   15840   return 0;
   15841 }
   15842 _ACEOF
   15843 if ac_fn_c_try_link "$LINENO"
   15844 then :
   15845   eval $cacheid=yes
   15846 else $as_nop
   15847   eval $cacheid=no
   15848 fi
   15849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15850     conftest$ac_exeext conftest.$ac_ext
   15851 fi
   15852 
   15853 
   15854 		CFLAGS="$xorg_testset_save_CFLAGS"
   15855 
   15856 		eval supported=\$$cacheid
   15857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15858 printf "%s\n" "$supported" >&6; }
   15859 		if test "$supported" = "yes" ; then
   15860 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15861 			found="yes"
   15862 		fi
   15863 	fi
   15864 
   15865 	if test $found = "no" ; then
   15866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 		fi
   15869 
   15870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15872 		fi
   15873 
   15874 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15875 
   15876 		{ 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
   15877 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15878 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15879 		if eval test \${$cacheid+y}
   15880 then :
   15881   printf %s "(cached) " >&6
   15882 else $as_nop
   15883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15884 /* end confdefs.h.  */
   15885 int i;
   15886 int
   15887 main (void)
   15888 {
   15889 
   15890   ;
   15891   return 0;
   15892 }
   15893 _ACEOF
   15894 if ac_fn_c_try_link "$LINENO"
   15895 then :
   15896   eval $cacheid=yes
   15897 else $as_nop
   15898   eval $cacheid=no
   15899 fi
   15900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15901     conftest$ac_exeext conftest.$ac_ext
   15902 fi
   15903 
   15904 
   15905 		CFLAGS="$xorg_testset_save_CFLAGS"
   15906 
   15907 		eval supported=\$$cacheid
   15908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15909 printf "%s\n" "$supported" >&6; }
   15910 		if test "$supported" = "yes" ; then
   15911 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15912 			found="yes"
   15913 		fi
   15914 	fi
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 xorg_testset_save_CFLAGS="$CFLAGS"
   15931 
   15932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15937 then :
   15938   printf %s "(cached) " >&6
   15939 else $as_nop
   15940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15941 /* end confdefs.h.  */
   15942 int i;
   15943 _ACEOF
   15944 if ac_fn_c_try_compile "$LINENO"
   15945 then :
   15946   xorg_cv_cc_flag_unknown_warning_option=yes
   15947 else $as_nop
   15948   xorg_cv_cc_flag_unknown_warning_option=no
   15949 fi
   15950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15951 fi
   15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15953 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15955 	CFLAGS="$xorg_testset_save_CFLAGS"
   15956 fi
   15957 
   15958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15961 	fi
   15962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15964 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15965 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15966 then :
   15967   printf %s "(cached) " >&6
   15968 else $as_nop
   15969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15970 /* end confdefs.h.  */
   15971 int i;
   15972 _ACEOF
   15973 if ac_fn_c_try_compile "$LINENO"
   15974 then :
   15975   xorg_cv_cc_flag_unused_command_line_argument=yes
   15976 else $as_nop
   15977   xorg_cv_cc_flag_unused_command_line_argument=no
   15978 fi
   15979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15980 fi
   15981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15982 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15984 	CFLAGS="$xorg_testset_save_CFLAGS"
   15985 fi
   15986 
   15987 found="no"
   15988 
   15989 	if test $found = "no" ; then
   15990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15992 		fi
   15993 
   15994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15996 		fi
   15997 
   15998 		CFLAGS="$CFLAGS -Werror=nonnull"
   15999 
   16000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16001 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16002 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16003 		if eval test \${$cacheid+y}
   16004 then :
   16005   printf %s "(cached) " >&6
   16006 else $as_nop
   16007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16008 /* end confdefs.h.  */
   16009 int i;
   16010 int
   16011 main (void)
   16012 {
   16013 
   16014   ;
   16015   return 0;
   16016 }
   16017 _ACEOF
   16018 if ac_fn_c_try_link "$LINENO"
   16019 then :
   16020   eval $cacheid=yes
   16021 else $as_nop
   16022   eval $cacheid=no
   16023 fi
   16024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16025     conftest$ac_exeext conftest.$ac_ext
   16026 fi
   16027 
   16028 
   16029 		CFLAGS="$xorg_testset_save_CFLAGS"
   16030 
   16031 		eval supported=\$$cacheid
   16032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16033 printf "%s\n" "$supported" >&6; }
   16034 		if test "$supported" = "yes" ; then
   16035 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16036 			found="yes"
   16037 		fi
   16038 	fi
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 xorg_testset_save_CFLAGS="$CFLAGS"
   16055 
   16056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16059 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16060 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16061 then :
   16062   printf %s "(cached) " >&6
   16063 else $as_nop
   16064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16065 /* end confdefs.h.  */
   16066 int i;
   16067 _ACEOF
   16068 if ac_fn_c_try_compile "$LINENO"
   16069 then :
   16070   xorg_cv_cc_flag_unknown_warning_option=yes
   16071 else $as_nop
   16072   xorg_cv_cc_flag_unknown_warning_option=no
   16073 fi
   16074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16075 fi
   16076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16077 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16079 	CFLAGS="$xorg_testset_save_CFLAGS"
   16080 fi
   16081 
   16082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16085 	fi
   16086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16090 then :
   16091   printf %s "(cached) " >&6
   16092 else $as_nop
   16093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16094 /* end confdefs.h.  */
   16095 int i;
   16096 _ACEOF
   16097 if ac_fn_c_try_compile "$LINENO"
   16098 then :
   16099   xorg_cv_cc_flag_unused_command_line_argument=yes
   16100 else $as_nop
   16101   xorg_cv_cc_flag_unused_command_line_argument=no
   16102 fi
   16103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16104 fi
   16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16106 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16108 	CFLAGS="$xorg_testset_save_CFLAGS"
   16109 fi
   16110 
   16111 found="no"
   16112 
   16113 	if test $found = "no" ; then
   16114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16116 		fi
   16117 
   16118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16120 		fi
   16121 
   16122 		CFLAGS="$CFLAGS -Werror=init-self"
   16123 
   16124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16125 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16126 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16127 		if eval test \${$cacheid+y}
   16128 then :
   16129   printf %s "(cached) " >&6
   16130 else $as_nop
   16131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16132 /* end confdefs.h.  */
   16133 int i;
   16134 int
   16135 main (void)
   16136 {
   16137 
   16138   ;
   16139   return 0;
   16140 }
   16141 _ACEOF
   16142 if ac_fn_c_try_link "$LINENO"
   16143 then :
   16144   eval $cacheid=yes
   16145 else $as_nop
   16146   eval $cacheid=no
   16147 fi
   16148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16149     conftest$ac_exeext conftest.$ac_ext
   16150 fi
   16151 
   16152 
   16153 		CFLAGS="$xorg_testset_save_CFLAGS"
   16154 
   16155 		eval supported=\$$cacheid
   16156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16157 printf "%s\n" "$supported" >&6; }
   16158 		if test "$supported" = "yes" ; then
   16159 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16160 			found="yes"
   16161 		fi
   16162 	fi
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 xorg_testset_save_CFLAGS="$CFLAGS"
   16179 
   16180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16184 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16185 then :
   16186   printf %s "(cached) " >&6
   16187 else $as_nop
   16188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16189 /* end confdefs.h.  */
   16190 int i;
   16191 _ACEOF
   16192 if ac_fn_c_try_compile "$LINENO"
   16193 then :
   16194   xorg_cv_cc_flag_unknown_warning_option=yes
   16195 else $as_nop
   16196   xorg_cv_cc_flag_unknown_warning_option=no
   16197 fi
   16198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16199 fi
   16200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16201 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16203 	CFLAGS="$xorg_testset_save_CFLAGS"
   16204 fi
   16205 
   16206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16209 	fi
   16210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16212 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16213 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16214 then :
   16215   printf %s "(cached) " >&6
   16216 else $as_nop
   16217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16218 /* end confdefs.h.  */
   16219 int i;
   16220 _ACEOF
   16221 if ac_fn_c_try_compile "$LINENO"
   16222 then :
   16223   xorg_cv_cc_flag_unused_command_line_argument=yes
   16224 else $as_nop
   16225   xorg_cv_cc_flag_unused_command_line_argument=no
   16226 fi
   16227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16228 fi
   16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16232 	CFLAGS="$xorg_testset_save_CFLAGS"
   16233 fi
   16234 
   16235 found="no"
   16236 
   16237 	if test $found = "no" ; then
   16238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16240 		fi
   16241 
   16242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16244 		fi
   16245 
   16246 		CFLAGS="$CFLAGS -Werror=main"
   16247 
   16248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16249 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16250 		cacheid=xorg_cv_cc_flag__Werror_main
   16251 		if eval test \${$cacheid+y}
   16252 then :
   16253   printf %s "(cached) " >&6
   16254 else $as_nop
   16255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16256 /* end confdefs.h.  */
   16257 int i;
   16258 int
   16259 main (void)
   16260 {
   16261 
   16262   ;
   16263   return 0;
   16264 }
   16265 _ACEOF
   16266 if ac_fn_c_try_link "$LINENO"
   16267 then :
   16268   eval $cacheid=yes
   16269 else $as_nop
   16270   eval $cacheid=no
   16271 fi
   16272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16273     conftest$ac_exeext conftest.$ac_ext
   16274 fi
   16275 
   16276 
   16277 		CFLAGS="$xorg_testset_save_CFLAGS"
   16278 
   16279 		eval supported=\$$cacheid
   16280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16281 printf "%s\n" "$supported" >&6; }
   16282 		if test "$supported" = "yes" ; then
   16283 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16284 			found="yes"
   16285 		fi
   16286 	fi
   16287 
   16288 
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 xorg_testset_save_CFLAGS="$CFLAGS"
   16303 
   16304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16307 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16308 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16309 then :
   16310   printf %s "(cached) " >&6
   16311 else $as_nop
   16312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16313 /* end confdefs.h.  */
   16314 int i;
   16315 _ACEOF
   16316 if ac_fn_c_try_compile "$LINENO"
   16317 then :
   16318   xorg_cv_cc_flag_unknown_warning_option=yes
   16319 else $as_nop
   16320   xorg_cv_cc_flag_unknown_warning_option=no
   16321 fi
   16322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16323 fi
   16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16325 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16327 	CFLAGS="$xorg_testset_save_CFLAGS"
   16328 fi
   16329 
   16330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16333 	fi
   16334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16336 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16337 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16338 then :
   16339   printf %s "(cached) " >&6
   16340 else $as_nop
   16341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16342 /* end confdefs.h.  */
   16343 int i;
   16344 _ACEOF
   16345 if ac_fn_c_try_compile "$LINENO"
   16346 then :
   16347   xorg_cv_cc_flag_unused_command_line_argument=yes
   16348 else $as_nop
   16349   xorg_cv_cc_flag_unused_command_line_argument=no
   16350 fi
   16351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16352 fi
   16353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16354 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16356 	CFLAGS="$xorg_testset_save_CFLAGS"
   16357 fi
   16358 
   16359 found="no"
   16360 
   16361 	if test $found = "no" ; then
   16362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16364 		fi
   16365 
   16366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16368 		fi
   16369 
   16370 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16371 
   16372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16373 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16374 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16375 		if eval test \${$cacheid+y}
   16376 then :
   16377   printf %s "(cached) " >&6
   16378 else $as_nop
   16379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16380 /* end confdefs.h.  */
   16381 int i;
   16382 int
   16383 main (void)
   16384 {
   16385 
   16386   ;
   16387   return 0;
   16388 }
   16389 _ACEOF
   16390 if ac_fn_c_try_link "$LINENO"
   16391 then :
   16392   eval $cacheid=yes
   16393 else $as_nop
   16394   eval $cacheid=no
   16395 fi
   16396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16397     conftest$ac_exeext conftest.$ac_ext
   16398 fi
   16399 
   16400 
   16401 		CFLAGS="$xorg_testset_save_CFLAGS"
   16402 
   16403 		eval supported=\$$cacheid
   16404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16405 printf "%s\n" "$supported" >&6; }
   16406 		if test "$supported" = "yes" ; then
   16407 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16408 			found="yes"
   16409 		fi
   16410 	fi
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 xorg_testset_save_CFLAGS="$CFLAGS"
   16427 
   16428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16433 then :
   16434   printf %s "(cached) " >&6
   16435 else $as_nop
   16436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16437 /* end confdefs.h.  */
   16438 int i;
   16439 _ACEOF
   16440 if ac_fn_c_try_compile "$LINENO"
   16441 then :
   16442   xorg_cv_cc_flag_unknown_warning_option=yes
   16443 else $as_nop
   16444   xorg_cv_cc_flag_unknown_warning_option=no
   16445 fi
   16446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16447 fi
   16448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16449 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16451 	CFLAGS="$xorg_testset_save_CFLAGS"
   16452 fi
   16453 
   16454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16457 	fi
   16458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16460 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16461 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16462 then :
   16463   printf %s "(cached) " >&6
   16464 else $as_nop
   16465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16466 /* end confdefs.h.  */
   16467 int i;
   16468 _ACEOF
   16469 if ac_fn_c_try_compile "$LINENO"
   16470 then :
   16471   xorg_cv_cc_flag_unused_command_line_argument=yes
   16472 else $as_nop
   16473   xorg_cv_cc_flag_unused_command_line_argument=no
   16474 fi
   16475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16476 fi
   16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16478 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16480 	CFLAGS="$xorg_testset_save_CFLAGS"
   16481 fi
   16482 
   16483 found="no"
   16484 
   16485 	if test $found = "no" ; then
   16486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16488 		fi
   16489 
   16490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16492 		fi
   16493 
   16494 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16495 
   16496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16497 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16498 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16499 		if eval test \${$cacheid+y}
   16500 then :
   16501   printf %s "(cached) " >&6
   16502 else $as_nop
   16503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16504 /* end confdefs.h.  */
   16505 int i;
   16506 int
   16507 main (void)
   16508 {
   16509 
   16510   ;
   16511   return 0;
   16512 }
   16513 _ACEOF
   16514 if ac_fn_c_try_link "$LINENO"
   16515 then :
   16516   eval $cacheid=yes
   16517 else $as_nop
   16518   eval $cacheid=no
   16519 fi
   16520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16521     conftest$ac_exeext conftest.$ac_ext
   16522 fi
   16523 
   16524 
   16525 		CFLAGS="$xorg_testset_save_CFLAGS"
   16526 
   16527 		eval supported=\$$cacheid
   16528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16529 printf "%s\n" "$supported" >&6; }
   16530 		if test "$supported" = "yes" ; then
   16531 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16532 			found="yes"
   16533 		fi
   16534 	fi
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 xorg_testset_save_CFLAGS="$CFLAGS"
   16551 
   16552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16555 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16556 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16557 then :
   16558   printf %s "(cached) " >&6
   16559 else $as_nop
   16560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 _ACEOF
   16564 if ac_fn_c_try_compile "$LINENO"
   16565 then :
   16566   xorg_cv_cc_flag_unknown_warning_option=yes
   16567 else $as_nop
   16568   xorg_cv_cc_flag_unknown_warning_option=no
   16569 fi
   16570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16571 fi
   16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16573 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16575 	CFLAGS="$xorg_testset_save_CFLAGS"
   16576 fi
   16577 
   16578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16581 	fi
   16582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16584 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16585 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16586 then :
   16587   printf %s "(cached) " >&6
   16588 else $as_nop
   16589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16590 /* end confdefs.h.  */
   16591 int i;
   16592 _ACEOF
   16593 if ac_fn_c_try_compile "$LINENO"
   16594 then :
   16595   xorg_cv_cc_flag_unused_command_line_argument=yes
   16596 else $as_nop
   16597   xorg_cv_cc_flag_unused_command_line_argument=no
   16598 fi
   16599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16600 fi
   16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16602 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16604 	CFLAGS="$xorg_testset_save_CFLAGS"
   16605 fi
   16606 
   16607 found="no"
   16608 
   16609 	if test $found = "no" ; then
   16610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16612 		fi
   16613 
   16614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16616 		fi
   16617 
   16618 		CFLAGS="$CFLAGS -Werror=return-type"
   16619 
   16620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16621 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16622 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16623 		if eval test \${$cacheid+y}
   16624 then :
   16625   printf %s "(cached) " >&6
   16626 else $as_nop
   16627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16628 /* end confdefs.h.  */
   16629 int i;
   16630 int
   16631 main (void)
   16632 {
   16633 
   16634   ;
   16635   return 0;
   16636 }
   16637 _ACEOF
   16638 if ac_fn_c_try_link "$LINENO"
   16639 then :
   16640   eval $cacheid=yes
   16641 else $as_nop
   16642   eval $cacheid=no
   16643 fi
   16644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16645     conftest$ac_exeext conftest.$ac_ext
   16646 fi
   16647 
   16648 
   16649 		CFLAGS="$xorg_testset_save_CFLAGS"
   16650 
   16651 		eval supported=\$$cacheid
   16652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16653 printf "%s\n" "$supported" >&6; }
   16654 		if test "$supported" = "yes" ; then
   16655 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16656 			found="yes"
   16657 		fi
   16658 	fi
   16659 
   16660 	if test $found = "no" ; then
   16661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16663 		fi
   16664 
   16665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16667 		fi
   16668 
   16669 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16670 
   16671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16672 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16673 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16674 		if eval test \${$cacheid+y}
   16675 then :
   16676   printf %s "(cached) " >&6
   16677 else $as_nop
   16678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16679 /* end confdefs.h.  */
   16680 int i;
   16681 int
   16682 main (void)
   16683 {
   16684 
   16685   ;
   16686   return 0;
   16687 }
   16688 _ACEOF
   16689 if ac_fn_c_try_link "$LINENO"
   16690 then :
   16691   eval $cacheid=yes
   16692 else $as_nop
   16693   eval $cacheid=no
   16694 fi
   16695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16696     conftest$ac_exeext conftest.$ac_ext
   16697 fi
   16698 
   16699 
   16700 		CFLAGS="$xorg_testset_save_CFLAGS"
   16701 
   16702 		eval supported=\$$cacheid
   16703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16704 printf "%s\n" "$supported" >&6; }
   16705 		if test "$supported" = "yes" ; then
   16706 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16707 			found="yes"
   16708 		fi
   16709 	fi
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 xorg_testset_save_CFLAGS="$CFLAGS"
   16726 
   16727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16732 then :
   16733   printf %s "(cached) " >&6
   16734 else $as_nop
   16735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16736 /* end confdefs.h.  */
   16737 int i;
   16738 _ACEOF
   16739 if ac_fn_c_try_compile "$LINENO"
   16740 then :
   16741   xorg_cv_cc_flag_unknown_warning_option=yes
   16742 else $as_nop
   16743   xorg_cv_cc_flag_unknown_warning_option=no
   16744 fi
   16745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16746 fi
   16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16748 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16750 	CFLAGS="$xorg_testset_save_CFLAGS"
   16751 fi
   16752 
   16753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16756 	fi
   16757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16758 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16759 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16760 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16761 then :
   16762   printf %s "(cached) " >&6
   16763 else $as_nop
   16764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16765 /* end confdefs.h.  */
   16766 int i;
   16767 _ACEOF
   16768 if ac_fn_c_try_compile "$LINENO"
   16769 then :
   16770   xorg_cv_cc_flag_unused_command_line_argument=yes
   16771 else $as_nop
   16772   xorg_cv_cc_flag_unused_command_line_argument=no
   16773 fi
   16774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16775 fi
   16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16777 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16779 	CFLAGS="$xorg_testset_save_CFLAGS"
   16780 fi
   16781 
   16782 found="no"
   16783 
   16784 	if test $found = "no" ; then
   16785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16787 		fi
   16788 
   16789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16791 		fi
   16792 
   16793 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16794 
   16795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16796 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16797 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16798 		if eval test \${$cacheid+y}
   16799 then :
   16800   printf %s "(cached) " >&6
   16801 else $as_nop
   16802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16803 /* end confdefs.h.  */
   16804 int i;
   16805 int
   16806 main (void)
   16807 {
   16808 
   16809   ;
   16810   return 0;
   16811 }
   16812 _ACEOF
   16813 if ac_fn_c_try_link "$LINENO"
   16814 then :
   16815   eval $cacheid=yes
   16816 else $as_nop
   16817   eval $cacheid=no
   16818 fi
   16819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16820     conftest$ac_exeext conftest.$ac_ext
   16821 fi
   16822 
   16823 
   16824 		CFLAGS="$xorg_testset_save_CFLAGS"
   16825 
   16826 		eval supported=\$$cacheid
   16827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16828 printf "%s\n" "$supported" >&6; }
   16829 		if test "$supported" = "yes" ; then
   16830 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16831 			found="yes"
   16832 		fi
   16833 	fi
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 xorg_testset_save_CFLAGS="$CFLAGS"
   16850 
   16851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16854 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16855 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16856 then :
   16857   printf %s "(cached) " >&6
   16858 else $as_nop
   16859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16860 /* end confdefs.h.  */
   16861 int i;
   16862 _ACEOF
   16863 if ac_fn_c_try_compile "$LINENO"
   16864 then :
   16865   xorg_cv_cc_flag_unknown_warning_option=yes
   16866 else $as_nop
   16867   xorg_cv_cc_flag_unknown_warning_option=no
   16868 fi
   16869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16870 fi
   16871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16872 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16873 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16874 	CFLAGS="$xorg_testset_save_CFLAGS"
   16875 fi
   16876 
   16877 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16878 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16879 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16880 	fi
   16881 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16883 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16884 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16885 then :
   16886   printf %s "(cached) " >&6
   16887 else $as_nop
   16888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16889 /* end confdefs.h.  */
   16890 int i;
   16891 _ACEOF
   16892 if ac_fn_c_try_compile "$LINENO"
   16893 then :
   16894   xorg_cv_cc_flag_unused_command_line_argument=yes
   16895 else $as_nop
   16896   xorg_cv_cc_flag_unused_command_line_argument=no
   16897 fi
   16898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16899 fi
   16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16901 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16903 	CFLAGS="$xorg_testset_save_CFLAGS"
   16904 fi
   16905 
   16906 found="no"
   16907 
   16908 	if test $found = "no" ; then
   16909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16911 		fi
   16912 
   16913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16915 		fi
   16916 
   16917 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16918 
   16919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16920 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16921 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16922 		if eval test \${$cacheid+y}
   16923 then :
   16924   printf %s "(cached) " >&6
   16925 else $as_nop
   16926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16927 /* end confdefs.h.  */
   16928 int i;
   16929 int
   16930 main (void)
   16931 {
   16932 
   16933   ;
   16934   return 0;
   16935 }
   16936 _ACEOF
   16937 if ac_fn_c_try_link "$LINENO"
   16938 then :
   16939   eval $cacheid=yes
   16940 else $as_nop
   16941   eval $cacheid=no
   16942 fi
   16943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16944     conftest$ac_exeext conftest.$ac_ext
   16945 fi
   16946 
   16947 
   16948 		CFLAGS="$xorg_testset_save_CFLAGS"
   16949 
   16950 		eval supported=\$$cacheid
   16951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16952 printf "%s\n" "$supported" >&6; }
   16953 		if test "$supported" = "yes" ; then
   16954 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16955 			found="yes"
   16956 		fi
   16957 	fi
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 xorg_testset_save_CFLAGS="$CFLAGS"
   16974 
   16975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16978 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16979 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16980 then :
   16981   printf %s "(cached) " >&6
   16982 else $as_nop
   16983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16984 /* end confdefs.h.  */
   16985 int i;
   16986 _ACEOF
   16987 if ac_fn_c_try_compile "$LINENO"
   16988 then :
   16989   xorg_cv_cc_flag_unknown_warning_option=yes
   16990 else $as_nop
   16991   xorg_cv_cc_flag_unknown_warning_option=no
   16992 fi
   16993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16994 fi
   16995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16998 	CFLAGS="$xorg_testset_save_CFLAGS"
   16999 fi
   17000 
   17001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17004 	fi
   17005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17009 then :
   17010   printf %s "(cached) " >&6
   17011 else $as_nop
   17012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17013 /* end confdefs.h.  */
   17014 int i;
   17015 _ACEOF
   17016 if ac_fn_c_try_compile "$LINENO"
   17017 then :
   17018   xorg_cv_cc_flag_unused_command_line_argument=yes
   17019 else $as_nop
   17020   xorg_cv_cc_flag_unused_command_line_argument=no
   17021 fi
   17022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17023 fi
   17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17025 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17027 	CFLAGS="$xorg_testset_save_CFLAGS"
   17028 fi
   17029 
   17030 found="no"
   17031 
   17032 	if test $found = "no" ; then
   17033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17035 		fi
   17036 
   17037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17039 		fi
   17040 
   17041 		CFLAGS="$CFLAGS -Werror=write-strings"
   17042 
   17043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17044 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17045 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17046 		if eval test \${$cacheid+y}
   17047 then :
   17048   printf %s "(cached) " >&6
   17049 else $as_nop
   17050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17051 /* end confdefs.h.  */
   17052 int i;
   17053 int
   17054 main (void)
   17055 {
   17056 
   17057   ;
   17058   return 0;
   17059 }
   17060 _ACEOF
   17061 if ac_fn_c_try_link "$LINENO"
   17062 then :
   17063   eval $cacheid=yes
   17064 else $as_nop
   17065   eval $cacheid=no
   17066 fi
   17067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17068     conftest$ac_exeext conftest.$ac_ext
   17069 fi
   17070 
   17071 
   17072 		CFLAGS="$xorg_testset_save_CFLAGS"
   17073 
   17074 		eval supported=\$$cacheid
   17075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17076 printf "%s\n" "$supported" >&6; }
   17077 		if test "$supported" = "yes" ; then
   17078 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17079 			found="yes"
   17080 		fi
   17081 	fi
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 xorg_testset_save_CFLAGS="$CFLAGS"
   17098 
   17099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17104 then :
   17105   printf %s "(cached) " >&6
   17106 else $as_nop
   17107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17108 /* end confdefs.h.  */
   17109 int i;
   17110 _ACEOF
   17111 if ac_fn_c_try_compile "$LINENO"
   17112 then :
   17113   xorg_cv_cc_flag_unknown_warning_option=yes
   17114 else $as_nop
   17115   xorg_cv_cc_flag_unknown_warning_option=no
   17116 fi
   17117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17118 fi
   17119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17120 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17122 	CFLAGS="$xorg_testset_save_CFLAGS"
   17123 fi
   17124 
   17125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17128 	fi
   17129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17133 then :
   17134   printf %s "(cached) " >&6
   17135 else $as_nop
   17136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17137 /* end confdefs.h.  */
   17138 int i;
   17139 _ACEOF
   17140 if ac_fn_c_try_compile "$LINENO"
   17141 then :
   17142   xorg_cv_cc_flag_unused_command_line_argument=yes
   17143 else $as_nop
   17144   xorg_cv_cc_flag_unused_command_line_argument=no
   17145 fi
   17146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17147 fi
   17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17149 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17151 	CFLAGS="$xorg_testset_save_CFLAGS"
   17152 fi
   17153 
   17154 found="no"
   17155 
   17156 	if test $found = "no" ; then
   17157 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17159 		fi
   17160 
   17161 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17163 		fi
   17164 
   17165 		CFLAGS="$CFLAGS -Werror=address"
   17166 
   17167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17168 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17169 		cacheid=xorg_cv_cc_flag__Werror_address
   17170 		if eval test \${$cacheid+y}
   17171 then :
   17172   printf %s "(cached) " >&6
   17173 else $as_nop
   17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17175 /* end confdefs.h.  */
   17176 int i;
   17177 int
   17178 main (void)
   17179 {
   17180 
   17181   ;
   17182   return 0;
   17183 }
   17184 _ACEOF
   17185 if ac_fn_c_try_link "$LINENO"
   17186 then :
   17187   eval $cacheid=yes
   17188 else $as_nop
   17189   eval $cacheid=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17192     conftest$ac_exeext conftest.$ac_ext
   17193 fi
   17194 
   17195 
   17196 		CFLAGS="$xorg_testset_save_CFLAGS"
   17197 
   17198 		eval supported=\$$cacheid
   17199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17200 printf "%s\n" "$supported" >&6; }
   17201 		if test "$supported" = "yes" ; then
   17202 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17203 			found="yes"
   17204 		fi
   17205 	fi
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 xorg_testset_save_CFLAGS="$CFLAGS"
   17222 
   17223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17226 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17227 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17228 then :
   17229   printf %s "(cached) " >&6
   17230 else $as_nop
   17231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17232 /* end confdefs.h.  */
   17233 int i;
   17234 _ACEOF
   17235 if ac_fn_c_try_compile "$LINENO"
   17236 then :
   17237   xorg_cv_cc_flag_unknown_warning_option=yes
   17238 else $as_nop
   17239   xorg_cv_cc_flag_unknown_warning_option=no
   17240 fi
   17241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17242 fi
   17243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17246 	CFLAGS="$xorg_testset_save_CFLAGS"
   17247 fi
   17248 
   17249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17252 	fi
   17253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17257 then :
   17258   printf %s "(cached) " >&6
   17259 else $as_nop
   17260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17261 /* end confdefs.h.  */
   17262 int i;
   17263 _ACEOF
   17264 if ac_fn_c_try_compile "$LINENO"
   17265 then :
   17266   xorg_cv_cc_flag_unused_command_line_argument=yes
   17267 else $as_nop
   17268   xorg_cv_cc_flag_unused_command_line_argument=no
   17269 fi
   17270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17271 fi
   17272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17275 	CFLAGS="$xorg_testset_save_CFLAGS"
   17276 fi
   17277 
   17278 found="no"
   17279 
   17280 	if test $found = "no" ; then
   17281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17283 		fi
   17284 
   17285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17287 		fi
   17288 
   17289 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17290 
   17291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17292 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17293 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17294 		if eval test \${$cacheid+y}
   17295 then :
   17296   printf %s "(cached) " >&6
   17297 else $as_nop
   17298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17299 /* end confdefs.h.  */
   17300 int i;
   17301 int
   17302 main (void)
   17303 {
   17304 
   17305   ;
   17306   return 0;
   17307 }
   17308 _ACEOF
   17309 if ac_fn_c_try_link "$LINENO"
   17310 then :
   17311   eval $cacheid=yes
   17312 else $as_nop
   17313   eval $cacheid=no
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17316     conftest$ac_exeext conftest.$ac_ext
   17317 fi
   17318 
   17319 
   17320 		CFLAGS="$xorg_testset_save_CFLAGS"
   17321 
   17322 		eval supported=\$$cacheid
   17323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17324 printf "%s\n" "$supported" >&6; }
   17325 		if test "$supported" = "yes" ; then
   17326 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17327 			found="yes"
   17328 		fi
   17329 	fi
   17330 
   17331 	if test $found = "no" ; then
   17332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17334 		fi
   17335 
   17336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17338 		fi
   17339 
   17340 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17341 
   17342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17343 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17344 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17345 		if eval test \${$cacheid+y}
   17346 then :
   17347   printf %s "(cached) " >&6
   17348 else $as_nop
   17349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17350 /* end confdefs.h.  */
   17351 int i;
   17352 int
   17353 main (void)
   17354 {
   17355 
   17356   ;
   17357   return 0;
   17358 }
   17359 _ACEOF
   17360 if ac_fn_c_try_link "$LINENO"
   17361 then :
   17362   eval $cacheid=yes
   17363 else $as_nop
   17364   eval $cacheid=no
   17365 fi
   17366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17367     conftest$ac_exeext conftest.$ac_ext
   17368 fi
   17369 
   17370 
   17371 		CFLAGS="$xorg_testset_save_CFLAGS"
   17372 
   17373 		eval supported=\$$cacheid
   17374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17375 printf "%s\n" "$supported" >&6; }
   17376 		if test "$supported" = "yes" ; then
   17377 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17378 			found="yes"
   17379 		fi
   17380 	fi
   17381 
   17382 
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 xorg_testset_save_CFLAGS="$CFLAGS"
   17397 
   17398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17401 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17402 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17403 then :
   17404   printf %s "(cached) " >&6
   17405 else $as_nop
   17406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17407 /* end confdefs.h.  */
   17408 int i;
   17409 _ACEOF
   17410 if ac_fn_c_try_compile "$LINENO"
   17411 then :
   17412   xorg_cv_cc_flag_unknown_warning_option=yes
   17413 else $as_nop
   17414   xorg_cv_cc_flag_unknown_warning_option=no
   17415 fi
   17416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17417 fi
   17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17421 	CFLAGS="$xorg_testset_save_CFLAGS"
   17422 fi
   17423 
   17424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17427 	fi
   17428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17432 then :
   17433   printf %s "(cached) " >&6
   17434 else $as_nop
   17435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17436 /* end confdefs.h.  */
   17437 int i;
   17438 _ACEOF
   17439 if ac_fn_c_try_compile "$LINENO"
   17440 then :
   17441   xorg_cv_cc_flag_unused_command_line_argument=yes
   17442 else $as_nop
   17443   xorg_cv_cc_flag_unused_command_line_argument=no
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17446 fi
   17447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17448 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17450 	CFLAGS="$xorg_testset_save_CFLAGS"
   17451 fi
   17452 
   17453 found="no"
   17454 
   17455 	if test $found = "no" ; then
   17456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17458 		fi
   17459 
   17460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17462 		fi
   17463 
   17464 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17465 
   17466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17467 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17468 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17469 		if eval test \${$cacheid+y}
   17470 then :
   17471   printf %s "(cached) " >&6
   17472 else $as_nop
   17473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17474 /* end confdefs.h.  */
   17475 int i;
   17476 int
   17477 main (void)
   17478 {
   17479 
   17480   ;
   17481   return 0;
   17482 }
   17483 _ACEOF
   17484 if ac_fn_c_try_link "$LINENO"
   17485 then :
   17486   eval $cacheid=yes
   17487 else $as_nop
   17488   eval $cacheid=no
   17489 fi
   17490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17491     conftest$ac_exeext conftest.$ac_ext
   17492 fi
   17493 
   17494 
   17495 		CFLAGS="$xorg_testset_save_CFLAGS"
   17496 
   17497 		eval supported=\$$cacheid
   17498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17499 printf "%s\n" "$supported" >&6; }
   17500 		if test "$supported" = "yes" ; then
   17501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17502 			found="yes"
   17503 		fi
   17504 	fi
   17505 
   17506  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17507 else
   17508 { 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
   17509 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;}
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 xorg_testset_save_CFLAGS="$CFLAGS"
   17524 
   17525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17530 then :
   17531   printf %s "(cached) " >&6
   17532 else $as_nop
   17533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17534 /* end confdefs.h.  */
   17535 int i;
   17536 _ACEOF
   17537 if ac_fn_c_try_compile "$LINENO"
   17538 then :
   17539   xorg_cv_cc_flag_unknown_warning_option=yes
   17540 else $as_nop
   17541   xorg_cv_cc_flag_unknown_warning_option=no
   17542 fi
   17543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17544 fi
   17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17546 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17548 	CFLAGS="$xorg_testset_save_CFLAGS"
   17549 fi
   17550 
   17551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17554 	fi
   17555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17557 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17558 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17559 then :
   17560   printf %s "(cached) " >&6
   17561 else $as_nop
   17562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17563 /* end confdefs.h.  */
   17564 int i;
   17565 _ACEOF
   17566 if ac_fn_c_try_compile "$LINENO"
   17567 then :
   17568   xorg_cv_cc_flag_unused_command_line_argument=yes
   17569 else $as_nop
   17570   xorg_cv_cc_flag_unused_command_line_argument=no
   17571 fi
   17572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17573 fi
   17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17577 	CFLAGS="$xorg_testset_save_CFLAGS"
   17578 fi
   17579 
   17580 found="no"
   17581 
   17582 	if test $found = "no" ; then
   17583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17585 		fi
   17586 
   17587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17589 		fi
   17590 
   17591 		CFLAGS="$CFLAGS -Wimplicit"
   17592 
   17593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17594 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17595 		cacheid=xorg_cv_cc_flag__Wimplicit
   17596 		if eval test \${$cacheid+y}
   17597 then :
   17598   printf %s "(cached) " >&6
   17599 else $as_nop
   17600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17601 /* end confdefs.h.  */
   17602 int i;
   17603 int
   17604 main (void)
   17605 {
   17606 
   17607   ;
   17608   return 0;
   17609 }
   17610 _ACEOF
   17611 if ac_fn_c_try_link "$LINENO"
   17612 then :
   17613   eval $cacheid=yes
   17614 else $as_nop
   17615   eval $cacheid=no
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17618     conftest$ac_exeext conftest.$ac_ext
   17619 fi
   17620 
   17621 
   17622 		CFLAGS="$xorg_testset_save_CFLAGS"
   17623 
   17624 		eval supported=\$$cacheid
   17625 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17626 printf "%s\n" "$supported" >&6; }
   17627 		if test "$supported" = "yes" ; then
   17628 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17629 			found="yes"
   17630 		fi
   17631 	fi
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 xorg_testset_save_CFLAGS="$CFLAGS"
   17648 
   17649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17652 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17653 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17654 then :
   17655   printf %s "(cached) " >&6
   17656 else $as_nop
   17657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17658 /* end confdefs.h.  */
   17659 int i;
   17660 _ACEOF
   17661 if ac_fn_c_try_compile "$LINENO"
   17662 then :
   17663   xorg_cv_cc_flag_unknown_warning_option=yes
   17664 else $as_nop
   17665   xorg_cv_cc_flag_unknown_warning_option=no
   17666 fi
   17667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17668 fi
   17669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17670 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17672 	CFLAGS="$xorg_testset_save_CFLAGS"
   17673 fi
   17674 
   17675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17678 	fi
   17679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17681 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17682 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17683 then :
   17684   printf %s "(cached) " >&6
   17685 else $as_nop
   17686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17687 /* end confdefs.h.  */
   17688 int i;
   17689 _ACEOF
   17690 if ac_fn_c_try_compile "$LINENO"
   17691 then :
   17692   xorg_cv_cc_flag_unused_command_line_argument=yes
   17693 else $as_nop
   17694   xorg_cv_cc_flag_unused_command_line_argument=no
   17695 fi
   17696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17697 fi
   17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17701 	CFLAGS="$xorg_testset_save_CFLAGS"
   17702 fi
   17703 
   17704 found="no"
   17705 
   17706 	if test $found = "no" ; then
   17707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17709 		fi
   17710 
   17711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17713 		fi
   17714 
   17715 		CFLAGS="$CFLAGS -Wnonnull"
   17716 
   17717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17718 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17719 		cacheid=xorg_cv_cc_flag__Wnonnull
   17720 		if eval test \${$cacheid+y}
   17721 then :
   17722   printf %s "(cached) " >&6
   17723 else $as_nop
   17724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17725 /* end confdefs.h.  */
   17726 int i;
   17727 int
   17728 main (void)
   17729 {
   17730 
   17731   ;
   17732   return 0;
   17733 }
   17734 _ACEOF
   17735 if ac_fn_c_try_link "$LINENO"
   17736 then :
   17737   eval $cacheid=yes
   17738 else $as_nop
   17739   eval $cacheid=no
   17740 fi
   17741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17742     conftest$ac_exeext conftest.$ac_ext
   17743 fi
   17744 
   17745 
   17746 		CFLAGS="$xorg_testset_save_CFLAGS"
   17747 
   17748 		eval supported=\$$cacheid
   17749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17750 printf "%s\n" "$supported" >&6; }
   17751 		if test "$supported" = "yes" ; then
   17752 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17753 			found="yes"
   17754 		fi
   17755 	fi
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 xorg_testset_save_CFLAGS="$CFLAGS"
   17772 
   17773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17776 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17777 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17778 then :
   17779   printf %s "(cached) " >&6
   17780 else $as_nop
   17781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17782 /* end confdefs.h.  */
   17783 int i;
   17784 _ACEOF
   17785 if ac_fn_c_try_compile "$LINENO"
   17786 then :
   17787   xorg_cv_cc_flag_unknown_warning_option=yes
   17788 else $as_nop
   17789   xorg_cv_cc_flag_unknown_warning_option=no
   17790 fi
   17791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17792 fi
   17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17794 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17796 	CFLAGS="$xorg_testset_save_CFLAGS"
   17797 fi
   17798 
   17799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17802 	fi
   17803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17805 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17806 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17807 then :
   17808   printf %s "(cached) " >&6
   17809 else $as_nop
   17810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17811 /* end confdefs.h.  */
   17812 int i;
   17813 _ACEOF
   17814 if ac_fn_c_try_compile "$LINENO"
   17815 then :
   17816   xorg_cv_cc_flag_unused_command_line_argument=yes
   17817 else $as_nop
   17818   xorg_cv_cc_flag_unused_command_line_argument=no
   17819 fi
   17820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17821 fi
   17822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17823 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17825 	CFLAGS="$xorg_testset_save_CFLAGS"
   17826 fi
   17827 
   17828 found="no"
   17829 
   17830 	if test $found = "no" ; then
   17831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17833 		fi
   17834 
   17835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17837 		fi
   17838 
   17839 		CFLAGS="$CFLAGS -Winit-self"
   17840 
   17841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17842 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17843 		cacheid=xorg_cv_cc_flag__Winit_self
   17844 		if eval test \${$cacheid+y}
   17845 then :
   17846   printf %s "(cached) " >&6
   17847 else $as_nop
   17848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17849 /* end confdefs.h.  */
   17850 int i;
   17851 int
   17852 main (void)
   17853 {
   17854 
   17855   ;
   17856   return 0;
   17857 }
   17858 _ACEOF
   17859 if ac_fn_c_try_link "$LINENO"
   17860 then :
   17861   eval $cacheid=yes
   17862 else $as_nop
   17863   eval $cacheid=no
   17864 fi
   17865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17866     conftest$ac_exeext conftest.$ac_ext
   17867 fi
   17868 
   17869 
   17870 		CFLAGS="$xorg_testset_save_CFLAGS"
   17871 
   17872 		eval supported=\$$cacheid
   17873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17874 printf "%s\n" "$supported" >&6; }
   17875 		if test "$supported" = "yes" ; then
   17876 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17877 			found="yes"
   17878 		fi
   17879 	fi
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 xorg_testset_save_CFLAGS="$CFLAGS"
   17896 
   17897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17902 then :
   17903   printf %s "(cached) " >&6
   17904 else $as_nop
   17905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17906 /* end confdefs.h.  */
   17907 int i;
   17908 _ACEOF
   17909 if ac_fn_c_try_compile "$LINENO"
   17910 then :
   17911   xorg_cv_cc_flag_unknown_warning_option=yes
   17912 else $as_nop
   17913   xorg_cv_cc_flag_unknown_warning_option=no
   17914 fi
   17915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17916 fi
   17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17918 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17920 	CFLAGS="$xorg_testset_save_CFLAGS"
   17921 fi
   17922 
   17923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17926 	fi
   17927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17929 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17930 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17931 then :
   17932   printf %s "(cached) " >&6
   17933 else $as_nop
   17934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17935 /* end confdefs.h.  */
   17936 int i;
   17937 _ACEOF
   17938 if ac_fn_c_try_compile "$LINENO"
   17939 then :
   17940   xorg_cv_cc_flag_unused_command_line_argument=yes
   17941 else $as_nop
   17942   xorg_cv_cc_flag_unused_command_line_argument=no
   17943 fi
   17944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17945 fi
   17946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17947 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17949 	CFLAGS="$xorg_testset_save_CFLAGS"
   17950 fi
   17951 
   17952 found="no"
   17953 
   17954 	if test $found = "no" ; then
   17955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17957 		fi
   17958 
   17959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17961 		fi
   17962 
   17963 		CFLAGS="$CFLAGS -Wmain"
   17964 
   17965 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17966 printf %s "checking if $CC supports -Wmain... " >&6; }
   17967 		cacheid=xorg_cv_cc_flag__Wmain
   17968 		if eval test \${$cacheid+y}
   17969 then :
   17970   printf %s "(cached) " >&6
   17971 else $as_nop
   17972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17973 /* end confdefs.h.  */
   17974 int i;
   17975 int
   17976 main (void)
   17977 {
   17978 
   17979   ;
   17980   return 0;
   17981 }
   17982 _ACEOF
   17983 if ac_fn_c_try_link "$LINENO"
   17984 then :
   17985   eval $cacheid=yes
   17986 else $as_nop
   17987   eval $cacheid=no
   17988 fi
   17989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17990     conftest$ac_exeext conftest.$ac_ext
   17991 fi
   17992 
   17993 
   17994 		CFLAGS="$xorg_testset_save_CFLAGS"
   17995 
   17996 		eval supported=\$$cacheid
   17997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17998 printf "%s\n" "$supported" >&6; }
   17999 		if test "$supported" = "yes" ; then
   18000 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18001 			found="yes"
   18002 		fi
   18003 	fi
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 xorg_testset_save_CFLAGS="$CFLAGS"
   18020 
   18021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18026 then :
   18027   printf %s "(cached) " >&6
   18028 else $as_nop
   18029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18030 /* end confdefs.h.  */
   18031 int i;
   18032 _ACEOF
   18033 if ac_fn_c_try_compile "$LINENO"
   18034 then :
   18035   xorg_cv_cc_flag_unknown_warning_option=yes
   18036 else $as_nop
   18037   xorg_cv_cc_flag_unknown_warning_option=no
   18038 fi
   18039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18040 fi
   18041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18044 	CFLAGS="$xorg_testset_save_CFLAGS"
   18045 fi
   18046 
   18047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18050 	fi
   18051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18055 then :
   18056   printf %s "(cached) " >&6
   18057 else $as_nop
   18058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18059 /* end confdefs.h.  */
   18060 int i;
   18061 _ACEOF
   18062 if ac_fn_c_try_compile "$LINENO"
   18063 then :
   18064   xorg_cv_cc_flag_unused_command_line_argument=yes
   18065 else $as_nop
   18066   xorg_cv_cc_flag_unused_command_line_argument=no
   18067 fi
   18068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18069 fi
   18070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18071 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18073 	CFLAGS="$xorg_testset_save_CFLAGS"
   18074 fi
   18075 
   18076 found="no"
   18077 
   18078 	if test $found = "no" ; then
   18079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18081 		fi
   18082 
   18083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18085 		fi
   18086 
   18087 		CFLAGS="$CFLAGS -Wmissing-braces"
   18088 
   18089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18090 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18091 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18092 		if eval test \${$cacheid+y}
   18093 then :
   18094   printf %s "(cached) " >&6
   18095 else $as_nop
   18096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18097 /* end confdefs.h.  */
   18098 int i;
   18099 int
   18100 main (void)
   18101 {
   18102 
   18103   ;
   18104   return 0;
   18105 }
   18106 _ACEOF
   18107 if ac_fn_c_try_link "$LINENO"
   18108 then :
   18109   eval $cacheid=yes
   18110 else $as_nop
   18111   eval $cacheid=no
   18112 fi
   18113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18114     conftest$ac_exeext conftest.$ac_ext
   18115 fi
   18116 
   18117 
   18118 		CFLAGS="$xorg_testset_save_CFLAGS"
   18119 
   18120 		eval supported=\$$cacheid
   18121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18122 printf "%s\n" "$supported" >&6; }
   18123 		if test "$supported" = "yes" ; then
   18124 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18125 			found="yes"
   18126 		fi
   18127 	fi
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 xorg_testset_save_CFLAGS="$CFLAGS"
   18144 
   18145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18148 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18149 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18150 then :
   18151   printf %s "(cached) " >&6
   18152 else $as_nop
   18153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18154 /* end confdefs.h.  */
   18155 int i;
   18156 _ACEOF
   18157 if ac_fn_c_try_compile "$LINENO"
   18158 then :
   18159   xorg_cv_cc_flag_unknown_warning_option=yes
   18160 else $as_nop
   18161   xorg_cv_cc_flag_unknown_warning_option=no
   18162 fi
   18163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18164 fi
   18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18166 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18168 	CFLAGS="$xorg_testset_save_CFLAGS"
   18169 fi
   18170 
   18171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18174 	fi
   18175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18177 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18178 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18179 then :
   18180   printf %s "(cached) " >&6
   18181 else $as_nop
   18182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18183 /* end confdefs.h.  */
   18184 int i;
   18185 _ACEOF
   18186 if ac_fn_c_try_compile "$LINENO"
   18187 then :
   18188   xorg_cv_cc_flag_unused_command_line_argument=yes
   18189 else $as_nop
   18190   xorg_cv_cc_flag_unused_command_line_argument=no
   18191 fi
   18192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18193 fi
   18194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18195 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18197 	CFLAGS="$xorg_testset_save_CFLAGS"
   18198 fi
   18199 
   18200 found="no"
   18201 
   18202 	if test $found = "no" ; then
   18203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18205 		fi
   18206 
   18207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18209 		fi
   18210 
   18211 		CFLAGS="$CFLAGS -Wsequence-point"
   18212 
   18213 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18214 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18215 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18216 		if eval test \${$cacheid+y}
   18217 then :
   18218   printf %s "(cached) " >&6
   18219 else $as_nop
   18220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18221 /* end confdefs.h.  */
   18222 int i;
   18223 int
   18224 main (void)
   18225 {
   18226 
   18227   ;
   18228   return 0;
   18229 }
   18230 _ACEOF
   18231 if ac_fn_c_try_link "$LINENO"
   18232 then :
   18233   eval $cacheid=yes
   18234 else $as_nop
   18235   eval $cacheid=no
   18236 fi
   18237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18238     conftest$ac_exeext conftest.$ac_ext
   18239 fi
   18240 
   18241 
   18242 		CFLAGS="$xorg_testset_save_CFLAGS"
   18243 
   18244 		eval supported=\$$cacheid
   18245 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18246 printf "%s\n" "$supported" >&6; }
   18247 		if test "$supported" = "yes" ; then
   18248 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18249 			found="yes"
   18250 		fi
   18251 	fi
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 
   18266 
   18267 xorg_testset_save_CFLAGS="$CFLAGS"
   18268 
   18269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18274 then :
   18275   printf %s "(cached) " >&6
   18276 else $as_nop
   18277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18278 /* end confdefs.h.  */
   18279 int i;
   18280 _ACEOF
   18281 if ac_fn_c_try_compile "$LINENO"
   18282 then :
   18283   xorg_cv_cc_flag_unknown_warning_option=yes
   18284 else $as_nop
   18285   xorg_cv_cc_flag_unknown_warning_option=no
   18286 fi
   18287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18288 fi
   18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18290 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18292 	CFLAGS="$xorg_testset_save_CFLAGS"
   18293 fi
   18294 
   18295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18298 	fi
   18299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18301 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18302 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18303 then :
   18304   printf %s "(cached) " >&6
   18305 else $as_nop
   18306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18307 /* end confdefs.h.  */
   18308 int i;
   18309 _ACEOF
   18310 if ac_fn_c_try_compile "$LINENO"
   18311 then :
   18312   xorg_cv_cc_flag_unused_command_line_argument=yes
   18313 else $as_nop
   18314   xorg_cv_cc_flag_unused_command_line_argument=no
   18315 fi
   18316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18317 fi
   18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18319 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18321 	CFLAGS="$xorg_testset_save_CFLAGS"
   18322 fi
   18323 
   18324 found="no"
   18325 
   18326 	if test $found = "no" ; then
   18327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18329 		fi
   18330 
   18331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18333 		fi
   18334 
   18335 		CFLAGS="$CFLAGS -Wreturn-type"
   18336 
   18337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18338 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18339 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18340 		if eval test \${$cacheid+y}
   18341 then :
   18342   printf %s "(cached) " >&6
   18343 else $as_nop
   18344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18345 /* end confdefs.h.  */
   18346 int i;
   18347 int
   18348 main (void)
   18349 {
   18350 
   18351   ;
   18352   return 0;
   18353 }
   18354 _ACEOF
   18355 if ac_fn_c_try_link "$LINENO"
   18356 then :
   18357   eval $cacheid=yes
   18358 else $as_nop
   18359   eval $cacheid=no
   18360 fi
   18361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18362     conftest$ac_exeext conftest.$ac_ext
   18363 fi
   18364 
   18365 
   18366 		CFLAGS="$xorg_testset_save_CFLAGS"
   18367 
   18368 		eval supported=\$$cacheid
   18369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18370 printf "%s\n" "$supported" >&6; }
   18371 		if test "$supported" = "yes" ; then
   18372 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18373 			found="yes"
   18374 		fi
   18375 	fi
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 xorg_testset_save_CFLAGS="$CFLAGS"
   18392 
   18393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18396 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18397 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18398 then :
   18399   printf %s "(cached) " >&6
   18400 else $as_nop
   18401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18402 /* end confdefs.h.  */
   18403 int i;
   18404 _ACEOF
   18405 if ac_fn_c_try_compile "$LINENO"
   18406 then :
   18407   xorg_cv_cc_flag_unknown_warning_option=yes
   18408 else $as_nop
   18409   xorg_cv_cc_flag_unknown_warning_option=no
   18410 fi
   18411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18412 fi
   18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18414 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18416 	CFLAGS="$xorg_testset_save_CFLAGS"
   18417 fi
   18418 
   18419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18422 	fi
   18423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18425 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18426 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18427 then :
   18428   printf %s "(cached) " >&6
   18429 else $as_nop
   18430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18431 /* end confdefs.h.  */
   18432 int i;
   18433 _ACEOF
   18434 if ac_fn_c_try_compile "$LINENO"
   18435 then :
   18436   xorg_cv_cc_flag_unused_command_line_argument=yes
   18437 else $as_nop
   18438   xorg_cv_cc_flag_unused_command_line_argument=no
   18439 fi
   18440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18441 fi
   18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18443 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18445 	CFLAGS="$xorg_testset_save_CFLAGS"
   18446 fi
   18447 
   18448 found="no"
   18449 
   18450 	if test $found = "no" ; then
   18451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18453 		fi
   18454 
   18455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18457 		fi
   18458 
   18459 		CFLAGS="$CFLAGS -Wtrigraphs"
   18460 
   18461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18462 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18463 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18464 		if eval test \${$cacheid+y}
   18465 then :
   18466   printf %s "(cached) " >&6
   18467 else $as_nop
   18468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18469 /* end confdefs.h.  */
   18470 int i;
   18471 int
   18472 main (void)
   18473 {
   18474 
   18475   ;
   18476   return 0;
   18477 }
   18478 _ACEOF
   18479 if ac_fn_c_try_link "$LINENO"
   18480 then :
   18481   eval $cacheid=yes
   18482 else $as_nop
   18483   eval $cacheid=no
   18484 fi
   18485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18486     conftest$ac_exeext conftest.$ac_ext
   18487 fi
   18488 
   18489 
   18490 		CFLAGS="$xorg_testset_save_CFLAGS"
   18491 
   18492 		eval supported=\$$cacheid
   18493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18494 printf "%s\n" "$supported" >&6; }
   18495 		if test "$supported" = "yes" ; then
   18496 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18497 			found="yes"
   18498 		fi
   18499 	fi
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 xorg_testset_save_CFLAGS="$CFLAGS"
   18516 
   18517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18520 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18521 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18522 then :
   18523   printf %s "(cached) " >&6
   18524 else $as_nop
   18525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18526 /* end confdefs.h.  */
   18527 int i;
   18528 _ACEOF
   18529 if ac_fn_c_try_compile "$LINENO"
   18530 then :
   18531   xorg_cv_cc_flag_unknown_warning_option=yes
   18532 else $as_nop
   18533   xorg_cv_cc_flag_unknown_warning_option=no
   18534 fi
   18535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18536 fi
   18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18540 	CFLAGS="$xorg_testset_save_CFLAGS"
   18541 fi
   18542 
   18543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18546 	fi
   18547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18551 then :
   18552   printf %s "(cached) " >&6
   18553 else $as_nop
   18554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18555 /* end confdefs.h.  */
   18556 int i;
   18557 _ACEOF
   18558 if ac_fn_c_try_compile "$LINENO"
   18559 then :
   18560   xorg_cv_cc_flag_unused_command_line_argument=yes
   18561 else $as_nop
   18562   xorg_cv_cc_flag_unused_command_line_argument=no
   18563 fi
   18564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18565 fi
   18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18567 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18569 	CFLAGS="$xorg_testset_save_CFLAGS"
   18570 fi
   18571 
   18572 found="no"
   18573 
   18574 	if test $found = "no" ; then
   18575 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18577 		fi
   18578 
   18579 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18581 		fi
   18582 
   18583 		CFLAGS="$CFLAGS -Warray-bounds"
   18584 
   18585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18586 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18587 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18588 		if eval test \${$cacheid+y}
   18589 then :
   18590   printf %s "(cached) " >&6
   18591 else $as_nop
   18592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18593 /* end confdefs.h.  */
   18594 int i;
   18595 int
   18596 main (void)
   18597 {
   18598 
   18599   ;
   18600   return 0;
   18601 }
   18602 _ACEOF
   18603 if ac_fn_c_try_link "$LINENO"
   18604 then :
   18605   eval $cacheid=yes
   18606 else $as_nop
   18607   eval $cacheid=no
   18608 fi
   18609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18610     conftest$ac_exeext conftest.$ac_ext
   18611 fi
   18612 
   18613 
   18614 		CFLAGS="$xorg_testset_save_CFLAGS"
   18615 
   18616 		eval supported=\$$cacheid
   18617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18618 printf "%s\n" "$supported" >&6; }
   18619 		if test "$supported" = "yes" ; then
   18620 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18621 			found="yes"
   18622 		fi
   18623 	fi
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 xorg_testset_save_CFLAGS="$CFLAGS"
   18640 
   18641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18644 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18645 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18646 then :
   18647   printf %s "(cached) " >&6
   18648 else $as_nop
   18649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18650 /* end confdefs.h.  */
   18651 int i;
   18652 _ACEOF
   18653 if ac_fn_c_try_compile "$LINENO"
   18654 then :
   18655   xorg_cv_cc_flag_unknown_warning_option=yes
   18656 else $as_nop
   18657   xorg_cv_cc_flag_unknown_warning_option=no
   18658 fi
   18659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18660 fi
   18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18662 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18664 	CFLAGS="$xorg_testset_save_CFLAGS"
   18665 fi
   18666 
   18667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18670 	fi
   18671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18673 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18674 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18675 then :
   18676   printf %s "(cached) " >&6
   18677 else $as_nop
   18678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18679 /* end confdefs.h.  */
   18680 int i;
   18681 _ACEOF
   18682 if ac_fn_c_try_compile "$LINENO"
   18683 then :
   18684   xorg_cv_cc_flag_unused_command_line_argument=yes
   18685 else $as_nop
   18686   xorg_cv_cc_flag_unused_command_line_argument=no
   18687 fi
   18688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18689 fi
   18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18693 	CFLAGS="$xorg_testset_save_CFLAGS"
   18694 fi
   18695 
   18696 found="no"
   18697 
   18698 	if test $found = "no" ; then
   18699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18701 		fi
   18702 
   18703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18705 		fi
   18706 
   18707 		CFLAGS="$CFLAGS -Wwrite-strings"
   18708 
   18709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18710 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18711 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18712 		if eval test \${$cacheid+y}
   18713 then :
   18714   printf %s "(cached) " >&6
   18715 else $as_nop
   18716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18717 /* end confdefs.h.  */
   18718 int i;
   18719 int
   18720 main (void)
   18721 {
   18722 
   18723   ;
   18724   return 0;
   18725 }
   18726 _ACEOF
   18727 if ac_fn_c_try_link "$LINENO"
   18728 then :
   18729   eval $cacheid=yes
   18730 else $as_nop
   18731   eval $cacheid=no
   18732 fi
   18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18734     conftest$ac_exeext conftest.$ac_ext
   18735 fi
   18736 
   18737 
   18738 		CFLAGS="$xorg_testset_save_CFLAGS"
   18739 
   18740 		eval supported=\$$cacheid
   18741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18742 printf "%s\n" "$supported" >&6; }
   18743 		if test "$supported" = "yes" ; then
   18744 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18745 			found="yes"
   18746 		fi
   18747 	fi
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 
   18757 
   18758 
   18759 
   18760 
   18761 
   18762 
   18763 xorg_testset_save_CFLAGS="$CFLAGS"
   18764 
   18765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18768 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18769 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18770 then :
   18771   printf %s "(cached) " >&6
   18772 else $as_nop
   18773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18774 /* end confdefs.h.  */
   18775 int i;
   18776 _ACEOF
   18777 if ac_fn_c_try_compile "$LINENO"
   18778 then :
   18779   xorg_cv_cc_flag_unknown_warning_option=yes
   18780 else $as_nop
   18781   xorg_cv_cc_flag_unknown_warning_option=no
   18782 fi
   18783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18784 fi
   18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18786 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18788 	CFLAGS="$xorg_testset_save_CFLAGS"
   18789 fi
   18790 
   18791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18794 	fi
   18795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18796 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18797 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18798 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18799 then :
   18800   printf %s "(cached) " >&6
   18801 else $as_nop
   18802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18803 /* end confdefs.h.  */
   18804 int i;
   18805 _ACEOF
   18806 if ac_fn_c_try_compile "$LINENO"
   18807 then :
   18808   xorg_cv_cc_flag_unused_command_line_argument=yes
   18809 else $as_nop
   18810   xorg_cv_cc_flag_unused_command_line_argument=no
   18811 fi
   18812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18813 fi
   18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18815 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18817 	CFLAGS="$xorg_testset_save_CFLAGS"
   18818 fi
   18819 
   18820 found="no"
   18821 
   18822 	if test $found = "no" ; then
   18823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18825 		fi
   18826 
   18827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18829 		fi
   18830 
   18831 		CFLAGS="$CFLAGS -Waddress"
   18832 
   18833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18834 printf %s "checking if $CC supports -Waddress... " >&6; }
   18835 		cacheid=xorg_cv_cc_flag__Waddress
   18836 		if eval test \${$cacheid+y}
   18837 then :
   18838   printf %s "(cached) " >&6
   18839 else $as_nop
   18840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18841 /* end confdefs.h.  */
   18842 int i;
   18843 int
   18844 main (void)
   18845 {
   18846 
   18847   ;
   18848   return 0;
   18849 }
   18850 _ACEOF
   18851 if ac_fn_c_try_link "$LINENO"
   18852 then :
   18853   eval $cacheid=yes
   18854 else $as_nop
   18855   eval $cacheid=no
   18856 fi
   18857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18858     conftest$ac_exeext conftest.$ac_ext
   18859 fi
   18860 
   18861 
   18862 		CFLAGS="$xorg_testset_save_CFLAGS"
   18863 
   18864 		eval supported=\$$cacheid
   18865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18866 printf "%s\n" "$supported" >&6; }
   18867 		if test "$supported" = "yes" ; then
   18868 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18869 			found="yes"
   18870 		fi
   18871 	fi
   18872 
   18873 
   18874 
   18875 
   18876 
   18877 
   18878 
   18879 
   18880 
   18881 
   18882 
   18883 
   18884 
   18885 
   18886 
   18887 xorg_testset_save_CFLAGS="$CFLAGS"
   18888 
   18889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18892 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18893 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18894 then :
   18895   printf %s "(cached) " >&6
   18896 else $as_nop
   18897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18898 /* end confdefs.h.  */
   18899 int i;
   18900 _ACEOF
   18901 if ac_fn_c_try_compile "$LINENO"
   18902 then :
   18903   xorg_cv_cc_flag_unknown_warning_option=yes
   18904 else $as_nop
   18905   xorg_cv_cc_flag_unknown_warning_option=no
   18906 fi
   18907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18908 fi
   18909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18910 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18912 	CFLAGS="$xorg_testset_save_CFLAGS"
   18913 fi
   18914 
   18915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18918 	fi
   18919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18921 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18922 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18923 then :
   18924   printf %s "(cached) " >&6
   18925 else $as_nop
   18926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18927 /* end confdefs.h.  */
   18928 int i;
   18929 _ACEOF
   18930 if ac_fn_c_try_compile "$LINENO"
   18931 then :
   18932   xorg_cv_cc_flag_unused_command_line_argument=yes
   18933 else $as_nop
   18934   xorg_cv_cc_flag_unused_command_line_argument=no
   18935 fi
   18936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18937 fi
   18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18939 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18941 	CFLAGS="$xorg_testset_save_CFLAGS"
   18942 fi
   18943 
   18944 found="no"
   18945 
   18946 	if test $found = "no" ; then
   18947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18949 		fi
   18950 
   18951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18953 		fi
   18954 
   18955 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18956 
   18957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18958 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18959 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18960 		if eval test \${$cacheid+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 int
   18968 main (void)
   18969 {
   18970 
   18971   ;
   18972   return 0;
   18973 }
   18974 _ACEOF
   18975 if ac_fn_c_try_link "$LINENO"
   18976 then :
   18977   eval $cacheid=yes
   18978 else $as_nop
   18979   eval $cacheid=no
   18980 fi
   18981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18982     conftest$ac_exeext conftest.$ac_ext
   18983 fi
   18984 
   18985 
   18986 		CFLAGS="$xorg_testset_save_CFLAGS"
   18987 
   18988 		eval supported=\$$cacheid
   18989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18990 printf "%s\n" "$supported" >&6; }
   18991 		if test "$supported" = "yes" ; then
   18992 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18993 			found="yes"
   18994 		fi
   18995 	fi
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 xorg_testset_save_CFLAGS="$CFLAGS"
   19012 
   19013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19016 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19017 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19018 then :
   19019   printf %s "(cached) " >&6
   19020 else $as_nop
   19021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19022 /* end confdefs.h.  */
   19023 int i;
   19024 _ACEOF
   19025 if ac_fn_c_try_compile "$LINENO"
   19026 then :
   19027   xorg_cv_cc_flag_unknown_warning_option=yes
   19028 else $as_nop
   19029   xorg_cv_cc_flag_unknown_warning_option=no
   19030 fi
   19031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19032 fi
   19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19034 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19036 	CFLAGS="$xorg_testset_save_CFLAGS"
   19037 fi
   19038 
   19039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19042 	fi
   19043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19045 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19046 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19047 then :
   19048   printf %s "(cached) " >&6
   19049 else $as_nop
   19050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19051 /* end confdefs.h.  */
   19052 int i;
   19053 _ACEOF
   19054 if ac_fn_c_try_compile "$LINENO"
   19055 then :
   19056   xorg_cv_cc_flag_unused_command_line_argument=yes
   19057 else $as_nop
   19058   xorg_cv_cc_flag_unused_command_line_argument=no
   19059 fi
   19060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19061 fi
   19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19063 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19065 	CFLAGS="$xorg_testset_save_CFLAGS"
   19066 fi
   19067 
   19068 found="no"
   19069 
   19070 	if test $found = "no" ; then
   19071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19073 		fi
   19074 
   19075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19077 		fi
   19078 
   19079 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19080 
   19081 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19082 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19083 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19084 		if eval test \${$cacheid+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 int
   19092 main (void)
   19093 {
   19094 
   19095   ;
   19096   return 0;
   19097 }
   19098 _ACEOF
   19099 if ac_fn_c_try_link "$LINENO"
   19100 then :
   19101   eval $cacheid=yes
   19102 else $as_nop
   19103   eval $cacheid=no
   19104 fi
   19105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19106     conftest$ac_exeext conftest.$ac_ext
   19107 fi
   19108 
   19109 
   19110 		CFLAGS="$xorg_testset_save_CFLAGS"
   19111 
   19112 		eval supported=\$$cacheid
   19113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19114 printf "%s\n" "$supported" >&6; }
   19115 		if test "$supported" = "yes" ; then
   19116 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19117 			found="yes"
   19118 		fi
   19119 	fi
   19120 
   19121 
   19122 fi
   19123 
   19124 
   19125 
   19126 
   19127 
   19128 
   19129 
   19130 		CWARNFLAGS="$BASE_CFLAGS"
   19131 		if  test "x$GCC" = xyes ; then
   19132 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19133 		fi
   19134 
   19135 
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 # Check whether --enable-strict-compilation was given.
   19143 if test ${enable_strict_compilation+y}
   19144 then :
   19145   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19146 else $as_nop
   19147   STRICT_COMPILE=no
   19148 fi
   19149 
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 STRICT_CFLAGS=""
   19156 
   19157 
   19158 
   19159 
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169 xorg_testset_save_CFLAGS="$CFLAGS"
   19170 
   19171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19176 then :
   19177   printf %s "(cached) " >&6
   19178 else $as_nop
   19179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19180 /* end confdefs.h.  */
   19181 int i;
   19182 _ACEOF
   19183 if ac_fn_c_try_compile "$LINENO"
   19184 then :
   19185   xorg_cv_cc_flag_unknown_warning_option=yes
   19186 else $as_nop
   19187   xorg_cv_cc_flag_unknown_warning_option=no
   19188 fi
   19189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19190 fi
   19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19192 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19194 	CFLAGS="$xorg_testset_save_CFLAGS"
   19195 fi
   19196 
   19197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19200 	fi
   19201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19205 then :
   19206   printf %s "(cached) " >&6
   19207 else $as_nop
   19208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19209 /* end confdefs.h.  */
   19210 int i;
   19211 _ACEOF
   19212 if ac_fn_c_try_compile "$LINENO"
   19213 then :
   19214   xorg_cv_cc_flag_unused_command_line_argument=yes
   19215 else $as_nop
   19216   xorg_cv_cc_flag_unused_command_line_argument=no
   19217 fi
   19218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19219 fi
   19220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19221 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19223 	CFLAGS="$xorg_testset_save_CFLAGS"
   19224 fi
   19225 
   19226 found="no"
   19227 
   19228 	if test $found = "no" ; then
   19229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19231 		fi
   19232 
   19233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19235 		fi
   19236 
   19237 		CFLAGS="$CFLAGS -pedantic"
   19238 
   19239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19240 printf %s "checking if $CC supports -pedantic... " >&6; }
   19241 		cacheid=xorg_cv_cc_flag__pedantic
   19242 		if eval test \${$cacheid+y}
   19243 then :
   19244   printf %s "(cached) " >&6
   19245 else $as_nop
   19246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19247 /* end confdefs.h.  */
   19248 int i;
   19249 int
   19250 main (void)
   19251 {
   19252 
   19253   ;
   19254   return 0;
   19255 }
   19256 _ACEOF
   19257 if ac_fn_c_try_link "$LINENO"
   19258 then :
   19259   eval $cacheid=yes
   19260 else $as_nop
   19261   eval $cacheid=no
   19262 fi
   19263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19264     conftest$ac_exeext conftest.$ac_ext
   19265 fi
   19266 
   19267 
   19268 		CFLAGS="$xorg_testset_save_CFLAGS"
   19269 
   19270 		eval supported=\$$cacheid
   19271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19272 printf "%s\n" "$supported" >&6; }
   19273 		if test "$supported" = "yes" ; then
   19274 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19275 			found="yes"
   19276 		fi
   19277 	fi
   19278 
   19279 
   19280 
   19281 
   19282 
   19283 
   19284 
   19285 
   19286 
   19287 
   19288 
   19289 
   19290 
   19291 
   19292 
   19293 xorg_testset_save_CFLAGS="$CFLAGS"
   19294 
   19295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19298 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19299 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19300 then :
   19301   printf %s "(cached) " >&6
   19302 else $as_nop
   19303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19304 /* end confdefs.h.  */
   19305 int i;
   19306 _ACEOF
   19307 if ac_fn_c_try_compile "$LINENO"
   19308 then :
   19309   xorg_cv_cc_flag_unknown_warning_option=yes
   19310 else $as_nop
   19311   xorg_cv_cc_flag_unknown_warning_option=no
   19312 fi
   19313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19314 fi
   19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19316 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19318 	CFLAGS="$xorg_testset_save_CFLAGS"
   19319 fi
   19320 
   19321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19324 	fi
   19325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19326 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19327 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19328 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19329 then :
   19330   printf %s "(cached) " >&6
   19331 else $as_nop
   19332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19333 /* end confdefs.h.  */
   19334 int i;
   19335 _ACEOF
   19336 if ac_fn_c_try_compile "$LINENO"
   19337 then :
   19338   xorg_cv_cc_flag_unused_command_line_argument=yes
   19339 else $as_nop
   19340   xorg_cv_cc_flag_unused_command_line_argument=no
   19341 fi
   19342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19343 fi
   19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19345 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19347 	CFLAGS="$xorg_testset_save_CFLAGS"
   19348 fi
   19349 
   19350 found="no"
   19351 
   19352 	if test $found = "no" ; then
   19353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19355 		fi
   19356 
   19357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19359 		fi
   19360 
   19361 		CFLAGS="$CFLAGS -Werror"
   19362 
   19363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19364 printf %s "checking if $CC supports -Werror... " >&6; }
   19365 		cacheid=xorg_cv_cc_flag__Werror
   19366 		if eval test \${$cacheid+y}
   19367 then :
   19368   printf %s "(cached) " >&6
   19369 else $as_nop
   19370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19371 /* end confdefs.h.  */
   19372 int i;
   19373 int
   19374 main (void)
   19375 {
   19376 
   19377   ;
   19378   return 0;
   19379 }
   19380 _ACEOF
   19381 if ac_fn_c_try_link "$LINENO"
   19382 then :
   19383   eval $cacheid=yes
   19384 else $as_nop
   19385   eval $cacheid=no
   19386 fi
   19387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19388     conftest$ac_exeext conftest.$ac_ext
   19389 fi
   19390 
   19391 
   19392 		CFLAGS="$xorg_testset_save_CFLAGS"
   19393 
   19394 		eval supported=\$$cacheid
   19395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19396 printf "%s\n" "$supported" >&6; }
   19397 		if test "$supported" = "yes" ; then
   19398 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19399 			found="yes"
   19400 		fi
   19401 	fi
   19402 
   19403 	if test $found = "no" ; then
   19404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19406 		fi
   19407 
   19408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19410 		fi
   19411 
   19412 		CFLAGS="$CFLAGS -errwarn"
   19413 
   19414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19415 printf %s "checking if $CC supports -errwarn... " >&6; }
   19416 		cacheid=xorg_cv_cc_flag__errwarn
   19417 		if eval test \${$cacheid+y}
   19418 then :
   19419   printf %s "(cached) " >&6
   19420 else $as_nop
   19421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19422 /* end confdefs.h.  */
   19423 int i;
   19424 int
   19425 main (void)
   19426 {
   19427 
   19428   ;
   19429   return 0;
   19430 }
   19431 _ACEOF
   19432 if ac_fn_c_try_link "$LINENO"
   19433 then :
   19434   eval $cacheid=yes
   19435 else $as_nop
   19436   eval $cacheid=no
   19437 fi
   19438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19439     conftest$ac_exeext conftest.$ac_ext
   19440 fi
   19441 
   19442 
   19443 		CFLAGS="$xorg_testset_save_CFLAGS"
   19444 
   19445 		eval supported=\$$cacheid
   19446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19447 printf "%s\n" "$supported" >&6; }
   19448 		if test "$supported" = "yes" ; then
   19449 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19450 			found="yes"
   19451 		fi
   19452 	fi
   19453 
   19454 
   19455 
   19456 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19457 # activate it with -Werror, so we add it here explicitly.
   19458 
   19459 
   19460 
   19461 
   19462 
   19463 
   19464 
   19465 
   19466 
   19467 
   19468 
   19469 
   19470 
   19471 xorg_testset_save_CFLAGS="$CFLAGS"
   19472 
   19473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19478 then :
   19479   printf %s "(cached) " >&6
   19480 else $as_nop
   19481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19482 /* end confdefs.h.  */
   19483 int i;
   19484 _ACEOF
   19485 if ac_fn_c_try_compile "$LINENO"
   19486 then :
   19487   xorg_cv_cc_flag_unknown_warning_option=yes
   19488 else $as_nop
   19489   xorg_cv_cc_flag_unknown_warning_option=no
   19490 fi
   19491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19492 fi
   19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19494 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19496 	CFLAGS="$xorg_testset_save_CFLAGS"
   19497 fi
   19498 
   19499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19502 	fi
   19503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19504 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19505 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19506 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19507 then :
   19508   printf %s "(cached) " >&6
   19509 else $as_nop
   19510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19511 /* end confdefs.h.  */
   19512 int i;
   19513 _ACEOF
   19514 if ac_fn_c_try_compile "$LINENO"
   19515 then :
   19516   xorg_cv_cc_flag_unused_command_line_argument=yes
   19517 else $as_nop
   19518   xorg_cv_cc_flag_unused_command_line_argument=no
   19519 fi
   19520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19521 fi
   19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19523 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19525 	CFLAGS="$xorg_testset_save_CFLAGS"
   19526 fi
   19527 
   19528 found="no"
   19529 
   19530 	if test $found = "no" ; then
   19531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19533 		fi
   19534 
   19535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19537 		fi
   19538 
   19539 		CFLAGS="$CFLAGS -Werror=attributes"
   19540 
   19541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19542 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19543 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19544 		if eval test \${$cacheid+y}
   19545 then :
   19546   printf %s "(cached) " >&6
   19547 else $as_nop
   19548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19549 /* end confdefs.h.  */
   19550 int i;
   19551 int
   19552 main (void)
   19553 {
   19554 
   19555   ;
   19556   return 0;
   19557 }
   19558 _ACEOF
   19559 if ac_fn_c_try_link "$LINENO"
   19560 then :
   19561   eval $cacheid=yes
   19562 else $as_nop
   19563   eval $cacheid=no
   19564 fi
   19565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19566     conftest$ac_exeext conftest.$ac_ext
   19567 fi
   19568 
   19569 
   19570 		CFLAGS="$xorg_testset_save_CFLAGS"
   19571 
   19572 		eval supported=\$$cacheid
   19573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19574 printf "%s\n" "$supported" >&6; }
   19575 		if test "$supported" = "yes" ; then
   19576 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19577 			found="yes"
   19578 		fi
   19579 	fi
   19580 
   19581 
   19582 
   19583 if test "x$STRICT_COMPILE" = "xyes"; then
   19584     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19585     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19586 fi
   19587 
   19588 
   19589 
   19590 
   19591 
   19592 
   19593 cat >>confdefs.h <<_ACEOF
   19594 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19595 _ACEOF
   19596 
   19597 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19598 	if test "x$PVM" = "x"; then
   19599 		PVM="0"
   19600 	fi
   19601 
   19602 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19603 
   19604 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19605 	if test "x$PVP" = "x"; then
   19606 		PVP="0"
   19607 	fi
   19608 
   19609 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19610 
   19611 
   19612 
   19613 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19614 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19615 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19616 touch \$(top_srcdir)/ChangeLog; \
   19617 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19618 
   19619 
   19620 
   19621 
   19622 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19623 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19624 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19625 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19626 touch \$(top_srcdir)/INSTALL; \
   19627 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19628 
   19629 
   19630 
   19631 
   19632 
   19633 
   19634 case $host_os in
   19635     solaris*)
   19636         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19637         # check for a man page file found in later versions that use
   19638         # traditional section numbers instead
   19639         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19640 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19641 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19642 then :
   19643   printf %s "(cached) " >&6
   19644 else $as_nop
   19645   test "$cross_compiling" = yes &&
   19646   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19647 if test -r "/usr/share/man/man7/attributes.7"; then
   19648   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19649 else
   19650   ac_cv_file__usr_share_man_man7_attributes_7=no
   19651 fi
   19652 fi
   19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19654 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19655 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19656 then :
   19657   SYSV_MAN_SECTIONS=false
   19658 else $as_nop
   19659   SYSV_MAN_SECTIONS=true
   19660 fi
   19661 
   19662         ;;
   19663     *) SYSV_MAN_SECTIONS=false ;;
   19664 esac
   19665 
   19666 if test x$APP_MAN_SUFFIX = x    ; then
   19667     APP_MAN_SUFFIX=1
   19668 fi
   19669 if test x$APP_MAN_DIR = x    ; then
   19670     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19671 fi
   19672 
   19673 if test x$LIB_MAN_SUFFIX = x    ; then
   19674     LIB_MAN_SUFFIX=3
   19675 fi
   19676 if test x$LIB_MAN_DIR = x    ; then
   19677     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19678 fi
   19679 
   19680 if test x$FILE_MAN_SUFFIX = x    ; then
   19681     case $SYSV_MAN_SECTIONS in
   19682 	true)				FILE_MAN_SUFFIX=4  ;;
   19683 	*)				FILE_MAN_SUFFIX=5  ;;
   19684     esac
   19685 fi
   19686 if test x$FILE_MAN_DIR = x    ; then
   19687     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19688 fi
   19689 
   19690 if test x$MISC_MAN_SUFFIX = x    ; then
   19691     case $SYSV_MAN_SECTIONS in
   19692 	true)				MISC_MAN_SUFFIX=5  ;;
   19693 	*)				MISC_MAN_SUFFIX=7  ;;
   19694     esac
   19695 fi
   19696 if test x$MISC_MAN_DIR = x    ; then
   19697     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19698 fi
   19699 
   19700 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19701     case $SYSV_MAN_SECTIONS in
   19702 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19703 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19704     esac
   19705 fi
   19706 if test x$DRIVER_MAN_DIR = x    ; then
   19707     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19708 fi
   19709 
   19710 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19711     case $SYSV_MAN_SECTIONS in
   19712 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19713 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19714     esac
   19715 fi
   19716 if test x$ADMIN_MAN_DIR = x    ; then
   19717     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19718 fi
   19719 
   19720 
   19721 
   19722 
   19723 
   19724 
   19725 
   19726 
   19727 
   19728 
   19729 
   19730 
   19731 
   19732 
   19733 
   19734 XORG_MAN_PAGE="X Version 11"
   19735 
   19736 MAN_SUBSTS="\
   19737 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19738 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19739 	-e 's|__xservername__|Xorg|g' \
   19740 	-e 's|__xconfigfile__|xorg.conf|g' \
   19741 	-e 's|__projectroot__|\$(prefix)|g' \
   19742 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19743 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19744 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19745 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19746 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19747 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19748 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19749 
   19750 
   19751 
   19752 # Check whether --enable-silent-rules was given.
   19753 if test ${enable_silent_rules+y}
   19754 then :
   19755   enableval=$enable_silent_rules;
   19756 fi
   19757 
   19758 case $enable_silent_rules in # (((
   19759   yes) AM_DEFAULT_VERBOSITY=0;;
   19760    no) AM_DEFAULT_VERBOSITY=1;;
   19761     *) AM_DEFAULT_VERBOSITY=0;;
   19762 esac
   19763 am_make=${MAKE-make}
   19764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19765 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19766 if test ${am_cv_make_support_nested_variables+y}
   19767 then :
   19768   printf %s "(cached) " >&6
   19769 else $as_nop
   19770   if printf "%s\n" 'TRUE=$(BAR$(V))
   19771 BAR0=false
   19772 BAR1=true
   19773 V=1
   19774 am__doit:
   19775 	@$(TRUE)
   19776 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19777   am_cv_make_support_nested_variables=yes
   19778 else
   19779   am_cv_make_support_nested_variables=no
   19780 fi
   19781 fi
   19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19783 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19784 if test $am_cv_make_support_nested_variables = yes; then
   19785     AM_V='$(V)'
   19786   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19787 else
   19788   AM_V=$AM_DEFAULT_VERBOSITY
   19789   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19790 fi
   19791 AM_BACKSLASH='\'
   19792 
   19793 
   19794 
   19795 
   19796 # Check whether --enable-docs was given.
   19797 if test ${enable_docs+y}
   19798 then :
   19799   enableval=$enable_docs; build_docs=$enableval
   19800 else $as_nop
   19801   build_docs=yes
   19802 fi
   19803 
   19804 
   19805  if test x$build_docs = xyes; then
   19806   ENABLE_DOCS_TRUE=
   19807   ENABLE_DOCS_FALSE='#'
   19808 else
   19809   ENABLE_DOCS_TRUE='#'
   19810   ENABLE_DOCS_FALSE=
   19811 fi
   19812 
   19813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   19814 printf %s "checking whether to build documentation... " >&6; }
   19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   19816 printf "%s\n" "$build_docs" >&6; }
   19817 
   19818 
   19819 
   19820 
   19821 
   19822 # Check whether --with-xmlto was given.
   19823 if test ${with_xmlto+y}
   19824 then :
   19825   withval=$with_xmlto; use_xmlto=$withval
   19826 else $as_nop
   19827   use_xmlto=auto
   19828 fi
   19829 
   19830 
   19831 
   19832 if test "x$use_xmlto" = x"auto"; then
   19833    # Extract the first word of "xmlto", so it can be a program name with args.
   19834 set dummy xmlto; ac_word=$2
   19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19836 printf %s "checking for $ac_word... " >&6; }
   19837 if test ${ac_cv_path_XMLTO+y}
   19838 then :
   19839   printf %s "(cached) " >&6
   19840 else $as_nop
   19841   case $XMLTO in
   19842   [\\/]* | ?:[\\/]*)
   19843   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19844   ;;
   19845   *)
   19846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19847 for as_dir in $PATH
   19848 do
   19849   IFS=$as_save_IFS
   19850   case $as_dir in #(((
   19851     '') as_dir=./ ;;
   19852     */) ;;
   19853     *) as_dir=$as_dir/ ;;
   19854   esac
   19855     for ac_exec_ext in '' $ac_executable_extensions; do
   19856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19857     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19859     break 2
   19860   fi
   19861 done
   19862   done
   19863 IFS=$as_save_IFS
   19864 
   19865   ;;
   19866 esac
   19867 fi
   19868 XMLTO=$ac_cv_path_XMLTO
   19869 if test -n "$XMLTO"; then
   19870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19871 printf "%s\n" "$XMLTO" >&6; }
   19872 else
   19873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19874 printf "%s\n" "no" >&6; }
   19875 fi
   19876 
   19877 
   19878    if test "x$XMLTO" = "x"; then
   19879         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19880 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19881 	have_xmlto=no
   19882    else
   19883         have_xmlto=yes
   19884    fi
   19885 elif test "x$use_xmlto" = x"yes" ; then
   19886    # Extract the first word of "xmlto", so it can be a program name with args.
   19887 set dummy xmlto; ac_word=$2
   19888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19889 printf %s "checking for $ac_word... " >&6; }
   19890 if test ${ac_cv_path_XMLTO+y}
   19891 then :
   19892   printf %s "(cached) " >&6
   19893 else $as_nop
   19894   case $XMLTO in
   19895   [\\/]* | ?:[\\/]*)
   19896   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19897   ;;
   19898   *)
   19899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19900 for as_dir in $PATH
   19901 do
   19902   IFS=$as_save_IFS
   19903   case $as_dir in #(((
   19904     '') as_dir=./ ;;
   19905     */) ;;
   19906     *) as_dir=$as_dir/ ;;
   19907   esac
   19908     for ac_exec_ext in '' $ac_executable_extensions; do
   19909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19910     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19912     break 2
   19913   fi
   19914 done
   19915   done
   19916 IFS=$as_save_IFS
   19917 
   19918   ;;
   19919 esac
   19920 fi
   19921 XMLTO=$ac_cv_path_XMLTO
   19922 if test -n "$XMLTO"; then
   19923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19924 printf "%s\n" "$XMLTO" >&6; }
   19925 else
   19926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19927 printf "%s\n" "no" >&6; }
   19928 fi
   19929 
   19930 
   19931    if test "x$XMLTO" = "x"; then
   19932         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19933    fi
   19934    have_xmlto=yes
   19935 elif test "x$use_xmlto" = x"no" ; then
   19936    if test "x$XMLTO" != "x"; then
   19937       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19938 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19939    fi
   19940    have_xmlto=no
   19941 else
   19942    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19943 fi
   19944 
   19945 # Test for a minimum version of xmlto, if provided.
   19946 if test "$have_xmlto" = yes; then
   19947     # scrape the xmlto version
   19948     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19949 printf %s "checking the xmlto version... " >&6; }
   19950     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19951     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19952 printf "%s\n" "$xmlto_version" >&6; }
   19953     as_arg_v1=$xmlto_version
   19954 as_arg_v2=0.0.22
   19955 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19956 case $? in #(
   19957   1) :
   19958     if test "x$use_xmlto" = xauto; then
   19959             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19960 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19961             have_xmlto=no
   19962         else
   19963             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19964         fi ;; #(
   19965   0) :
   19966      ;; #(
   19967   2) :
   19968      ;; #(
   19969   *) :
   19970      ;;
   19971 esac
   19972 fi
   19973 
   19974 # Test for the ability of xmlto to generate a text target
   19975 #
   19976 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19977 # following test for empty XML docbook files.
   19978 # For compatibility reasons use the following empty XML docbook file and if
   19979 # it fails try it again with a non-empty XML file.
   19980 have_xmlto_text=no
   19981 cat > conftest.xml << "EOF"
   19982 EOF
   19983 if test "$have_xmlto" = yes
   19984 then :
   19985   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19986 then :
   19987   have_xmlto_text=yes
   19988 else $as_nop
   19989   # Try it again with a non-empty XML file.
   19990               cat > conftest.xml << "EOF"
   19991 <x></x>
   19992 EOF
   19993               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19994 then :
   19995   have_xmlto_text=yes
   19996 else $as_nop
   19997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19998 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19999 fi
   20000 fi
   20001 fi
   20002 rm -f conftest.xml
   20003  if test $have_xmlto_text = yes; then
   20004   HAVE_XMLTO_TEXT_TRUE=
   20005   HAVE_XMLTO_TEXT_FALSE='#'
   20006 else
   20007   HAVE_XMLTO_TEXT_TRUE='#'
   20008   HAVE_XMLTO_TEXT_FALSE=
   20009 fi
   20010 
   20011  if test "$have_xmlto" = yes; then
   20012   HAVE_XMLTO_TRUE=
   20013   HAVE_XMLTO_FALSE='#'
   20014 else
   20015   HAVE_XMLTO_TRUE='#'
   20016   HAVE_XMLTO_FALSE=
   20017 fi
   20018 
   20019 
   20020 
   20021 
   20022 
   20023 
   20024 # Check whether --with-fop was given.
   20025 if test ${with_fop+y}
   20026 then :
   20027   withval=$with_fop; use_fop=$withval
   20028 else $as_nop
   20029   use_fop=auto
   20030 fi
   20031 
   20032 
   20033 
   20034 if test "x$use_fop" = x"auto"; then
   20035    # Extract the first word of "fop", so it can be a program name with args.
   20036 set dummy fop; ac_word=$2
   20037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20038 printf %s "checking for $ac_word... " >&6; }
   20039 if test ${ac_cv_path_FOP+y}
   20040 then :
   20041   printf %s "(cached) " >&6
   20042 else $as_nop
   20043   case $FOP in
   20044   [\\/]* | ?:[\\/]*)
   20045   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20046   ;;
   20047   *)
   20048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20049 for as_dir in $PATH
   20050 do
   20051   IFS=$as_save_IFS
   20052   case $as_dir in #(((
   20053     '') as_dir=./ ;;
   20054     */) ;;
   20055     *) as_dir=$as_dir/ ;;
   20056   esac
   20057     for ac_exec_ext in '' $ac_executable_extensions; do
   20058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20059     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20061     break 2
   20062   fi
   20063 done
   20064   done
   20065 IFS=$as_save_IFS
   20066 
   20067   ;;
   20068 esac
   20069 fi
   20070 FOP=$ac_cv_path_FOP
   20071 if test -n "$FOP"; then
   20072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20073 printf "%s\n" "$FOP" >&6; }
   20074 else
   20075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20076 printf "%s\n" "no" >&6; }
   20077 fi
   20078 
   20079 
   20080    if test "x$FOP" = "x"; then
   20081         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20082 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20083 	have_fop=no
   20084    else
   20085         have_fop=yes
   20086    fi
   20087 elif test "x$use_fop" = x"yes" ; then
   20088    # Extract the first word of "fop", so it can be a program name with args.
   20089 set dummy fop; ac_word=$2
   20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20091 printf %s "checking for $ac_word... " >&6; }
   20092 if test ${ac_cv_path_FOP+y}
   20093 then :
   20094   printf %s "(cached) " >&6
   20095 else $as_nop
   20096   case $FOP in
   20097   [\\/]* | ?:[\\/]*)
   20098   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20099   ;;
   20100   *)
   20101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20102 for as_dir in $PATH
   20103 do
   20104   IFS=$as_save_IFS
   20105   case $as_dir in #(((
   20106     '') as_dir=./ ;;
   20107     */) ;;
   20108     *) as_dir=$as_dir/ ;;
   20109   esac
   20110     for ac_exec_ext in '' $ac_executable_extensions; do
   20111   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20112     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20113     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20114     break 2
   20115   fi
   20116 done
   20117   done
   20118 IFS=$as_save_IFS
   20119 
   20120   ;;
   20121 esac
   20122 fi
   20123 FOP=$ac_cv_path_FOP
   20124 if test -n "$FOP"; then
   20125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20126 printf "%s\n" "$FOP" >&6; }
   20127 else
   20128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20129 printf "%s\n" "no" >&6; }
   20130 fi
   20131 
   20132 
   20133    if test "x$FOP" = "x"; then
   20134         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20135    fi
   20136    have_fop=yes
   20137 elif test "x$use_fop" = x"no" ; then
   20138    if test "x$FOP" != "x"; then
   20139       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20140 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20141    fi
   20142    have_fop=no
   20143 else
   20144    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20145 fi
   20146 
   20147 # Test for a minimum version of fop, if provided.
   20148 
   20149  if test "$have_fop" = yes; then
   20150   HAVE_FOP_TRUE=
   20151   HAVE_FOP_FALSE='#'
   20152 else
   20153   HAVE_FOP_TRUE='#'
   20154   HAVE_FOP_FALSE=
   20155 fi
   20156 
   20157 
   20158 
   20159 
   20160 # Preserves the interface, should it be implemented later
   20161 
   20162 
   20163 
   20164 # Check whether --with-xsltproc was given.
   20165 if test ${with_xsltproc+y}
   20166 then :
   20167   withval=$with_xsltproc; use_xsltproc=$withval
   20168 else $as_nop
   20169   use_xsltproc=auto
   20170 fi
   20171 
   20172 
   20173 
   20174 if test "x$use_xsltproc" = x"auto"; then
   20175    # Extract the first word of "xsltproc", so it can be a program name with args.
   20176 set dummy xsltproc; ac_word=$2
   20177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20178 printf %s "checking for $ac_word... " >&6; }
   20179 if test ${ac_cv_path_XSLTPROC+y}
   20180 then :
   20181   printf %s "(cached) " >&6
   20182 else $as_nop
   20183   case $XSLTPROC in
   20184   [\\/]* | ?:[\\/]*)
   20185   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20186   ;;
   20187   *)
   20188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20189 for as_dir in $PATH
   20190 do
   20191   IFS=$as_save_IFS
   20192   case $as_dir in #(((
   20193     '') as_dir=./ ;;
   20194     */) ;;
   20195     *) as_dir=$as_dir/ ;;
   20196   esac
   20197     for ac_exec_ext in '' $ac_executable_extensions; do
   20198   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20199     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20200     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20201     break 2
   20202   fi
   20203 done
   20204   done
   20205 IFS=$as_save_IFS
   20206 
   20207   ;;
   20208 esac
   20209 fi
   20210 XSLTPROC=$ac_cv_path_XSLTPROC
   20211 if test -n "$XSLTPROC"; then
   20212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20213 printf "%s\n" "$XSLTPROC" >&6; }
   20214 else
   20215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20216 printf "%s\n" "no" >&6; }
   20217 fi
   20218 
   20219 
   20220    if test "x$XSLTPROC" = "x"; then
   20221         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20222 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20223 	have_xsltproc=no
   20224    else
   20225         have_xsltproc=yes
   20226    fi
   20227 elif test "x$use_xsltproc" = x"yes" ; then
   20228    # Extract the first word of "xsltproc", so it can be a program name with args.
   20229 set dummy xsltproc; ac_word=$2
   20230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20231 printf %s "checking for $ac_word... " >&6; }
   20232 if test ${ac_cv_path_XSLTPROC+y}
   20233 then :
   20234   printf %s "(cached) " >&6
   20235 else $as_nop
   20236   case $XSLTPROC in
   20237   [\\/]* | ?:[\\/]*)
   20238   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20239   ;;
   20240   *)
   20241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20242 for as_dir in $PATH
   20243 do
   20244   IFS=$as_save_IFS
   20245   case $as_dir in #(((
   20246     '') as_dir=./ ;;
   20247     */) ;;
   20248     *) as_dir=$as_dir/ ;;
   20249   esac
   20250     for ac_exec_ext in '' $ac_executable_extensions; do
   20251   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20252     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20253     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20254     break 2
   20255   fi
   20256 done
   20257   done
   20258 IFS=$as_save_IFS
   20259 
   20260   ;;
   20261 esac
   20262 fi
   20263 XSLTPROC=$ac_cv_path_XSLTPROC
   20264 if test -n "$XSLTPROC"; then
   20265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20266 printf "%s\n" "$XSLTPROC" >&6; }
   20267 else
   20268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20269 printf "%s\n" "no" >&6; }
   20270 fi
   20271 
   20272 
   20273    if test "x$XSLTPROC" = "x"; then
   20274         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   20275    fi
   20276    have_xsltproc=yes
   20277 elif test "x$use_xsltproc" = x"no" ; then
   20278    if test "x$XSLTPROC" != "x"; then
   20279       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   20280 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   20281    fi
   20282    have_xsltproc=no
   20283 else
   20284    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   20285 fi
   20286 
   20287  if test "$have_xsltproc" = yes; then
   20288   HAVE_XSLTPROC_TRUE=
   20289   HAVE_XSLTPROC_FALSE='#'
   20290 else
   20291   HAVE_XSLTPROC_TRUE='#'
   20292   HAVE_XSLTPROC_FALSE=
   20293 fi
   20294 
   20295 
   20296 
   20297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   20298 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   20299 XORG_SGML_PATH=
   20300 if test -n "$PKG_CONFIG" && \
   20301     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   20302   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   20303   ac_status=$?
   20304   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20305   test $ac_status = 0; }; then
   20306   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   20307 else
   20308   :
   20309 
   20310 fi
   20311 
   20312 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   20313 # the path and the name of the doc stylesheet
   20314 if test "x$XORG_SGML_PATH" != "x" ; then
   20315    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   20316 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   20317    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   20318    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   20319 else
   20320    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20321 printf "%s\n" "no" >&6; }
   20322 fi
   20323 
   20324 
   20325 
   20326 
   20327  if test "x$XSL_STYLESHEET" != "x"; then
   20328   HAVE_STYLESHEETS_TRUE=
   20329   HAVE_STYLESHEETS_FALSE='#'
   20330 else
   20331   HAVE_STYLESHEETS_TRUE='#'
   20332   HAVE_STYLESHEETS_FALSE=
   20333 fi
   20334 
   20335 
   20336 
   20337 # Checks for programs.
   20338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   20339 printf %s "checking whether ln -s works... " >&6; }
   20340 LN_S=$as_ln_s
   20341 if test "$LN_S" = "ln -s"; then
   20342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20343 printf "%s\n" "yes" >&6; }
   20344 else
   20345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   20346 printf "%s\n" "no, using $LN_S" >&6; }
   20347 fi
   20348 
   20349 
   20350 # Checks for header files.
   20351 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
   20352 if test "x$ac_cv_header_sys_random_h" = xyes
   20353 then :
   20354   printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
   20355 
   20356 fi
   20357 
   20358 
   20359 # Checks for libraries.
   20360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5
   20361 printf %s "checking for library containing recvfrom... " >&6; }
   20362 if test ${ac_cv_search_recvfrom+y}
   20363 then :
   20364   printf %s "(cached) " >&6
   20365 else $as_nop
   20366   ac_func_search_save_LIBS=$LIBS
   20367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20368 /* end confdefs.h.  */
   20369 
   20370 /* Override any GCC internal prototype to avoid an error.
   20371    Use char because int might match the return type of a GCC
   20372    builtin and then its argument prototype would still apply.  */
   20373 char recvfrom ();
   20374 int
   20375 main (void)
   20376 {
   20377 return recvfrom ();
   20378   ;
   20379   return 0;
   20380 }
   20381 _ACEOF
   20382 for ac_lib in '' socket
   20383 do
   20384   if test -z "$ac_lib"; then
   20385     ac_res="none required"
   20386   else
   20387     ac_res=-l$ac_lib
   20388     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20389   fi
   20390   if ac_fn_c_try_link "$LINENO"
   20391 then :
   20392   ac_cv_search_recvfrom=$ac_res
   20393 fi
   20394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20395     conftest$ac_exeext
   20396   if test ${ac_cv_search_recvfrom+y}
   20397 then :
   20398   break
   20399 fi
   20400 done
   20401 if test ${ac_cv_search_recvfrom+y}
   20402 then :
   20403 
   20404 else $as_nop
   20405   ac_cv_search_recvfrom=no
   20406 fi
   20407 rm conftest.$ac_ext
   20408 LIBS=$ac_func_search_save_LIBS
   20409 fi
   20410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recvfrom" >&5
   20411 printf "%s\n" "$ac_cv_search_recvfrom" >&6; }
   20412 ac_res=$ac_cv_search_recvfrom
   20413 if test "$ac_res" != no
   20414 then :
   20415   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20416 
   20417 fi
   20418 
   20419 
   20420 case $host_os in
   20421      *mingw*)
   20422         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20423 printf %s "checking for main in -lws2_32... " >&6; }
   20424 if test ${ac_cv_lib_ws2_32_main+y}
   20425 then :
   20426   printf %s "(cached) " >&6
   20427 else $as_nop
   20428   ac_check_lib_save_LIBS=$LIBS
   20429 LIBS="-lws2_32  $LIBS"
   20430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20431 /* end confdefs.h.  */
   20432 
   20433 
   20434 int
   20435 main (void)
   20436 {
   20437 return main ();
   20438   ;
   20439   return 0;
   20440 }
   20441 _ACEOF
   20442 if ac_fn_c_try_link "$LINENO"
   20443 then :
   20444   ac_cv_lib_ws2_32_main=yes
   20445 else $as_nop
   20446   ac_cv_lib_ws2_32_main=no
   20447 fi
   20448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20449     conftest$ac_exeext conftest.$ac_ext
   20450 LIBS=$ac_check_lib_save_LIBS
   20451 fi
   20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20453 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20454 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20455 then :
   20456   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20457 
   20458   LIBS="-lws2_32 $LIBS"
   20459 
   20460 fi
   20461 
   20462         ;;
   20463      *)
   20464         ;;
   20465 esac
   20466 
   20467 # Checks for non-standard functions and fallback to libbsd if we can
   20468 # We only check for arc4random_buf, because if we have that, we don't
   20469 # need/use getentropy.
   20470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20471 /* end confdefs.h.  */
   20472 
   20473 /* Override any GCC internal prototype to avoid an error.
   20474    Use char because int might match the return type of a GCC
   20475    builtin and then its argument prototype would still apply.  */
   20476 char arc4random_buf ();
   20477 int
   20478 main (void)
   20479 {
   20480 return arc4random_buf ();
   20481   ;
   20482   return 0;
   20483 }
   20484 _ACEOF
   20485 if ac_fn_c_try_link "$LINENO"
   20486 then :
   20487   TRY_LIBBSD="no"
   20488 else $as_nop
   20489   TRY_LIBBSD="yes"
   20490 fi
   20491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20492     conftest$ac_exeext conftest.$ac_ext
   20493 if test "x$TRY_LIBBSD" = "xyes"
   20494 then :
   20495 
   20496 pkg_failed=no
   20497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBBSD" >&5
   20498 printf %s "checking for LIBBSD... " >&6; }
   20499 
   20500 if test -n "$LIBBSD_CFLAGS"; then
   20501     pkg_cv_LIBBSD_CFLAGS="$LIBBSD_CFLAGS"
   20502  elif test -n "$PKG_CONFIG"; then
   20503     if test -n "$PKG_CONFIG" && \
   20504     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   20505   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   20506   ac_status=$?
   20507   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20508   test $ac_status = 0; }; then
   20509   pkg_cv_LIBBSD_CFLAGS=`$PKG_CONFIG --cflags "libbsd-overlay" 2>/dev/null`
   20510 		      test "x$?" != "x0" && pkg_failed=yes
   20511 else
   20512   pkg_failed=yes
   20513 fi
   20514  else
   20515     pkg_failed=untried
   20516 fi
   20517 if test -n "$LIBBSD_LIBS"; then
   20518     pkg_cv_LIBBSD_LIBS="$LIBBSD_LIBS"
   20519  elif test -n "$PKG_CONFIG"; then
   20520     if test -n "$PKG_CONFIG" && \
   20521     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   20522   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   20523   ac_status=$?
   20524   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20525   test $ac_status = 0; }; then
   20526   pkg_cv_LIBBSD_LIBS=`$PKG_CONFIG --libs "libbsd-overlay" 2>/dev/null`
   20527 		      test "x$?" != "x0" && pkg_failed=yes
   20528 else
   20529   pkg_failed=yes
   20530 fi
   20531  else
   20532     pkg_failed=untried
   20533 fi
   20534 
   20535 
   20536 
   20537 if test $pkg_failed = yes; then
   20538    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20539 printf "%s\n" "no" >&6; }
   20540 
   20541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20542         _pkg_short_errors_supported=yes
   20543 else
   20544         _pkg_short_errors_supported=no
   20545 fi
   20546         if test $_pkg_short_errors_supported = yes; then
   20547 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   20548         else
   20549 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   20550         fi
   20551 	# Put the nasty error message in config.log where it belongs
   20552 	echo "$LIBBSD_PKG_ERRORS" >&5
   20553 
   20554 	:
   20555 elif test $pkg_failed = untried; then
   20556      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20557 printf "%s\n" "no" >&6; }
   20558 	:
   20559 else
   20560 	LIBBSD_CFLAGS=$pkg_cv_LIBBSD_CFLAGS
   20561 	LIBBSD_LIBS=$pkg_cv_LIBBSD_LIBS
   20562         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20563 printf "%s\n" "yes" >&6; }
   20564 
   20565 	CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
   20566 	LIBS="$LIBS $LIBBSD_LIBS"
   20567 
   20568 fi
   20569 fi
   20570 
   20571 # Checks for library functions.
   20572 ac_fn_c_check_func "$LINENO" "srand48" "ac_cv_func_srand48"
   20573 if test "x$ac_cv_func_srand48" = xyes
   20574 then :
   20575   printf "%s\n" "#define HAVE_SRAND48 1" >>confdefs.h
   20576 
   20577 fi
   20578 ac_fn_c_check_func "$LINENO" "lrand48" "ac_cv_func_lrand48"
   20579 if test "x$ac_cv_func_lrand48" = xyes
   20580 then :
   20581   printf "%s\n" "#define HAVE_LRAND48 1" >>confdefs.h
   20582 
   20583 fi
   20584 ac_fn_c_check_func "$LINENO" "arc4random_buf" "ac_cv_func_arc4random_buf"
   20585 if test "x$ac_cv_func_arc4random_buf" = xyes
   20586 then :
   20587   printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
   20588 
   20589 fi
   20590 ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy"
   20591 if test "x$ac_cv_func_getentropy" = xyes
   20592 then :
   20593   printf "%s\n" "#define HAVE_GETENTROPY 1" >>confdefs.h
   20594 
   20595 fi
   20596 
   20597 
   20598 # Obtain compiler/linker options for dependencies
   20599 
   20600 pkg_failed=no
   20601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   20602 printf %s "checking for XDMCP... " >&6; }
   20603 
   20604 if test -n "$XDMCP_CFLAGS"; then
   20605     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   20606  elif test -n "$PKG_CONFIG"; then
   20607     if test -n "$PKG_CONFIG" && \
   20608     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   20609   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   20610   ac_status=$?
   20611   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20612   test $ac_status = 0; }; then
   20613   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   20614 		      test "x$?" != "x0" && pkg_failed=yes
   20615 else
   20616   pkg_failed=yes
   20617 fi
   20618  else
   20619     pkg_failed=untried
   20620 fi
   20621 if test -n "$XDMCP_LIBS"; then
   20622     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   20623  elif test -n "$PKG_CONFIG"; then
   20624     if test -n "$PKG_CONFIG" && \
   20625     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   20626   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   20627   ac_status=$?
   20628   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20629   test $ac_status = 0; }; then
   20630   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   20631 		      test "x$?" != "x0" && pkg_failed=yes
   20632 else
   20633   pkg_failed=yes
   20634 fi
   20635  else
   20636     pkg_failed=untried
   20637 fi
   20638 
   20639 
   20640 
   20641 if test $pkg_failed = yes; then
   20642    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20643 printf "%s\n" "no" >&6; }
   20644 
   20645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20646         _pkg_short_errors_supported=yes
   20647 else
   20648         _pkg_short_errors_supported=no
   20649 fi
   20650         if test $_pkg_short_errors_supported = yes; then
   20651 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   20652         else
   20653 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   20654         fi
   20655 	# Put the nasty error message in config.log where it belongs
   20656 	echo "$XDMCP_PKG_ERRORS" >&5
   20657 
   20658 	as_fn_error $? "Package requirements (xproto) were not met:
   20659 
   20660 $XDMCP_PKG_ERRORS
   20661 
   20662 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20663 installed software in a non-standard prefix.
   20664 
   20665 Alternatively, you may set the environment variables XDMCP_CFLAGS
   20666 and XDMCP_LIBS to avoid the need to call pkg-config.
   20667 See the pkg-config man page for more details." "$LINENO" 5
   20668 elif test $pkg_failed = untried; then
   20669      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20670 printf "%s\n" "no" >&6; }
   20671 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20672 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20673 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20674 is in your PATH or set the PKG_CONFIG environment variable to the full
   20675 path to pkg-config.
   20676 
   20677 Alternatively, you may set the environment variables XDMCP_CFLAGS
   20678 and XDMCP_LIBS to avoid the need to call pkg-config.
   20679 See the pkg-config man page for more details.
   20680 
   20681 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20682 See \`config.log' for more details" "$LINENO" 5; }
   20683 else
   20684 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   20685 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   20686         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20687 printf "%s\n" "yes" >&6; }
   20688 
   20689 fi
   20690 
   20691 if test -f ${srcdir}/Wraphelp.c; then
   20692 
   20693 printf "%s\n" "#define HASXDMAUTH 1" >>confdefs.h
   20694 
   20695 	HASXDMAUTH=yes
   20696 else
   20697 	HASXDMAUTH=no
   20698 fi
   20699 
   20700  if test x$HASXDMAUTH = xyes; then
   20701   HASXDMAUTH_TRUE=
   20702   HASXDMAUTH_FALSE='#'
   20703 else
   20704   HASXDMAUTH_TRUE='#'
   20705   HASXDMAUTH_FALSE=
   20706 fi
   20707 
   20708 
   20709 # Allow checking code with lint, sparse, etc.
   20710 
   20711 
   20712 
   20713 
   20714 
   20715 # Check whether --with-lint was given.
   20716 if test ${with_lint+y}
   20717 then :
   20718   withval=$with_lint; use_lint=$withval
   20719 else $as_nop
   20720   use_lint=no
   20721 fi
   20722 
   20723 
   20724 # Obtain platform specific info like program name and options
   20725 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20726 case $host_os in
   20727   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20728 	lint_name=splint
   20729 	lint_options="-badflag"
   20730 	;;
   20731   *freebsd* | *netbsd*)
   20732 	lint_name=lint
   20733 	lint_options="-u -b"
   20734 	;;
   20735   *solaris*)
   20736 	lint_name=lint
   20737 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20738 	;;
   20739 esac
   20740 
   20741 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20742 if test "x$use_lint" = x"yes" ; then
   20743    # Extract the first word of "$lint_name", so it can be a program name with args.
   20744 set dummy $lint_name; ac_word=$2
   20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20746 printf %s "checking for $ac_word... " >&6; }
   20747 if test ${ac_cv_path_LINT+y}
   20748 then :
   20749   printf %s "(cached) " >&6
   20750 else $as_nop
   20751   case $LINT in
   20752   [\\/]* | ?:[\\/]*)
   20753   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20754   ;;
   20755   *)
   20756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20757 for as_dir in $PATH
   20758 do
   20759   IFS=$as_save_IFS
   20760   case $as_dir in #(((
   20761     '') as_dir=./ ;;
   20762     */) ;;
   20763     *) as_dir=$as_dir/ ;;
   20764   esac
   20765     for ac_exec_ext in '' $ac_executable_extensions; do
   20766   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20767     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   20768     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20769     break 2
   20770   fi
   20771 done
   20772   done
   20773 IFS=$as_save_IFS
   20774 
   20775   ;;
   20776 esac
   20777 fi
   20778 LINT=$ac_cv_path_LINT
   20779 if test -n "$LINT"; then
   20780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20781 printf "%s\n" "$LINT" >&6; }
   20782 else
   20783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20784 printf "%s\n" "no" >&6; }
   20785 fi
   20786 
   20787 
   20788    if test "x$LINT" = "x"; then
   20789         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20790    fi
   20791 elif test "x$use_lint" = x"no" ; then
   20792    if test "x$LINT" != "x"; then
   20793       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20794 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20795    fi
   20796 else
   20797    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20798 fi
   20799 
   20800 # User supplied flags override default flags
   20801 if test "x$LINT_FLAGS" != "x"; then
   20802    lint_options=$LINT_FLAGS
   20803 fi
   20804 
   20805 LINT_FLAGS=$lint_options
   20806 
   20807  if test "x$LINT" != x; then
   20808   LINT_TRUE=
   20809   LINT_FALSE='#'
   20810 else
   20811   LINT_TRUE='#'
   20812   LINT_FALSE=
   20813 fi
   20814 
   20815 
   20816 
   20817 
   20818 
   20819 # Check whether --enable-lint-library was given.
   20820 if test ${enable_lint_library+y}
   20821 then :
   20822   enableval=$enable_lint_library; make_lint_lib=$enableval
   20823 else $as_nop
   20824   make_lint_lib=no
   20825 fi
   20826 
   20827 
   20828 if test "x$make_lint_lib" = x"yes" ; then
   20829    LINTLIB=llib-lXdmcp.ln
   20830    if test "x$LINT" = "x"; then
   20831         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20832    fi
   20833 elif test "x$make_lint_lib" != x"no" ; then
   20834    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20835 fi
   20836 
   20837 
   20838  if test x$make_lint_lib != xno; then
   20839   MAKE_LINT_LIB_TRUE=
   20840   MAKE_LINT_LIB_FALSE='#'
   20841 else
   20842   MAKE_LINT_LIB_TRUE='#'
   20843   MAKE_LINT_LIB_FALSE=
   20844 fi
   20845 
   20846 
   20847 
   20848 
   20849 #  --enable-unit-tests
   20850 
   20851 
   20852 
   20853 
   20854 
   20855 # Check for different types of support on different platforms
   20856 case $host_os in
   20857     solaris*)
   20858         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   20859 printf %s "checking for umem_alloc in -lumem... " >&6; }
   20860 if test ${ac_cv_lib_umem_umem_alloc+y}
   20861 then :
   20862   printf %s "(cached) " >&6
   20863 else $as_nop
   20864   ac_check_lib_save_LIBS=$LIBS
   20865 LIBS="-lumem  $LIBS"
   20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20867 /* end confdefs.h.  */
   20868 
   20869 /* Override any GCC internal prototype to avoid an error.
   20870    Use char because int might match the return type of a GCC
   20871    builtin and then its argument prototype would still apply.  */
   20872 char umem_alloc ();
   20873 int
   20874 main (void)
   20875 {
   20876 return umem_alloc ();
   20877   ;
   20878   return 0;
   20879 }
   20880 _ACEOF
   20881 if ac_fn_c_try_link "$LINENO"
   20882 then :
   20883   ac_cv_lib_umem_umem_alloc=yes
   20884 else $as_nop
   20885   ac_cv_lib_umem_umem_alloc=no
   20886 fi
   20887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20888     conftest$ac_exeext conftest.$ac_ext
   20889 LIBS=$ac_check_lib_save_LIBS
   20890 fi
   20891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   20892 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   20893 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   20894 then :
   20895   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   20896 fi
   20897 
   20898         ;;
   20899     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   20900         # both directly and inverted, so should not be 0 or 255.
   20901         malloc_debug_env='MALLOC_PERTURB_=15'
   20902         ;;
   20903     darwin*)
   20904         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   20905         ;;
   20906     *bsd*)
   20907         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   20908         ;;
   20909 esac
   20910 
   20911 # User supplied flags override default flags
   20912 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   20913     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   20914 fi
   20915 
   20916 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   20917 
   20918 
   20919 
   20920 
   20921 
   20922 
   20923 
   20924 # Check whether --enable-unit-tests was given.
   20925 if test ${enable_unit_tests+y}
   20926 then :
   20927   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   20928 else $as_nop
   20929   enable_unit_tests=yes
   20930 fi
   20931 
   20932 
   20933  if test "x$enable_unit_tests" != xno; then
   20934   ENABLE_UNIT_TESTS_TRUE=
   20935   ENABLE_UNIT_TESTS_FALSE='#'
   20936 else
   20937   ENABLE_UNIT_TESTS_TRUE='#'
   20938   ENABLE_UNIT_TESTS_FALSE=
   20939 fi
   20940 
   20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   20942 printf %s "checking whether to build unit test cases... " >&6; }
   20943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   20944 printf "%s\n" "$enable_unit_tests" >&6; }
   20945 
   20946 
   20947 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile xdmcp.pc"
   20948 
   20949 cat >confcache <<\_ACEOF
   20950 # This file is a shell script that caches the results of configure
   20951 # tests run on this system so they can be shared between configure
   20952 # scripts and configure runs, see configure's option --config-cache.
   20953 # It is not useful on other systems.  If it contains results you don't
   20954 # want to keep, you may remove or edit it.
   20955 #
   20956 # config.status only pays attention to the cache file if you give it
   20957 # the --recheck option to rerun configure.
   20958 #
   20959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20961 # following values.
   20962 
   20963 _ACEOF
   20964 
   20965 # The following way of writing the cache mishandles newlines in values,
   20966 # but we know of no workaround that is simple, portable, and efficient.
   20967 # So, we kill variables containing newlines.
   20968 # Ultrix sh set writes to stderr and can't be redirected directly,
   20969 # and sets the high bit in the cache file unless we assign to the vars.
   20970 (
   20971   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20972     eval ac_val=\$$ac_var
   20973     case $ac_val in #(
   20974     *${as_nl}*)
   20975       case $ac_var in #(
   20976       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20977 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20978       esac
   20979       case $ac_var in #(
   20980       _ | IFS | as_nl) ;; #(
   20981       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20982       *) { eval $ac_var=; unset $ac_var;} ;;
   20983       esac ;;
   20984     esac
   20985   done
   20986 
   20987   (set) 2>&1 |
   20988     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20989     *${as_nl}ac_space=\ *)
   20990       # `set' does not quote correctly, so add quotes: double-quote
   20991       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20992       sed -n \
   20993 	"s/'/'\\\\''/g;
   20994 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20995       ;; #(
   20996     *)
   20997       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20998       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20999       ;;
   21000     esac |
   21001     sort
   21002 ) |
   21003   sed '
   21004      /^ac_cv_env_/b end
   21005      t clear
   21006      :clear
   21007      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21008      t end
   21009      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21010      :end' >>confcache
   21011 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21012   if test -w "$cache_file"; then
   21013     if test "x$cache_file" != "x/dev/null"; then
   21014       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21015 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21016       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21017 	cat confcache >"$cache_file"
   21018       else
   21019         case $cache_file in #(
   21020         */* | ?:*)
   21021 	  mv -f confcache "$cache_file"$$ &&
   21022 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21023         *)
   21024 	  mv -f confcache "$cache_file" ;;
   21025 	esac
   21026       fi
   21027     fi
   21028   else
   21029     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21030 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21031   fi
   21032 fi
   21033 rm -f confcache
   21034 
   21035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21036 # Let make expand exec_prefix.
   21037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21038 
   21039 DEFS=-DHAVE_CONFIG_H
   21040 
   21041 ac_libobjs=
   21042 ac_ltlibobjs=
   21043 U=
   21044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21045   # 1. Remove the extension, and $U if already installed.
   21046   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21047   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21048   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21049   #    will be set to the directory where LIBOBJS objects are built.
   21050   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21051   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21052 done
   21053 LIBOBJS=$ac_libobjs
   21054 
   21055 LTLIBOBJS=$ac_ltlibobjs
   21056 
   21057 
   21058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21059 printf %s "checking that generated files are newer than configure... " >&6; }
   21060    if test -n "$am_sleep_pid"; then
   21061      # Hide warnings about reused PIDs.
   21062      wait $am_sleep_pid 2>/dev/null
   21063    fi
   21064    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21065 printf "%s\n" "done" >&6; }
   21066 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21067   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21069 fi
   21070 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21071   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21073 fi
   21074  if test -n "$EXEEXT"; then
   21075   am__EXEEXT_TRUE=
   21076   am__EXEEXT_FALSE='#'
   21077 else
   21078   am__EXEEXT_TRUE='#'
   21079   am__EXEEXT_FALSE=
   21080 fi
   21081 
   21082 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   21083   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   21084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21085 fi
   21086 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21087   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21089 fi
   21090 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21091   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21093 fi
   21094 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21095   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21097 fi
   21098 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   21099   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   21100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21101 fi
   21102 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21103   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21105 fi
   21106 if test -z "${HASXDMAUTH_TRUE}" && test -z "${HASXDMAUTH_FALSE}"; then
   21107   as_fn_error $? "conditional \"HASXDMAUTH\" was never defined.
   21108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21109 fi
   21110 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21111   as_fn_error $? "conditional \"LINT\" was never defined.
   21112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21113 fi
   21114 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21115   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   21116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21117 fi
   21118 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   21119   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   21120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21121 fi
   21122 
   21123 : "${CONFIG_STATUS=./config.status}"
   21124 ac_write_fail=0
   21125 ac_clean_files_save=$ac_clean_files
   21126 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21128 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21129 as_write_fail=0
   21130 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21131 #! $SHELL
   21132 # Generated by $as_me.
   21133 # Run this file to recreate the current configuration.
   21134 # Compiler output produced by configure, useful for debugging
   21135 # configure, is in config.log if it exists.
   21136 
   21137 debug=false
   21138 ac_cs_recheck=false
   21139 ac_cs_silent=false
   21140 
   21141 SHELL=\${CONFIG_SHELL-$SHELL}
   21142 export SHELL
   21143 _ASEOF
   21144 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21145 ## -------------------- ##
   21146 ## M4sh Initialization. ##
   21147 ## -------------------- ##
   21148 
   21149 # Be more Bourne compatible
   21150 DUALCASE=1; export DUALCASE # for MKS sh
   21151 as_nop=:
   21152 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21153 then :
   21154   emulate sh
   21155   NULLCMD=:
   21156   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21157   # is contrary to our usage.  Disable this feature.
   21158   alias -g '${1+"$@"}'='"$@"'
   21159   setopt NO_GLOB_SUBST
   21160 else $as_nop
   21161   case `(set -o) 2>/dev/null` in #(
   21162   *posix*) :
   21163     set -o posix ;; #(
   21164   *) :
   21165      ;;
   21166 esac
   21167 fi
   21168 
   21169 
   21170 
   21171 # Reset variables that may have inherited troublesome values from
   21172 # the environment.
   21173 
   21174 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21175 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21176 # side effect of setting IFS to empty, thus disabling word splitting.)
   21177 # Quoting is to prevent editors from complaining about space-tab.
   21178 as_nl='
   21179 '
   21180 export as_nl
   21181 IFS=" ""	$as_nl"
   21182 
   21183 PS1='$ '
   21184 PS2='> '
   21185 PS4='+ '
   21186 
   21187 # Ensure predictable behavior from utilities with locale-dependent output.
   21188 LC_ALL=C
   21189 export LC_ALL
   21190 LANGUAGE=C
   21191 export LANGUAGE
   21192 
   21193 # We cannot yet rely on "unset" to work, but we need these variables
   21194 # to be unset--not just set to an empty or harmless value--now, to
   21195 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21196 # also avoids known problems related to "unset" and subshell syntax
   21197 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21198 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21199 do eval test \${$as_var+y} \
   21200   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21201 done
   21202 
   21203 # Ensure that fds 0, 1, and 2 are open.
   21204 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21205 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21206 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21207 
   21208 # The user is always right.
   21209 if ${PATH_SEPARATOR+false} :; then
   21210   PATH_SEPARATOR=:
   21211   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21212     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21213       PATH_SEPARATOR=';'
   21214   }
   21215 fi
   21216 
   21217 
   21218 # Find who we are.  Look in the path if we contain no directory separator.
   21219 as_myself=
   21220 case $0 in #((
   21221   *[\\/]* ) as_myself=$0 ;;
   21222   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21223 for as_dir in $PATH
   21224 do
   21225   IFS=$as_save_IFS
   21226   case $as_dir in #(((
   21227     '') as_dir=./ ;;
   21228     */) ;;
   21229     *) as_dir=$as_dir/ ;;
   21230   esac
   21231     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21232   done
   21233 IFS=$as_save_IFS
   21234 
   21235      ;;
   21236 esac
   21237 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21238 # in which case we are not to be found in the path.
   21239 if test "x$as_myself" = x; then
   21240   as_myself=$0
   21241 fi
   21242 if test ! -f "$as_myself"; then
   21243   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21244   exit 1
   21245 fi
   21246 
   21247 
   21248 
   21249 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21250 # ----------------------------------------
   21251 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21252 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21253 # script with STATUS, using 1 if that was 0.
   21254 as_fn_error ()
   21255 {
   21256   as_status=$1; test $as_status -eq 0 && as_status=1
   21257   if test "$4"; then
   21258     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21260   fi
   21261   printf "%s\n" "$as_me: error: $2" >&2
   21262   as_fn_exit $as_status
   21263 } # as_fn_error
   21264 
   21265 
   21266 
   21267 # as_fn_set_status STATUS
   21268 # -----------------------
   21269 # Set $? to STATUS, without forking.
   21270 as_fn_set_status ()
   21271 {
   21272   return $1
   21273 } # as_fn_set_status
   21274 
   21275 # as_fn_exit STATUS
   21276 # -----------------
   21277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21278 as_fn_exit ()
   21279 {
   21280   set +e
   21281   as_fn_set_status $1
   21282   exit $1
   21283 } # as_fn_exit
   21284 
   21285 # as_fn_unset VAR
   21286 # ---------------
   21287 # Portably unset VAR.
   21288 as_fn_unset ()
   21289 {
   21290   { eval $1=; unset $1;}
   21291 }
   21292 as_unset=as_fn_unset
   21293 
   21294 # as_fn_append VAR VALUE
   21295 # ----------------------
   21296 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21297 # advantage of any shell optimizations that allow amortized linear growth over
   21298 # repeated appends, instead of the typical quadratic growth present in naive
   21299 # implementations.
   21300 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21301 then :
   21302   eval 'as_fn_append ()
   21303   {
   21304     eval $1+=\$2
   21305   }'
   21306 else $as_nop
   21307   as_fn_append ()
   21308   {
   21309     eval $1=\$$1\$2
   21310   }
   21311 fi # as_fn_append
   21312 
   21313 # as_fn_arith ARG...
   21314 # ------------------
   21315 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21316 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21317 # must be portable across $(()) and expr.
   21318 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21319 then :
   21320   eval 'as_fn_arith ()
   21321   {
   21322     as_val=$(( $* ))
   21323   }'
   21324 else $as_nop
   21325   as_fn_arith ()
   21326   {
   21327     as_val=`expr "$@" || test $? -eq 1`
   21328   }
   21329 fi # as_fn_arith
   21330 
   21331 
   21332 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21333    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21334   as_expr=expr
   21335 else
   21336   as_expr=false
   21337 fi
   21338 
   21339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21340   as_basename=basename
   21341 else
   21342   as_basename=false
   21343 fi
   21344 
   21345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21346   as_dirname=dirname
   21347 else
   21348   as_dirname=false
   21349 fi
   21350 
   21351 as_me=`$as_basename -- "$0" ||
   21352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21353 	 X"$0" : 'X\(//\)$' \| \
   21354 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21355 printf "%s\n" X/"$0" |
   21356     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21357 	    s//\1/
   21358 	    q
   21359 	  }
   21360 	  /^X\/\(\/\/\)$/{
   21361 	    s//\1/
   21362 	    q
   21363 	  }
   21364 	  /^X\/\(\/\).*/{
   21365 	    s//\1/
   21366 	    q
   21367 	  }
   21368 	  s/.*/./; q'`
   21369 
   21370 # Avoid depending upon Character Ranges.
   21371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21374 as_cr_digits='0123456789'
   21375 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21376 
   21377 
   21378 # Determine whether it's possible to make 'echo' print without a newline.
   21379 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21380 # for compatibility with existing Makefiles.
   21381 ECHO_C= ECHO_N= ECHO_T=
   21382 case `echo -n x` in #(((((
   21383 -n*)
   21384   case `echo 'xy\c'` in
   21385   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21386   xy)  ECHO_C='\c';;
   21387   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21388        ECHO_T='	';;
   21389   esac;;
   21390 *)
   21391   ECHO_N='-n';;
   21392 esac
   21393 
   21394 # For backward compatibility with old third-party macros, we provide
   21395 # the shell variables $as_echo and $as_echo_n.  New code should use
   21396 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21397 as_echo='printf %s\n'
   21398 as_echo_n='printf %s'
   21399 
   21400 rm -f conf$$ conf$$.exe conf$$.file
   21401 if test -d conf$$.dir; then
   21402   rm -f conf$$.dir/conf$$.file
   21403 else
   21404   rm -f conf$$.dir
   21405   mkdir conf$$.dir 2>/dev/null
   21406 fi
   21407 if (echo >conf$$.file) 2>/dev/null; then
   21408   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21409     as_ln_s='ln -s'
   21410     # ... but there are two gotchas:
   21411     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21412     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21413     # In both cases, we have to default to `cp -pR'.
   21414     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21415       as_ln_s='cp -pR'
   21416   elif ln conf$$.file conf$$ 2>/dev/null; then
   21417     as_ln_s=ln
   21418   else
   21419     as_ln_s='cp -pR'
   21420   fi
   21421 else
   21422   as_ln_s='cp -pR'
   21423 fi
   21424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21425 rmdir conf$$.dir 2>/dev/null
   21426 
   21427 
   21428 # as_fn_mkdir_p
   21429 # -------------
   21430 # Create "$as_dir" as a directory, including parents if necessary.
   21431 as_fn_mkdir_p ()
   21432 {
   21433 
   21434   case $as_dir in #(
   21435   -*) as_dir=./$as_dir;;
   21436   esac
   21437   test -d "$as_dir" || eval $as_mkdir_p || {
   21438     as_dirs=
   21439     while :; do
   21440       case $as_dir in #(
   21441       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21442       *) as_qdir=$as_dir;;
   21443       esac
   21444       as_dirs="'$as_qdir' $as_dirs"
   21445       as_dir=`$as_dirname -- "$as_dir" ||
   21446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21447 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21448 	 X"$as_dir" : 'X\(//\)$' \| \
   21449 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21450 printf "%s\n" X"$as_dir" |
   21451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21452 	    s//\1/
   21453 	    q
   21454 	  }
   21455 	  /^X\(\/\/\)[^/].*/{
   21456 	    s//\1/
   21457 	    q
   21458 	  }
   21459 	  /^X\(\/\/\)$/{
   21460 	    s//\1/
   21461 	    q
   21462 	  }
   21463 	  /^X\(\/\).*/{
   21464 	    s//\1/
   21465 	    q
   21466 	  }
   21467 	  s/.*/./; q'`
   21468       test -d "$as_dir" && break
   21469     done
   21470     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21471   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21472 
   21473 
   21474 } # as_fn_mkdir_p
   21475 if mkdir -p . 2>/dev/null; then
   21476   as_mkdir_p='mkdir -p "$as_dir"'
   21477 else
   21478   test -d ./-p && rmdir ./-p
   21479   as_mkdir_p=false
   21480 fi
   21481 
   21482 
   21483 # as_fn_executable_p FILE
   21484 # -----------------------
   21485 # Test if FILE is an executable regular file.
   21486 as_fn_executable_p ()
   21487 {
   21488   test -f "$1" && test -x "$1"
   21489 } # as_fn_executable_p
   21490 as_test_x='test -x'
   21491 as_executable_p=as_fn_executable_p
   21492 
   21493 # Sed expression to map a string onto a valid CPP name.
   21494 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21495 
   21496 # Sed expression to map a string onto a valid variable name.
   21497 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21498 
   21499 
   21500 exec 6>&1
   21501 ## ----------------------------------- ##
   21502 ## Main body of $CONFIG_STATUS script. ##
   21503 ## ----------------------------------- ##
   21504 _ASEOF
   21505 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21506 
   21507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21508 # Save the log message, to keep $0 and so on meaningful, and to
   21509 # report actual input values of CONFIG_FILES etc. instead of their
   21510 # values after options handling.
   21511 ac_log="
   21512 This file was extended by libXdmcp $as_me 1.1.4, which was
   21513 generated by GNU Autoconf 2.71.  Invocation command line was
   21514 
   21515   CONFIG_FILES    = $CONFIG_FILES
   21516   CONFIG_HEADERS  = $CONFIG_HEADERS
   21517   CONFIG_LINKS    = $CONFIG_LINKS
   21518   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21519   $ $0 $@
   21520 
   21521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21522 "
   21523 
   21524 _ACEOF
   21525 
   21526 case $ac_config_files in *"
   21527 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21528 esac
   21529 
   21530 case $ac_config_headers in *"
   21531 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21532 esac
   21533 
   21534 
   21535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21536 # Files that config.status was made for.
   21537 config_files="$ac_config_files"
   21538 config_headers="$ac_config_headers"
   21539 config_commands="$ac_config_commands"
   21540 
   21541 _ACEOF
   21542 
   21543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21544 ac_cs_usage="\
   21545 \`$as_me' instantiates files and other configuration actions
   21546 from templates according to the current configuration.  Unless the files
   21547 and actions are specified as TAGs, all are instantiated by default.
   21548 
   21549 Usage: $0 [OPTION]... [TAG]...
   21550 
   21551   -h, --help       print this help, then exit
   21552   -V, --version    print version number and configuration settings, then exit
   21553       --config     print configuration, then exit
   21554   -q, --quiet, --silent
   21555                    do not print progress messages
   21556   -d, --debug      don't remove temporary files
   21557       --recheck    update $as_me by reconfiguring in the same conditions
   21558       --file=FILE[:TEMPLATE]
   21559                    instantiate the configuration file FILE
   21560       --header=FILE[:TEMPLATE]
   21561                    instantiate the configuration header FILE
   21562 
   21563 Configuration files:
   21564 $config_files
   21565 
   21566 Configuration headers:
   21567 $config_headers
   21568 
   21569 Configuration commands:
   21570 $config_commands
   21571 
   21572 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/issues>."
   21573 
   21574 _ACEOF
   21575 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21576 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21578 ac_cs_config='$ac_cs_config_escaped'
   21579 ac_cs_version="\\
   21580 libXdmcp config.status 1.1.4
   21581 configured by $0, generated by GNU Autoconf 2.71,
   21582   with options \\"\$ac_cs_config\\"
   21583 
   21584 Copyright (C) 2021 Free Software Foundation, Inc.
   21585 This config.status script is free software; the Free Software Foundation
   21586 gives unlimited permission to copy, distribute and modify it."
   21587 
   21588 ac_pwd='$ac_pwd'
   21589 srcdir='$srcdir'
   21590 INSTALL='$INSTALL'
   21591 MKDIR_P='$MKDIR_P'
   21592 AWK='$AWK'
   21593 test -n "\$AWK" || AWK=awk
   21594 _ACEOF
   21595 
   21596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21597 # The default lists apply if the user does not specify any file.
   21598 ac_need_defaults=:
   21599 while test $# != 0
   21600 do
   21601   case $1 in
   21602   --*=?*)
   21603     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21604     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21605     ac_shift=:
   21606     ;;
   21607   --*=)
   21608     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21609     ac_optarg=
   21610     ac_shift=:
   21611     ;;
   21612   *)
   21613     ac_option=$1
   21614     ac_optarg=$2
   21615     ac_shift=shift
   21616     ;;
   21617   esac
   21618 
   21619   case $ac_option in
   21620   # Handling of the options.
   21621   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21622     ac_cs_recheck=: ;;
   21623   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21624     printf "%s\n" "$ac_cs_version"; exit ;;
   21625   --config | --confi | --conf | --con | --co | --c )
   21626     printf "%s\n" "$ac_cs_config"; exit ;;
   21627   --debug | --debu | --deb | --de | --d | -d )
   21628     debug=: ;;
   21629   --file | --fil | --fi | --f )
   21630     $ac_shift
   21631     case $ac_optarg in
   21632     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21633     '') as_fn_error $? "missing file argument" ;;
   21634     esac
   21635     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21636     ac_need_defaults=false;;
   21637   --header | --heade | --head | --hea )
   21638     $ac_shift
   21639     case $ac_optarg in
   21640     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21641     esac
   21642     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21643     ac_need_defaults=false;;
   21644   --he | --h)
   21645     # Conflict between --help and --header
   21646     as_fn_error $? "ambiguous option: \`$1'
   21647 Try \`$0 --help' for more information.";;
   21648   --help | --hel | -h )
   21649     printf "%s\n" "$ac_cs_usage"; exit ;;
   21650   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21651   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21652     ac_cs_silent=: ;;
   21653 
   21654   # This is an error.
   21655   -*) as_fn_error $? "unrecognized option: \`$1'
   21656 Try \`$0 --help' for more information." ;;
   21657 
   21658   *) as_fn_append ac_config_targets " $1"
   21659      ac_need_defaults=false ;;
   21660 
   21661   esac
   21662   shift
   21663 done
   21664 
   21665 ac_configure_extra_args=
   21666 
   21667 if $ac_cs_silent; then
   21668   exec 6>/dev/null
   21669   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21670 fi
   21671 
   21672 _ACEOF
   21673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21674 if \$ac_cs_recheck; then
   21675   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21676   shift
   21677   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21678   CONFIG_SHELL='$SHELL'
   21679   export CONFIG_SHELL
   21680   exec "\$@"
   21681 fi
   21682 
   21683 _ACEOF
   21684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21685 exec 5>>config.log
   21686 {
   21687   echo
   21688   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21689 ## Running $as_me. ##
   21690 _ASBOX
   21691   printf "%s\n" "$ac_log"
   21692 } >&5
   21693 
   21694 _ACEOF
   21695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21696 #
   21697 # INIT-COMMANDS
   21698 #
   21699 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21700 
   21701 
   21702 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21703 # if CDPATH is set.
   21704 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21705 
   21706 sed_quote_subst='$sed_quote_subst'
   21707 double_quote_subst='$double_quote_subst'
   21708 delay_variable_subst='$delay_variable_subst'
   21709 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21710 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21711 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21712 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21713 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21714 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21715 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21716 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21717 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21718 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21719 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21720 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21721 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21722 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21723 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21724 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21725 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21726 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21727 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21728 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21729 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21730 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21731 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21732 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21733 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21734 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21735 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21736 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21737 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21738 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21739 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21740 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21741 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21742 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21743 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21744 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21745 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21746 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21747 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21748 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21749 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21750 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21751 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21752 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21753 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21754 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21755 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21756 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21757 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21758 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21759 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21760 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21761 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21762 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21763 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21764 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21765 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21766 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21767 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21768 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21770 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"`'
   21771 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21772 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21773 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21774 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21778 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21783 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21784 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21785 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21786 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21787 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21788 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21789 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21790 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21791 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21792 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21793 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21794 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21795 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21796 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21797 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21798 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21799 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21800 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21801 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21802 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21803 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21804 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21805 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21806 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21815 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21816 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21817 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21818 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21819 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21820 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21839 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21840 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21841 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21842 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21843 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21844 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21845 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21846 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21847 
   21848 LTCC='$LTCC'
   21849 LTCFLAGS='$LTCFLAGS'
   21850 compiler='$compiler_DEFAULT'
   21851 
   21852 # A function that is used when there is no print builtin or printf.
   21853 func_fallback_echo ()
   21854 {
   21855   eval 'cat <<_LTECHO_EOF
   21856 \$1
   21857 _LTECHO_EOF'
   21858 }
   21859 
   21860 # Quote evaled strings.
   21861 for var in AS \
   21862 DLLTOOL \
   21863 OBJDUMP \
   21864 SHELL \
   21865 ECHO \
   21866 PATH_SEPARATOR \
   21867 SED \
   21868 GREP \
   21869 EGREP \
   21870 FGREP \
   21871 LD \
   21872 NM \
   21873 LN_S \
   21874 lt_SP2NL \
   21875 lt_NL2SP \
   21876 reload_flag \
   21877 FILECMD \
   21878 deplibs_check_method \
   21879 file_magic_cmd \
   21880 file_magic_glob \
   21881 want_nocaseglob \
   21882 sharedlib_from_linklib_cmd \
   21883 AR \
   21884 archiver_list_spec \
   21885 STRIP \
   21886 RANLIB \
   21887 CC \
   21888 CFLAGS \
   21889 compiler \
   21890 lt_cv_sys_global_symbol_pipe \
   21891 lt_cv_sys_global_symbol_to_cdecl \
   21892 lt_cv_sys_global_symbol_to_import \
   21893 lt_cv_sys_global_symbol_to_c_name_address \
   21894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21895 lt_cv_nm_interface \
   21896 nm_file_list_spec \
   21897 lt_cv_truncate_bin \
   21898 lt_prog_compiler_no_builtin_flag \
   21899 lt_prog_compiler_pic \
   21900 lt_prog_compiler_wl \
   21901 lt_prog_compiler_static \
   21902 lt_cv_prog_compiler_c_o \
   21903 need_locks \
   21904 MANIFEST_TOOL \
   21905 DSYMUTIL \
   21906 NMEDIT \
   21907 LIPO \
   21908 OTOOL \
   21909 OTOOL64 \
   21910 shrext_cmds \
   21911 export_dynamic_flag_spec \
   21912 whole_archive_flag_spec \
   21913 compiler_needs_object \
   21914 with_gnu_ld \
   21915 allow_undefined_flag \
   21916 no_undefined_flag \
   21917 hardcode_libdir_flag_spec \
   21918 hardcode_libdir_separator \
   21919 exclude_expsyms \
   21920 include_expsyms \
   21921 file_list_spec \
   21922 variables_saved_for_relink \
   21923 libname_spec \
   21924 library_names_spec \
   21925 soname_spec \
   21926 install_override_mode \
   21927 finish_eval \
   21928 old_striplib \
   21929 striplib; do
   21930     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21931     *[\\\\\\\`\\"\\\$]*)
   21932       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21933       ;;
   21934     *)
   21935       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21936       ;;
   21937     esac
   21938 done
   21939 
   21940 # Double-quote double-evaled strings.
   21941 for var in reload_cmds \
   21942 old_postinstall_cmds \
   21943 old_postuninstall_cmds \
   21944 old_archive_cmds \
   21945 extract_expsyms_cmds \
   21946 old_archive_from_new_cmds \
   21947 old_archive_from_expsyms_cmds \
   21948 archive_cmds \
   21949 archive_expsym_cmds \
   21950 module_cmds \
   21951 module_expsym_cmds \
   21952 export_symbols_cmds \
   21953 prelink_cmds \
   21954 postlink_cmds \
   21955 postinstall_cmds \
   21956 postuninstall_cmds \
   21957 finish_cmds \
   21958 sys_lib_search_path_spec \
   21959 configure_time_dlsearch_path \
   21960 configure_time_lt_sys_library_path; do
   21961     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21962     *[\\\\\\\`\\"\\\$]*)
   21963       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21964       ;;
   21965     *)
   21966       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21967       ;;
   21968     esac
   21969 done
   21970 
   21971 ac_aux_dir='$ac_aux_dir'
   21972 
   21973 # See if we are running on zsh, and set the options that allow our
   21974 # commands through without removal of \ escapes INIT.
   21975 if test -n "\${ZSH_VERSION+set}"; then
   21976    setopt NO_GLOB_SUBST
   21977 fi
   21978 
   21979 
   21980     PACKAGE='$PACKAGE'
   21981     VERSION='$VERSION'
   21982     RM='$RM'
   21983     ofile='$ofile'
   21984 
   21985 
   21986 
   21987 
   21988 _ACEOF
   21989 
   21990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21991 
   21992 # Handling of arguments.
   21993 for ac_config_target in $ac_config_targets
   21994 do
   21995   case $ac_config_target in
   21996     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21997     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21998     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21999     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22000     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22001     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   22002     "xdmcp.pc") CONFIG_FILES="$CONFIG_FILES xdmcp.pc" ;;
   22003 
   22004   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22005   esac
   22006 done
   22007 
   22008 
   22009 # If the user did not use the arguments to specify the items to instantiate,
   22010 # then the envvar interface is used.  Set only those that are not.
   22011 # We use the long form for the default assignment because of an extremely
   22012 # bizarre bug on SunOS 4.1.3.
   22013 if $ac_need_defaults; then
   22014   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22015   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22016   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22017 fi
   22018 
   22019 # Have a temporary directory for convenience.  Make it in the build tree
   22020 # simply because there is no reason against having it here, and in addition,
   22021 # creating and moving files from /tmp can sometimes cause problems.
   22022 # Hook for its removal unless debugging.
   22023 # Note that there is a small window in which the directory will not be cleaned:
   22024 # after its creation but before its name has been assigned to `$tmp'.
   22025 $debug ||
   22026 {
   22027   tmp= ac_tmp=
   22028   trap 'exit_status=$?
   22029   : "${ac_tmp:=$tmp}"
   22030   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22031 ' 0
   22032   trap 'as_fn_exit 1' 1 2 13 15
   22033 }
   22034 # Create a (secure) tmp directory for tmp files.
   22035 
   22036 {
   22037   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22038   test -d "$tmp"
   22039 }  ||
   22040 {
   22041   tmp=./conf$$-$RANDOM
   22042   (umask 077 && mkdir "$tmp")
   22043 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22044 ac_tmp=$tmp
   22045 
   22046 # Set up the scripts for CONFIG_FILES section.
   22047 # No need to generate them if there are no CONFIG_FILES.
   22048 # This happens for instance with `./config.status config.h'.
   22049 if test -n "$CONFIG_FILES"; then
   22050 
   22051 
   22052 ac_cr=`echo X | tr X '\015'`
   22053 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22054 # But we know of no other shell where ac_cr would be empty at this
   22055 # point, so we can use a bashism as a fallback.
   22056 if test "x$ac_cr" = x; then
   22057   eval ac_cr=\$\'\\r\'
   22058 fi
   22059 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22060 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22061   ac_cs_awk_cr='\\r'
   22062 else
   22063   ac_cs_awk_cr=$ac_cr
   22064 fi
   22065 
   22066 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22067 _ACEOF
   22068 
   22069 
   22070 {
   22071   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22072   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22073   echo "_ACEOF"
   22074 } >conf$$subs.sh ||
   22075   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22076 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22077 ac_delim='%!_!# '
   22078 for ac_last_try in false false false false false :; do
   22079   . ./conf$$subs.sh ||
   22080     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22081 
   22082   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22083   if test $ac_delim_n = $ac_delim_num; then
   22084     break
   22085   elif $ac_last_try; then
   22086     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22087   else
   22088     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22089   fi
   22090 done
   22091 rm -f conf$$subs.sh
   22092 
   22093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22094 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22095 _ACEOF
   22096 sed -n '
   22097 h
   22098 s/^/S["/; s/!.*/"]=/
   22099 p
   22100 g
   22101 s/^[^!]*!//
   22102 :repl
   22103 t repl
   22104 s/'"$ac_delim"'$//
   22105 t delim
   22106 :nl
   22107 h
   22108 s/\(.\{148\}\)..*/\1/
   22109 t more1
   22110 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22111 p
   22112 n
   22113 b repl
   22114 :more1
   22115 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22116 p
   22117 g
   22118 s/.\{148\}//
   22119 t nl
   22120 :delim
   22121 h
   22122 s/\(.\{148\}\)..*/\1/
   22123 t more2
   22124 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22125 p
   22126 b
   22127 :more2
   22128 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22129 p
   22130 g
   22131 s/.\{148\}//
   22132 t delim
   22133 ' <conf$$subs.awk | sed '
   22134 /^[^""]/{
   22135   N
   22136   s/\n//
   22137 }
   22138 ' >>$CONFIG_STATUS || ac_write_fail=1
   22139 rm -f conf$$subs.awk
   22140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22141 _ACAWK
   22142 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22143   for (key in S) S_is_set[key] = 1
   22144   FS = ""
   22145 
   22146 }
   22147 {
   22148   line = $ 0
   22149   nfields = split(line, field, "@")
   22150   substed = 0
   22151   len = length(field[1])
   22152   for (i = 2; i < nfields; i++) {
   22153     key = field[i]
   22154     keylen = length(key)
   22155     if (S_is_set[key]) {
   22156       value = S[key]
   22157       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22158       len += length(value) + length(field[++i])
   22159       substed = 1
   22160     } else
   22161       len += 1 + keylen
   22162   }
   22163 
   22164   print line
   22165 }
   22166 
   22167 _ACAWK
   22168 _ACEOF
   22169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22170 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22171   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22172 else
   22173   cat
   22174 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22175   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22176 _ACEOF
   22177 
   22178 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22179 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22180 # trailing colons and then remove the whole line if VPATH becomes empty
   22181 # (actually we leave an empty line to preserve line numbers).
   22182 if test "x$srcdir" = x.; then
   22183   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22184 h
   22185 s///
   22186 s/^/:/
   22187 s/[	 ]*$/:/
   22188 s/:\$(srcdir):/:/g
   22189 s/:\${srcdir}:/:/g
   22190 s/:@srcdir@:/:/g
   22191 s/^:*//
   22192 s/:*$//
   22193 x
   22194 s/\(=[	 ]*\).*/\1/
   22195 G
   22196 s/\n//
   22197 s/^[^=]*=[	 ]*$//
   22198 }'
   22199 fi
   22200 
   22201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22202 fi # test -n "$CONFIG_FILES"
   22203 
   22204 # Set up the scripts for CONFIG_HEADERS section.
   22205 # No need to generate them if there are no CONFIG_HEADERS.
   22206 # This happens for instance with `./config.status Makefile'.
   22207 if test -n "$CONFIG_HEADERS"; then
   22208 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22209 BEGIN {
   22210 _ACEOF
   22211 
   22212 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22213 # here-document in config.status, that substitutes the proper values into
   22214 # config.h.in to produce config.h.
   22215 
   22216 # Create a delimiter string that does not exist in confdefs.h, to ease
   22217 # handling of long lines.
   22218 ac_delim='%!_!# '
   22219 for ac_last_try in false false :; do
   22220   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22221   if test -z "$ac_tt"; then
   22222     break
   22223   elif $ac_last_try; then
   22224     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22225   else
   22226     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22227   fi
   22228 done
   22229 
   22230 # For the awk script, D is an array of macro values keyed by name,
   22231 # likewise P contains macro parameters if any.  Preserve backslash
   22232 # newline sequences.
   22233 
   22234 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22235 sed -n '
   22236 s/.\{148\}/&'"$ac_delim"'/g
   22237 t rset
   22238 :rset
   22239 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22240 t def
   22241 d
   22242 :def
   22243 s/\\$//
   22244 t bsnl
   22245 s/["\\]/\\&/g
   22246 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22247 D["\1"]=" \3"/p
   22248 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22249 d
   22250 :bsnl
   22251 s/["\\]/\\&/g
   22252 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22253 D["\1"]=" \3\\\\\\n"\\/p
   22254 t cont
   22255 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22256 t cont
   22257 d
   22258 :cont
   22259 n
   22260 s/.\{148\}/&'"$ac_delim"'/g
   22261 t clear
   22262 :clear
   22263 s/\\$//
   22264 t bsnlc
   22265 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22266 d
   22267 :bsnlc
   22268 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22269 b cont
   22270 ' <confdefs.h | sed '
   22271 s/'"$ac_delim"'/"\\\
   22272 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22273 
   22274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22275   for (key in D) D_is_set[key] = 1
   22276   FS = ""
   22277 }
   22278 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22279   line = \$ 0
   22280   split(line, arg, " ")
   22281   if (arg[1] == "#") {
   22282     defundef = arg[2]
   22283     mac1 = arg[3]
   22284   } else {
   22285     defundef = substr(arg[1], 2)
   22286     mac1 = arg[2]
   22287   }
   22288   split(mac1, mac2, "(") #)
   22289   macro = mac2[1]
   22290   prefix = substr(line, 1, index(line, defundef) - 1)
   22291   if (D_is_set[macro]) {
   22292     # Preserve the white space surrounding the "#".
   22293     print prefix "define", macro P[macro] D[macro]
   22294     next
   22295   } else {
   22296     # Replace #undef with comments.  This is necessary, for example,
   22297     # in the case of _POSIX_SOURCE, which is predefined and required
   22298     # on some systems where configure will not decide to define it.
   22299     if (defundef == "undef") {
   22300       print "/*", prefix defundef, macro, "*/"
   22301       next
   22302     }
   22303   }
   22304 }
   22305 { print }
   22306 _ACAWK
   22307 _ACEOF
   22308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22309   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22310 fi # test -n "$CONFIG_HEADERS"
   22311 
   22312 
   22313 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22314 shift
   22315 for ac_tag
   22316 do
   22317   case $ac_tag in
   22318   :[FHLC]) ac_mode=$ac_tag; continue;;
   22319   esac
   22320   case $ac_mode$ac_tag in
   22321   :[FHL]*:*);;
   22322   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22323   :[FH]-) ac_tag=-:-;;
   22324   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22325   esac
   22326   ac_save_IFS=$IFS
   22327   IFS=:
   22328   set x $ac_tag
   22329   IFS=$ac_save_IFS
   22330   shift
   22331   ac_file=$1
   22332   shift
   22333 
   22334   case $ac_mode in
   22335   :L) ac_source=$1;;
   22336   :[FH])
   22337     ac_file_inputs=
   22338     for ac_f
   22339     do
   22340       case $ac_f in
   22341       -) ac_f="$ac_tmp/stdin";;
   22342       *) # Look for the file first in the build tree, then in the source tree
   22343 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22344 	 # because $ac_f cannot contain `:'.
   22345 	 test -f "$ac_f" ||
   22346 	   case $ac_f in
   22347 	   [\\/$]*) false;;
   22348 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22349 	   esac ||
   22350 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22351       esac
   22352       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22353       as_fn_append ac_file_inputs " '$ac_f'"
   22354     done
   22355 
   22356     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22357     # use $as_me), people would be surprised to read:
   22358     #    /* config.h.  Generated by config.status.  */
   22359     configure_input='Generated from '`
   22360 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22361 	`' by configure.'
   22362     if test x"$ac_file" != x-; then
   22363       configure_input="$ac_file.  $configure_input"
   22364       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22365 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22366     fi
   22367     # Neutralize special characters interpreted by sed in replacement strings.
   22368     case $configure_input in #(
   22369     *\&* | *\|* | *\\* )
   22370        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22371        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22372     *) ac_sed_conf_input=$configure_input;;
   22373     esac
   22374 
   22375     case $ac_tag in
   22376     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22377       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22378     esac
   22379     ;;
   22380   esac
   22381 
   22382   ac_dir=`$as_dirname -- "$ac_file" ||
   22383 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22384 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22385 	 X"$ac_file" : 'X\(//\)$' \| \
   22386 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22387 printf "%s\n" X"$ac_file" |
   22388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22389 	    s//\1/
   22390 	    q
   22391 	  }
   22392 	  /^X\(\/\/\)[^/].*/{
   22393 	    s//\1/
   22394 	    q
   22395 	  }
   22396 	  /^X\(\/\/\)$/{
   22397 	    s//\1/
   22398 	    q
   22399 	  }
   22400 	  /^X\(\/\).*/{
   22401 	    s//\1/
   22402 	    q
   22403 	  }
   22404 	  s/.*/./; q'`
   22405   as_dir="$ac_dir"; as_fn_mkdir_p
   22406   ac_builddir=.
   22407 
   22408 case "$ac_dir" in
   22409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22410 *)
   22411   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22412   # A ".." for each directory in $ac_dir_suffix.
   22413   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22414   case $ac_top_builddir_sub in
   22415   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22416   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22417   esac ;;
   22418 esac
   22419 ac_abs_top_builddir=$ac_pwd
   22420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22421 # for backward compatibility:
   22422 ac_top_builddir=$ac_top_build_prefix
   22423 
   22424 case $srcdir in
   22425   .)  # We are building in place.
   22426     ac_srcdir=.
   22427     ac_top_srcdir=$ac_top_builddir_sub
   22428     ac_abs_top_srcdir=$ac_pwd ;;
   22429   [\\/]* | ?:[\\/]* )  # Absolute name.
   22430     ac_srcdir=$srcdir$ac_dir_suffix;
   22431     ac_top_srcdir=$srcdir
   22432     ac_abs_top_srcdir=$srcdir ;;
   22433   *) # Relative name.
   22434     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22435     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22436     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22437 esac
   22438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22439 
   22440 
   22441   case $ac_mode in
   22442   :F)
   22443   #
   22444   # CONFIG_FILE
   22445   #
   22446 
   22447   case $INSTALL in
   22448   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22449   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22450   esac
   22451   ac_MKDIR_P=$MKDIR_P
   22452   case $MKDIR_P in
   22453   [\\/$]* | ?:[\\/]* ) ;;
   22454   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22455   esac
   22456 _ACEOF
   22457 
   22458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22459 # If the template does not know about datarootdir, expand it.
   22460 # FIXME: This hack should be removed a few years after 2.60.
   22461 ac_datarootdir_hack=; ac_datarootdir_seen=
   22462 ac_sed_dataroot='
   22463 /datarootdir/ {
   22464   p
   22465   q
   22466 }
   22467 /@datadir@/p
   22468 /@docdir@/p
   22469 /@infodir@/p
   22470 /@localedir@/p
   22471 /@mandir@/p'
   22472 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22473 *datarootdir*) ac_datarootdir_seen=yes;;
   22474 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22476 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22477 _ACEOF
   22478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22479   ac_datarootdir_hack='
   22480   s&@datadir@&$datadir&g
   22481   s&@docdir@&$docdir&g
   22482   s&@infodir@&$infodir&g
   22483   s&@localedir@&$localedir&g
   22484   s&@mandir@&$mandir&g
   22485   s&\\\${datarootdir}&$datarootdir&g' ;;
   22486 esac
   22487 _ACEOF
   22488 
   22489 # Neutralize VPATH when `$srcdir' = `.'.
   22490 # Shell code in configure.ac might set extrasub.
   22491 # FIXME: do we really want to maintain this feature?
   22492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22493 ac_sed_extra="$ac_vpsub
   22494 $extrasub
   22495 _ACEOF
   22496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22497 :t
   22498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22499 s|@configure_input@|$ac_sed_conf_input|;t t
   22500 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22501 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22502 s&@srcdir@&$ac_srcdir&;t t
   22503 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22504 s&@top_srcdir@&$ac_top_srcdir&;t t
   22505 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22506 s&@builddir@&$ac_builddir&;t t
   22507 s&@abs_builddir@&$ac_abs_builddir&;t t
   22508 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22509 s&@INSTALL@&$ac_INSTALL&;t t
   22510 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22511 $ac_datarootdir_hack
   22512 "
   22513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22514   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22515 
   22516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22517   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22518   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22519       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22521 which seems to be undefined.  Please make sure it is defined" >&5
   22522 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22523 which seems to be undefined.  Please make sure it is defined" >&2;}
   22524 
   22525   rm -f "$ac_tmp/stdin"
   22526   case $ac_file in
   22527   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22528   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22529   esac \
   22530   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22531  ;;
   22532   :H)
   22533   #
   22534   # CONFIG_HEADER
   22535   #
   22536   if test x"$ac_file" != x-; then
   22537     {
   22538       printf "%s\n" "/* $configure_input  */" >&1 \
   22539       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22540     } >"$ac_tmp/config.h" \
   22541       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22542     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22543       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22544 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22545     else
   22546       rm -f "$ac_file"
   22547       mv "$ac_tmp/config.h" "$ac_file" \
   22548 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22549     fi
   22550   else
   22551     printf "%s\n" "/* $configure_input  */" >&1 \
   22552       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22553       || as_fn_error $? "could not create -" "$LINENO" 5
   22554   fi
   22555 # Compute "$ac_file"'s index in $config_headers.
   22556 _am_arg="$ac_file"
   22557 _am_stamp_count=1
   22558 for _am_header in $config_headers :; do
   22559   case $_am_header in
   22560     $_am_arg | $_am_arg:* )
   22561       break ;;
   22562     * )
   22563       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22564   esac
   22565 done
   22566 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22567 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22568 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22569 	 X"$_am_arg" : 'X\(//\)$' \| \
   22570 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22571 printf "%s\n" X"$_am_arg" |
   22572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22573 	    s//\1/
   22574 	    q
   22575 	  }
   22576 	  /^X\(\/\/\)[^/].*/{
   22577 	    s//\1/
   22578 	    q
   22579 	  }
   22580 	  /^X\(\/\/\)$/{
   22581 	    s//\1/
   22582 	    q
   22583 	  }
   22584 	  /^X\(\/\).*/{
   22585 	    s//\1/
   22586 	    q
   22587 	  }
   22588 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22589  ;;
   22590 
   22591   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22592 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22593  ;;
   22594   esac
   22595 
   22596 
   22597   case $ac_file$ac_mode in
   22598     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22599   # Older Autoconf quotes --file arguments for eval, but not when files
   22600   # are listed without --file.  Let's play safe and only enable the eval
   22601   # if we detect the quoting.
   22602   # TODO: see whether this extra hack can be removed once we start
   22603   # requiring Autoconf 2.70 or later.
   22604   case $CONFIG_FILES in #(
   22605   *\'*) :
   22606     eval set x "$CONFIG_FILES" ;; #(
   22607   *) :
   22608     set x $CONFIG_FILES ;; #(
   22609   *) :
   22610      ;;
   22611 esac
   22612   shift
   22613   # Used to flag and report bootstrapping failures.
   22614   am_rc=0
   22615   for am_mf
   22616   do
   22617     # Strip MF so we end up with the name of the file.
   22618     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22619     # Check whether this is an Automake generated Makefile which includes
   22620     # dependency-tracking related rules and includes.
   22621     # Grep'ing the whole file directly is not great: AIX grep has a line
   22622     # limit of 2048, but all sed's we know have understand at least 4000.
   22623     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22624       || continue
   22625     am_dirpart=`$as_dirname -- "$am_mf" ||
   22626 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22627 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22628 	 X"$am_mf" : 'X\(//\)$' \| \
   22629 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22630 printf "%s\n" X"$am_mf" |
   22631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22632 	    s//\1/
   22633 	    q
   22634 	  }
   22635 	  /^X\(\/\/\)[^/].*/{
   22636 	    s//\1/
   22637 	    q
   22638 	  }
   22639 	  /^X\(\/\/\)$/{
   22640 	    s//\1/
   22641 	    q
   22642 	  }
   22643 	  /^X\(\/\).*/{
   22644 	    s//\1/
   22645 	    q
   22646 	  }
   22647 	  s/.*/./; q'`
   22648     am_filepart=`$as_basename -- "$am_mf" ||
   22649 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22650 	 X"$am_mf" : 'X\(//\)$' \| \
   22651 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22652 printf "%s\n" X/"$am_mf" |
   22653     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22654 	    s//\1/
   22655 	    q
   22656 	  }
   22657 	  /^X\/\(\/\/\)$/{
   22658 	    s//\1/
   22659 	    q
   22660 	  }
   22661 	  /^X\/\(\/\).*/{
   22662 	    s//\1/
   22663 	    q
   22664 	  }
   22665 	  s/.*/./; q'`
   22666     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22667       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22668         | $MAKE -f - am--depfiles" >&5
   22669    (cd "$am_dirpart" \
   22670       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22671         | $MAKE -f - am--depfiles) >&5 2>&5
   22672    ac_status=$?
   22673    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22674    (exit $ac_status); } || am_rc=$?
   22675   done
   22676   if test $am_rc -ne 0; then
   22677     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22678 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22679 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22680     for automatic dependency tracking.  If GNU make was not used, consider
   22681     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22682     necessary).  You can also try re-running configure with the
   22683     '--disable-dependency-tracking' option to at least be able to build
   22684     the package (albeit without support for automatic dependency tracking).
   22685 See \`config.log' for more details" "$LINENO" 5; }
   22686   fi
   22687   { am_dirpart=; unset am_dirpart;}
   22688   { am_filepart=; unset am_filepart;}
   22689   { am_mf=; unset am_mf;}
   22690   { am_rc=; unset am_rc;}
   22691   rm -f conftest-deps.mk
   22692 }
   22693  ;;
   22694     "libtool":C)
   22695 
   22696     # See if we are running on zsh, and set the options that allow our
   22697     # commands through without removal of \ escapes.
   22698     if test -n "${ZSH_VERSION+set}"; then
   22699       setopt NO_GLOB_SUBST
   22700     fi
   22701 
   22702     cfgfile=${ofile}T
   22703     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22704     $RM "$cfgfile"
   22705 
   22706     cat <<_LT_EOF >> "$cfgfile"
   22707 #! $SHELL
   22708 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22709 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22710 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22711 
   22712 # Provide generalized library-building support services.
   22713 # Written by Gordon Matzigkeit, 1996
   22714 
   22715 # Copyright (C) 2014 Free Software Foundation, Inc.
   22716 # This is free software; see the source for copying conditions.  There is NO
   22717 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22718 
   22719 # GNU Libtool is free software; you can redistribute it and/or modify
   22720 # it under the terms of the GNU General Public License as published by
   22721 # the Free Software Foundation; either version 2 of of the License, or
   22722 # (at your option) any later version.
   22723 #
   22724 # As a special exception to the GNU General Public License, if you
   22725 # distribute this file as part of a program or library that is built
   22726 # using GNU Libtool, you may include this file under the  same
   22727 # distribution terms that you use for the rest of that program.
   22728 #
   22729 # GNU Libtool is distributed in the hope that it will be useful, but
   22730 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22731 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22732 # GNU General Public License for more details.
   22733 #
   22734 # You should have received a copy of the GNU General Public License
   22735 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22736 
   22737 
   22738 # The names of the tagged configurations supported by this script.
   22739 available_tags=''
   22740 
   22741 # Configured defaults for sys_lib_dlsearch_path munging.
   22742 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22743 
   22744 # ### BEGIN LIBTOOL CONFIG
   22745 
   22746 # Assembler program.
   22747 AS=$lt_AS
   22748 
   22749 # DLL creation program.
   22750 DLLTOOL=$lt_DLLTOOL
   22751 
   22752 # Object dumper program.
   22753 OBJDUMP=$lt_OBJDUMP
   22754 
   22755 # Which release of libtool.m4 was used?
   22756 macro_version=$macro_version
   22757 macro_revision=$macro_revision
   22758 
   22759 # Whether or not to build shared libraries.
   22760 build_libtool_libs=$enable_shared
   22761 
   22762 # Whether or not to build static libraries.
   22763 build_old_libs=$enable_static
   22764 
   22765 # What type of objects to build.
   22766 pic_mode=$pic_mode
   22767 
   22768 # Whether or not to optimize for fast installation.
   22769 fast_install=$enable_fast_install
   22770 
   22771 # Shared archive member basename,for filename based shared library versioning on AIX.
   22772 shared_archive_member_spec=$shared_archive_member_spec
   22773 
   22774 # Shell to use when invoking shell scripts.
   22775 SHELL=$lt_SHELL
   22776 
   22777 # An echo program that protects backslashes.
   22778 ECHO=$lt_ECHO
   22779 
   22780 # The PATH separator for the build system.
   22781 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22782 
   22783 # The host system.
   22784 host_alias=$host_alias
   22785 host=$host
   22786 host_os=$host_os
   22787 
   22788 # The build system.
   22789 build_alias=$build_alias
   22790 build=$build
   22791 build_os=$build_os
   22792 
   22793 # A sed program that does not truncate output.
   22794 SED=$lt_SED
   22795 
   22796 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22797 Xsed="\$SED -e 1s/^X//"
   22798 
   22799 # A grep program that handles long lines.
   22800 GREP=$lt_GREP
   22801 
   22802 # An ERE matcher.
   22803 EGREP=$lt_EGREP
   22804 
   22805 # A literal string matcher.
   22806 FGREP=$lt_FGREP
   22807 
   22808 # A BSD- or MS-compatible name lister.
   22809 NM=$lt_NM
   22810 
   22811 # Whether we need soft or hard links.
   22812 LN_S=$lt_LN_S
   22813 
   22814 # What is the maximum length of a command?
   22815 max_cmd_len=$max_cmd_len
   22816 
   22817 # Object file suffix (normally "o").
   22818 objext=$ac_objext
   22819 
   22820 # Executable file suffix (normally "").
   22821 exeext=$exeext
   22822 
   22823 # whether the shell understands "unset".
   22824 lt_unset=$lt_unset
   22825 
   22826 # turn spaces into newlines.
   22827 SP2NL=$lt_lt_SP2NL
   22828 
   22829 # turn newlines into spaces.
   22830 NL2SP=$lt_lt_NL2SP
   22831 
   22832 # convert \$build file names to \$host format.
   22833 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22834 
   22835 # convert \$build files to toolchain format.
   22836 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22837 
   22838 # A file(cmd) program that detects file types.
   22839 FILECMD=$lt_FILECMD
   22840 
   22841 # Method to check whether dependent libraries are shared objects.
   22842 deplibs_check_method=$lt_deplibs_check_method
   22843 
   22844 # Command to use when deplibs_check_method = "file_magic".
   22845 file_magic_cmd=$lt_file_magic_cmd
   22846 
   22847 # How to find potential files when deplibs_check_method = "file_magic".
   22848 file_magic_glob=$lt_file_magic_glob
   22849 
   22850 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22851 want_nocaseglob=$lt_want_nocaseglob
   22852 
   22853 # Command to associate shared and link libraries.
   22854 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22855 
   22856 # The archiver.
   22857 AR=$lt_AR
   22858 
   22859 # Flags to create an archive (by configure).
   22860 lt_ar_flags=$lt_ar_flags
   22861 
   22862 # Flags to create an archive.
   22863 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22864 
   22865 # How to feed a file listing to the archiver.
   22866 archiver_list_spec=$lt_archiver_list_spec
   22867 
   22868 # A symbol stripping program.
   22869 STRIP=$lt_STRIP
   22870 
   22871 # Commands used to install an old-style archive.
   22872 RANLIB=$lt_RANLIB
   22873 old_postinstall_cmds=$lt_old_postinstall_cmds
   22874 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22875 
   22876 # Whether to use a lock for old archive extraction.
   22877 lock_old_archive_extraction=$lock_old_archive_extraction
   22878 
   22879 # A C compiler.
   22880 LTCC=$lt_CC
   22881 
   22882 # LTCC compiler flags.
   22883 LTCFLAGS=$lt_CFLAGS
   22884 
   22885 # Take the output of nm and produce a listing of raw symbols and C names.
   22886 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22887 
   22888 # Transform the output of nm in a proper C declaration.
   22889 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22890 
   22891 # Transform the output of nm into a list of symbols to manually relocate.
   22892 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22893 
   22894 # Transform the output of nm in a C name address pair.
   22895 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22896 
   22897 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22898 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22899 
   22900 # The name lister interface.
   22901 nm_interface=$lt_lt_cv_nm_interface
   22902 
   22903 # Specify filename containing input files for \$NM.
   22904 nm_file_list_spec=$lt_nm_file_list_spec
   22905 
   22906 # The root where to search for dependent libraries,and where our libraries should be installed.
   22907 lt_sysroot=$lt_sysroot
   22908 
   22909 # Command to truncate a binary pipe.
   22910 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22911 
   22912 # The name of the directory that contains temporary libtool files.
   22913 objdir=$objdir
   22914 
   22915 # Used to examine libraries when file_magic_cmd begins with "file".
   22916 MAGIC_CMD=$MAGIC_CMD
   22917 
   22918 # Must we lock files when doing compilation?
   22919 need_locks=$lt_need_locks
   22920 
   22921 # Manifest tool.
   22922 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22923 
   22924 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22925 DSYMUTIL=$lt_DSYMUTIL
   22926 
   22927 # Tool to change global to local symbols on Mac OS X.
   22928 NMEDIT=$lt_NMEDIT
   22929 
   22930 # Tool to manipulate fat objects and archives on Mac OS X.
   22931 LIPO=$lt_LIPO
   22932 
   22933 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22934 OTOOL=$lt_OTOOL
   22935 
   22936 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22937 OTOOL64=$lt_OTOOL64
   22938 
   22939 # Old archive suffix (normally "a").
   22940 libext=$libext
   22941 
   22942 # Shared library suffix (normally ".so").
   22943 shrext_cmds=$lt_shrext_cmds
   22944 
   22945 # The commands to extract the exported symbol list from a shared archive.
   22946 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22947 
   22948 # Variables whose values should be saved in libtool wrapper scripts and
   22949 # restored at link time.
   22950 variables_saved_for_relink=$lt_variables_saved_for_relink
   22951 
   22952 # Do we need the "lib" prefix for modules?
   22953 need_lib_prefix=$need_lib_prefix
   22954 
   22955 # Do we need a version for libraries?
   22956 need_version=$need_version
   22957 
   22958 # Library versioning type.
   22959 version_type=$version_type
   22960 
   22961 # Shared library runtime path variable.
   22962 runpath_var=$runpath_var
   22963 
   22964 # Shared library path variable.
   22965 shlibpath_var=$shlibpath_var
   22966 
   22967 # Is shlibpath searched before the hard-coded library search path?
   22968 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22969 
   22970 # Format of library name prefix.
   22971 libname_spec=$lt_libname_spec
   22972 
   22973 # List of archive names.  First name is the real one, the rest are links.
   22974 # The last name is the one that the linker finds with -lNAME
   22975 library_names_spec=$lt_library_names_spec
   22976 
   22977 # The coded name of the library, if different from the real name.
   22978 soname_spec=$lt_soname_spec
   22979 
   22980 # Permission mode override for installation of shared libraries.
   22981 install_override_mode=$lt_install_override_mode
   22982 
   22983 # Command to use after installation of a shared archive.
   22984 postinstall_cmds=$lt_postinstall_cmds
   22985 
   22986 # Command to use after uninstallation of a shared archive.
   22987 postuninstall_cmds=$lt_postuninstall_cmds
   22988 
   22989 # Commands used to finish a libtool library installation in a directory.
   22990 finish_cmds=$lt_finish_cmds
   22991 
   22992 # As "finish_cmds", except a single script fragment to be evaled but
   22993 # not shown.
   22994 finish_eval=$lt_finish_eval
   22995 
   22996 # Whether we should hardcode library paths into libraries.
   22997 hardcode_into_libs=$hardcode_into_libs
   22998 
   22999 # Compile-time system search path for libraries.
   23000 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23001 
   23002 # Detected run-time system search path for libraries.
   23003 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23004 
   23005 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23006 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23007 
   23008 # Whether dlopen is supported.
   23009 dlopen_support=$enable_dlopen
   23010 
   23011 # Whether dlopen of programs is supported.
   23012 dlopen_self=$enable_dlopen_self
   23013 
   23014 # Whether dlopen of statically linked programs is supported.
   23015 dlopen_self_static=$enable_dlopen_self_static
   23016 
   23017 # Commands to strip libraries.
   23018 old_striplib=$lt_old_striplib
   23019 striplib=$lt_striplib
   23020 
   23021 
   23022 # The linker used to build libraries.
   23023 LD=$lt_LD
   23024 
   23025 # How to create reloadable object files.
   23026 reload_flag=$lt_reload_flag
   23027 reload_cmds=$lt_reload_cmds
   23028 
   23029 # Commands used to build an old-style archive.
   23030 old_archive_cmds=$lt_old_archive_cmds
   23031 
   23032 # A language specific compiler.
   23033 CC=$lt_compiler
   23034 
   23035 # Is the compiler the GNU compiler?
   23036 with_gcc=$GCC
   23037 
   23038 # Compiler flag to turn off builtin functions.
   23039 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23040 
   23041 # Additional compiler flags for building library objects.
   23042 pic_flag=$lt_lt_prog_compiler_pic
   23043 
   23044 # How to pass a linker flag through the compiler.
   23045 wl=$lt_lt_prog_compiler_wl
   23046 
   23047 # Compiler flag to prevent dynamic linking.
   23048 link_static_flag=$lt_lt_prog_compiler_static
   23049 
   23050 # Does compiler simultaneously support -c and -o options?
   23051 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23052 
   23053 # Whether or not to add -lc for building shared libraries.
   23054 build_libtool_need_lc=$archive_cmds_need_lc
   23055 
   23056 # Whether or not to disallow shared libs when runtime libs are static.
   23057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23058 
   23059 # Compiler flag to allow reflexive dlopens.
   23060 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23061 
   23062 # Compiler flag to generate shared objects directly from archives.
   23063 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23064 
   23065 # Whether the compiler copes with passing no objects directly.
   23066 compiler_needs_object=$lt_compiler_needs_object
   23067 
   23068 # Create an old-style archive from a shared archive.
   23069 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23070 
   23071 # Create a temporary old-style archive to link instead of a shared archive.
   23072 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23073 
   23074 # Commands used to build a shared archive.
   23075 archive_cmds=$lt_archive_cmds
   23076 archive_expsym_cmds=$lt_archive_expsym_cmds
   23077 
   23078 # Commands used to build a loadable module if different from building
   23079 # a shared archive.
   23080 module_cmds=$lt_module_cmds
   23081 module_expsym_cmds=$lt_module_expsym_cmds
   23082 
   23083 # Whether we are building with GNU ld or not.
   23084 with_gnu_ld=$lt_with_gnu_ld
   23085 
   23086 # Flag that allows shared libraries with undefined symbols to be built.
   23087 allow_undefined_flag=$lt_allow_undefined_flag
   23088 
   23089 # Flag that enforces no undefined symbols.
   23090 no_undefined_flag=$lt_no_undefined_flag
   23091 
   23092 # Flag to hardcode \$libdir into a binary during linking.
   23093 # This must work even if \$libdir does not exist
   23094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23095 
   23096 # Whether we need a single "-rpath" flag with a separated argument.
   23097 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23098 
   23099 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23100 # DIR into the resulting binary.
   23101 hardcode_direct=$hardcode_direct
   23102 
   23103 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23104 # DIR into the resulting binary and the resulting library dependency is
   23105 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23106 # library is relocated.
   23107 hardcode_direct_absolute=$hardcode_direct_absolute
   23108 
   23109 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23110 # into the resulting binary.
   23111 hardcode_minus_L=$hardcode_minus_L
   23112 
   23113 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23114 # into the resulting binary.
   23115 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23116 
   23117 # Set to "yes" if building a shared library automatically hardcodes DIR
   23118 # into the library and all subsequent libraries and executables linked
   23119 # against it.
   23120 hardcode_automatic=$hardcode_automatic
   23121 
   23122 # Set to yes if linker adds runtime paths of dependent libraries
   23123 # to runtime path list.
   23124 inherit_rpath=$inherit_rpath
   23125 
   23126 # Whether libtool must link a program against all its dependency libraries.
   23127 link_all_deplibs=$link_all_deplibs
   23128 
   23129 # Set to "yes" if exported symbols are required.
   23130 always_export_symbols=$always_export_symbols
   23131 
   23132 # The commands to list exported symbols.
   23133 export_symbols_cmds=$lt_export_symbols_cmds
   23134 
   23135 # Symbols that should not be listed in the preloaded symbols.
   23136 exclude_expsyms=$lt_exclude_expsyms
   23137 
   23138 # Symbols that must always be exported.
   23139 include_expsyms=$lt_include_expsyms
   23140 
   23141 # Commands necessary for linking programs (against libraries) with templates.
   23142 prelink_cmds=$lt_prelink_cmds
   23143 
   23144 # Commands necessary for finishing linking programs.
   23145 postlink_cmds=$lt_postlink_cmds
   23146 
   23147 # Specify filename containing input files.
   23148 file_list_spec=$lt_file_list_spec
   23149 
   23150 # How to hardcode a shared library path into an executable.
   23151 hardcode_action=$hardcode_action
   23152 
   23153 # ### END LIBTOOL CONFIG
   23154 
   23155 _LT_EOF
   23156 
   23157     cat <<'_LT_EOF' >> "$cfgfile"
   23158 
   23159 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23160 
   23161 # func_munge_path_list VARIABLE PATH
   23162 # -----------------------------------
   23163 # VARIABLE is name of variable containing _space_ separated list of
   23164 # directories to be munged by the contents of PATH, which is string
   23165 # having a format:
   23166 # "DIR[:DIR]:"
   23167 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23168 # ":DIR[:DIR]"
   23169 #       string "DIR[ DIR]" will be appended to VARIABLE
   23170 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23171 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23172 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23173 # "DIR[:DIR]"
   23174 #       VARIABLE will be replaced by "DIR[ DIR]"
   23175 func_munge_path_list ()
   23176 {
   23177     case x$2 in
   23178     x)
   23179         ;;
   23180     *:)
   23181         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23182         ;;
   23183     x:*)
   23184         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23185         ;;
   23186     *::*)
   23187         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23188         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23189         ;;
   23190     *)
   23191         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23192         ;;
   23193     esac
   23194 }
   23195 
   23196 
   23197 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23198 func_cc_basename ()
   23199 {
   23200     for cc_temp in $*""; do
   23201       case $cc_temp in
   23202         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23203         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23204         \-*) ;;
   23205         *) break;;
   23206       esac
   23207     done
   23208     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23209 }
   23210 
   23211 
   23212 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23213 
   23214 _LT_EOF
   23215 
   23216   case $host_os in
   23217   aix3*)
   23218     cat <<\_LT_EOF >> "$cfgfile"
   23219 # AIX sometimes has problems with the GCC collect2 program.  For some
   23220 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23221 # vanish in a puff of smoke.
   23222 if test set != "${COLLECT_NAMES+set}"; then
   23223   COLLECT_NAMES=
   23224   export COLLECT_NAMES
   23225 fi
   23226 _LT_EOF
   23227     ;;
   23228   esac
   23229 
   23230 
   23231 
   23232 ltmain=$ac_aux_dir/ltmain.sh
   23233 
   23234 
   23235   # We use sed instead of cat because bash on DJGPP gets confused if
   23236   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23237   # text mode, it properly converts lines to CR/LF.  This bash problem
   23238   # is reportedly fixed, but why not run on old versions too?
   23239   $SED '$q' "$ltmain" >> "$cfgfile" \
   23240      || (rm -f "$cfgfile"; exit 1)
   23241 
   23242    mv -f "$cfgfile" "$ofile" ||
   23243     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23244   chmod +x "$ofile"
   23245 
   23246  ;;
   23247 
   23248   esac
   23249 done # for ac_tag
   23250 
   23251 
   23252 as_fn_exit 0
   23253 _ACEOF
   23254 ac_clean_files=$ac_clean_files_save
   23255 
   23256 test $ac_write_fail = 0 ||
   23257   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23258 
   23259 
   23260 # configure is writing to config.log, and then calls config.status.
   23261 # config.status does its own redirection, appending to config.log.
   23262 # Unfortunately, on DOS this fails, as config.log is still kept open
   23263 # by configure, so config.status won't be able to write to it; its
   23264 # output is simply discarded.  So we exec the FD to /dev/null,
   23265 # effectively closing config.log, so it can be properly (re)opened and
   23266 # appended to by config.status.  When coming back to configure, we
   23267 # need to make the FD available again.
   23268 if test "$no_create" != yes; then
   23269   ac_cs_success=:
   23270   ac_config_status_args=
   23271   test "$silent" = yes &&
   23272     ac_config_status_args="$ac_config_status_args --quiet"
   23273   exec 5>/dev/null
   23274   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23275   exec 5>>config.log
   23276   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23277   # would make configure fail if this is the last instruction.
   23278   $ac_cs_success || as_fn_exit 1
   23279 fi
   23280 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23282 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23283 fi
   23284 
   23285 
   23286